/* ============================================
   SITEWEBFR — Dark AI Premium Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ============================================
   1. VARIABLES
   ============================================ */
:root {
    --color-bg: #06060E;
    --color-bg-alt: #0C0C1D;
    --color-bg-card: rgba(15, 15, 35, 0.6);
    --color-bg-glass: rgba(15, 15, 35, 0.4);
    --color-surface: #111128;
    --color-border: rgba(124, 58, 237, 0.12);
    --color-border-light: rgba(255, 255, 255, 0.06);
    --color-primary: #7C3AED;
    --color-primary-light: #A78BFA;
    --color-primary-dark: #5B21B6;
    --color-cyan: #06B6D4;
    --color-cyan-light: #22D3EE;
    --color-pink: #EC4899;
    --color-green: #10B981;
    --color-text: #E2E8F0;
    --color-text-light: #94A3B8;
    --color-text-muted: #64748B;
    --color-white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #06B6D4 100%);
    --gradient-hero: radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 100%, rgba(236, 72, 153, 0.08) 0%, transparent 40%);
    --gradient-card: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(6, 182, 212, 0.04) 100%);
    --gradient-glow: linear-gradient(135deg, #7C3AED, #06B6D4, #EC4899);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);
    --shadow-glow-lg: 0 0 80px rgba(124, 58, 237, 0.2);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   2. RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-cyan);
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

::selection {
    background: var(--color-primary);
    color: white;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-white);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

.text-gradient {
    background: var(--gradient-primary) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    display: inline-block;
}

.text-glow {
    text-shadow: 0 0 40px rgba(124, 58, 237, 0.5);
}

/* ============================================
   4. LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.section {
    padding: 7rem 0;
    position: relative;
}

.section--alt {
    background: var(--color-bg-alt);
}

/* ============================================
   5. PARTICLES CANVAS
   ============================================ */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* ============================================
   6. NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    padding: 1.5rem 0;
    transition: all var(--transition);
    pointer-events: auto !important;
}

.navbar.scrolled:not(.active) {
    background: rgba(6, 6, 14, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-bottom: 1px solid var(--color-border-light);
    padding: 1rem 0;
}

.navbar.active {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2101;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-white);
}

.navbar__logo-img,
.footer__logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-right: 0.5rem;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-light);
    transition: color var(--transition);
    position: relative;
}

.navbar__link:hover,
.navbar__link.active {
    color: var(--color-white);
}

.navbar__link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan);
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.75rem;
    cursor: pointer;
    pointer-events: auto;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    color: inherit;
}

.navbar__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.navbar__mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 6, 14, 0.98);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    padding: 8rem 2rem 2rem;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 2000;
}

.navbar__mobile.active {
    display: flex;
}

.navbar__mobile a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border-light);
}

/* ============================================
   7. BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    max-width: 100%;
    text-align: center;
}

.btn--primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
    position: relative;
    overflow: hidden;
}

.btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
    color: white;
}

.btn--primary:hover::before {
    opacity: 1;
}

.btn--ghost {
    background: rgba(124, 58, 237, 0.1);
    color: var(--color-primary-light);
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.btn--ghost:hover {
    background: rgba(124, 58, 237, 0.2);
    border-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--color-cyan);
    border: 1px solid rgba(6, 182, 212, 0.4);
}

.btn--outline:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--color-cyan);
    color: white;
}

.btn--lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-xl);
}

.btn--full {
    width: 100%;
}

/* ─── CTA ATTRACTION ANIMATION ─── */
.btn--pulse {
    animation: btn-pulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.btn--pulse::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    animation: btn-shine 4s infinite;
    pointer-events: none;
}

@keyframes btn-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
    }
}

@keyframes btn-shine {
    0% {
        left: -60%;
    }

    20% {
        left: 140%;
    }

    100% {
        left: 140%;
    }
}

/* ─── BOUTONS CTA SUR-MESURE HERO (Index) ─── */

/* 1. Bouton Cadeau Premium (Maquette Gratuite) */
.btn--gift-premium {
    background: var(--gradient-primary);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
    color: var(--color-white) !important;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.btn--gift-premium:hover {
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.02);
}

