/* ===================================
   NoBreaksAllowed Landing Page Styles
   Design: Corporate B2B Light Mode (High-end SaaS)
   =================================== */

:root {
    --bg-primary: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-alt: #f1f5f9;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-light: #eff6ff;
    
    --border-light: #e2e8f0;
    --border-hover: #cbd5e1;
    
    --container-max: 1200px;
    --radius-lg: 16px;
    --radius-md: 8px;
    
    --font-heading: 'Outfit', sans-serif; /* For impactful headers */
    --font-body: 'Inter', sans-serif;     /* For maximum readability */
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-float: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}


body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--text-primary); }
p { color: var(--text-secondary); }

.label-sm {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.navbar .container { display: flex; justify-content: space-between; align-items: center; height: 72px; }

.nav-brand {
    font-family: var(--font-heading); font-size: 20px; font-weight: 800;
    display: flex; align-items: center; gap: 12px; color: var(--text-primary); text-decoration: none;
    white-space: nowrap;
}
.brand-icon {
    width: 28px;
    height: 28px;
    background-image: url('/assets/images/logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a.nav-item { 
    color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; 
    position: relative;
    white-space: nowrap;
}
.nav-links a.nav-item:hover { color: var(--text-primary); }
.nav-links a.nav-item.active {
    color: var(--accent);
}
.nav-links a.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.nav-links button { background: none; border: none; color: var(--text-secondary); font-size: 13px; font-weight: 600; cursor: pointer; transition: color 0.2s; font-family: var(--font-body); white-space: nowrap; }
.nav-links button:hover { color: var(--text-primary); }
/* Sélecteur de langue : un lien par langue, la langue de la page en clair */
.lang-switch { display: inline-flex; align-items: center; gap: 10px; }
.lang-switch a { color: var(--text-secondary); opacity: 0.55; font-size: 13px; font-weight: 600; text-decoration: none; transition: color 0.2s, opacity 0.2s; }
.lang-switch a:hover, .lang-switch a[aria-current] { color: var(--text-primary); opacity: 1; }
/* Pages en arabe : police avec glyphes arabes ; les noms latins gardent Inter et Outfit en repli */
html[lang="ar"] { --font-heading: 'IBM Plex Sans Arabic', 'Outfit', sans-serif; --font-body: 'IBM Plex Sans Arabic', 'Inter', sans-serif; }
html[lang="ar"] .lang-switch, html[lang="ar"] .nav-brand { direction: ltr; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px; border-radius: var(--radius-md);
    font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; transition: all 0.2s ease;
}
.btn-primary { background: var(--text-primary); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: #000; box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.btn-secondary { background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--border-hover); background: var(--bg-surface-alt); }

/* Les animations d'entrée décalent les blocs sur le côté avant de les faire glisser :
   on coupe ce débordement pour que la page ne défile pas en largeur sur mobile. */
main { overflow-x: clip; }

/* Hero Section */
/* Accroche à gauche, vrais lives à droite : le produit se voit dès l'arrivée */
.hero {
    padding: 128px 0 72px;
    /* Halo aux couleurs de la marque derrière la vidéo */
    background:
        radial-gradient(45% 55% at 78% 48%, rgba(145, 70, 255, 0.12), transparent 70%),
        radial-gradient(35% 45% at 92% 75%, rgba(37, 99, 235, 0.10), transparent 70%);
}
.hero-title .hl { color: var(--accent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
@media (min-width: 1280px) {
    .hero-grid.container { max-width: 1400px; grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr); gap: 56px; }
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 100px;
    background: var(--accent-light); border: 1px solid #bfdbfe;
    color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 32px;
}
.hero-title { font-size: clamp(38px, 3.4vw, 54px); margin: 0 0 20px; }
.hero-subtitle { font-size: 18px; max-width: 560px; margin: 0 0 32px; }
.hero-cta { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-cta .btn { white-space: nowrap; }

/* Montage de vrais lives sous l'accroche */
.hero-reel { margin: 0; }
.hero-reel video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
    background: #0f172a;
}
.hero-reel figcaption { margin-top: 14px; font-size: 13px; color: var(--text-secondary); }
.hero-reel-frame { position: relative; }
/* Comme sur Twitch : le stream à gauche, le tchat à droite */
.hero-reel-frame {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #18181b;
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.06);
}
.reel-video { position: relative; }
.hero-reel .reel-video video { border-radius: 0; box-shadow: none; }
.reel-chat-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    /* La colonne prend la hauteur de la vidéo, jamais celle de ses messages */
    contain: size;
    overflow: hidden;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.reel-chat {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 10px 12px;
}
.reel-msg {
    max-width: 100%;
    padding: 5px 9px;
    border-radius: 10px 10px 10px 3px;
    background: rgba(255, 255, 255, 0.1);
    color: #fafafa;
    font-size: 12px;
    font-weight: 700;
    animation: reelMsgIn 0.25s ease-out;
}
.reel-msg:nth-child(3n+1) { background: rgba(145, 70, 255, 0.85); }
@keyframes reelMsgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
    .hero-reel-frame { grid-template-columns: minmax(0, 1fr); }
    .reel-chat-panel { contain: none; height: 44px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
    .reel-chat { flex-direction: row; justify-content: flex-start; align-items: center; padding: 8px 10px; height: 44px; min-width: 0; }
    .reel-msg { font-size: 12px; padding: 4px 9px; white-space: nowrap; }
}

/* Preuves sous les boutons */
.hero-proof {
    list-style: none;
    margin: 0 0 14px;
    padding: 16px 0 0;
    border-top: 1px solid var(--border-light);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.hero-proof li { display: flex; flex-direction: column; gap: 2px; }
.hero-proof strong {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.hero-proof span { font-size: 13px; line-height: 1.35; color: var(--text-secondary); }
@media (max-width: 500px) {
    .hero-proof { gap: 10px; }
    .hero-proof strong { font-size: 18px; }
    .hero-proof span { font-size: 12px; }
}
.reel-chip {
    position: absolute;
    left: 16px;
    top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: calc(100% - 32px);
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    pointer-events: none;
}
.reel-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; flex-shrink: 0; }
@media (max-width: 500px) {
    .reel-chip { left: 10px; top: 10px; padding: 6px 10px; font-size: 12px; }
}

.hero-platforms {
    display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px;
}
.hero-platform-sub { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-secondary); }
.platform-badge {
    color: var(--text-muted); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px;
}
.platform-badge i { font-size: 16px; }
.platform-badge.native { color: var(--text-primary); font-weight: 600; }
.platform-badge.native i { color: #9146FF; } /* Twitch Purple */

/* 16:9 Video Placeholder */
.media-placeholder-lg {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--text-muted);
    font-size: 18px;
    font-weight: 500;
}
.media-placeholder-lg i { font-size: 48px; margin-bottom: 20px; color: var(--border-hover); }

/* Ticker (Partners) */
.ticker-section { padding: 80px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); background: var(--bg-surface); overflow: hidden; }
.ticker-title { text-align: center; color: var(--text-muted); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 40px; }
.ticker-wrap { display: flex; width: max-content; animation: ticker 40s linear infinite; gap: 80px; align-items: center; padding-right: 80px; }
.ticker-wrap:hover { animation-play-state: paused; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.ticker-item { flex-shrink: 0; }
.partner-logo {
    height: 36px;
    width: auto;
    filter: grayscale(100%) opacity(0.5); /* Corporate Light Theme Styling */
    transition: all 0.3s ease;
}
.partner-logo:hover {
    filter: grayscale(0%) opacity(1);
}

/* Z-Pattern Features */
.features { padding: 160px 0; background: var(--bg-primary); }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 120px; }
.feature-row:last-child { margin-bottom: 0; }

.feature-copy h2 { font-size: 40px; margin-bottom: 24px; }
.feature-copy p { font-size: 18px; margin-bottom: 32px; }

.feature-metrics { display: flex; gap: 40px; margin-top: 32px; border-top: 1px solid var(--border-light); padding-top: 32px; }
.metric-item .val { font-size: 32px; font-weight: 800; font-family: var(--font-heading); color: var(--text-primary); line-height: 1; margin-bottom: 8px; }
.metric-item .lbl { font-size: 13px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

.media-placeholder-md {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
}

/* CTA Block */
.cta-section { padding: 120px 0; background: var(--bg-surface); border-top: 1px solid var(--border-light); }
.cta-box {
    max-width: 800px; margin: 0 auto; text-align: center;
    padding: 80px; background: var(--bg-surface-alt);
    border-radius: var(--radius-lg); border: 1px solid var(--border-light);
}

/* Footer */
.footer { padding: 80px 0 40px; background: var(--bg-surface); border-top: 1px solid var(--border-light); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand p { color: var(--text-secondary); font-size: 15px; margin-top: 20px; max-width: 320px; }
.footer-col h3 { font-size: 13px; margin-bottom: 24px; letter-spacing: 0.1em; color: var(--text-primary); font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 16px; }
.footer-col a { color: var(--text-secondary); text-decoration: none; font-size: 15px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--border-light); color: var(--text-muted); font-size: 13px; }

/* Responsive */
@media (max-width: 1024px) {
    .hero { padding-top: 112px; }
    /* Une colonne : la vidéo passe juste après l'accroche, avant les boutons */
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .hero-copy { display: contents; }
    .hero-reel { order: 4; margin: 0 0 28px; }
    .hero-cta { order: 5; }
    .hero-proof { order: 6; }
    .hero-platform-sub { order: 7; }
    .hero-title { font-size: 48px; }
    .feature-row { gap: 40px; }
}
@media (max-width: 768px) {
    .hero { padding-top: 96px; }
    .hero-title { font-size: 38px; }
    .hero-subtitle { font-size: 16px; margin-bottom: 24px; }
    .hero-cta { flex-direction: column; }
    .nav-links { display: none; }
    .feature-row { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 40px; }
    .cases-grid { grid-template-columns: minmax(0, 1fr) !important; }
    .feature-row:nth-child(even) .feature-media { grid-row: 1; } /* Stack media first on mobile */
    .feature-metrics { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-box { padding: 40px 20px; }
}

/* Dashboard Preview Component */
.dashboard-preview {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 16px;
}

.dashboard-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ef4444;
    letter-spacing: 0.1em;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    animation: blink 2s infinite ease-in-out;
}

@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.live-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.live-stat-box {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end; /* chiffres alignés en haut, même si un libellé passe sur deux lignes */
    gap: 4px;
    text-align: left;
}

.stat-label {
    display: block;
    font-size: 13px;
    line-height: 1.35;
    color: var(--text-secondary);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.preview-chart-container {
    height: 260px;
    width: 100%;
}

/* Ligne télémétrie : texte au-dessus, tableau de bord sur toute la largeur */
.feature-row--stacked { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.feature-row--stacked .feature-copy { max-width: 760px; }
.feature-aside {
    margin: -12px 0 0;
    padding-left: 14px;
    border-left: 3px solid var(--accent);
    font-size: 16px !important;
    font-style: italic;
    color: var(--text-primary);
}
.feature-row--stacked .dashboard-preview { margin: 0; padding: 28px 32px; }

/* Phrase de lecture du graphique : ce que sont les cadres */
.dashboard-note {
    margin: 0 0 16px;
    padding: 12px 16px;
    border-left: 3px solid #6366f1;
    background: rgba(99, 102, 241, 0.06);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-secondary);
    text-align: left;
}
.dashboard-note strong { color: var(--text-primary); font-weight: 600; }

/* Comparaison sans / avec mini-jeu sur la saison */
.break-compare {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    text-align: left;
}
.break-compare-title { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--text-primary); }
.break-compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bc { padding: 16px 18px; border-radius: var(--radius-md); border: 1px solid var(--border-light); }
.bc-without { background: rgba(239, 68, 68, 0.05); border-color: rgba(239, 68, 68, 0.25); }
.bc-with { background: rgba(99, 102, 241, 0.06); border-color: rgba(99, 102, 241, 0.3); }
.bc-val { font-family: var(--font-heading); font-size: 36px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.bc-without .bc-val { color: #dc2626; }
.bc-with .bc-val { color: #4f46e5; }
.bc-lbl { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--text-primary); }
.bc-ctx { margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--text-secondary); }
.break-compare-src { margin: 12px 0 0; font-size: 12px; color: var(--text-muted); }
@media (max-width: 640px) {
    .break-compare-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Source et légende de la vraie courbe EVA */
.dashboard-source {
    font-size: 13px;
    color: var(--text-secondary);
}

@media (max-width: 640px) {
    .dashboard-header {
        flex-wrap: wrap;
        gap: 4px;
    }
}

.dashboard-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--text-secondary);
}
.dashboard-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.dashboard-legend .lg { display: inline-block; width: 14px; height: 10px; border-radius: 2px; }
.dashboard-legend .lg-viewers { background: rgba(145, 70, 255, 0.35); border: 1.5px solid #9146FF; }
.dashboard-legend .lg-msgs { height: 3px; background: #3b82f6; }
.dashboard-legend .lg-games { background: rgba(99, 102, 241, 0.16); border: 1px solid rgba(99, 102, 241, 0.6); }

/* Extrait vidéo d'un vrai live (remplace l'ancien faux quiz) */
.feature-video {
    margin: 0;
}

.feature-video video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: #0f172a;
}

.feature-video figcaption {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
    text-align: left;
}

@media (max-width: 640px) {
    .live-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 16px;
    }
    .feature-row--stacked .dashboard-preview { padding: 20px; }
    .feature-row--stacked .preview-chart-container { height: 200px; }
}

/* Quiz Simulation Component */
.quiz-simulation-container {
    display: flex;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    height: 380px;
    width: 100%;
}

.simulator-header {
    background: var(--bg-surface-alt);
    padding: 8px 16px;
    font-size: 0.70rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
}

.quiz-preview-pane {
    flex: 2;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-light);
    background: #000;
}

.quiz-visual {
    flex: 1;
    position: relative;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
}

.sq-question {
    color: white;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    text-align: left;
}

.sq-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sq-opt {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    color: white;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.sq-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: var(--accent);
    opacity: 0.4;
    transition: width 0.3s ease;
    z-index: 0;
}

.sq-opt b, .sq-text {
    position: relative;
    z-index: 1;
}

.quiz-chat-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-surface-alt);
    min-width: 200px;
}

