/* Strata — site de présentation.
   Aucune ressource distante : ni police, ni script tiers, ni traceur. C'est un
   argument de vente autant qu'un choix technique — un service informatique qui
   inspecte cette page ne doit rien y trouver. */

:root {
  --bg:        #0b0e12;
  --bg-haut:   #111721;
  --surface:   #141a22;
  --surface-2: #1a222c;
  --line:      #232d3a;
  --line-soft: #1a222c;
  --text:      #e8edf4;
  --muted:     #93a1b4;
  /* Éclairci de 23 % après mesure : la valeur précédente (#64717f) tombait
     entre 3,2 et 3,9 pour 1 sur les quatre fonds du site, sous le minimum de
     4,5 exigé par WCAG AA pour du petit texte — or c'est la couleur des
     légendes, des en-têtes de tableau et de tout le pied de page. */
  --dim:       #7b8a9c;
  --amber:     #e0a458;
  --amber-vif: #f0b96b;
  --green:     #6fb98f;

  --r: 10px;
  --r-lg: 14px;
  --sans: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", Consolas, monospace;

  /* Échelle typographique fluide : une seule règle par niveau, qui suit la
     largeur au lieu de basculer brutalement à un point de rupture. */
  --t-hero: clamp(2rem, 1.2rem + 3.4vw, 3.4rem);
  --t-h2:   clamp(1.45rem, 1.15rem + 1.1vw, 1.95rem);
  --t-h3:   1.02rem;
  --t-body: clamp(0.98rem, 0.94rem + 0.15vw, 1.06rem);

  --creux: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.7);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: var(--t-body)/1.68 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.enveloppe { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.etroit { max-width: 74ch; }

a { color: var(--amber); text-decoration-color: rgba(224,164,88,.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--amber); }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 3px;
}

h1, h2, h3 { line-height: 1.2; font-weight: 650; letter-spacing: -0.015em; }
h2 { margin: 0 0 10px; font-size: var(--t-h2); }
h3 { margin: 0 0 5px; font-size: var(--t-h3); letter-spacing: -0.005em; }
p  { margin: 0 0 15px; }

.saut-contenu {
  position: absolute; left: -9999px;
  background: var(--amber); color: #101419; padding: 10px 16px; border-radius: var(--r);
}
.saut-contenu:focus { left: 12px; top: 12px; z-index: 100; }

/* ───────────────────────── en-tête ───────────────────────── */
.tete {
  position: sticky; top: 0; z-index: 20;
  padding: 14px 0;
  background: rgba(11, 14, 18, .82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.tete.defile { border-bottom-color: var(--line-soft); background: rgba(11, 14, 18, .95); }
.tete .enveloppe { display: flex; align-items: center; gap: 16px; }

.marque { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.marque svg { width: 25px; height: 25px; fill: none; stroke: var(--amber); stroke-width: 1.7; }
.marque b { font-size: 1.05rem; letter-spacing: .005em; }
.marque:hover { text-decoration: none; }

.tete nav { margin-left: auto; display: flex; gap: 4px; }
/* Le motif « Operations Landing » veut une action permanente dans la barre :
   sur une page longue, l'appel de la bannière disparaît au premier défilement. */
.btn-compact { padding: 8px 16px; font-size: .86rem; }
@media (max-width: 640px) { .tete nav { display: none; } .tete .btn-compact { margin-left: auto; } }
.tete nav a {
  padding: 7px 12px; border-radius: 7px;
  color: var(--muted); font-size: .88rem; text-decoration: none;
  transition: color .18s ease, background .18s ease;
}
.tete nav a:hover { color: var(--text); background: var(--surface); text-decoration: none; }

/* ───────────────────────── bannière ───────────────────────── */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 60px);
  overflow: hidden;
}
/* Halo très diffus : donne de la profondeur sans rien décorer. */
.hero::before {
  content: ""; position: absolute; inset: -40% 0 auto 0; height: 620px;
  background: radial-gradient(58% 52% at 50% 42%, rgba(224,164,88,.10), transparent 68%);
  pointer-events: none;
}
.hero > .enveloppe { position: relative; }

.etiquette {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px 5px 9px; margin-bottom: 20px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 100px; font-size: .8rem; color: var(--muted);
}
.etiquette::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 3px rgba(111,185,143,.16);
}

.hero h1 { margin: 0 0 18px; font-size: var(--t-hero); max-width: 17ch; }
.accroche {
  font-size: clamp(1.02rem, .96rem + .4vw, 1.2rem);
  color: var(--muted); max-width: 60ch; margin-bottom: 26px;
}