/* Reflet soyeux périodique (effet ruban) */
.btn--gift-premium::after {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 25%; height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: rotate(30deg);
    animation: gift-sheen 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gift-sheen {
    0%, 60% { left: -60%; }
    100% { left: 140%; }
}

/* Tressaillement doux et périodique de l'émoji cadeau */
.gift-icon-anim {
    display: inline-block;
    animation: gift-shake 5s ease-in-out infinite;
}

@keyframes gift-shake {
    0%, 85%, 100% { transform: rotate(0deg) scale(1); }
    88% { transform: rotate(-10deg) scale(1.1); }
    92% { transform: rotate(10deg) scale(1.1); }
    96% { transform: rotate(-5deg) scale(1.05); }
}

/* 2. Bouton Écoute IA (Onde Sonore Perpétuelle) */
.btn--sound-wave {
    border-color: rgba(6, 182, 212, 0.4);
    color: var(--color-cyan-light);
    background: rgba(6, 182, 212, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    position: relative;
    transition: all var(--transition);
    animation: sound-btn-glow 4s ease-in-out infinite alternate;
}

@keyframes sound-btn-glow {
    from { box-shadow: 0 0 5px rgba(6, 182, 212, 0.1); }
    to { box-shadow: 0 0 20px rgba(6, 182, 212, 0.3); }
}

.btn--sound-wave:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--color-cyan);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Fines barres d'onde sonore intégrées */
.soundwave-indicator {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 14px;
}

.soundwave-bar {
    width: 2.5px;
    background-color: var(--color-cyan);
    border-radius: 2px;
    animation: soundwave-pulse 1.2s ease-in-out infinite alternate;
    opacity: 0.85;
}

.btn--sound-wave:hover .soundwave-bar {
    background-color: var(--color-white);
    opacity: 1;
}

.soundwave-bar:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.soundwave-bar:nth-child(2) { height: 12px; animation-delay: 0.4s; }
.soundwave-bar:nth-child(3) { height: 8px; animation-delay: 0.2s; }
.soundwave-bar:nth-child(4) { height: 14px; animation-delay: 0.5s; }
.soundwave-bar:nth-child(5) { height: 5px; animation-delay: 0.3s; }

@keyframes soundwave-pulse {
    0% { transform: scaleY(0.4); }
    100% { transform: scaleY(1.1); }
}

/* ============================================
   8. HERO
   ============================================ */
.hero {
    display: flex;
    align-items: center;
    padding: 10rem 0;
    position: relative;
    overflow: visible;
    min-height: 800px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 10;
    width: 100%;
    pointer-events: none;
}

.hero__content {
    max-width: 800px;
}

.hero__content>* {
    pointer-events: auto;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-cyan);
    margin-bottom: 1.5rem;
}

.hero__badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero__title {
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
    max-width: 650px;
    line-height: 1.8;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero__image img {
    max-width: 480px;
    width: 100%;
    border-radius: var(--radius-2xl);
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 60px rgba(124, 58, 237, 0.3));
}

/* Spline 3D Viewer — background zone */
.hero__3d {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    transform: translateX(15%);
}

.hero__3d spline-viewer {
    --spline-viewer-background: transparent;
    width: 100%;
    height: 100%;
    background: transparent !important;
    cursor: none !important;
}

/* Hide "Built with Spline" watermark */
.hero__3d spline-viewer::part(logo) {
    display: none !important;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ============================================
   9. SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary-light);
    margin-bottom: 1rem;
}

.section-header p {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* ============================================
   10. GLASS CARDS
   ============================================ */
.card {
    background: var(--color-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--color-border-light);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), rgba(6, 182, 212, 0.3), transparent);
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: var(--shadow-glow);
}

.card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    transition: all var(--transition);
}

.card:hover .card__icon {
    background: rgba(124, 58, 237, 0.2);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
}

