/* ==========================================
   IANOVATION - Unified CSS (Light/Dark)
   ========================================== */

/* ==========================================
   1. CSS Variables & Themes
   ========================================== */
:root {
    /* Brand Colors - Red (défaut: niveau 3) */
    --primary: #C53030;
    --primary-dark: #9B2C2C;
    --primary-light: #E25555;
    --gradient: linear-gradient(135deg, #C53030, #E25555);
    --gradient-cta: linear-gradient(135deg, #B02A2A, #C53030);

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: clamp(4rem, 10vw, 8rem);
    --container-padding: clamp(1rem, 5vw, 2rem);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;
}

/* Niveau 1 - Mat/Sobre */
[data-color="1"] {
    --primary: #8B3A3A;
    --primary-dark: #6B2D2D;
    --primary-light: #A85050;
    --gradient: linear-gradient(135deg, #8B3A3A, #A85050);
    --gradient-cta: linear-gradient(135deg, #7A3232, #8B3A3A);
}

/* Niveau 2 - Soft */
[data-color="2"] {
    --primary: #A63D3D;
    --primary-dark: #8B3232;
    --primary-light: #C25050;
    --gradient: linear-gradient(135deg, #A63D3D, #C25050);
    --gradient-cta: linear-gradient(135deg, #943535, #A63D3D);
}

/* Niveau 3 - Équilibré (défaut) */
[data-color="3"] {
    --primary: #C53030;
    --primary-dark: #9B2C2C;
    --primary-light: #E25555;
    --gradient: linear-gradient(135deg, #C53030, #E25555);
    --gradient-cta: linear-gradient(135deg, #B02A2A, #C53030);
}

/* Niveau 4 - Punchy */
[data-color="4"] {
    --primary: #D63939;
    --primary-dark: #B02A37;
    --primary-light: #E85A5A;
    --gradient: linear-gradient(135deg, #D63939, #E85A5A);
    --gradient-cta: linear-gradient(135deg, #C43232, #D63939);
}

/* Niveau 5 - Flashy/Néon */
[data-color="5"] {
    --primary: #E63946;
    --primary-dark: #C42F3D;
    --primary-light: #FF6B6B;
    --gradient: linear-gradient(135deg, #E63946, #FF6B6B);
    --gradient-cta: linear-gradient(135deg, #D63340, #E63946);
}

/* Light Theme (Default) */
[data-theme="light"] {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F8F9FA;
    --text-primary: #1A1A2E;
    --text-secondary: #4A4A5A;
    --text-muted: #8A8A9A;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.12);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 4px 20px rgba(230, 57, 70, 0.25);
    --gradient-subtle: linear-gradient(135deg, rgba(230, 57, 70, 0.08), rgba(255, 107, 107, 0.08));
    --overlay-bg: rgba(0, 0, 0, 0.3);
    --logo-filter: none;
    --logo-filter-footer: brightness(0) invert(1);
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0A0A0F;
    --bg-secondary: #12121A;
    --bg-card: #12121A;
    --bg-card-hover: #1A1A24;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0B0;
    --text-muted: #6B6B7B;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.12);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(230, 57, 70, 0.3);
    --gradient-subtle: linear-gradient(135deg, rgba(230, 57, 70, 0.15), rgba(255, 107, 107, 0.1));
    --overlay-bg: rgba(0, 0, 0, 0.5);
    --logo-filter: none;
    --logo-filter-footer: none;
}

/* Section padding réduit sur petit mobile */
@media (max-width: 480px) {
    :root {
        --section-padding: 3rem;
    }
}

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

html {
    scroll-padding-top: 7rem;
    scrollbar-gutter: stable;  /* Réserve l'espace de la scrollbar */
    overflow-x: hidden;
}

/* Smooth scroll activé uniquement après le chargement initial */
html.smooth-scroll {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ==========================================
   3. Container & Utilities
   ========================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .section__header {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .section__header {
        margin-bottom: 2rem;
    }
}

.section__tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-subtle);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section__subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
}

/* ==========================================
   4. Buttons
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    white-space: nowrap;
    min-height: 44px; /* Touch target accessibility */
}

.btn i { width: 1.25rem; height: 1.25rem; }

.btn--primary {
    background: var(--gradient);
    color: #FFFFFF;
    box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(230, 57, 70, 0.4);
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-strong);
}

.btn--outline:hover {
    background: var(--gradient-subtle);
    border-color: var(--primary);
    color: var(--primary);
}

.btn--large { padding: 1rem 2rem; font-size: 1.125rem; }
.btn--small { padding: 0.625rem 1rem; font-size: 0.875rem; margin-top: 1rem; }
.btn--full { width: 100%; }

/* ==========================================
   5. Early Adopter Banner
   ========================================== */
.early-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: var(--gradient);
    color: #FFFFFF;
    padding: 0.75rem 0;
    transform: translateY(0);
    transition: transform var(--transition-normal);
}

.early-banner.hidden {
    transform: translateY(-100%);
}

.early-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    padding-right: 3rem;
}

.early-banner p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

.early-banner i { width: 1rem; height: 1rem; flex-shrink: 0; }

.early-banner__link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    text-decoration: underline;
    margin-left: 0.5rem;
    white-space: nowrap;
}

.early-banner__close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #FFFFFF;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.early-banner__close:hover { opacity: 1; }
.early-banner__close i { width: 1.25rem; height: 1.25rem; }

@media (max-width: 768px) {
    .early-banner { padding: 0.5rem 0; }
    .early-banner .container { padding-right: 2.5rem; }
    .early-banner p { font-size: 0.8rem; flex-wrap: wrap; gap: 0.25rem; justify-content: center; }
    .early-banner strong { display: block; width: 100%; text-align: center; }
    .early-banner__link { margin-left: 0; margin-top: 0.25rem; }
    .early-banner i { width: 0.875rem; height: 0.875rem; }
}

@media (max-width: 480px) {
    .early-banner { padding: 0.5rem 0; }
    .early-banner p { font-size: 0.8rem; } /* Min 12px for readability */
    .early-banner__link { white-space: normal; }
    .early-banner__close i { width: 1rem; height: 1rem; }
}

/* ==========================================
   6. Header / Navigation
   ========================================== */
.header {
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .header {
    background: rgba(10, 10, 15, 0.9);
}

.header.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

.early-banner.hidden + .header {
    top: 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav__logo-icon { height: 40px; width: auto; object-fit: contain; }
.nav__logo-text { height: 28px; width: auto; object-fit: contain; filter: var(--logo-filter); }

[data-theme="dark"] .nav__logo-text {
    filter: brightness(0) invert(1);
}

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

.nav__link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.nav__link:hover, .nav__link.active { color: var(--text-primary); }
.nav__link.active { color: var(--primary); }

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav__cta { padding: 0.75rem 1.25rem; }

/* Theme Toggle */
/* Dev Toggle - Circuit on/off */
.dev-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all var(--transition-fast);
    position: relative;
}

.dev-toggle:hover {
    background: var(--gradient-subtle);
    border-color: var(--primary);
}

.dev-toggle.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.dev-toggle i { width: 1.25rem; height: 1.25rem; }

.dev-toggle span {
    font-weight: 700;
    font-size: 1rem;
}

#color-toggle {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    min-width: 44px;
}

#color-toggle:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* État circuits désactivés */
.page-decorations.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.page-decorations {
    transition: opacity 0.3s ease;
}

.theme-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--gradient-subtle);
    border-color: var(--primary);
}

.theme-toggle i { width: 1.25rem; height: 1.25rem; }

[data-theme="light"] .theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark { display: none; }

.nav__toggle, .nav__close {
    display: none;
    color: var(--text-primary);
    min-width: 44px;
    min-height: 44px;
    padding: 0.5rem;
}

.nav__toggle i, .nav__close i { width: 1.5rem; height: 1.5rem; }

/* Tablet - Réduction progressive */
@media (max-width: 1024px) {
    .nav__list { gap: 1rem; }
    .nav__link { font-size: 0.875rem; }
    .nav__cta { padding: 0.5rem 0.875rem; font-size: 0.8125rem; }
    .nav__actions { gap: 0.5rem; }
}

/* Tablet intermédiaire - Compression avant passage burger */
@media (max-width: 900px) {
    .nav__list { gap: 0.625rem; }
    .nav__link { font-size: 0.8125rem; }
    .nav__cta { padding: 0.4rem 0.75rem; font-size: 0.75rem; }
    .nav__actions { gap: 0.375rem; }
    .nav__logo-icon { height: 34px; }
    .nav__logo-text { height: 22px; }
    .nav__logo { gap: 0.5rem; }
    .theme-toggle, .dev-toggle { width: 38px; height: 38px; }
    .theme-toggle i, .dev-toggle i { width: 1.1rem; height: 1.1rem; }
}

/* Juste avant burger - cacher CTA et compresser max */
@media (max-width: 820px) {
    .nav__cta { display: none; }
    .nav__list { gap: 0.5rem; }
    .nav__link { font-size: 0.75rem; }
    .nav__logo-icon { height: 32px; }
    .nav__logo-text { height: 20px; }
}

/* Mobile Menu - Burger à partir de 768px */
@media (max-width: 768px) {
    .header {
        top: 52px; /* Bandeau multi-lignes sur mobile */
        padding: 0.75rem 0.5rem;
    }
    .nav {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        width: 100%;
    }
    .nav__logo {
        grid-column: 2;
        justify-self: center;
        gap: 0.5rem;
    }
    .nav__logo-icon { height: 32px; }
    .nav__logo-text { height: 20px; }
    .nav__cta { display: none; }
    .nav__menu { grid-column: 1 / -1; }

    /* Actions: burger à gauche, theme à droite */
    .nav__actions {
        grid-column: 1 / -1;
        grid-row: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        padding: 0;
        pointer-events: none;
    }
    .nav__actions > * {
        pointer-events: auto;
    }

    /* Burger à gauche */
    .nav__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        order: -1;
    }

    /* Theme toggle à droite */
    .dev-toggle { display: none; }
    .theme-toggle {
        width: 44px;
        height: 44px;
        order: 1;
        margin-right: 0.5rem;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--bg-card);
        padding: 6rem 2rem 2rem;
        z-index: 1001;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        transform: translateX(100%);
        transition: none;
    }

    .nav__menu.active {
        transform: translateX(0);
        box-shadow: var(--shadow-lg);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .nav__list { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .nav__link { font-size: 1.25rem; }
    .nav__close { display: block; position: absolute; top: 1.5rem; right: 1.5rem; width: 44px; height: 44px; }
}

@media (max-width: 480px) {
    .header {
        top: 58px; /* Bandeau multi-lignes sur petit mobile */
        padding: 0.5rem 0;
    }
    .nav__logo-icon { height: 28px; }
    .nav__logo-text { height: 18px; }
    .nav__logo { gap: 0.375rem; }
    .theme-toggle {
        width: 40px;
        height: 40px;
        margin-right: 0.4rem;
    }
    .nav__toggle {
        width: 40px;
        height: 40px;
    }
    .nav__toggle i, .nav__close i { width: 1.25rem; height: 1.25rem; }
}

/* ==========================================
   7. Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    overflow: hidden;
    transition: padding-top 0.3s ease;
}

/* Quand le bandeau Early Adopter est fermé */
body.banner-hidden .hero {
    padding-top: 5rem;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: -1;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gradient);
    border-radius: var(--radius-full);
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulse-badge 2s ease-in-out infinite;
}

.hero__badge i { width: 1rem; height: 1rem; }

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(230, 57, 70, 0); }
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* État initial - invisible, animation déclenchée par .hero-animate */
.hero__title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
}

body.hero-animate .hero__title-line {
    animation: slideUp 0.8s ease forwards;
}
body.hero-animate .hero__title-line:nth-child(1) { animation-delay: 0.1s; }
body.hero-animate .hero__title-line:nth-child(2) { animation-delay: 0.3s; }

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 550px;
    opacity: 0;
}
body.hero-animate .hero__description {
    animation: fadeIn 0.8s ease 0.5s forwards;
}

