/* ============================================================
   XSN Audio — xsnaudio.css v7.03
   ============================================================ */

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
    --bg:           #0C0008;
    --surface:      #190011;
    --card:         #2A001C;
    --border:       #4A0030;
    --text:         #FFF0F6;
    --muted:        #C79FB4;
    --white:        #FFFFFF;
    --dim:          #9A7488; /* texte discret — tenu au-dessus de WCAG AA : 5,13:1 sur --bg */
    --panel:        #210016;
    --border2:      #7A0050;
    --xsngold:      #FF99CC; /* v8.11 : accent XSNiGHT Magnetic, 10,48:1 sur --bg (était #F5D5C0) */
    --xsngold2:     #FF4081; /* accent secondaire Magnetic, 6,18:1 sur --bg */
    /* Dégradé des boutons pleins : accent → 55 % vers accent2. Suit le thème actif (header.php
       redéfinit --xsngold / --xsngold2), donc chaque thème a ses propres couleurs. Texte sombre
       dessus : le mélange reste clair, contraste ≥ 4,5:1 vérifié sur les 16 thèmes de l'admin. */
    --btn-grad:     linear-gradient(135deg, var(--xsngold) 0%, color-mix(in srgb, var(--xsngold) 45%, var(--xsngold2)) 100%);
    --xsnred:       #EB306F; /* erreurs et stock bas — c'est du TEXTE : éclairci depuis le
                                #E91E63 de la palette, qui tombait à 4,33:1 sur les cartes */
    --xsnmagenta:   #C2185B;
    --xsnviolet:    #7E57C2;
    --green:        #4caf50;
    --cyan:         #00e5ff;
    /* v8.07 : dégradé "glow" du VU-mètre RGB (bargraph XSNiGHT Obsidian, firmware V6.2) — logo uniquement */
    --vu-glow-1:    #000048; /* obsidienne bleu — silence / -18 dB */
    --vu-glow-2:    #5A3060; /* violet royal — -6 dB */
    --vu-glow-3:    #D88598; /* rose or — 0 dB nominal */
    --vu-glow-4:    #F5D5C0; /* or rose nacré — +3 dB clip */
    /* v8.13 : arrêts du logo — recalculés depuis le thème par header.php.
       Valeurs de repli = XSNiGHT Magnetic. Aucun arrêt noir : le X du logo
       disparaissait sur le fond du site. */
    --xsn-logo-1:   #0080C8;
    --xsn-logo-2:   #FF99CC;
    --xsn-logo-3:   #7FE6F2;
    --xsn-logo-4:   #C6F5FA;
    /* v8.06 : alias — certaines pages publiques utilisaient --gold/--red (non définis) */
    --gold:         var(--xsngold);
    --red:          var(--xsnred);
    --font-body:    'Instrument Sans', sans-serif;
    --font-mono:    'JetBrains Mono', monospace;
    --font-title:   'Orbitron', sans-serif;
    /* v8.07 : police du nameplate physique (façade gravée) — cohérence produit/site */
    --font-product: 'Anton', 'Arial Narrow', sans-serif;
}

/* ── v8.06 : micro-animations (reveal au scroll) ───────────── */
.xsn-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.xsn-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .xsn-reveal, .xsn-reveal.in { opacity: 1; transform: none; transition: none; }
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); }

/* Effet scanlines subtil */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0,229,255,0.009) 3px,
        rgba(0,229,255,0.009) 4px
    );
}

/* ── CONTAINER ──────────────────────────────────────────────── */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 64px;
    position: relative;
}

/* ── HEADER ─────────────────────────────────────────────────── */
header {
    background: linear-gradient(135deg, #060811 0%, #0a0612 50%, #060811 100%);
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, var(--vu-glow-1), var(--vu-glow-2), var(--vu-glow-3), var(--vu-glow-4)) 1;
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}
/* v8.16 : liseré en haut de page, comme sur la façade du rack — couleurs du thème actif
   (rouge sur les bords, accent au centre). Rack Glow : rose-rouge → violet-bleu → rose-rouge. */