.card__title {
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.card__text {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================
   11. BENTO GRID
   ============================================ */
.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.bento__item--wide {
    grid-column: span 2;
}

.bento__item--tall {
    grid-row: span 2;
}

.bento__item {
    background: var(--color-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.bento__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), transparent);
}

.bento__item:hover {
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: var(--shadow-glow);
}

.bento__item img {
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

/* ─── MOCKUP SECTION ─── */
.section--mockup {
    padding: 6rem 0;
    background: rgba(6, 6, 14, 0.4);
}

.mockup-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.mockup-marquee {
    overflow: hidden;
    width: 100vw;
    position: relative;
    margin-left: calc(50% - 50vw);
    margin-bottom: 4rem;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.mockup-marquee__inner {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: mockup-scroll 40s linear infinite;
    padding: 1rem 0;
}

.mockup-card {
    width: 450px;
    flex-shrink: 0;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition);
}

.mockup-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
    z-index: 10;
}

.mockup-marquee:hover .mockup-marquee__inner {
    animation-play-state: paused;
}

@keyframes mockup-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.mockup-card__img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--color-border-light);
}

.mockup-card__img--top {
    object-position: top center;
}

.mockup-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(124, 58, 237, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px dashed rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-lg);
    margin-bottom: 0;
}

.mockup-placeholder::after {
    content: 'APERCU';
    position: absolute;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3rem;
    color: rgba(239, 68, 68, 0.05);
    letter-spacing: 0.2em;
}

.mockup-placeholder__label {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 1;
}

.mockup-placeholder__label span {
    color: var(--color-cyan);
    font-weight: 600;
    font-size: 0.75rem;
}

.mockup-cta {
    text-align: center;
}

@media (max-width: 768px) {
    .mockup-card {
        width: 300px;
    }

    .mockup-marquee {
        pointer-events: none;
    }
}

/* ─── PROCESS SPECTACLE (Tarifs) ─── */
.process-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

/* Ligne lumineuse de connexion en arrière-plan */
.process-wrapper::before {
    content: '';
    position: absolute;
    top: 110px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.2), rgba(6, 182, 212, 0.2), transparent);
    z-index: 0;
}

/* Flux de particules IA parcourant le connecteur */
.process-wrapper::after {
    content: '';
    position: absolute;
    top: 107px;
    left: 10%;
    width: 30px;
    height: 8px;
    border-radius: 4px;
    background: var(--color-cyan);
    box-shadow: 0 0 20px var(--color-cyan), 0 0 40px var(--color-primary);
    animation: process-flow 4s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes process-flow {
    0% {
        left: 10%;
        opacity: 0.3;
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        transform: scaleX(2);
    }
    100% {
        left: calc(90% - 30px);
        opacity: 0.3;
        transform: scaleX(1);
    }
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    position: relative;
    z-index: 2;
}

/* Cartes en lévitation asynchrone spectaculaire */
.process-card-premium {
    background: var(--color-bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem 1.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Animation de flottaison continue personnalisée pour chaque carte */
.process-card-premium:nth-child(1) { animation: card-float 6s ease-in-out infinite; }
.process-card-premium:nth-child(2) { animation: card-float 6s ease-in-out infinite -1.5s; }
.process-card-premium:nth-child(3) { animation: card-float 6s ease-in-out infinite -3s; }
.process-card-premium:nth-child(4) { animation: card-float 6s ease-in-out infinite -4.5s; }

@keyframes card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.process-card-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.5), transparent);
    transition: opacity var(--transition);
    opacity: 0;
}

.process-card-premium:hover {
    transform: translateY(-12px) scale(1.03) !important;
    border-color: var(--color-cyan);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.2), inset 0 0 20px rgba(124, 58, 237, 0.1);
    animation-play-state: paused;
}

.process-card-premium:hover::before {
    opacity: 1;
}

/* Bulle d'étape avec halo tournant */
.process-step-pulse {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
    border: 2px solid rgba(124, 58, 237, 0.3);
    box-shadow: inset 0 0 15px rgba(124, 58, 237, 0.2);
    transition: all var(--transition);
}

.process-step-pulse::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0.7;
    animation: step-spin 4s linear infinite;
}