.hero__description strong { color: var(--text-primary); }

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    opacity: 0;
}
body.hero-animate .hero__buttons {
    animation: fadeIn 0.8s ease 0.7s forwards;
}

.hero__trust {
    margin-top: 2rem;
    opacity: 0;
}
body.hero-animate .hero__trust {
    animation: fadeIn 0.8s ease 0.9s forwards;
}

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

.hero__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero__video-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    text-align: center;
    margin: 0 auto 2.5rem;
    padding: 0.6rem 1.25rem;
    background: var(--gradient-subtle);
    border: 1px solid var(--primary);
    border-radius: var(--radius-full);
    opacity: 1;
    transition: all var(--transition-normal);
    position: relative;
}

.hero__video-label:hover {
    background: var(--gradient);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Flèche flottante qui pointe vers la vidéo */
.hero__video-label::after {
    content: '↓';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--primary);
    animation: floatArrow 1.5s ease-in-out infinite;
}

@keyframes floatArrow {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(8px);
        opacity: 0.6;
    }
}

/* Animation synchronisée avec les autres éléments hero (0.5s comme description) */
body.hero-animate .hero__video-label {
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

/* Affichage instantané lors d'un refresh si l'utilisateur n'est pas en haut */
body.hero-instant .hero__title-line,
body.hero-instant .hero__description,
body.hero-instant .hero__buttons,
body.hero-instant .hero__trust,
body.hero-instant .hero__video-label {
    animation: none;
    opacity: 1;
    transform: none;
}

.hero__video-label::before {
    content: '▶';
    font-size: 0.75rem;
}

.hero__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-lg);
    overflow: visible;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    opacity: 1;
}

.hero__video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.hero__video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.hero__video-overlay:hover {
    background: rgba(0, 0, 0, 0.25);
}

.hero__video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.hero__video-play {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(197, 48, 48, 0.4);
    transition: all var(--transition-normal);
}

.hero__video-play:hover {
    transform: scale(1.1);
}

.hero__video-play i {
    width: 24px;
    height: 24px;
    margin-left: 3px;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
}

.hero__scroll i { width: 2rem; height: 2rem; color: var(--text-muted); }

@media (max-width: 1200px) {
    .hero {
        padding-top: 8rem;
    }
    body.banner-hidden .hero {
        padding-top: 6.5rem;
    }
}

