/* Site de vente de Qortum. Même langage que l'application (interface/style.css) :
   encre, papier, un seul jaune réservé à l'action principale. Pas de cadres ni de cases :
   des colonnes de texte, des filets fins, de l'espace. Aucune ressource tierce. */

@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url("polices/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url("polices/instrument-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --ink: #121110; --paper: #f7f4ee; --signal: #ffc21a; --signal-300: #ffd04d;
  --stone-900: #1b1a18; --stone-850: #252320; --stone-800: #2f2d2a; --stone-700: #4a463f;
  --stone-500: #77716a; --stone-400: #9a9388; --stone-300: #b8b1a6;
  --glow: rgb(255 194 26 / 0.05);

  --bg: var(--ink); --surface-2: var(--stone-850);
  --line: var(--stone-800); --line-2: var(--stone-700); --line-3: var(--stone-500);
  --fg: var(--paper); --soft: var(--stone-300); --mute: var(--stone-400);

  --font: "Instrument Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --t-sm: 0.875rem; --t-base: 1.0625rem; --t-md: 1.25rem; --t-lg: 1.5rem; --t-xl: 2rem;
  --t-2xl: clamp(2.25rem, 1.4rem + 4vw, 3.75rem);
  --lh-title: 1.15; --lh-meta: 1.45; --lh-body: 1.6;
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2.5rem; --s-7: 3.5rem; --s-8: 5rem;
  --r-doux: 6px; --r-pill: 999px; --r-node: 25%;
  --dur: 140ms;
  --rond: 3rem; --trait: 1px; --accent: 2px;
  --mesure: 40rem; --large: 68rem; --gouttiere: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 var(--t-base)/var(--lh-body) var(--font); -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(50% 30rem at 30% 0%, var(--glow), transparent 70%); background-repeat: no-repeat;
  overflow-wrap: break-word;
}
h1, h2, h3, p, ul, ol, dl, dd, dt, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1 { font-size: var(--t-2xl); font-weight: 600; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; max-width: 20ch; }
h2 { font-size: var(--t-xl); font-weight: 600; line-height: var(--lh-title); letter-spacing: -0.02em; text-wrap: balance; }
h3 { font-size: var(--t-base); font-weight: 600; line-height: 1.3; }
a { color: inherit; }
strong { font-weight: 600; color: var(--fg); }
code { font-family: ui-monospace, Consolas, monospace; font-size: 0.9em; color: var(--soft); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: var(--accent) solid var(--signal); outline-offset: 3px; border-radius: var(--r-doux); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.saut { position: absolute; left: var(--gouttiere); top: -5rem; background: var(--signal); color: var(--ink); padding: var(--s-2) var(--s-4); border-radius: var(--r-pill); z-index: 9; font-weight: 600; text-decoration: none; }
.saut:focus { top: var(--s-4); }

/* --- Gabarit ---------------------------------------------------------------- */
.page { max-width: var(--large); margin: 0 auto; padding-left: max(var(--gouttiere), env(safe-area-inset-left, 0px)); padding-right: max(var(--gouttiere), env(safe-area-inset-right, 0px)); }
.haut { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); padding-block: var(--s-5) var(--s-4); }
.marque { font-size: var(--t-md); font-weight: 600; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--fg); }
.marque img { width: 1.75rem; height: 1.75rem; display: block; border-radius: 22%; }   /* le logo, comme dans l'application */
.marque i { width: 0.34em; height: 0.34em; border-radius: var(--r-node); background: var(--signal); }   /* le point de la marque, comme dans l'application */
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-5); margin-left: auto; }
.menu a { color: var(--mute); text-decoration: none; padding-block: var(--s-1); border-bottom: var(--accent) solid transparent; transition: color var(--dur), border-color var(--dur); }
.menu a:hover { color: var(--fg); }
.menu a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--fg); }
.menu a.pilule { border-bottom: 0; }
.menu a.pilule[aria-current="page"] { box-shadow: inset 0 0 0 var(--accent) var(--fg); }
.etat-site { font-size: var(--t-sm); color: var(--mute); padding-bottom: var(--s-4); border-bottom: var(--trait) solid var(--line); }

