/**
 * LAMTEC School — page vitrine publique.
 *
 * Design repris du modèle « premium » fourni par le client
 * (academia-landing-premium.html) : fond nuit profond, halos radiaux,
 * verre dépoli, dégradés bleu/violet/cyan.
 *
 * Trois adaptations par rapport au modèle brut :
 *  1. Toutes les classes sont préfixées `vit-` — le modèle utilisait des noms
 *     génériques (.card, .btn, .row, .section, .container) qui entreraient en
 *     collision avec app.css, chargé sur la même page.
 *  2. Le thème passe par `data-theme` sur <html> (convention du projet,
 *     persistée en localStorage et partagée avec l'application) et non par
 *     une classe `body.light`.
 *  3. Le reset est limité à `.corps-vitrine` pour ne pas réinitialiser le
 *     reste de l'application.
 *
 * Aucun CDN : pile de polices système, icônes en texte/SVG inline.
 */

/* =========================================================================
   Jetons de couleur — thème sombre par défaut (le modèle est nocturne)
   ========================================================================= */
.corps-vitrine {
    --vit-fond: #050816;
    --vit-carte: rgba(255, 255, 255, 0.065);
    --vit-ligne: rgba(255, 255, 255, 0.11);
    --vit-texte: #f8fafc;
    --vit-attenue: #9aa7bd;
    --vit-discret: #76849b;

    --vit-bleu: #5b7cff;
    --vit-cyan: #38d5ff;
    --vit-violet: #9b6cff;
    --vit-vert: #45e0a5;

    --vit-ombre: 0 30px 90px rgba(0, 0, 0, 0.45);
    --vit-surface-douce: rgba(255, 255, 255, 0.035);
    --vit-fond-mockup: #0b1127;
}

/* Variante claire — mêmes composants, palette inversée. */
:root[data-theme="clair"] .corps-vitrine {
    --vit-fond: #f7f9ff;
    --vit-carte: rgba(255, 255, 255, 0.82);
    --vit-ligne: rgba(15, 23, 42, 0.10);
    --vit-texte: #0d1426;
    --vit-attenue: #617089;
    --vit-discret: #6b7a92;

    --vit-ombre: 0 30px 90px rgba(15, 23, 42, 0.12);
    --vit-surface-douce: rgba(15, 23, 42, 0.025);
    --vit-fond-mockup: #ffffff;
}

/* =========================================================================
   Base
   ========================================================================= */
.corps-vitrine {
    background: var(--vit-fond);
    color: var(--vit-texte);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    overflow-x: hidden;
    margin: 0;
}
.corps-vitrine *,
.corps-vitrine *::before,
.corps-vitrine *::after { box-sizing: border-box; }
.corps-vitrine a { text-decoration: none; color: inherit; }
.corps-vitrine h1, .corps-vitrine h2, .corps-vitrine h3, .corps-vitrine p { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
    html:has(.corps-vitrine) { scroll-behavior: smooth; }
}

/* Halos d'ambiance en fond de page (fixes, non interactifs). */
.corps-vitrine::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 15%, rgba(91, 124, 255, 0.15), transparent 28%),
        radial-gradient(circle at 85% 20%, rgba(155, 108, 255, 0.12), transparent 25%),
        radial-gradient(circle at 50% 90%, rgba(56, 213, 255, 0.07), transparent 30%);
}
:root[data-theme="clair"] .corps-vitrine::before {
    background:
        radial-gradient(circle at 15% 15%, rgba(91, 124, 255, 0.10), transparent 28%),
        radial-gradient(circle at 85% 20%, rgba(155, 108, 255, 0.08), transparent 25%),
        radial-gradient(circle at 50% 90%, rgba(56, 213, 255, 0.06), transparent 30%);
}

.vit-conteneur { width: min(1180px, 92%); margin: auto; }

