/* ==========================================================================
   Zongotik — site public (accueil, tutoriels, contact, pages légales)
   Charte « Zango » : la nuit pétrole pour l'encre, le safran de la halte pour
   agir, le fleuve pour les liens, la menthe du « en ligne ». Archivo, élargie
   pour la voix, droite pour lire ; JetBrains Mono pour ce qu'on tape dans un
   routeur. Tout est servi par notre adresse.
   Les noms de variables d'avant (violet, ambre…) sont gardés : seules leurs
   valeurs ont changé.
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo.woff2?v=1') format('woff2');
  font-weight: 400 800;
  font-stretch: 100% 115%;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono.woff2?v=1') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --nuit: #0f2530;
  --nuit-2: #173342;
  --indigo: #1f4152;
  --indigo-3: #2a4b5b;
  --violet: #0b6b80;
  --violet-fonce: #095869;
  --violet-doux: #ddf1f5;
  --lilas: #9ed9e6;
  --brume: #b4c6cd;
  --ambre: #f5a524;
  --ambre-fonce: #8a5300;
  --ambre-doux: #fdf1da;
  --menthe: #3dd39b;
  --menthe-fonce: #147a55;
  --menthe-doux: #ddf3ea;
  --papier: #eff3f4;
  --papier-2: #f6f9fa;
  --encre: #0f2530;
  --texte: #33464f;
  --doux: #5a6e77;
  --trait: #dce3e6;
  --blanc: #ffffff;

  --display: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --corps: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;

  --rayon: 22px;
  --ombre: 0 1px 2px rgba(15, 37, 48, .05), 0 22px 44px -30px rgba(15, 37, 48, .35);
  --entete: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--papier); color: var(--texte); font: 17px/1.62 var(--corps); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; }
a { color: var(--violet-fonce); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-stretch: 115%; color: var(--encre); margin: 0; letter-spacing: -.03em; text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; }
code, kbd, .mono { font-family: var(--mono); }
:focus-visible { outline: 3px solid var(--ambre); outline-offset: 3px; border-radius: 6px; }
.s-invisible { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.s-evitement { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ambre); color: #0f2530; font-weight: 700; text-decoration: none; }
.s-evitement:focus { top: 12px; }

.s-conteneur { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
.s-etroit { max-width: 780px; }

/* ------------------------------------------------------------------ boutons */

.s-bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 14px; border: 1.5px solid transparent;
  font-weight: 800; font-size: 16px; letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.s-bouton svg { width: 18px; height: 18px; flex: none; }