main { display: grid; gap: var(--s-8); padding-block: var(--s-7) var(--s-8); }
section { display: grid; gap: var(--s-5); align-content: start; }
.tete { display: grid; gap: var(--s-4); }
.chapo { font-size: var(--t-md); color: var(--soft); max-width: var(--mesure); line-height: var(--lh-meta); }
.texte { color: var(--soft); max-width: var(--mesure); }
.texte + .texte { margin-top: var(--s-3); }
.note { font-size: var(--t-sm); color: var(--mute); max-width: var(--mesure); line-height: var(--lh-meta); }
.surtitre { font-size: var(--t-sm); color: var(--mute); }
.lien { color: var(--soft); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 0.25em; }
.lien:hover { color: var(--fg); text-decoration-color: var(--fg); }
.flux > * + * { margin-top: var(--s-3); }

/* Boutons : l'action (jaune), le choix (texte cerclé) */
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.pilule { display: inline-flex; align-items: center; justify-content: center; min-height: var(--rond); padding: var(--s-2) var(--s-5); border: 0; border-radius: var(--r-pill); font-weight: 600; line-height: 1.25; text-align: center; text-decoration: none; color: var(--soft); background: none; box-shadow: inset 0 0 0 var(--trait) var(--line-2); cursor: pointer; transition: background var(--dur), color var(--dur), box-shadow var(--dur); }
.pilule:hover { color: var(--fg); box-shadow: inset 0 0 0 var(--trait) var(--fg); }
.pilule.signal { background: var(--signal); color: var(--ink); box-shadow: none; }
.pilule.signal:hover { background: var(--signal-300); }
.pilule.signal:focus-visible { outline-color: var(--paper); }
.pilule.petite { min-height: 2.25rem; padding: var(--s-1) var(--s-4); font-size: var(--t-sm); }

/* --- Accueil ---------------------------------------------------------------- */
.ouverture { display: grid; gap: var(--s-5); }
.public { display: grid; gap: var(--s-3); max-width: var(--mesure); }
.public li { display: grid; grid-template-columns: minmax(9rem, 12rem) minmax(0, 1fr); gap: var(--s-1) var(--s-4); padding-top: var(--s-3); border-top: var(--trait) solid var(--line); color: var(--soft); }
.public li strong { font-weight: 600; }

.colonnes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: var(--s-6) var(--s-6); }
.colonnes > li, .colonnes > div { display: grid; gap: var(--s-2); align-content: start; padding-top: var(--s-4); border-top: var(--accent) solid var(--line-2); }
.colonnes p { color: var(--soft); }
.colonnes .note { margin-top: var(--s-1); }

.mesures { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: var(--s-5) var(--s-6); }
.mesures div { display: grid; gap: var(--s-1); align-content: start; padding-top: var(--s-4); border-top: var(--trait) solid var(--line-2); }
.mesures dd { font-size: var(--t-xl); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; order: -1; }
.mesures dt { font-size: var(--t-sm); color: var(--mute); }

.limites { display: grid; gap: var(--s-3); max-width: var(--mesure); }
.limites li { padding-left: var(--s-4); border-left: var(--accent) solid var(--line-2); color: var(--soft); }

.etapes { display: grid; counter-reset: etape; max-width: 52rem; }
.etapes > li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: var(--s-1) var(--s-4); padding-block: var(--s-5); counter-increment: etape; align-items: baseline; }
.etapes > li + li { border-top: var(--trait) solid var(--line); }
.etapes > li::before { content: counter(etape); font-size: var(--t-lg); font-weight: 600; color: var(--mute); font-variant-numeric: tabular-nums; grid-row: span 2; }
.etapes h3 { font-size: var(--t-md); }
.etapes p { color: var(--soft); grid-column: 2; }