/* Barre de progression de lecture + halo qui suit le curseur. */
.vit-progression { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 200; background: transparent; }
.vit-progression span {
    display: block; height: 100%; width: 0;
    background: linear-gradient(90deg, var(--vit-bleu), var(--vit-cyan), var(--vit-violet));
    box-shadow: 0 0 15px rgba(56, 213, 255, 0.6);
}
.vit-halo-curseur {
    position: fixed; width: 260px; height: 260px; border-radius: 50%;
    pointer-events: none; z-index: 0;
    background: radial-gradient(circle, rgba(91, 124, 255, 0.10), transparent 65%);
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
}
:root[data-theme="clair"] .vit-halo-curseur { display: none; }

/* =========================================================================
   Boutons
   ========================================================================= */
.vit-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 17px; border-radius: 11px;
    border: 1px solid var(--vit-ligne);
    background: transparent; color: var(--vit-texte);
    font-size: 13px; font-weight: 750; font-family: inherit;
    transition: transform 0.3s, border-color 0.3s, background-color 0.3s;
    cursor: pointer;
}
.vit-btn:hover { transform: translateY(-2px); }
.vit-btn--primaire {
    border-color: transparent;
    background: linear-gradient(135deg, #6381ff, #8665e9);
    color: #fff;
    box-shadow: 0 10px 35px rgba(91, 124, 255, 0.3);
}
.vit-btn--theme {
    width: 40px; height: 40px; padding: 0; border-radius: 11px;
    background: transparent; color: var(--vit-texte); font-size: 16px;
}
.vit-btn--theme .vit-soleil { display: none; }
:root[data-theme="clair"] .vit-btn--theme .vit-lune { display: none; }
:root[data-theme="clair"] .vit-btn--theme .vit-soleil { display: inline; }

/* =========================================================================
   Barre de navigation flottante
   ========================================================================= */
.vit-nav {
    position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
    width: min(1140px, 92%);
    border: 1px solid var(--vit-ligne);
    background: rgba(7, 11, 28, 0.72);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-radius: 18px; z-index: 100;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}
:root[data-theme="clair"] .vit-nav { background: rgba(255, 255, 255, 0.78); }

.vit-nav__inner { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px 0 18px; }
.vit-logo { display: flex; align-items: center; gap: 10px; font-weight: 850; letter-spacing: -0.4px; }
.vit-logo__marque {
    width: 35px; height: 35px; border-radius: 11px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--vit-bleu), var(--vit-violet));
    box-shadow: 0 0 30px rgba(91, 124, 255, 0.5);
    color: #fff; font-weight: 900;
}
.vit-nav__liens { display: flex; gap: 28px; color: var(--vit-attenue); font-size: 13px; }
.vit-nav__liens a { transition: color 0.25s; }
.vit-nav__liens a:hover { color: var(--vit-texte); }
.vit-nav__actions { display: flex; gap: 7px; align-items: center; }
.vit-nav__burger { display: none; }

/* Menu mobile déroulant */
.vit-nav__mobile {
    display: none; flex-direction: column; gap: 2px;
    padding: 6px 14px 14px;
    border-top: 1px solid var(--vit-ligne);
}
.vit-nav__mobile a { padding: 11px 4px; font-size: 14px; color: var(--vit-attenue); }
.vit-nav.is-ouvert .vit-nav__mobile { display: flex; }

/* =========================================================================
   Héros
   ========================================================================= */
.vit-hero { min-height: 100vh; padding: 170px 0 100px; position: relative; }
.vit-hero__grille { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 55px; align-items: center; }

