/* Vitrine Page Directe : sombre uniquement, charte Digital Freedom (nuit, or). Aucune ressource externe. */

@font-face {
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("polices/bricolage-grotesque-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("polices/bricolage-grotesque-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    color-scheme: dark;
    --police: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
    --police-code: ui-monospace, "Cascadia Code", Consolas, monospace;

    /* Charte Digital Freedom */
    --nuit: #111e31;
    --nuit-2: #18283f;
    --nuit-3: #223553;
    --trait: #2c4063;
    --trait-doux: #1f3150;
    --or: #dca914;
    --or-fonce: #c4900e;
    --or-clair: #ebc24a;
    --texte: #eaeff6;
    --doux: #a9b6c9;
    --froid: #6fb3d9;
    --vert: #6fcf97;
    --sur-or: #17120a;

    --rayon: 14px;
    --rayon-petit: 9px;
    --ombre: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 20px 40px -18px rgb(3 8 18 / 0.7), 0 2px 6px rgb(3 8 18 / 0.35);
    --sortie: cubic-bezier(0.16, 1, 0.3, 1);
    --ressort: cubic-bezier(0.22, 1, 0.36, 1);
    --cadre: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--nuit); }
body {
    margin: 0;
    font-family: var(--police);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--texte);
    background: var(--nuit);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
::selection { background: var(--or); color: var(--sur-or); }
html { scrollbar-color: var(--trait) var(--nuit); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--nuit); }
::-webkit-scrollbar-thumb { background: var(--trait); border-radius: 10px; border: 3px solid var(--nuit); }

a { color: var(--or-clair); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 6px; }
img, svg { display: block; }
h1, h2, h3 { font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--or); color: var(--sur-or); padding: 0.6rem 1rem; border-radius: 8px; font-weight: 700; }
.evitement:focus { top: 1rem; }

.cadre { width: min(100% - 2.5rem, var(--cadre)); margin-inline: auto; }
.cadre-etroit { width: min(100% - 2.5rem, 780px); }

/* ---------- Boutons ---------- */
.bouton {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0 1.4rem;
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.35s var(--ressort), background-color 0.2s, border-color 0.2s, box-shadow 0.3s var(--sortie);
}
.bouton:active { transform: scale(0.97); }
.bouton-or {
    background: var(--or);
    color: var(--sur-or);
    box-shadow: 0 1px 0 rgb(255 255 255 / 0.35) inset, 0 6px 16px -6px rgb(2 6 14 / 0.75);
}
.bouton-or:hover { background: var(--or-clair); transform: translateY(-1px); box-shadow: 0 1px 0 rgb(255 255 255 / 0.4) inset, 0 10px 22px -8px rgb(2 6 14 / 0.8); }
.bouton-ligne { color: var(--texte); border: 1px solid var(--trait); background: rgb(24 40 63 / 0.6); }
.bouton-ligne:hover { border-color: var(--doux); background: var(--nuit-2); }
.bouton-petit { min-height: 2.5rem; padding: 0 1.05rem; font-size: 0.94rem; }