.boutons { display: flex; flex-wrap: wrap; gap: 11px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer;
  padding: 12px 22px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--surface);
  color: var(--text); font-size: .93rem; font-weight: 550;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.btn:hover { border-color: #33404f; background: var(--surface-2); text-decoration: none; transform: translateY(-1px); }
.btn-primaire {
  background: var(--amber); border-color: var(--amber); color: #14181d; font-weight: 650;
  box-shadow: 0 6px 20px -8px rgba(224,164,88,.5);
}
.btn-primaire:hover { background: var(--amber-vif); border-color: var(--amber-vif); }

/* ───────────────────── comparateur photo / relief ───────────────────── */
.comparateur {
  position: relative; margin-top: 34px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--creux);
  line-height: 0; touch-action: none;
}
.comparateur img { width: 100%; display: block; user-select: none; -webkit-user-drag: none; }
.comparateur .calque {
  position: absolute; inset: 0;
  /* La position du volet est portée par une variable, mise à jour au
     glissement comme au clavier : une seule source pour les deux. */
  clip-path: inset(0 0 0 var(--volet, 50%));
}
.comparateur .calque img { position: absolute; inset: 0; height: 100%; }

.comparateur .rail {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; padding: 0; opacity: 0; cursor: ew-resize; z-index: 3;
  -webkit-appearance: none; appearance: none; background: none;
}
.comparateur .rail::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100%; }
.comparateur .rail::-moz-range-thumb { width: 44px; height: 100%; border: none; background: transparent; }
.comparateur .rail:focus-visible + .poignee .barre { box-shadow: 0 0 0 2px var(--amber); }

.poignee {
  position: absolute; top: 0; bottom: 0; left: var(--volet, 50%);
  transform: translateX(-50%); z-index: 2; pointer-events: none;
}
.poignee .barre { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  transform: translateX(-50%); background: rgba(255,255,255,.85); }
.poignee .rond {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(16,20,25,.92); border: 2px solid rgba(255,255,255,.9);
  display: grid; place-items: center; backdrop-filter: blur(4px);
}
.poignee .rond::before {
  content: "‹ ›"; font-size: 15px; color: #fff; letter-spacing: 2px; line-height: 1;
}

.etiq-vue {
  position: absolute; top: 12px; z-index: 2;
  padding: 5px 11px; border-radius: 100px;
  background: rgba(11,14,18,.78); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.12);
  font-size: .76rem; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; line-height: 1.5;
}
.etiq-vue.g { left: 12px; }
.etiq-vue.d { right: 12px; }

.legende { margin-top: 11px; font-size: .82rem; color: var(--dim); max-width: 76ch; }

/* ───────────────────────── sections ───────────────────────── */
section { padding: clamp(44px, 6vw, 76px) 0; border-top: 1px solid var(--line-soft); }
.chapeau { color: var(--muted); max-width: 68ch; }

.surtitre {
  display: block; margin-bottom: 9px;
  font-size: .76rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--amber);
}

