/*
 * Site public.
 *
 * Feuille autonome : elle ne partage rien avec app.css. Une page vue par un
 * inconnu, souvent sur un téléphone, n'a pas les contraintes d'un écran de
 * travail — et n'a pas à charger ce dont elle ne se sert pas.
 *
 * Parti pris : clair et large. Le produit se montre, il ne se raconte pas :
 * les captures et le widget réel portent la page, la typographie tient le
 * reste. Instrument Sans pour les titres, Inter pour le texte, Instrument
 * Serif italique pour le mot qu'on veut entendre.
 */

@import url('/assets/fonts/polices.css');

:root {
    /* Encres — une base bleu nuit plutôt qu'un gris neutre : tout le site
       descend de la couleur de marque, jusqu'au texte courant. */
    --encre: #0b1220;
    --encre-700: #3a455a;
    --encre-500: #6b7689;
    --encre-300: #a9b2c1;
    --trait: #e6eaf1;
    --trait-fort: #d3dae6;

    --fond: #fbfbfd;
    --carte: #ffffff;
    --blanc: #ffffff;

    --bleu: #1257ff;
    --bleu-vif: #2f6dff;
    --bleu-fonce: #0a3fc2;
    --bleu-pale: #f2f6ff;
    --bleu-voile: rgba(18, 87, 255, .08);

    --or: #f5a623;
    --ok: #17794b;
    --alerte: #a96412;

    --rayon: 14px;
    --rayon-lg: 22px;

    --display: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --texte: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;

    --gouttiere: clamp(20px, 4vw, 40px);
    --respiration: clamp(3.8rem, 7vw, 6.6rem);

    /* Le verrouillage du défilement change la largeur utile : réservée une
       fois pour toutes, la page ne saute pas à l'ouverture d'un menu. */
    scrollbar-gutter: stable;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--texte);
    font-size: 17px;
    line-height: 1.65;
    color: var(--encre-700);
    background: var(--fond);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* --- Typographie ------------------------------------------------------- */

h1, h2, h3, h4 {
    font-family: var(--display);
    color: var(--encre);
    margin: 0 0 .5em;
    line-height: 1.06;
    letter-spacing: -.028em;
    font-weight: 600;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4.1vw, 3.3rem); }
h3 { font-size: clamp(1.18rem, 1.6vw, 1.45rem); letter-spacing: -.018em; }
h4 { font-size: 1.05rem; letter-spacing: -.012em; }

/* Le mot qu'on veut entendre. Jamais de masque dessus : l'italique du serif
   a des jambages qui dépassent, un overflow:hidden les rognerait. */
.serif {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.01em;
    color: var(--bleu);
}

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--bleu); text-decoration: none; }
a:hover { color: var(--bleu-fonce); }

strong { color: var(--encre); font-weight: 600; }

.petit { font-size: .92rem; }
.muet { color: var(--encre-500); }
.centre { text-align: center; }
.chapeau {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.6;
    color: var(--encre-700);
    max-width: 34em;
}
.centre .chapeau { margin-inline: auto; }

/* --- Charpente --------------------------------------------------------- */

.contenu {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 var(--gouttiere);
}
.contenu--etroit { max-width: 780px; }

.section { padding: var(--respiration) 0; scroll-margin-top: 92px; }
.section--doux { background: var(--blanc); }
.section--encre { background: var(--encre); color: #c7cfdd; }
.section--encre h1, .section--encre h2, .section--encre h3 { color: var(--blanc); }
.section--encre .muet { color: #8f9bb0; }

.section__intro { max-width: 46rem; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.section__intro.centre { margin-inline: auto; }
.section__intro p { font-size: clamp(1.02rem, 1.25vw, 1.18rem); color: var(--encre-500); }

/* Étiquette de section : un numéro, un mot. Elle donne le rythme de lecture
   sans ajouter de titre. */
.oeil {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-family: var(--display);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--bleu);
    margin-bottom: 1.2rem;
}
.oeil::before {
    content: "";
    width: 2rem;
    height: 1px;
    background: currentColor;
    opacity: .45;
}
.section--encre .oeil { color: var(--bleu-vif); }

.grille { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.grille--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grille--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grille--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* --- Boutons ----------------------------------------------------------- */

.bouton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--display);
    font-size: .97rem;
    font-weight: 600;
    letter-spacing: -.005em;
    line-height: 1;
    padding: .82rem 1.3rem;
    border-radius: 999px;
    border: 1px solid var(--trait-fort);
    background: var(--blanc);
    color: var(--encre);
    cursor: pointer;
    transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.bouton:hover { border-color: var(--encre-300); color: var(--encre); transform: translateY(-1px); }

.bouton--plein {
    background: var(--bleu);
    border-color: var(--bleu);
    color: var(--blanc);
}
.bouton--plein:hover { background: var(--bleu-fonce); border-color: var(--bleu-fonce); color: var(--blanc); }

.bouton--grand { padding: 1.02rem 1.7rem; font-size: 1.04rem; }
.bouton--nu { border-color: transparent; background: transparent; }
.bouton--nu:hover { background: var(--bleu-pale); }

.actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.centre .actions { justify-content: center; }

/* --- En-tête ----------------------------------------------------------- */

.entete {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(251, 251, 253, .82);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, background .25s;
}
.entete.est-pose {
    border-bottom-color: var(--trait);
    background: rgba(251, 251, 253, .93);
}

.entete__barre {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    min-height: 74px;
}
.entete__logo { display: inline-flex; align-items: center; }
.entete__logo img { display: block; height: 30px; width: auto; }

.entete__nav { display: flex; gap: .35rem; margin-left: auto; }
.entete__nav a {
    font-family: var(--display);
    font-size: .95rem;
    font-weight: 500;
    color: var(--encre-700);
    padding: .5rem .8rem;
    border-radius: 999px;
}
.entete__nav a:hover { background: var(--bleu-pale); color: var(--bleu-fonce); }
.entete__nav a[aria-current] { color: var(--bleu); font-weight: 600; }

.entete__actions { display: flex; gap: .6rem; align-items: center; }
.entete__actions .bouton { padding: .68rem 1.1rem; font-size: .93rem; }

.entete__burger {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--trait-fort);
    border-radius: 999px;
    background: var(--blanc);
    cursor: pointer;
    position: relative;
}
.entete__burger span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 1.5px;
    background: var(--encre);
    border-radius: 2px;
    transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .18s;
}
/* Les trois barres partent du centre et sont écartées par transform :
   la croix se referme donc exactement, sans décalage résiduel. */
