/*
 * assets/css/site.css — Feuille de style du site vitrine SaniLedger.
 *
 * POURQUOI. Remplace le CDN Tailwind « play » (non prévu pour la production) : un seul fichier local,
 * sans dépendance externe, compatible avec une Content-Security-Policy stricte.
 * Palette reprise du logo et de l'application : sarcelle #0D9488, bleu marine de l'en-tête de l'app,
 * et les trois couleurs du schéma de principe (eau froide, départ eau chaude, retour de boucle).
 */

/* ---------- Polices (IBM Plex, licence SIL OFL 1.1) ---------- */
@font-face { font-family: "Plex"; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Condensed"; src: url("../fonts/ibm-plex-sans-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Condensed"; src: url("../fonts/ibm-plex-sans-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Jetons ---------- */
:root {
  --encre: #10283C;        /* texte */
  --encre-doux: #4A5E6E;   /* texte secondaire */
  --marine: #0E3A63;       /* en-tête de l'application */
  --marine-fonce: #0A2B4A;
  --sarcelle: #0D9488;     /* logo */
  --sarcelle-action: #0A7A70; /* boutons : contraste AA avec le blanc */
  --sarcelle-fonce: #075E56;
  --menthe: #E2F3EE;
  --menthe-trait: #BFE3D8;
  --fond: #F6FAF9;
  --blanc: #FFFFFF;
  --trait: #D8E3E6;
  --froid: #2563A8;
  --chaud: #C8372D;
  --retour: #D9681E;
  --ok: #157F4A;
  --rayon-s: 6px;
  --rayon: 10px;
  --rayon-l: 18px;
  --ombre: 0 1px 2px rgba(16, 40, 60, .06), 0 8px 24px -12px rgba(16, 40, 60, .18);
  --ombre-capture: 0 2px 4px rgba(16, 40, 60, .06), 0 24px 48px -24px rgba(16, 40, 60, .35);
  --largeur: 1180px;
  --gouttiere: 20px;
  --titre: "Plex Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --texte: "Plex", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--encre);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sarcelle-action); text-underline-offset: 3px; }
a:hover { color: var(--sarcelle-fonce); }
:focus-visible { outline: 3px solid var(--sarcelle); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; color: inherit; }
h1, h2 { font-family: var(--titre); font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.55rem); line-height: 1.05; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); line-height: 1.08; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 600; }
p { margin: 0; }
p + p { margin-top: .9em; }
ul, ol { margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.etroit { max-width: 860px; }
.icone { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lien-evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--marine); color: #fff; padding: 10px 14px; border-radius: var(--rayon-s); }
.lien-evitement:focus { top: 12px; color: #fff; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.35em;
  font: 600 1rem/1.2 var(--texte);
  text-decoration: none; border-radius: var(--rayon-s); border: 2px solid transparent;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.bouton-plein { background: var(--sarcelle-action); color: #fff; }
.bouton-plein:hover { background: var(--sarcelle-fonce); color: #fff; }
.bouton-contour { border-color: var(--trait); color: var(--marine); background: var(--blanc); }
.bouton-contour:hover { border-color: var(--marine); color: var(--marine); }
.bouton-clair { background: #fff; color: var(--marine); }
.bouton-clair:hover { background: var(--menthe); color: var(--marine); }
.bouton-large { width: 100%; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--trait); }
.entete-int { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 70px; }
.marque { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--marine); }
.marque svg { width: 36px; height: 36px; }
.marque-nom { font-family: var(--titre); font-weight: 700; font-size: 1.45rem; letter-spacing: -.01em; }
.marque-nom span { color: var(--sarcelle-action); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-liens { display: flex; gap: 24px; list-style: none; }
.nav-liens a { color: var(--encre); text-decoration: none; font-weight: 500; font-size: .97rem; padding: 6px 0; }
.nav-liens a:hover { color: var(--sarcelle-action); }
.nav .bouton { min-height: 42px; padding: .55em 1.1em; font-size: .95rem; }
.nav-bascule { display: none; background: none; border: 1px solid var(--trait); border-radius: var(--rayon-s); width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--marine); cursor: pointer; }
.nav-bascule .icone { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .nav-bascule { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px var(--gouttiere) 20px; background: #fff; border-bottom: 1px solid var(--trait); box-shadow: var(--ombre); display: none; }
  .nav.ouverte { display: flex; }
  .nav-liens { flex-direction: column; gap: 0; }
  .nav-liens a { display: block; padding: 12px 0; border-bottom: 1px solid var(--fond); }
  .nav .bouton { min-height: 48px; margin-top: 8px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-blanche { background: var(--blanc); }
.section-menthe { background: var(--menthe); }
.section-marine { background: var(--marine); color: #fff; }
.section-marine a { color: #9EE6DA; }
.entete-section { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.entete-section p { margin-top: 16px; font-size: 1.125rem; color: var(--encre-doux); }
.section-marine .entete-section p { color: #C9D8E6; }
.chapo { font-size: 1.15rem; color: var(--encre-doux); }

/* ---------- Héros ---------- */
.heros { padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 96px); background: linear-gradient(180deg, #fff 0%, var(--fond) 100%); overflow: hidden; }
.heros-grille { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.heros h1 { color: var(--marine); max-width: 13em; }
.heros-texte .chapo { margin-top: 22px; max-width: 33em; }
.heros-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.heros-confiance { display: flex; align-items: center; gap: 14px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--trait); font-size: .95rem; color: var(--encre-doux); max-width: 33em; }
.heros-confiance img { width: 44px; height: 42px; object-fit: contain; }
.heros-confiance strong { color: var(--encre); font-weight: 600; }

/* Schéma animé du héros */
.reseau { position: relative; margin: 0; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon-l); box-shadow: var(--ombre-capture); padding: 18px 18px 14px; }
.reseau-titre { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .85rem; color: var(--encre-doux); padding: 2px 4px 10px; border-bottom: 1px solid var(--fond); }
.reseau-titre strong { color: var(--encre); font-weight: 600; font-size: .95rem; }
.reseau-svg { position: relative; }
.reseau svg { width: 100%; height: auto; }
.reseau .tuyau { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.reseau .flux { fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: 2; stroke-dasharray: 2 16; stroke-linecap: round; animation: flux 1.6s linear infinite; }
.reseau .flux-lent { animation-duration: 2.4s; }
@keyframes flux { to { stroke-dashoffset: -18; } }
.reseau .point { fill: #fff; stroke-width: 3; }
.reseau .point-texte { font: 600 10px var(--texte); text-anchor: middle; dominant-baseline: central; }
.reseau .libelle { font: 500 13px var(--texte); fill: var(--encre-doux); }
.reseau .halo { fill: none; stroke: var(--chaud); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: halo 1.4s ease-out 1.2s 3; }
@keyframes halo { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
.mesure { position: absolute; background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon-s); padding: 6px 10px; font-size: .78rem; line-height: 1.3; box-shadow: var(--ombre); white-space: nowrap; }
.mesure b { display: block; font-size: .95rem; font-weight: 600; color: var(--encre); }
.mesure-ok b::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: var(--ok); vertical-align: 1px; }
.mesure-alerte { border-color: #F1B5AF; background: #FFF6F5; white-space: normal; width: 15.5em; opacity: 0; animation: apparition .45s cubic-bezier(.2, .8, .2, 1) 1.1s forwards; }
.mesure-alerte b { color: var(--chaud); }
.mesure-alerte span { display: block; margin-top: 2px; color: var(--encre); }
@keyframes apparition { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.legende { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 4px 0; border-top: 1px solid var(--fond); font-size: .8rem; color: var(--encre-doux); }
.legende span { display: inline-flex; align-items: center; gap: 7px; }
.legende i { display: inline-block; width: 18px; height: 4px; border-radius: 2px; }

@media (max-width: 960px) {
  .heros-grille { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .mesure-ok { display: none; }
  .mesure-alerte { position: static; width: auto; margin-top: 10px; }
  .reseau { padding: 12px 12px 10px; }
}

/* ---------- Constat ---------- */
.constat-grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.constat-grille h2 { color: #fff; }
.constat-grille .chapo { color: #C9D8E6; margin-top: 20px; }
.frictions { list-style: none; display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.frictions li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); color: #DCE7F1; }
.frictions li strong { display: block; color: #fff; font-weight: 600; margin-bottom: 4px; }
.frictions .icone { color: #F3A79F; width: 24px; height: 24px; margin-top: 2px; }
.constat-conclusion { margin-top: 28px; font-size: 1.05rem; color: #fff; }
@media (max-width: 860px) { .constat-grille { grid-template-columns: 1fr; } }

/* ---------- Avant / après ---------- */
.comparatif { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon-l); overflow: hidden; }
.comparatif th, .comparatif td { text-align: left; vertical-align: top; padding: 18px 22px; border-bottom: 1px solid var(--trait); }
.comparatif tr:last-child th, .comparatif tr:last-child td { border-bottom: 0; }
.comparatif thead th { background: var(--fond); font-size: .95rem; font-weight: 600; color: var(--encre-doux); }
.comparatif thead th:last-child { background: var(--marine); color: #fff; }
.comparatif tbody th { width: 19%; font-weight: 600; color: var(--marine); }
.comparatif td { width: 40.5%; }
.comparatif td.avant { color: var(--encre-doux); }
.comparatif td.apres { background: #F4FBF9; border-left: 1px solid var(--trait); }
.comparatif td.apres::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: var(--sarcelle); vertical-align: 1px; }
@media (max-width: 760px) {
  .comparatif, .comparatif tbody, .comparatif tr, .comparatif th, .comparatif td { display: block; width: auto; }
  .comparatif thead { display: none; }
  .comparatif tr { border-bottom: 1px solid var(--trait); }
  .comparatif tr:last-child { border-bottom: 0; }
  .comparatif tbody th { width: auto; padding: 18px 18px 6px; border: 0; }
  .comparatif td { width: auto; padding: 6px 18px; border: 0; }
  .comparatif td.avant::before { content: "Aujourd'hui : "; font-weight: 600; }
  .comparatif td.apres { border: 0; margin: 6px 12px 16px; border-radius: var(--rayon); padding: 12px 14px; }
}

/* ---------- Gains du SaaS ---------- */
.gains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 2px solid var(--marine); }
.gain { padding: 22px 24px 0 0; }
.gain + .gain { padding-left: 24px; border-left: 1px solid var(--trait); }
.gain .icone { color: var(--sarcelle-action); width: 26px; height: 26px; margin-bottom: 12px; }
.gain h3 { font-size: 1.05rem; margin-bottom: 6px; }
.gain p { font-size: .97rem; color: var(--encre-doux); }
@media (max-width: 900px) {
  .gains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gain, .gain + .gain { padding: 22px 20px 22px 0; border-left: 0; }
  .gain:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--trait); }
  .gain:nth-child(n+3) { border-top: 1px solid var(--trait); }
}
@media (max-width: 520px) {
  .gains { grid-template-columns: 1fr; }
  .gain:nth-child(even) { padding-left: 0; border-left: 0; }
  .gain:nth-child(n+2) { border-top: 1px solid var(--trait); }
}

/* ---------- Fonctionnalités ---------- */
.fonction { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.fonction + .fonction { margin-top: clamp(64px, 9vw, 112px); }
.fonction:nth-of-type(even) { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.fonction:nth-of-type(even) .fonction-texte { order: 2; }
.fonction.fonction-large { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: end; }
.fonction.fonction-large .fonction-texte { order: 0; }
.fonction.fonction-large .capture { grid-column: 1 / -1; }
.fonction-large .fonction-cote { color: var(--encre-doux); }
.fonction-texte h3 { font-family: var(--titre); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 1.95rem); line-height: 1.12; color: var(--marine); }
.fonction-texte > p { margin-top: 14px; color: var(--encre-doux); }
.fonction-famille { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--sarcelle-action); font-weight: 600; font-size: .95rem; }
.fonction-famille .icone { width: 20px; height: 20px; }
.puces { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.puces li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .98rem; }
.puces .icone { color: var(--sarcelle-action); width: 20px; height: 20px; margin-top: 3px; }
.capture { margin: 0; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); box-shadow: var(--ombre-capture); overflow: hidden; }
.capture img { width: 100%; }
.capture-legende { display: block; font-size: .85rem; color: var(--encre-doux); margin-top: 12px; }
.capture-duo { display: grid; grid-template-columns: 1fr 1.05fr; gap: 20px; align-items: start; }
.capture-duo .capture:last-child { margin-top: 40px; }
.telephone { max-width: 330px; margin: 0 auto; border: 10px solid var(--marine-fonce); border-radius: 34px; overflow: hidden; box-shadow: var(--ombre-capture); background: #B2E3D8; }
.telephone img { width: 100%; aspect-ratio: 840 / 1280; object-fit: cover; object-position: top; }
@media (max-width: 860px) {
  .fonction { grid-template-columns: 1fr; }
  .fonction:nth-of-type(even), .fonction.fonction-large { grid-template-columns: 1fr; }
  .fonction:nth-of-type(even) .fonction-texte { order: 0; }
}

/* ---------- Étapes ---------- */
.etapes { list-style: none; counter-reset: etape; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.etapes::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 3px; background: linear-gradient(90deg, var(--froid), var(--chaud) 60%, var(--retour)); border-radius: 2px; }
.etape { position: relative; counter-increment: etape; }
.etape::before { content: counter(etape); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--marine); color: #fff; font: 700 1.2rem var(--titre); box-shadow: 0 0 0 6px var(--menthe); margin-bottom: 20px; position: relative; }
.etape h3 { margin-bottom: 8px; }
.etape p { font-size: .97rem; color: var(--encre-doux); }
.etapes-note { margin-top: 40px; display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: rgba(255, 255, 255, .7); border: 1px solid var(--menthe-trait); border-radius: var(--rayon); font-size: .98rem; }
.etapes-note .icone { color: var(--sarcelle-action); }
@media (max-width: 900px) {
  .etapes { grid-template-columns: 1fr; gap: 28px; }
  .etapes::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 3px; height: auto; background: linear-gradient(180deg, var(--froid), var(--chaud) 60%, var(--retour)); }
  .etape { padding-left: 70px; }
  .etape::before { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ---------- Réglementation ---------- */
.reglement { width: 100%; border-collapse: collapse; font-size: .98rem; }
.reglement th, .reglement td { text-align: left; vertical-align: top; padding: 18px 16px; border-bottom: 1px solid var(--trait); }
.reglement thead th { font-size: .9rem; font-weight: 600; color: var(--encre-doux); border-bottom: 2px solid var(--marine); padding-top: 0; }
.reglement td:first-child { font-weight: 500; width: 38%; }
.reglement td.texte-ref { width: 20%; color: var(--encre-doux); font-size: .92rem; }
.reglement .seuil { display: inline-block; padding: 1px 8px; border-radius: 4px; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.seuil-chaud { background: #FCE9E7; color: #9E2A22; }
.seuil-froid { background: #E6EEF8; color: #1B4B82; }
.seuil-retour { background: #FDEEDF; color: #9A4510; }
.note-texte { margin-top: 20px; font-size: .88rem; color: var(--encre-doux); max-width: 70ch; }
@media (max-width: 760px) {
  .reglement thead { display: none; }
  .reglement, .reglement tbody, .reglement tr, .reglement td { display: block; width: auto !important; }
  .reglement tr { padding: 16px 0; border-bottom: 1px solid var(--trait); }
  .reglement td { padding: 4px 0; border: 0; }
  .reglement td.texte-ref::before { content: "Texte : "; }
}

/* ---------- Référence client ---------- */
.reference { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(28px, 4vw, 48px); background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon-l); }
.reference img { width: 132px; height: auto; }
.reference h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); color: var(--marine); }
.reference p { margin-top: 12px; color: var(--encre-doux); max-width: 62ch; }
@media (max-width: 640px) { .reference { grid-template-columns: 1fr; } .reference img { width: 96px; } }

/* ---------- Sécurité ---------- */
.securite-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.securite-item { padding: 26px 26px 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.securite-item:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .18); }
.securite-item .icone { width: 24px; height: 24px; color: #7FD9CB; margin-bottom: 12px; }
.securite-item h3 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.securite-item p { color: #C9D8E6; font-size: .96rem; }
.securite-pied { margin-top: 32px; color: #C9D8E6; font-size: .98rem; }
@media (max-width: 860px) {
  .securite-grille { grid-template-columns: 1fr 1fr; }
  .securite-item:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .securite-item:nth-child(even) { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .18); }
}
@media (max-width: 560px) {
  .securite-grille { grid-template-columns: 1fr; }
  .securite-item:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ---------- Tarifs ---------- */
.offres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.offre { display: flex; flex-direction: column; padding: 30px 28px; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon-l); }
.offre-phare { border: 2px solid var(--sarcelle-action); box-shadow: var(--ombre-capture); position: relative; }
.offre-badge { position: absolute; top: -14px; left: 28px; background: var(--sarcelle-action); color: #fff; font-size: .82rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.offre-sombre { background: var(--marine); color: #fff; border-color: var(--marine); }
.offre h3 { font-size: 1.15rem; }
.offre-cible { margin-top: 4px; font-size: .95rem; color: var(--encre-doux); }
.offre-sombre .offre-cible { color: #C9D8E6; }
.prix { margin: 26px 0 22px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.prix strong { font: 700 2.9rem/1 var(--titre); color: var(--marine); }
.offre-sombre .prix strong { color: #fff; font-size: 2.2rem; }
.prix span { font-size: .95rem; color: var(--encre-doux); }
.offre .puces { margin: 0 0 28px; flex-grow: 1; }
.offre-sombre .puces .icone { color: #7FD9CB; }
.inclus { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .95rem; color: var(--encre-doux); }
.inclus span { display: inline-flex; align-items: center; gap: 8px; }
.inclus .icone { color: var(--sarcelle-action); width: 18px; height: 18px; }
@media (max-width: 900px) { .offres { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--trait); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 1.08rem; color: var(--marine); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icone { color: var(--encre-doux); transition: transform .2s; }
.faq details[open] summary .icone { transform: rotate(180deg); }
.faq details > div { padding: 0 0 24px; color: var(--encre-doux); max-width: 70ch; }

/* ---------- Démo / formulaire ---------- */
.demo-grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.demo-grille .chapo { margin-top: 18px; }
.demo-promesses { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.demo-promesses li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.demo-promesses .icone { color: var(--sarcelle-action); width: 20px; height: 20px; margin-top: 3px; }
.formulaire { background: var(--blanc); border: 1px solid var(--menthe-trait); border-radius: var(--rayon-l); padding: clamp(24px, 4vw, 40px); box-shadow: var(--ombre); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ-large { grid-column: 1 / -1; }
.champ label { font-weight: 600; font-size: .95rem; }
.champ label small { font-weight: 400; color: var(--encre-doux); }
.champ input, .champ select {
  font: 400 1rem var(--texte); color: var(--encre);
  min-height: 48px; padding: 10px 14px;
  border: 1px solid #B9C9CF; border-radius: var(--rayon-s); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.champ input:focus, .champ select:focus { outline: none; border-color: var(--sarcelle-action); box-shadow: 0 0 0 4px rgba(13, 148, 136, .18); }
.champ input[aria-invalid="true"] { border-color: var(--chaud); }
.pot-de-miel { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.formulaire-note { grid-column: 1 / -1; font-size: .86rem; color: var(--encre-doux); }
.message { grid-column: 1 / -1; display: flex; gap: 10px; padding: 14px 16px; border-radius: var(--rayon-s); font-size: .97rem; }
.message-erreur { background: #FFF1F0; border: 1px solid #F1B5AF; color: #8A231C; }
.message .icone { margin-top: 2px; }
@media (max-width: 860px) { .demo-grille { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .formulaire { grid-template-columns: 1fr; } }

/* ---------- Éditeur ---------- */
.editeur { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.editeur h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); color: var(--marine); }
.editeur p { margin-top: 14px; color: var(--encre-doux); max-width: 62ch; }
.editeur-logo { display: grid; place-items: center; padding: 40px; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon-l); }
.editeur-logo img { width: 100%; max-width: 260px; height: auto; }
@media (max-width: 760px) { .editeur { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.pied { background: var(--marine-fonce); color: #B7C8D8; padding: 56px 0 32px; font-size: .95rem; }
.pied a { color: #DCE7F1; text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied-haut { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.pied .marque { color: #fff; }
.pied .marque-nom span { color: #7FD9CB; }
.pied-desc { margin-top: 12px; max-width: 36ch; }
.pied-liens { display: flex; gap: 48px; flex-wrap: wrap; }
.pied-liens ul { list-style: none; display: grid; gap: 8px; }
.pied-liens h3 { font-size: .95rem; color: #fff; margin-bottom: 10px; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .88rem; }

/* ---------- Pages de texte (mentions, confidentialité, CGV, merci) ---------- */
.page-texte { padding: clamp(48px, 7vw, 88px) 0; }
.page-texte h1 { font-size: clamp(2rem, 4vw, 2.9rem); color: var(--marine); }
.page-texte .maj { margin-top: 10px; color: var(--encre-doux); font-size: .95rem; }
.page-texte h2 { font-size: 1.5rem; color: var(--marine); margin: 44px 0 12px; }
.page-texte h3 { margin: 24px 0 8px; }
.page-texte p, .page-texte li { max-width: 72ch; }
.page-texte ul { padding-left: 1.2em; margin: 10px 0; }
.page-texte li + li { margin-top: 6px; }
.page-texte dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 12px 0; }
.page-texte dt { font-weight: 600; }
.page-texte dd { margin: 0; }
@media (max-width: 560px) { .page-texte dl { grid-template-columns: 1fr; } .page-texte dd { margin-bottom: 8px; } }
.sommaire { margin: 32px 0 8px; padding: 22px 26px; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); }
.sommaire ol { list-style: decimal; padding-left: 1.4em; columns: 2 280px; column-gap: 40px; font-size: .97rem; }
.sommaire li { break-inside: avoid; margin: 0 0 6px; }
.sommaire a { text-decoration: none; }
.sommaire a:hover { text-decoration: underline; }
.cga h2 { scroll-margin-top: 90px; font-size: 1.35rem; }
.cga dl { grid-template-columns: minmax(150px, max-content) 1fr; }
.merci { text-align: left; max-width: 640px; }

/* ---------- Vidéo de présentation ---------- */
.section-video { padding-top: clamp(48px, 7vw, 88px); }
.video-cadre { position: relative; border-radius: var(--rayon-l); overflow: hidden; background: var(--marine-fonce); box-shadow: var(--ombre-capture); aspect-ratio: 16 / 9; max-width: 100%; }
.video-cadre video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-lecture { position: absolute; left: clamp(12px, 2.5vw, 32px); bottom: clamp(56px, 7vw, 76px); display: inline-flex; align-items: center; gap: 14px; padding: 16px 26px 16px 20px; border: 0; border-radius: 999px; background: var(--marine); color: #fff; font: 600 1.1rem/1.2 var(--texte); cursor: pointer; box-shadow: 0 12px 30px -10px rgba(10, 43, 74, .6); transition: background-color .15s; }
.video-lecture:hover { background: var(--sarcelle-action); }
.video-lecture .icone { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.video-lecture small { font-weight: 400; font-size: .9rem; color: #C9D8E6; }
.video-cadre.en-lecture .video-lecture { display: none; }
@media (max-width: 560px) { .video-lecture { padding: 12px 18px 12px 14px; font-size: 1rem; } .video-lecture small { display: none; } }
.merci .pastille { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--menthe); color: var(--sarcelle-action); margin-bottom: 24px; }
.merci .pastille .icone { width: 32px; height: 32px; }
.merci p { margin-top: 16px; color: var(--encre-doux); font-size: 1.1rem; }
.merci .heros-actions { margin-top: 32px; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reseau .flux, .reseau .halo { animation: none; }
  .reseau .flux { display: none; }
  .mesure-alerte { animation: none; opacity: 1; }
  * { transition: none !important; }
}