@keyframes step-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.process-card-premium:hover .process-step-pulse {
    transform: scale(1.15);
    border-color: var(--color-cyan);
    color: var(--color-cyan-light);
    box-shadow: 0 0 25px var(--color-cyan);
}

/* Micro-animations d'icônes intégrées */
.process-icon-animated {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform var(--transition);
}

.process-card-premium:hover .process-icon-animated {
    transform: scale(1.2) rotate(5deg);
}

@media (max-width: 992px) {
    .process-wrapper::before, .process-wrapper::after { display: none; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-card-premium { animation: none !important; }
}

@media (max-width: 600px) {
    .process-grid { grid-template-columns: 1fr; }
}

/* ─── STACK CYBERNETIQUE SPECTACLE (About) ─── */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Carte holographique de pointe HUD Sci-Fi */
.stack-card-cyber {
    background: var(--color-bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    padding: 2.2rem 1.2rem 1.8rem;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
    /* Texture de grille matricielle ultra-fine en arrière-plan */
    background-image: 
        linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
    background-size: 15px 15px;
}

/* Coins Sci-Fi en surimpression (HUD Corner Accents) */
.stack-card-cyber::after {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid transparent;
    border-radius: calc(var(--radius-xl) - 4px);
    background: 
        linear-gradient(to right, var(--color-cyan) 8px, transparent 8px) 0 0,
        linear-gradient(to bottom, var(--color-cyan) 8px, transparent 8px) 0 0,
        linear-gradient(to left, var(--color-primary-light) 8px, transparent 8px) 100% 0,
        linear-gradient(to bottom, var(--color-primary-light) 8px, transparent 8px) 100% 0,
        linear-gradient(to right, var(--color-primary-light) 8px, transparent 8px) 0 100%,
        linear-gradient(to top, var(--color-primary-light) 8px, transparent 8px) 0 100%,
        linear-gradient(to left, var(--color-cyan) 8px, transparent 8px) 100% 100%,
        linear-gradient(to top, var(--color-cyan) 8px, transparent 8px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 10px 10px;
    opacity: 0.3;
    transition: opacity 0.5s, transform 0.5s;
    pointer-events: none;
}

/* Épuré de l'effet de scan pour une lisibilité et une élégance absolues */

/* Illumination suprême au survol */
.stack-card-cyber:hover {
    transform: translateY(-12px) scale(1.05);
    border-color: var(--color-cyan-light);
    box-shadow: 0 15px 45px rgba(6, 182, 212, 0.3), inset 0 0 35px rgba(124, 58, 237, 0.2);
    background-color: rgba(15, 15, 35, 0.85);
}

.stack-card-cyber:hover::after {
    opacity: 1;
    transform: scale(0.97);
}

/* Encadrement de l'icône par deux cibles HUD rotatives à contre-sens */
.stack-icon-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

/* Anneau externe de visée (tourne dans le sens horaire) */
.stack-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px dashed rgba(6, 182, 212, 0.35);
    animation: hud-spin-cw 12s linear infinite;
    transition: border-color var(--transition);
}

/* Anneau interne de visée (tourne dans le sens anti-horaire) */
.stack-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 1px dotted rgba(124, 58, 237, 0.5);
    animation: hud-spin-ccw 8s linear infinite;
    transition: border-color var(--transition);
}

@keyframes hud-spin-cw {
    to { transform: rotate(360deg); }
}

@keyframes hud-spin-ccw {
    to { transform: rotate(-360deg); }
}

.stack-card-cyber:hover .stack-icon-wrapper::before {
    border-color: var(--color-cyan);
    animation-duration: 4s;
}

.stack-card-cyber:hover .stack-icon-wrapper::after {
    border-color: var(--color-primary-light);
    animation-duration: 2.5s;
}

/* L'icône au cœur de la cible */
.stack-icon-cyber {
    font-size: 2.6rem;
    position: relative;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
}

.stack-card-cyber:hover .stack-icon-cyber {
    transform: scale(1.3) rotateZ(10deg);
    filter: drop-shadow(0 0 30px var(--color-cyan));
}

/* Textes et jauges */
.stack-title-cyber {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.4rem;
    transition: color var(--transition);
    text-align: center;
    position: relative;
    z-index: 2;
}

.stack-card-cyber:hover .stack-title-cyber {
    color: var(--color-cyan-light);
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.stack-details-cyber {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    font-weight: 500;
    text-align: center;
    transition: all var(--transition);
    opacity: 0.8;
    position: relative;
    z-index: 2;
}

.stack-card-cyber:hover .stack-details-cyber {
    color: var(--color-text-light);
    opacity: 1;
}

/* Réacteur d'énergie néon en bas */
.stack-meter {
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    transition: width var(--transition);
    z-index: 2;
}

.stack-meter::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 0%;
    background: var(--gradient-glow);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stack-card-cyber:hover .stack-meter {
    width: 100px;
}

.stack-card-cyber:hover .stack-meter::after {
    width: 100%;
    box-shadow: 0 0 15px var(--color-cyan), 0 0 30px var(--color-pink);
}

@media (max-width: 900px) {
    .stack-grid { grid-template-columns: repeat(2, 1fr); }
    .stack-card-cyber::before { animation: none; }
}

@media (max-width: 480px) {
    .stack-grid { grid-template-columns: 1fr; }
}

/* ─── TESTIMONIAL GRID (Exemples) ─── */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}




/* ============================================
   12. PRICING
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    border: 1px solid var(--color-border-light);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-cyan));
    opacity: 0;
    transition: opacity var(--transition);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow-lg);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card--featured {
    background: linear-gradient(160deg, rgba(124, 58, 237, 0.12) 0%, rgba(6, 182, 212, 0.08) 100%);
    border-color: rgba(124, 58, 237, 0.3);
}

.pricing-card--featured::before {
    opacity: 1;
}

.pricing-card__popular {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pricing-card__name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pricing-card__price {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.pricing-card__price .text-gradient {
    font-size: inherit;
}

.pricing-card__period {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.pricing-card__desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.pricing-card__features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.pricing-card__feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.pricing-card__feature .check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: var(--color-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================
   13. PORTFOLIO
   ============================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.portfolio-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(124, 58, 237, 0.2);
}

.portfolio-card__image-wrapper {
    overflow: hidden;
}

.portfolio-card__image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-card:hover .portfolio-card__image {
    transform: scale(1.05);
}

.portfolio-card__body {
    padding: 1.5rem;
}

.portfolio-card__tag {
    display: inline-block;
    background: rgba(124, 58, 237, 0.1);
    color: var(--color-primary-light);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.portfolio-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.portfolio-card__desc {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

/* ============================================
   14. STATS GRID (Home)
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    text-align: center;
}

.stats-grid__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 0 0.25rem;
}

.stats-grid__value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.85rem, 6.5vw, 3rem);
    line-height: 1.1;
    word-break: break-word;
    max-width: 100%;
    /* Lisibilité : dégradé + léger relief pour éviter le « texte fantôme » */
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.85)) drop-shadow(0 0 18px rgba(124, 58, 237, 0.35));
}