.formules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: var(--s-6); }
.formule { display: grid; gap: var(--s-3); align-content: start; padding-top: var(--s-4); border-top: var(--accent) solid var(--line-2); }
.formule .prix { font-size: var(--t-xl); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.formule .prix small { font-size: var(--t-base); font-weight: 400; color: var(--soft); letter-spacing: 0; }
.formule ul { display: grid; gap: var(--s-1); color: var(--soft); }
.formule ul li::before { content: "– "; color: var(--mute); }

.questions { display: grid; max-width: 48rem; }
.questions details { border-top: var(--trait) solid var(--line); }
.questions details:last-child { border-bottom: var(--trait) solid var(--line); }
.questions summary { display: flex; justify-content: space-between; gap: var(--s-4); align-items: baseline; padding-block: var(--s-4); cursor: pointer; font-weight: 600; font-size: var(--t-md); line-height: 1.3; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; color: var(--mute); font-weight: 400; flex: none; }
.questions details[open] summary::after { content: "–"; }
.questions .reponse { padding-bottom: var(--s-5); display: grid; gap: var(--s-3); color: var(--soft); max-width: var(--mesure); }

/* --- Formulaires (commande, résiliation, rétractation) ----------------------- */
.parcours { display: grid; gap: var(--s-7); max-width: 46rem; }
.bloc { display: grid; gap: var(--s-4); }
.bloc > h2 { font-size: var(--t-lg); }
.bloc-num { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: var(--s-4); padding-top: var(--s-5); border-top: var(--trait) solid var(--line); }
.bloc-num > .num { font-size: var(--t-lg); font-weight: 600; color: var(--mute); line-height: 1.2; font-variant-numeric: tabular-nums; }
.bloc-num > .corps { display: grid; gap: var(--s-4); min-width: 0; }
.bloc-num h2 { font-size: var(--t-lg); }

.recap { display: grid; }
.recap div { display: grid; grid-template-columns: minmax(8rem, 13rem) minmax(0, 1fr); gap: var(--s-1) var(--s-4); padding-block: var(--s-3); border-top: var(--trait) solid var(--line); }
.recap div:last-child { border-bottom: var(--trait) solid var(--line); }
.recap dt { color: var(--mute); font-size: var(--t-sm); padding-top: 0.15em; }
.recap dd { color: var(--soft); }
.recap dd strong { color: var(--fg); }

.champs { display: grid; gap: var(--s-5); }
.champ { display: grid; gap: var(--s-1); max-width: 30rem; }
.champ label, .champ legend { font-size: var(--t-sm); color: var(--soft); }
.champ input[type="text"], .champ input[type="email"], .champ input[type="date"], .champ textarea {
  width: 100%; min-height: var(--rond); padding: var(--s-2) 0; border: 0; border-bottom: var(--trait) solid var(--line-3); border-radius: 0; background: none; color: var(--fg); }
.champ textarea { min-height: 6rem; resize: vertical; }
.champ input:focus, .champ textarea:focus { outline: none; border-bottom: var(--accent) solid var(--fg); }
.champ input:focus-visible, .champ textarea:focus-visible { outline: var(--accent) solid var(--signal); outline-offset: 4px; }
.champ input::placeholder, .champ textarea::placeholder { color: var(--mute); }
.champ input[type="date"] { color-scheme: dark; }
.champ .aide { font-size: var(--t-sm); color: var(--mute); }
fieldset.champ { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.champ legend { padding: 0; }
.radios { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); padding-top: var(--s-2); }
.radios label { display: inline-flex; gap: var(--s-2); align-items: center; color: var(--fg); font-size: var(--t-base); cursor: pointer; }

.coche { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: var(--s-3); align-items: start; max-width: var(--mesure); color: var(--soft); cursor: pointer; }
.coche input { width: 1.125rem; height: 1.125rem; margin: 0.25em 0 0; accent-color: var(--paper); cursor: pointer; }
.coche .aide { display: block; margin-top: var(--s-1); font-size: var(--t-sm); color: var(--mute); }
input[type="radio"] { width: 1.05rem; height: 1.05rem; margin: 0; accent-color: var(--paper); }

.erreur { font-size: var(--t-sm); font-weight: 600; color: var(--fg); }
.erreur::before { content: "À corriger : "; color: var(--soft); font-weight: 400; }
[aria-invalid="true"] { border-bottom: var(--accent) solid var(--fg) !important; }
.coche:has(input[aria-invalid="true"]) { color: var(--fg); }
.resume-erreurs { font-weight: 600; padding-left: var(--s-4); border-left: var(--accent) solid var(--fg); }

/* Emplacements à brancher et mentions de maquette : des filets pointillés, pas une boîte */
.emplacement { display: grid; gap: var(--s-2); padding-block: var(--s-4); border-top: var(--trait) dashed var(--line-3); border-bottom: var(--trait) dashed var(--line-3); color: var(--soft); }
.emplacement .titre { font-weight: 600; color: var(--fg); }
.maquette { font-size: var(--t-sm); color: var(--mute); }
.maquette strong { color: var(--soft); }

.resultat { display: grid; gap: var(--s-4); padding-left: var(--s-4); border-left: var(--accent) solid var(--paper); max-width: var(--mesure); }
.resultat h2 { font-size: var(--t-lg); }
.resultat p, .resultat li { color: var(--soft); }
.resultat ul { display: grid; gap: var(--s-1); }
.resultat ul li::before { content: "– "; color: var(--mute); }

.liste-tirets { display: grid; gap: var(--s-2); color: var(--soft); max-width: var(--mesure); }
.liste-tirets li { padding-left: var(--s-4); position: relative; }
.liste-tirets li::before { content: "–"; position: absolute; left: 0; color: var(--mute); }

.formulaire-type { display: grid; gap: var(--s-3); padding-left: var(--s-4); border-left: var(--trait) solid var(--line-2); color: var(--soft); max-width: var(--mesure); }

/* Cases à remplir des projets : bien visibles, sans couleur nouvelle */
.a-completer, .a-verifier { color: var(--fg); background: var(--surface-2); border-radius: 4px; padding: 0.05em 0.3em; -webkit-box-decoration-break: clone; box-decoration-break: clone; font-weight: 600; }
.a-verifier { font-weight: 400; text-decoration: underline dotted var(--soft); text-underline-offset: 0.25em; }
strong .a-verifier { font-weight: 600; }

/* --- Pages juridiques ------------------------------------------------------- */
.juridique { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr); }
.doc { max-width: 46rem; min-width: 0; color: var(--soft); }
.doc h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); color: var(--fg); margin-bottom: var(--s-5); max-width: 22ch; }
.doc h2 { font-size: var(--t-lg); color: var(--fg); margin-top: var(--s-7); margin-bottom: var(--s-4); padding-top: var(--s-4); border-top: var(--trait) solid var(--line); scroll-margin-top: var(--s-4); }
.doc h3 { font-size: var(--t-md); color: var(--fg); margin-top: var(--s-5); margin-bottom: var(--s-3); scroll-margin-top: var(--s-4); }
.doc p, .doc ul, .doc ol, .doc .tableau, .doc blockquote { margin-bottom: var(--s-4); }
.doc ul, .doc ol { display: grid; gap: var(--s-2); }
.doc ul > li { padding-left: var(--s-4); position: relative; }
.doc ul > li::before { content: "–"; position: absolute; left: 0; color: var(--mute); }
.doc ol { list-style: decimal; padding-left: var(--s-5); }
.doc ol > li::marker { color: var(--mute); font-variant-numeric: tabular-nums; }
.doc li > ul, .doc li > ol { margin-top: var(--s-2); margin-bottom: 0; }
.doc hr { border: 0; border-top: var(--trait) solid var(--line); margin-block: var(--s-6); }
.doc hr + h2 { border-top: 0; padding-top: 0; margin-top: 0; }   /* pas de double filet */
.doc blockquote { padding-left: var(--s-4); border-left: var(--accent) solid var(--line-2); }
.doc blockquote p { margin-bottom: var(--s-2); }
.doc blockquote p:last-child { margin-bottom: 0; }
.doc a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 0.2em; }
.doc a:hover { text-decoration-color: var(--fg); }
.doc .avertissement { border-left-color: var(--paper); color: var(--fg); }
.doc .avertissement p:first-child { font-size: var(--t-md); }
.compteur { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); align-items: center; font-size: var(--t-sm); color: var(--mute); padding-block: 0 var(--s-3); border-bottom: var(--trait) solid var(--line); margin-bottom: var(--s-5); }