@media (max-width: 1024px) {
    .hero__container { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero__badge { justify-content: center; }
    .hero__description { margin: 0 auto 2rem; max-width: 100%; }
    .hero__buttons { justify-content: center; }
    .hero__trust { text-align: center; }
    .hero__visual { order: -1; }
    .hero__video-wrapper { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 9rem; /* Compense bandeau fixe (44px) + header (~60px) + marge */
        min-height: auto;
        padding-bottom: 3rem;
        overflow: visible;
    }
    body.banner-hidden .hero {
        padding-top: 6rem;
    }
    .hero__container { gap: 2rem; }
    .hero__video-wrapper { max-width: 90%; }
    .hero__title { font-size: clamp(1.75rem, 5vw, 2.5rem); }
    .hero__description { font-size: 1rem; margin-bottom: 1.5rem; }
    .hero__video-label {
        font-size: 0.85rem;
        margin: 0 auto 1.5rem;
        padding: 0.5rem 1rem;
    }
    .hero__video-label::after {
        bottom: -1.25rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 10rem; /* Compense bandeau multi-lignes + header sur petit écran */
        padding-bottom: 2rem;
    }
    body.banner-hidden .hero {
        padding-top: 6.5rem;
    }
    .hero__container { gap: 1.25rem; }
    .hero__buttons { flex-direction: column; align-items: center; gap: 0.75rem; }
    .hero__buttons .btn { width: 100%; max-width: 280px; padding: 0.75rem 1.25rem; }
    .hero__video-wrapper { max-width: 100%; }
    .hero__video-play { width: 56px; height: 56px; }
    .hero__video-play i { width: 20px; height: 20px; }
    .hero__trust { margin-top: 1rem; }
    .hero__scroll { display: none; }

    /* Badge Early Adopter responsive */
    .hero__badge {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    .hero__badge i { width: 0.75rem; height: 0.75rem; }

    /* Label vidéo responsive - évite superposition avec bandeau */
    .hero__video-label {
        margin: 0 auto 1rem;
        font-size: 0.75rem;
        padding: 0.4rem 0.85rem;
    }
    .hero__video-label::after {
        bottom: -1rem;
        font-size: 0.9rem;
    }
}

/* ==========================================
   8. Stats Section
   ========================================== */
.stats-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    overflow-x: hidden;
}

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

.stat {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.stat:hover {
    border-color: var(--primary);
    transform: scale(1.06);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(197, 48, 48, 0.15);
    z-index: 10;
}

[data-theme="dark"] .stat:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(197, 48, 48, 0.2);
}

.stat__value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.125rem;
    margin-bottom: 0.75rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat:hover .stat__value {
    transform: scale(1.1);
}

.stat__number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat__unit {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat__label {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 200px;
    margin: 0 auto;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat:hover .stat__label {
    transform: scale(1.02);
}

@media (max-width: 1024px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .stat { padding: 1.75rem; }
}

@media (max-width: 768px) {
    .stats {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .stat { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .stats { max-width: 100%; }
    .stat { padding: 1.25rem; }
    .stat__number { font-size: clamp(2rem, 8vw, 2.5rem); }
}

/* ==========================================
   9. Mission Section
   ========================================== */
.mission {
    padding: var(--section-padding) 0;
}

.mission__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.mission__text {
    font-size: clamp(0.9375rem, 2vw, 1.0625rem);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.mission__text strong { color: var(--text-primary); }

.mission__visual {
    position: relative;
    height: 400px;
}

.mission__card {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.mission__card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.mission__card i { width: 32px; height: 32px; color: var(--primary); }
.mission__card span { font-weight: 600; font-size: 0.9375rem; }

.mission__card--1 { top: 10%; left: 10%; animation: float 6s ease-in-out infinite; }
.mission__card--2 { top: 40%; right: 5%; animation: float 7s ease-in-out infinite reverse; }
.mission__card--3 { bottom: 10%; left: 25%; animation: float 5s ease-in-out infinite; }

@media (max-width: 1024px) {
    .mission__wrapper { grid-template-columns: 1fr; text-align: center; }
    .mission__visual { display: none; }
}

/* ==========================================
   10. Services Section
   ========================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    overflow-x: hidden;
}

/* Service Types (Clé en main / Sur-mesure) */
.services__types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
    overflow: visible;
    padding: 2rem;
}

.service-type {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    transform-origin: center center;
    will-change: transform;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.service-type:hover {
    border-color: var(--primary);
    transform: scale(1.06);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(197, 48, 48, 0.15);
    z-index: 100;
}

[data-theme="dark"] .service-type:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(197, 48, 48, 0.2);
}

/* Zoom du contenu au hover */
.service-type__icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-type:hover .service-type__icon {
    transform: scale(1.15);
}

.service-type__title {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.service-type:hover .service-type__title {
    transform: scale(1.05);
    color: var(--primary);
}

.service-type__text {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-type:hover .service-type__text {
    transform: scale(1.02);
}

.service-type__features {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-type:hover .service-type__features {
    transform: scale(1.02);
}

.service-type:hover .service-type__features i {
    color: var(--primary-light);
}

.service-type .btn {
    margin-top: auto;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease,
                background 0.3s ease;
}

.service-type:hover .btn {
    transform: scale(1.05);
}

.service-type--primary {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.service-type__icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.service-type__icon i { width: 32px; height: 32px; color: #FFFFFF; }

.service-type__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-type__text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.service-type__features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.service-type__features i { width: 18px; height: 18px; color: var(--primary); }

/* Icônes features animées au hover de la card */
.service-type__features li svg {
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Coches : pop une par une au hover */
.service-type:hover .service-type__features li:not(.service-type__more) svg {
    color: var(--primary-light);
    animation: checkPop 0.4s ease-out both;
}
.service-type:hover .service-type__features li:nth-child(1) svg { animation-delay: 0s; }
.service-type:hover .service-type__features li:nth-child(2) svg { animation-delay: 0.08s; }
.service-type:hover .service-type__features li:nth-child(3) svg { animation-delay: 0.16s; }
.service-type:hover .service-type__features li:nth-child(4) svg { animation-delay: 0.24s; }

@keyframes checkPop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* Icône "..." : oscillation horizontale (uniquement sur le li avec la classe) */
.service-type:hover .service-type__more svg {
    color: var(--primary-light);
    animation: dotsHorizontalBounce 1.4s ease-in-out infinite;
    animation-delay: 0.32s;
}

@keyframes dotsHorizontalBounce {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    25%      { transform: translateX(3px); opacity: 1; }
    50%      { transform: translateX(0); opacity: 0.6; }
    75%      { transform: translateX(-3px); opacity: 1; }
}

/* Service Cards Grid */
.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    cursor: pointer;
}

.service-card:hover {
    border-color: var(--primary);
    transform: scale(1.06);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(197, 48, 48, 0.15);
    z-index: 10;
}

[data-theme="dark"] .service-card:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(197, 48, 48, 0.2);
}

.service-card__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: var(--radius-md);
    margin: 0 auto 1.25rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-card__icon {
    transform: scale(1.15);
}

.service-card__icon i { width: 28px; height: 28px; color: var(--primary); }

.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.service-card:hover .service-card__title {
    transform: scale(1.05);
    color: var(--primary);
}

.service-card__text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-card__text {
    transform: scale(1.02);
}

@media (max-width: 1024px) {
    .services__types { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto 4rem; }
    .services__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .services__types {
        padding: 1rem;
        gap: 2rem;
        max-width: 100%;
    }
    .services__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .service-type { padding: 2rem 1.5rem; }
    .service-card { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .services__types {
        padding: 0.5rem;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    .services__grid { grid-template-columns: 1fr; gap: 1rem; }
    .service-type { padding: 1.5rem 1rem; }
    .service-card { padding: 1.25rem; }
}

/* ==========================================
   11. Method Section
   ========================================== */
.method {
    padding: var(--section-padding) 0;
    overflow-x: hidden;
}

.method__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.method-card {
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    cursor: pointer;
}

.method-card:hover {
    border-color: var(--primary);
    transform: scale(1.06);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(197, 48, 48, 0.15);
    z-index: 10;
}

[data-theme="dark"] .method-card:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(197, 48, 48, 0.2);
}

.method-card__number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.method-card:hover .method-card__number {
    opacity: 0.4;
    transform: scale(1.1);
}

.method-card__icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.method-card:hover .method-card__icon {
    transform: scale(1.15);
}

.method-card__icon i { width: 32px; height: 32px; color: #FFFFFF; }

.method-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.method-card:hover .method-card__title {
    transform: scale(1.05);
    color: var(--primary);
}

.method-card__text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.method-card:hover .method-card__text {
    transform: scale(1.02);
}

.method__quote {
    text-align: center;
    padding: 2rem;
    background: var(--gradient-subtle);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(230, 57, 70, 0.2);
}

.method__quote blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    color: var(--text-primary);
    font-style: italic;
}

@media (max-width: 1024px) {
    .method__grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto 3rem; }
}

@media (max-width: 768px) {
    .method__grid { gap: 1.5rem; max-width: 100%; }
    .method-card { padding: 2rem 1.5rem; }
    .method__quote { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .method__grid { gap: 1rem; margin-bottom: 2rem; }
    .method-card { padding: 1.5rem 1.25rem; }
    .method-card__number { font-size: 2.5rem; top: 0.75rem; right: 1rem; }
    .method-card__icon { width: 60px; height: 60px; }
    .method-card__icon i { width: 28px; height: 28px; }
    .method__quote { padding: 1.25rem; }
    .method__quote blockquote { font-size: clamp(1rem, 3vw, 1.25rem); }
}

/* ==========================================
   12. Testimonials Section
   ========================================== */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    overflow-x: hidden;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(197, 48, 48, 0.15);
    z-index: 10;
}

[data-theme="dark"] .testimonial-card:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(197, 48, 48, 0.2);
}

.testimonial-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-card__avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonial-card:hover .testimonial-card__avatar {
    transform: scale(1.1);
}

.testimonial-card__avatar i { width: 24px; height: 24px; color: var(--primary); }
.testimonial-card__name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}
.testimonial-card:hover .testimonial-card__name {
    color: var(--primary);
}
.testimonial-card__company { font-size: 0.875rem; color: var(--text-muted); }

.testimonial-card__result {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--gradient-subtle);
    border-radius: var(--radius-md);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonial-card:hover .testimonial-card__result {
    transform: scale(1.03);
}

.testimonial-card__metric {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonial-card:hover .testimonial-card__metric {
    transform: scale(1.1);
}

.testimonial-card__metric-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.testimonial-card__quote {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonial-card:hover .testimonial-card__quote {
    transform: scale(1.02);
}

@media (max-width: 1024px) {
    .testimonials__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 768px) {
    .testimonials__grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .testimonial-card { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .testimonials__grid { max-width: 100%; }
    .testimonial-card { padding: 1.25rem; }
    .testimonial-card__metric { font-size: 1.5rem; }
}

/* ==========================================
   13. FAQ Section
   ========================================== */
.faq {
    padding: var(--section-padding) 0;
    overflow-x: hidden;
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color var(--transition-normal);
}

.faq-item:hover { border-color: var(--primary); }

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    min-height: 44px;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
}

.faq-item__question i {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-item__question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-item__answer { max-height: 500px; }

.faq-item__answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .faq__list { max-width: 100%; }
    .faq-item__question { padding: 1rem 2.5rem 1rem 1rem; }
}

@media (max-width: 480px) {
    .faq-item__question span { font-size: 0.9375rem; }
}

/* ==========================================
   14. CTA Final Section
   ========================================== */
.cta-final {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.cta-final__wrapper {
    text-align: center;
    padding: 4rem 2rem;
    border-radius: var(--radius-lg);
    background: var(--gradient-cta);
    position: relative;
    overflow: hidden;
}

.cta-final__wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

.cta-final__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.cta-final__badge i { width: 1rem; height: 1rem; }

.cta-final__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
    position: relative;
}

.cta-final__text {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin: 0 auto 0.75rem;
    max-width: 600px;
    color: #FFFFFF;
    position: relative;
    line-height: 1.6;
}

.cta-final__text strong { color: #FFFFFF; }

.cta-final__subtext {
    font-size: 1rem;
    margin: 0 auto 2rem;
    max-width: 500px;
    opacity: 0.9;
    color: #FFFFFF;
    position: relative;
    line-height: 1.6;
}

.cta-final__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    position: relative;
    margin-bottom: 2rem;
}

.cta-final .btn--primary {
    background: #FFFFFF;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.cta-final .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-final .btn--outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
}

.cta-final .btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
}

.cta-final__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

.cta-final__trust i { width: 1rem; height: 1rem; }

@media (max-width: 768px) {
    .cta-final__wrapper { padding: 3rem 1.5rem; }
    .cta-final__title { font-size: clamp(1.5rem, 4vw, 2.5rem); }
    .cta-final__text { font-size: 1rem; }
    .cta-final__subtext { font-size: 0.9rem; }
}

@media (max-width: 480px) {
    .cta-final__wrapper { padding: 2rem 1rem; border-radius: var(--radius-md); }
    .cta-final__badge { font-size: 0.8rem; padding: 0.5rem 1rem; }
    .cta-final__title { font-size: clamp(1.25rem, 5vw, 1.75rem); }
    .cta-final__text { font-size: 0.9rem; }
    .cta-final__subtext { font-size: 0.8rem; margin-bottom: 1.5rem; }
    .cta-final__buttons { flex-direction: column; align-items: center; gap: 1rem; }
    .cta-final__buttons .btn { width: 100%; max-width: 280px; padding: 0.75rem 1rem; font-size: 0.9rem; }
    .cta-final__trust { font-size: 0.8rem; }
}

/* ==========================================
   15. Footer
   ========================================== */
.footer {
    padding: 5rem 0 2rem;
    background: #1A1A2E;
    color: #FFFFFF;
    overflow-x: hidden;
}

[data-theme="light"] .footer,
[data-theme="dark"] .footer {
    background: #1A1A2E;
    color: #FFFFFF;
}

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

.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer__logo-icon { height: 36px; width: auto; }
.footer__logo-text { height: 24px; width: auto; filter: brightness(0) invert(1); }

.footer__tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer__social { display: flex; gap: 1rem; }

.footer__social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.footer__social-link i { width: 18px; height: 18px; }
.footer__social-link:hover { background: var(--primary); border-color: var(--primary); }

.footer__social-link--soon {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.footer__coming-soon {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 0.5rem;
}

.footer__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.footer__list a, .footer__list span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer__list a:hover { color: var(--primary-light); }
.footer__list i { width: 16px; height: 16px; }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright { font-size: 0.875rem; color: rgba(255, 255, 255, 0.5); }
.footer__legal { display: flex; gap: 2rem; }
.footer__legal a { font-size: 0.875rem; color: rgba(255, 255, 255, 0.5); transition: color var(--transition-fast); }
.footer__legal a:hover { color: #FFFFFF; }

@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        text-align: center;
        gap: 2rem 1.5rem;
    }
    .footer__brand {
        grid-column: 1 / -1; /* Pleine largeur */
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer__contact {
        grid-column: 1 / -1; /* Pleine largeur */
    }
    .footer__logo { justify-content: center; }
    .footer__tagline { margin-left: auto; margin-right: auto; text-align: center; }
    .footer__social { justify-content: center; }
    .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .footer__legal { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .footer__title { font-size: 0.9375rem; margin-bottom: 1rem; }
    .footer__list { gap: 0.5rem; align-items: center; }
    .footer__list a, .footer__list span { justify-content: center; }
}

@media (max-width: 480px) {
    .footer { padding: 2.5rem 0 1.5rem; }
    .footer__grid { gap: 1.5rem; margin-bottom: 2rem; }
    .footer__logo-icon { height: 30px; }
    .footer__logo-text { height: 20px; }
    .footer__tagline { font-size: 0.875rem; }
    .footer__list a, .footer__list span { font-size: 0.875rem; }
    .footer__legal { flex-direction: row; gap: 1.5rem; }
    .footer__copyright { font-size: 0.8rem; }
    .footer__legal a { font-size: 0.8rem; }
}

/* ==========================================
   16. Animations
   ========================================== */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

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

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   17. Scrollbar & Selection
   ========================================== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

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

/* ==========================================
   18. Mobile Menu Overlay
   ========================================== */
/* Overlay désactivé */
.nav-overlay {
    display: none;
}

/* ==========================================
   19. Video Section
   ========================================== */
.video-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 9;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.3);
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    color: #FFFFFF;
    box-shadow: 0 0 40px rgba(230, 57, 70, 0.5);
    transition: all var(--transition-normal);
}

.video-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 60px rgba(230, 57, 70, 0.6);
}

.video-play-btn i {
    width: 32px;
    height: 32px;
    margin-left: 4px;
}

.video-play-text {
    color: #FFFFFF;
    font-size: 1.125rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .video-play-btn {
        width: 60px;
        height: 60px;
    }

    .video-play-btn i {
        width: 24px;
        height: 24px;
    }

    .video-play-text {
        font-size: 1rem;
    }
}

/* ==========================================
   20. Stats Source Links
   ========================================== */
.stat__source {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.stat__source:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* ==========================================
   21. Lecteur Vidéo Local Personnalisé
   ========================================== */
.video-player {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-player video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
    aspect-ratio: 16 / 9;
    background-color: #000;
}

/* Poster/Preview image styling */
.video-player video[poster] {
    object-fit: cover;
}

/* Overlay de démarrage */
.video-player__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 10;
}

.video-player__overlay:hover {
    background: rgba(0, 0, 0, 0.3);
}

.video-player__overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-player__play-btn {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 30px rgba(197, 48, 48, 0.5);
    transition: all var(--transition-normal);
}

.video-player__play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 40px rgba(197, 48, 48, 0.6);
}

.video-player__play-btn i {
    width: 32px;
    height: 32px;
    margin-left: 4px;
}

/* Contrôles vidéo */
.video-player__controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
    z-index: 20;
}

.video-player:hover .video-player__controls,
.video-player.playing .video-player__controls {
    opacity: 1;
    transform: translateY(0);
}

.video-player.paused:hover .video-player__controls {
    opacity: 1;
    transform: translateY(0);
}

.video-player__btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #FFFFFF;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.video-player__btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.video-player__btn i {
    width: 18px;
    height: 18px;
}

/* Play/Pause icons */
.video-player .icon-pause,
.video-player.playing .icon-play {
    display: none;
}

.video-player.playing .icon-pause {
    display: block;
}

/* Volume icons */
/* Icônes volume - affichage conditionnel */
.video-player .icon-volume-low,
.video-player .icon-muted {
    display: none;
}

.video-player.volume-low .icon-volume-high {
    display: none;
}

.video-player.volume-low .icon-volume-low {
    display: block;
}

.video-player.muted .icon-volume-high,
.video-player.muted .icon-volume-low {
    display: none;
}

.video-player.muted .icon-muted {
    display: block;
}

/* Contrôle du volume */
.video-player__volume {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-player__volume-slider {
    width: 0;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
}

.video-player__volume:hover .video-player__volume-slider,
.video-player__volume-slider:focus {
    width: 60px;
    opacity: 1;
}

/* Sur écrans tactiles, le slider volume est toujours visible */
@media (hover: none) {
    .video-player__volume-slider {
        width: 60px;
        opacity: 1;
    }
}

.video-player__volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.video-player__volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.video-player__volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

/* Barre de progression */
.video-player__progress {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
}

.video-player__progress-bar {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-player__progress-filled {
    height: 100%;
    width: 0%;
    background: var(--gradient);
    border-radius: 3px;
    transition: width 0.1s linear;
    position: relative;
}

.video-player__progress-filled::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(197, 48, 48, 0.5);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.video-player__progress:hover .video-player__progress-filled::after {
    opacity: 1;
}

/* Temps */
.video-player__time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-variant-numeric: tabular-nums;
    min-width: 40px;
}

/* Mode plein écran */
.video-player:fullscreen {
    border-radius: 0;
}

.video-player:fullscreen video {
    object-fit: contain;
}

.video-player:fullscreen .video-player__controls {
    padding: 1rem 2rem;
}

.video-player:fullscreen .video-player__btn {
    width: 44px;
    height: 44px;
}

.video-player:fullscreen .video-player__btn i {
    width: 22px;
    height: 22px;
}

.video-player:fullscreen .video-player__progress {
    height: 8px;
}

@media (max-width: 480px) {
    .video-player__play-btn {
        width: 60px;
        height: 60px;
    }

    .video-player__play-btn i {
        width: 24px;
        height: 24px;
    }

    .video-player__controls {
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
    }

    .video-player__btn {
        width: 40px;
        height: 40px;
    }

    .video-player__btn i {
        width: 18px;
        height: 18px;
    }

    .video-player__time {
        display: none;
    }
}

/* ==========================================
   22. Enhanced Hero Badge Glow
   ========================================== */
.hero__badge {
    box-shadow: 0 0 20px rgba(197, 48, 48, 0.5), 0 0 40px rgba(197, 48, 48, 0.3);
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 0 20px rgba(197, 48, 48, 0.5), 0 0 40px rgba(197, 48, 48, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(197, 48, 48, 0.7), 0 0 60px rgba(197, 48, 48, 0.4);
    }
}

/* Badge Early Adopter - Effet interactif fun */
.hero__badge--interactive {
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hero__badge--interactive:hover {
    transform: scale(1.1) rotate(-2deg);
    box-shadow:
        0 0 30px rgba(197, 48, 48, 0.8),
        0 0 60px rgba(197, 48, 48, 0.5),
        0 10px 40px rgba(197, 48, 48, 0.4);
}

.hero__badge--interactive:hover i {
    animation: zapShake 0.5s ease-in-out infinite;
}

@keyframes zapShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg) scale(1.2); }
    75% { transform: rotate(15deg) scale(1.2); }
}

.hero__badge--interactive:active {
    transform: scale(0.95);
}

.hero__badge-tooltip {
    position: fixed;
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-style: italic;
    line-height: 1.4;
    width: max-content;
    max-width: 220px;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1100;
}

.hero__badge-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -8px;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: var(--border-color);
}

.hero__badge-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -6px;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: var(--bg-card);
}

.hero__badge-tooltip.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .hero__badge-tooltip {
        position: fixed;
        top: auto;
        bottom: 100px;
        left: 16px;
        right: 16px;
        transform: translateY(0);
        max-width: none;
        width: auto;
        text-align: center;
        font-size: 1rem;
        font-style: normal;
        font-weight: 500;
        padding: 1.25rem 1.5rem;
        line-height: 1.6;
        border-radius: var(--radius-lg);
        /* Fond sombre très contrasté */
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        color: #ffffff;
        border: 2px solid var(--primary);
        box-shadow:
            0 10px 40px rgba(0, 0, 0, 0.4),
            0 0 20px rgba(197, 48, 48, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        z-index: 1100;
        opacity: 0;
        visibility: hidden;
    }
    .hero__badge-tooltip::before,
    .hero__badge-tooltip::after {
        display: none;
    }
    .hero__badge-tooltip.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* ==========================================
   23. YouTube Video Frame Animated
   ========================================== */
.hero__video-wrapper--animated {
    position: relative;
    padding: 5px;
    border-radius: calc(var(--radius-lg) + 5px);
    background: linear-gradient(45deg, var(--primary), var(--primary-light), var(--primary-light), var(--primary-light), var(--primary));
    background-size: 400% 400%;
    animation: videoFrameGlow 3s ease infinite;
    box-shadow:
        0 0 40px rgba(197, 48, 48, 0.5),
        0 0 80px rgba(197, 48, 48, 0.3),
        0 0 120px rgba(197, 48, 48, 0.2);
    /* Suivi dynamique de la souris - DÉSACTIVÉ (décommenter pour réactiver)
    --mouse-x: 0;
    --mouse-y: 0;
    transform: translate(calc(var(--mouse-x) * 15px), calc(var(--mouse-y) * 10px))
               rotate(calc(var(--mouse-x) * 2deg));
    transition: transform 0.15s ease-out;
    */
}

/* Animation de plaquage quand la vidéo démarre */
.hero__video-wrapper--animated.video-playing {
    animation:
        videoFrameGlow 3s ease infinite,
        videoLanding 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
        impactFlash 0.8s ease-out forwards;
}

/* Onde de choc à l'impact */
.hero__video-wrapper--animated.video-playing::before {
    animation:
        videoFrameGlow 3s ease infinite,
        shockwaveExpand 0.8s ease-out forwards !important;
}

/* Effet de fumée à l'atterrissage */
.hero__video-wrapper--animated.video-playing::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 60px;
    background: radial-gradient(ellipse at center bottom,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(200, 200, 200, 0.2) 30%,
        transparent 70%);
    filter: blur(15px);
    animation: smokeEffect 0.8s ease-out forwards;
    z-index: -1;
    inset: auto;
    border-radius: 0;
}

/* Animation flash d'impact sur le cadre */
@keyframes impactFlash {
    0% {
        box-shadow:
            0 0 40px rgba(197, 48, 48, 0.5),
            0 0 80px rgba(197, 48, 48, 0.3),
            0 0 120px rgba(197, 48, 48, 0.2);
    }
    15% {
        box-shadow:
            0 0 60px rgba(255, 255, 255, 0.9),
            0 0 100px rgba(197, 48, 48, 1),
            0 0 150px rgba(197, 48, 48, 0.8),
            0 0 200px rgba(197, 48, 48, 0.5),
            inset 0 0 30px rgba(255, 255, 255, 0.3);
    }
    30% {
        box-shadow:
            0 0 80px rgba(255, 200, 100, 0.7),
            0 0 120px rgba(197, 48, 48, 0.9),
            0 0 180px rgba(197, 48, 48, 0.6),
            0 0 250px rgba(197, 48, 48, 0.3);
    }
    100% {
        box-shadow:
            0 0 40px rgba(197, 48, 48, 0.5),
            0 0 80px rgba(197, 48, 48, 0.3),
            0 0 120px rgba(197, 48, 48, 0.2);
    }
}

/* Animation onde de choc qui s'étend */
@keyframes shockwaveExpand {
    0% {
        inset: -15px;
        opacity: 0.7;
        filter: blur(25px);
    }
    20% {
        inset: -40px;
        opacity: 1;
        filter: blur(15px);
    }
    50% {
        inset: -80px;
        opacity: 0.8;
        filter: blur(30px);
    }
    100% {
        inset: -15px;
        opacity: 0.7;
        filter: blur(25px);
    }
}

/* Dark mode - fumée plus visible */
[data-theme="dark"] .hero__video-wrapper--animated.video-playing::after {
    background: radial-gradient(ellipse at center bottom,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(150, 150, 150, 0.15) 30%,
        transparent 70%);
}

.hero__video-wrapper--animated::before {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: calc(var(--radius-lg) + 20px);
    background: linear-gradient(45deg, var(--primary), transparent 30%, var(--primary-light), transparent 70%, var(--primary));
    background-size: 400% 400%;
    z-index: -1;
    opacity: 0.7;
    filter: blur(25px);
    animation: videoFrameGlow 3s ease infinite;
}

.hero__video-wrapper--animated::after {
    content: '';
    position: absolute;
    inset: -30px;
    border-radius: calc(var(--radius-lg) + 35px);
    background: radial-gradient(ellipse at center, rgba(197, 48, 48, 0.3), transparent 70%);
    z-index: -2;
    animation: videoOuterGlow 2s ease-in-out infinite;
}

@keyframes videoFrameGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes videoOuterGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes videoFloat {
    0% {
        transform: translate(0px, 0px) rotate(0deg);
    }
    25% {
        transform: translate(3px, -5px) rotate(0.3deg);
    }
    50% {
        transform: translate(-2px, -8px) rotate(-0.2deg);
    }
    75% {
        transform: translate(-4px, -4px) rotate(0.2deg);
    }
    100% {
        transform: translate(0px, 0px) rotate(0deg);
    }
}

@keyframes videoLanding {
    0% {
        transform: translate(0px, -8px) scale(1.02);
    }
    50% {
        transform: translate(0px, 3px) scale(0.98);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

@keyframes smokeEffect {
    0% {
        opacity: 0;
        transform: translateX(-50%) scaleX(0.3) scaleY(0.5);
    }
    30% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1.2) scaleY(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) scaleX(1.5) scaleY(0.3);
    }
}

.hero__video-frame {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Pour iframe YouTube (si réactivé) */
.hero__video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}

/* Pour iframe, ajouter le padding-top */
.hero__video-frame:has(iframe) {
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

/* Responsive - Réduire l'amplitude sur mobile */
@media (max-width: 768px) {
    .hero__video-wrapper--animated {
        /* Amplitude réduite sur mobile */
        transform: translate(calc(var(--mouse-x) * 8px), calc(var(--mouse-y) * 5px))
                   rotate(calc(var(--mouse-x) * 1deg));
    }

    /* Fumée réduite sur mobile */
    .hero__video-wrapper--animated.video-playing::after {
        height: 40px;
        bottom: -15px;
    }

    /* Effet d'impact réduit sur mobile */
    @keyframes impactFlash {
        0% {
            box-shadow:
                0 0 30px rgba(197, 48, 48, 0.5),
                0 0 60px rgba(197, 48, 48, 0.3);
        }
        15% {
            box-shadow:
                0 0 50px rgba(255, 255, 255, 0.8),
                0 0 80px rgba(197, 48, 48, 0.9),
                0 0 120px rgba(197, 48, 48, 0.5);
        }
        30% {
            box-shadow:
                0 0 60px rgba(255, 200, 100, 0.6),
                0 0 100px rgba(197, 48, 48, 0.7);
        }
        100% {
            box-shadow:
                0 0 30px rgba(197, 48, 48, 0.5),
                0 0 60px rgba(197, 48, 48, 0.3);
        }
    }

    /* Onde de choc réduite sur mobile */
    @keyframes shockwaveExpand {
        0% {
            inset: -10px;
            opacity: 0.7;
            filter: blur(20px);
        }
        20% {
            inset: -25px;
            opacity: 1;
            filter: blur(12px);
        }
        50% {
            inset: -50px;
            opacity: 0.8;
            filter: blur(25px);
        }
        100% {
            inset: -10px;
            opacity: 0.7;
            filter: blur(20px);
        }
    }
}

/* ==========================================
   24. Service Type Glow Animation
   ========================================== */
.service-type--glow {
    position: relative;
    transition: all var(--transition-normal);
}

.service-type--glow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(45deg,
        rgba(255, 255, 255, 0.8),
        rgba(200, 200, 210, 0.6),
        rgba(255, 255, 255, 0.8),
        rgba(180, 180, 195, 0.5));
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
    animation: gradientShift 3s ease infinite;
}

[data-theme="dark"] .service-type--glow::before {
    background: linear-gradient(45deg,
        rgba(255, 255, 255, 0.3),
        rgba(180, 180, 200, 0.2),
        rgba(255, 255, 255, 0.3),
        rgba(160, 160, 180, 0.2));
}

.service-type--glow:hover::before {
    opacity: 1;
}

.service-type--glow:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .service-type--glow:hover {
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==========================================
   25. Service Type Primary Enhancement
   ========================================== */
.service-type--primary {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

/* ==========================================
   26. FAQ Enhanced Lists
   ========================================== */
.faq-item__answer ul {
    margin: 0.75rem 0;
    padding-left: 0;
}

.faq-item__answer ul li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.25rem;
}

.faq-item__answer ul li strong {
    color: var(--text-primary);
}

/* ==========================================
   27. CTA Final Enhanced Animation
   ========================================== */
.cta-final__wrapper--animated {
    animation: ctaPulse 4s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(197, 48, 48, 0);
    }
    50% {
        box-shadow: 0 0 60px 20px rgba(197, 48, 48, 0.35);
    }
}

.cta-final__badge--pulse {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        background: rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.05);
        background: rgba(255, 255, 255, 0.3);
    }
}