/* ---------- En-tête ---------- */
/* Fond flouté par défaut (lisible sans JavaScript) ; vitrine.js le retire tant que la page est tout en haut. */
.entete {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgb(17 30 49 / 0.82);
    backdrop-filter: blur(14px) saturate(1.3);
    border-bottom: 1px solid var(--trait-doux);
    transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.entete.en-haut { background: transparent; backdrop-filter: none; border-bottom-color: transparent; }
.entete-ligne { display: flex; align-items: center; gap: 2rem; height: 68px; }
.marque { display: flex; align-items: center; gap: 0.65rem; color: var(--texte); text-decoration: none; font-weight: 700; letter-spacing: -0.015em; font-size: 1.1rem; }
.marque-nom { display: grid; line-height: 1.1; }
.marque-nom small { font-size: 0.72rem; font-weight: 500; color: var(--doux); letter-spacing: 0; }
.prix-texte b { font-size: 1.9rem; }
.mini-adresses { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; font-family: var(--police-code); font-size: 0.84rem; color: var(--or-clair); }
.mini-adresses li { padding: 0.6rem 0.8rem; border-radius: 10px; background: var(--nuit); border: 1px solid var(--trait-doux); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-adresses span { color: var(--doux); }
.ancres { display: flex; gap: 0.3rem; margin-left: 1rem; }
.ancres a { color: var(--doux); text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 0.4rem 0.75rem; border-radius: 999px; transition: color 0.2s, background-color 0.2s; }
.ancres a:hover { color: var(--texte); background: var(--nuit-2); }
.entete-actions { margin-left: auto; display: flex; align-items: center; gap: 1.2rem; }
.lien-discret { color: var(--texte); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.lien-discret:hover { color: var(--or-clair); }
/* Hauteurs et proportions des mini-graphiques : posées ici, lisibles sans JavaScript (CSP : pas de style=). */
[data-h=".22"] { --h: .22 }
[data-h=".35"] { --h: .35 }
[data-h=".3"] { --h: .3 }
[data-h=".52"] { --h: .52 }
[data-h=".46"] { --h: .46 }
[data-h=".78"] { --h: .78 }
[data-h="1"] { --h: 1 }
[data-h=".4"] { --h: .4 }
[data-h=".55"] { --h: .55 }
[data-h=".48"] { --h: .48 }
[data-h=".7"] { --h: .7 }
[data-h=".62"] { --h: .62 }
[data-h=".92"] { --h: .92 }
[data-p=".62"] { --p: .62 }
[data-p=".24"] { --p: .24 }
[data-p=".14"] { --p: .14 }


/* ---------- Héros ---------- */
.heros { position: relative; padding: clamp(3.5rem, 9vw, 6.5rem) 0 0; background: linear-gradient(to bottom, var(--nuit) 0, var(--nuit) calc(100% - 15rem), var(--nuit-2) calc(100% - 15rem)); border-bottom: 1px solid var(--trait-doux); }
.heros .scene { margin-bottom: 0; }
.heros .scene-pied { padding-bottom: 1.4rem; }
.heros-texte { position: relative; text-align: center; max-width: 920px; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.1rem); font-weight: 800; letter-spacing: -0.035em; margin: 1.5rem auto 1.4rem; }
.chapeau { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--doux); max-width: 41rem; margin-inline: auto; }
.heros-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.8rem; margin: 2.2rem 0 1.6rem; }
.assurances { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem 1.6rem; list-style: none; padding: 0; margin: 0; color: var(--doux); font-size: 0.95rem; }
.assurances li { display: flex; align-items: center; gap: 0.45rem; }
.assurances svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: var(--or); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Scène produit ---------- */
.scene { margin: clamp(3rem, 6vw, 4.5rem) auto 0; max-width: 1060px; perspective: 1600px; }
.fenetre {
    border-radius: 18px;
    border: 1px solid var(--trait);
    background: linear-gradient(180deg, var(--nuit-2), #142338);
    box-shadow: 0 40px 80px -30px rgb(2 6 14 / 0.85), 0 0 0 1px rgb(255 255 255 / 0.02) inset;
    overflow: hidden;
    transform-origin: 50% 0;
}
.fenetre-barre { display: flex; align-items: center; gap: 0.45rem; height: 44px; padding: 0 1rem; border-bottom: 1px solid var(--trait-doux); background: rgb(17 30 49 / 0.6); }
.pastille-fenetre { width: 11px; height: 11px; border-radius: 50%; background: var(--trait); }
.fenetre-titre { margin-left: 0.8rem; font-size: 0.85rem; color: var(--doux); }
.fenetre-corps { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 1.25rem; padding: 1.5rem; min-height: 360px; }

.depot { display: flex; flex-direction: column; gap: 0.9rem; }
.depot-zone {
    position: relative;
    flex: 1;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.6rem;
    min-height: 220px;
    border: 1.5px dashed var(--trait);
    border-radius: var(--rayon);
    background: rgb(17 30 49 / 0.5);
    transition: border-color 0.4s, background-color 0.4s;
}
/* Consigne de dépôt : visible seulement au début de la séquence animée ; l'état final (sans JS) a déjà le fichier déposé. */
.depot-icone { width: 34px; height: 34px; fill: none; stroke: var(--doux); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: opacity 0.3s; visibility: hidden; }
.depot-texte { color: var(--doux); font-size: 0.95rem; transition: opacity 0.3s; visibility: hidden; }
.fichier {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: var(--nuit-3);
    border: 1px solid var(--trait);
    box-shadow: 0 18px 30px -12px rgb(2 6 14 / 0.8);
    transform: translate(-50%, -50%) rotate(0);
    white-space: nowrap;
}
.fichier svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--or); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fichier b { display: block; font-weight: 600; font-size: 0.95rem; }
.fichier small { color: var(--doux); font-size: 0.8rem; }
.envoi { height: 6px; border-radius: 99px; background: var(--trait-doux); overflow: hidden; }
.envoi-barre { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--or); transform-origin: left; }
.envoi-etat { font-size: 0.85rem; color: var(--doux); min-height: 1.4em; position: relative; }
.envoi-etat span { position: absolute; left: 0; transition: opacity 0.3s; }
.etat-envoi { visibility: hidden; }
.etat-fini { color: var(--vert); }