.stats-grid__label {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-top: 0.35rem;
    text-wrap: balance;
}

/* Maillage SEO interne (accueil) */
.seo-mesh {
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border-light);
    padding: 4rem 0;
}

.seo-mesh__title {
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    text-align: center;
    font-weight: 600;
    text-wrap: balance;
    padding: 0 0.5rem;
}

.seo-mesh__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.5rem;
    justify-content: center;
    align-items: stretch;
    max-width: 56rem;
    margin: 0 auto;
}

.seo-mesh__link {
    color: var(--color-cyan);
    text-decoration: none;
    font-size: clamp(0.78rem, 2.8vw, 0.9rem);
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(6, 182, 212, 0.22);
    border-radius: var(--radius-md);
    background-color: rgba(6, 182, 212, 0.06);
    max-width: 100%;
    text-align: center;
    line-height: 1.35;
    word-break: break-word;
}

.seo-mesh__link:hover {
    border-color: rgba(6, 182, 212, 0.45);
    background-color: rgba(6, 182, 212, 0.12);
}

/* ============================================
   15. ABOUT
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: center;
}

.about__visual {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about__content h2 {
    margin-bottom: 1.5rem;
}

.about__content p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border-light);
}

.about__stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
}

.about__stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ============================================
   15. CTA
   ============================================ */