.tableau { width: 100%; border-collapse: collapse; font-size: var(--t-sm); line-height: var(--lh-meta); }
.tableau th { text-align: left; font-weight: 600; color: var(--fg); padding: var(--s-2) var(--s-3) var(--s-2) 0; border-bottom: var(--trait) solid var(--line-2); vertical-align: bottom; }
.tableau td { padding: var(--s-3) var(--s-3) var(--s-3) 0; border-bottom: var(--trait) solid var(--line); vertical-align: top; }
.tableau code { word-break: break-all; }

/* --- Pied --------------------------------------------------------------------- */
.pied { display: grid; gap: var(--s-4); padding-block: var(--s-6) var(--s-7); border-top: var(--trait) solid var(--line); font-size: var(--t-sm); color: var(--mute); }
.pied nav ul { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.pied nav a { color: var(--soft); text-decoration: none; }
.pied nav a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 0.25em; }
.pied p { max-width: var(--mesure); }

/* --- Écrans étroits ----------------------------------------------------------- */
@media (max-width: 40em) {
  :root { --s-8: 3.5rem; --s-7: 2.5rem; }
  main { padding-top: var(--s-6); }
  .menu { margin-left: 0; width: 100%; gap: var(--s-2) var(--s-4); }
  .menu .pilule { margin-left: auto; }
  .public li, .recap div { grid-template-columns: minmax(0, 1fr); }
  .bloc-num, .etapes > li { grid-template-columns: 1.75rem minmax(0, 1fr); gap: var(--s-1) var(--s-3); }
  .actions .pilule { flex: 1 1 auto; }
  .pilule { white-space: normal; }
  /* Les tableaux des projets deviennent des listes de lignes */
  .tableau, .tableau tbody, .tableau tr, .tableau td { display: block; width: 100%; }
  .tableau thead { display: none; }   /* chaque cellule reprend le titre de sa colonne */
  .tableau tr { padding-block: var(--s-3); border-bottom: var(--trait) solid var(--line-2); }
  .tableau td { border: 0; padding: var(--s-1) 0; }
  .tableau td:empty { display: none; }
  .tableau td[data-titre]::before { content: attr(data-titre); display: block; color: var(--mute); font-size: var(--t-sm); }
}

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