.sim-chat-window {
    flex: 1;
    padding: 12px;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.80rem;
    text-align: left;
    position: relative;
}

.sim-chat-window::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(to bottom, var(--bg-surface-alt) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.s-chat-line {
    animation: slideInChat 0.2s ease-out forwards;
}

.s-chat-user {
    font-weight: 700;
}

.s-chat-msg {
    color: var(--text-primary);
}

@keyframes slideInChat {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .quiz-simulation-container {
        flex-direction: column;
        height: auto;
    }
    .quiz-chat-pane {
        height: 200px;
        border-top: 1px solid var(--border-light);
    }
}

/* Ad-Break Simulation Component */
.adbreak-simulation-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    height: 380px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.adbreak-header {
    background: var(--bg-surface-alt);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
}

.adbreak-timer {
    font-size: 0.70rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
}

.ab-split-view {
    flex: 1;
    display: flex;
    position: relative;
    overflow: hidden;
}

.adbreak-state {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0; left: 0;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease;
}

.state-badge {
    position: absolute;
    top: -1px; left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    z-index: 10;
    opacity: 0.9;
}
.state-badge.bad { background: #fee2e2; color: #ef4444; border: 1px solid #f87171; border-top: none; }
.state-badge.good { background: var(--accent); color: white; }

.traditional-state { z-index: 1; }
.nba-state { z-index: 2; }

.ad-video-mock {
    flex: 1;
    background: #e2e8f0; /* Light gray for boring video */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid #cbd5e1;
}

.ad-tag {
    margin-top: 16px;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.game-video-mock {
    flex: 1;
    background: radial-gradient(circle at center, #6366f1 0%, #312e81 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.product-placeholder i {
    font-size: 48px;
    position: relative;
    z-index: 2;
    transition: transform 0.2s;
}

.product-shadow {
    width: 60px;
    height: 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    position: absolute;
    bottom: -15px;
    filter: blur(4px);
    transition: all 0.3s;
}

.product-placeholder.static {
    background: #cbd5e1;
    color: #94a3b8;
    filter: grayscale(100%);
    opacity: 0.6;
}

.product-placeholder.dynamic {
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.5), inset 0 2px 5px rgba(255,255,255,0.5);
    animation: floatProduct 3s ease-in-out infinite;
    cursor: pointer;
}

.product-placeholder.dynamic:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.7), inset 0 2px 5px rgba(255,255,255,0.7);
}

.product-placeholder.dynamic:active i {
    transform: scale(0.9);
}

.product-shadow.pulse {
    background: rgba(0,0,0,0.4);
    animation: shadowPulse 3s ease-in-out infinite;
}

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

@keyframes shadowPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(0.8); opacity: 0.1; }
}