.btn--glow {
    animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.2);
    }
}

/* ==========================================
   28. Chatbot Widget
   ========================================== */
/* ==========================================
   Assistant Hub (bulle unifiée)
   ========================================== */
.assistant-hub {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1070;
}

.assistant-hub__toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    outline: none;
    background: var(--gradient, linear-gradient(135deg, #dc2626, #b91c1c));
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 30, 30, 0.6), 0 0 30px rgba(255, 30, 30, 0.3);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.assistant-hub__toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 30, 30, 0.8), 0 0 40px rgba(255, 30, 30, 0.4);
}

.assistant-hub__toggle i {
    width: 28px;
    height: 28px;
}

.assistant-hub__icon-close {
    display: none;
}

.assistant-hub.menu-open .assistant-hub__icon-default {
    display: none;
}

.assistant-hub.menu-open .assistant-hub__icon-close {
    display: block;
}

/* Menu de choix */
.assistant-hub__menu {
    position: absolute;
    bottom: 72px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.assistant-hub.menu-open .assistant-hub__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.assistant-hub__option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    background: #0a0a0a;
    border: 1.5px solid rgba(220, 38, 38, 0.4);
    border-radius: 14px;
    color: #FFFFFF;
    cursor: pointer;
    white-space: nowrap;
    min-width: 200px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.assistant-hub__option:hover {
    background: #1a1a2e;
    border-color: rgba(220, 38, 38, 0.7);
    transform: translateX(-4px);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.2);
}