.entete__burger span:nth-child(1) { transform: translate(-50%, -50%) translateY(-5px); }
.entete__burger span:nth-child(2) { transform: translate(-50%, -50%); }
.entete__burger span:nth-child(3) { transform: translate(-50%, -50%) translateY(5px); }
body.menu-ouvert .entete__burger span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
body.menu-ouvert .entete__burger span:nth-child(2) { opacity: 0; }
body.menu-ouvert .entete__burger span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

.voile {
    position: fixed;
    inset: 74px 0 0;
    z-index: 55;
    background: var(--fond);
    padding: 2rem var(--gouttiere) 3rem;
    display: none;
    flex-direction: column;
    gap: .4rem;
    overflow-y: auto;
}
body.menu-ouvert .voile { display: flex; }
.voile a {
    font-family: var(--display);
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--encre);
    padding: .6rem 0;
    border-bottom: 1px solid var(--trait);
}
.voile .bouton { margin-top: 1.4rem; font-size: 1rem; }

/* --- Hero -------------------------------------------------------------- */

.heros {
    position: relative;
    padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
    overflow: hidden;
}
/* Nappe bleue très pâle : elle pose la marque sans rien assombrir. */
.heros::before {
    content: "";
    position: absolute;
    inset: -30% -10% auto -10%;
    height: 120%;
    background:
        radial-gradient(60% 55% at 22% 18%, rgba(18, 87, 255, .13), transparent 68%),
        radial-gradient(48% 48% at 88% 8%, rgba(18, 87, 255, .10), transparent 70%);
    pointer-events: none;
}
.heros > * { position: relative; }

.heros__texte { max-width: 56rem; }
.heros h1 { margin-bottom: .55em; }
.heros .chapeau { max-width: 38em; margin-bottom: 2rem; }
.heros__note { margin-top: 1.3rem; font-size: .92rem; color: var(--encre-500); }

/* Un titre dont chaque ligne monte derrière son masque. Le padding compense
   le crénage négatif : sans lui, l'encre des grandes lettres déborde de sa
   boîte et se fait rogner sur les côtés. */
.ligne { display: block; overflow: hidden; padding-inline: .11em; margin-inline: -.11em; }
.ligne > span { display: block; }

/* --- Volet produit ----------------------------------------------------- */

/* Une capture posée comme une fenêtre : barre discrète, ombre longue, léger
   décollement. Le cadre dit « c'est le vrai logiciel » sans le sur-jouer. */
.volet {
    border-radius: var(--rayon-lg);
    background: var(--blanc);
    border: 1px solid var(--trait);
    box-shadow:
        0 1px 2px rgba(11, 18, 32, .04),
        0 24px 50px -24px rgba(11, 18, 32, .22);
    overflow: hidden;
}
.volet__barre {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .7rem .9rem;
    border-bottom: 1px solid var(--trait);
    background: #f8fafc;
}
.volet__pastille { width: 9px; height: 9px; border-radius: 50%; background: var(--trait-fort); }
.volet__adresse {
    margin-left: .6rem;
    font-size: .76rem;
    color: var(--encre-300);
    font-family: var(--texte);
    letter-spacing: .01em;
}
.volet img { display: block; width: 100%; height: auto; }

.heros__volet { margin-top: clamp(2.2rem, 4vw, 3.4rem); position: relative; }

/* Vignettes qui débordent du volet : elles montrent le résultat côté client
   pendant que le volet montre le logiciel. */
.flottant {
    position: absolute;
    background: var(--blanc);
    border: 1px solid var(--trait);
    border-radius: var(--rayon);
    box-shadow: 0 18px 40px -18px rgba(11, 18, 32, .3);
    padding: .9rem 1.05rem;
}
.flottant--avis { right: -1.5rem; bottom: -1.8rem; width: 19rem; }
.flottant--note { left: -1.6rem; top: 46%; width: 12.5rem; }

.etoiles { color: var(--or); letter-spacing: .12em; font-size: .95rem; }

/* --- Chiffres ---------------------------------------------------------- */

.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.4rem; }
.chiffre { border-left: 2px solid var(--bleu-voile); padding-left: 1.3rem; }
.chiffre__valeur {
    display: block;
    font-family: var(--display);
    font-size: clamp(2.3rem, 4vw, 3.4rem);
    font-weight: 600;
    letter-spacing: -.035em;
    color: var(--encre);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.chiffre__libelle { display: block; margin-top: .6rem; font-size: .96rem; color: var(--encre-500); }

/* --- Duo texte + capture ----------------------------------------------- */

.duo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.duo--inverse .duo__texte { order: 2; }
.duo + .duo { margin-top: clamp(3rem, 5.5vw, 5rem); }
.duo__texte h2 { margin-bottom: .45em; }

.liste { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .85rem; }
.liste li { display: flex; gap: .75rem; align-items: flex-start; }
.liste svg { flex: none; width: 20px; height: 20px; margin-top: .22rem; color: var(--bleu); }

/* --- Cartes ------------------------------------------------------------ */

.carte {
    background: var(--carte);
    border: 1px solid var(--trait);
    border-radius: var(--rayon);
    padding: 1.6rem;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.carte:hover {
    border-color: var(--trait-fort);
    box-shadow: 0 14px 34px -22px rgba(11, 18, 32, .3);
    transform: translateY(-2px);
}
.carte h3 { margin-bottom: .4em; }
.carte p { color: var(--encre-500); margin: 0; }
.carte__icone {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--bleu-pale);
    color: var(--bleu);
    margin-bottom: 1.1rem;
}
.carte__icone svg { width: 21px; height: 21px; }

/* --- Étapes ------------------------------------------------------------ */

.etapes { counter-reset: etape; display: grid; gap: 0; }
.etape {
    counter-increment: etape;
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 2.5rem);
    padding: clamp(1.6rem, 3vw, 2.4rem) 0;
    border-top: 1px solid var(--trait);
    align-items: start;
}
.etape:last-child { border-bottom: 1px solid var(--trait); }
.etape__num {
    font-family: var(--display);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: 1;
    color: var(--trait-fort);
}
.etape__num::before { content: "0" counter(etape); }
.etape h3 { margin-bottom: .3em; }
.etape p { color: var(--encre-500); margin: 0; }