header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--xsnred), var(--xsngold), var(--xsnred));
    z-index: 2;
    pointer-events: none;
}
.hdr-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 280px;
    pointer-events: none;
    background: radial-gradient(ellipse, rgba(216,133,152,0.14), transparent 65%);
}
.site-title {
    font-family: var(--font-title);
    font-size: 4.5em;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 10px;
}
.grad {
    background: linear-gradient(90deg, var(--xsn-logo-1), var(--xsn-logo-2), var(--xsn-logo-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.site-logo-link { display: inline-flex; align-items: flex-end; gap: 16px; text-decoration: none; }
.site-logo {
    height: 1.05em;
    width: auto;
    aspect-ratio: 315 / 161;
    display: block;
    overflow: visible;
    filter: drop-shadow(0 0 6px rgba(255,64,129,.28));
    animation: xsn-logo-breathe 4s ease-in-out infinite;
}
@keyframes xsn-logo-breathe {
    0%, 100% { opacity: 1; }
    50%      { opacity: .88; }
}
@media (prefers-reduced-motion: reduce) {
    .site-logo { animation: none; }
}
.brand-audio { font-family: var(--font-product); font-weight: 400; font-size: 0.7em; transform: translateY(0.075em); }

/* v8.13 (contre-critique 19/11) : repli pour le contenu CGV une fois passe par l'editeur
   visuel Quill, qui retire les attributs style="" au premier enregistrement. Le contenu
   actuel garde ses styles inline (qui restent prioritaires) ; ces regles ne servent qu'au
   prochain enregistrement, pour ne pas retomber en police par defaut. */
.cgv-body h1 { font-family: var(--font-title); font-size: .95rem; color: var(--white); letter-spacing: .1em; margin: 0 0 .5rem; }
.cgv-body h2 { font-family: var(--font-title); font-size: .78rem; color: var(--white); letter-spacing: .12em; margin: 2rem 0 .75rem; }
.cgv-body p, .cgv-body li { color: var(--muted); }
/* v8.15 — page À propos : un seul bloc de texte enrichi, même principe que .cgv-body.
   Ces règles reproduisent la mise en page d'avant : grand titre Anton, sections en
   petites capitales, texte muted. Le premier paragraphe est le sur-titre doré. */
.apropos-body { max-width: var(--measure); }
.apropos-body > p:first-child { font-size: .68rem; letter-spacing: .22em; color: var(--xsngold); margin: 0 0 .4rem; }
.apropos-body h1 + p { font-size: .95rem; line-height: 1.75; max-width: 42rem; }
.apropos-body h1 { font-family: var(--font-product); font-size: var(--fs-2xl); font-weight: 400; color: var(--white); line-height: 1.05; margin: var(--sp-2) 0 var(--sp-1); }
.apropos-body h2 { font-family: var(--font-title); font-size: var(--fs-sm); font-weight: 700; letter-spacing: .15em; color: var(--white); border-top: 1px solid var(--border); padding-top: var(--sp-5); margin: var(--sp-6) 0 var(--sp-4); }
.apropos-body h3 { font-family: var(--font-title); font-size: .78rem; letter-spacing: .12em; color: var(--white); margin: 2rem 0 .75rem; }
.apropos-body p { color: var(--muted); font-size: var(--fs-md); line-height: 1.85; margin: 0 0 1.15rem; }
.apropos-body p:last-child { margin-bottom: 0; }
.apropos-body strong { color: var(--white); font-weight: 600; }
.apropos-body ul, .apropos-body ol { color: var(--muted); padding-left: 1.2rem; margin: 0 0 1.15rem; }
.apropos-body li { margin-bottom: .4rem; }
.apropos-body a { color: var(--xsngold); }

/* v8.07 — LED power vintage (test) */
.xsn-led {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff3b30;
    margin-left: 12px;
    vertical-align: middle;
    animation: xsn-led-breathe 3s ease-in-out infinite;
}
@keyframes xsn-led-breathe {
    0%, 100% { opacity: .45; box-shadow: 0 0 4px rgba(255,59,48,.5); }
    50%      { opacity: 1;   box-shadow: 0 0 10px rgba(255,59,48,.95); }
}
@media (prefers-reduced-motion: reduce) {
    .xsn-led { animation: none; opacity: .9; box-shadow: 0 0 6px rgba(255,59,48,.7); }
}

/* v8.07 — Glow CTA au survol */
.btn-glow { transition: box-shadow .3s ease, transform .2s ease; }
.btn-glow:hover {
    box-shadow: 0 0 18px rgba(216,133,152,.5);
    transform: translateY(-1px);
}
@media (prefers-reduced-motion: reduce) {
    .btn-glow { transition: none; }
    .btn-glow:hover { transform: none; }
}
.grad-text {
    background: linear-gradient(90deg, var(--xsn-logo-1), var(--xsn-logo-2), var(--xsn-logo-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.product-title {
    font-family: 'Anton', 'Arial Narrow', sans-serif;
    font-size: 1.8em;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 2px;
    margin-bottom: 25px;
}
.product-desc {
    font-size: 1.22em;
    color: var(--text);
    max-width: 920px;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ── LANG TOGGLE ────────────────────────────────────────────── */
.lang-toggle {
    position: absolute;
    top: 25px;
    right: 64px;
    z-index: 100;
    display: flex;
    gap: 6px;
}
.lang-btn {
    padding: 8px 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}
.lang-btn.active {
    background: var(--xsngold);
    background-image: var(--btn-grad);
    color: #000;
    border-color: transparent;
    font-weight: 700;
}

/* ── NAVIGATION ─────────────────────────────────────────────── */
nav {
    display: flex;
    width: 100%;
    background: #040608;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
    position: sticky;
    top: 0;
    z-index: 100;
}
nav .container {
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 64px;
    gap: 0;
}
nav a {
    padding: 0 18px;
    height: 100%;
    font-family: var(--font-mono);
    font-size: 0.68em;
    letter-spacing: 1.5px;
    color: var(--muted);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
nav a:hover { color: var(--xsnred); background: rgba(239,83,80,0.04); }
nav a.active { color: var(--xsngold); border-bottom-color: var(--xsngold); }

/* Force cohérence cross-browser */
nav .container > a,
nav .container .nav-dropdown,
nav .container .nav-lang {
    display: flex;
    align-items: center;
}

/* Dropdown nav */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 100%;
}
.nav-dropdown > a { align-items: center; }
.nav-dropdown:hover > a { color: var(--xsngold); }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 2px solid var(--xsngold);
    min-width: 260px;
    z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block;
    padding: 0.65rem 1.1rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    border-bottom: none;
    transition: background 0.1s, color 0.1s;
    white-space: nowrap;
}
.dropdown-menu a:hover { background: rgba(255,153,204,0.06); color: var(--white); }
.dropdown-menu a.active { color: var(--xsngold); }
.dropdown-menu a.soon {
    color: var(--dim);
    cursor: default;
    pointer-events: none;
    font-style: italic;
}
.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.25rem 0;
}

/* Langue dans nav */
.nav-lang {
    margin-left: auto;
    display: flex;
    align-items: center;
    align-self: stretch;
    height: 100%;
    gap: 0;
    border-left: 1px solid var(--border);
    flex-shrink: 0;
}
.nav-lang a {
    padding: 0 0.85rem;
    height: 100%;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    margin-bottom: 0;
    border-bottom: 2px solid transparent;
}
.nav-lang a.active { color: var(--xsngold); border-bottom-color: var(--xsngold); }

/* ── CHIPS ──────────────────────────────────────────────────── */
.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 25px 0 15px;
}
.chip {
    padding: 6px 16px;
    border-radius: 2px;
    font-family: var(--font-mono);
    font-size: 0.75em;
    letter-spacing: 1px;
    font-weight: 500;
}
.chip-xsn1 { background: rgba(255,153,204,.14); border: 1px solid rgba(255,153,204,.4); color: var(--xsngold); }
.chip-xsn2 { background: rgba(239,83,80,.12); border: 1px solid rgba(239,83,80,.4); color: var(--xsnred); }
.chip-xsn3 { background: rgba(194,24,91,.12); border: 1px solid rgba(194,24,91,.35); color: var(--xsnmagenta); }
.chip-xsn4 { background: rgba(126,87,194,.12); border: 1px solid rgba(126,87,194,.35); color: var(--xsnviolet); }
.chip-cyan  { background: rgba(0,229,255,.08);  border: 1px solid rgba(0,229,255,.25);  color: var(--cyan); }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
    padding: 1rem 3rem;
    border: none;
    border-radius: 2px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-family: var(--font-mono);
    letter-spacing: 2px;
}
.btn-primary {
    background: var(--xsngold);
    background-image: var(--btn-grad);   /* était accent → rouge d'erreur : hors thème */
    color: #000;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(239,83,80,0.3);
}
.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--xsnred);
}
.btn-secondary:hover { background: rgba(239,83,80,0.1); }
.btn-outline {
    display: inline-block;
    padding: 0.55rem 1.2rem;
    border: 1px solid var(--border);
    color: var(--muted);
    font-family: var(--font-title);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    transition: all 0.15s;
    border-radius: 2px;
}
.btn-outline:hover { border-color: var(--xsngold); color: var(--xsngold); }

/* ── FOCUS VISIBLE (accessibilité clavier) v7.03 ────────────── */
:focus-visible {
    outline: 2px solid var(--xsngold);
    outline-offset: 3px;
}
.btn:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-outline:focus-visible {
    outline: 2px solid var(--xsngold);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.2);
}
nav a:focus-visible { outline: 2px solid var(--xsngold); outline-offset: -2px; }