.assistant-hub__option:first-child {
    animation-delay: 0s;
}
.assistant-hub__option:last-child {
    animation-delay: 0.05s;
}

.assistant-hub__option-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.assistant-hub__option:first-child .assistant-hub__option-icon {
    background: var(--gradient, linear-gradient(135deg, #dc2626, #b91c1c));
}

.assistant-hub__option:last-child .assistant-hub__option-icon {
    background: var(--gradient, linear-gradient(135deg, #dc2626, #b91c1c));
}

.assistant-hub__option-icon i {
    width: 18px;
    height: 18px;
}

.assistant-hub__option-label {
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    line-height: 1.2;
}

.assistant-hub__option-desc {
    display: block;
    font-size: 0.7rem;
    color: #9090a0;
    font-weight: 400;
}

/* ── Assistant Hub Light Mode ── */
[data-theme="light"] .assistant-hub__option {
    background: #FFFFFF;
    color: #1A1A2E;
    border-color: rgba(220, 38, 38, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .assistant-hub__option-icon {
    color: #FFFFFF;
}

[data-theme="dark"] .assistant-hub__option {
    background: #0a0a0a;
    color: #FFFFFF;
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .assistant-hub__option:hover {
    background: #F8F9FA;
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.15);
}

[data-theme="light"] .assistant-hub__option-desc {
    color: #6B6B7B;
}

/* Responsive */
@media (max-width: 768px) {
    .assistant-hub {
        bottom: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .assistant-hub {
        bottom: 0.75rem;
        right: 0.75rem;
    }
    .assistant-hub__toggle {
        width: 50px;
        height: 50px;
    }
    .assistant-hub__toggle i {
        width: 24px;
        height: 24px;
    }
    .assistant-hub__menu {
        bottom: 62px;
    }
    .assistant-hub__option {
        min-width: 180px;
        padding: 0.6rem 0.85rem;
    }
}

/* ==========================================
   Text Chatbot
   ========================================== */
.text-chatbot {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1060;
}

/* Toggle masqué — piloté par assistant-hub */
.text-chatbot__toggle {
    display: none;
}

.text-chatbot__icon-close {
    display: none;
}

.text-chatbot.active .text-chatbot__icon-open {
    display: none;
}

.text-chatbot.active .text-chatbot__icon-close {
    display: block;
}

.text-chatbot__window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: clamp(280px, 90vw, 350px);
    height: 500px;
    max-width: calc(100vw - 2rem);
    max-height: calc(100dvh - 10rem);
    background: #0a0a0a;
    border: 1.5px solid rgba(220, 38, 38, 0.5);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.3), 0 0 30px rgba(220, 38, 38, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all var(--transition-normal);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.text-chatbot.active .text-chatbot__window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.text-chatbot__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    background: var(--gradient, linear-gradient(135deg, #dc2626, #b91c1c));
    color: #FFFFFF;
}

.text-chatbot__avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.text-chatbot__avatar img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.text-chatbot__name {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
}

.text-chatbot__status {
    font-size: 0.75rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.text-chatbot__status-dot {
    width: 7px;
    height: 7px;
    background: #4ADE80;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

.text-chatbot__expand {
    background: none;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.text-chatbot__expand:hover {
    background: rgba(255, 255, 255, 0.2);
}

.text-chatbot__expand i {
    width: 16px;
    height: 16px;
}

.text-chatbot__close {
    background: none;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    font-size: 1.4rem;
    line-height: 1;
}

.text-chatbot__counter {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-left: auto;
    margin-right: 0.5rem;
    white-space: nowrap;
}

.text-chatbot__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.text-chatbot__messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    scroll-behavior: smooth;
}

.text-chatbot__msg {
    max-width: 85%;
    padding: 0.6rem 0.9rem;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.text-chatbot__msg a {
    color: #f87171;
    text-decoration: underline;
}

.text-chatbot__msg--bot {
    align-self: flex-start;
    background: #1a1a2e;
    color: #e0e0e0;
    border-bottom-left-radius: 4px;
}

.text-chatbot__msg--user {
    align-self: flex-end;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #FFFFFF;
    border-bottom-right-radius: 4px;
}

.text-chatbot__suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.text-chatbot__suggestion {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.4);
    color: #fca5a5;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s;
}

.text-chatbot__suggestion:hover {
    background: rgba(220, 38, 38, 0.3);
    color: #FFFFFF;
}

.text-chatbot__suggestions--hidden {
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
}

.text-chatbot__input-area {
    display: flex;
    padding: 0.6rem;
    gap: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #0f0f1a;
}

.text-chatbot__input {
    flex: 1;
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #FFFFFF;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
}

.text-chatbot__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.text-chatbot__input:focus {
    border-color: rgba(220, 38, 38, 0.6);
}

.text-chatbot__char-count {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: right;
    padding: 0.15rem 0.8rem 0.3rem;
    background: #0f0f1a;
    transition: color 0.2s;
}

.text-chatbot__char-count--warn {
    color: #f59e0b;
}

.text-chatbot__char-count--limit {
    color: #ef4444;
}

.text-chatbot__send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--gradient, linear-gradient(135deg, #dc2626, #b91c1c));
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.text-chatbot__send:hover {
    transform: scale(1.1);
}

.text-chatbot__send i {
    width: 18px;
    height: 18px;
}

/* Typing indicator */
.text-chatbot__dots {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 0.2rem 0;
}

.text-chatbot__dots span {
    width: 6px;
    height: 6px;
    background: #f87171;
    border-radius: 50%;
    animation: textChatbotTyping 1.2s ease-in-out infinite;
}

.text-chatbot__dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.text-chatbot__dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes textChatbotTyping {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-4px); }
}

/* ── Text Chatbot Fullscreen ── */
.assistant-hub--hidden {
    display: none !important;
}

.text-chatbot--fullscreen .text-chatbot__window {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    max-width: 100%;
    height: 100% !important;
    max-height: 100%;
    border-radius: 0;
    z-index: 1060;
    transition: none;
}

/* ── Text Chatbot Light Mode ── */
[data-theme="light"] .text-chatbot__window {
    background: #FFFFFF;
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.15), 0 4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .text-chatbot__msg--bot {
    background: #F3F4F6;
    color: #1A1A2E;
}

[data-theme="light"] .text-chatbot__msg a {
    color: #dc2626;
}

[data-theme="light"] .text-chatbot__input-area {
    background: #F8F9FA;
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .text-chatbot__char-count {
    background: #F8F9FA;
    color: rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .text-chatbot__input {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.12);
    color: #1A1A2E;
}

[data-theme="light"] .text-chatbot__input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .text-chatbot__input:focus {
    border-color: rgba(220, 38, 38, 0.5);
}

[data-theme="light"] .text-chatbot__suggestion {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.25);
    color: #dc2626;
}

[data-theme="light"] .text-chatbot__suggestion:hover {
    background: rgba(220, 38, 38, 0.15);
    color: #b91c1c;
}

[data-theme="light"] .text-chatbot__dots span {
    background: #dc2626;
}

[data-theme="light"] .text-chatbot__messages {
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

/* Responsive */
@media (max-width: 768px) {
    .text-chatbot {
        bottom: 1rem;
        right: 1rem;
    }

    .text-chatbot__window {
        width: 300px;
        bottom: 70px;
    }
}

@media (max-width: 480px) {
    .text-chatbot {
        right: 0.75rem;
        bottom: 1rem;
    }

    .text-chatbot__toggle {
        width: 50px;
        height: 50px;
    }

    .text-chatbot__toggle i {
        width: 24px;
        height: 24px;
    }

    .text-chatbot__window {
        width: calc(100vw - 1.5rem);
        max-height: 60dvh;
    }
}

/* ==========================================
   Chatbot Rich Responses
   ========================================== */

/* Card */
.response-card {
    background: #1a1a2e;
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.5rem;
    animation: cardReveal 0.3s ease-out;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.response-card--early-adopter {
    border-color: rgba(234, 179, 8, 0.5);
}

.response-card:hover {
    border-color: rgba(220, 38, 38, 0.5);
}

.response-card__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.response-card__icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.response-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.response-card__badge {
    background: linear-gradient(135deg, #eab308, #f59e0b);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    white-space: nowrap;
    margin-left: auto;
}

.response-card__desc {
    font-size: 0.82rem;
    color: #c0c0d0;
    line-height: 1.5;
    margin: 0 0 0.6rem;
}

.response-card__cta-group {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.6rem;
}

.response-card__cta {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.response-card__cta--primary {
    background: var(--gradient, linear-gradient(135deg, #dc2626, #b91c1c));
    color: #FFFFFF;
}

.response-card__cta--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.response-card__cta--secondary {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.4);
    color: #fca5a5;
}

.response-card__cta--secondary:hover {
    background: rgba(220, 38, 38, 0.3);
    color: #FFFFFF;
}

/* Interactive list */
.response-list--interactive {
    margin-top: 0.5rem;
}

.response-list__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 0.3rem;
    animation: cardReveal 0.3s ease-out both;
}

.response-list__item:hover {
    background: rgba(220, 38, 38, 0.15);
}

.response-list__icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.response-list__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    font-size: 0.82rem;
    color: #e0e0e0;
}

.response-list__text strong {
    color: #FFFFFF;
}

.response-list__desc {
    font-size: 0.73rem;
    color: #9090a0;
    margin-top: 0.1rem;
}

.response-list__arrow {
    color: #dc2626;
    font-size: 1rem;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.2s;
}

.response-list__item:hover .response-list__arrow {
    opacity: 1;
}

.response-list__item:nth-child(2) { animation-delay: 0.05s; }
.response-list__item:nth-child(3) { animation-delay: 0.1s; }
.response-list__item:nth-child(4) { animation-delay: 0.15s; }
.response-list__item:nth-child(5) { animation-delay: 0.2s; }

/* CTA block */
.response-cta-block {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.response-cta-block__button {
    display: block;
    text-align: center;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.response-cta-block__button--primary {
    background: var(--gradient, linear-gradient(135deg, #dc2626, #b91c1c));
    color: #FFFFFF;
}

.response-cta-block__button--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.response-cta-block__button--secondary {
    background: transparent;
    border: 1px solid rgba(220, 38, 38, 0.4);
    color: #fca5a5;
}

.response-cta-block__button--secondary:hover {
    background: rgba(220, 38, 38, 0.15);
    color: #FFFFFF;
}

/* Highlight block */
.response-highlight {
    background: rgba(220, 38, 38, 0.1);
    border-left: 3px solid #dc2626;
    padding: 0.6rem 0.75rem;
    border-radius: 0 8px 8px 0;
    margin-top: 0.5rem;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #c0c0d0;
}

/* Urgency block */
.response-urgency {
    background: rgba(234, 179, 8, 0.1);
    border-left: 3px solid #eab308;
    padding: 0.6rem 0.75rem;
    border-radius: 0 8px 8px 0;
    margin-top: 0.5rem;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #e0d0a0;
}

/* Question text */
.response-question {
    font-style: italic;
    font-size: 0.9rem;
    margin: 0 0 0.4rem;
}

/* Benefits list */
.response-benefits {
    margin: 0.4rem 0;
}

.response-benefits__item {
    font-size: 0.8rem;
    color: #c0c0d0;
    padding: 0.2rem 0;
    line-height: 1.4;
}

/* Card reveal animation */
@keyframes cardReveal {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 480px) {
    .response-card {
        padding: 0.75rem;
    }
    .response-card__cta-group {
        flex-direction: column;
    }
    .response-card__cta {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .response-list__item {
        padding: 0.65rem 0.7rem;
        min-height: 44px;
    }
    .response-cta-block__button {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ==========================================
   Video Chatbot
   ========================================== */
.chatbot {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1050;
    pointer-events: none;
}

.chatbot.active {
    pointer-events: auto;
}

/* Toggle masqué — piloté par assistant-hub */
.chatbot__toggle {
    display: none;
}

.chatbot__toggle i {
    width: 28px;
    height: 28px;
}

.chatbot__icon-close {
    display: none;
}

.chatbot.active .chatbot__icon-open {
    display: none;
}

.chatbot.active .chatbot__icon-close {
    display: block;
}

.chatbot__window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 280px;
    max-width: calc(100vw - 2rem);
    height: 500px;
    max-height: calc(100dvh - 6rem);
    background: #000000;
    border: 1.5px solid rgba(255, 30, 30, 0.6);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 15px rgba(255, 30, 30, 0.3), 0 0 30px rgba(255, 30, 30, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.chatbot__video-crop {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #000000;
}

.chatbot__video-crop iframe {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

.chatbot.active .chatbot__window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot__header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0.6rem;
    background: var(--gradient);
    color: #FFFFFF;
    position: relative;
    z-index: 10;
}

.chatbot__header-top {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.chatbot__header-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 0.1rem;
}

.chatbot__avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.chatbot__avatar img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.chatbot__name {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    font-size: 0.75rem;
    white-space: normal;
    line-height: 1.3;
}

.chatbot__status {
    font-size: 0.7rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.chatbot__status-dot {
    width: 6px;
    height: 6px;
    background: #4ADE80;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@media (max-width: 768px) {
    .chatbot {
        bottom: 1rem;
        right: 1rem;
    }

    .chatbot__window {
        width: calc(100vw - 2rem);
    }
}

/* Header actions (expand/close) */
.chatbot__header-actions {
    display: flex;
    gap: 0.15rem;
    flex-shrink: 0;
}

.chatbot__header-actions button {
    background: none;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}

.chatbot__header-actions button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot__header-actions button i {
    width: 18px;
    height: 18px;
}

@media (max-width: 480px) {
    .chatbot {
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .chatbot__toggle {
        width: 50px;
        height: 50px;
    }

    .chatbot__toggle i {
        width: 24px;
        height: 24px;
    }

    .chatbot__header-actions {
        display: flex;
    }

    .chatbot__header {
        padding: 0.5rem 0.75rem;
    }

    .chatbot__avatar {
        width: 32px;
        height: 32px;
    }

    .chatbot__avatar img {
        width: 22px;
        height: 22px;
    }

    .chatbot__name {
        font-size: 0.85rem;
    }

    .chatbot__status {
        font-size: 0.7rem;
    }

}

/* Fullscreen mode (toutes tailles) */
.chatbot--fullscreen .chatbot__window {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    max-width: 100%;
    height: 100% !important;
    max-height: 100%;
    border-radius: 0;
    z-index: 1060;
    transition: none;
}

.chatbot--fullscreen .did-container {
    flex: 1;
    min-height: 0;
}

/* ==========================================
   28b. D-ID Agent Styles
   ========================================== */
.chatbot__header-meta {
    display: none;
}

.did-timer-row {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.did-timer-icon {
    width: 12px;
    height: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.did-timer {
    font-size: 0.75rem;
    font-weight: 600;
}

.did-timer-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1;
    white-space: nowrap;
    margin-left: 0.1rem;
}

.did-timer {
    font-family: var(--font-mono, monospace);
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm, 6px);
}

.did-quota {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary, #8892b0);
    background: rgba(136, 146, 176, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm, 6px);
}

/* Preview D-ID */
.did-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #000;
}

.did-preview__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.6);
}

.did-preview__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.did-preview__play {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: rgba(220, 38, 38, 0.85);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
}

.did-preview__play i {
    width: 28px;
    height: 28px;
    margin-left: 3px;
}

.did-preview__play:hover {
    transform: scale(1.1);
    background: rgba(220, 38, 38, 1);
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.6);
}

.did-preview__play--disabled {
    background: rgba(100, 100, 100, 0.7);
    border-color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    box-shadow: none;
}

.did-preview__play--disabled:hover {
    transform: none;
    background: rgba(100, 100, 100, 0.7);
    box-shadow: none;
}

.did-preview__label {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.did-preview__budget {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Toast D-ID (positionné en bas du panel) */
.did-toast {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(0.5rem);
    background: rgba(255, 107, 107, 0.95);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm, 6px);
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    z-index: 5;
}

.did-toast--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Message de fin dans le panneau chatbot */
.did-end-message {
    display: none;
    text-align: center;
    padding: 2rem 1.5rem;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    position: absolute;
    inset: 0;
    z-index: 5;
}

.did-end-message--visible {
    display: flex;
}

.did-end-message p {
    margin: 0 0 0.75rem;
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.5;
}

.did-end-message p:first-child {
    font-size: 1.2rem;
    font-weight: 600;
}

.did-end-message .btn {
    margin-top: 1rem;
    min-width: 160px;
}

.did-end-close {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-primary);
    border-color: var(--text-secondary, #8892b0);
}


/* Conteneur D-ID (mode full, rendu dans le panneau chatbot) */
.did-container {
    width: 100%;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #000;
    overflow: hidden;
}

/* Forcer les éléments D-ID à remplir le conteneur */
.did-container > * {
    width: 100% !important;
    height: 100% !important;
    flex: 1;
}

/* Panneau D-ID */
.did-panel {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary, #0a0f1c);
    overflow: hidden;
}

/* ==========================================
   28b. Transcript Panel
   ========================================== */
.did-transcript {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 25%;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
    z-index: 4;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.did-transcript--hidden {
    display: none;
}

.did-transcript__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.3rem 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.did-transcript__title {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
}

.did-transcript__close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0.15rem;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.did-transcript__close:hover {
    color: #fff;
}

.did-transcript__messages {
    padding: 0.4rem 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    overflow-y: auto;
    flex: 1;
}

.did-transcript__messages:empty::after {
    content: 'Les messages apparaîtront ici...';
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    text-align: center;
    padding: 0.5rem 0;
}

.did-transcript__msg {
    padding: 0.25rem 0.55rem;
    border-radius: 0.5rem;
    max-width: 80%;
    font-size: 0.72rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.92);
    word-wrap: break-word;
    font-family: var(--font-body, 'Inter', sans-serif);
}

.did-transcript__msg--user {
    align-self: flex-end;
    background: var(--primary);
    border-bottom-right-radius: 0.15rem;
}

.did-transcript__msg--avatar {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.1);
    border-bottom-left-radius: 0.15rem;
}

.chatbot__transcript-toggle {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.chatbot__transcript-toggle:hover {
    opacity: 1;
}

/* ==========================================
   29. Services Grid 5 columns
   ========================================== */
@media (min-width: 1025px) {
    .services__grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ==========================================
   30. Page Decorations - Style Circuit Tech
   ========================================== */
/* DÉSACTIVÉ TEMPORAIREMENT - Décommenter pour réactiver */
.page-decorations {
    display: none; /* Masqué par défaut - supprimer cette ligne pour réactiver */
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* SVG Circuit Lines */
.circuit-svg {
    position: absolute;
    top: 0;
    height: 100%;
    width: 80px;
}

.circuit-svg--left {
    left: 0;
}

.circuit-svg--right {
    right: 0;
    transform: scaleX(-1);
}

.circuit-path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawCircuit 8s linear infinite;
    filter: drop-shadow(0 0 6px rgba(197, 48, 48, 0.15));
}

.circuit-path--2 {
    stroke: var(--primary-light);
    stroke-width: 1.5;
    animation-delay: -4s;
    opacity: 0.7;
}

[data-theme="dark"] .circuit-path {
    filter: drop-shadow(0 0 8px rgba(255, 107, 107, 0.2));
}

@keyframes drawCircuit {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0.3;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: -1000;
        opacity: 0.3;
    }
}

.circuit-node {
    fill: var(--primary);
    filter: drop-shadow(0 0 6px rgba(197, 48, 48, 0.8));
    animation: nodeGlow 2s ease-in-out infinite;
}

.circuit-node--pulse {
    fill: #fff;
    animation: nodePulse 1.5s ease-in-out infinite;
}

@keyframes nodeGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes nodePulse {
    0%, 100% {
        r: 6;
        opacity: 0.8;
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
    }
    50% {
        r: 8;
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 1));
    }
}

/* Data Streams - Lignes de donnees qui descendent */
.data-stream {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    overflow: hidden;
}

.data-stream--left {
    left: 60px;
}

.data-stream--right {
    right: 60px;
}

.data-stream::before,
.data-stream::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom,
        transparent,
        var(--primary) 20%,
        #fff 50%,
        var(--primary) 80%,
        transparent
    );
    box-shadow: 0 0 5px var(--primary), 0 0 10px rgba(197, 48, 48, 0.15);
    animation: dataFlow var(--stream-speed, 3s) linear infinite;
}

.data-stream::after {
    animation-delay: -1.5s;
}

.data-stream--right::before {
    animation-delay: -0.75s;
}

.data-stream--right::after {
    animation-delay: -2.25s;
}

@keyframes dataFlow {
    0% {
        top: -100px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Hexagones flottants */
.hex-container {
    position: absolute;
    top: 0;
    height: 100%;
    width: 120px;
}

.hex-container--left {
    left: 0;
}

.hex-container--right {
    right: 0;
}

.hex {
    position: absolute;
    width: 60px;
    height: 52px;
    background: transparent;
    border: 2px solid var(--primary);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    opacity: 0.15;
    box-shadow: inset 0 0 10px rgba(197, 48, 48, 0.1);
}

.hex::before {
    content: '';
    position: absolute;
    inset: 4px;
    background: linear-gradient(135deg, rgba(197, 48, 48, 0.1), transparent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hex-container--left .hex--1 {
    top: 15%;
    left: 10px;
    animation: hexFloat 6s ease-in-out infinite, hexRotate 12s linear infinite;
}

.hex-container--left .hex--2 {
    top: 45%;
    left: 30px;
    width: 40px;
    height: 35px;
    animation: hexFloat 8s ease-in-out infinite reverse, hexRotate 15s linear infinite reverse;
    animation-delay: -2s;
}

.hex-container--left .hex--3 {
    top: 75%;
    left: 5px;
    width: 50px;
    height: 43px;
    animation: hexFloat 7s ease-in-out infinite, hexRotate 10s linear infinite;
    animation-delay: -4s;
}

.hex-container--right .hex--1 {
    top: 20%;
    right: 15px;
    left: auto;
    animation: hexFloat 7s ease-in-out infinite reverse, hexRotate 14s linear infinite;
    animation-delay: -1s;
}

.hex-container--right .hex--2 {
    top: 55%;
    right: 25px;
    left: auto;
    width: 45px;
    height: 39px;
    animation: hexFloat 5s ease-in-out infinite, hexRotate 11s linear infinite reverse;
    animation-delay: -3s;
}

.hex-container--right .hex--3 {
    top: 80%;
    right: 10px;
    left: auto;
    animation: hexFloat 9s ease-in-out infinite reverse, hexRotate 13s linear infinite;
    animation-delay: -5s;
}

@keyframes hexFloat {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px);
        opacity: 0.7;
    }
}

@keyframes hexRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

[data-theme="dark"] .hex {
    border-color: var(--primary-light);
    opacity: 0.2;
    box-shadow: inset 0 0 10px rgba(255, 107, 107, 0.1), 0 0 5px rgba(255, 107, 107, 0.1);
}

[data-theme="dark"] .hex::before {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), transparent);
}

/* Masquer les decorations sur mobile pour les performances */
@media (max-width: 1024px) {
    .page-decorations {
        display: none;
    }
}

/* ==========================================
   31. Citation animee - "Ne subissez pas..."
   ========================================== */
.method__quote--animated {
    position: relative;
    overflow: visible;
    background: transparent;
    border: none;
    padding: 3rem 2rem;
}

.method__quote--animated::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(197, 48, 48, 0.1) 0%,
        rgba(197, 48, 48, 0.05) 50%,
        rgba(197, 48, 48, 0.1) 100%);
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    background-clip: padding-box;
    z-index: 0;
}

.method__quote--animated::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg,
        var(--primary),
        var(--primary-light),
        #ff8080,
        var(--primary-light),
        var(--primary));
    background-size: 400% 400%;
    border-radius: calc(var(--radius-lg) + 3px);
    z-index: -1;
    animation: quoteGradient 4s ease infinite;
    filter: blur(0);
}

.quote-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center,
        rgba(197, 48, 48, 0.3) 0%,
        transparent 70%);
    z-index: -2;
    animation: quoteGlowPulse 3s ease-in-out infinite;
    border-radius: 50%;
}

@keyframes quoteGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes quoteGlowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.method__quote--animated blockquote {
    position: relative;
    z-index: 1;
    text-shadow: 0 0 30px rgba(197, 48, 48, 0.3);
}

/* Particules autour de la citation */
.quote-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.quote-particles span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary-light);
}

.quote-particles span:nth-child(1) {
    top: -5px;
    left: 20%;
    animation: particleFloat 4s ease-in-out infinite;
}

.quote-particles span:nth-child(2) {
    top: 50%;
    right: -5px;
    animation: particleFloat 5s ease-in-out infinite reverse;
    animation-delay: -1s;
}

.quote-particles span:nth-child(3) {
    bottom: -5px;
    left: 60%;
    animation: particleFloat 4.5s ease-in-out infinite;
    animation-delay: -2s;
}

.quote-particles span:nth-child(4) {
    top: 30%;
    left: -5px;
    animation: particleFloat 5.5s ease-in-out infinite reverse;
    animation-delay: -0.5s;
}

.quote-particles span:nth-child(5) {
    bottom: 20%;
    right: 15%;
    animation: particleFloat 4s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(10px, -15px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translate(-5px, -25px) scale(0.8);
        opacity: 0.8;
    }
    75% {
        transform: translate(-15px, -10px) scale(1.1);
        opacity: 1;
    }
}

/* ==========================================
   32. Service Type - Effet Mouse Follow INTENSIFIE
   ========================================== */
.service-type--glow {
    --mouse-x: 50%;
    --mouse-y: 50%;
    overflow: hidden;
}

/* Effet de fond lumineux qui suit la souris */
.service-type--glow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: radial-gradient(
        400px circle at var(--mouse-x) var(--mouse-y),
        rgba(197, 48, 48, 0.25),
        rgba(197, 48, 48, 0.15) 30%,
        rgba(197, 48, 48, 0.05) 50%,
        transparent 70%
    );
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

[data-theme="dark"] .service-type--glow::before {
    background: radial-gradient(
        400px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 107, 107, 0.35),
        rgba(255, 107, 107, 0.2) 30%,
        rgba(255, 107, 107, 0.08) 50%,
        transparent 70%
    );
}

.service-type--glow:hover::before {
    opacity: 1;
}

/* Effet lumineux qui suit la souris (sans masque CSS buggé) */
.service-type--glow::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: radial-gradient(
        350px circle at var(--mouse-x) var(--mouse-y),
        rgba(197, 48, 48, 0.5),
        rgba(197, 48, 48, 0.2) 40%,
        transparent 60%
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(8px);
}

.service-type--glow:hover::after {
    opacity: 1;
}

/* Effet spotlight interne */
.service-type--glow .service-type__icon,
.service-type--glow .service-type__title,
.service-type--glow .service-type__text,
.service-type--glow .service-type__features,
.service-type--glow .btn {
    position: relative;
    z-index: 2;
}

/* Ombre portee dynamique au hover */
.service-type--glow:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(197, 48, 48, 0.25),
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 0 60px rgba(197, 48, 48, 0.03);
}

[data-theme="dark"] .service-type--glow:hover {
    box-shadow:
        0 25px 50px rgba(255, 107, 107, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 60px rgba(255, 107, 107, 0.05);
}

/* ==========================================
   33. Animations latérales - Évolution au scroll
   ========================================== */
.page-decorations {
    --scroll-progress: 0;
}

.page-decorations .circuit-svg {
    transition: transform 0.05s ease-out, filter 0.3s ease;
}

.page-decorations .hex {
    transition: transform 0.1s ease-out, opacity 0.3s ease;
}

.page-decorations .data-stream {
    transition: opacity 0.3s ease, transform 0.1s ease-out;
}

.page-decorations .circuit-node {
    transition: transform 0.15s ease-out;
}

/* Intensification progressive des circuits - Plus visible */
.page-decorations[data-scroll-level="0"] .circuit-path {
    filter: drop-shadow(0 0 4px rgba(197, 48, 48, 0.1));
    stroke-width: 1.5;
}
.page-decorations[data-scroll-level="1"] .circuit-path {
    filter: drop-shadow(0 0 8px rgba(197, 48, 48, 0.25));
    stroke-width: 2;
}
.page-decorations[data-scroll-level="2"] .circuit-path {
    filter: drop-shadow(0 0 12px rgba(197, 48, 48, 0.4));
    stroke-width: 2.5;
}
.page-decorations[data-scroll-level="3"] .circuit-path {
    filter: drop-shadow(0 0 18px rgba(197, 48, 48, 0.6));
    stroke-width: 3;
}

/* Nodes qui pulsent plus fort */
.page-decorations[data-scroll-level="2"] .circuit-node,
.page-decorations[data-scroll-level="3"] .circuit-node {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.9));
}

/* Dark mode - Effets plus lumineux */
[data-theme="dark"] .page-decorations[data-scroll-level="0"] .circuit-path {
    filter: drop-shadow(0 0 6px rgba(255, 107, 107, 0.15));
}
[data-theme="dark"] .page-decorations[data-scroll-level="1"] .circuit-path {
    filter: drop-shadow(0 0 10px rgba(255, 107, 107, 0.35));
}
[data-theme="dark"] .page-decorations[data-scroll-level="2"] .circuit-path {
    filter: drop-shadow(0 0 16px rgba(255, 107, 107, 0.55));
}
[data-theme="dark"] .page-decorations[data-scroll-level="3"] .circuit-path {
    filter: drop-shadow(0 0 24px rgba(255, 107, 107, 0.75));
}

/* Hexagones plus brillants au scroll */
.page-decorations[data-scroll-level="2"] .hex,
.page-decorations[data-scroll-level="3"] .hex {
    border-width: 3px;
    box-shadow: inset 0 0 20px rgba(197, 48, 48, 0.2), 0 0 15px rgba(197, 48, 48, 0.15);
}

[data-theme="dark"] .page-decorations[data-scroll-level="2"] .hex,
[data-theme="dark"] .page-decorations[data-scroll-level="3"] .hex {
    box-shadow: inset 0 0 25px rgba(255, 107, 107, 0.25), 0 0 20px rgba(255, 107, 107, 0.2);
}

/* ==========================================
   34. Circuit avec effet de progression électrique
   ========================================== */

/* Circuit de fond (gris, toujours visible) */
.circuit-path--bg {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 2;
    stroke-linecap: round;
    opacity: 0.4;
}

/* Circuit de progression (lumineux, se remplit au scroll) */
.circuit-path--progress {
    fill: none;
    stroke: url(#circuit-gradient);
    stroke-width: 2;
    stroke-linecap: round;
    filter: drop-shadow(0 0 3px var(--primary)) drop-shadow(0 0 6px rgba(197, 48, 48, 0.2));
    stroke-dasharray: var(--path-length, 2000);
    stroke-dashoffset: var(--path-offset, 2000);
    transition: stroke-dashoffset 0.15s ease-out;
    opacity: 0.6;
}

/* Animation de pulsation sur le circuit actif */
.circuit-path--progress {
    animation: circuitPulse 2s ease-in-out infinite;
}

@keyframes circuitPulse {
    0%, 100% {
        filter: drop-shadow(0 0 3px var(--primary)) drop-shadow(0 0 6px rgba(197, 48, 48, 0.2));
        stroke-width: 2;
    }
    50% {
        filter: drop-shadow(0 0 5px var(--primary)) drop-shadow(0 0 10px rgba(197, 48, 48, 0.3));
        stroke-width: 2.5;
    }
}

[data-theme="dark"] .circuit-path--progress {
    filter: drop-shadow(0 0 4px var(--primary-light)) drop-shadow(0 0 8px rgba(255, 107, 107, 0.3));
    opacity: 0.5;
}

/* Nodes du circuit - style soudure */
.circuit-node {
    fill: var(--border-color);
    stroke: var(--border-color);
    stroke-width: 1;
    transition: all 0.4s ease;
}

.circuit-node.active {
    fill: #fff;
    stroke: var(--primary);
    stroke-width: 2;
    filter: drop-shadow(0 0 4px var(--primary)) drop-shadow(0 0 8px rgba(197, 48, 48, 0.4));
    animation: nodeActivePulse 1s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes nodeActivePulse {
    0%, 100% {
        filter: drop-shadow(0 0 4px var(--primary)) drop-shadow(0 0 8px rgba(197, 48, 48, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 6px var(--primary)) drop-shadow(0 0 12px rgba(197, 48, 48, 0.5));
    }
}

[data-theme="dark"] .circuit-node.active {
    fill: #fff;
    stroke: var(--primary-light);
    filter: drop-shadow(0 0 5px var(--primary-light)) drop-shadow(0 0 10px rgba(255, 107, 107, 0.4));
    opacity: 0.6;
}

/* Barre de progression verticale - style énergie */
.progress-bar {
    position: absolute;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--border-color);
    opacity: 0.2;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--progress, 0%);
    background: linear-gradient(to bottom,
        transparent,
        var(--primary) 10%,
        var(--primary-light) 50%,
        var(--primary) 90%,
        transparent
    );
    border-radius: 2px;
    box-shadow: 0 0 4px var(--primary), 0 0 8px rgba(197, 48, 48, 0.2);
    transition: height 0.15s ease-out;
    opacity: 0.5;
}

/* Effet scintillement sur la barre */
.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    border-radius: 2px;
    animation: progressSparkle 2s ease-in-out infinite;
    opacity: 0;
}

@keyframes progressSparkle {
    0% {
        top: 0;
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        top: calc(var(--progress, 0%) - 30px);
        opacity: 0;
    }
}

.progress-bar--left {
    left: 10px;
}

.progress-bar--right {
    right: 10px;
}

/* ==========================================
   33. Splash Screen / Intro Animation
   ========================================== */
.splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    overflow: hidden;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    will-change: opacity, transform;
}

[data-theme="light"] .splash-screen {
    background: radial-gradient(ellipse at center, #FFFFFF 0%, #F0F0F5 50%, #E8E8F0 100%);
}

[data-theme="dark"] .splash-screen {
    background: radial-gradient(ellipse at center, #12121A 0%, #0A0A0F 50%, #050508 100%);
}

.splash-screen.hidden {
    display: none;
}

/* Phase Warp: Zoom accéléré (0.5s au lieu de 0.8s) */
.splash-screen.phase-warp .splash-content {
    animation: contentZoomIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.splash-screen.phase-warp .splash-circuits {
    animation: circuitsWarp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.splash-screen.phase-warp .splash-warp {
    animation: warpActivate 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Phase Exit: Fondu fluide vers le site */
.splash-screen.phase-exit {
    opacity: 0;
    transform: scale(1.02);
}

/* État final caché après le fondu */
.splash-screen.phase-exit.fade-complete {
    visibility: hidden;
}

/* ==========================================
   Circuit Lines Background
   ========================================== */
.splash-circuits {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
}

/* Horizontal lines - Animations accélérées */
.circuit-line--1 {
    top: 20%;
    left: 0;
    width: 100%;
    height: 2px;
    animation: circuitHorizontal 0.8s ease-out 0.1s forwards;
}

.circuit-line--2 {
    top: 80%;
    left: 0;
    width: 100%;
    height: 2px;
    animation: circuitHorizontal 0.8s ease-out 0.15s forwards;
}

.circuit-line--3 {
    top: 40%;
    left: 0;
    width: 60%;
    height: 1px;
    animation: circuitHorizontal 0.6s ease-out 0.2s forwards;
}

.circuit-line--4 {
    top: 60%;
    right: 0;
    width: 50%;
    height: 1px;
    animation: circuitHorizontalReverse 0.6s ease-out 0.25s forwards;
}

/* Vertical lines - Animations accélérées */
.circuit-line--5 {
    top: 0;
    left: 15%;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--primary), transparent);
    animation: circuitVertical 0.8s ease-out 0.12s forwards;
}

.circuit-line--6 {
    top: 0;
    right: 15%;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--primary), transparent);
    animation: circuitVertical 0.8s ease-out 0.18s forwards;
}

.circuit-line--7 {
    top: 0;
    left: 35%;
    width: 1px;
    height: 40%;
    background: linear-gradient(180deg, transparent, var(--primary-light));
    animation: circuitVertical 0.5s ease-out 0.22s forwards;
}

.circuit-line--8 {
    bottom: 0;
    right: 30%;
    width: 1px;
    height: 35%;
    background: linear-gradient(0deg, transparent, var(--primary-light));
    animation: circuitVerticalReverse 0.5s ease-out 0.28s forwards;
}

@keyframes circuitHorizontal {
    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 0.3;
        clip-path: inset(0 0 0 0);
    }
}

@keyframes circuitHorizontalReverse {
    0% {
        opacity: 0;
        clip-path: inset(0 0 0 100%);
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 0.3;
        clip-path: inset(0 0 0 0);
    }
}

@keyframes circuitVertical {
    0% {
        opacity: 0;
        clip-path: inset(0 0 100% 0);
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 0.3;
        clip-path: inset(0 0 0 0);
    }
}

@keyframes circuitVerticalReverse {
    0% {
        opacity: 0;
        clip-path: inset(100% 0 0 0);
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 0.3;
        clip-path: inset(0 0 0 0);
    }
}

@keyframes circuitsWarp {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(3) rotate(10deg);
    }
}

/* ==========================================
   Electric Particles
   ========================================== */
.splash-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary-light);
    animation: particleMove 2s ease-in-out infinite;
}