.publie {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.2rem 0 0 1.5rem;
    border-left: 1px solid var(--trait-doux);
    transition: opacity 0.6s var(--sortie), filter 0.6s;
}
.publie-tete { display: flex; justify-content: space-between; align-items: center; }
.statut { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.82rem; font-weight: 600; color: var(--vert); padding: 0.22rem 0.7rem; border-radius: 999px; border: 1px solid rgb(111 207 151 / 0.35); background: rgb(111 207 151 / 0.08); transition: color 0.3s, border-color 0.3s, background-color 0.3s; }
.statut-point { width: 7px; height: 7px; border-radius: 50%; background: var(--vert); }
.version { font-size: 0.8rem; color: var(--doux); }
.publie-titre { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; }
.adresse {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.6rem 0.6rem 0.85rem;
    border-radius: 11px;
    background: var(--nuit);
    border: 1px solid var(--trait);
    font-family: var(--police-code);
    font-size: 0.9rem;
}
.adresse svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--doux); stroke-width: 1.8; stroke-linecap: round; }
.adresse-texte { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; }
.adresse-hote { color: var(--doux); }
.adresse-slug { color: var(--or-clair); }
.curseur { display: inline-block; width: 2px; height: 1.05em; vertical-align: -0.15em; background: var(--or); margin-left: 1px; visibility: hidden; }
.copier { font-family: var(--police); font-size: 0.8rem; font-weight: 600; color: var(--sur-or); background: var(--or); padding: 0.28rem 0.7rem; border-radius: 7px; }
.mesures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.mesures { border-block: 1px solid var(--trait-doux); padding: 0.8rem 0; }
.mesure { padding: 0 0.8rem; border-left: 1px solid var(--trait-doux); }
.mesure:first-child { border-left: 0; padding-left: 0; }
.mesure-nom { display: block; font-size: 0.74rem; color: var(--doux); }
.mesure b { font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.mesure-source { font-size: 1.05rem !important; }
.histo { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.histo span { flex: 1; height: 100%; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--or), var(--or-fonce)); transform: scaleY(var(--h, 0.5)); transform-origin: bottom; transition: transform 0.9s var(--ressort); }

.scene-pied { display: flex; justify-content: space-between; align-items: center; margin-top: 0.9rem; font-size: 0.82rem; color: var(--doux); padding-inline: 0.3rem; }
.rejouer { display: inline-flex; align-items: center; gap: 0.4rem; font: inherit; color: var(--doux); background: none; border: 0; cursor: pointer; padding: 0.3rem 0.5rem; border-radius: 6px; }
.rejouer:hover { color: var(--texte); }
.rejouer svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rejouer[hidden] { display: none; }

/* États de la séquence. Les règles ci-dessus décrivent l'état final, celui qu'on voit sans JavaScript ou avec
   « réduire les animations ». Les étapes intermédiaires (data-etape, posé par vitrine.js) n'existent que sous .anime. */