/* ── SKIP LINK (accessibilité clavier) v7.03 ────────────────── */
.skip-link {
    position: fixed;
    top: -10rem;
    left: 1rem;
    z-index: 99999;
    background: var(--xsngold);
    color: #000;
    padding: 0.5rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 2px;
    transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: center;
}
.hero-text h2 {
    font-family: var(--font-title);
    font-size: 2.35rem;
    margin-bottom: 1.4rem;
    color: var(--white);
    line-height: 1.15;
}
.hero-text p { color: var(--muted); margin-bottom: 1.8rem; font-size: 1.15rem; }
.hero-image {
    background: var(--card);
    border-radius: 6px;
    padding: 2rem;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

/* ── STATS ──────────────────────────────────────────────────── */
.stats {
    display: flex;
    gap: 3rem;
    margin: 4rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stat-item { flex: 1; }
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--xsngold);
    margin-bottom: 0.5rem;
    font-family: var(--font-title);
}
.stat-label {
    color: var(--muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-mono);
}

/* ── FEATURE GRID ───────────────────────────────────────────── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 4rem 0;
}
.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 30px 25px;
    transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--xsnred); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--white);
}
.feature-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

/* ── PRODUCT GRID ───────────────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-top: 2px solid var(--xsngold);
    padding: 1.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: border-color 0.2s, transform 0.3s;
    border-radius: 6px;
}
.product-card:hover { border-color: var(--xsnred); transform: translateY(-5px); }
.product-card h3 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 0.06em;
}
.product-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }
.card-label { font-size: 0.6rem; letter-spacing: 0.2em; color: var(--xsngold); }
.card-footer { margin-top: auto; padding-top: 1rem; }
.badge-soon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--border);
    color: var(--dim);
    font-size: 0.58rem;
    letter-spacing: 0.15em;
    padding: 2px 8px;
    border-radius: 2px;
}

/* ── SPECS ──────────────────────────────────────────────────── */
.specs-panel {
    background: var(--card);
    border-radius: 6px;
    padding: 3rem;
    margin: 4rem 0;
    border: 1px solid var(--border);
}
.specs-panel h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--white);
}
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}
.spec-label { color: var(--muted); font-family: var(--font-mono); font-size: 0.9em; }
.spec-value { color: var(--xsngold); font-weight: 500; }

/* ── SPECS TABLE ────────────────────────────────────────────── */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    font-size: 0.85rem;
}
.specs-table thead th {
    padding: 0.65rem 1rem;
    text-align: left;
    font-family: var(--font-title);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    color: var(--dim);
    border-bottom: 2px solid var(--border);
    font-weight: 400;
    background: var(--surface);
}
.specs-table tbody td {
    padding: 0.55rem 1rem;
    border-bottom: 1px solid rgba(26,37,53,0.7);
    color: var(--muted);
    vertical-align: top;
}
.specs-table tbody td:first-child {
    color: var(--white);
    width: 38%;
    font-size: 0.82rem;
}
.specs-table tbody tr:last-child td { border-bottom: none; }
.specs-table tbody tr:hover td { background: rgba(255,153,204,0.02); }
.specs-section-head td {
    background: var(--card) !important;
    color: var(--xsngold) !important;
    font-family: var(--font-title);
    font-size: 0.6rem !important;
    letter-spacing: 0.2em;
    padding: 0.6rem 1rem !important;
    border-bottom: 1px solid var(--border) !important;
    border-top: 1px solid var(--border);
}
.specs-section-head:first-child td { border-top: none; }

/* ── COMPARISON ─────────────────────────────────────────────── */
.comparison {
    background: var(--card);
    border-radius: 6px;
    padding: 2.5rem;
    margin: 4rem 0;
    border: 1px solid var(--border);
}
.comparison h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--xsngold);
    font-family: var(--font-title);
}
.comparison table { width: 100%; border-collapse: collapse; }
.comparison th,
.comparison td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.comparison th {
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 0.95em;
    background: rgba(255,153,204,0.1);
}