@media print {
  :root { --bg: #fff; --fg: #000; --soft: #222; --mute: #444; --line: #bbb; --line-2: #888; --line-3: #888; --surface-2: #eee; }
  body { background: #fff; color: #000; }
  .haut, .pied, .etat-site, .compteur .pilule, .saut { display: none !important; }
  main { padding: 0; }
  .doc { max-width: none; }
}

/* La clé de licence (page « merci ») et l'adresse du connecteur : un texte long, à copier, qui ne doit jamais déborder. */
.cle-licence { padding-block: var(--s-4); border-top: var(--trait) solid var(--line); border-bottom: var(--trait) solid var(--line); }
.cle-licence code { display: block; font-size: 1rem; color: var(--fg); overflow-wrap: anywhere; user-select: all; }

/* ---------- La page de commande, en bêta : le portail en tête, l'offre à côté du formulaire ---------- */
.portail { position: relative; display: grid; justify-items: center; gap: var(--s-4); text-align: center; padding-top: 14.5rem; padding-bottom: var(--s-6); }
.portail-fond { position: absolute; left: 50%; top: -2.5rem; width: 19rem; height: auto; transform: translateX(-50%); pointer-events: none; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent 100%); mask-image: radial-gradient(closest-side, #000 58%, transparent 100%); }
.portail > :not(.portail-fond) { position: relative; }
.portail h1 { max-width: 24ch; }
.portail .chapo { max-width: 34rem; }
.portail-sur { font-size: var(--t-sm); letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal); }
.etapes { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2) var(--s-5); color: var(--mute); font-size: var(--t-sm); }
.etapes span { display: inline-flex; align-items: center; gap: var(--s-2); }
.etapes i { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: var(--r-pill); border: var(--trait) solid var(--line-2); font-style: normal; font-size: 0.8125rem; }
.etapes span[aria-current="step"] { color: var(--fg); } .etapes span[aria-current="step"] i { background: var(--signal); border-color: var(--signal); color: var(--ink); font-weight: 600; }
.commande-deux { display: grid; grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding-top: var(--s-6); border-top: var(--trait) solid var(--line); }
.offre { position: sticky; top: var(--s-5); display: grid; gap: var(--s-4); padding: var(--s-5); border-radius: 22px; border: var(--trait) solid rgb(255 255 255 / 0.11);
  background: linear-gradient(180deg, rgb(255 194 26 / 0.07), rgb(255 255 255 / 0.02) 48%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1); }
.offre-carte { display: block; width: min(100%, 17rem); height: auto; margin: -2.4rem 0 -2.6rem -1.6rem; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #000 76%, transparent 100%); mask-image: radial-gradient(closest-side, #000 76%, transparent 100%); }
.offre-prix { color: var(--soft); } .offre-prix b { font-size: 2.5rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--fg); margin-right: 0.35rem; }
.compris { display: grid; gap: var(--s-3); }
.compris li { display: grid; gap: 0.1rem; padding-left: 1.5rem; position: relative; }
.compris li::before { content: ""; position: absolute; left: 0.1rem; top: 0.5rem; width: 0.7rem; height: 0.38rem; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg); }
.compris b { font-weight: 600; } .compris span { color: var(--soft); font-size: var(--t-sm); line-height: var(--lh-meta); }
@media (max-width: 860px) { .commande-deux { grid-template-columns: minmax(0, 1fr); } .offre { position: static; } }
@media print { .portail-fond, .offre-carte { display: none !important; } }