/* --- Avis --------------------------------------------------------------- */

.avis {
    background: var(--carte);
    border: 1px solid var(--trait);
    border-radius: var(--rayon);
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: .8rem;
}
.avis__tete { display: flex; align-items: center; gap: .7rem; }
.avis__pastille {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--bleu-pale);
    color: var(--bleu);
    font-family: var(--display);
    font-weight: 600;
}
.avis__nom { font-family: var(--display); font-weight: 600; color: var(--encre); font-size: .97rem; }
.avis__date { font-size: .82rem; color: var(--encre-300); }
.avis p { font-size: .96rem; color: var(--encre-700); margin: 0; }

/* --- Tarif -------------------------------------------------------------- */

.tarif {
    border: 1px solid var(--trait);
    border-radius: var(--rayon-lg);
    background: var(--carte);
    padding: clamp(2rem, 4vw, 3.2rem);
    box-shadow: 0 30px 60px -40px rgba(11, 18, 32, .35);
}
.tarif__prix {
    font-family: var(--display);
    font-size: clamp(3rem, 6vw, 4.6rem);
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: 1;
    color: var(--encre);
}
.tarif__unite { font-family: var(--texte); font-size: 1rem; font-weight: 400; color: var(--encre-500); letter-spacing: 0; }

/* --- Questions ---------------------------------------------------------- */