/* ── USE CASES ──────────────────────────────────────────────── */
.use-cases {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 4rem 0;
}
.use-case {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
}
.use-case-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.use-case h4 { color: var(--white); font-family: var(--font-title); margin-bottom: 0.5rem; }
.use-case p { color: var(--muted); font-size: 0.9rem; }

/* ── STEP GRID ──────────────────────────────────────────────── */
.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin: 4rem 0;
}
.step-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 30px 25px;
    transition: all 0.35s;
}
.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--xsnred);
    box-shadow: 0 20px 40px rgba(239,83,80,0.15);
}
.step-card h3 { color: var(--xsngold); margin-bottom: 1rem; }

/* ── TESTIMONIAL ────────────────────────────────────────────── */
.testimonial {
    background: linear-gradient(135deg, #0a0a12 0%, #12121c 100%);
    border-radius: 6px;
    padding: 3rem;
    margin: 4rem 0;
    border-left: 4px solid var(--xsnred);
}
.testimonial blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 1rem;
}
.testimonial cite { color: var(--muted); font-family: var(--font-mono); }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq details {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq summary {
    padding: 1.4rem 1.8rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq p { padding: 1.4rem 1.8rem; color: var(--muted); }

/* ── SIGNUP FORM ────────────────────────────────────────────── */
.signup-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-start;
}
.signup-form input[type="email"] {
    flex: 1;
    min-width: 220px;
    padding: 0.7rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.15s;
    border-radius: 2px;
}
.signup-form input[type="email"]:focus { border-color: var(--xsngold); }
.signup-form button[type="submit"] {
    padding: 0.7rem 1.6rem;
    background: linear-gradient(90deg, var(--xsngold), var(--xsnred));
    color: #000;
    border: none;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: opacity 0.15s;
    white-space: nowrap;
    border-radius: 2px;
}
.signup-form button:hover { opacity: 0.85; }
.rgpd-check {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.77rem;
    color: var(--muted);
    line-height: 1.5;
    cursor: pointer;
}
.rgpd-check input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--xsngold);
}
.signup-msg {
    padding: 0.55rem 0.9rem;
    font-size: 0.82rem;
    margin-bottom: 1rem;
    border: 1px solid;
    border-radius: 2px;
}
.signup-msg.ok {
    background: rgba(76,175,80,0.08);
    border-color: rgba(76,175,80,0.35);
    color: var(--green);
}
.signup-msg.err {
    background: rgba(239,83,80,0.08);
    border-color: rgba(239,83,80,0.3);
    color: var(--xsnred);
}

/* ── FORMS (CONTACT) ────────────────────────────────────────── */
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-label {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    color: var(--xsngold);
    font-family: var(--font-mono);
}
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.65rem 0.9rem;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.15s;
    appearance: none;
    border-radius: 2px;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--xsngold); }
.form-select {
    color: var(--muted);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b8aaa' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.2rem;
}
.form-textarea { resize: vertical; line-height: 1.6; }
.form-honey { display: none; }

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 2rem;
    opacity: 0.65;
    font-family: var(--font-mono);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: 0.5; margin: 0 0.5rem; }

/* ── UTILITY ────────────────────────────────────────────────── */
.gold { color: var(--xsngold); }
.muted { color: var(--muted); }
.section-label {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    color: var(--xsngold);
    margin-bottom: 0.4rem;
    font-family: var(--font-mono);
}
.section-title {
    font-family: var(--font-title);
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
    margin-top: 4rem;
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
footer.container,
footer .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.footer-col h4 {
    color: var(--xsnred);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-family: var(--font-mono);
    letter-spacing: 2px;
}
.footer-col ul { list-style: none; }
.footer-col ul li {
    margin-bottom: 0.8rem;
    color: var(--muted);
    font-size: 0.95rem;
}
.footer-col ul li a { color: var(--muted); text-decoration: none; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--xsnred); }
.copyright {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9rem;
    font-family: var(--font-mono);
    letter-spacing: 0.06em;
}

/* ── HAMBURGER MENU v7.03 ───────────────────────────────────── */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 12px;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
}
.nav-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--muted);
    transition: all 0.3s;
    transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── PANIER / CHECKOUT (2 colonnes desktop) ────────────────────── */
