/* ═══════════════════════════════════════════════════════════════
   Vitrine OmniMark — système visuel

   Aucune police distante : la remédiation du 5 septembre a retiré les
   imports Google Fonts parce qu'ils bloquaient le rendu quand le réseau
   échouait. La pile système est donc travaillée plutôt que remplacée.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --nuit: #0a0f1f;
  --encre: #131a2e;
  --encre-2: #3d4761;
  --encre-3: #6b7690;

  --blanc: #ffffff;
  --voile: #f6f7fb;
  --trait: #e3e7f0;
  --trait-fort: #cdd4e3;

  --marque: #3d4ee8;
  --marque-fonce: #2c39bd;
  --marque-voile: #eef0ff;
  --vert: #0f8a5f;
  --rouge: #c22a2a;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --ombre-douce: 0 1px 2px rgba(10, 15, 31, .05), 0 8px 24px -12px rgba(10, 15, 31, .16);
  --ombre-forte: 0 2px 4px rgba(10, 15, 31, .06), 0 24px 56px -24px rgba(10, 15, 31, .34);

  --pile: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

/* Les règles de composant l'emportent sinon sur la règle par défaut du
   navigateur : un élément masqué resterait visible. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--pile);
  font-size: 16px;
  line-height: 1.62;
  color: var(--encre);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  color: var(--nuit);
  font-weight: 750;
  letter-spacing: -0.028em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
a { color: var(--marque); text-decoration: none; }

.contenu { width: min(1140px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-voile { background: var(--voile); border-block: 1px solid var(--trait); }

.oeil {
  display: inline-block;
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--marque); margin-bottom: 14px;
}
.titre-section { font-size: clamp(28px, 4vw, 40px); }
.sous-titre {
  color: var(--encre-2);
  font-size: clamp(16px, 1.5vw, 18.5px);
  max-width: 62ch; margin-top: 14px;
}

/* ─── Boutons ──────────────────────────────────────────────── */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  padding: 13px 22px;
  font-family: inherit; font-size: 15.5px; font-weight: 650;
  letter-spacing: -0.008em; cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, background-color .18s ease;
}
.bouton:active { transform: translateY(1px); }
.bouton-primaire {
  background: var(--marque); color: var(--blanc);
  box-shadow: 0 1px 2px rgba(61, 78, 232, .3), 0 10px 24px -12px rgba(61, 78, 232, .8);
}
.bouton-primaire:hover { background: var(--marque-fonce); }
.bouton-primaire:disabled {
  background: var(--trait-fort); color: var(--encre-3);
  box-shadow: none; cursor: not-allowed;
}
.bouton-fantome { background: var(--blanc); color: var(--nuit); border-color: var(--trait-fort); }
.bouton-fantome:hover { border-color: var(--encre-3); }
.bouton-large { width: 100%; }