.s-bouton:hover { transform: translateY(-1px); }
.s-bouton--ambre { background: var(--ambre); color: #0f2530; box-shadow: 0 18px 32px -18px rgba(245, 165, 36, .95); }
.s-bouton--ambre:hover { background: #f8b94a; }
.s-bouton--violet { background: var(--violet); color: #fff; box-shadow: 0 18px 32px -18px rgba(11, 107, 128, .95); }
.s-bouton--violet:hover { background: var(--violet-fonce); }
.s-bouton--fantome { background: transparent; color: inherit; border-color: currentColor; }
.s-bouton--clair { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.s-bouton--clair:hover { background: rgba(255, 255, 255, .14); }
.s-bouton--petit { min-height: 40px; padding: 8px 16px; border-radius: 11px; font-size: 15px; }
.s-bouton .s-pastille { margin-left: 4px; padding: 3px 8px; border-radius: 99px; font-size: 12.5px; font-weight: 800; background: rgba(15, 37, 48, .12); }

/* ------------------------------------------------------------------ en-tête */

.s-entete { position: sticky; top: 0; z-index: 50; height: var(--entete); display: flex; align-items: center; color: #fff; background: rgba(15, 37, 48, .72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08); padding-top: env(safe-area-inset-top, 0px); }
.s-entete--papier { color: var(--encre); background: rgba(239, 243, 244, .86); border-bottom-color: var(--trait); }
.s-entete .s-conteneur { display: flex; align-items: center; gap: 24px; }
.s-marque { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.s-marque .zt-marque { height: 32px; --zt-marque-fond: var(--ambre); --zt-marque-route: var(--nuit); }
.s-entete--papier .s-marque .zt-marque { --zt-marque-fond: var(--nuit); --zt-marque-route: var(--ambre); }
.s-nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.s-nav a { color: inherit; opacity: .82; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.s-nav a:hover, .s-nav a[aria-current="page"] { opacity: 1; background: rgba(255, 255, 255, .08); }
.s-entete--papier .s-nav a:hover, .s-entete--papier .s-nav a[aria-current="page"] { background: rgba(15, 37, 48, .06); }
.s-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ambre); border-radius: 10px 10px 4px 4px; }
.s-entete__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.s-entete__lien { color: inherit; font-weight: 700; font-size: 15px; text-decoration: none; opacity: .88; padding: 8px 10px; }
.s-entete__lien:hover { opacity: 1; }
.s-menu-bouton { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: inherit; place-items: center; cursor: pointer; }
.s-entete--papier .s-menu-bouton { border-color: var(--trait); }
.s-menu-bouton svg { width: 22px; height: 22px; }
.s-tiroir { position: fixed; inset: calc(var(--entete) + env(safe-area-inset-top, 0px)) 0 auto 0; z-index: 49; background: var(--nuit); color: #fff; padding: 12px 20px 22px; display: grid; gap: 4px; border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.s-tiroir a:not(.s-bouton) { color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; padding: 12px 6px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.s-tiroir .s-bouton { margin-top: 12px; }

/* ------------------------------------------------------------------ bandes */

.s-bande { padding-block: 104px; position: relative; }
.s-bande--nuit { background: var(--nuit); color: var(--brume); overflow: hidden; }
.s-bande--nuit h1, .s-bande--nuit h2, .s-bande--nuit h3 { color: #fff; }
.s-bande--papier-2 { background: var(--papier-2); border-block: 1px solid var(--trait); }
.s-trame::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .08) 1.4px, transparent 1.4px); background-size: 30px 30px; mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), transparent 75%); -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), transparent 75%); }
.s-lueur { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }

.s-sourcil { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ambre-fonce); }
.s-sourcil::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 18%, transparent); }
.s-bande--nuit .s-sourcil { color: var(--ambre); }
.s-titre { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.02; font-weight: 800; }
.s-titre em { font-style: normal; color: var(--violet); }
.s-bande--nuit .s-titre em { color: var(--ambre); }
.s-chapo { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; max-width: 62ch; }
.s-entete-section { display: grid; gap: 18px; margin-bottom: 52px; max-width: 820px; }
.s-entete-section--centre { margin-inline: auto; text-align: center; justify-items: center; }

/* ------------------------------------------------------------------ une (accueil) */