.cart-grid { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
.checkout-grid { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: start; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .container { padding: 0 24px; }
    nav .container { padding: 0 24px; height: 44px; }
    nav a { padding: 0 12px; font-size: 0.6rem; }
    .site-title { font-size: 3.5em; }
    .hero,
    .feature-grid,
    .use-cases,
    .step-grid,
    .cart-grid,
    .checkout-grid { grid-template-columns: 1fr; }
    .stats { flex-direction: column; gap: 1.5rem; }
    .lang-toggle { top: 15px; right: 24px; }
    footer,
    footer.container { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .specs-grid { grid-template-columns: 1fr; }
    .specs-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 640px) {
    header { padding: 32px 0 24px; }
    .container { padding: 0 1.25rem; }
    /* ── Navigation mobile avec hamburger ── */
    .nav-hamburger { display: flex; }
    nav .container {
        padding: 0 1.25rem;
        height: 48px;
        flex-wrap: wrap;
        overflow: hidden;
        transition: height 0.3s;
    }
    nav .container.nav-open {
        height: auto;
        padding-bottom: 0.75rem;
    }
    nav .container > a,
    nav .container .nav-dropdown,
    nav .container .nav-lang {
        display: none;
        width: 100%;
        height: auto;
        border-bottom: 1px solid var(--border);
    }
    nav .container.nav-open > a,
    nav .container.nav-open .nav-dropdown,
    nav .container.nav-open .nav-lang {
        display: flex;
    }
    nav .container > a { padding: 0.7rem 0; font-size: 0.68rem; }
    .nav-dropdown { flex-direction: column; }
    .dropdown-menu {
        display: block;
        position: static;
        border: none;
        border-top: none;
        background: transparent;
        padding-left: 1rem;
    }
    .nav-lang { margin-left: 0; border-left: none; border-top: 1px solid var(--border); }
    /* ── Layout ── */
    footer,
    footer.container { grid-template-columns: 1fr; margin-top: 2.5rem; padding-top: 2rem; }
    .product-grid { grid-template-columns: 1fr; }
    .signup-form input[type="email"] { min-width: 0; width: 100%; flex: none; }
    .btn { padding: 0.85rem 1.5rem; font-size: 0.9rem; }
    .site-title { font-size: 2.8em; }
}

/* ── LANG SWITCHING ─────────────────────────────────────────── */
.lang-en { display: none; }

/* ── SCROLL-TO-TOP ──────────────────────────────────────────── */
#xsn-scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 8000;
    width: 44px;
    height: 44px;
    background: var(--surface);
    border: 1px solid var(--border2);
    color: var(--xsngold);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .25s, transform .25s;
}
#xsn-scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#xsn-scroll-top:hover {
    background: var(--xsngold);
    color: #07090c;
    border-color: var(--xsngold);
    transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════════════════════════
   v8.11 — COUCHE DE COMPOSANTS
   Les gabarits n'écrivent plus de style="" : ils posent des classes.
   Tout se peint à partir des jetons de :root — changer la palette dans
   l'admin repeint réellement le site, ce qui n'était pas le cas avant
   (295 attributs style="" en dur dans 10 gabarits).
   Ce bloc est en fin de fichier : il gagne la cascade sur l'ancien CSS.
   ════════════════════════════════════════════════════════════════════════ */

:root {
    /* Rythme vertical et horizontal — une seule échelle pour tout le site */
    --sp-1: .35rem;
    --sp-2: .6rem;
    --sp-3: 1rem;
    --sp-4: 1.5rem;
    --sp-5: 2.25rem;
    --sp-6: 3.25rem;
    --sp-7: 4.5rem;
    /* Échelle typographique */
    --fs-xs:  .66rem;
    --fs-sm:  .78rem;
    --fs-md:  .88rem;
    --fs-lg:  1.05rem;
    --fs-xl:  clamp(1.3rem, 3.2vw, 1.9rem);
    --fs-2xl: clamp(1.8rem, 6vw, 3.4rem);
    --radius: 3px;
    --gutter: clamp(16px, 4vw, 64px);
    --measure: 68ch;               /* largeur de lecture confortable */
}

/* ── Gouttière : fluide au lieu de 64 px fixes ───────────────────────── */
.container {
    padding-left:  max(var(--gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.page { margin: var(--sp-6) 0; }

/* ── Bandeau haut ────────────────────────────────────────────────────── */
.topbanner {
    background: var(--xsngold); color: #07090c; text-align: center;
    font-family: var(--font-title); font-size: var(--fs-xs);
    letter-spacing: .18em; font-weight: 700; padding: .55rem var(--sp-3);
}

/* ── Boutons ─────────────────────────────────────────────────────────── */
.btn-cta, .btn-ghost {
    display: inline-block; padding: .72rem 1.5rem; border-radius: var(--radius);
    font-family: var(--font-title); font-size: .72rem; letter-spacing: .1em;
    text-decoration: none; cursor: pointer; line-height: 1.2;
    transition: border-color .15s, color .15s, background .15s, transform .15s;
}
.btn-cta {
    background: var(--xsngold); color: #07090c; font-weight: 700; border: 1px solid var(--xsngold);
    /* Dégradé du thème (voir --btn-grad dans :root). Le fond uni ci-dessus sert de repli. */
    background-image: var(--btn-grad);
}
.btn-cta:hover { transform: translateY(-1px); }
.btn-ghost {
    background: transparent; color: var(--muted); border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--xsngold); color: var(--xsngold); }
.btn-ghost--gold { color: var(--xsngold); border-color: var(--xsngold); }
.btn-ghost.is-on { background: var(--xsngold); background-image: var(--btn-grad); color: #07090c; border-color: var(--xsngold); }

.cta-row { display: flex; gap: var(--sp-2) .85rem; flex-wrap: wrap; align-items: center; }
.cta-row--center { justify-content: center; }
.cta-row--end { justify-content: flex-start; margin-top: var(--sp-5); }

/* ── Sections ────────────────────────────────────────────────────────── */
.section {
    border-top: 1px solid var(--border);
    padding-top: var(--sp-5);
    margin-bottom: var(--sp-6);
}
.section--plain { border-top: none; padding-top: 0; }
.section-title {
    font-family: var(--font-title); font-size: var(--fs-sm); font-weight: 700;
    letter-spacing: .15em; color: var(--white); margin: 0 0 var(--sp-4);
    text-wrap: balance;
}

/* ── Texte courant ───────────────────────────────────────────────────── */
.prose { color: var(--muted); font-size: var(--fs-md); line-height: 1.85; max-width: var(--measure); }
.prose p { margin: 0 0 1.15rem; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--white); font-weight: 600; }
.prose--tight { font-size: var(--fs-sm); line-height: 1.75; }

.bullets { list-style: none; padding: 0; margin: 0 0 1.15rem; display: flex; flex-direction: column; gap: var(--sp-2); }
.bullets li { padding-left: 1.1rem; border-left: 2px solid var(--xsngold); }

.notice {
    font-size: var(--fs-xs); color: var(--dim); line-height: 1.7;
    border-top: 1px solid var(--border); padding-top: var(--sp-3);
    margin: var(--sp-5) 0 0; max-width: var(--measure);
}

/* ── Panneaux ────────────────────────────────────────────────────────── */
.panel {
    background: var(--panel); border: 1px solid var(--border);
    border-radius: var(--radius); padding: var(--sp-4); min-width: 0;
}
.panel--accent { border-left: 3px solid var(--xsngold); }

/* ── Images manquantes : réserve propre, jamais un trou ─────────────── */
.media-ph {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); display: flex; align-items: center;
    justify-content: center; position: relative; overflow: hidden; max-width: 100%;
}
.media-ph--4x3  { aspect-ratio: 4/3; }
.media-ph--16x9 { aspect-ratio: 16/9; }
.media-ph--glow::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 120%, color-mix(in srgb, var(--xsngold) 12%, transparent), transparent 70%);
}
.media-ph__label {
    font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .12em;
    color: var(--muted); opacity: .35; margin: 0; text-align: center; padding: 0 var(--sp-2);
}