/* ---------- Maquette du 2 décembre 2026 : l'accueil et la page d'achat retravaillés ---------- */
.menu a.pilule.petite { background: var(--paper); color: var(--ink); }
.menu a.pilule.petite:hover { box-shadow: none; background: #fff; color: var(--ink); }
/* Le bouton d'or : la seule chose jaune d'un écran */
.bouton-or { display: inline-flex; align-items: center; justify-content: space-between; gap: var(--s-5); padding: 0.8rem 0.9rem 0.8rem 1.4rem; border: 0; border-radius: 18px; cursor: pointer; text-decoration: none; text-align: left; font: inherit;
  color: #1c1300; background: linear-gradient(180deg, #ffcf4a, var(--signal)); box-shadow: 0 12px 30px -16px rgb(255 176 20 / 0.6), inset 0 1px 0 rgb(255 255 255 / 0.45); transition: transform var(--dur), box-shadow var(--dur); }
.bouton-or:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -16px rgb(255 176 20 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.45); }
.bouton-or:active { transform: translateY(0); }
.bouton-or b { display: block; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; } .bouton-or small { display: block; font-size: 0.78rem; font-weight: 500; opacity: 0.8; }
.bouton-or i { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: var(--r-pill); background: #1c1300; color: var(--signal); font-style: normal; font-size: 1.2rem; transition: transform var(--dur); }
.bouton-or:hover i { transform: translateX(3px); }
.bouton-or.large { width: 100%; }

/* L'accueil */
.accueil { gap: clamp(4rem, 9vw, 7.5rem); padding-top: var(--s-5); }
.hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 3rem); align-items: center; min-height: min(38rem, 78vh); }
.hero-texte { display: grid; gap: var(--s-5); align-content: center; }
.hero h1 { max-width: 16ch; font-size: clamp(2.5rem, 1.2rem + 4.6vw, 4.4rem); }
.hero .chapo { max-width: 32rem; }
.hero-image { position: relative; display: grid; place-items: center; }
.hero-image::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 176 20 / 0.2), transparent); filter: blur(34px); animation: souffle 6s ease-in-out infinite; }
.hero-image img { position: relative; width: min(100%, 36rem); height: auto; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); animation: flotte 9s ease-in-out infinite; }
.ias-ligne { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.ias-ligne span { padding: 0.3rem 0.85rem; border-radius: var(--r-pill); border: var(--trait) solid var(--line-2); color: var(--soft); font-size: var(--t-sm); }
@keyframes flotte { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(1.2deg); } }
@keyframes souffle { 0%, 100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

/* La démonstration */
.demo { gap: var(--s-6); }
.demo-tete { display: grid; gap: var(--s-3); } .demo-tete h2 { max-width: 22ch; }
.demo-corps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(1rem, 3vw, 2.5rem); align-items: start; }
.demo-questions { display: grid; gap: var(--s-2); }
.demo-questions button { font: inherit; text-align: left; cursor: pointer; padding: 0.95rem 1.1rem; border-radius: 16px; background: rgb(255 255 255 / 0.03); border: var(--trait) solid var(--line); color: var(--soft); transition: border-color var(--dur), background var(--dur), color var(--dur), transform var(--dur); }
.demo-questions button:hover { color: var(--fg); transform: translateX(3px); }
.demo-questions button[aria-pressed="true"] { border-color: var(--signal); background: rgb(255 194 26 / 0.07); color: var(--fg); }
.demo-ecran { display: grid; gap: var(--s-4); padding: clamp(1.2rem, 3vw, 1.9rem); border-radius: 22px; border: var(--trait) solid rgb(255 255 255 / 0.11); background: linear-gradient(160deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.02) 60%); box-shadow: 0 30px 70px -40px #000, inset 0 1px 0 rgb(255 255 255 / 0.1); min-height: 19rem; align-content: start; }
.demo-bulle { justify-self: end; max-width: 26rem; padding: 0.7rem 1rem; border-radius: 16px 16px 4px 16px; background: var(--paper); color: var(--ink); font-weight: 500; }
.demo-cherche { color: var(--mute); font-size: var(--t-sm); display: inline-flex; align-items: center; gap: var(--s-2); }
.demo-cherche::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--signal); animation: pouls 1.4s ease-in-out infinite; }
.demo-fiche { display: grid; gap: var(--s-2); padding: var(--s-4) var(--s-5); border-radius: 16px; background: rgb(0 0 0 / 0.35); border: var(--trait) solid var(--line-2); border-left: 3px solid var(--signal); }
.demo-rayon { font-size: var(--t-sm); letter-spacing: 0.1em; text-transform: uppercase; color: var(--signal); }
.demo-fiche h3 { font-size: var(--t-md); line-height: 1.3; } .demo-source { color: var(--soft); font-size: var(--t-sm); }
.demo-ecran.joue .demo-bulle { animation: arrive 0.35s ease both; } .demo-ecran.joue .demo-cherche { animation: arrive 0.35s 0.25s ease both; } .demo-ecran.joue .demo-fiche { animation: arrive 0.45s 0.7s ease both; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pouls { 0%, 100% { opacity: 0.35; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.15); } }