.interactive-area {
    margin-bottom: 24px;
}

.floating-interactions {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.float-item {
    position: absolute;
    color: rgba(255,255,255,0.8);
    font-weight: 800;
    font-size: 0.8rem;
    opacity: 0;
    animation: floatUp 1.5s ease-out infinite;
}
.float-item:nth-child(1) { left: 20%; bottom: 20%; animation-delay: 0s; }
.float-item:nth-child(2) { right: 25%; bottom: 30%; animation-delay: 0.5s; font-size: 1rem; color: #fcd34d; }
.float-item:nth-child(3) { left: 40%; bottom: 10%; animation-delay: 1s; color: #6ee7b7; }

@keyframes floatUp {
    0% { transform: translateY(0) scale(0.8); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translateY(-40px) scale(1.2); opacity: 0; }
}

.game-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
    z-index: 2;
}

.game-btn.active {
    background: white;
    color: var(--accent);
    transform: scale(1.1);
}

.retention-meter {
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.meter-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.meter-info span {
    font-size: 0.70rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.meter-info strong {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.retention-meter.warning { background: #fee2e2; color: #ef4444; }
.retention-meter.success { background: #dcfce7; color: #10b981; }

/* ===================================
   Concept Showcase Section Styling
   =================================== */

.concept-showcase {
    overflow: hidden;
}

@keyframes spin-lights {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

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

@keyframes eye-pan {
    0%, 100% { transform: translateX(0); }
    30% { transform: translateX(-4px); }
    70% { transform: translateX(4px); }
}

@keyframes laugh {
    0%, 20%, 40%, 60%, 80%, 100% { border-bottom-width: 4px; border-radius: 0 0 50% 50%; }
    10%, 30%, 50%, 70%, 90% { border-bottom-width: 8px; border-radius: 0 0 60% 60%; }
}

@keyframes victory-pulse {
    0%, 100% { transform: scale(1); text-shadow: 0 0 30px rgba(251,191,36,0.6); }
    50% { transform: scale(1.05); text-shadow: 0 0 50px rgba(251,191,36,0.9), 0 0 10px rgba(251,191,36,0.5); }
}

@keyframes boss-hit-shake {
    0%, 100% { transform: translate(0, 0) scale(1); filter: brightness(1); }
    20% { transform: translate(-8px, 4px) scale(0.95); filter: brightness(2) saturate(2); }
    40% { transform: translate(8px, -4px) scale(0.95); }
    60% { transform: translate(-6px, -2px) scale(0.98); }
    80% { transform: translate(6px, 2px) scale(0.98); }
}

@keyframes pop-up-dmg {
    0% { opacity: 0; transform: translate(-50%, 0) scale(0.5); }
    15% { opacity: 1; transform: translate(-50%, -30px) scale(1.2); }
    100% { opacity: 0; transform: translate(-50%, -80px) scale(0.8); }
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes floatUp {
    0% { opacity: 0; transform: translateY(0); }
    20% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-50px); }
}

.boss-character-wrapper .boss-hit {
    animation: boss-hit-shake 0.3s ease-out !important;
}

.damage-pop {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    color: #ef4444;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.8), 0 0 2px #000;
    pointer-events: none;
    z-index: 10;
    animation: pop-up-dmg 0.8s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

/* Chat transitions */
.demo-chat-line {
    animation: slide-in-chat 0.25s ease-out forwards;
    line-height: 1.4;
    word-break: break-word;
}

@keyframes slide-in-chat {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.demo-chat-user {
    font-weight: 700;
}

.demo-chat-msg {
    color: #e2e8f0;
}

/* ===================================
   Agencies & RFP Section Styles
   =================================== */
.agency-rfp-section {
    padding: 100px 0;
    background: var(--bg-surface-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.rfp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

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

/* Arguments sponsors : texte posé sur la page, un filet fin au-dessus (même langage que les études de cas). */
.rfp-card {
    border-top: 1px solid var(--border-hover);
    padding-top: 24px;
}

.rfp-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text-primary);
}

.rfp-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    max-width: 46ch;
}

/* Section fondateur : texte + photo à gauche, capture d'un vrai live à droite. */
.founder-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;
}

@media (max-width: 900px) {
    .founder-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
}

.founder-id {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.founder-photo {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.founder-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
}

.founder-role {
    font-size: 14px;
    color: var(--text-secondary);
}

.founder-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.founder-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    text-decoration: none;
}

.founder-link:hover {
    color: var(--accent);
}

.founder-proof figcaption a {
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.founder-proof {
    margin: 0;
}

.founder-proof img,
.founder-proof video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.founder-proof figcaption {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Deck Download Modal */
.deck-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    padding: 20px;
}

.deck-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.deck-modal {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px;
    max-width: 460px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.96);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.deck-modal-backdrop.active .deck-modal {
    transform: translateY(0) scale(1);
}

.deck-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 16px;
    transition: all 0.2s;
}

.deck-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #0f172a;
}

.deck-modal-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.deck-modal h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
    line-height: 1.3;
}

.deck-modal p.modal-subtitle {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
}

.deck-form-group {
    margin-bottom: 14px;
    text-align: left;
}

.deck-form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.deck-form-group input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    background: #f8fafc;
    color: #0f172a;
    font-family: var(--font-body);
    transition: all 0.2s;
}

.deck-form-group input:focus {
    outline: none;
    border-color: var(--accent);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.deck-modal-submit {
    width: 100%;
    padding: 13px 20px;
    border-radius: 12px;
    background: var(--text-primary);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    margin-top: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.deck-modal-submit:hover {
    background: #000000;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.deck-modal-note {
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}



/* ---------- Bloc « le problème des pauses » : tient sur un écran ---------- */
.breaks-block { margin-bottom: 120px; }
.breaks-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px 56px;
    align-items: end;
    margin-bottom: 28px;
}
.breaks-head h2 { font-size: 36px; margin: 8px 0 0; }
.breaks-head p { font-size: 16px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 12px; }
.breaks-head .feature-aside { margin: 0; font-size: 15px !important; }
.breaks-card.dashboard-preview { margin: 0; padding: 24px 28px; }
.breaks-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}
.breaks-card .preview-chart-container { height: 300px; }
.breaks-side { display: flex; flex-direction: column; gap: 18px; border-left: 1px solid var(--border-light); padding-left: 24px; }
.breaks-side .live-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.breaks-side .stat-value { font-size: 24px; }
.breaks-side .break-compare { margin-top: auto; padding-top: 16px; }
.breaks-side .break-compare-title { font-size: 13px; margin-bottom: 10px; }
.breaks-side .break-compare-grid { gap: 10px; }
.breaks-side .bc { padding: 10px 12px; }
.breaks-side .bc-val { font-size: 28px; }
.breaks-side .bc-ctx { font-size: 12px; margin-top: 2px; }
.breaks-side .break-compare-src { font-size: 11px; margin-top: 8px; }
@media (max-width: 1024px) {
    .breaks-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
    .breaks-card-body { grid-template-columns: minmax(0, 1fr); }
    .breaks-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--border-light); padding-top: 20px; }
}
@media (max-width: 640px) {
    .breaks-head h2 { font-size: 28px; }
    .breaks-card.dashboard-preview { padding: 20px; }
    .breaks-card .preview-chart-container { height: 220px; }
}

/* ---------- Ce que la marque y gagne ---------- */
.feature-video img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
/* Capture plus grande que le texte : on doit voir le tchat et le classement */
.brand-row { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
@media (max-width: 768px) { .brand-row { grid-template-columns: minmax(0, 1fr); } }
.brand-compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 8px;
    text-align: left;
}
.brand-col { padding: 16px 18px; border-radius: var(--radius-md); border: 1px solid var(--border-light); }
.brand-col--old { background: var(--bg-surface-alt); }
.brand-col--new { background: rgba(37, 99, 235, 0.05); border-color: rgba(37, 99, 235, 0.25); }
.brand-col-title { font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.brand-col--old .brand-col-title { color: var(--text-secondary); }
.brand-col--new .brand-col-title { color: var(--accent); }
.brand-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.brand-col li { font-size: 14px; line-height: 1.45; color: var(--text-secondary); padding-left: 16px; position: relative; }
.brand-col li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--border-hover); }
.brand-col--new li { color: var(--text-primary); }
.brand-col--new li::before { background: var(--accent); }

.data-band { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border-light); }
.data-band-title { font-size: 24px; margin: 0 0 24px; }
.data-band-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.data-item { border-top: 2px solid var(--text-primary); padding-top: 16px; }
.data-item-title { font-family: var(--font-heading); font-weight: 700; font-size: 16px; margin-bottom: 8px; color: var(--text-primary); }
.data-item p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.data-band-obs { margin: 32px 0 0; font-size: 14px; color: var(--text-secondary); }
.data-band-obs i { color: var(--accent); margin-right: 6px; }
@media (max-width: 768px) {
    .brand-compare, .data-band-grid { grid-template-columns: minmax(0, 1fr); }
    .brand-row .feature-copy, .data-band { text-align: left; }
}