.s-une { padding-block: 72px 88px; }
.s-une .s-conteneur { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; position: relative; z-index: 1; }
.s-une h1 { font-size: clamp(42px, 6.2vw, 80px); line-height: .96; font-weight: 800; letter-spacing: -.045em; }
.s-une h1 em { font-style: normal; color: var(--ambre); }
.s-une__texte { display: grid; gap: 26px; justify-items: start; }
.s-une__chapo { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--brume); max-width: 36em; }
.s-une__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.s-une__assurance { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; color: var(--lilas); }
.s-une__assurance span { display: inline-flex; align-items: center; gap: 7px; }
.s-une__assurance svg { width: 16px; height: 16px; color: var(--menthe); }
.s-une__demo { position: relative; justify-self: center; width: min(100%, 360px); }
.s-une__demo figcaption { margin-top: 14px; text-align: center; font-size: 13px; color: var(--lilas); }
.s-faits { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.s-faits span { padding: 7px 13px; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; font-weight: 600; color: var(--brume); }

/* ------------------------------------------------------------------ lecteur de tutoriels */

.lecteur { display: grid; gap: 14px; }
.lecteur__cadre { position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 30px; background: #081319; box-shadow: 0 50px 90px -40px rgba(4, 14, 19, .9), 0 0 0 1px rgba(255, 255, 255, .08); isolation: isolate; }
.lecteur__scene { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; transform-origin: top left; }
.lecteur__attente { position: absolute; inset: 0; display: grid; place-items: center; color: var(--lilas); font-size: 14px; }
/* Le bouton de lecture couvre tout le cadre (on lance d'une tape n'importe où),
   mais la pastille se range dans le coin : au centre, elle masquait le titre du
   tutoriel, qui est justement ce qu'on vient lire. */
.lecteur__lecture { position: absolute; inset: 0; z-index: 2; display: grid; place-items: end end; padding: 0 18px 18px 0; background: linear-gradient(to top, rgba(6, 19, 26, .5), transparent 42%); border: 0; cursor: pointer; color: #fff; }
.lecteur__lecture span { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(15, 37, 48, .82); border: 2px solid rgba(255, 255, 255, .5); backdrop-filter: blur(6px); box-shadow: 0 10px 30px -10px rgba(4, 14, 19, .8); transition: transform .15s ease; }
.lecteur__lecture:hover span { transform: scale(1.06); }
.lecteur__lecture svg { width: 30px; height: 30px; margin-left: 4px; }
.lecteur[data-etat="lecture"] .lecteur__lecture { opacity: 0; }
.lecteur__barre { display: flex; align-items: center; gap: 8px; }
.lecteur__barre button { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--trait); background: var(--blanc); color: var(--encre); cursor: pointer; }
.lecteur__barre button:hover { border-color: var(--violet); color: var(--violet); }
.lecteur__barre button svg { width: 18px; height: 18px; }
.lecteur__barre .lecteur__vitesse { width: auto; padding: 0 10px; font-weight: 800; font-size: 13px; font-family: var(--mono); }
.lecteur__piste { position: relative; flex: 1; height: 40px; cursor: pointer; display: flex; align-items: center; }
.lecteur__piste::before { content: ''; position: absolute; left: 0; right: 0; height: 6px; border-radius: 99px; background: var(--trait); }
.lecteur__rempli { position: absolute; left: 0; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--violet), var(--ambre)); width: 0; }
.lecteur__repere { position: absolute; width: 2px; height: 12px; border-radius: 2px; background: var(--doux); transform: translateX(-1px); opacity: .6; }
.lecteur__temps { font-family: var(--mono); font-size: 12.5px; color: var(--doux); min-width: 76px; text-align: right; }
.s-bande--nuit .lecteur__barre button { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }
.s-bande--nuit .lecteur__piste::before { background: rgba(255, 255, 255, .16); }
.s-bande--nuit .lecteur__temps { color: var(--lilas); }
.s-pas-a-pas { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; cursor: pointer; user-select: none; }
.s-pas-a-pas input { width: 18px; height: 18px; accent-color: var(--violet); }

/* ------------------------------------------------------------------ cartes & grilles */

.s-grille-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.s-grille-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.s-carte { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 28px; display: grid; gap: 14px; align-content: start; box-shadow: var(--ombre); }
.s-carte h3 { font-size: 22px; line-height: 1.15; letter-spacing: -.02em; }
.s-carte p { font-size: 16px; }
.s-icone { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; }
.s-icone svg { width: 26px; height: 26px; }
.s-icone--violet { background: var(--violet-doux); color: var(--violet); }
.s-icone--ambre { background: var(--ambre-doux); color: var(--ambre-fonce); }
.s-icone--menthe { background: var(--menthe-doux); color: var(--menthe-fonce); }

.s-probleme { display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: var(--rayon); background: var(--blanc); border: 1px solid var(--trait); box-shadow: var(--ombre); }
.s-probleme blockquote { margin: 0; font-family: var(--display); font-size: 21px; line-height: 1.2; font-weight: 700; color: var(--encre); letter-spacing: -.02em; }
.s-probleme blockquote::before { content: '« '; color: var(--ambre-fonce); }
.s-probleme blockquote::after { content: ' »'; color: var(--ambre-fonce); }
.s-probleme .s-fleche { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--menthe-fonce); }
.s-probleme .s-fleche::after { content: ''; flex: 1; height: 1px; background: var(--trait); }
.s-lien-tuto { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; }
.s-lien-tuto svg { width: 18px; height: 18px; }

