/* ==========================================================================
   SONGYAM — la page d'accueil publique
   ==========================================================================

   ⚠ CE FICHIER EST UNE IMPLEMENTATION FIDELE DE « docs/SONGYAM Landing Page.html ».

   Le bundle a ete decode, pas regarde : echelle de titres, crenage, rayons,
   degrades, trame de points et ses masques, epaisseurs de filets, opacites —
   tout est RELEVE. Ce qui n'en vient pas est signale a sa ligne.

   ⚠ CE QUI N'EST PAS REPRIS, ET POURQUOI :

   1. JetBrains Mono. Sora et Inter sont EMBARQUEES depuis le 25/09/2026 — voir
      les @font-face plus bas —, mais pas la monospace : son role est de
      signaler une etiquette technique, et la monospace du systeme le tient
      sans un fichier de plus a telecharger.
   2. Son vert #2FBE8F n'est pas celui de la charte. Deux verts pour une seule
      marque est la divergence que ce projet ferme partout ailleurs.
   3. Ses contenus faux — voir le fichier HTML, qui les nomme un par un.
   ========================================================================== */

:root {
    /* ----------------------------------------------------------------------
       LA CHARTE — RELEVEE, PAS CHOISIE.

       Porteur : « frontend/lib/theme.dart », qui la tient de
       « docs/2008SONGYAM - Maquette finale.html ». Ces valeurs en sont une
       COPIE : du CSS ne peut pas lire du Dart, et une copie diverge.

       ⚠ Le bloc est declare ENTIER meme si la page sombre n'emploie pas tous
       ses neutres clairs : « ChartePubliqueTest » le lit et le confronte a
       theme.dart. Le garder complet est ce qui detecte une derive.
       ---------------------------------------------------------------------- */
    --indigo:       #2E3A87;
    --indigo-fond:  #E7E9F7;
    --vert:         #1D9E75;
    --vert-fond:    #E1F5EE;
    --ambre:        #F2A93B;
    --ambre-sombre: #B87816;
    --ambre-fond:   #FDF0DA;
    --terracotta:   #D85A30;

    --fond:         #FAF9F6;
    --surface:      #FFFFFF;
    --bordure:      #E7E4DB;
    --texte:        #201F1C;
    --texte-doux:   #6B685F;
    --texte-pale:   #9C9A90;

    /* ----------------------------------------------------------------------
       LA SURFACE SOMBRE — relevee dans le bundle.

       ⚠ L'ACCENT DE CETTE PAGE EST L'AMBRE, ET C'EST UNE EXCEPTION BORNEE.

       Dans le tableau de bord, l'ambre dit « une action est requise du
       commercant » : il se demande a EtatSongyam, il ne se choisit pas. La
       regle gouverne les surfaces ou des ETATS sont montres.

       Une page publique n'en montre aucun. L'ambre y est une couleur de
       marque, et la maquette en fait son accent d'un bout a l'autre.

       ⚠ La frontiere est « montre-t-on un etat ? », pas « est-ce du
       SONGYAM ? ». Le jour ou cette page afficherait l'etat d'une boutique,
       la regle reprend et l'ambre redevient reserve.
       ---------------------------------------------------------------------- */
    --nuit:        #080A12;
    --nuit-haut:   #0C1020;
    --nuit-bas:    #06070D;
    --nuit-carte:  #0E1425;
    --nuit-creux:  #0B101E;
    --encre:       #F4F5FA;
    --ambre-clair: #FFBB53;
    --ambre-pale:  #F0C264;
    --ambre-icone: #C98A1E;

    /* Opacites relevees, nommees pour cesser de les recopier. */
    --voile-04:  rgba(244, 245, 250, 0.04);
    --voile-06:  rgba(244, 245, 250, 0.06);
    --voile-08:  rgba(244, 245, 250, 0.08);
    --trait:     rgba(244, 245, 250, 0.1);
    --texte-70:  rgba(244, 245, 250, 0.7);
    --texte-60:  rgba(244, 245, 250, 0.6);
    --texte-55:  rgba(244, 245, 250, 0.55);
    --texte-44:  rgba(244, 245, 250, 0.44);

    --pilule: 100px;
    --page:   1160px;
    --marge:  clamp(20px, 5vw, 44px);

    /* ⚠ Aucune courbe « ease-in » : il demarre lentement, donc il retarde le
       mouvement au moment ou l'oeil regarde le plus. */
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ============================================================================
   Les polices de la maquette, EMBARQUEES — Sora pour les titres, Inter pour le texte.
   ⚠ Jamais chez Google (decide le 25/09/2026) : pas de changement brutal de police sur
   une connexion lente, aucune dependance a un tiers pour afficher du texte, aucune
   adresse IP transmise. Fichiers fabriques par scripts/generer-polices.py.

   ⚠ font-display: optional, et c'est la premiere raison de la decision : le navigateur
   n'emploie la police que si elle arrive tout de suite. Sinon il garde la police du
   systeme POUR TOUTE LA PAGE — jamais de bascule sous les yeux du lecteur —, et la
   police, mise en cache, sert a la page suivante. « swap » ferait exactement la bascule
   qu'on refuse ; « block » cacherait le texte.

   ⚠ Sora n'a pas ɛ ɔ ʋ ɩ : Inter la suit TOUJOURS dans la pile des titres, et le
   navigateur complete glyphe par glyphe.
   ============================================================================ */
@font-face {
    font-family: "Inter";
    src: url("/polices/Inter.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: optional;
}
@font-face {
    font-family: "Sora";
    src: url("/polices/Sora.woff2") format("woff2");
    font-weight: 100 800;
    font-style: normal;
    font-display: optional;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--encre);
    background: var(--nuit);
    overflow-x: hidden;
}

h1, h2, h3, .marque-nom {
    font-family: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ⚠ La ou la maquette emploie JetBrains Mono, on prend la MONOSPACE DU
   SYSTEME : le role de cette police est de signaler une etiquette technique,
   et une monospace systeme le tient sans rien telecharger. */
.mono {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
                 "Liberation Mono", monospace;
}

p { margin: 0; }

a { color: var(--ambre-pale); text-underline-offset: 0.18em; }

.page { max-width: var(--page); margin: 0 auto; padding-inline: var(--marge); }

/* ==========================================================================
   Le haut : degrade, trame de points masquee, filet ambre
   ========================================================================== */

.haut {
    position: relative;
    background:
        radial-gradient(90% 70% at 50% -10%,
            rgba(242, 169, 59, 0.11) 0%, rgba(242, 169, 59, 0.03) 42%, rgba(6, 8, 14, 0) 72%),
        linear-gradient(180deg, var(--nuit-haut) 0%, #080A14 62%, var(--nuit-bas) 100%);
}

/* La trame : des points de 1.2px tous les 26px, effaces par un masque radial.
   ⚠ Purement decorative — « pointer-events: none » pour qu'elle n'intercepte
   jamais un appui. */
.trame {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(244, 245, 250, 0.14) 1.2px, transparent 1.2px);
    background-size: 26px 26px;
    mask-image: radial-gradient(75% 60% at 50% 0%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(75% 60% at 50% 0%, #000 0%, transparent 78%);
}

.trame-droite {
    mask-image: radial-gradient(60% 50% at 100% 15%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(60% 50% at 100% 15%, #000 0%, transparent 75%);
    background-image: radial-gradient(rgba(244, 245, 250, 0.12) 1.2px, transparent 1.2px);
}

.trame-haute {
    mask-image: radial-gradient(70% 45% at 50% 8%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(70% 45% at 50% 8%, #000 0%, transparent 78%);
    background-image: radial-gradient(rgba(244, 245, 250, 0.12) 1.2px, transparent 1.2px);
}

.trame-gauche {
    mask-image: radial-gradient(55% 60% at 0% 50%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(55% 60% at 0% 50%, #000 0%, transparent 72%);
    background-image: radial-gradient(rgba(244, 245, 250, 0.12) 1.2px, transparent 1.2px);
}

/* Le filet ambre en haut de page : il s'eteint aux deux bouts. */
.filet {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: min(760px, 90%);
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg,
        rgba(242, 169, 59, 0), rgba(242, 169, 59, 0.55), rgba(242, 169, 59, 0));
}

/* ==========================================================================
   Bandeau
   ========================================================================== */

.bandeau { position: relative; border-bottom: 0.5px solid var(--trait); }

.bandeau .page {
    padding-block: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }

/* Le logo : l'icone de marque (docs/marque/icone-songyam.png), la meme que celle
   declaree aux plateformes. La remplacer ici sans la remplacer partout ferait
   diverger les deux. */
.sceau {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    flex-shrink: 0;
}

.marque-nom { font-weight: 700; font-size: 17px; letter-spacing: -0.04em; }

.actions-bandeau {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.lien-discret {
    font-size: clamp(13px, 3.4vw, 14px);
    font-weight: 500;
    padding: 10px clamp(10px, 3vw, 14px);
    border-radius: var(--pilule);
    white-space: nowrap;
    color: var(--texte-70);
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease;
}

/* ⚠ Le survol est reserve aux pointeurs FINS : au doigt, « :hover » reste
   colle apres le toucher et se lit comme un bogue. */
@media (hover: hover) and (pointer: fine) {
    .lien-discret:hover { background: var(--voile-08); color: var(--encre); }
}

/* ==========================================================================
   Les boutons ambres
   ========================================================================== */

.bouton {
    display: inline-block;
    background: var(--ambre);
    color: var(--nuit-carte);
    border-radius: var(--pilule);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.bouton-bandeau { padding: 11px clamp(12px, 3.6vw, 20px); font-size: clamp(13px, 3.4vw, 14px); }
.bouton-large   { padding: 17px 30px; font-size: 15.5px; }
.bouton-moyen   { padding: 16px 28px; font-size: 15px; }
.bouton-plein   { display: block; text-align: center; width: 100%; padding: 13px; font-size: 14px; margin-top: 22px; }

.bouton-creux {
    background: transparent;
    color: var(--encre);
    border-color: var(--trait);
}

@media (hover: hover) and (pointer: fine) {
    .bouton:hover { background: var(--ambre-clair); transform: translateY(-2px); }
    .bouton-large:hover { box-shadow: 0 10px 24px rgba(242, 169, 59, 0.28); }
    .bouton-creux:hover { background: var(--voile-08); color: var(--encre); transform: translateY(-1px); }
}

/* ⚠ La reponse se donne a l'APPUI, pas au relachement : un element pressable
   qui ne bouge pas sous le doigt se lit comme mort. */
.bouton:active { transform: translateY(0) scale(0.98); }

/* ==========================================================================
   Surtitres et titres — echelle et crenage RELEVES

   ⚠ Le crenage depend de la taille : -.04em sur l'affichage, -.035em et
   -.03em sur les titres, nul sur le texte. Les surtitres vont dans l'autre
   sens, +.14em, parce qu'en capitales serrees on ne lit plus.
   ========================================================================== */

.surtitre {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ambre);
    margin-bottom: 14px;
}

.point {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ambre);
    flex-shrink: 0;
}

h1 {
    font-size: clamp(40px, 7vw, 74px);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.04em;
    text-wrap: balance;
    max-width: 18ch;
    margin: 0 auto;
}

h1 .accent { color: var(--ambre); display: inline-block; }

h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-wrap: balance;
    margin: 0;
}

h2.ample {
    font-size: clamp(30px, 4.2vw, 46px);
    line-height: 1.06;
    letter-spacing: -0.035em;
    max-width: 18ch;
}

h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; margin: 0; }

.chapeau {
    font-size: clamp(16px, 1.6vw, 18px);
    color: var(--texte-60);
    line-height: 1.7;
    margin-top: 18px;
    max-width: 46ch;
}

/* ==========================================================================
   Ouverture
   ========================================================================== */

.ouverture {
    position: relative;
    text-align: center;
    padding-block: clamp(44px, 7vw, 80px) clamp(40px, 6vw, 64px);
}

.ouverture .surtitre { margin-bottom: clamp(20px, 3vw, 28px); }

.accroche {
    font-size: clamp(16px, 1.7vw, 19px);
    color: rgba(244, 245, 250, 0.66);
    line-height: 1.7;
    margin: clamp(20px, 3vw, 28px) auto 0;
    max-width: 52ch;
    text-wrap: pretty;
}

.accroche .accent { color: var(--ambre); }

.canaux {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.canal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: rgba(244, 245, 250, 0.62);
    background: rgba(244, 245, 250, 0.05);
    border: 1px solid var(--trait);
    border-radius: var(--pilule);
    padding: 6px 12px;
}

/* ⚠ Les pastilles de canal portent les couleurs de la CHARTE — le vert pour
   WhatsApp, l'indigo pour Messenger — et c'est la maquette qui les emploie
   ainsi. Elles ne disent aucun etat : elles identifient un reseau. */
.pastille { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.pastille-whatsapp { background: var(--vert); }
.pastille-messenger { background: var(--indigo); }

.appel-ouverture { display: flex; justify-content: center; margin-top: clamp(26px, 4vw, 36px); }

.petit { font-size: 13px; color: var(--texte-44); margin-top: 18px; line-height: 1.7; }

.petit a { font-size: 14px; color: var(--ambre-pale); }

/* ==========================================================================
   Le parcours d'une vente
   ========================================================================== */

.parcours-cadre { max-width: 1320px; margin: 0 auto; padding: 0 var(--marge) clamp(48px, 7vw, 88px); }

.parcours {
    position: relative;
    background: linear-gradient(180deg, rgba(244, 245, 250, 0.045), rgba(244, 245, 250, 0.02));
    border: 1px solid var(--trait);
    border-radius: 26px;
    padding: clamp(22px, 3.4vw, 34px);
    overflow: hidden;
}

.parcours::before {
    content: "";
    position: absolute;
    left: 6%;
    top: 0;
    width: 88%;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(242, 169, 59, 0), rgba(242, 169, 59, 0.4), rgba(242, 169, 59, 0));
}

.etapes {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.etape {
    flex: 1 1 210px;
    min-width: 0;
    max-width: 260px;
    background: var(--voile-04);
    border: 1px solid var(--trait);
    border-radius: 16px;
    padding: 16px;
}

.etape-heure {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--ambre);
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.etape-heure .pastille { background: var(--ambre); }

.etape-titre { font-size: 14px; font-weight: 600; margin-bottom: 6px; line-height: 1.3; }

/* La bulle de message : un coin carre en bas a gauche, comme une bulle reçue. */
.bulle {
    background: var(--voile-08);
    color: var(--encre);
    border-radius: 10px 10px 10px 2px;
    padding: 9px 11px;
    font-size: 11.5px;
    line-height: 1.55;
}

.etape-note { font-size: 11px; color: var(--texte-55); margin-top: 7px; line-height: 1.55; }

.lignes { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }

.ligne {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
    color: rgba(244, 245, 250, 0.65);
}

.etape-total {
    border-top: 1px solid var(--trait);
    margin-top: 9px;
    padding-top: 9px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ambre);
}

/* ==========================================================================
   Le bandeau de faits
   ========================================================================== */

.faits-cadre { max-width: var(--page); margin: 0 auto; padding: 0 var(--marge) clamp(48px, 7vw, 80px); }

.faits {
    background: rgba(244, 245, 250, 0.045);
    border: 1px solid var(--trait);
    border-radius: 24px;
    padding: clamp(32px, 4.5vw, 44px) clamp(24px, 4vw, 40px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: clamp(24px, 3.5vw, 36px);
    text-align: center;
    margin: 0;
    list-style: none;
}

.fait-valeur {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--ambre);
}

.fait-libelle {
    font-size: 12.5px;
    color: var(--texte-55);
    margin: 8px auto 0;
    line-height: 1.6;
    max-width: 26ch;
}

/* ==========================================================================
   Sections
   ========================================================================== */

section { position: relative; padding-top: clamp(56px, 9vw, 112px); }

section > .page { position: relative; }

.centre { text-align: center; margin-inline: auto; }
.centre.etroit { max-width: 34ch; margin-bottom: clamp(28px, 4vw, 44px); }
.centre.large  { max-width: 38ch; margin-bottom: clamp(32px, 4vw, 44px); }

/* ==========================================================================
   Les cartes de capacites
   ========================================================================== */

.capacites {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin: clamp(32px, 5vw, 52px) 0 0;
    padding: 0;
    list-style: none;
}

.capacite {
    min-width: 0;
    background: var(--voile-04);
    border: 1px solid var(--trait);
    border-radius: 16px;
    padding: 22px;
    transition: transform 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.capacite-tete {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.capacite-nom { font-size: 16.5px; font-weight: 600; letter-spacing: -0.015em; }
.capacite-num { font-size: 12px; color: var(--texte-44); }
.capacite-accroche { font-size: 14.5px; font-weight: 600; line-height: 1.4; margin-bottom: 6px; text-wrap: pretty; }
.capacite-texte { font-size: 13px; color: var(--texte-60); line-height: 1.6; text-wrap: pretty; }

@media (hover: hover) and (pointer: fine) {
    .capacite:hover { transform: translateY(-3px); border-color: rgba(242, 169, 59, 0.55); }
}

/* ==========================================================================
   Les trois etapes de depart
   ========================================================================== */

.demarrage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.demarrage-carte {
    min-width: 0;
    background: var(--voile-04);
    border: 1px solid var(--trait);
    border-radius: 18px;
    padding: 22px;
}

.numero {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ambre);
    color: var(--nuit-carte);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 14px;
}

.demarrage-texte { font-size: 13px; color: var(--texte-60); line-height: 1.6; margin-top: 8px; }

/* L'apercu : un creux plus sombre que la carte, comme un ecran pose dedans. */
.apercu {
    margin-top: 16px;
    background: var(--nuit-creux);
    border: 1px solid var(--voile-08);
    border-radius: 12px;
    padding: 12px;
    min-height: 156px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    justify-content: center;
}

.champ { font-size: 10.5px; color: var(--texte-70); }

.champ span {
    display: block;
    background: var(--voile-06);
    border-radius: 7px;
    padding: 6px 8px;
    margin-top: 3px;
    color: var(--encre);
    font-size: 11px;
}

.champ-accent span { background: rgba(242, 169, 59, 0.12); color: var(--ambre); font-weight: 600; }

.branchement {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
    color: rgba(244, 245, 250, 0.75);
}

.branchement b { color: var(--ambre); font-weight: 600; }

.bulle-apercu {
    align-self: flex-start;
    max-width: 90%;
    background: var(--voile-08);
    color: var(--encre);
    border-radius: 9px 9px 9px 2px;
    padding: 6px 9px;
    font-size: 10.5px;
    line-height: 1.5;
}

.jetons { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }

.jeton { font-size: 10px; border-radius: var(--pilule); padding: 4px 8px; }
.jeton-fait { color: var(--ambre); background: rgba(242, 169, 59, 0.1); }
.jeton-cours { color: rgba(244, 245, 250, 0.65); background: var(--voile-06); }

/* ==========================================================================
   Les promesses illustrees
   ========================================================================== */

.promesses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.promesse { min-width: 0; display: flex; align-items: flex-start; gap: 12px; padding: 16px 4px; }

.icone {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--ambre-icone);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .promesse:hover .icone { color: var(--ambre-pale); }
}

.promesse-titre { font-size: 14px; font-weight: 600; }
.promesse-texte { font-size: 12px; color: var(--texte-55); line-height: 1.5; margin-top: 3px; }

/* ==========================================================================
   Tarifs
   ========================================================================== */

.formules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.formule {
    min-width: 0;
    position: relative;
    background: var(--voile-04);
    border: 1px solid var(--trait);
    border-radius: 20px;
    padding: 26px 24px;
    transition: transform 200ms ease, border-color 200ms ease;
}

.formule-nom { font-size: 15px; font-weight: 600; letter-spacing: 0.01em; }

.formule-prix {
    font-size: clamp(28px, 3vw, 34px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-top: 10px;
    color: var(--ambre);
    font-variant-numeric: tabular-nums;
}

.formule-periode { font-size: 12px; color: var(--texte-55); margin: 4px 0 20px; }

.inclus { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }

.inclus li { display: flex; gap: 9px; font-size: 13.5px; color: var(--texte-70); line-height: 1.6; }

.coche { color: var(--ambre); font-weight: 700; flex-shrink: 0; }

@media (hover: hover) and (pointer: fine) {
    .formule:hover { transform: translateY(-3px); border-color: rgba(242, 169, 59, 0.55); }
}

/* ⚠ AMBRE : il y a quelque chose a faire — nous ecrire pour connaitre le
   detail. C'est le seul endroit de la page ou l'ambre dit une action. */
.encadre {
    background: var(--voile-04);
    border: 1px solid rgba(242, 169, 59, 0.3);
    border-radius: 16px;
    padding: 16px 18px;
    margin: 18px auto 0;
    max-width: 900px;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--texte-70);
}

/* ==========================================================================
   L'appel final
   ========================================================================== */

.appel {
    background: var(--voile-04);
    border: 1px solid var(--trait);
    border-radius: 24px;
    padding: clamp(26px, 4.5vw, 52px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(28px, 4vw, 48px);
    align-items: center;
}

.appel h2 { font-size: clamp(26px, 3.4vw, 38px); }
.appel .chapeau { max-width: 38ch; text-wrap: pretty; }
.appel .bouton { margin-top: 26px; }

.garanties { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; min-width: 0; }

.garantie {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    background: var(--voile-04);
    border: 0.5px solid var(--trait);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--texte-70);
    transition: border-color 180ms ease, background-color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .garantie:hover { border-color: rgba(242, 169, 59, 0.45); background: rgba(244, 245, 250, 0.07); }
}

/* ==========================================================================
   Pied
   ========================================================================== */

.pied { padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); }

.pied-contenu {
    border-top: 0.5px solid var(--trait);
    padding-top: 24px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--texte-44);
    line-height: 1.7;
}

.legaux { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }

.pied a { color: rgba(244, 245, 250, 0.62); }

/* ==========================================================================
   Le mouvement

   ⚠ CONTRAINTE — L'ETAT MASQUE N'EXISTE QUE SOUS « no-preference ».

   L'opacite nulle est ecrite A L'INTERIEUR de la requete de media, jamais en
   dehors. Tout ce qui empeche l'animation de tourner — un moteur ancien, une
   extension, un reglage — laisse alors la page VISIBLE. Ecrite dehors, elle
   rendrait le texte definitivement invisible le jour ou l'animation ne
   demarre pas : une page noire, sans une erreur.
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
    .ouverture > * { opacity: 0; animation: monter 620ms var(--ease-out) forwards; }
    .ouverture > *:nth-child(2) { animation-delay: 60ms; }
    .ouverture > *:nth-child(3) { animation-delay: 120ms; }
    .ouverture > *:nth-child(4) { animation-delay: 180ms; }
    .ouverture > *:nth-child(5) { animation-delay: 240ms; }
    .ouverture > *:nth-child(6) { animation-delay: 300ms; }

    /* Le battement du point : lent, discret, jamais au premier plan. */
    .point, .pastille { animation: battre 2.4s ease-in-out infinite; }
    .pastille-messenger { animation-duration: 3.6s; animation-delay: 1.2s; }
    .pastille-whatsapp { animation-duration: 3.6s; }
}

@keyframes monter {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

@keyframes battre {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.35; }
}

/* ==========================================================================
   Les trois preferences systeme
   ========================================================================== */

/* ⚠ « Moins de mouvement » n'est pas « aucun retour » : on garde l'opacite et
   la couleur, on retire les deplacements. */
@media (prefers-reduced-motion: reduce) {
    .capacite:hover, .formule:hover, .bouton:hover { transform: none; }
    .bouton:active { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
    .trame { display: none; }
}

@media (prefers-contrast: more) {
    .trame { display: none; }
    body { color: #FFFFFF; }
    .chapeau, .accroche, .capacite-texte, .demarrage-texte,
    .promesse-texte, .fait-libelle, .petit, .pied-contenu { color: #FFFFFF; }
    .capacite, .formule, .etape, .canal, .garantie, .demarrage-carte {
        border-color: rgba(244, 245, 250, 0.5);
    }
}

@media (max-width: 34rem) {
    .etape { max-width: none; }
    .capacite, .demarrage-carte { padding: 18px; }
    .appel { padding: 22px; }
}