.cta {
    background: var(--color-bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-2xl);
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.cta h2,
.cta p {
    position: relative;
}

.cta p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ============================================
   16. FOOTER
   ============================================ */
.footer {
    background: var(--color-bg-alt);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--color-border-light);
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer__desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    max-width: 360px;
}

.footer__heading {
    color: white;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__links a {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.footer__links a:hover {
    color: var(--color-cyan);
}

.footer__bottom {
    border-top: 1px solid var(--color-border-light);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ============================================
   17. FORM
   ============================================ */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(15, 15, 35, 0.8);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    color: var(--color-text);
    font-size: 0.95rem;
    transition: all var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.15);
}

.form-input::placeholder {
    color: var(--color-text-muted);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ============================================
   18. ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: force-visible 0.5s ease 2.5s forwards;
}

@keyframes force-visible {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: none;
}

.fade-in-delay-1 {
    transition-delay: 0.2s;
}

.fade-in-delay-2 {
    transition-delay: 0.4s;
}

.fade-in-delay-3 {
    transition-delay: 0.6s;
}

.fade-in-delay-4 {
    transition-delay: 0.8s;
}

.fade-in-spline {
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.75s var(--transition-slow), filter 0.75s var(--transition-slow);
}

.fade-in-spline.visible {
    opacity: 1;
    filter: blur(0);
}

/* Marquee */
.marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee__inner {
    display: inline-flex;
    animation: marquee 30s linear infinite;
    gap: 3rem;
    padding-right: 3rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee__item {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-muted);
    opacity: 0.3;
    white-space: nowrap;
}

/* Grid lines background */
.grid-bg {
    background-image: linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ============================================
   AI VOICE DEMO PLAYER
   ============================================ */

/* Context card */
.ai-demo-context {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(6, 182, 212, 0.06);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.ai-demo-context__icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.ai-demo-context__label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-cyan);
    margin-bottom: 0.3rem;
}

.ai-demo-context__text {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Main player card */
.ai-demo-card {
    background: rgba(10, 10, 28, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-2xl);
    padding: 2rem 2rem 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ai-demo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.5), rgba(6, 182, 212, 0.5), transparent);
}

/* Waveform canvas */
.ai-demo-waveform {
    width: 100%;
    height: 72px;
    margin-bottom: 1.25rem;
    position: relative;
}

#waveformCanvas {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
}

/* Progress bar */
.ai-demo-progress {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    position: relative;
    cursor: pointer;
    margin-bottom: 0.75rem;
}

.ai-demo-progress:hover {
    height: 7px;
    transition: height 0.15s ease;
}

.ai-demo-progress__fill {
    height: 100%;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.1s linear;
    pointer-events: none;
}

.ai-demo-progress__handle {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.6);
    opacity: 0;
    transition: opacity 0.15s ease, left 0.1s linear;
    pointer-events: none;
}

.ai-demo-progress:hover .ai-demo-progress__handle {
    opacity: 1;
}

/* Time display */
.ai-demo-time {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
}

/* Controls */
.ai-demo-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.ai-demo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: var(--color-text-light);
    transition: all var(--transition);
    cursor: pointer;
    border-radius: 50%;
}

.ai-demo-btn--skip {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
}

.ai-demo-btn--skip:hover {
    background: rgba(124, 58, 237, 0.15);
    color: var(--color-primary-light);
    transform: scale(1.1);
}

.ai-demo-btn--play {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
    position: relative;
}

.ai-demo-btn--play::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.3;
    animation: play-pulse 2s ease-in-out infinite;
    z-index: -1;
}

.ai-demo-btn--play.playing::after {
    animation: none;
    opacity: 0;
}

.ai-demo-btn--play:hover {
    transform: scale(1.08);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.6);
}

@keyframes play-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.15);
        opacity: 0;
    }
}