/* ── Accueil : hero de marque ────────────────────────────────────────── */
.brand-hero {
    text-align: center; padding: var(--sp-5) 0;
    border-bottom: 1px solid var(--border); margin-bottom: var(--sp-6);
}
.brand-hero__title {
    font-family: var(--font-product); font-size: var(--fs-2xl); font-weight: 400;
    color: var(--white); line-height: 1.05; margin: var(--sp-2) 0 var(--sp-1);
    text-wrap: balance;
}
.brand-hero__sub {
    font-family: var(--font-product); font-size: clamp(.65rem, 1.5vw, .85rem);
    letter-spacing: .25em; color: var(--muted); margin: 0 0 var(--sp-4);
}
.brand-hero__desc { color: var(--muted); font-size: .95rem; line-height: 1.75; max-width: 42rem; margin: 0 auto var(--sp-3); }
.brand-hero__desc p { margin: 0; }
.brand-hero__note { font-size: var(--fs-sm); color: var(--dim); max-width: 34rem; margin: 0 auto var(--sp-5); }

/* ── Points clés / caractéristiques de marque ────────────────────────── */
.points {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    gap: var(--sp-4);
}
.point { border-top: 2px solid var(--xsngold); padding-top: .9rem; min-width: 0; }
.point__title {
    font-family: var(--font-title); font-size: .64rem; letter-spacing: .15em;
    color: var(--xsngold); margin: 0 0 var(--sp-1); line-height: 1.4;
}
.point__txt { font-size: var(--fs-sm); color: var(--muted); line-height: 1.65; margin: 0; }

/* ── Cartes produit ──────────────────────────────────────────────────── */
.product-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: var(--sp-4); margin-bottom: 0;
}
.product-grid--compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.product-card {
    background: var(--panel); border: 1px solid var(--border);
    border-top: 2px solid var(--xsngold); border-radius: var(--radius);
    padding: 0; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
}
.product-card--soon { border-top-color: var(--border2); }
.product-card .media-ph { border: none; border-bottom: 1px solid var(--border); border-radius: 0; }
.product-card__body { padding: var(--sp-4); flex: 1 1 auto; min-width: 0; }
.product-card__name {
    font-family: var(--font-product); font-size: var(--fs-lg); font-weight: 400;
    color: var(--white); margin: 0 0 .1rem; letter-spacing: .02em;
}
.product-card__tag {
    font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .12em;
    color: var(--xsngold2); margin: 0 0 var(--sp-2);
}
.product-desc { font-size: var(--fs-sm); color: var(--muted); line-height: 1.65; margin: 0; }
.product-card__foot {
    padding: 0 var(--sp-4) var(--sp-4); display: flex; align-items: center;
    gap: var(--sp-2) .85rem; flex-wrap: wrap;
}
.product-card__price { font-family: var(--font-title); font-size: var(--fs-md); font-weight: 700; color: var(--white); }
.product-card__soon { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--dim); }

.badge {
    display: inline-block; font-family: var(--font-mono); font-size: .55rem;
    letter-spacing: .16em; padding: .2rem .5rem; border-radius: 2px;
    background: color-mix(in srgb, var(--xsngold) 14%, transparent);
    color: var(--xsngold); margin-bottom: var(--sp-2);
}
.badge.badge-soon { background: rgba(255,255,255,.05); color: var(--dim); }

/* ── Fiche produit ───────────────────────────────────────────────────── */
.prod-hero {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: var(--sp-5); align-items: start; margin-bottom: var(--sp-6);
}
.prod-hero__text { min-width: 0; display: flex; flex-direction: column; gap: var(--sp-3); }
.prod-hero__text > * { margin: 0; }
.prod-title {
    font-family: var(--font-product); font-size: var(--fs-xl); font-weight: 400;
    color: var(--white); line-height: 1.12; margin: var(--sp-1) 0 0; text-wrap: balance;
}
.prod-title--sm { font-size: var(--fs-lg); }
.prod-subtitle {
    font-family: var(--font-product); font-size: .7rem; letter-spacing: .2em;
    color: var(--muted); margin: 0;
}
.prod-hero__specs { font-size: var(--fs-sm); color: var(--muted); line-height: 1.72; opacity: .85; }
.prod-hero__note  { font-size: var(--fs-xs); color: var(--muted); line-height: 1.65; opacity: .85; }

.price { font-family: var(--font-title); font-size: 1.6rem; font-weight: 900; color: var(--xsngold); }
.price small { font-size: .5em; color: var(--muted); font-weight: 400; letter-spacing: .05em; }

/* ── Statut et stock ─────────────────────────────────────────────────── */
.statut { padding: var(--sp-3) var(--sp-4); }
.statut__label { font-size: var(--fs-xs); letter-spacing: .18em; color: var(--xsngold); margin: 0 0 .2rem; }
.statut__txt   { color: var(--white); font-size: var(--fs-md); margin: 0; }
.statut--open   { border-left-color: var(--green); }
.statut--closed { border-left-color: var(--xsnred); }