/* Bandeau de prix (accueil) */
.pricing-strip { padding: 56px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.pricing-strip-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr) auto; gap: 32px; align-items: center; }
.pricing-strip-head h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; margin: 10px 0 0; }
.pricing-strip-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pricing-strip-list li { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 1px solid var(--border-light); font-size: 14px; color: var(--text-secondary); }
.pricing-strip-list strong { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--text-primary); white-space: nowrap; }
.pricing-strip-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text-primary); text-decoration: none; white-space: nowrap; }
.pricing-strip-link:hover { color: var(--accent); }
@media (max-width: 1024px) {
    .pricing-strip-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
    .pricing-strip-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
}

/* Menu mobile : bouton + panneau sous la barre */
.nav-toggle { display: none; }
@media (max-width: 768px) {
    .nav-toggle {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 44px; height: 44px; margin-right: -10px; padding: 0 10px;
        background: none; border: 0; cursor: pointer; color: var(--text-primary);
    }
    .nav-toggle span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s, opacity 0.2s; }
    .navbar.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .navbar.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .navbar.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .navbar.nav-open .nav-links {
        display: flex; flex-direction: column; align-items: stretch; gap: 0;
        position: absolute; top: 100%; left: 0; right: 0;
        padding: 8px 16px 16px; background: #fff;
        border-bottom: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
    }
    .navbar.nav-open .nav-links a.nav-item { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--border-light); }
    .navbar.nav-open .nav-links a.nav-item.active::after { display: none; }
    .navbar.nav-open .nav-links button { align-self: flex-start; padding: 14px 4px 4px; font-size: 15px; }
    .navbar.nav-open .nav-links .lang-switch { align-self: flex-start; gap: 16px; padding: 14px 4px 4px; }
    .navbar.nav-open .lang-switch a { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .nav-toggle span { transition: none; }
}