.s-produit { position: relative; display: grid; gap: 18px; align-content: start; padding: 30px; border-radius: 26px; background: var(--blanc); border: 1px solid var(--trait); box-shadow: var(--ombre); }
.s-produit--vedette { border: 2px solid var(--violet); box-shadow: 0 30px 60px -34px rgba(11, 107, 128, .55); }
.s-produit__badge { position: absolute; top: -13px; left: 28px; padding: 5px 12px; border-radius: 99px; background: var(--violet); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.s-produit h3 { font-size: 25px; }
.s-prix { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.s-prix b { font-family: var(--display); font-size: 40px; font-weight: 800; color: var(--encre); letter-spacing: -.04em; line-height: 1; }
.s-prix span { font-size: 15px; color: var(--doux); }
.s-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.s-liste li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 15.5px; line-height: 1.45; }
.s-liste li svg { width: 20px; height: 20px; color: var(--menthe-fonce); margin-top: 1px; }
.s-produit .s-bouton { justify-self: start; }

/* ------------------------------------------------------------------ une ligne suffit */

.s-ligne { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; position: relative; z-index: 1; }
.s-etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: etape; }
.s-etapes li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; counter-increment: etape; }
.s-etapes li::before { content: counter(etape); width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 20px; color: #0f2530; background: var(--ambre); }
.s-etapes b { display: block; color: #fff; font-size: 18px; margin-bottom: 2px; }
.s-terminal { border-radius: 20px; overflow: hidden; background: #0a151b; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .9); }
.s-terminal__barre { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #142834; color: #b4c6cd; font-size: 13px; font-weight: 700; }
.s-terminal__barre i { width: 11px; height: 11px; border-radius: 50%; background: #3d5663; }
.s-terminal__barre i:nth-child(1) { background: #ec6a5e; } .s-terminal__barre i:nth-child(2) { background: #f4bf4f; } .s-terminal__barre i:nth-child(3) { background: #61c554; }
.s-terminal__barre span { margin-left: 8px; }
.s-terminal pre { margin: 0; padding: 20px 22px 24px; font: 500 14px/1.7 var(--mono); color: #d3dfe3; white-space: pre-wrap; word-break: break-all; }
.s-terminal .p { color: #7ee2a0; }
.s-terminal .d { color: #8fa6b0; }
.s-terminal .ok { color: #8fe0a8; font-weight: 700; }
.s-connecte { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 16px; border-radius: 12px; background: rgba(61, 211, 155, .12); border: 1px solid rgba(61, 211, 155, .35); color: #a8f0d4; font-weight: 700; font-size: 15px; }
.s-connecte i { width: 10px; height: 10px; border-radius: 50%; background: var(--menthe); box-shadow: 0 0 0 5px rgba(61, 211, 155, .25); }
.s-note { font-size: 13.5px; color: var(--lilas); margin-top: 10px; }

/* ------------------------------------------------------------------ pro */

.s-pro { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--trait); border-radius: 26px; overflow: hidden; background: var(--blanc); box-shadow: var(--ombre); }
.s-pro article { padding: 28px; display: grid; gap: 12px; align-content: start; border-right: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.s-pro article:nth-child(3n) { border-right: 0; }
.s-pro article:nth-last-child(-n+3) { border-bottom: 0; }
.s-pro h3 { font-size: 20px; }
.s-pro p { font-size: 15.5px; }
.s-pro .s-icone { width: 44px; height: 44px; border-radius: 13px; }
.s-pro .s-icone svg { width: 23px; height: 23px; }
.s-remarque { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 16px; }
.s-remarque b { color: var(--encre); }

/* ------------------------------------------------------------------ tarifs */

.s-tarifs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: start; }
.s-prix-unique { display: grid; gap: 20px; padding: 34px; border-radius: 28px; color: var(--brume); background: radial-gradient(420px 300px at 90% -10%, rgba(245, 165, 36, .28), transparent 70%), linear-gradient(160deg, var(--nuit-2), var(--indigo)); }
.s-prix-unique h3 { color: #fff; font-size: 26px; }
.s-prix-unique .s-prix b { color: #fff; font-size: 56px; }
.s-prix-unique .s-prix span { color: var(--lilas); }
.s-piece { width: 112px; height: 112px; border-radius: 50%; display: grid; place-content: center; text-align: center; color: #0f2530; background: radial-gradient(circle at 32% 28%, #ffe2b3, var(--ambre) 45%, var(--ambre-fonce) 100%); box-shadow: 0 20px 40px -18px rgba(232, 148, 12, .8), inset 0 -6px 14px rgba(138, 83, 0, .35), inset 0 4px 10px rgba(255, 255, 255, .5); flex: none; }
.s-piece b { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: .9; letter-spacing: -.04em; }
.s-piece span { font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.s-offre { display: flex; align-items: center; gap: 18px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.s-offre b { color: #fff; font-size: 18px; }
.s-recharges { width: 100%; border-collapse: collapse; font-size: 15px; color: var(--brume); }
.s-recharges th, .s-recharges td { text-align: left; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.s-recharges th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--lilas); font-weight: 700; border-top: 0; }
.s-recharges td.n, .s-recharges th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.s-recharges b { color: #fff; }
.s-economie { display: inline-block; padding: 2px 8px; border-radius: 99px; background: rgba(61, 211, 155, .16); color: #a8f0d4; font-weight: 800; font-size: 12.5px; }

.s-simulateur { display: grid; gap: 22px; padding: 32px; border-radius: 28px; background: var(--blanc); border: 1px solid var(--trait); box-shadow: var(--ombre); }
.s-simulateur h3 { font-size: 24px; }
.s-reglage { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding-block: 14px; border-top: 1px solid var(--trait); }
.s-reglage:first-of-type { border-top: 0; padding-top: 0; }
.s-reglage label, .s-reglage .s-reglage__titre { font-weight: 700; color: var(--encre); font-size: 16px; }
.s-reglage small { display: block; color: var(--doux); font-size: 13.5px; font-weight: 500; }
.s-compteur { display: inline-grid; grid-template-columns: 44px 56px 44px; border: 1px solid var(--trait); border-radius: 14px; overflow: hidden; background: var(--papier-2); }
.s-compteur button { border: 0; background: transparent; font-size: 22px; font-weight: 700; color: var(--encre); cursor: pointer; }
.s-compteur button:hover { background: var(--violet-doux); color: var(--violet); }
.s-compteur output, .s-compteur input { display: grid; place-items: center; font-family: var(--mono); font-size: 18px; font-weight: 700; color: var(--encre); text-align: center; border: 0; background: transparent; width: 100%; }
.s-select { min-height: 46px; padding: 8px 40px 8px 14px; border-radius: 14px; border: 1px solid var(--trait); background: var(--papier-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23767285' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; appearance: none; color: var(--encre); font-weight: 700; }
.s-total { display: grid; gap: 10px; padding: 22px; border-radius: 20px; background: var(--papier); }
.s-total__ligne { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 15.5px; }
.s-total__ligne b { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--encre); white-space: nowrap; }
.s-total__grand { padding-top: 12px; border-top: 1px dashed var(--trait); }
.s-total__grand span { font-weight: 700; color: var(--encre); }
.s-total__grand b { font-family: var(--display); font-size: 34px; letter-spacing: -.03em; }
.s-conseil { font-size: 14.5px; padding: 12px 14px; border-radius: 14px; background: var(--menthe-doux); color: #0e5a3e; }
.s-conseil:empty { display: none; }

/* ------------------------------------------------------------------ onglets tutoriels (accueil) */

.s-onglets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.s-onglets button { border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); color: var(--brume); padding: 10px 16px; border-radius: 99px; font-weight: 700; font-size: 15px; cursor: pointer; }
.s-onglets button[aria-selected="true"] { background: var(--ambre); border-color: var(--ambre); color: #0f2530; }
.s-tutos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 48px; align-items: start; position: relative; z-index: 1; }
.s-tutos__liste { display: grid; gap: 10px; align-content: start; }
.s-tuto { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; align-items: center; width: 100%; padding: 16px 18px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); color: var(--brume); text-align: left; cursor: pointer; }
.s-tuto:hover { background: rgba(255, 255, 255, .08); }
.s-tuto[aria-pressed="true"] { border-color: var(--ambre); background: rgba(245, 165, 36, .1); }
.s-tuto__numero { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 19px; color: #fff; background: rgba(255, 255, 255, .08); }
.s-tuto[aria-pressed="true"] .s-tuto__numero { background: var(--ambre); color: #0f2530; }
.s-tuto b { display: block; color: #fff; font-size: 17px; line-height: 1.25; }
.s-tuto small { display: block; font-size: 14px; color: var(--lilas); margin-top: 2px; }
.s-tuto__duree { font-family: var(--mono); font-size: 13px; color: var(--lilas); white-space: nowrap; }
.s-pro-badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: var(--violet); color: #fff; font-size: 11px; font-weight: 800; vertical-align: 2px; }

/* ------------------------------------------------------------------ parrainage */

.s-parrainage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.s-pourcentage { font-family: var(--display); font-weight: 800; font-size: clamp(88px, 12vw, 150px); line-height: .85; letter-spacing: -.06em; color: var(--violet); }
.s-pourcentage small { font-size: .4em; letter-spacing: -.02em; }
.s-trois { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.s-trois li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.s-trois li i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-family: var(--display); font-weight: 800; color: var(--violet); background: var(--violet-doux); }
.s-trois b { display: block; color: var(--encre); }

/* ------------------------------------------------------------------ FAQ */

.s-faq { display: grid; gap: 12px; }
.s-faq details { border: 1px solid var(--trait); border-radius: 18px; background: var(--blanc); padding: 0 22px; }
.s-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--encre); letter-spacing: -.015em; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: ''; width: 12px; height: 12px; flex: none; border-right: 2.5px solid var(--doux); border-bottom: 2.5px solid var(--doux); transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
.s-faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.s-faq details > div { padding: 0 0 20px; display: grid; gap: 10px; max-width: 70ch; }

/* ------------------------------------------------------------------ appel final & pied */

.s-final { text-align: center; }
.s-final .s-conteneur { display: grid; gap: 24px; justify-items: center; position: relative; z-index: 1; }
.s-final h2 { font-size: clamp(36px, 5.4vw, 66px); line-height: .98; font-weight: 800; letter-spacing: -.045em; }
.s-final h2 em { font-style: normal; color: var(--ambre); }

.s-pied { background: #0a1a22; color: #8fa6b0; padding-block: 64px 36px; font-size: 15px; }
.s-pied__grille { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.s-pied h4 { color: #fff; font-family: var(--corps); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.s-pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.s-pied a { color: #8fa6b0; text-decoration: none; }
.s-pied a:hover { color: #fff; }
.s-pied .s-marque { color: #fff; }
.s-pied__bas { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; }

/* ------------------------------------------------------------------ centre de tutoriels */

.s-centre { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: start; padding-block: 44px 96px; }
.s-sommaire { position: sticky; top: calc(var(--entete) + 20px); display: grid; gap: 22px; max-height: calc(100vh - var(--entete) - 40px); overflow: auto; padding-right: 6px; }
.s-sommaire h2 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--doux); font-family: var(--corps); margin-bottom: 8px; }
.s-sommaire ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.s-sommaire a { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 9px 10px; border-radius: 12px; text-decoration: none; color: var(--texte); font-size: 15px; line-height: 1.3; }
.s-sommaire a:hover { background: var(--blanc); }
.s-sommaire a[aria-current="page"] { background: var(--blanc); color: var(--encre); font-weight: 700; box-shadow: inset 3px 0 0 var(--violet); }
.s-sommaire a span:first-child { font-family: var(--mono); font-size: 12.5px; color: var(--doux); }
.s-sommaire a small { font-family: var(--mono); font-size: 12px; color: var(--doux); }
.s-scene-tuto { display: grid; grid-template-columns: minmax(260px, 390px) minmax(0, 1fr); gap: 40px; align-items: start; }
.s-scene-tuto .lecteur { position: sticky; top: calc(var(--entete) + 20px); }
.s-fiche { display: grid; gap: 22px; align-content: start; }
.s-fiche h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.02; font-weight: 800; }
.s-chapitres { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.s-chapitres button { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--trait); background: var(--blanc); text-align: left; color: var(--texte); font-size: 15.5px; line-height: 1.45; cursor: pointer; }
.s-chapitres button:hover { border-color: var(--lilas); }
.s-chapitres button[aria-current="step"] { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(11, 107, 128, .14); color: var(--encre); }
.s-chapitres button i { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-style: normal; font-family: var(--display); font-weight: 800; background: var(--violet-doux); color: var(--violet); }
.s-chapitres button[aria-current="step"] i { background: var(--violet); color: #fff; }
.s-chapitres b { color: var(--encre); font-weight: 700; }
.s-actions-tuto { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.s-suivant { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: 18px; background: var(--nuit-2); color: var(--brume); text-decoration: none; }
.s-suivant b { color: #fff; font-family: var(--display); font-size: 18px; }
.s-suivant svg { width: 22px; height: 22px; color: var(--ambre); flex: none; }
.s-bandeau-tuto { background: var(--nuit); color: var(--brume); padding-block: 40px; }
.s-bandeau-tuto h1 { color: #fff; font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
.s-bandeau-tuto .s-conteneur { display: grid; gap: 12px; }

/* ------------------------------------------------------------------ formulaires & pages de texte */

.s-page { padding-block: 64px 96px; }
.s-page h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; line-height: 1.02; }
.s-formulaire { display: grid; gap: 18px; padding: 32px; border-radius: 26px; background: var(--blanc); border: 1px solid var(--trait); box-shadow: var(--ombre); }
.s-champ { display: grid; gap: 7px; }
.s-champ label { font-weight: 700; color: var(--encre); font-size: 15px; }
.s-champ label small { font-weight: 500; color: var(--doux); }
.s-champ input, .s-champ textarea, .s-champ select { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1px solid #c5d1d6; background: var(--papier-2); color: var(--encre); font-size: 16px; }
.s-champ textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.s-champ input:focus, .s-champ textarea:focus, .s-champ select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(11, 107, 128, .15); background: var(--blanc); }
.s-champ .s-erreur { font-size: 14px; color: #b42318; font-weight: 600; }
.s-deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.s-piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.s-succes { padding: 18px 20px; border-radius: 18px; background: var(--menthe-doux); color: #0e5a3e; font-weight: 600; }
.s-contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: start; margin-top: 40px; }
.s-canaux { display: grid; gap: 14px; }
.s-canal { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: center; padding: 18px; border-radius: 20px; background: var(--blanc); border: 1px solid var(--trait); text-decoration: none; color: var(--texte); }
.s-canal b { display: block; color: var(--encre); }

.s-legal { display: grid; gap: 18px; max-width: 72ch; }
.s-legal h2 { font-size: 26px; margin-top: 26px; letter-spacing: -.02em; }
.s-legal h3 { font-size: 19px; margin-top: 8px; letter-spacing: -.01em; }
.s-legal ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.s-legal table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--blanc); border-radius: 14px; overflow: hidden; }
.s-legal th, .s-legal td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--trait); vertical-align: top; }
.s-legal thead th { background: var(--papier-2); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--doux); border-top: 0; }
.s-legal .s-maj { font-size: 14px; color: var(--doux); }
.s-tableau { overflow-x: auto; border: 1px solid var(--trait); border-radius: 14px; }

/* ------------------------------------------------------------------ WhatsApp */

.s-wa { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 55; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--menthe-fonce); color: #fff; text-decoration: none; font-size: 15px; box-shadow: 0 1px 2px rgba(20, 122, 85, .3), 0 18px 34px -16px rgba(10, 60, 44, .7); transition: transform .22s ease, opacity .22s ease, visibility .22s, box-shadow .18s ease; }
.s-wa:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(20, 122, 85, .3), 0 24px 40px -16px rgba(10, 60, 44, .75); color: #fff; }
/* Posé par le script une fois la première section passée ; sans script, le bouton reste visible. */
.s-wa--masque { opacity: 0; visibility: hidden; transform: translateY(14px); pointer-events: none; }
.s-wa svg { width: 24px; height: 24px; flex: none; }
.s-wa b { display: block; font-weight: 700; }
.s-wa span { line-height: 1.2; color: rgba(255, 255, 255, .78); }
/* La bannière de consentement passe au-dessus du bouton, jamais dessus. */
.s-wa ~ .s-consentement { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }

/* ------------------------------------------------------------------ consentement */

.s-consentement { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: 560px; margin-left: auto; padding: 20px; border-radius: 20px; background: var(--nuit-2); color: var(--brume); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6); display: grid; gap: 14px; font-size: 15px; }
.s-consentement b { color: #fff; }
.s-consentement a { color: var(--ambre); }
.s-consentement div { display: flex; flex-wrap: wrap; gap: 10px; }

/* ------------------------------------------------------------------ petits écrans */

@media (max-width: 1080px) {
  .s-nav { display: none; }
  .s-menu-bouton { display: grid; }
  .s-entete__actions .s-entete__lien, .s-entete__actions .s-bouton { display: none; }
  .s-une .s-conteneur, .s-ligne, .s-tarifs, .s-parrainage, .s-tutos, .s-scene-tuto, .s-contact { grid-template-columns: minmax(0, 1fr); }
  .s-une__demo { width: min(100%, 330px); }
  .s-tutos .lecteur { max-width: 360px; justify-self: center; width: 100%; }
  .s-centre { grid-template-columns: minmax(0, 1fr); }
  .s-sommaire { position: static; max-height: none; order: 2; }
  .s-scene-tuto .lecteur { position: static; max-width: 380px; justify-self: center; width: 100%; }
  .s-pied__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-pied__grille > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .s-grille-3, .s-pro { grid-template-columns: minmax(0, 1fr); }
  .s-pro article { border-right: 0; border-bottom: 1px solid var(--trait) !important; }
  .s-pro article:last-child { border-bottom: 0 !important; }
  .s-grille-2, .s-deux { grid-template-columns: minmax(0, 1fr); }
  .s-bande { padding-block: 72px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .s-une { padding-block: 44px 64px; }
  .s-une__actions .s-bouton { width: 100%; }
  .s-carte, .s-produit, .s-simulateur, .s-prix-unique, .s-formulaire { padding: 22px; }
  .s-reglage { grid-template-columns: minmax(0, 1fr); }
  .s-tuto { grid-template-columns: 44px minmax(0, 1fr); }
  .s-tuto__numero { width: 44px; height: 44px; font-size: 17px; }
  .s-tuto__duree { grid-column: 2; }
  .s-pied__grille { grid-template-columns: minmax(0, 1fr); }
  .s-wa { padding: 12px; }
  .s-wa span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .s-bouton, .lecteur__lecture span, .s-wa { transition: none; }
  .s-wa:hover, .s-wa--masque { transform: none; }
}
@media print {
  .s-wa, .s-consentement, .s-evitement { display: none !important; }
}

/* La marque Zongotik, dessinée en tracés (composant x-marque). */
.zt-marque { display: inline-flex; align-items: center; gap: .55em; line-height: 0; }
.zt-marque svg { height: 100%; width: auto; display: block; }
.zt-marque .zt-mot { height: 64%; }