/* ─── En-tête ──────────────────────────────────────────────── */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--trait);
}
header.site .contenu {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 68px;
}
.marque {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 19px; font-weight: 780; letter-spacing: -0.03em; color: var(--nuit);
}
.marque .sceau {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(145deg, var(--marque), #6d4de8);
  display: grid; place-items: center;
  color: #fff; font-size: 15px; font-weight: 800;
  box-shadow: 0 4px 12px -4px rgba(61, 78, 232, .7);
}
header.site nav { display: flex; align-items: center; gap: 26px; }
header.site nav a { color: var(--encre-2); font-size: 15px; font-weight: 550; }
header.site nav a:hover { color: var(--nuit); }
/* Plus spécifique que la règle ci-dessus, qui rendrait le libellé illisible. */
header.site nav a.bouton-primaire { color: var(--blanc); }
header.site nav a.bouton-fantome { color: var(--nuit); }

/* ─── Accroche ─────────────────────────────────────────────── */
.accroche {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.accroche::before {
  content: "";
  position: absolute; inset: -40% 30% auto -10%; height: 620px;
  background: radial-gradient(closest-side, rgba(61, 78, 232, .13), transparent 70%);
  pointer-events: none;
}
.accroche .contenu {
  position: relative;
  display: grid; gap: clamp(40px, 5vw, 68px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
}
.accroche h1 { font-size: clamp(34px, 5.1vw, 56px); }
.accroche .chapo {
  font-size: clamp(17px, 1.7vw, 19.5px);
  color: var(--encre-2); max-width: 54ch; margin-top: 20px;
}
.accroche .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.accroche .mention {
  margin-top: 18px; font-size: 14.5px; color: var(--encre-3);
  display: flex; align-items: center; gap: 8px;
}

.pastille {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--marque-voile); color: var(--marque-fonce);
  border: 1px solid rgba(61, 78, 232, .18);
  border-radius: 999px; padding: 6px 15px 6px 7px;
  font-size: 13.5px; font-weight: 620; margin-bottom: 22px;
}
.pastille b {
  background: var(--marque); color: #fff; border-radius: 999px;
  padding: 3px 10px; font-size: 12px; font-weight: 700;
}

/* ─── Bandeau de confiance ─────────────────────────────────── */
.bandeau { border-block: 1px solid var(--trait); background: var(--voile); padding: 30px 0; }
.bandeau .contenu {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  align-items: center;
}
.chiffre { display: flex; flex-direction: column; gap: 2px; }
.chiffre b { font-size: 25px; font-weight: 760; color: var(--nuit); letter-spacing: -0.03em; }
.chiffre span { font-size: 14.5px; color: var(--encre-2); }

/* ─── Atouts ───────────────────────────────────────────────── */
.grille-atouts {
  display: grid; gap: 20px; margin-top: 44px;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}
.atout {
  background: var(--blanc); border: 1px solid var(--trait);
  border-radius: var(--r-md); padding: 26px 24px 28px;
  box-shadow: var(--ombre-douce);
}
.atout .icone {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--marque-voile);
  display: grid; place-items: center; margin-bottom: 16px;
}
.atout .icone svg { width: 21px; height: 21px; stroke: var(--marque); fill: none; stroke-width: 1.9; }
.atout h3 { font-size: 17.5px; margin-bottom: 8px; letter-spacing: -0.018em; }
.atout p { color: var(--encre-2); font-size: 15.3px; }

/* ─── Étapes ───────────────────────────────────────────────── */
.etapes { display: grid; gap: 22px; margin-top: 44px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.etape { position: relative; padding-top: 22px; border-top: 2px solid var(--trait-fort); }
.etape .rang {
  position: absolute; top: -13px; left: 0;
  background: var(--nuit); color: #fff;
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; font-size: 13px; font-weight: 720;
}
.etape:first-child .rang { background: var(--marque); }
.etape h3 { font-size: 16.5px; margin-bottom: 6px; }
.etape p { color: var(--encre-2); font-size: 15px; }

/* ─── Maquette produit ────────────────────────────────────── */
.maquette {
  position: relative; border-radius: var(--r-lg);
  background: linear-gradient(160deg, #1b2445, var(--nuit) 60%);
  padding: 18px; box-shadow: var(--ombre-forte);
}
.maquette svg { display: block; width: 100%; height: auto; border-radius: var(--r-md); }

/* ─── Tarifs ───────────────────────────────────────────────── */
.bascule-cycle {
  display: inline-flex; gap: 4px; margin-top: 30px;
  border: 1px solid var(--trait); border-radius: 999px;
  padding: 5px; background: var(--blanc); box-shadow: var(--ombre-douce);
}
.bascule-cycle button {
  border: 0; background: transparent; border-radius: 999px;
  padding: 9px 20px; cursor: pointer;
  font-family: inherit; font-size: 14.5px; font-weight: 640; color: var(--encre-2);
}
.bascule-cycle button[aria-pressed="true"] { background: var(--nuit); color: #fff; }
.bascule-cycle .economie { font-size: 12px; opacity: .82; margin-left: 6px; }

.grille-packs {
  display: grid; gap: 22px; margin-top: 36px;
  grid-template-columns: repeat(auto-fit, minmax(292px, 1fr));
  align-items: stretch;
}
.pack {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  background: var(--blanc); border: 1px solid var(--trait);
  border-radius: var(--r-lg); padding: 30px 28px 32px;
  box-shadow: var(--ombre-douce);
}
.pack.mis-en-avant {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--marque), var(--ombre-forte);
}
.pack .etiquette {
  position: absolute; top: -12px; left: 28px;
  background: var(--marque); color: #fff;
  border-radius: 999px; padding: 4px 13px;
  font-size: 11.5px; font-weight: 720; letter-spacing: .07em; text-transform: uppercase;
}
.pack h3 { font-size: 20px; letter-spacing: -0.02em; }
.pack .description { color: var(--encre-2); font-size: 14.8px; min-height: 44px; }
.pack .prix { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.pack .prix .montant { font-size: 36px; font-weight: 770; letter-spacing: -0.035em; color: var(--nuit); }
.pack .prix .unite { font-size: 14.5px; color: var(--encre-3); font-weight: 550; }
.pack .separateur { height: 1px; background: var(--trait); }
.pack ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.pack ul li { display: flex; gap: 10px; align-items: flex-start; }
.pack ul li::before {
  content: "✓"; color: var(--vert); font-weight: 800; font-size: 13.5px;
  line-height: 1.55; flex: none;
}
.pack ul.exclusions li { color: var(--encre-3); }
.pack ul.exclusions li::before { content: "×"; color: var(--trait-fort); font-size: 15px; }
.pack .volumes {
  display: grid; gap: 6px; font-size: 14px; color: var(--encre-2);
  background: var(--voile); border-radius: var(--r-sm); padding: 14px 16px;
}
.pack .volumes div { display: flex; justify-content: space-between; gap: 12px; }
.pack .volumes b { color: var(--nuit); font-weight: 650; }
.pack .bouton { margin-top: auto; }

/* ─── Formulaires ─────────────────────────────────────────── */
.duo {
  display: grid; gap: clamp(32px, 4vw, 56px); margin-top: 44px;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
}
.rassurance { display: grid; gap: 20px; }
.rassurance .point { display: flex; gap: 13px; }
.rassurance .point .puce {
  flex: none; width: 30px; height: 30px; border-radius: 9px;
  background: var(--marque-voile); display: grid; place-items: center;
}
.rassurance .point .puce svg { width: 16px; height: 16px; stroke: var(--marque); fill: none; stroke-width: 2; }
.rassurance .point h4 { margin: 0 0 3px; font-size: 15.5px; font-weight: 660; color: var(--nuit); }
.rassurance .point p { color: var(--encre-2); font-size: 14.8px; }

.carte-formulaire {
  background: var(--blanc); border: 1px solid var(--trait);
  border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--ombre-douce);
}
.champs { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.champ { display: flex; flex-direction: column; gap: 7px; }
.champ.pleine-largeur { grid-column: 1 / -1; }
label { font-size: 14px; font-weight: 620; color: var(--encre); }
input, select, textarea {
  font-family: inherit; font-size: 15.3px; color: var(--encre);
  padding: 12px 14px;
  border: 1px solid var(--trait-fort); border-radius: var(--r-sm);
  background: var(--blanc);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input::placeholder, textarea::placeholder { color: #9aa3b8; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--marque);
  box-shadow: 0 0 0 3px rgba(61, 78, 232, .16);
}
textarea { resize: vertical; }
.carte-formulaire .bouton { margin-top: 24px; }

/* Piège à robot : hors écran pour une personne, rempli par un automate. */
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.message {
  border-radius: var(--r-sm); padding: 14px 16px;
  font-size: 14.8px; margin-top: 18px; border: 1px solid;
}
.message.succes { background: #eefaf4; color: #0b6b4a; border-color: #b6e6d2; }
.message.erreur { background: #fdf1f1; color: var(--rouge); border-color: #f3c9c9; }
.message.attente { background: #fdf6e8; color: #8a5a11; border-color: #f0dcb4; }

.note-legale { font-size: 13.8px; color: var(--encre-3); margin-top: 16px; }

/* ─── Confirmation ────────────────────────────────────────── */
.carte-centree { max-width: 560px; margin-inline: auto; text-align: center; }
.carte-centree .bouton { margin-inline: auto; }

/* ─── Pied ────────────────────────────────────────────────── */
footer.site { background: var(--nuit); color: #a8b1c7; padding: 48px 0 36px; }
footer.site .contenu { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
footer.site .marque { color: #fff; }
footer.site p { font-size: 14.5px; margin-top: 12px; max-width: 40ch; }
footer.site h4 { color: #fff; font-size: 14px; font-weight: 650; margin: 0 0 12px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
footer.site a { color: #a8b1c7; }
footer.site a:hover { color: #fff; }
.mentions {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 36px; padding-top: 22px; font-size: 13.5px;
}

.chargement { color: var(--encre-3); font-size: 15px; }

/* ─── Adaptations ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .accroche .contenu { grid-template-columns: 1fr; }
  .maquette { order: -1; }
  .duo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .contenu { width: min(1140px, 100% - 32px); }
  header.site nav a:not(.bouton) { display: none; }
  .accroche .actions .bouton { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Direction commerciale : contraste éditorial, aperçu produit et lecture mobile. */
:root { --nuit: #122b2a; --encre: #193332; --encre-2: #48605e; --encre-3: #617471; --voile: #f4f6f2; --trait: #dfe6df; --marque: #255e50; --marque-fonce: #194538; --marque-voile: #e7f1e9; }
:focus-visible { outline: 3px solid #a97518; outline-offset: 5px; }
section[id], main[id] { scroll-margin-top: 90px; }
.aller-contenu { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 20px; background: white; }
.aller-contenu:focus { top: 12px; }
.contenu { width: min(1200px, 100% - 64px); }
.bouton { border-radius: 8px; min-height: 48px; }
.bouton-primaire { box-shadow: none; }
.marque .sceau { background: var(--marque); box-shadow: none; border-radius: 50% 50% 14% 50%; }
header.site { background: #fafcf9f5; }
header.site .contenu { height: 80px; }
.accroche { background: #122b2a; padding: 78px 0 82px; }
.accroche::before { display: none; }
.accroche .contenu { gap: 64px; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.signature { color: #adccc1; font-size: 10px; letter-spacing: .15em; font-weight: 700; margin-bottom: 18px; }
.accroche h1 { color: #fcfcf2; font-size: clamp(42px, 4.5vw, 64px); line-height: 1.04; letter-spacing: -.045em; }
.accroche h1 em { color: #d5eb92; font-style: normal; }
.accroche .chapo { color: #c3d3cc; font-size: 18px; line-height: 1.75; max-width: 47ch; }
.accroche .pastille { background: #ffffff08; border-color: #66867a; color: #e0e9de; margin-bottom: 26px; padding: 5px 12px 5px 5px; }
.accroche .pastille b { background: #d5eb92; color: #122b2a; }
.accroche .bouton-primaire { background: #d5eb92; color: #122b2a; }
.accroche .bouton-primaire:hover { background: #e5f4b4; }
.accroche .bouton-fantome { background: transparent; color: #f4f5e9; border-color: #66867a; }
.accroche .mention { color: #c3d3cc; font-size: 12px; }
.accroche .mention svg { stroke: #d5eb92; flex-shrink: 0; }
.accroche .actions { gap: 10px; margin-top: 26px; }
.accroche .actions .bouton { font-size: 14px; padding-inline: 17px; }
.maquette { background: #24413c; padding: 14px; border: 1px solid #547067; border-radius: 20px; box-shadow: 0 32px 60px #0003; transform: rotate(1deg); }
.apercu-entete { display: flex; justify-content: space-between; gap: 8px; align-items: center; color: #f0f4df; font-size: 11px; padding: 4px 0 16px; }
.apercu-entete span:last-child { font-size: 8px; letter-spacing: .1em; color: #c3d3cc; }
.apercu-entete i { display: inline-block; width: 6px; height: 6px; background: #d5eb92; border-radius: 50%; margin-right: 4px; }
.apercu-pied { display: flex; justify-content: space-between; color: #dae7d8; font-size: 10px; padding: 16px 4px 3px; }
.bandeau { background: #eff3e9; padding: 27px 0; }
.chiffre b { font-size: 20px; }
.chiffre span { font-size: 12px; }
.titre-section { max-width: 22ch; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.04em; }
.grille-atouts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.atout { border: 0; border-left: 1px solid var(--trait); border-radius: 0; box-shadow: none; padding: 8px 26px; }
.atout:first-child { border-left: 0; padding-left: 0; }
.atout .icone { width: 48px; height: 48px; border-radius: 50%; margin-bottom: 26px; }
.atout h3 { font-size: 20px; line-height: 1.25; }
.atout p { font-size: 14px; line-height: 1.8; }
.etapes { gap: 40px; }
.etape { padding-top: 35px; }
.etape .rang { width: 34px; height: 34px; top: -17px; border-radius: 50%; }
.etape h3 { font-size: 19px; }
.pack .prix .montant { font-size: clamp(26px, 3vw, 36px); overflow-wrap: anywhere; }
.pack.mis-en-avant { background: #f5f8ee; box-shadow: 0 0 0 2px var(--marque); }
.pack { box-shadow: none; border-radius: 14px; }
.pack .volumes { line-height: 1.8; }
.carte-formulaire { box-shadow: 0 16px 48px #173e2910; border-radius: 16px; }
input, select, textarea { width: 100%; min-width: 0; }
input::placeholder, textarea::placeholder { color: #71817e; }
.grille-packs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 292px), 1fr)); }
.champs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.faq { background: #f4f6f2; }
.faq-grille { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq details { padding: 23px 0; border-bottom: 1px solid #cbd8cc; }
.faq details:first-child { border-top: 1px solid #cbd8cc; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 17px; }
.faq details p { color: var(--encre-2); padding-top: 15px; font-size: 15px; }
.confirmation-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--voile); }
.confirmation-page main { flex: 1; }
.confirmation-page .carte-centree { padding: 44px; }
.confirmation-page h1 { font-size: 36px; margin-bottom: 20px; }
.confirmation-page .sous-titre { margin-bottom: 30px; }
@media (max-width: 1000px) {
  .accroche .contenu { gap: 36px; }
  .grille-atouts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .atout, .atout:first-child { padding: 0 20px; border-left: 1px solid var(--trait); }
}
@media (max-width: 900px) {
  .accroche .contenu { grid-template-columns: 1fr; }
  .accroche h1 { max-width: 15ch; }
  .maquette { order: 0; max-width: 500px; width: 100%; margin-inline: auto; transform: none; }
  .faq-grille { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .contenu { width: calc(100% - 36px); }
  header.site .contenu { height: 70px; gap: 10px; }
  header.site nav .bouton { padding: 10px; font-size: 12px; }
  .marque { font-size: 17px; gap: 7px; }
  .accroche { padding: 42px 0; }
  .signature { font-size: 9px; }
  .accroche h1 { font-size: clamp(39px, 10vw, 56px); }
  .accroche .chapo { font-size: 16px; }
  .bandeau .contenu { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .chiffre b { font-size: 16px; }
  .grille-atouts { grid-template-columns: 1fr; }
  .atout, .atout:first-child { padding: 0; border: 0; }
  .atout .icone { margin-bottom: 14px; }
  .section { padding-block: 60px; }
  .confirmation-page .carte-centree { padding: 26px; }
  .confirmation-page header.site nav a { display: inline-flex; }
}
