/* Feuille de la page vitrine (/vitrine/), sortie du <style> inline le 23-09-2026 : la CSP n'autorise
   plus les styles inline (_headers). Contenu repris tel quel. */
    @font-face { font-family: 'Orbitron'; font-weight: 700; font-display: swap; src: url('../css/orbitron-700.woff2') format('woff2'); }
    @font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('../css/inter-400.woff2') format('woff2'); }
    @font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('../css/inter-500.woff2') format('woff2'); }
    @font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('../css/inter-600.woff2') format('woff2'); }

    :root {
        --bg-primary: #0a0a0f;
        --bg-secondary: #12121a;
        --bg-card: #1a1a26;
        --border: rgba(255, 255, 255, 0.08);
        --text-primary: #d0d0dd;
        --text-secondary: #8888aa;
        --text-muted: #7a7a8e;
        --accent: #7B5FE7;
        --accent-hover: #8E75EF;
        --accent-rgb: 123, 95, 231;
        --accent-bg-strong: rgba(123, 95, 231, 0.15);
        --accent-glow-strong: rgba(123, 95, 231, 0.6);
        --accent-border-strong: rgba(123, 95, 231, 0.3);
        --bg-input: rgba(0, 0, 0, 0.3);
        --teal: #38b8a8; /* sarcelle Astralis (= --pinned de l'app) */
        --ha: #e05050;
        --oiii: #50b0e0;
        --sii: #e6932c;
        /* radius Astralis : 3px partout, 20px pour les grands conteneurs, pill pour les boutons */
        --radius: 3px;
        --radius-lg: 20px;
        --radius-full: 9999px;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }
    a { color: inherit; text-decoration: none; }
    .wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
    body::before {
        content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
        background:
            radial-gradient(900px 520px at 78% -8%, rgba(var(--accent-rgb), 0.18), transparent 60%),
            radial-gradient(720px 520px at 8% 6%, rgba(56, 184, 168, 0.08), transparent 55%);
    }
    main { position: relative; z-index: 1; }

    /* Topbar — réplique de la topbar Astralis (#topbar). */
    header { position: sticky; top: 0; z-index: 30; height: 56px; background: var(--bg-secondary); border-bottom: 1px solid var(--border); display: flex; align-items: center; }
    .nav { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
    .nav-brand { display: flex; align-items: flex-end; gap: 3px; font-size: 1.4rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
    .brand-name { font-family: 'Orbitron', sans-serif; color: var(--accent); text-shadow: 0 0 8px var(--accent-glow-strong), 0 0 16px var(--accent-border-strong); }
    .beta-badge { align-self: center; font-family: 'Inter', sans-serif; font-size: 0.5rem; font-weight: 700; letter-spacing: 0.12em; color: var(--text-secondary); background: rgba(136,136,170,0.10); border: 1px solid rgba(136,136,170,0.30); padding: 1px 4px; border-radius: var(--radius); margin-left: 6px; line-height: 1.2; text-transform: uppercase; }
    .nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
    .nav-links a { color: var(--text-secondary); padding: 8px; border-radius: var(--radius); display: flex; align-items: center; transition: color .2s, background .2s; }
    .nav-links a:hover { color: var(--text-primary); background: var(--bg-card); }
    .nav-links a.active { color: var(--accent); background: var(--accent-bg-strong); }
    .nav-links svg { width: 20px; height: 20px; }
    .nav-divider { width: 1px; height: 24px; background: linear-gradient(180deg, transparent, var(--accent), transparent); opacity: 0.3; margin: 0 10px; }
    .nav-date { display: flex; align-items: center; gap: 6px; margin-right: 8px; }
    .nav-date-label { font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em; color: var(--accent); white-space: nowrap; }
    .nav-icon-btn { background: none; border: none; cursor: pointer; color: var(--text-secondary); display: flex; align-items: center; padding: 4px; transition: color .2s; }
    .nav-icon-btn svg { width: 20px; height: 20px; }
    .nav-icon-btn:hover { color: var(--accent); }
    /* Bouton « Ouvrir l'app » dans la topbar : compact et discret. */
    header .btn { padding: 6px 14px; font-size: 13px; font-weight: 600; }
    @media (max-width: 760px) { .nav-links, .nav-divider, .nav-date { display: none; } }
    /* Boutons : style .btn-primary de l'app — radius 3px, accent plein, pas de dégradé/pill/glow. */
    .btn { display: inline-block; font-weight: 600; font-size: 15px; padding: 11px 22px; border: none; border-radius: var(--radius); background: var(--accent); color: #fff; transition: background .2s; }
    .btn:hover { background: var(--accent-hover); }
    .btn-ghost { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-primary); }
    .btn-ghost:hover { background: var(--bg-input); }

    /* HERO + décor étoilé (sky-bg.svg, repris du splash Astralis) */
    .hero { position: relative; text-align: center; padding: 84px 0 36px; }
    .hero-sky { position: absolute; inset: -30px 0 -70px; overflow: hidden; pointer-events: none; z-index: 0; }
    .hero-sky img { position: absolute; top: 44%; left: 50%; transform: translate(-50%, -50%); width: 900px; max-width: 155%; opacity: 0.5;
        -webkit-mask-image: radial-gradient(circle at center, #000 32%, transparent 70%); mask-image: radial-gradient(circle at center, #000 32%, transparent 70%); }
    .hero .wrap { position: relative; z-index: 1; }
    .hero h1 { font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: clamp(32px, 6vw, 58px); line-height: 1.12; letter-spacing: 1px; }
    .hero h1 .grad { color: var(--accent); text-shadow: 0 0 16px rgba(var(--accent-rgb), 0.45); }
    .hero p.lead { color: var(--text-secondary); font-size: clamp(16px, 2.1vw, 20px); max-width: 660px; margin: 22px auto 30px; }
    .hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
    .chips { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
    .chip { font-size: 13px; color: var(--text-secondary); border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 13px; background: var(--bg-card); }
    .hero-shot { margin: 48px auto 0; max-width: 980px; }
    .hero-shot img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: 0 30px 80px rgba(0,0,0,0.6); display: block; }

    section.feature { padding: 64px 0; }
    .feature .row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
    .feature .row.reverse .txt { order: 2; } .feature .row.reverse .shot { order: 1; }
    .eyebrow { color: var(--teal); font-weight: 600; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
    .feature h2 { font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: clamp(22px, 3.2vw, 31px); margin: 12px 0 15px; line-height: 1.2; }
    .feature p { color: var(--text-secondary); font-size: 16.5px; line-height: 1.62; }
    .feature .txt p + p, .section-head p + p { margin-top: 15px; }
    .feature .shot img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 20px 50px rgba(0,0,0,0.5); display: block; }
    .hint { margin-top: 12px; font-size: 13px; color: var(--text-muted); }
    .hint::before { content: '⤢ '; color: var(--teal); }
    /* Pile de cards de reco (exemples de cibles). */
    .card-stack { display: flex; flex-direction: column; gap: 12px; }
    .card-stack img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 10px 26px rgba(0,0,0,0.45); display: block; }

    /* Badges narrowband — style Astralis (Orbitron, radius app, bordure colorée) */
    .nb-chips { display: flex; gap: 7px; margin-top: 16px; flex-wrap: wrap; }
    .nb { font-family: 'Orbitron', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; padding: 3px 9px; border-radius: var(--radius); border: 1px solid; }
    .nb.ha   { color: var(--ha);   border-color: rgba(224, 80, 80, 0.45);  background: rgba(224, 80, 80, 0.12); }
    .nb.oiii { color: var(--oiii); border-color: rgba(80, 176, 224, 0.45); background: rgba(80, 176, 224, 0.12); }
    .nb.sii  { color: var(--sii);  border-color: rgba(230, 147, 44, 0.45); background: rgba(230, 147, 44, 0.12); }
    .nb.lrgb { color: var(--teal); border-color: rgba(56, 184, 168, 0.45); background: rgba(56, 184, 168, 0.12); }

    .section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
    .section-head h2 { font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: clamp(24px, 4vw, 36px); }
    .section-head p { color: var(--text-secondary); margin-top: 12px; }

    .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
    .grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .25s, border-color .25s; }
    .card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), 0.4); }
    .card img { width: 100%; display: block; border-bottom: 1px solid var(--border); }
    .card .body { padding: 18px 20px 22px; }
    .card .body h3 { font-size: 17px; margin-bottom: 7px; }
    .card .body p { color: var(--text-secondary); font-size: 14.5px; }

    .themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .themes figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg-secondary); }
    .themes img { width: 100%; display: block; }
    .themes figcaption { text-align: center; font-size: 13px; color: var(--text-secondary); padding: 9px 4px; text-transform: capitalize; }

    .phones { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
    .phone { width: 215px; border-radius: 26px; padding: 9px; background: #1c1c28; border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(0,0,0,0.55); }
    .phone::before { content: ''; display: block; width: 52px; height: 5px; border-radius: var(--radius-full); background: #33334a; margin: 4px auto 8px; }
    /* Écran à hauteur fixe : on scrolle le screenshot pleine page comme sur un vrai mobile. */
    .phone-screen { height: 430px; overflow-y: auto; overflow-x: hidden; border-radius: 18px; background: #05060a; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.22) transparent; }
    .phone-screen::-webkit-scrollbar { width: 5px; }
    .phone-screen::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 3px; }
    .phone-screen img { width: 100%; display: block; }
    .phone .cap { text-align: center; font-size: 12.5px; color: var(--text-secondary); padding: 11px 6px 5px; }
    .phone .cap::after { content: ' · défile ↕'; color: var(--accent, #8b7cff); font-size: 11px; opacity: .8; }

    /* Carrousel des cards Paramètres dépliées (défile horizontalement, clic = plein écran). */
    .settings-carousel { display: flex; gap: 18px; overflow-x: auto; align-items: flex-start; scroll-snap-type: x mandatory; padding: 6px 2px 22px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.22) transparent; }
    .settings-carousel::-webkit-scrollbar { height: 7px; }
    .settings-carousel::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 4px; }
    .settings-carousel figure { flex: 0 0 340px; width: 340px; scroll-snap-align: center; margin: 0; }
    .settings-carousel .sc-frame { position: relative; height: 440px; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 12px 30px rgba(0,0,0,0.45); cursor: zoom-in; }
    .settings-carousel .sc-frame img { width: 100%; display: block; }
    .settings-carousel .sc-frame::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(transparent, var(--bg-primary)); pointer-events: none; }
    .settings-carousel figcaption { text-align: center; font-size: 13px; color: var(--text-secondary); padding: 11px 4px 0; }
    /* Carrousel paysage (accès au ciel) : slide horizontal, images non rognées. */
    .acces-carousel { display: flex; gap: 18px; overflow-x: auto; align-items: flex-start; scroll-snap-type: x mandatory; padding: 6px 2px 22px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.22) transparent; }
    .acces-carousel::-webkit-scrollbar { height: 7px; }
    .acces-carousel::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 4px; }
    .acces-carousel figure { flex: 0 0 clamp(320px, 72vw, 560px); scroll-snap-align: center; margin: 0; }
    .acces-carousel .ac-frame { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 12px 30px rgba(0,0,0,0.45); overflow: hidden; cursor: zoom-in; background: var(--bg-secondary); }
    .acces-carousel .ac-frame img { width: 100%; display: block; }
    .acces-carousel figcaption { text-align: center; font-size: 13px; color: var(--text-secondary); padding: 11px 4px 0; }

    /* Aperçu cappé d'une page complète (ex. matériel démo) — clic = plein écran. */
    .capped-shot { position: relative; max-width: 900px; margin: 0 auto 28px; max-height: 560px; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 18px 44px rgba(0,0,0,0.5); cursor: zoom-in; }
    .capped-shot img { width: 100%; display: block; }
    .capped-shot::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, var(--bg-primary)); pointer-events: none; }
    .capped-shot .hint { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-size: 12.5px; color: var(--accent, #8b7cff); pointer-events: none; }
    .mobile-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 30px; max-width: 760px; margin: 40px auto 0; }
    .mfeat { display: flex; gap: 12px; align-items: flex-start; }
    .mfeat .ic { color: var(--teal); font-size: 18px; flex-shrink: 0; }
    .mfeat b { font-weight: 600; } .mfeat span { color: var(--text-secondary); font-size: 14.5px; }

    footer { border-top: 1px solid var(--border); margin-top: 50px; padding: 54px 0; text-align: center; color: var(--text-secondary); }
    footer .brand { -webkit-text-fill-color: initial; }
    footer .cta { margin: 22px 0; } footer .small { font-size: 13px; margin-top: 12px; color: var(--text-muted); }

    /* Lightbox : captures cliquables → ouverture en grand (data-full = pleine page). */
    .zoom { cursor: zoom-in; }
    .lb-overlay { position: fixed; inset: 0; z-index: 100; display: none; background: rgba(5, 5, 10, 0.93); backdrop-filter: blur(6px); }
    .lb-overlay.open { display: block; }
    .lb-scroll { position: absolute; inset: 0; overflow: auto; padding: 40px 18px; display: flex; align-items: flex-start; justify-content: center; }
    /* Ratio respecté, largeur cappée, JAMAIS agrandie au-delà du natif. Les pages
       hautes gardent leur taille et se PARCOURENT au scroll (comme les autres). */
    .lb-img { width: auto; height: auto; max-width: min(1100px, 94vw); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 30px 80px rgba(0,0,0,0.7); cursor: crosshair; }
    /* Loupe au survol (desktop) : lentille circulaire qui suit le curseur. */
    .lb-lens { position: fixed; width: 360px; height: 360px; border-radius: 50%; z-index: 102; display: none; pointer-events: none;
        border: 2px solid rgba(255,255,255,0.45); box-shadow: 0 8px 30px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(0,0,0,0.4);
        background-color: var(--bg-primary); background-repeat: no-repeat; }
    .lb-lens.on { display: block; }
    .lb-close { position: fixed; top: 16px; right: 22px; z-index: 101; width: 40px; height: 40px; border-radius: var(--radius); cursor: pointer;
        display: flex; align-items: center; justify-content: center; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-primary); font-size: 24px; line-height: 1; }
    .lb-close:hover { border-color: rgba(var(--accent-rgb), 0.5); }
    /* Bascule loupe (desktop) — à gauche de la croix, préférence mémorisée. */
    .lb-loupe-toggle { position: fixed; top: 16px; right: 70px; z-index: 101; height: 40px; padding: 0 13px; border-radius: var(--radius); cursor: pointer;
        display: flex; align-items: center; gap: 7px; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-secondary); font-size: 13px; font-weight: 600; font-family: inherit; }
    .lb-loupe-toggle:hover { border-color: rgba(var(--accent-rgb), 0.5); color: var(--text-primary); }
    .lb-loupe-toggle .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent-glow-strong); }
    .lb-loupe-toggle.off .dot { background: var(--text-muted); box-shadow: none; }
    .lb-overlay.loupe-off .lb-img { cursor: default; }
    @media (max-width: 600px) { .lb-loupe-toggle { display: none; } } /* pas de loupe au survol sur tactile */

    @media (max-width: 860px) {
        .hero-sky img { width: 620px; }
        .feature .row { grid-template-columns: 1fr; gap: 24px; }
        .feature .row.reverse .txt, .feature .row.reverse .shot { order: initial; }
        .grid3, .grid2 { grid-template-columns: 1fr; } .themes { grid-template-columns: repeat(2, 1fr); }
        .mobile-feats { grid-template-columns: 1fr; }
    }

/* Anciens attributs style="…" du HTML, passés en classes pour la CSP stricte (23-09-2026, plus de
   'unsafe-inline' en style-src). !important = la priorité qu'avait l'attribut, rendu identique. */
.vt-mt32 { margin-top: 32px !important; margin-bottom: 0 !important; }
.vt-mt22 { margin-top: 22px !important; margin-bottom: 0 !important; }
.vt-mt44 { margin-top: 44px !important; }