/* Les trois piliers */
.piliers { gap: clamp(2rem, 5vw, 4rem); }
.pilier { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 3.5rem); align-items: center; }
.pilier.inverse > img { order: 2; }
.pilier img { width: min(100%, 24rem); height: auto; justify-self: center; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); transition: transform 0.6s ease; }
.pilier:hover img { transform: scale(1.04) rotate(-1.5deg); }
.pilier > div { display: grid; gap: var(--s-3); max-width: 30rem; }
.pilier h3 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.1rem); letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; } .pilier p:last-child { color: var(--soft); }

/* Comment ça marche */
.trois { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); position: relative; }
.trois::before { content: ""; position: absolute; left: 1.3rem; right: 1.3rem; top: 1.3rem; height: 1px; background: linear-gradient(90deg, var(--signal), var(--line-2) 34%, var(--line-2)); }
.trois > div { display: grid; gap: var(--s-2); position: relative; padding-right: var(--s-4); }
.trois i { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--bg); border: var(--trait) solid var(--line-2); font-style: normal; font-weight: 600; margin-bottom: var(--s-2); }
.trois > div:first-child i { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.trois h3 { font-size: var(--t-md); } .trois p { color: var(--soft); }

/* Le dernier appel */
.final { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 3rem); align-items: center; padding: clamp(1.2rem, 4vw, 2.6rem); border-radius: 26px; border: var(--trait) solid rgb(255 255 255 / 0.11);
  background: linear-gradient(120deg, rgb(255 194 26 / 0.09), rgb(255 255 255 / 0.02) 55%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1); overflow: hidden; }