.anime .scene[data-etape="attente"] .fichier { opacity: 0; transform: translate(40%, -170%) rotate(8deg); }
.anime .scene:not([data-etape="attente"]) .fichier { transition: transform 0.9s var(--ressort), opacity 0.3s; }
.anime .depot-icone, .anime .depot-texte { visibility: visible; opacity: 0; }
.anime .scene[data-etape="attente"] .depot-icone, .anime .scene[data-etape="attente"] .depot-texte { opacity: 1; }
.anime .scene[data-etape="depose"] .depot-zone { border-color: var(--or); background: rgb(220 169 20 / 0.06); }
.anime .scene[data-etape="attente"] .envoi-barre, .anime .scene[data-etape="depose"] .envoi-barre { transform: scaleX(0); }
.anime .scene[data-etape="envoi"] .envoi-barre { transition: transform 1.3s cubic-bezier(0.65, 0, 0.35, 1); }
.anime .etat-envoi { visibility: visible; opacity: 0; }
.anime .scene[data-etape="envoi"] .etat-envoi { opacity: 1; }
.anime .scene[data-etape="attente"] .etat-fini, .anime .scene[data-etape="depose"] .etat-fini, .anime .scene[data-etape="envoi"] .etat-fini { opacity: 0; }
.anime .scene[data-etape="attente"] .publie, .anime .scene[data-etape="depose"] .publie, .anime .scene[data-etape="envoi"] .publie { opacity: 0.35; filter: saturate(0.3); }
.anime .scene[data-etape="adresse"] .curseur { visibility: visible; animation: clignote 0.9s steps(1) infinite; }
.anime .scene:not([data-etape="fin"]) .statut { color: var(--doux); border-color: var(--trait); background: none; }
.anime .scene:not([data-etape="fin"]) .statut-point { background: var(--doux); }
/* Mise en ligne : trois ondes autour du point, puis il reste fixe. */
.anime .scene[data-etape="fin"] .statut-point { animation: pouls 2.2s var(--sortie) 3; }
.anime .scene:not([data-etape="fin"]) .histo span { transform: scaleY(0.06); }
.anime .scene[data-etape="fin"] .histo span:nth-child(2) { transition-delay: 0.05s; }
.anime .scene[data-etape="fin"] .histo span:nth-child(3) { transition-delay: 0.1s; }
.anime .scene[data-etape="fin"] .histo span:nth-child(4) { transition-delay: 0.15s; }
.anime .scene[data-etape="fin"] .histo span:nth-child(5) { transition-delay: 0.2s; }
.anime .scene[data-etape="fin"] .histo span:nth-child(6) { transition-delay: 0.25s; }
.anime .scene[data-etape="fin"] .histo span:nth-child(7) { transition-delay: 0.3s; }

@keyframes clignote { 50% { opacity: 0; } }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 rgb(111 207 151 / 0.55); } 100% { box-shadow: 0 0 0 9px rgb(111 207 151 / 0); } }

/* ---------- Sections ---------- */
.section { padding: clamp(5rem, 10vw, 8rem) 0; position: relative; }
.tete-section { max-width: 44rem; margin-bottom: 3rem; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); font-weight: 700; letter-spacing: -0.03em; }
.tete-section p, .chapeau-section { margin-top: 1.1rem; color: var(--doux); font-size: 1.12rem; max-width: 38rem; }