.stock__title { font-size: .62rem; letter-spacing: .18em; color: var(--muted); margin: 0 0 var(--sp-2); }
.stock__box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: .85rem 1rem; }
.stock__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-2); margin-bottom: var(--sp-2); font-size: var(--fs-sm); color: var(--muted); }
.stock__count { font-family: var(--font-title); font-size: .95rem; font-weight: 700; color: var(--xsngold); font-variant-numeric: tabular-nums; }
.stock__count.is-mid { color: var(--xsngold2); }
.stock__count.is-low { color: var(--xsnred); }
.stock__track { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.stock__bar { height: 100%; width: 0; background: var(--xsngold); border-radius: 2px; transition: width 1s ease; }
.stock__bar.is-mid  { background: linear-gradient(90deg, var(--xsngold), var(--xsnred)); }
.stock__bar.is-high { background: var(--xsnred); }
.stock__sub { font-size: .62rem; color: var(--dim); margin: var(--sp-1) 0 0; }

/* ── Tableaux ────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; max-width: 100%; }
.comparison { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.comparison th, .comparison td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.comparison thead th { font-family: var(--font-title); font-size: var(--fs-xs); letter-spacing: .1em; color: var(--muted); font-weight: 400; }
.comparison thead th.is-ours { color: var(--xsngold); }
.comparison tbody th { color: var(--muted); font-weight: 400; }
.comparison td.is-ours { color: var(--white); }
.comparison tbody tr:last-child th, .comparison tbody tr:last-child td { border-bottom: none; }

.schema-svg { width: 100%; min-width: 640px; height: auto; font-family: var(--font-title); }

/* ── Galerie ─────────────────────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: var(--sp-3); }

/* ── Lecteur A/B ─────────────────────────────────────────────────────── */
.ab-player { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-4); }

/* ── Inscription ─────────────────────────────────────────────────────── */
.signup { padding: var(--sp-5); margin-bottom: var(--sp-6); }
.signup__title { font-family: var(--font-title); font-size: var(--fs-sm); letter-spacing: .15em; color: var(--white); margin: 0 0 var(--sp-2); }
.signup__desc  { color: var(--muted); font-size: var(--fs-sm); line-height: 1.7; margin: 0 0 var(--sp-4); max-width: var(--measure); }
.signup-form { display: flex; flex-direction: column; gap: .9rem; max-width: 30rem; }
.rgpd-check { display: flex; align-items: flex-start; gap: var(--sp-2); font-size: .75rem; color: var(--muted); cursor: pointer; line-height: 1.5; }
.rgpd-check input { margin-top: .15rem; accent-color: var(--xsngold); flex: 0 0 auto; }
.signup-form .btn-cta { align-self: flex-start; }
.form-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ── Actualités ──────────────────────────────────────────────────────── */
.news-card { background: var(--panel); border: 1px solid var(--border); border-left: 2px solid var(--xsngold); border-radius: var(--radius); padding: var(--sp-4); min-width: 0; }
.news-card__date { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--dim); margin: 0 0 var(--sp-1); font-variant-numeric: tabular-nums; }
.news-card__title { font-family: var(--font-title); font-size: var(--fs-md); margin: 0 0 var(--sp-2); line-height: 1.4; }
.news-card__title a { color: var(--white); text-decoration: none; }
.news-card__title a:hover { color: var(--xsngold); }
.news-card__excerpt { font-size: var(--fs-sm); color: var(--muted); line-height: 1.65; margin: 0; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq-cat { margin: var(--sp-4) 0 var(--sp-2); }
.faq-item { border-bottom: 1px solid var(--border); padding: var(--sp-3) 0; }
.faq-item summary {
    cursor: pointer; color: var(--white); font-size: var(--fs-md); line-height: 1.5;
    list-style: none; display: flex; gap: var(--sp-2); align-items: baseline;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "+"; color: var(--xsngold); font-family: var(--font-mono); flex: 0 0 auto; }
.faq-item[open] summary::before { content: "–"; }
.faq-item[open] summary { color: var(--xsngold); }
.faq-item .prose { margin-top: var(--sp-2); }
.faq-more { margin: var(--sp-4) 0 0; font-size: var(--fs-sm); }
.faq-more a { color: var(--xsngold); text-decoration: none; }

/* ── Bandeau d'appel à l'action ──────────────────────────────────────── */
.cta-band {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--sp-4) var(--sp-5); flex-wrap: wrap;
}
.cta-band--plain { background: none; border: none; border-top: 1px solid var(--border); padding: var(--sp-5) 0 0; }
.cta-band__title { font-family: var(--font-title); font-size: var(--fs-md); color: var(--white); margin: .2rem 0; }
.cta-band__sub   { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* ── Mobile ──────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
    .page { margin: var(--sp-5) 0; }
    .brand-hero { padding: var(--sp-4) 0; }
    .cta-row .btn-cta, .cta-row .btn-ghost { flex: 1 1 auto; text-align: center; }
    .section { padding-top: var(--sp-4); margin-bottom: var(--sp-5); }
    .signup { padding: var(--sp-4); }
    .prod-hero { gap: var(--sp-4); }
}

/* Le contenu reste lisible si l'utilisateur refuse les animations. */
@media (prefers-reduced-motion: reduce) {
    .btn-cta, .btn-ghost, .stock__bar, .product-card { transition: none; }
    .btn-cta:hover { transform: none; }
}

/* ── v8.11 lot 2 — atelier : hero aligné à gauche, étapes, signature ──── */
.brand-hero--left { text-align: left; }
.brand-hero--left .brand-hero__desc { margin-left: 0; margin-right: 0; }
.brand-hero--left .brand-hero__note { margin-left: 0; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: var(--sp-4); }
.step { border-top: 1px solid var(--border); padding-top: var(--sp-3); min-width: 0; }
.step__num { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .2em; color: var(--xsngold); margin: 0 0 var(--sp-1); font-variant-numeric: tabular-nums; }
.step__title { font-family: var(--font-title); font-size: var(--fs-sm); letter-spacing: .1em; color: var(--white); margin: 0 0 var(--sp-2); }
.step__txt { font-size: var(--fs-sm); color: var(--muted); line-height: 1.65; margin: 0; }