.vit-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid rgba(91, 124, 255, 0.25);
    background: rgba(91, 124, 255, 0.08);
    padding: 7px 11px; border-radius: 999px;
    color: #9fb0ff; font-size: 11px; font-weight: 800;
}
:root[data-theme="clair"] .vit-eyebrow { color: #4a63d8; }
.vit-pulse {
    width: 7px; height: 7px; border-radius: 50%; background: #5dffbf;
    box-shadow: 0 0 0 0 rgba(93, 255, 191, 0.5);
    animation: vit-pulse 2s infinite;
}
@keyframes vit-pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.vit-hero h1 { font-size: clamp(44px, 5.6vw, 74px); line-height: 0.98; letter-spacing: -4px; margin: 23px 0; font-weight: 850; }
.vit-degrade {
    background: linear-gradient(100deg, #fff 15%, #9db0ff 50%, #5de4ff);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
:root[data-theme="clair"] .vit-degrade {
    background: linear-gradient(100deg, #1e2a5a 10%, #4a63d8 50%, #1f9fd0);
    -webkit-background-clip: text; background-clip: text;
}
.vit-hero__copie { font-size: 17px; line-height: 1.7; color: var(--vit-attenue); max-width: 600px; }
.vit-hero__actions { display: flex; gap: 11px; margin-top: 30px; flex-wrap: wrap; }
.vit-hero__confiance { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 22px; color: var(--vit-discret); font-size: 11px; }
.vit-hero__confiance span::before { content: "✓"; color: #5dffbf; margin-right: 6px; }

/* Maquette de tableau de bord — décor CSS, pas une capture d'écran. */
.vit-hero__visuel { position: relative; perspective: 1400px; }
.vit-lueur {
    position: absolute; inset: 8% 4%;
    background: radial-gradient(circle, rgba(91, 124, 255, 0.28), transparent 62%);
    filter: blur(28px); z-index: -1;
}
.vit-maquette {
    border: 1px solid var(--vit-ligne); border-radius: 25px;
    background: rgba(10, 15, 35, 0.84);
    box-shadow: 0 40px 110px rgba(0, 0, 0, 0.55), 0 0 80px rgba(91, 124, 255, 0.13);
    overflow: hidden;
    transform: rotateY(-7deg) rotateX(3deg);
    animation: vit-flotte 6s ease-in-out infinite;
}
:root[data-theme="clair"] .vit-maquette { background: rgba(255, 255, 255, 0.92); box-shadow: var(--vit-ombre); }
@keyframes vit-flotte { 50% { transform: rotateY(-4deg) rotateX(1deg) translateY(-9px); } }

.vit-maq__barre { height: 46px; border-bottom: 1px solid var(--vit-ligne); display: flex; align-items: center; padding: 0 15px; gap: 6px; }
.vit-maq__point { width: 7px; height: 7px; border-radius: 50%; background: #64748b; }
.vit-maq__corps { display: grid; grid-template-columns: 155px 1fr; min-height: 455px; }
.vit-maq__aside { background: var(--vit-surface-douce); border-right: 1px solid var(--vit-ligne); padding: 17px 11px; }
.vit-maq__marque { font-weight: 800; font-size: 12px; margin: 0 6px 22px; }
.vit-maq__item { font-size: 10px; color: var(--vit-discret); padding: 9px; border-radius: 8px; margin: 4px 0; }
.vit-maq__item.is-actif { background: rgba(91, 124, 255, 0.16); color: #b7c4ff; }
:root[data-theme="clair"] .vit-maq__item.is-actif { color: #3b52c4; }
.vit-maq__main { padding: 21px; }
.vit-maq__titre { font-size: 17px; font-weight: 800; }
.vit-maq__sous { font-size: 10px; color: var(--vit-discret); margin-top: 2px; }

.vit-metriques { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 17px 0; }
.vit-metrique { border: 1px solid var(--vit-ligne); background: var(--vit-surface-douce); border-radius: 12px; padding: 12px; }
.vit-metrique b { font-size: 19px; }
.vit-metrique span { display: block; font-size: 8px; color: var(--vit-discret); margin-top: 2px; }

.vit-graphe { border: 1px solid var(--vit-ligne); border-radius: 14px; padding: 13px; background: var(--vit-surface-douce); }
.vit-graphe__tete { display: flex; justify-content: space-between; font-size: 10px; font-weight: 800; margin-bottom: 12px; }
.vit-graphe__zone { height: 150px; position: relative; overflow: hidden; }
.vit-graphe__zone svg { width: 100%; height: 100%; }
.vit-ligne-h { position: absolute; left: 0; right: 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
:root[data-theme="clair"] .vit-ligne-h { border-top-color: rgba(15, 23, 42, 0.07); }
.vit-h1 { top: 15%; } .vit-h2 { top: 45%; } .vit-h3 { top: 75%; }
.vit-courbe { fill: none; stroke: url(#vitDegrade); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(91, 124, 255, 0.55)); }

.vit-carte-flottante {
    position: absolute; background: rgba(9, 14, 33, 0.9);
    border: 1px solid var(--vit-ligne);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-radius: 15px; padding: 13px 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    animation: vit-flotte2 5s ease-in-out infinite;
    z-index: 2;
}
:root[data-theme="clair"] .vit-carte-flottante { background: rgba(255, 255, 255, 0.92); }
.vit-cf1 { right: -22px; top: 16%; }
.vit-cf2 { left: -25px; bottom: 15%; animation-delay: 1.2s; }
@keyframes vit-flotte2 { 50% { transform: translateY(-10px); } }
.vit-cf__label { font-size: 9px; color: var(--vit-discret); }
.vit-cf__valeur { font-size: 20px; font-weight: 850; margin-top: 3px; }
.vit-cf__note { color: var(--vit-vert); font-size: 9px; }

/* =========================================================================
   Sections génériques
   ========================================================================= */
.vit-section { padding: 115px 0; }
.vit-section__tete { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.vit-section__tete h2 { font-size: clamp(32px, 4vw, 50px); letter-spacing: -2.4px; line-height: 1.05; margin-top: 13px; font-weight: 850; }
.vit-section__tete p { color: var(--vit-attenue); margin-top: 16px; font-size: 16px; line-height: 1.65; }
.vit-kicker { color: #8ea2ff; text-transform: uppercase; font-size: 10px; font-weight: 900; letter-spacing: 1.6px; }
:root[data-theme="clair"] .vit-kicker { color: #4a63d8; }

/* Bandeau défilant */
.vit-marquee { border-top: 1px solid var(--vit-ligne); border-bottom: 1px solid var(--vit-ligne); padding: 18px 0; overflow: hidden; white-space: nowrap; }
.vit-marquee__piste {
    display: inline-flex; gap: 45px;
    animation: vit-defile 26s linear infinite;
    color: var(--vit-discret); font-size: 12px; font-weight: 800; letter-spacing: 1.2px;
}
@keyframes vit-defile { to { transform: translateX(-50%); } }
.vit-marquee__piste span::before { content: "✦"; color: #667dff; margin-right: 14px; }

/* Grille bento */
.vit-bento { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 14px; }
.vit-carte {
    border: 1px solid var(--vit-ligne);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
    border-radius: 22px; padding: 27px; position: relative; overflow: hidden;
    transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
:root[data-theme="clair"] .vit-carte { background: rgba(255, 255, 255, 0.85); }
.vit-carte:hover { transform: translateY(-5px); border-color: rgba(111, 136, 255, 0.35); box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2); }
.vit-carte--large { grid-row: span 2; min-height: 420px; }
.vit-carte h3 { font-size: 18px; margin: 13px 0 6px; }
.vit-carte p { color: var(--vit-attenue); font-size: 13px; line-height: 1.6; }
.vit-carte__tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vit-icone {
    width: 43px; height: 43px; border-radius: 13px;
    display: grid; place-items: center;
    background: rgba(91, 124, 255, 0.13); color: #a5b5ff; font-weight: 900;
    flex: none;
}
:root[data-theme="clair"] .vit-icone { color: #4a63d8; }

.vit-mini-dash {
    position: absolute; left: 27px; right: 27px; bottom: 25px; height: 200px;
    border: 1px solid var(--vit-ligne); border-radius: 15px;
    background: var(--vit-fond-mockup); padding: 13px;
}
.vit-mini-barres { display: flex; align-items: end; gap: 8px; height: 145px; margin-top: 8px; }
.vit-mini-barres i { flex: 1; border-radius: 5px 5px 1px 1px; background: linear-gradient(#7b8fff, #4e68e9); }
.vit-mini-barres i:nth-child(1) { height: 40%; }
.vit-mini-barres i:nth-child(2) { height: 58%; }
.vit-mini-barres i:nth-child(3) { height: 48%; }
.vit-mini-barres i:nth-child(4) { height: 74%; }
.vit-mini-barres i:nth-child(5) { height: 67%; }
.vit-mini-barres i:nth-child(6) { height: 88%; }

/* Badge d'état d'un module (Disponible / Bientôt), alimenté par config/modules */
.vit-etat {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 9px; font-weight: 850; letter-spacing: 0.6px; text-transform: uppercase;
    padding: 4px 8px; border-radius: 999px; flex: none;
}
.vit-etat--dispo { color: #61e5ad; background: rgba(69, 224, 165, 0.10); }
.vit-etat--bientot { color: #d3a75f; background: rgba(211, 167, 95, 0.13); }

/* Deux colonnes texte / visuel */
.vit-split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.vit-split h2 { font-size: clamp(32px, 3.8vw, 52px); letter-spacing: -2.6px; margin-top: 12px; line-height: 1.05; font-weight: 850; }
.vit-split__intro { color: var(--vit-attenue); margin-top: 16px; font-size: 15px; line-height: 1.7; }
.vit-liste-atouts { display: grid; gap: 17px; margin-top: 28px; }
.vit-atout { display: flex; gap: 13px; }
.vit-check {
    width: 28px; height: 28px; border-radius: 9px;
    background: rgba(69, 224, 165, 0.1); color: #62e7b0;
    display: grid; place-items: center; flex: none; font-weight: 800;
}
.vit-atout h3 { font-size: 15px; }
.vit-atout p { color: var(--vit-attenue); font-size: 12.5px; margin-top: 3px; line-height: 1.55; }

.vit-appareil { border: 1px solid var(--vit-ligne); border-radius: 24px; padding: 15px; background: var(--vit-surface-douce); box-shadow: var(--vit-ombre); }
.vit-appareil__ecran { background: var(--vit-fond-mockup); border: 1px solid var(--vit-ligne); border-radius: 17px; padding: 18px; }
.vit-appareil__tete { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; gap: 10px; }
.vit-lignes { display: grid; gap: 7px; margin-top: 15px; }
.vit-ligne-item {
    min-height: 42px; border: 1px solid var(--vit-ligne); border-radius: 9px;
    background: var(--vit-surface-douce);
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 11px; font-size: 10.5px; color: var(--vit-attenue); gap: 10px;
}
.vit-badge-vert { color: #61e5ad; background: rgba(69, 224, 165, 0.09); padding: 4px 7px; border-radius: 999px; white-space: nowrap; }

/* Publics */
.vit-publics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.vit-public { text-align: center; padding: 25px 18px; border: 1px solid var(--vit-ligne); border-radius: 18px; background: var(--vit-surface-douce); }
.vit-public .vit-icone { margin: auto; }
.vit-public h3 { font-size: 14px; margin: 13px 0 5px; }
.vit-public p { color: var(--vit-attenue); font-size: 11.5px; line-height: 1.55; }

/* Appel à l'action */
.vit-cta { padding: 110px 0; }
.vit-cta__boite {
    position: relative; overflow: hidden; text-align: center;
    border: 1px solid rgba(116, 137, 255, 0.25); border-radius: 30px; padding: 80px 25px;
    background: radial-gradient(circle at 50% 120%, rgba(91, 124, 255, 0.28), transparent 55%),
                linear-gradient(145deg, #0d1530, #080d20);
}
:root[data-theme="clair"] .vit-cta__boite {
    background: radial-gradient(circle at 50% 120%, rgba(91, 124, 255, 0.25), transparent 55%),
                linear-gradient(145deg, #eef2ff, #fff);
}
.vit-cta__boite h2 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -2.8px; line-height: 1.05; max-width: 800px; margin: 12px auto; font-weight: 850; }
.vit-cta__boite p { color: var(--vit-attenue); max-width: 620px; margin: 17px auto 27px; line-height: 1.7; }

/* FAQ — <details> natif, accessible sans JS */
.vit-faq { max-width: 820px; margin: auto; }
.vit-faq__item { border-bottom: 1px solid var(--vit-ligne); }
.vit-faq__q {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    font-size: 14.5px; font-weight: 800; padding: 20px 0; cursor: pointer; list-style: none;
}
.vit-faq__q::-webkit-details-marker { display: none; }
.vit-faq__q::after { content: "+"; color: #8ea2ff; font-size: 20px; font-weight: 700; flex: none; transition: transform 0.25s; }
.vit-faq__item[open] .vit-faq__q::after { transform: rotate(45deg); }
.vit-faq__a { color: var(--vit-attenue); font-size: 13px; line-height: 1.75; padding-bottom: 22px; }

/* Pied de page */
.vit-pied { padding: 55px 0 25px; border-top: 1px solid var(--vit-ligne); color: var(--vit-discret); }
.vit-pied__grille { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.vit-pied__grille strong { color: var(--vit-texte); }
.vit-pied__liens { display: flex; gap: 25px; font-size: 11.5px; flex-wrap: wrap; }
.vit-pied__copie { font-size: 10.5px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--vit-ligne); }

/* =========================================================================
   Animations d'apparition
   ========================================================================= */
.vit-reveal { opacity: 0; transform: translateY(24px); animation: vit-apparait 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.vit-delai1 { animation-delay: 0.12s; }
.vit-delai2 { animation-delay: 0.24s; }
.vit-delai3 { animation-delay: 0.36s; }
@keyframes vit-apparait { to { opacity: 1; transform: none; } }

.vit-scroll-reveal {
    opacity: 0; transform: translateY(55px) scale(0.985);
    transition: opacity 0.85s cubic-bezier(0.2, 0.75, 0.2, 1), transform 0.85s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.vit-scroll-reveal.vit-zoom { transform: scale(0.92); }
.vit-scroll-reveal.is-visible { opacity: 1; transform: none; }

.vit-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1); }
.vit-stagger.is-visible > * { opacity: 1; transform: none; }
.vit-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.vit-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.vit-stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.vit-stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.vit-stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 900px) {
    .vit-nav__liens { display: none; }
    .vit-nav__burger { display: inline-flex; }
    .vit-hero__grille, .vit-split { grid-template-columns: 1fr; }
    .vit-hero { padding-top: 135px; }
    .vit-hero__visuel { max-width: 720px; margin: auto; }
    .vit-bento { grid-template-columns: 1fr 1fr; }
    .vit-carte--large { grid-row: auto; grid-column: 1 / -1; }
    .vit-publics { grid-template-columns: repeat(2, 1fr); }
    .vit-split { gap: 45px; }
}

@media (max-width: 600px) {
    .vit-nav { top: 8px; }
    .vit-nav__inner { height: 60px; padding-left: 12px; }
    .vit-nav .vit-btn { padding: 9px 12px; }
    .vit-nav__connexion { display: none; }
    .vit-hero h1 { letter-spacing: -2.5px; }
    .vit-hero__copie { font-size: 15px; }
    .vit-maquette { transform: none; }
    .vit-maq__corps { grid-template-columns: 92px 1fr; }
    .vit-maq__aside { padding: 13px 7px; }
    .vit-maq__item { font-size: 8px; }
    .vit-maq__main { padding: 13px; }
    .vit-metriques { gap: 5px; }
    .vit-metrique { padding: 8px; }
    .vit-metrique b { font-size: 15px; }
    .vit-graphe__zone { height: 125px; }
    .vit-carte-flottante { display: none; }
    .vit-section { padding: 78px 0; }
    .vit-bento { grid-template-columns: 1fr; }
    .vit-carte--large { min-height: 350px; }
    .vit-publics { grid-template-columns: 1fr 1fr; }
    .vit-cta { padding: 75px 0; }
    .vit-cta__boite { padding: 55px 20px; }
    .vit-pied__grille { flex-direction: column; }
}

/* Respecte le réglage système « réduire les animations ». */
@media (prefers-reduced-motion: reduce) {
    .corps-vitrine *,
    .corps-vitrine *::before,
    .corps-vitrine *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .vit-scroll-reveal, .vit-reveal { opacity: 1; transform: none; }
    .vit-stagger > * { opacity: 1; transform: none; }
}