.final img { width: min(100%, 21rem); height: auto; margin: -2.5rem auto; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(closest-side, #000 76%, transparent 100%); mask-image: radial-gradient(closest-side, #000 76%, transparent 100%); animation: flotte 10s ease-in-out infinite; }
.final > div { display: grid; gap: var(--s-4); }

/* La page d'achat : un seul panneau */
.commande-deux { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); }
.commande-deux .parcours { max-width: none; gap: var(--s-6); }
.panneau { display: grid; gap: var(--s-5); padding: clamp(1.3rem, 3vw, 2.2rem); border-radius: 22px; border: var(--trait) solid rgb(255 255 255 / 0.11); background: linear-gradient(160deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.02) 60%); box-shadow: 0 30px 70px -40px #000, inset 0 1px 0 rgb(255 255 255 / 0.1); }
.panneau-tete { display: grid; gap: var(--s-1); } .panneau-tete h2 { font-size: var(--t-lg); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.panneau .champ { max-width: none; gap: 0.4rem; } .panneau .champ.large { max-width: none; }
.panneau .champ input[type="text"], .panneau .champ input[type="email"] { background: rgb(0 0 0 / 0.35); border: var(--trait) solid var(--line-2); border-radius: 14px; padding: 0.8rem 1rem; box-shadow: inset 0 2px 6px rgb(0 0 0 / 0.5); transition: border-color var(--dur); }
.panneau .champ input[type="text"]:focus, .panneau .champ input[type="email"]:focus { border: var(--trait) solid var(--signal); }
.panneau > .aide { font-size: var(--t-sm); color: var(--mute); margin-top: calc(var(--s-3) * -1); }
.bascule { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); padding-top: var(--s-1); }
.bascule label { position: relative; cursor: pointer; }
.bascule input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.bascule span { display: block; text-align: center; padding: 0.8rem 1rem; border-radius: 14px; border: var(--trait) solid var(--line-2); background: rgb(255 255 255 / 0.03); color: var(--soft); font-weight: 500; transition: border-color var(--dur), background var(--dur), color var(--dur); }
.bascule input:checked + span { border-color: var(--signal); background: rgb(255 194 26 / 0.08); color: var(--fg); }
.bascule input:focus-visible + span { outline: var(--accent) solid var(--signal); outline-offset: 3px; }
.essentiel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.essentiel li { display: grid; gap: 0.15rem; padding: var(--s-3) var(--s-4); border-radius: 14px; background: rgb(0 0 0 / 0.28); border: var(--trait) solid var(--line); }
.essentiel b { font-weight: 600; } .essentiel span { color: var(--mute); font-size: 0.8125rem; line-height: 1.35; }
.detail { border-top: var(--trait) solid var(--line); border-bottom: var(--trait) solid var(--line); }
.detail summary { cursor: pointer; padding-block: var(--s-4); font-weight: 600; display: flex; justify-content: space-between; gap: var(--s-4); list-style: none; }
.detail summary::-webkit-details-marker { display: none; } .detail summary::after { content: "+"; color: var(--mute); font-weight: 400; } .detail[open] summary::after { content: "–"; }
.detail > :not(summary) { margin-bottom: var(--s-4); } .detail .recap div { grid-template-columns: minmax(7rem, 10rem) minmax(0, 1fr); } .detail .recap dd { font-size: var(--t-sm); line-height: var(--lh-meta); }
.cases { display: grid; gap: var(--s-4); } .cases .coche { max-width: none; font-size: var(--t-sm); line-height: var(--lh-meta); } .cases .coche input { accent-color: var(--signal); }
.ferme { font-size: var(--t-sm); color: var(--soft); }
.gages { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--t-sm); color: var(--mute); }
.gages span::before { content: "· "; color: var(--signal); }

@media (max-width: 860px) {
  .hero, .demo-corps, .pilier, .final, .trois, .commande-deux { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; } .hero-image { order: -1; } .hero-image img { width: min(100%, 20rem); }
  .pilier.inverse > img { order: 0; } .pilier img { width: min(100%, 15rem); justify-self: start; margin: -1.5rem 0 -1.5rem -1.2rem; }
  .trois::before { display: none; } .final img { margin: -2rem 0 -2.5rem -1.5rem; width: min(100%, 15rem); }
  .duo, .essentiel { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .hero-image img, .hero-image::before, .final img, .demo-cherche::before { animation: none; } .demo-ecran.joue > * { animation: none; } .bouton-or, .pilier img, .demo-questions button { transition: none; } }