.signature { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--xsngold); letter-spacing: .06em; }

/* ── v8.11 lot 2 — FAQ : onglets de filtre par produit ───────────────── */
.faq-tabs { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.faq-tab {
    font-family: var(--font-title); font-size: .6rem; letter-spacing: .12em;
    padding: .45rem .95rem; border: 1px solid var(--border); border-radius: var(--radius);
    background: transparent; color: var(--muted); cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
}
.faq-tab:hover { border-color: var(--xsngold); color: var(--xsngold); }
.faq-tab.is-on { background: var(--xsngold); border-color: var(--xsngold); color: #07090c; }
.faq-group__title { color: var(--xsngold); border-bottom: 1px solid var(--border); padding-bottom: var(--sp-2); }
.faq-item__from { margin-top: var(--sp-2); font-size: var(--fs-xs); }
.faq-item__from a { color: var(--xsngold); text-decoration: none; }

/* ── v8.11 — bannière cookies (audit 2.1) ─────────────────────────────── */
/* Elle part masquée par l'attribut `hidden` : son ancien attribut style
   contenait deux déclarations `display`, et la dernière la rendait visible
   à chaque page. Ne pas remettre de `display` en dur ici. */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--sp-4); flex-wrap: wrap;
    background: var(--bg); border-top: 1px solid var(--border);
    padding: var(--sp-3) clamp(var(--sp-3), 4vw, var(--sp-5));
    padding-bottom: calc(var(--sp-3) + env(safe-area-inset-bottom, 0px));
}

/* ── v8.11 — classes d'admin utilisées par des pages publiques (audit 7.4) ── */
/* fr/reservation.php s'appuyait sur .panel-title, .dot et .dot-gold, définies
   uniquement dans le <style> de l'admin : côté public, titre nu et pastille
   invisible. .antispam-answer n'avait aucune largeur propre. */
.panel-title {
    display: flex; align-items: center; gap: var(--sp-2);
    font-family: var(--font-title); font-size: var(--fs-sm); font-weight: 700;
    letter-spacing: .12em; color: var(--white); margin-bottom: var(--sp-3);
}
.dot { width: .5rem; height: .5rem; border-radius: 50%; flex: 0 0 auto; background: var(--muted); }
.dot-gold { background: var(--xsngold); }
.dot-blue { background: var(--xsngold2); }
.dot-red  { background: var(--xsnred); }
.antispam-answer { max-width: 9rem; }

/* ── v8.12 : facture imprimable (/fr/facture.php) ──────────────
   Document autonome : hors charte sombre, il doit sortir en noir sur
   blanc à l'impression. Le bouton disparaît à l'impression. */
.invoice-body { background:#f4f4f2; color:#111; margin:0; padding:var(--sp-6) var(--sp-4);
                font-family:'Segoe UI',Arial,sans-serif; }
.invoice-actions { max-width:820px; margin:0 auto var(--sp-4); text-align:right; }
.invoice-print-btn { background:#111; color:#fff; border:0; padding:.7rem 1.4rem; cursor:pointer;
                     font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; }
.invoice-sheet { max-width:820px; margin:0 auto; background:#fff; padding:38px 42px;
                 border:1px solid #ddd; }
.invoice-head { display:flex; justify-content:space-between; gap:var(--sp-4);
                border-bottom:2px solid #111; padding-bottom:var(--sp-3); margin-bottom:var(--sp-4); }
.invoice-brand { margin:0; font-size:1.05rem; font-weight:700; letter-spacing:.22em; }
.invoice-kind { margin:var(--sp-1) 0 0; font-size:.72rem; letter-spacing:.28em; color:#555; }
.invoice-meta { text-align:right; font-size:.8rem; line-height:1.7; }
.invoice-meta p { margin:0; }
.invoice-parties { display:flex; gap:var(--sp-5); margin-bottom:var(--sp-5); font-size:.82rem; line-height:1.6; }
.invoice-parties > div { flex:1; }
.invoice-parties p { margin:0; }
.invoice-label { font-size:.65rem; letter-spacing:.16em; text-transform:uppercase; color:#777; margin-bottom:var(--sp-1) !important; }
.invoice-strong { font-weight:700; }
.invoice-table { width:100%; border-collapse:collapse; font-size:.82rem; }
.invoice-table th, .invoice-table td { border-bottom:1px solid #ddd; padding:8px 6px; text-align:left; }
.invoice-table thead th { border-bottom:1px solid #111; font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; }
.invoice-table th:not(:first-child), .invoice-table td:not(:first-child) { text-align:right; white-space:nowrap; }
.invoice-table tfoot th, .invoice-table tfoot td { border-bottom:0; border-top:2px solid #111; font-size:.95rem; }
.invoice-mentions { margin-top:var(--sp-5); font-size:.72rem; line-height:1.7; color:#444; }
.invoice-mentions p { margin:0 0 var(--sp-1); }

@media print {
  @page { size:A4; margin:15mm; }
  .invoice-body { background:#fff; padding:0; }
  .invoice-actions { display:none; }
  .invoice-sheet { border:0; padding:0; max-width:none; }
  .invoice-table thead { display:table-header-group; }
}

/* ── v8.12 (A9) : cases a cocher OBLIGATOIRES ─────────────────
   Une case requise ressemblait a une case optionnelle : on ne voyait
   pourquoi le formulaire refusait de partir qu'apres avoir clique. */
input[type="checkbox"][required] {
    outline: 2px solid var(--xsngold2);
    outline-offset: 2px;
    border-radius: 2px;
}
input[type="checkbox"][required]:checked { outline-color: var(--border2); }
