/* kevrea.fr — feuille de style unique, sans framework.
   Direction « Le lien » (kevre), version adoucie : papier de carte, bleu doux,
   vert d'eau, cuivre, lignes de sonde. Site en clair uniquement. */

@font-face {
  font-family: "Literata";
  src: url("../fonts/literata.woff2") format("woff2-variations"), url("../fonts/literata.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("../fonts/literata-italic.woff2") format("woff2-variations"), url("../fonts/literata-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Commissioner";
  src: url("../fonts/commissioner.woff2") format("woff2-variations"), url("../fonts/commissioner.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Bleus : le bleu nuit du logo reste réservé au logo ; l'interface utilise des bleus adoucis. */
  --logo: #0e2a47;
  --nuit: #1c3a5a;        /* titres (10,6:1 sur sable) */
  --bleu: #2b4a6b;        /* boutons, panneaux (9,1:1 avec le blanc) */
  --bleu-2: #34587c;      /* fin de dégradé (7,4:1 avec le blanc) */
  --bleu-hover: #223d5a;
  --eau: #a8e0d5;         /* vert d'eau sur bleu doux (5:1 sur #34587c) */
  --eau-fonce: #1f6b62;   /* vert d'eau, texte sur clair (5,7:1 sur sable) */
  --eau-pale: #e3f1ee;
  --cuivre: #a4552a;      /* accent chaud sur clair (4,9:1 sur sable) */
  --cuivre-fonce: #8a4a26;
  --cuivre-pale: #f7ebe1;
  --cuivre-clair: #f1c9ae;/* cuivre sur bleu doux (4,8:1 sur #34587c) */
  --sable: #f6f4ef;       /* fond principal */
  --granit: #ebe6dc;      /* sections alternées */
  --trait: #d8d2c6;       /* filets */
  --encre: #13202d;       /* texte */
  --gris: #56616b;        /* texte secondaire (5,8:1 sur sable, 5,1:1 sur granit) */
  --brume: #dfe7ef;       /* texte secondaire sur bleu doux */
  --fil: #9fb3b0;

  /* Alias historiques (gardés pour ne rien casser) */
  --sea: var(--bleu);
  --ink: var(--encre);
  --muted: var(--gris);
  --bg: var(--sable);
  --surface: #ffffff;
  --line: var(--trait);
  --link: #1d5a87;        /* 6,7:1 sur sable, 5,9:1 sur granit */
  --focus: var(--cuivre);
  --kelp: var(--eau-fonce);
  --alert: #b0381f;

  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Commissioner", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.7vw, 1.85rem);
  --step-3: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem);
  --step-4: clamp(2.15rem, 1.25rem + 3.2vw, 3.7rem);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --fil-x: max(20px, calc((100% - var(--wrap)) / 2 - 36px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  background: var(--sable);
  color: var(--encre);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--eau-fonce); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 580;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  color: var(--nuit);
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 560; line-height: 1.07; letter-spacing: -0.02em; }
h2 { font-size: var(--step-3); font-weight: 560; }
h3 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: 0.35em; }
strong { font-weight: 650; }
code { font-size: 0.88em; background: color-mix(in srgb, var(--trait) 55%, transparent); padding: 0.1em 0.35em; border-radius: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; color: var(--nuit); padding: 0.5rem 1rem; border: 2px solid var(--nuit); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: 0.7em 1.35em; border-radius: var(--radius); border: 1.5px solid transparent;
  text-decoration: none; line-height: 1.2; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--bleu); color: #fff; }
.btn-primary::after { content: "→"; font-weight: 400; }
.btn-primary:hover { background: var(--bleu-hover); color: #fff; }
.btn-ghost { border-color: var(--bleu); color: var(--bleu); background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--nuit); }
.btn-small { min-height: 42px; font-size: .9375rem; padding: 0.5em 1.05em; }

/* ---------- En-tête (bandeau blanc) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--trait); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.6rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--nuit); margin-right: auto; }
.brand:hover { color: var(--nuit); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-text { line-height: 1.1; }
.brand-name { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; }
.brand-sub { display: block; font-family: var(--sans); font-size: 0.8rem; color: var(--gris); margin-top: 2px; }
.nav { font-family: var(--sans); font-size: 0.94rem; }
.nav ul { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a { display: block; color: var(--encre); text-decoration: none; font-weight: 500; padding: .5rem .6rem; border-radius: 4px; }
.nav a:hover { color: var(--eau-fonce); background: var(--sable); }
.nav a[aria-current="page"] { color: var(--nuit); box-shadow: inset 0 -2px 0 var(--eau-fonce); border-radius: 0; }
.nav-toggle { display: none; }
.header-cta { flex: none; }

@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1.5px solid var(--bleu);
    color: var(--bleu); font-family: var(--sans); font-weight: 600; padding: .45rem .95rem; min-height: 44px; min-width: 44px; border-radius: var(--radius); cursor: pointer;
  }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--trait); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 0.5rem var(--gutter) 1rem; }
  .nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--trait); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; font-weight: 650; }
  .header-cta { display: none; }
}

/* ---------- Bandeau d'échéance (cuivre pâle, discret) ---------- */
.deadline { background: var(--cuivre-pale); color: var(--encre); font-family: var(--sans); font-size: 0.93rem; border-bottom: 1px solid #ecd6c4; }
.deadline .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; padding-top: .55rem; padding-bottom: .55rem; }
.deadline strong { color: var(--cuivre-fonce); font-weight: 700; }
.deadline a { color: var(--cuivre-fonce); font-weight: 600; }
.deadline a::after { content: " →"; }

/* ---------- Hero : papier de carte + lignes de sonde bleues ---------- */
.hero {
  position: relative;
  padding: clamp(2.6rem, 6vw, 5rem) 0 clamp(2.6rem, 6vw, 4.8rem);
  background:
    url("../img/sonde-hero.svg") right -160px center / 1440px auto no-repeat,
    linear-gradient(180deg, var(--sable) 0%, #f1eee6 100%);
  border-bottom: 1px solid var(--trait);
}
.hero.no-panel { background-position: left -260px top -80px, 0 0; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.hero.no-panel .wrap { grid-template-columns: minmax(0, 1fr); }
.hero.no-panel .wrap > div { max-width: 900px; }
.eyebrow { font-family: var(--sans); font-weight: 600; color: var(--eau-fonce); font-size: .92rem; letter-spacing: .01em; margin-bottom: 1.3rem; display: flex; align-items: center; gap: .75rem; }
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: var(--eau-fonce); flex: none; }
.hero h1 { max-width: 14em; }
.lead { font-size: var(--step-1); line-height: 1.58; max-width: 36em; color: #2c3a47; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1.4rem; }
.hero-proof { font-size: .95rem; color: var(--gris); margin: 0; max-width: 60ch; }
.hero-points { list-style: none; padding: 1.3rem 0 0; margin: 1.2rem 0 0; display: grid; gap: .55rem; font-size: .96rem; color: #3d4852; border-top: 1px solid var(--trait); max-width: 36em; }
.hero-points li { position: relative; padding-left: 1.65rem; margin: 0; }
.hero-points li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 6px; border-left: 1.5px solid var(--eau-fonce); border-bottom: 1.5px solid var(--eau-fonce); transform: rotate(-45deg); }

.hero-photo { margin: 0; justify-self: start; background: #fff; border: 1px solid var(--trait); border-radius: 10px; padding: 14px; }
.hero-photo img { width: 270px; height: 270px; border-radius: 4px; object-fit: cover; }
.hero-photo figcaption { font-size: .9rem; color: var(--gris); margin-top: .8rem; }

/* Panneaux du hero (bleu doux, petit élément) */
.board, .situations {
  background: linear-gradient(160deg, var(--bleu) 0%, var(--bleu-2) 100%);
  color: #fff; border-radius: 10px; padding: 1.6rem 1.6rem 1.3rem;
  box-shadow: 0 18px 40px -28px rgba(28, 58, 90, .55);
}
.board :focus-visible, .situations :focus-visible { outline-color: var(--eau); }
.panel-kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--cuivre-clair); font-weight: 650; margin: 0 0 .35rem; }

/* Calendrier de support */
.board h2 { color: #fff; font-size: 1.3rem; font-weight: 540; margin: 0 0 .3rem; }
.board-sub { color: var(--brume); font-size: .88rem; margin: 0 0 1rem; }
.board ol { list-style: none; margin: 0; padding: 0; }
.board li { display: grid; grid-template-columns: 7rem 1fr auto; align-items: center; gap: .8rem; padding: .62rem 0; border-top: 1px solid rgba(223, 231, 239, .2); margin: 0; }
.board .v { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; color: #fff; }
.board .note { font-size: .86rem; color: var(--brume); line-height: 1.3; }
.board .state { font-size: .76rem; font-weight: 650; padding: .2rem .5rem; border-radius: 3px; white-space: nowrap; }
.board .ended .v { text-decoration: line-through; text-decoration-color: var(--cuivre-clair); color: var(--brume); }
.board .ended .state { background: #dfe4e9; color: #3b4652; }
.board .ending .state { background: var(--cuivre-clair); color: #4a2410; }
.board .warn .state { background: #f7e6da; color: #6e3a1c; }
.board .ok .state { background: var(--eau); color: #12302b; }
.board-foot { font-size: .8rem; color: var(--brume); margin: .8rem 0 0; }
.board-foot a { color: #fff; }
.board-cta { display: inline-block; margin-top: .9rem; color: var(--eau) !important; font-weight: 650; text-decoration: none; }
.board-cta:hover { text-decoration: underline; }

/* Panneau « Point de départ » */
.situations { font-family: var(--sans); margin-top: .3rem; }
.situations h2 { color: #fff; font-size: 1.3rem; font-weight: 540; margin: 0 0 .9rem; line-height: 1.25; }
.situations ul { list-style: none; margin: 0; padding: 0; counter-reset: situation; }
.situations li { margin: 0; border-top: 1px solid rgba(223, 231, 239, .2); counter-increment: situation; }
.situations li a { display: grid; grid-template-columns: 2rem 1fr auto; align-items: baseline; column-gap: .6rem; padding: .78rem .2rem; color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem; }
.situations li a::before { content: counter(situation, decimal-leading-zero); content: counter(situation, decimal-leading-zero) / ""; font-size: .8rem; font-weight: 500; color: var(--eau); font-variant-numeric: tabular-nums; }
.situations li a::after { content: "→"; color: var(--eau); transition: transform .15s; }
.situations li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.situations li a:hover::after { transform: translateX(3px); }
.situations .panel-more { display: inline-block; margin: .9rem 0 0; color: var(--eau); font-weight: 600; font-size: .94rem; }
.situations .panel-more:hover { color: #fff; }

/* ---------- Sections + le fil de sonde numéroté ---------- */
main { counter-reset: fil; }
.section { position: relative; padding: clamp(3rem, 6.5vw, 5.6rem) 0; }
.section + .section { border-top: 1px solid var(--trait); }
.section.is-alt { background: var(--granit); }
.section-head { max-width: 760px; margin-bottom: 2.3rem; }
.section-head h2 { margin-bottom: .45em; }
.section-head p { color: var(--gris); font-size: var(--step-0); max-width: 40em; }
.section-head::before {
  counter-increment: fil;
  content: counter(fil, decimal-leading-zero);
  content: counter(fil, decimal-leading-zero) / "";
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--eau-fonce); background: var(--sable); color: var(--eau-fonce);
  font: 600 .75rem/1 var(--sans); font-variant-numeric: tabular-nums; margin-bottom: 1rem;
}
.section.is-alt .section-head::before { background: var(--granit); }
@media (min-width: 1100px) {
  .section:has(> .wrap > .section-head)::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: var(--fil-x);
    border-left: 1px dashed var(--fil); pointer-events: none;
  }
  .section-head::before { position: absolute; left: var(--fil-x); transform: translate(-50%, -2px); margin: 0; z-index: 1; }
}
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose pre { background: #243b53; color: #e6edf3; padding: 1rem 1.2rem; border-radius: var(--radius); overflow-x: auto; font-size: .86em; line-height: 1.55; margin: 1.4em 0; }
.prose pre code { background: none; padding: 0; color: inherit; font-size: 1em; }
.prose blockquote { margin: 1.4em 0; padding: .2em 0 .2em 1.1em; border-left: 3px solid var(--cuivre); color: var(--gris); font-family: var(--serif); font-style: italic; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.5em 0; font-size: .95em; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .6em .8em; border-bottom: 1px solid var(--trait); vertical-align: top; }
.prose th { font-weight: 650; }

.highlight { background: #fff; border: 1px solid var(--trait); border-left: 3px solid var(--eau-fonce); padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 0 10px 10px 0; max-width: 860px; }
.highlight h2 { font-size: var(--step-2); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; border-top: 1.5px solid var(--nuit); border-bottom: 1px solid var(--trait); }
.stats div { padding: 1.1rem 1.2rem 1.1rem 0; }
.stats div + div { padding-left: 1.2rem; border-left: 1px solid var(--trait); }
.stats strong { display: block; font-family: var(--serif); font-size: var(--step-2); font-weight: 560; line-height: 1.1; color: var(--nuit); }
.stats span { color: var(--gris); font-size: .92rem; }
.section-stats { padding: 2rem 0 0; }
.section-stats + .section { border-top: 0; }

/* Offres : grille unifiée */
.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--trait); border: 1px solid var(--trait); border-radius: 10px; overflow: hidden; }
.offer { background: var(--sable); padding: 1.75rem 1.6rem 1.6rem; margin: 0; display: flex; flex-direction: column; gap: .5rem; position: relative; transition: background-color .15s; }
.section.is-alt .offer { background: #faf8f4; }
.offer:hover, .section.is-alt .offer:hover { background: #fff; }
.offer h3 { margin: 0; font-size: 1.3rem; order: 2; }
.offer h3 a { color: var(--nuit); text-decoration: none; }
.offer h3 a::after { content: ""; position: absolute; inset: 0; }
.offer:hover h3 a { text-decoration: underline; text-underline-offset: 4px; }
.offer .price { font-weight: 700; white-space: nowrap; }
.offer .use-case { order: 1; margin: 0; font-size: .875rem; line-height: 1.45; color: var(--eau-fonce); font-weight: 600; }
.offer .use-case span { font-weight: 700; }
.offer .note { order: 4; font-size: .85rem; color: var(--gris); margin: auto 0 0; }
.offer p { order: 3; margin: 0; color: var(--encre); font-size: .98rem; }
.offer:focus-within { outline: 3px solid var(--focus); outline-offset: -3px; }
.offer h3 a:focus-visible { outline: none; }

/* Points forts / engagements (pictogramme ancre) */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 clamp(1.5rem, 4vw, 4rem); }
.features.is-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.feature { border-top: 1px solid var(--trait); padding: 1.6rem 0 1.6rem 3.4rem; position: relative; }
.feature::before {
  content: ""; position: absolute; left: 0; top: 1.75rem; width: 34px; height: 34px;
  background: no-repeat center / 34px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34' fill='none' stroke='%231f6b62' stroke-width='1.5'%3E%3Ccircle cx='17' cy='17' r='15.5'/%3E%3Cpath d='M17 7v20M11 12h12M9 20c1.5 4 4.5 6 8 6s6.5-2 8-6'/%3E%3C/svg%3E");
}
.feature h3 { margin-bottom: .4rem; }
.feature p { color: var(--encre); margin: 0; }

/* Étapes : route balisée */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 2rem; }
.steps li { counter-increment: step; position: relative; padding-top: 4rem; margin: 0; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; z-index: 1;
  display: grid; place-items: center; background: var(--sable); border: 1.5px solid var(--bleu); color: var(--bleu); font: 600 1.1rem/1 var(--serif);
}
.section.is-alt .steps li::before { background: var(--granit); }
.steps li:last-child::before { background: var(--bleu); color: #fff; }
.steps li::after { content: ""; position: absolute; top: 22px; left: 44px; right: -2rem; border-top: 1.5px solid var(--bleu); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: .45rem; }
.steps p { color: var(--encre); margin: 0; font-size: .98rem; }

.more-link { margin-top: 1.8rem; font-weight: 600; }
.more-link a { text-decoration: none; border-bottom: 1.5px solid var(--eau-fonce); padding-bottom: 1px; }

/* Cartes à choix */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.2rem; }
.card { background: #fff; border: 1px solid var(--trait); border-top: 2px solid var(--nuit); border-radius: 0 0 10px 10px; padding: 1.5rem; display: flex; flex-direction: column; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--gris); }
.card .more { margin-top: auto; font-weight: 600; }
.card .more::after { content: " →"; }

/* Cas d'usage */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1.2rem; }
.case { background: #fff; border: 1px solid var(--trait); border-top: 2px solid var(--nuit); border-radius: 0 0 10px 10px; padding: 1.5rem 1.6rem; display: flex; flex-direction: column; }
.case:target { border-top-color: var(--cuivre); box-shadow: 0 0 0 3px var(--cuivre-pale); }
.case h3 { margin-bottom: .9rem; }
.case dl { margin: 0 0 1rem; }
.case dt { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--eau-fonce); margin-top: .9rem; }
.case dt:first-child { margin-top: 0; }
.case dd { margin: .2rem 0 0; }
.case .more { margin-top: auto; font-weight: 600; }

/* Forfaits */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--trait); border-radius: 10px; padding: 1.6rem; display: flex; flex-direction: column; }
.plan h3 { font-size: var(--step-1); margin-bottom: .2rem; }
.plan .for { color: var(--gris); font-size: .95rem; margin-bottom: 1rem; }
.plan .amount { font-family: var(--serif); font-size: var(--step-3); font-weight: 600; line-height: 1; }
.plan .amount small { font-size: .9rem; font-weight: 500; color: var(--gris); margin-left: .3rem; }
.plan ul { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; }
.plan li { padding-left: 1.4rem; position: relative; font-size: .97rem; }
.plan li::before { content: "—"; position: absolute; left: 0; top: 0; color: var(--eau-fonce); }
.plan .btn { margin-top: auto; }
.plan.is-highlight { background: linear-gradient(160deg, var(--bleu) 0%, var(--bleu-2) 100%); border-color: var(--bleu); color: #fff; }
.plan.is-highlight h3, .plan.is-highlight .amount { color: #fff; }
.plan.is-highlight .for, .plan.is-highlight .amount small { color: var(--brume); }
.plan.is-highlight li::before { color: var(--eau); }
.plan.is-highlight .btn-primary { background: var(--sable); color: var(--nuit); }
.plan.is-highlight .btn-primary:hover { background: #fff; }
.plan.is-highlight :focus-visible { outline-color: var(--eau); }
.plan .amount.is-quote { font-size: var(--step-2); }
.plan-flag { align-self: flex-start; font-size: .75rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; background: var(--eau); color: #12302b; padding: .2rem .55rem; border-radius: 3px; margin-bottom: .8rem; }

/* Références */
.refs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 0 clamp(1.5rem, 4vw, 3rem); }
.ref { border-top: 1px solid var(--trait); padding: 1.3rem 0; margin: 0; }
.ref h3 { margin: 0 0 .15rem; }
.ref-shot { width: 100%; height: auto; border: 1px solid var(--trait); border-radius: var(--radius); margin-bottom: 1rem; }
.ref .sector { font-size: .88rem; color: var(--eau-fonce); font-weight: 600; margin: 0 0 .5rem; }
.ref p { margin: 0 0 .6rem; }
.refs-other { margin: 1.4rem 0 0; color: var(--gris); }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: .78rem; font-weight: 600; border: 1px solid var(--trait); border-radius: 3px; padding: .1rem .45rem; margin: 0; color: var(--gris); }

/* Tableau */
.table-wrap { overflow-x: auto; border: 1px solid var(--trait); border-radius: 10px; background: #fff; }
.data { border-collapse: collapse; width: 100%; min-width: 560px; }
.data th, .data td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid #ece7de; vertical-align: top; }
.data thead th { font-weight: 650; font-size: .88rem; color: var(--gris); background: var(--sable); border-bottom-color: var(--trait); }
.data tbody tr:last-child td { border-bottom: 0; }
.data td:first-child { font-family: var(--serif); font-weight: 600; color: var(--nuit); }

/* Frise */
.timeline { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.timeline li { display: grid; grid-template-columns: 9rem 1fr; gap: 1.2rem; padding: 1.1rem 0; border-top: 1px solid var(--trait); margin: 0; }
.timeline .date { font-family: var(--serif); font-weight: 600; color: var(--eau-fonce); }
.timeline h3 { margin: 0 0 .25rem; font-size: var(--step-0); }
.timeline p { margin: 0; color: var(--gris); }

/* Bloc partagé (agences) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; background: #fff; border: 1px solid var(--trait); border-left: 3px solid var(--eau-fonce); border-radius: 0 10px 10px 0; padding: clamp(1.5rem, 4vw, 2.8rem); }
.split .prose { max-width: 64ch; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--trait); }
.faq details:last-child { border-bottom: 1px solid var(--trait); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 3rem 1.15rem 0; position: relative; font-family: var(--serif); font-weight: 560; font-size: 1.12rem; line-height: 1.35; color: var(--nuit); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 1rem; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--eau-fonce); border-radius: 50%; color: var(--eau-fonce); font: 400 1.1rem/1 var(--sans); }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 3rem 1.2rem 0; color: var(--encre); max-width: 70ch; }

/* Appel à l'action final : la seule bande bleue, en bleu doux */
.cta-band {
  background:
    url("../img/sonde-cta.svg") center / cover no-repeat,
    linear-gradient(135deg, var(--bleu) 0%, var(--bleu-2) 100%);
  color: #fff;
}
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; padding-top: clamp(1rem, 3vw, 1.6rem); padding-bottom: clamp(1rem, 3vw, 1.6rem); }
.cta-band h2 { color: #fff; margin-bottom: .45rem; }
.cta-band p { margin: 0; color: var(--brume); max-width: 60ch; font-size: 1.08rem; }
.cta-band .btn-primary { background: var(--sable); color: var(--nuit); }
.cta-band .btn-primary:hover { background: #fff; color: var(--nuit); }
.cta-band :focus-visible { outline-color: var(--eau); }
.section.cta-band + .section, .section + .section.cta-band { border-top: 0; }

/* Articles */
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 2rem; }
.post-item { margin: 0; border-top: 2px solid var(--nuit); padding-top: 1.1rem; position: relative; }
.post-title { margin-bottom: .45rem; font-size: 1.25rem; font-weight: 560; line-height: 1.3; }
.post-title a { color: var(--nuit); text-decoration: none; }
.post-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post-meta { font-size: .84rem; color: var(--gris); font-weight: 600; letter-spacing: .02em; }
.post-item p { color: var(--gris); margin: .4rem 0 0; font-size: .96rem; }
.post-item .post-meta { margin: 0; }

.article-head {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem; border-bottom: 1px solid var(--trait);
  background: url("../img/sonde-hero.svg") right -300px top -60px / 1440px auto no-repeat, linear-gradient(180deg, var(--sable) 0%, #f1eee6 100%);
}
.article-head .wrap > * { max-width: 860px; }
.article-head h1 { font-size: var(--step-3); line-height: 1.12; }
.article-head .post-meta a { color: var(--link); }
.article-body { padding: 2.5rem 0 3rem; }
.article-body .prose { font-family: var(--serif); font-size: 1.15rem; line-height: 1.7; }
.article-body .prose h2, .article-body .prose h3 { line-height: 1.2; }
.article-body .prose table, .article-body .prose pre { font-family: var(--sans); }
.article-cta { background: #fff; border: 1px solid var(--trait); border-left: 3px solid var(--eau-fonce); padding: 1.5rem 1.8rem; margin: 2.5rem 0 0; max-width: 70ch; border-radius: 0 10px 10px 0; }
.article-cta h2 { font-size: var(--step-1); margin-bottom: .4rem; }

.breadcrumb { font-size: .86rem; color: var(--gris); margin-bottom: 1.3rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: #9aa3ab; }
.breadcrumb a { color: var(--gris); }

/* Encart auteur */
.author-box { display: block; max-width: 70ch; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--trait); font-size: .97rem; }
.author-box img { border-radius: 50%; }
.author-box p { margin: 0; color: var(--gris); }

/* ---------- Formulaire ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form { background: #fff; border: 1px solid var(--trait); border-radius: 10px; padding: clamp(1.3rem, 3vw, 2.2rem); }
.form-row { margin-bottom: 1.2rem; }
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.form label, .form legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; color: var(--encre); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="url"], .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--encre); background: var(--sable);
  border: 1px solid #8f99a2; border-radius: var(--radius); padding: .7rem .85rem; min-height: 46px;
}
.form textarea { resize: vertical; min-height: 9rem; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--nuit); background: #fff; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form .choices { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.form .choices label, .form .check label { font-weight: 450; display: inline; }
.form .choice { display: flex; align-items: center; gap: .4rem; }
.form .check { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; font-size: .95rem; }
.form .check input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--bleu); }
.form input[type="radio"] { width: 1.05rem; height: 1.05rem; accent-color: var(--bleu); }
.form-error { color: var(--alert); font-size: .9rem; margin: .35rem 0 0; font-weight: 500; }
.form-error ul { list-style: none; padding: 0; margin: 0; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--alert); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-help, .form-note { color: var(--gris); font-size: .9rem; margin: .3rem 0 0; }
.form details { margin-bottom: 1.2rem; }
.form summary { cursor: pointer; font-weight: 600; margin-bottom: 1rem; color: var(--nuit); }
.form .btn-primary { margin-top: .6rem; }
.aside-box { border-top: 2px solid var(--nuit); padding-top: 1rem; margin-bottom: 2rem; }
.aside-box h2 { font-size: var(--step-1); }
.flash { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.flash-error { background: #fbeae6; border: 1px solid var(--alert); color: var(--encre); }

/* ---------- Pied de page (clair) ---------- */
.site-footer { background: var(--granit); color: #3d4852; font-size: .94rem; padding: 3.5rem 0 2rem; border-top: 1px solid var(--trait); }
.site-footer a { color: var(--nuit); text-decoration: none; }
.site-footer a:hover { color: var(--eau-fonce); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 2rem; }
.footer-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--eau-fonce); font-weight: 650; margin: 0 0 .9rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .5rem; }
.footer-brand p { max-width: 34ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid #d3cbbd; margin-top: 2.5rem; padding-top: 1.3rem; color: var(--gris); font-size: .85rem; }
.site-footer .brand { color: var(--nuit); margin-bottom: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero .wrap, .contact-grid, .split, .cta-band .wrap { grid-template-columns: minmax(0, 1fr); }
  .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li::after { display: none; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .contact-aside { order: -1; }
  .contact-aside .aside-box.secondary { display: none; }
  .stats div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--trait); }
}
@media (max-width: 640px) {
  .hero { background-size: 900px auto, auto; background-position: right -380px top -40px, 0 0; }
  .hero-actions .btn { width: 100%; }
  .offers { grid-template-columns: minmax(0, 1fr); }
  .offer { padding: 1.4rem 1.2rem; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li { padding: 0 0 1.8rem 4rem; }
  .steps li::before { top: 0; }
  .steps li:not(:last-child)::after { display: block; top: 44px; bottom: 0; left: 21px; right: auto; border-top: 0; border-left: 1.5px solid var(--bleu); }
  .steps h3 { padding-top: .5rem; }
  .feature { padding-left: 3rem; }
  .board, .situations { padding: 1.3rem 1.1rem 1.1rem; }
  .cta-band .btn { width: 100%; }
  .faq summary { font-size: 1.04rem; }
  .faq .answer { padding-right: 0; }
}
@media (max-width: 560px) {
  .form-cols, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .board li { grid-template-columns: 5.2rem 1fr auto; gap: .5rem; }
  .board .note { font-size: .8rem; }
  .board li.secondary { display: none; }
  .deadline { font-size: .85rem; }
  .brand-sub { display: none; }
}

/* Barre de preuve */
.proof-bar { border-bottom: 1px solid var(--trait); background: #fff; }
.proof-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 2.4rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.proof-label { margin: 0; color: var(--gris); font-size: .78rem; font-weight: 650; text-transform: uppercase; letter-spacing: .12em; }
.proof-bar ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 2.2rem; margin: 0; padding: 0; }
.proof-bar li { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--nuit); }
.proof-bar a { margin-left: auto; font-weight: 600; font-size: .94rem; text-decoration: none; border-bottom: 1.5px solid var(--eau-fonce); }

/* Relevé des versions */
.versions { list-style: none; margin: 0; padding: 1.6rem 1.6rem 1.2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 1.4rem 0; background: #fff; border: 1px solid var(--trait); border-radius: 10px; position: relative; }
.versions li { margin: 0; padding: 1.4rem 1rem 0 0; position: relative; }
.versions li::after { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 6px; background: var(--eau-fonce); }
.versions li::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--eau-fonce); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--eau-fonce); z-index: 1; }
.versions li.ended::after { background: #b5bcc2; }
.versions li.ended::before { background: #8a939b; box-shadow: 0 0 0 1px #8a939b; }
.versions li.ending::after { background: var(--cuivre); }
.versions li.ending::before { background: var(--cuivre); box-shadow: 0 0 0 1px var(--cuivre); }
.versions li.warn::after { background: #d4a07c; }
.versions li.warn::before { background: #c9885e; box-shadow: 0 0 0 1px #c9885e; }
.versions .v { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--nuit); }
.versions .state { display: inline-block; font-size: .76rem; font-weight: 650; margin: .3rem 0 .35rem; padding: .08rem .45rem; border-radius: 3px; color: var(--eau-fonce); background: var(--eau-pale); }
.versions .ended .v { text-decoration: line-through; text-decoration-color: #8a939b; color: var(--gris); }
.versions .ended .state { color: #4d5660; background: #eef0f2; }
.versions .ending .state { color: var(--cuivre-fonce); background: var(--cuivre-pale); }
.versions .warn .state { color: var(--cuivre-fonce); background: #fbf3ec; }
.versions .note { display: block; font-size: .88rem; color: var(--gris); line-height: 1.4; }

/* Livrables */
.steps .deliverable { margin-top: .9rem; padding: .8rem .95rem; background: var(--granit); border-left: 3px solid var(--eau-fonce); border-radius: 0 var(--radius) var(--radius) 0; font-size: .9rem; color: var(--encre); }
.section.is-alt .steps .deliverable { background: #fff; }
.steps .deliverable span { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--eau-fonce); margin-bottom: .2rem; }

/* Qui vous répond */
.who { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(1.6rem, 5vw, 4rem); align-items: start; }
.who > div:last-child { max-width: 760px; }
.who-mark { background: #fff; border: 1px solid var(--trait); border-radius: 10px; padding: 1.6rem; display: grid; place-items: center; }
.who-mark svg { width: 88px; height: 88px; }
@media (max-width: 560px) { .who { grid-template-columns: 1fr; } .who-mark { justify-self: start; padding: 1rem; } .who-mark svg { width: 56px; height: 56px; } .proof-bar a { margin-left: 0; } }

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

@media print {
  .site-header, .deadline, .site-footer, .cta-band, .hero-actions { display: none; }
  body { background: #fff; color: #000; }
  .hero, .article-head { background: none; }
}

/* Bandeau de consentement */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -18px rgba(19,32,45,.35); }
.consent .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; padding-top: 1rem; padding-bottom: 1rem; }
.consent p { margin: 0; max-width: 70ch; font-size: .95rem; }
.consent-actions { display: flex; gap: .6rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

.ref-shot { aspect-ratio: 16 / 9; object-fit: cover; }