.question { border-bottom: 1px solid var(--trait); }
.question summary {
    cursor: pointer;
    list-style: none;
    padding: 1.25rem 2.5rem 1.25rem 0;
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.08rem;
    letter-spacing: -.015em;
    color: var(--encre);
    position: relative;
}
.question summary::-webkit-details-marker { display: none; }
.question summary::after {
    content: "";
    position: absolute;
    right: .4rem;
    top: 50%;
    width: 11px;
    height: 11px;
    border-right: 1.6px solid var(--encre-300);
    border-bottom: 1.6px solid var(--encre-300);
    transform: translateY(-60%) rotate(45deg);
    transition: transform .22s;
}
.question[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.question__corps { padding: 0 0 1.4rem; color: var(--encre-500); }
.question__corps p:last-child { margin-bottom: 0; }

/* --- Formulaires --------------------------------------------------------- */

.champ { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.champ label { font-family: var(--display); font-weight: 600; font-size: .92rem; color: var(--encre); }
.champ input, .champ textarea, .champ select {
    font: inherit;
    font-size: 1rem;
    color: var(--encre);
    background: var(--blanc);
    border: 1px solid var(--trait-fort);
    border-radius: 10px;
    padding: .75rem .9rem;
    width: 100%;
}
.champ input:focus, .champ textarea:focus, .champ select:focus {
    outline: none;
    border-color: var(--bleu-vif);
    box-shadow: 0 0 0 3px var(--bleu-voile);
}
.champ__aide { font-size: .87rem; color: var(--encre-500); }
.champ__erreur { font-size: .87rem; color: #c0362c; }

.note {
    border: 1px solid var(--trait);
    border-left: 3px solid var(--bleu);
    background: var(--blanc);
    border-radius: 10px;
    padding: .9rem 1.1rem;
    margin: 1.2rem 0;
    font-size: .96rem;
}
.note--ok { border-left-color: var(--ok); }
.note--bad { border-left-color: #c0362c; }
.note--warn { border-left-color: var(--alerte); }

/* --- Pied --------------------------------------------------------------- */

.pied { background: var(--encre); color: #97a2b6; padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.pied__grille { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; }
.pied img { height: 30px; width: auto; }
.pied h2 {
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #6f7c93;
    margin: 0 0 1rem;
    font-weight: 600;
}
.pied a { display: block; color: #c7cfdd; padding: .28rem 0; font-size: .96rem; }
.pied a:hover { color: var(--blanc); }
.pied .muet { color: #6f7c93; }
.pied__bas {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}
.pied__bas p { margin: 0; }
.pied .pied__auteur { display: inline; margin: 0; padding: 0; font-size: inherit; color: #3d7bff; font-weight: 600; text-decoration: none; }
.pied__bas p { white-space: nowrap; }
.pied .pied__auteur:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --- Texte long : aide, mentions, documentation de l'API ---------------- */

.aide { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }

.aide__sommaire {
    position: sticky;
    top: 110px;
    font-size: .94rem;
    border-left: 1px solid var(--trait);
    padding-left: 1.2rem;
}
.aide__sommaire a { display: block; padding: .3rem 0; color: var(--encre-500); }
.aide__sommaire a:hover { color: var(--bleu); }

.aide__corps { max-width: 44rem; }
.aide__corps h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-top: 2.6rem; scroll-margin-top: 110px; }
.aide__corps h3 { margin-top: 1.9rem; }
.aide__corps > :first-child { margin-top: 0; }
.aide__corps ul, .aide__corps ol { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.aide__corps li { margin-bottom: .45rem; }
.aide__corps pre {
    background: var(--encre);
    color: #d7dfec;
    padding: 1.1rem 1.25rem;
    border-radius: var(--rayon);
    overflow-x: auto;
    font-size: .88rem;
    line-height: 1.55;
}
.aide__corps pre code { background: none; color: inherit; padding: 0; }
.aide__corps code, .mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .89em;
}
.aide__corps code {
    background: var(--bleu-pale);
    color: var(--bleu-fonce);
    padding: .12em .38em;
    border-radius: 5px;
}

/* --- Tableau (documentation de l'API) ----------------------------------- */

.table { width: 100%; border-collapse: collapse; font-size: .93rem; margin: 0 0 1.4rem; }
.table th {
    text-align: left;
    font-family: var(--display);
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--encre-500);
    font-weight: 600;
    padding: .6rem .8rem;
    border-bottom: 1px solid var(--trait-fort);
}
.table td { padding: .7rem .8rem; border-bottom: 1px solid var(--trait); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:nth-child(even), .doc-table tbody tr:nth-child(even) { background: rgba(120, 132, 160, .07); }

/* --- Formulaires (suite) ------------------------------------------------ */

.formulaire { max-width: 34rem; }

.case { display: flex; align-items: flex-start; gap: .65rem; margin-bottom: 1.1rem; font-size: .95rem; }
.case input { width: 18px; height: 18px; margin-top: .2rem; flex: none; accent-color: var(--bleu); }

/* Champ-appât : rempli, il trahit un robot. Il doit rester dans le flux du
   formulaire pour être vu d'un automate, et invisible pour tout le monde
   d'autre — un `display:none` serait ignoré par la moitié d'entre eux. */
.piege {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --- Listes de la formule ------------------------------------------------ */

.tarif__liste { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: .7rem; }
.tarif__liste li { display: flex; gap: .7rem; align-items: flex-start; text-align: left; }
.tarif__liste li::before {
    content: "";
    flex: none;
    width: 19px;
    height: 19px;
    margin-top: .2rem;
    border-radius: 50%;
    background: var(--bleu-pale)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231257ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* --- Variante de note ---------------------------------------------------- */

.note--info { border-left-color: var(--bleu); }

@media (max-width: 900px) {
    .aide { grid-template-columns: 1fr; }
    .aide__sommaire { position: static; border-left: 0; padding-left: 0; border-bottom: 1px solid var(--trait); padding-bottom: 1rem; }
}

/* --- Apparitions --------------------------------------------------------- */

/* Rien n'est masqué tant que le script n'a pas pris la main : sans JavaScript,
   la page reste entièrement lisible. */
html.js [data-reveal] { opacity: 0; transform: translateY(20px); }
html.js [data-reveal].est-vu {
    opacity: 1;
    transform: none;
    transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}

/* Filet : si la boucle d'animation ne tourne pas (onglet masqué, économiseur
   d'énergie, volet d'aperçu), on force l'affichage plutôt que de laisser une
   page blanche. */
html.motion-off [data-reveal],
html.motion-off .ligne > span { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
    html.js [data-reveal] { opacity: 1; transform: none; }
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --- Étroit --------------------------------------------------------------- */

@media (max-width: 980px) {
    .duo { grid-template-columns: 1fr; }
    .duo--inverse .duo__texte { order: 0; }
    .pied__grille { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .entete__nav, .entete__actions .bouton:not(.bouton--plein) { display: none; }
    .entete__burger { display: block; }
    .entete__nav { margin-left: 0; }
    .entete__barre { justify-content: space-between; }
    .flottant--avis, .flottant--note { display: none; }
    .etape { grid-template-columns: 1fr; gap: .4rem; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    /* Le bouton d'appel passait sur deux lignes et collait au burger ; il
       reste dans le menu, et le hero le montre en grand juste dessous. */
    .entete__actions .bouton { display: none; }
    .pied__grille { grid-template-columns: 1fr; gap: 2rem; }
    .actions .bouton { width: 100%; }
}

/* =========================================================================
   Couche premium (12/2026)
   Barre de défilement, accueil sombre et lumineux, micro-interactions.
   Tout se règle ici, au-dessus de la base : retirer ce bloc rend l'ancien site.
   ========================================================================= */

:root {
    --nuit: #050b1f;
    --nuit-2: #0a1433;
    --cyan: #38b6ff;
    --degrade: linear-gradient(120deg, #1257ff 0%, #2f6dff 45%, #38b6ff 100%);
}

/* --- Barre de défilement --------------------------------------------- */

html { scrollbar-width: thin; scrollbar-color: #2f6dff #eef2f9; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #eef2f9; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1257ff, #38b6ff);
    border-radius: 999px;
    border: 3px solid #eef2f9;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #0a3fc2, #1257ff); }
::selection { background: rgba(18, 87, 255, .18); color: var(--encre); }

/* --- Boutons ----------------------------------------------------------- */

.bouton { position: relative; overflow: hidden; isolation: isolate; transition: background .2s, border-color .2s, color .2s, transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.bouton--plein {
    background: var(--degrade);
    background-size: 160% 100%;
    background-position: 0 0;
    border-color: transparent;
    box-shadow: 0 10px 24px -10px rgba(18, 87, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.bouton--plein:hover {
    background: var(--degrade);
    background-size: 160% 100%;
    background-position: 100% 0;
    border-color: transparent;
    box-shadow: 0 16px 34px -12px rgba(18, 87, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .3);
    transform: translateY(-2px);
}
/* Reflet qui balaie le bouton au survol. */
.bouton--plein::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
    transform: translateX(-120%);
}
.bouton--plein:hover::after { transform: translateX(120%); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.bouton__fleche { display: inline-block; transition: transform .25s; }
.bouton:hover .bouton__fleche { transform: translateX(4px); }

/* --- En-tête : transparent sur le hero sombre ------------------------- */

.page-sombre .entete:not(.est-pose) { background: transparent; backdrop-filter: none; }
.page-sombre .entete:not(.est-pose) .entete__nav a { color: rgba(255, 255, 255, .78); }
.page-sombre .entete:not(.est-pose) .entete__nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.page-sombre .entete:not(.est-pose) .bouton:not(.bouton--plein) { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; }
.page-sombre .entete:not(.est-pose) .entete__burger span { background: #fff; }
.entete__logo .logo-clair { display: none; }
.page-sombre .entete:not(.est-pose) .logo-sombre { display: none; }
.page-sombre .entete:not(.est-pose) .logo-clair { display: block; }
.page-sombre .entete { margin-bottom: -75px; }

/* --- Hero sombre ------------------------------------------------------- */

.heros--nuit {
    background: var(--nuit);
    color: #b9c4dc;
    padding-top: calc(75px + clamp(3.5rem, 7vw, 6rem));
    padding-bottom: clamp(3.5rem, 7vw, 6rem);
}
.heros--nuit::before { display: none; }
.heros--nuit h1 { color: #fff; font-size: clamp(2.6rem, 5.6vw, 5.2rem); letter-spacing: -.04em; }
.heros--nuit .heros__texte { max-width: 76rem; }
.heros--nuit .chapeau { color: #aab6cf; }
.heros--nuit .heros__note { color: #7f8db0; }
.heros--nuit .heros__texte { text-align: center; margin-inline: auto; }
.heros--nuit .heros__texte .chapeau { margin-inline: auto; }
.heros--nuit .actions { justify-content: center; }
.heros--nuit .bouton:not(.bouton--plein) { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; backdrop-filter: blur(8px); }
.heros--nuit .bouton:not(.bouton--plein):hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); }

.texte-degrade {
    background: linear-gradient(100deg, #5b8cff 0%, #38b6ff 40%, #9fe0ff 60%, #2f6dff 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: reflet 7s linear infinite;
    padding-right: .08em;
}
@keyframes reflet { to { background-position: -220% 0; } }

/* Aurore : trois nappes de lumière floues qui dérivent lentement. */
.aurore { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurore span {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .55;
    mix-blend-mode: screen;
    animation: deriver 18s ease-in-out infinite alternate;
}
.aurore span:nth-child(1) { width: 46vw; height: 46vw; left: -8vw; top: -16vw; background: #1257ff; }
.aurore span:nth-child(2) { width: 38vw; height: 38vw; right: -6vw; top: -8vw; background: #38b6ff; opacity: .35; animation-duration: 23s; animation-delay: -6s; }
.aurore span:nth-child(3) { width: 30vw; height: 30vw; left: 35vw; top: 22vw; background: #6a3dff; opacity: .28; animation-duration: 27s; animation-delay: -11s; }
@keyframes deriver {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(6vw, 4vw, 0) scale(1.12); }
    100% { transform: translate3d(-4vw, 7vw, 0) scale(.94); }
}

/* Trame de points, effacée vers les bords, et halo qui suit la souris. */
.heros--nuit::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(rgba(255, 255, 255, .11) 1px, transparent 1.2px) 0 0 / 26px 26px;
    -webkit-mask-image: radial-gradient(75% 60% at 50% 30%, #000 30%, transparent 100%);
    mask-image: radial-gradient(75% 60% at 50% 30%, #000 30%, transparent 100%);
}

.pastille-hero {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .38rem .9rem .38rem .45rem;
    margin-bottom: 1.6rem;
    border-radius: 999px;
    font-size: .88rem;
    color: #dbe5ff;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(10px);
}
.pastille-hero b {
    font-weight: 600;
    font-size: .76rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    background: var(--degrade);
    padding: .22rem .55rem;
    border-radius: 999px;
}

/* Le logiciel en perspective : il se redresse au défilement. */
.heros--nuit .heros__volet {
    margin-top: clamp(3rem, 6vw, 5rem);
    perspective: 1600px;
    max-width: 1100px;
}
.scene {
    transform-origin: 50% 0;
    transform: rotateX(var(--incline, 22deg)) scale(var(--echelle, .92));
    transition: transform .1s linear;
    will-change: transform;
    position: relative;
}
.scene::before {
    content: "";
    position: absolute;
    inset: -12% -8% 10%;
    z-index: -1;
    background: radial-gradient(50% 50% at 50% 40%, rgba(18, 87, 255, .55), transparent 70%);
    filter: blur(40px);
}
.heros--nuit .volet {
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 0 0 1px rgba(56, 182, 255, .12), 0 40px 120px -30px rgba(18, 87, 255, .6), 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.heros--nuit .flottant {
    z-index: 4;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(16px) saturate(160%);
    border-color: rgba(255, 255, 255, .6);
    box-shadow: 0 30px 60px -24px rgba(5, 11, 31, .55);
    animation: flotter 6s ease-in-out infinite;
}
.heros--nuit .flottant--note { animation-delay: -3s; top: 30%; }
.heros--nuit .flottant--avis { bottom: 34%; }
@keyframes flotter { 50% { transform: translateY(-10px); } }

/* --- Chiffres en cartes ---------------------------------------------- */

.chiffre {
    border: 1px solid var(--trait);
    border-radius: var(--rayon-lg);
    padding: 1.8rem 1.6rem;
    background: linear-gradient(180deg, #fff, #f6f9ff);
    position: relative;
    overflow: hidden;
    transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
}
.chiffre::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 3px;
    background: var(--degrade);
}
.chiffre:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(18, 87, 255, .45); }
.chiffre__valeur {
    background: linear-gradient(120deg, var(--encre) 30%, #1257ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* --- Sections et volets --------------------------------------------- */

.oeil { color: var(--bleu); }
.section__intro h2, .duo h3 { letter-spacing: -.035em; }

.duo .volet {
    transform: perspective(1200px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
    transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s;
    position: relative;
}
.duo .volet:hover { box-shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 40px 80px -36px rgba(18, 87, 255, .45); }

.duo__texte .oeil {
    font-family: var(--display);
}
.liste li { transition: transform .25s; }
.liste li:hover { transform: translateX(4px); }
.liste svg {
    padding: 3px;
    border-radius: 50%;
    background: rgba(18, 87, 255, .1);
    box-sizing: content-box;
    width: 15px;
    height: 15px;
}

/* --- Étapes : un fil qui se dessine au défilement -------------------- */

.etapes { position: relative; }
.etapes::before, .etapes::after {
    content: "";
    position: absolute;
    left: 1.6rem;
    top: 2.6rem;
    bottom: 2.6rem;
    width: 2px;
    background: var(--trait);
}
.etapes::after { background: var(--degrade); transform-origin: top; transform: scaleY(var(--fil, 0)); }
.etape { border: 0 !important; position: relative; z-index: 1; }
.etape__num {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    color: var(--bleu);
    background: #fff;
    border: 1px solid var(--trait-fort);
    transition: background .4s, color .4s, border-color .4s, box-shadow .4s;
}
.etape.est-atteinte .etape__num {
    background: var(--degrade);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 24px -8px rgba(18, 87, 255, .6);
}
.etape { grid-template-columns: 3.2rem minmax(0, 1fr); }

/* --- Tarif : bordure lumineuse qui tourne ---------------------------- */

@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.tarif {
    position: relative;
    border: 1px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        conic-gradient(from var(--angle), #e3ecff 0%, #1257ff 18%, #38b6ff 30%, #e3ecff 46%, #e3ecff 100%) border-box;
    animation: tourner 6s linear infinite;
    box-shadow: 0 40px 80px -46px rgba(18, 87, 255, .5);
}
@keyframes tourner { to { --angle: 360deg; } }
.tarif__prix { background: linear-gradient(120deg, var(--encre) 40%, #1257ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --- Questions ------------------------------------------------------- */

.question { transition: background .25s; }
.question summary { transition: color .2s; }
.question summary:hover { color: var(--bleu); }

/* --- Appel final, sombre et lumineux --------------------------------- */

.section--encre { position: relative; overflow: hidden; background: var(--nuit); }
.section--encre > * { position: relative; z-index: 1; }
.section--encre h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.section--encre .aurore span { opacity: .4; }

.pied { background: var(--nuit); }

/* --- Étroit ----------------------------------------------------------- */

@media (max-width: 860px) {
    .scene { transform: none !important; }
    .etapes::before, .etapes::after { display: none; }
    .etape { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .aurore span, .texte-degrade, .tarif, .heros--nuit .flottant { animation: none !important; }
    .scene { transform: none !important; }
}
.section--encre .aurore span:nth-child(1) { width: 34vw; height: 34vw; left: 2vw; top: 15%; }
.section--encre .aurore span:nth-child(2) { width: 30vw; height: 30vw; right: 4vw; top: 25%; opacity: .3; }
.section--encre .aurore span:nth-child(3) { width: 22vw; height: 22vw; left: 40vw; top: 50%; }
.page-sombre .entete:not(.est-pose) .entete__burger { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); }
@media (max-width: 560px) { .pastille-hero { font-size: .8rem; } }

/* --- Retour en haut ---------------------------------------------------- */

.haut {
    position: fixed;
    right: clamp(1rem, 2.5vw, 1.8rem);
    bottom: clamp(1rem, 2.5vw, 1.8rem);
    z-index: 70;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--degrade);
    box-shadow: 0 14px 30px -10px rgba(18, 87, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .3);
    cursor: pointer;
    opacity: 0;
    transform: translateY(16px) scale(.85);
    pointer-events: none;
    transition: opacity .3s, transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .25s;
}
.haut.est-visible { opacity: 1; transform: none; pointer-events: auto; }
.haut:hover { transform: translateY(-3px); box-shadow: 0 20px 38px -12px rgba(18, 87, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .3); }
.haut:focus-visible { outline: 3px solid rgba(56, 182, 255, .6); outline-offset: 3px; }
.haut svg { width: 20px; height: 20px; transition: transform .25s; }
.haut:hover svg { transform: translateY(-2px); }

/* Logo plus présent dans l'en-tête et le pied. */
.entete__logo img { height: 42px; }
.pied img { height: 38px; }
@media (max-width: 560px) { .entete__logo img { height: 34px; } }

/* --- Page tarif -------------------------------------------------------- */

.heros--tarif { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.heros--tarif .oeil { justify-content: center; }

.offre {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    max-width: 960px;
    margin-inline: auto;
    border-radius: var(--rayon-lg);
    border: 1px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        conic-gradient(from var(--angle), #e3ecff 0%, #1257ff 18%, #38b6ff 30%, #e3ecff 46%, #e3ecff 100%) border-box;
    animation: tourner 6s linear infinite;
    box-shadow: 0 40px 80px -46px rgba(18, 87, 255, .5);
    overflow: hidden;
}
.offre__prix {
    padding: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(160deg, #f2f6ff, #fff 70%);
    border-right: 1px solid var(--trait);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.offre__etiquette {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--bleu);
    margin-bottom: 1rem;
}
.offre .tarif__prix { font-size: clamp(3rem, 5.4vw, 4.2rem); }
.offre__unite { margin-top: .5rem; color: var(--encre-500); font-size: .95rem; }
.offre__prix .bouton { margin-top: 2rem; }
.offre__note { margin: .9rem 0 0; font-size: .86rem; color: var(--encre-500); }

.offre__liste { padding: clamp(2rem, 4vw, 3rem); }
.offre__liste h2 { font-size: 1.15rem; letter-spacing: -.01em; margin-bottom: 1.3rem; }
.offre__liste ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.offre__liste li { display: flex; gap: .75rem; align-items: flex-start; color: var(--encre-700); font-size: .98rem; line-height: 1.5; }
.offre__liste svg {
    flex: none;
    width: 14px;
    height: 14px;
    padding: 4px;
    margin-top: .12rem;
    border-radius: 50%;
    color: #fff;
    background: var(--degrade);
}

.essai {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.essai__chiffre {
    text-align: center;
    padding: 1.6rem 1rem;
    border: 1px solid var(--trait);
    border-radius: var(--rayon-lg);
    background: linear-gradient(180deg, #fff, #f6f9ff);
}
.essai__chiffre strong {
    display: block;
    font-family: var(--display);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: 1;
    background: linear-gradient(120deg, var(--encre) 30%, #1257ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.essai__chiffre span { display: block; margin-top: .5rem; color: var(--encre-500); font-size: .93rem; }
.essai__suite { max-width: 44rem; margin: 2rem auto 0; text-align: center; color: var(--encre-500); font-size: .98rem; }

@media (max-width: 760px) {
    .offre { grid-template-columns: 1fr; }
    .offre__prix { border-right: 0; border-bottom: 1px solid var(--trait); align-items: stretch; }
    .essai { grid-template-columns: 1fr; }
}

/* --- Page contact -------------------------------------------------------- */

.heros--court { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.heros--court .oeil, .heros--tarif .oeil { margin-inline: auto; }

.contact {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    max-width: 1060px;
    margin-inline: auto;
    border-radius: var(--rayon-lg);
    background: #fff;
    border: 1px solid var(--trait);
    box-shadow: 0 40px 90px -50px rgba(18, 87, 255, .45);
    overflow: hidden;
}

.contact__volet {
    position: relative;
    padding: clamp(2rem, 4vw, 3rem);
    color: #b9c4dc;
    background:
        radial-gradient(120% 70% at 0% 0%, rgba(18, 87, 255, .55), transparent 60%),
        radial-gradient(90% 60% at 100% 100%, rgba(56, 182, 255, .3), transparent 60%),
        var(--nuit);
    overflow: hidden;
}
.contact__volet::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px) 0 0 / 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%);
    mask-image: linear-gradient(180deg, #000, transparent 75%);
    pointer-events: none;
}
.contact__volet > * { position: relative; z-index: 1; }
.contact__volet h2 { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: .5em; }
.contact__volet p { color: #aab6cf; margin: 0 0 2rem; }

.contact__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem; }
.contact__points li { display: flex; gap: .9rem; align-items: flex-start; }
.contact__points strong { display: block; color: #fff; font-family: var(--display); font-size: .98rem; }
/* Le texte seulement : la pastille d icône est aussi un span, et doit rester centrée. */
.contact__points div span, .contact__points div a { display: block; font-size: .92rem; color: #9fb0d4; }
.contact__points a:hover { color: #fff; }

.contact__icone {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
}
.contact__icone svg { width: 19px; height: 19px; }

.contact__formulaire { padding: clamp(2rem, 4vw, 3rem); }
.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.contact .champ input, .contact .champ textarea {
    background: #f7f9fc;
    border-color: var(--trait);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.contact .champ input:focus, .contact .champ textarea:focus { background: #fff; }
.contact .champ textarea { resize: vertical; min-height: 9rem; }
.contact .champ input::placeholder, .contact .champ textarea::placeholder { color: var(--encre-300); }

.contact__envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: .4rem; }
.contact__envoi p { margin: 0; flex: 1 1 14rem; }

.contact__merci { text-align: center; padding: 2rem 0; }
.contact__merci h2 { margin: 1.2rem 0 .4rem; }
.contact__merci p { color: var(--encre-500); margin: 0 0 1.6rem; }
.contact__icone--ok { width: 56px; height: 56px; border-radius: 50%; margin-inline: auto; background: var(--degrade); border: 0; box-shadow: 0 14px 30px -10px rgba(18, 87, 255, .6); }

@media (max-width: 820px) {
    .contact { grid-template-columns: 1fr; }
    .champs-2 { grid-template-columns: 1fr; }
}

/* --- Pages légales ------------------------------------------------------ */

.heros--legal h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.legal { padding-top: 0; }
.legal__grille {
    display: grid;
    grid-template-columns: 16rem minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}
.legal__cote { position: sticky; top: 100px; display: grid; gap: 1.6rem; }

.legal__pages {
    display: grid;
    gap: .25rem;
    padding: .5rem;
    border: 1px solid var(--trait);
    border-radius: var(--rayon);
    background: #fff;
}
.legal__pages a {
    padding: .6rem .8rem;
    border-radius: 10px;
    font-family: var(--display);
    font-weight: 600;
    font-size: .93rem;
    color: var(--encre-700);
    transition: background .2s, color .2s;
}
.legal__pages a:hover { background: var(--bleu-pale); color: var(--bleu); }
.legal__pages a[aria-current] { background: var(--degrade); color: #fff; box-shadow: 0 8px 20px -10px rgba(18, 87, 255, .6); }

.legal__sommaire { font-size: .9rem; border-left: 2px solid var(--trait); }
.legal__sommaire:empty { display: none; }
.legal__sommaire span {
    display: block;
    padding: 0 0 .6rem 1rem;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--encre-300);
}
.legal__sommaire a {
    display: block;
    margin-left: -2px;
    padding: .32rem 0 .32rem 1rem;
    border-left: 2px solid transparent;
    color: var(--encre-500);
    line-height: 1.4;
    transition: color .2s, border-color .2s;
}
.legal__sommaire a:hover { color: var(--bleu); }
.legal__sommaire a.est-actif { color: var(--bleu); border-left-color: var(--bleu); font-weight: 600; }

.legal__corps {
    max-width: none;
    background: #fff;
    border: 1px solid var(--trait);
    border-radius: var(--rayon-lg);
    padding: clamp(1.8rem, 4vw, 3.4rem) clamp(1.6rem, 4.5vw, 4rem);
    box-shadow: 0 30px 70px -50px rgba(11, 18, 32, .35);
    font-size: 1.02rem;
}
.legal__corps > * { max-width: 50rem; }
.legal__corps h2 {
    display: flex;
    align-items: center;
    gap: .8rem;
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    margin-top: 2.6rem;
    padding-top: 2.2rem;
    border-top: 1px solid var(--trait);
}
.legal__corps h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal__corps h2::before {
    content: counter(legal, decimal-leading-zero);
    counter-increment: legal;
    flex: none;
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 10px;
    font-size: .8rem;
    letter-spacing: 0;
    color: var(--bleu);
    background: var(--bleu-pale);
}
.legal__corps { counter-reset: legal; }
.legal__corps ul { list-style: none; padding-left: 0; }
.legal__corps ul li { position: relative; padding-left: 1.3rem; }
.legal__corps ul li::before {
    content: "";
    position: absolute;
    left: .2rem;
    top: .68em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--degrade);
}

@media (max-width: 900px) {
    .legal__grille { grid-template-columns: 1fr; }
    .legal__cote { position: static; }
    .legal__sommaire { display: none; }
    .legal__pages { grid-auto-flow: column; overflow-x: auto; }
    .legal__pages a { white-space: nowrap; }
}

/* ==========================================================================
   Documentation de l'API (api.onereputation.io/documentation)
   Deux colonnes par adresse : l'explication, puis le code sur fond sombre.
   ========================================================================== */

.doc {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
    gap: clamp(1.5rem, 3vw, 3rem);
}

.doc-nav {
    position: sticky;
    top: 92px;
    align-self: start;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding: 2rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: .1rem;
    font-size: .9rem;
}
.doc-nav a {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .38rem .6rem;
    border-radius: 8px;
    color: var(--texte);
    text-decoration: none;
}
.doc-nav a:hover { background: var(--bleu-voile); color: var(--encre); }
.doc-nav__groupe {
    margin: 1.1rem 0 .3rem .6rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--texte);
    opacity: .6;
}
.doc-nav__version { margin: 0 0 .8rem .6rem; font-size: .78rem; opacity: .65; }

.doc-corps { min-width: 0; padding-bottom: 4rem; }

.doc-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    padding: 2.6rem 0;
    border-bottom: 1px solid var(--trait);
    scroll-margin-top: 80px;
}
.doc-section:last-child { border-bottom: 0; }

.doc-texte { min-width: 0; }
.doc-texte h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 1rem; }
.doc-texte h2 { font-size: 1.55rem; margin: 0 0 .8rem; }
.doc-texte h3 {
    margin: 1.8rem 0 .5rem;
    font-size: .8rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    opacity: .7;
}
.doc-texte p, .doc-texte li { line-height: 1.65; }
.doc-chapeau { font-size: 1.12rem; }

.doc code, .doc-table code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .86em;
    padding: .12em .38em;
    border-radius: 5px;
    background: var(--bleu-voile);
    color: var(--encre);
}
.doc-url { font-size: 1rem !important; padding: .4em .7em !important; }

.doc-adresse { display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; }
.doc-adresse code { font-size: .95rem; }

.doc-verbe {
    flex: none;
    display: inline-block;
    min-width: 2.9rem;
    padding: .14rem .4rem;
    border-radius: 6px;
    font: 700 .68rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    text-align: center;
    letter-spacing: .03em;
}
.doc-verbe--get { background: #e3f4ea; color: #17733f; }
.doc-verbe--post { background: #e5edff; color: #1747c9; }

.doc-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: .4rem 0 1rem; }
.doc-table th {
    text-align: left;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .65;
    padding: .5rem .7rem .5rem 0;
    border-bottom: 1px solid var(--trait-fort);
}
.doc-table td { padding: .65rem .7rem .65rem 0; border-bottom: 1px solid var(--trait); vertical-align: top; }
.doc-table td:first-child { width: 42%; padding-left: .7rem; }
.doc-table th:first-child { padding-left: .7rem; }
.doc-table td:first-child code { font-weight: 600; }
.doc-type { display: block; margin-top: .25rem; font-size: .78rem; opacity: .6; }
.doc-requis {
    display: inline-block;
    margin-top: .25rem;
    font-size: .7rem;
    font-weight: 700;
    color: #b4461b;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.doc-note {
    margin: 1.2rem 0;
    padding: .9rem 1.1rem;
    border-left: 3px solid var(--bleu);
    background: var(--bleu-voile);
    border-radius: 0 10px 10px 0;
    font-size: .93rem;
}
.doc-etapes, .doc-liste { padding-left: 1.2rem; }
.doc-etapes li, .doc-liste li { margin: .35rem 0; }

/* Colonne de code */
.doc-exemples {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 92px;
    align-self: start;
}
.doc-code {
    background: #0d1424;
    border: 1px solid #1d2840;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px -18px rgba(5, 10, 25, .6);
}
.doc-code__barre {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding: .55rem .9rem;
    background: #111a2e;
    border-bottom: 1px solid #1d2840;
}
.doc-code__titre { font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #8ea2c4; }
.doc-code__onglets { display: flex; gap: .2rem; flex-wrap: wrap; }
.doc-code__onglets button {
    border: 0;
    background: none;
    color: #8ea2c4;
    font: 600 .76rem/1 inherit;
    font-family: inherit;
    padding: .38rem .55rem;
    border-radius: 6px;
    cursor: pointer;
}
.doc-code__onglets button:hover { color: #e6edf9; }
.doc-code__onglets button[aria-selected="true"] { background: #22305133; background: #1e2b48; color: #fff; }
.doc-code pre {
    margin: 0;
    padding: 1rem 1.1rem;
    overflow-x: auto;
    font: .82rem/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: #d6deeb;
    tab-size: 2;
}
.doc-code pre code { background: none; padding: 0; color: inherit; font-size: inherit; border-radius: 0; }
.doc-code pre[hidden] { display: none; }

.hl-cle { color: #82aaff; }
.hl-chaine { color: #c3e88d; }
.hl-nombre { color: #f78c6c; }
.hl-mot { color: #c792ea; }
.hl-commentaire { color: #637399; font-style: italic; }
.hl-option { color: #ffcb6b; }
.hl-variable { color: #f07178; }

@media (max-width: 1100px) {
    .doc { grid-template-columns: minmax(0, 1fr); }
    .doc-nav {
        position: static;
        max-height: none;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 1.5rem 0 0;
        gap: .3rem;
    }
    .doc-nav__groupe, .doc-nav__version { display: none; }
    .doc-nav a { border: 1px solid var(--trait); font-size: .82rem; }
    .doc-section { grid-template-columns: minmax(0, 1fr); }
    .doc-exemples { position: static; }
}


/* ------------------------------------------------------------------
 * Film de présentation (accueil). L'affiche tient la place ; le bouton
 * est en couleurs fixes parce qu'il est posé sur une image sombre.
 * ------------------------------------------------------------------ */
.film {
    position: relative;
    margin: 0 0 clamp(3rem, 6vw, 5.5rem);
    border-radius: var(--rayon-lg);
    overflow: hidden;
    background: #050b1f;
    aspect-ratio: 16 / 9;
    box-shadow: 0 40px 90px -30px rgba(11, 18, 32, .45), 0 0 0 1px rgba(11, 18, 32, .06);
}
.film__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film__lire {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 0;
    padding: 0;
    background: linear-gradient(180deg, rgba(5, 11, 31, 0), rgba(5, 11, 31, .22));
    color: #fff;
    cursor: pointer;
    font: inherit;
    transition: opacity .35s ease, visibility .35s;
}
.film__rond {
    display: grid;
    place-items: center;
    width: clamp(64px, 8vw, 96px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(135deg, #1257ff, #38b6ff);
    box-shadow: 0 18px 44px rgba(18, 87, 255, .5);
    transition: transform .25s ease, box-shadow .25s ease;
}
.film__rond svg { width: 42%; height: 42%; margin-left: 6%; }
.film__note {
    font-family: var(--display);
    font-weight: 600;
    font-size: .98rem;
    padding: .45rem .95rem;
    border-radius: 999px;
    background: rgba(5, 11, 31, .6);
    backdrop-filter: blur(8px);
}
.film__lire:hover .film__rond,
.film__lire:focus-visible .film__rond { transform: scale(1.07); box-shadow: 0 22px 54px rgba(18, 87, 255, .65); }
.film__lire:focus-visible { outline: 3px solid #38b6ff; outline-offset: -6px; }
.film.est-lu .film__lire { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
    .film__lire, .film__rond { transition: none; }
}
/* Petit écran : au centre, le bouton couvrirait les mots de l'affiche.
   Il descend en bas à gauche, rond et libellé sur une ligne. */
@media (max-width: 640px) {
    .film__lire { flex-direction: row; align-items: flex-end; justify-content: flex-start; gap: .6rem; padding: .8rem; }
    .film__rond { width: 44px; }
    .film__note { font-size: .82rem; padding: .35rem .75rem; margin-bottom: .35rem; }
}