@keyframes particleMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    50% {
        transform: translate(var(--tx, 50px), var(--ty, -50px)) scale(0.5);
    }
}

/* ==========================================
   Main Content
   ========================================== */
.splash-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Logo */
.splash-logo {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-logo__icon {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    animation: logoSpin 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
    filter: drop-shadow(0 0 20px rgba(197, 48, 48, 0.5));
}

@keyframes logoSpin {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Pulsing rings around logo - Accélérés */
.splash-logo__ring {
    position: absolute;
    inset: -15px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: ringPulse 1.5s ease-out 0.3s infinite;
}

.splash-logo__ring--2 {
    inset: -30px;
    border-width: 1px;
    border-color: var(--primary-light);
    animation-delay: 0.5s;
}

@keyframes ringPulse {
    0% {
        opacity: 0.8;
        transform: scale(0.8);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

/* Glow pulse */
.splash-logo__pulse {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(197, 48, 48, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: glowPulse 1.5s ease-in-out 0.5s infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.9);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Text Animation - Accéléré */
.splash-text {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    opacity: 0;
    animation: textGlitch 0.5s ease 0.4s forwards;
}

.splash-text__part {
    display: inline-block;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.splash-text__part--accent {
    color: var(--primary);
    text-shadow: 0 0 30px rgba(197, 48, 48, 0.5);
}

@keyframes textGlitch {
    0% {
        opacity: 0;
        transform: translateY(30px) skewX(-5deg);
        filter: blur(10px);
    }
    50% {
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) skewX(0deg);
        filter: blur(0);
    }
}

/* Tagline - Accéléré */
.splash-tagline {
    font-family: var(--font-body);
    font-size: clamp(0.875rem, 3vw, 1.125rem);
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    opacity: 0;
    animation: taglineFade 0.4s ease 0.6s forwards;
}

@keyframes taglineFade {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   Warp/Tunnel Effect
   ========================================== */
.splash-warp {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
}

.warp-ring {
    position: absolute;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
}

.warp-ring--1 {
    width: 100px;
    height: 100px;
}

.warp-ring--2 {
    width: 200px;
    height: 200px;
}

.warp-ring--3 {
    width: 350px;
    height: 350px;
}

.warp-ring--4 {
    width: 550px;
    height: 550px;
}

.warp-ring--5 {
    width: 800px;
    height: 800px;
}

@keyframes warpActivate {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.splash-screen.phase-warp .warp-ring--1 {
    animation: warpRing 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.splash-screen.phase-warp .warp-ring--2 {
    animation: warpRing 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.03s forwards;
}

.splash-screen.phase-warp .warp-ring--3 {
    animation: warpRing 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.06s forwards;
}

.splash-screen.phase-warp .warp-ring--4 {
    animation: warpRing 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.09s forwards;
}

.splash-screen.phase-warp .warp-ring--5 {
    animation: warpRing 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.12s forwards;
}

@keyframes warpRing {
    0% {
        opacity: 0;
        transform: scale(0.5);
        border-width: 3px;
    }
    30% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: scale(3);
        border-width: 0px;
    }
}

@keyframes contentZoomIn {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(20);
        opacity: 0;
    }
}

/* ==========================================
   Mobile Adjustments
   ========================================== */
@media (max-width: 768px) {
    .splash-logo {
        width: 120px;
        height: 120px;
    }

    .circuit-line--3,
    .circuit-line--4,
    .circuit-line--7,
    .circuit-line--8 {
        display: none;
    }
}

@media (max-width: 480px) {
    .splash-logo {
        width: 100px;
        height: 100px;
    }

    .splash-content {
        gap: 1rem;
    }

    .splash-text {
        letter-spacing: 0.1em;
    }

    .warp-ring--4,
    .warp-ring--5 {
        display: none;
    }
}

/* ==========================================
   Refresh Indicator
   ========================================== */
.refresh-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 20px rgba(197, 48, 48, 0.3);
}

.refresh-indicator svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
    animation: refreshSpin 0.8s ease-in-out;
}

.refresh-indicator.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.refresh-indicator.hide {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

@keyframes refreshSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================
   Accessibility - Skip Link
   ========================================== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 1rem 2rem;
    background: var(--primary);
    color: #FFFFFF;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 1rem;
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
}

/* ==========================================
   Accessibility - Reduced Motion
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .splash-screen {
        display: none !important;
    }
}