/* IA */
.ia { border-top: 1px solid var(--trait-doux); }
.ia-grille { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.ia-texte p { margin-top: 1.2rem; color: var(--doux); font-size: 1.12rem; }
.liste-coches { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 0.85rem; }
.liste-coches li { padding-left: 1.9rem; position: relative; }
.liste-coches li::before { content: ""; position: absolute; left: 0; top: 0.4em; width: 1.05rem; height: 1.05rem; border-radius: 50%; border: 1.5px solid var(--or); background: radial-gradient(circle, var(--or) 0 3px, transparent 3.5px); }
.code { border-radius: 16px; border: 1px solid var(--trait); background: #0d1828; box-shadow: var(--ombre); overflow: hidden; }
.code-onglets { display: flex; align-items: center; gap: 0.2rem; padding: 0.5rem 0.6rem 0; border-bottom: 1px solid var(--trait-doux); background: var(--nuit); }
.onglet { font-size: 0.82rem; color: var(--doux); padding: 0.45rem 0.85rem; border-radius: 8px 8px 0 0; }
.onglet.actif { color: var(--texte); background: #0d1828; box-shadow: 0 -2px 0 var(--or) inset; }
.code-enreg { margin-left: auto; font-size: 0.78rem; color: var(--vert); padding-right: 0.4rem; }
.code-corps { margin: 0; padding: 1.2rem 1.3rem; font-family: var(--police-code); font-size: 0.88rem; line-height: 1.85; color: var(--texte); overflow-x: auto; }
.code-corps .n { display: inline-block; width: 1.6rem; color: #7d91b0; user-select: none; }
.code-corps .t { color: var(--froid); }
.code-corps .a { color: var(--or-clair); }
.code-corps .v { color: var(--vert); }
.code-apercu { margin: 0 1.1rem 1.1rem; padding: 1.3rem; border-radius: 12px; background: var(--texte); color: var(--nuit); display: grid; gap: 0.3rem; justify-items: start; }
.apercu-titre { font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.apercu-date { color: #45556d; font-size: 0.95rem; }
.apercu-bouton { margin-top: 0.6rem; background: var(--nuit); color: var(--texte); padding: 0.45rem 1rem; border-radius: 999px; font-size: 0.88rem; font-weight: 600; }

/* Mosaïque */
.mosaique { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tuile {
    --mx: 50%;
    --my: 50%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.6rem;
    padding: 1.6rem;
    border-radius: 18px;
    border: 1px solid var(--trait-doux);
    background: var(--nuit-2);
    overflow: hidden;
    isolation: isolate;
}
/* Reflet qui suit la souris (position posée par vitrine.js) : seulement avec les animations. */
.anime .tuile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgb(220 169 20 / 0.09), transparent 45%);
    opacity: 0;
    transition: opacity 0.4s;
}
.anime .tuile:hover::before { opacity: 1; }
.tuile:hover { border-color: var(--trait); }
.tuile-large { grid-column: span 2; flex-direction: row; align-items: center; }
.tuile-pleine { grid-column: 1 / -1; }
.tuile-large .tuile-texte { flex: 0 1 19rem; }
.tuile-large > :last-child { flex: 1; }
.tuile h3 { font-size: 1.28rem; font-weight: 700; letter-spacing: -0.02em; }
.tuile p { margin-top: 0.55rem; color: var(--doux); font-size: 0.98rem; }

.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; align-items: end; }
.barres { display: flex; align-items: flex-end; gap: 8px; height: 140px; }
.jours { display: flex; gap: 8px; margin-top: 0.4rem; }
.jours span { flex: 1; text-align: center; font-size: 0.72rem; color: var(--doux); }
.barres span { flex: 1; height: calc(var(--h, 0.5) * 100%); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--froid), #3f7ea6); }
.barres span:last-child { background: linear-gradient(180deg, var(--or-clair), var(--or-fonce)); }
.sources { list-style: none; padding: 0; margin: 0 0 1.3rem; display: grid; gap: 0.75rem; font-size: 0.88rem; }
.sources li { display: grid; grid-template-columns: 5.2rem minmax(3.5rem, 1fr) 2.6rem; align-items: center; gap: 0.6rem; }
.sources b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.jauge { height: 6px; border-radius: 99px; background: var(--trait-doux); position: relative; overflow: hidden; }
.jauge::after { content: ""; position: absolute; inset: 0; width: calc(var(--p, 0.5) * 100%); border-radius: inherit; background: var(--froid); }

.mini-mdp { display: grid; gap: 0.6rem; }
.champ { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.9rem; border-radius: 10px; background: var(--nuit); border: 1px solid var(--trait); color: var(--doux); }
.champ svg { width: 18px; height: 18px; fill: none; stroke: var(--or); stroke-width: 1.8; stroke-linecap: round; }
.points { letter-spacing: 0.15em; font-size: 0.7rem; }
.mini-bouton { justify-self: start; font-size: 0.85rem; font-weight: 600; color: var(--sur-or); background: var(--or); padding: 0.4rem 0.95rem; border-radius: 999px; }

.mini-versions { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.mini-versions li { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.85rem; border-radius: 10px; background: var(--nuit); border: 1px solid var(--trait-doux); font-size: 0.9rem; }
.mini-versions em { font-style: normal; font-size: 0.8rem; color: var(--or-clair); }
.mini-versions .courante { border-color: rgb(111 207 151 / 0.35); }
.mini-versions .courante em { color: var(--vert); }

.mini-qr { display: grid; place-items: center; }
.mini-qr svg { width: 128px; height: 128px; padding: 10px; border-radius: 12px; background: var(--texte); }
.mini-qr rect { fill: var(--nuit); }

.mini-fin { display: flex; align-items: center; gap: 1rem; padding: 0.9rem; border-radius: 12px; background: var(--nuit); border: 1px solid var(--trait-doux); }
.cal { display: grid; place-items: center; width: 3.6rem; height: 3.8rem; border-radius: 10px; background: linear-gradient(var(--or) 0 7px, var(--nuit-3) 7px); padding-top: 7px; line-height: 1; }
.cal b { font-size: 1.5rem; }
.cal small { font-size: 0.75rem; color: var(--doux); }
.fin-texte { display: grid; font-weight: 600; font-size: 0.95rem; }
.fin-texte small { font-weight: 400; color: var(--doux); font-size: 0.82rem; }

.mini-dossiers { list-style: none; padding: 0.5rem; margin: 0; border-radius: 12px; background: var(--nuit); border: 1px solid var(--trait-doux); font-size: 0.92rem; }
.mini-dossiers li { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.7rem; border-radius: 8px; }
.mini-dossiers li em { margin-left: auto; font-style: normal; font-size: 0.78rem; color: var(--doux); }
.mini-dossiers svg { width: 18px; height: 18px; fill: rgb(220 169 20 / 0.15); stroke: var(--or); stroke-width: 1.6; }
.mini-dossiers .page { padding-left: 2.2rem; }
.mini-pages .page { padding-left: 0.7rem; }
.mini-dossiers .page em { color: var(--vert); }
.mini-dossiers .ouvert { background: var(--nuit-2); }
.etoile { color: var(--or); font-size: 0.85rem; }
.etoile.vide { color: var(--trait); }

/* Confiance */
.confiance { background: linear-gradient(180deg, var(--nuit) 0%, #0e192a 100%); border-block: 1px solid var(--trait-doux); }
.confiance-grille { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.parcours-acces { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: 0; counter-reset: p; }
.parcours-acces li { position: relative; padding: 0 0 1.5rem 2.6rem; display: grid; }
.parcours-acces li::before { counter-increment: p; content: counter(p); position: absolute; left: 0; top: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.85rem; font-weight: 700; color: var(--sur-or); background: var(--or); }
.parcours-acces li:not(:last-child)::after { content: ""; position: absolute; left: 0.88rem; top: 2rem; bottom: 0.2rem; width: 1px; background: var(--trait); }
.parcours-acces span { color: var(--doux); font-size: 0.97rem; }
.engagements { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.8rem; }
.engagements li { display: flex; gap: 1rem; padding: 1.2rem 1.3rem; border-radius: 16px; background: var(--nuit-2); border: 1px solid var(--trait-doux); }
.engagements svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--or); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.engagements div { display: grid; }
.engagements span { color: var(--doux); font-size: 0.95rem; }

/* Étapes */
.etapes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.etapes::before { content: ""; position: absolute; top: 0.55rem; left: 0.55rem; right: 0.55rem; height: 2px; background: var(--trait-doux); }
.etapes::after { content: ""; position: absolute; top: 0.55rem; left: 0.55rem; right: 0.55rem; height: 2px; background: linear-gradient(90deg, var(--or), var(--or-clair)); transform: scaleX(var(--trace, 1)); transform-origin: left; transition: transform 1.6s var(--sortie); }
.etapes li { position: relative; padding-top: 2.4rem; }
.etape-point { position: absolute; top: 0; left: 0; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--nuit); border: 2px solid var(--or); z-index: 1; }
.etapes h3 { font-size: 1.35rem; font-weight: 700; }
.etapes p { margin-top: 0.6rem; color: var(--doux); }

/* Tarifs */
.tarifs { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 19rem)); justify-content: center; gap: 1rem; }
.tarif { display: flex; flex-direction: column; padding: 1.7rem 1.5rem 1.5rem; border-radius: 18px; background: var(--nuit-2); border: 1px solid var(--trait-doux); transition: border-color 0.3s, transform 0.5s var(--ressort); }
.tarif:hover { border-color: var(--trait); transform: translateY(-4px); }
.tarif h3 { font-size: 1.15rem; font-weight: 600; color: var(--doux); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.prix { margin: 0.9rem 0 1.3rem; display: flex; align-items: baseline; gap: 0.45rem; flex-wrap: wrap; }
.prix b { font-size: 2.35rem; font-weight: 700; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.prix span { color: var(--doux); font-size: 0.92rem; }
.tarif ul { list-style: none; padding: 1.2rem 0 0; margin: 0 0 1.6rem; border-top: 1px solid var(--trait-doux); display: grid; gap: 0.65rem; flex: 1; font-size: 0.95rem; }
.tarif li { padding-left: 1.6rem; position: relative; }
.tarif li::before { content: ""; position: absolute; left: 0.15rem; top: 0.45em; width: 0.75rem; height: 0.42rem; border-left: 2px solid var(--or); border-bottom: 2px solid var(--or); transform: rotate(-45deg); }
.tarif li.absent { color: #8b9bb3; }
.tarif li.absent::before { border: 0; height: 2px; width: 0.7rem; top: 0.72em; background: #8b9bb3; transform: none; }
.tarif .bouton { width: 100%; }
.note-tarifs { margin-top: 1.6rem; color: var(--doux); font-size: 0.95rem; text-align: center; }

/* FAQ */
.faq { border-top: 1px solid var(--trait-doux); }
.faq details { border-bottom: 1px solid var(--trait-doux); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.35rem 0.2rem; font-weight: 600; font-size: 1.12rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 0.6rem; height: 0.6rem; border-right: 2px solid var(--doux); border-bottom: 2px solid var(--doux); transform: rotate(45deg) translateY(-3px); transition: transform 0.35s var(--ressort); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); border-color: var(--or); }
.faq summary:hover { color: var(--or-clair); }
.faq p { padding: 0 0.2rem 1.4rem; color: var(--doux); max-width: 62ch; }

/* Appel final */
.appel { position: relative; padding: clamp(6rem, 12vw, 9rem) 0; text-align: center; background: var(--nuit-2); border-top: 1px solid var(--trait); }
.appel-contenu { display: grid; justify-items: center; gap: 2.2rem; }
.appel h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 16ch; }

/* Pied */
.pied { border-top: 1px solid var(--trait-doux); padding: 2rem 0 2.5rem; color: var(--doux); font-size: 0.92rem; }
.pied-ligne { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; justify-content: space-between; align-items: center; }
.pied-marque { display: flex; align-items: center; gap: 0.6rem; }
.pied nav { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.pied a { color: var(--doux); text-decoration: none; }
.pied a:hover { color: var(--texte); }

/* ---------- Apparitions (seulement avec JS et sans « réduire les animations ») ---------- */
.anime [data-reveal] { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 0.9s var(--sortie), transform 0.9s var(--sortie), filter 0.9s var(--sortie); transition-delay: calc(var(--i, 0) * 80ms); }
.anime [data-reveal].vu { opacity: 1; transform: none; filter: none; }
.anime .scene[data-reveal] { transform: translateY(40px) rotateX(10deg); transition-duration: 1.3s; }
.anime .scene[data-reveal].vu { transform: none; }

/* ---------- Adaptations ---------- */
@media (max-width: 1000px) {
    .ancres { display: none; }
    .mosaique { grid-template-columns: repeat(2, 1fr); }
    .tuile-large { grid-column: span 2; }
}
@media (max-width: 760px) {
    .lien-discret { display: none; }
    .fenetre-corps { grid-template-columns: minmax(0, 1fr); }
    .depot-zone { min-height: 170px; }
    .ia-grille, .confiance-grille { grid-template-columns: 1fr; }
    .mosaique { grid-template-columns: 1fr; }
    .tuile-large, .tuile-pleine { grid-column: auto; flex-direction: column; align-items: stretch; }
    .tuile-large .tuile-texte { flex: none; }
    .mini-stats { grid-template-columns: 1fr; }
    .etapes { grid-template-columns: 1fr; gap: 1.6rem; padding-left: 0.2rem; }
    .etapes::before, .etapes::after { top: 0.55rem; bottom: 0.55rem; left: 0.55rem; right: auto; width: 2px; height: auto; transform: scaleY(var(--trace, 1)); transform-origin: top; }
    .etapes li { padding: 0 0 0 2.4rem; }
    .mesures { grid-template-columns: repeat(2, 1fr); }
    .mesures .mesure:last-child { grid-column: span 2; }
}
@media (max-width: 420px) {
    .entete-ligne { gap: 0.8rem; }
    .marque { min-width: 0; }
    .marque-nom { font-size: 1rem; }
    .bouton-petit { padding: 0 0.8rem; font-size: 0.86rem; }
}
/* Téléphone étroit : sans sous-titre de marque, le bouton peut passer sur deux lignes ; rien ne déborde à 320 px. */
@media (max-width: 400px) {
    .marque-nom small { display: none; }
    .entete-actions { min-width: 0; }
    .bouton-petit { white-space: normal; text-align: center; line-height: 1.2; padding-block: 0.3rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