/* Chapter markers */
.ai-demo-chapters {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
}

.ai-demo-chapters__title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.ai-demo-chapters__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ai-demo-chapter {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: none;
    border: none;
    border-radius: var(--radius-lg);
    padding: 0.6rem 0.75rem;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition);
    width: 100%;
}

.ai-demo-chapter:hover {
    background: rgba(124, 58, 237, 0.1);
}

.ai-demo-chapter.active {
    background: rgba(124, 58, 237, 0.15);
    border-left: 2px solid var(--color-primary);
}

.ai-demo-chapter__time {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-cyan);
    min-width: 36px;
    letter-spacing: 0.05em;
}

.ai-demo-chapter__label {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.ai-demo-chapter:hover .ai-demo-chapter__label,
.ai-demo-chapter.active .ai-demo-chapter__label {
    color: var(--color-white);
}

/* Statut Live IA HUD */
.ai-demo-live-status {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.25);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.ai-demo-live-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-cyan);
    animation: live-dot-pulse 1.5s infinite alternate;
}

.playing + .ai-demo-live-status .ai-demo-live-dot,
.ai-demo-player:hover .ai-demo-live-dot {
    background-color: var(--color-primary-light);
    box-shadow: 0 0 12px var(--color-primary-light);
}

.ai-demo-live-text {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-cyan-light);
}

@keyframes live-dot-pulse {
    0% { opacity: 0.3; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.2); }
}

/* Effet d'expansion Premium de la carte au survol */
.ai-demo-card {
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ai-demo-card:hover {
    box-shadow: 0 0 80px rgba(6, 182, 212, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
}

/* Calendly Embedded Custom Card with Spring Effect */
.calendly-premium-card {
    background: rgba(10, 10, 28, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: var(--radius-2xl);
    padding: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(124, 58, 237, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin: 0 auto;
    max-width: 1050px;
}

.calendly-premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.6), rgba(6, 182, 212, 0.6), transparent);
}

.calendly-premium-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(6, 182, 212, 0.5);
}

@media (max-width: 768px) {
    .ai-demo-card {
        padding: 1.25rem;
    }

    .ai-demo-controls {
        gap: 1rem;
    }

    .ai-demo-btn--play {
        width: 56px;
        height: 56px;
    }

    .ai-demo-chapters {
        padding: 1rem;
    }

    .ai-demo-context {
        flex-direction: column;
    }
}



/* ============================================
   19. RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__image,
    .hero__3d {
        order: -1;
    }

    .hero__image img {
        max-width: 340px;
    }

    .hero__3d {
        height: 450px;
        margin-right: 0;
        transform: translateX(0) scale(1);
    }

    .bento {
        grid-template-columns: 1fr 1fr;
    }

    .bento__item--wide {
        grid-column: span 1;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about__stats {
        flex-direction: column !important;
        gap: 2rem !important;
        align-items: flex-start !important;
        width: 100% !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }

    .about__stat-item {
        width: 100% !important;
        margin-bottom: 1rem;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .btn {
        white-space: normal;
    }

    .navbar__links {
        display: none;
    }

    .navbar__toggle {
        display: flex;
        z-index: 2102;
    }

    .pricing-grid,
    .portfolio-grid,
    .bento {
        grid-template-columns: 1fr;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero__buttons .btn {
        width: 100%;
    }

    .hero {
        flex-direction: column;
        min-height: auto;
        padding-top: 6.5rem;
        padding-bottom: 3rem;
        text-align: center;
        overflow-x: hidden;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero__content {
        width: 100%;
        max-width: 100%;
    }

    .hero__3d {
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        height: min(52vw, 280px);
        min-height: 220px;
        margin-top: 0;
        margin-bottom: 1.25rem;
        order: -1;
        overflow: hidden;
    }

    .hero__3d spline-viewer {
        min-width: 100%;
        width: 100%;
        height: 100%;
        flex-shrink: 0;
        transform: none;
        transform-origin: center center;
    }

    .about__stats {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem 0.75rem;
    }

    .footer__inner {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .navbar__cta {
        display: none;
    }
}