.grille { display: grid; gap: 14px; margin-top: 28px; }
.grille-3 { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.grille-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.carte {
  padding: 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .2s ease, transform .2s ease;
}
.carte:hover { border-color: #2e3947; transform: translateY(-2px); }
.carte p { margin: 0; font-size: .9rem; color: var(--muted); }
/* Icônes en SVG tracé, jamais d'émoji : un émoji change de dessin selon le
   système, ne se colore pas, et fait passer un outil scientifique pour un
   produit grand public. */
.carte .puce {
  width: 34px; height: 34px; margin-bottom: 13px; border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(224,164,88,.1); border: 1px solid rgba(224,164,88,.18);
}
.carte .puce svg {
  width: 17px; height: 17px; fill: none; stroke: var(--amber);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* La vidéo garde son rapport 16/9 réservé avant chargement : sans hauteur
   déclarée, la page sauterait au moment où elle s'affiche. */
.cadre-video { margin: 26px 0 0; }
.cadre-video video {
  width: 100%; height: auto; aspect-ratio: 16 / 9; display: block;
  background: #000; border-radius: var(--r-lg);
  border: 1px solid var(--line); box-shadow: var(--creux);
}
.cadre-video figcaption { margin-top: 11px; font-size: .82rem; color: var(--dim); }

figure { margin: 30px 0 0; }
figure img { width: 100%; display: block; border-radius: var(--r-lg);
  border: 1px solid var(--line); box-shadow: var(--creux); }
figcaption { margin-top: 11px; font-size: .82rem; color: var(--dim); max-width: 78ch; }

/* ───────────────────────── chiffres ───────────────────────── */
.bloc-mesure {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px 22px;
}
.bloc-mesure h3 { color: var(--muted); font-size: .82rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.ligne-mesure {
  display: flex; align-items: baseline; gap: 14px;
  padding: 11px 0; border-bottom: 1px solid var(--line-soft);
}
.ligne-mesure:last-child { border-bottom: none; padding-bottom: 0; }
.ligne-mesure .nom { flex: 1; font-size: .93rem; }
.ligne-mesure .val {
  font-size: 1.45rem; font-weight: 650; font-variant-numeric: tabular-nums;
  min-width: 4.2ch; text-align: right;
}
.ligne-mesure.fort .val { color: var(--green); }
.ligne-mesure.moyen .val { color: var(--amber); }
.jauge { flex: 0 0 96px; height: 4px; border-radius: 3px; background: var(--line); overflow: hidden; }
.jauge span { display: block; height: 100%; border-radius: 3px; background: var(--green); }
.ligne-mesure.moyen .jauge span { background: var(--amber); }

.note {
  margin-top: 22px; padding: 16px 18px; font-size: .9rem; color: var(--muted);
  background: var(--surface-2); border-left: 3px solid var(--amber);
  border-radius: 0 var(--r) var(--r) 0;
}
.note b { color: var(--text); }

/* ───────────────────────── limites ───────────────────────── */
ul.limites { margin: 24px 0 0; padding: 0; list-style: none; }
ul.limites li {
  padding: 14px 0 14px 30px; position: relative;
  border-bottom: 1px solid var(--line-soft); font-size: .93rem; color: var(--muted);
}
ul.limites li:last-child { border-bottom: none; }
ul.limites li::before {
  content: ""; position: absolute; left: 4px; top: 22px;
  width: 12px; height: 1px; background: var(--dim);
}
ul.limites b { color: var(--text); font-weight: 600; }

/* ───────────────────────── tableau ───────────────────────── */
.tableau { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: .92rem; }
.tableau th, .tableau td { padding: 12px 14px; text-align: left;
  border-bottom: 1px solid var(--line-soft); }
.tableau th { color: var(--dim); font-weight: 600; font-size: .76rem;
  text-transform: uppercase; letter-spacing: .07em; }
.tableau td:first-child { color: var(--text); }
.tableau b { color: var(--green); }
.enroule { overflow-x: auto; }

/* ───────────────────────── tarifs ───────────────────────── */
.tarif { display: flex; flex-direction: column; position: relative; }
.tarif .prix { font-size: 1.9rem; font-weight: 650; margin: 10px 0 2px;
  font-variant-numeric: tabular-nums; }
.tarif .prix span { font-size: .82rem; font-weight: 400; color: var(--dim); }
.tarif ul { margin: 16px 0 0; padding: 0; list-style: none;
  font-size: .87rem; color: var(--muted); }
.tarif ul li { padding-left: 20px; margin-bottom: 8px; position: relative; }
.tarif ul li::before {
  content: ""; position: absolute; left: 2px; top: .55em;
  width: 9px; height: 5px; border-left: 1.6px solid var(--green);
  border-bottom: 1.6px solid var(--green); transform: rotate(-45deg);
}
.tarif.vedette { border-color: rgba(224,164,88,.45); background: linear-gradient(180deg, rgba(224,164,88,.05), transparent 60%), var(--surface); }
.ruban {
  position: absolute; top: -1px; right: 16px;
  padding: 3px 10px; border-radius: 0 0 6px 6px;
  background: var(--amber); color: #14181d; font-size: .68rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}

/* ───────────────────────── pied ───────────────────────── */
footer { border-top: 1px solid var(--line-soft); padding: 34px 0 46px;
  font-size: .85rem; color: var(--dim); background: var(--bg-haut); }
.pied-haut { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; }
.sources { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft);
  line-height: 1.75; font-size: .78rem; }

code { font-family: var(--mono); font-size: .84em;
  background: var(--surface-2); padding: 2px 6px; border-radius: 5px; color: var(--muted); }

/* ───────────────── apparition au défilement ───────────────── */
.paraitre { opacity: 0; transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease; }
.paraitre.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .paraitre { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .tete nav { display: none; }
  .poignee .rond { width: 36px; height: 36px; }
  .etiq-vue { font-size: .68rem; padding: 4px 9px; }
  .ligne-mesure .jauge { display: none; }
}
