/* ============================================================================
   CAP Forma — « La marge »

   Une page de cahier de travail : une colonne de marge étroite porte les
   numéros, les références et les annotations ; la colonne principale porte
   le texte. Le rouge correcteur (minium) est l'unique couleur : il annote,
   il ne décore pas. Voir DESIGN.md pour les règles d'usage.

   Règles à ne pas transgresser :
     — minium = liens, action principale, annotation, numérotation. Jamais un aplat
       de fond de section, jamais un titre entier.
     — la profondeur vient du filet, jamais de l'ombre ni du dégradé ;
     — rayon 2 px maximum (champs, boutons), 0 ailleurs ;
     — Newsreader pour ce qui se lit (titres, chapôs, prix),
       Schibsted Grotesk pour ce qui s'utilise (navigation, labels, formulaires).
   ========================================================================== */

@font-face { font-family: 'Newsreader'; src: url('/assets/fonts/newsreader-var.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('/assets/fonts/newsreader-italic-var.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url('/assets/fonts/schibsted-grotesk-var.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }

:root {
  /* Papier et encre */
  --paper:    #f4f0e8;   /* fond de page — papier écru */
  --paper-2:  #ebe5d9;   /* aplat de respiration, survol */
  --paper-3:  #ffffff;   /* champ de saisie, rare */
  --ink:      #1a1f1c;   /* texte, filets de structure — encre vert-noir */
  --ink-2:    #3d433f;   /* prose secondaire (AA : 9,6:1 sur --paper) */
  --ink-3:    #62675f;   /* légendes, métadonnées (AA : 5,2:1 sur --paper) */
  --rule:     #1a1f1c;
  --rule-2:   #cdc5b5;   /* filet doux */

  /* L'unique couleur : le rouge correcteur */
  --minium:   #b3341a;   /* AA : 5,3:1 sur --paper — liens, action, annotation */
  --minium-2: #8f2812;   /* survol / pression */
  --minium-on-ink: #ee8a6c; /* minium lisible sur fond --ink (AA : 6,6:1) */

  /* États (formulaires, commandes) — toujours accompagnés d'un mot, jamais la couleur seule */
  --ok:   #2f5d3a;
  --warn: #8a5a00;
  --err:  var(--minium);

  /* Typographie */
  --serif: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans:  'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;

  /* Grille */
  --maxw: 1320px;
  --pad: clamp(16px, 4vw, 48px);     /* gouttière latérale de page — 16 px sur mobile */
  --gap: clamp(16px, 2vw, 28px);     /* gouttière entre colonnes */
  --sec: clamp(64px, 8vw, 120px);    /* respiration verticale d'une section */

  --line: 1px solid var(--rule);
  --line-2: 1px solid var(--rule-2);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  font-feature-settings: 'kern' 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { text-wrap: pretty; }
::selection { background: var(--minium); color: var(--paper); }

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

.skip { position: absolute; left: var(--pad); top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; font-size: 14px; }
.skip:focus { top: 10px; }

.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; }

/* ── Ossature ─────────────────────────────────────────────────────────── */

.wrap { max-width: var(--maxw); margin-inline: auto; }
.section { padding: var(--sec) var(--pad); }
.section--flush { padding-top: 0; }
.section--tint, .section--wash { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ruled { padding-top: 0; }
.section--ruled > .wrap { border-top: var(--line); padding-top: var(--sec); }

/* Grille de 12 colonnes. .marg = colonne de marge (3), .main = colonne de texte (9). */
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.marg { grid-column: 1 / span 3; }
.main { grid-column: 4 / -1; }
.main--narrow { grid-column: 4 / span 6; }
@media (max-width: 900px) {
  .grid12 { grid-template-columns: minmax(0, 1fr); }
  .marg, .main, .main--narrow { grid-column: 1 / -1; }
}

/* ── Typographie ──────────────────────────────────────────────────────── */

.display {
  font-family: var(--serif);
  font-weight: 380;
  font-optical-sizing: auto;
  font-size: clamp(2.7rem, 7.4vw, 7rem);
  line-height: 0.96;
  letter-spacing: -0.028em;
  margin: 0;
  text-wrap: balance;
}
.display--sm { font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -0.024em; }
.display em, .h2 em, .h1 em { font-style: italic; font-weight: 340; color: var(--minium); }

.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.95rem, 3.6vw, 3.2rem); line-height: 1.04; letter-spacing: -0.022em; margin: 0; text-wrap: balance; }
.h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 1.6vw, 1.42rem); line-height: 1.22; letter-spacing: -0.012em; margin: 0; }
.h4 { font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.35; margin: 0; }

.lede { font-family: var(--serif); font-weight: 400; font-size: clamp(1.14rem, 1.55vw, 1.36rem); line-height: 1.48; color: var(--ink-2); max-width: 36em; margin: 0; }
.prose { max-width: 66ch; color: var(--ink-2); }
.prose p { margin: 0 0 1em; }
.prose a, .legal a { color: var(--minium); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.nowrap { white-space: nowrap; }

/* Étiquette de section : un numéro en minium, un tiret, un intitulé. */
.label {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.kicker { display: flex; align-items: baseline; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin: 0; }
.kicker b { flex: none; white-space: nowrap; font-weight: 600; color: var(--minium); font-variant-numeric: tabular-nums; }
.kicker::after { content: ''; flex: 1; height: 1px; background: var(--rule-2); transform: translateY(-4px); max-width: 120px; }

.num { font-family: var(--sans); font-weight: 600; font-size: 12.5px; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; color: var(--minium); }
.mono, .code { font-family: var(--sans); font-variant-numeric: tabular-nums; letter-spacing: 0.08em; font-weight: 600; }
.dot { color: var(--minium); }

/* Annotation de marge : italique serif, filet minium à gauche. */
.annot { font-family: var(--serif); font-style: italic; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); border-left: 2px solid var(--minium); padding-left: 12px; margin: 0; max-width: 30ch; }

/* ── Liens et boutons ─────────────────────────────────────────────────── */

.link { color: var(--minium); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .15s ease; }
.link:hover { color: var(--minium-2); text-decoration-thickness: 2px; }
.link--arrow::after { content: ' →'; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid var(--ink); border-radius: var(--radius);
  background: transparent; color: var(--ink);
  font-family: var(--sans); font-weight: 600; font-size: 15px; line-height: 1.2; letter-spacing: 0.005em;
  cursor: pointer; text-align: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
/* Action principale : encre pleine, minium au survol. Une seule par écran. */
.btn--accent, .btn--primary { background: var(--ink); color: var(--paper); }
.btn--accent:hover, .btn--primary:hover { background: var(--minium); border-color: var(--minium); color: #fff; }
.btn--accent::after, .btn--primary::after { content: '→'; font-weight: 400; transition: transform .15s ease; }
.btn--accent:hover::after, .btn--primary:hover::after { transform: translateX(3px); }
.btn.ghost, .btn--ghost { border-color: var(--rule-2); color: var(--ink-2); }
.btn.ghost:hover, .btn--ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn--dark { border-color: var(--paper); color: var(--paper); }
.btn--dark:hover { background: var(--paper); color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

.linkish {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--minium);
  text-decoration: underline; text-underline-offset: 3px;
}
.danger { color: var(--err); }

/* ── En-tête ──────────────────────────────────────────────────────────── */

.hdr { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: var(--line); }
.hdr__in { max-width: calc(var(--maxw) + 2 * var(--pad)); margin-inline: auto; padding: 0 var(--pad); height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__word { display: flex; align-items: baseline; gap: 5px; line-height: 1; }
.brand__cap { font-family: var(--sans); font-weight: 700; font-size: 17px; letter-spacing: 0.1em; }
.brand__forma { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 22px; letter-spacing: -0.01em; }
.hdr .brand { min-height: 44px; }
.hdr__mark { display: inline-flex; } /* alias hérité */

.nav { display: flex; align-items: center; gap: clamp(4px, 1.6vw, 26px); }
.nav a { position: relative; font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 8px 2px; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after { content: ''; position: absolute; left: 2px; right: 2px; bottom: 1px; height: 2px; background: var(--minium); }
.nav__sep { width: 1px; height: 22px; background: var(--rule-2); }
.nav__cart { display: inline-flex; align-items: center; gap: 8px; }
.nav__cart svg { width: 18px; height: 18px; }

.cart-count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--minium); color: #fff;
  font-size: 11.5px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums;
}

.burger {
  display: none; align-items: center; gap: 8px; background: none; border: var(--line); border-radius: var(--radius);
  font-size: 14px; font-weight: 600; padding: 9px 14px; cursor: pointer; min-height: 44px;
}
.burger__bars { width: 16px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }

@media (max-width: 960px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: var(--line);
    padding: 8px var(--pad) 24px;
    visibility: hidden; transform: translateY(-8px); opacity: 0;
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .nav.is-open { visibility: visible; transform: none; opacity: 1; transition: opacity .18s ease, transform .18s ease; }
  .nav a { padding: 15px 0; border-bottom: var(--line-2); font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--ink); }
  .nav a[aria-current]::after { left: auto; right: 0; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); }
  .nav__sep { display: none; }
}

/* ── Messages ─────────────────────────────────────────────────────────── */

.flashes { max-width: calc(var(--maxw) + 2 * var(--pad)); margin-inline: auto; padding: 16px var(--pad) 0; }
.flash { margin: 0 0 8px; padding: 12px 16px 12px 18px; border: var(--line); border-left-width: 4px; background: var(--paper-3); font-size: 15px; }
.flash--ok, .flash.ok, .flash--success, .flash.success { border-left-color: var(--ok); }
.flash--info, .flash.info { border-left-color: var(--ink); }
.flash--error, .flash.error { border-left-color: var(--err); color: var(--ink); }
.flash--error::before, .flash.error::before { content: 'Erreur — '; font-weight: 600; color: var(--err); }

.notice { border: var(--line); padding: clamp(18px, 2.2vw, 26px); background: var(--paper-3); }
.notice p { margin: 0 0 8px; }
.notice p:last-child { margin-bottom: 0; }
.notice--warn { border-left: 4px solid var(--warn); }
.notice--error { border-left: 4px solid var(--err); }

.errors { border: 1px solid var(--err); border-left-width: 4px; padding: 12px 16px; margin-bottom: 24px; background: var(--paper-3); }
.errors p { margin: 0 0 4px; color: var(--err); font-size: 14.5px; }
.error { color: var(--err); font-size: 14px; margin-top: 6px; }

.empty { border: 1px dashed var(--rule-2); padding: clamp(28px, 4vw, 52px); color: var(--ink-3); font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.empty a:not(.btn) { color: var(--minium); text-decoration: underline; font-style: normal; }
.empty .btn { font-style: normal; }

/* ── Titres de page et de section ─────────────────────────────────────── */

.page-head { position: relative; max-width: calc(var(--maxw) + 2 * var(--pad)); margin-inline: auto; padding: clamp(48px, 7vw, 104px) var(--pad) clamp(32px, 4vw, 56px); }
.page-head::after { content: ''; position: absolute; left: var(--pad); right: var(--pad); bottom: 0; height: 1px; background: var(--rule); }
.page-head .label { display: block; margin-bottom: 20px; color: var(--minium); }
.page-head .lede { margin-top: 24px; }

.sec-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 20px;
  align-items: end; padding-bottom: clamp(32px, 4vw, 56px);
}
.sec-head > :first-child { grid-column: 1 / span 7; }
.sec-head > :nth-child(2) { grid-column: 8 / -1; }
.sec-head .label, .sec-head .kicker { display: flex; margin-bottom: 18px; }
@media (max-width: 900px) { .sec-head > :first-child, .sec-head > :nth-child(2) { grid-column: 1 / -1; } }

/* Fil d'Ariane */
.crumbs { max-width: calc(var(--maxw) + 2 * var(--pad)); margin-inline: auto; padding: 22px var(--pad) 0; font-size: 14px; color: var(--ink-3); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--rule-2); }
.crumbs a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--minium); text-decoration-color: currentColor; }
.crumbs [aria-current] { color: var(--ink); }

/* ── Aplat d'encre (une fois par page au maximum) ────────────────────── */

.slab { background: var(--ink); color: var(--paper); padding: var(--sec) var(--pad); }
.slab .label { color: #b9b4a8; }
.slab .lede { color: #d9d4c8; }
.slab em { color: var(--minium-on-ink); }
.slab__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.slab .link { color: var(--minium-on-ink); }

/* ── Index numéroté (lignes réglées) ─────────────────────────────────── */

.index { border-top: var(--line); counter-reset: idx; }
.index__row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 8px;
  padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: var(--line-2); align-items: baseline;
}
/* Aligné sur la grille « marge » : numéro dans la marge (1–3), titre sur la colonne de texte (4–7), détail (8–12). */
.index__row > .num { grid-column: 1 / span 3; }
.index__row > .h3 { grid-column: 4 / span 4; }
.index__row > p { grid-column: 8 / -1; margin: 0; color: var(--ink-2); max-width: 60ch; }
.index__row a { color: var(--minium); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .index__row > .num, .index__row > .h3, .index__row > p { grid-column: 1 / -1; } }

/* Liste numérotée générique : <ol class="olist"> */
.olist { list-style: none; margin: 0; padding: 0; counter-reset: ol; border-top: var(--line); }
.olist > li { counter-increment: ol; position: relative; padding: 18px 0 18px 56px; border-bottom: var(--line-2); }
.olist > li::before { content: counter(ol, decimal-leading-zero); position: absolute; left: 0; top: 19px; font-weight: 600; font-size: 13px; letter-spacing: .06em; color: var(--minium); font-variant-numeric: tabular-nums; }
.olist > li > strong:first-child { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.3; margin-bottom: 4px; }

.ticks, .check, .buy__list { list-style: none; margin: 0; padding: 0; }
.ticks li, .check li, .buy__list li, .dots li { overflow-wrap: anywhere; }
.ticks li, .check li, .buy__list li { position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--ink-2); }
/* Tiret dessiné en bordure (et non en fond d’1 px) : aligné sur le pixel, donc de la même couleur partout. */
.ticks li::before, .check li::before, .buy__list li::before { content: ''; position: absolute; left: 2px; top: .75em; width: 12px; height: 0; border-top: 1px solid var(--minium); }

/* ── Cartes de formation (grilles des autres pages) ──────────────────── */

.fcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0; border-top: var(--line); border-left: var(--line-2); }
.fcard { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 22px; border-right: var(--line-2); border-bottom: var(--line-2); background: transparent; transition: background .15s ease; }
.fcard:hover { background: var(--paper-2); }
.fcard__code { font-weight: 600; font-size: 12.5px; letter-spacing: .08em; color: var(--minium); font-variant-numeric: tabular-nums; }
.fcard__title { font-family: var(--serif); font-weight: 450; font-size: 1.5rem; line-height: 1.12; letter-spacing: -.015em; margin: 0; }
.fcard__title a::after { content: ''; position: absolute; inset: 0; }
.fcard__text { color: var(--ink-2); font-size: 15px; margin: 0; }
.fcard__foot { margin-top: auto; padding-top: 16px; border-top: var(--line-2); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fcard:hover .fcard__title { text-decoration: underline; text-decoration-color: var(--minium); text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* ── Prix ─────────────────────────────────────────────────────────────── */

/* <span class="price">322,80 €<small>TTC</small></span> */
.price { font-family: var(--serif); font-weight: 450; font-size: 1.5rem; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.price small, .price sup { font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; color: var(--ink-3); margin-left: 5px; vertical-align: baseline; }
.price--lg { font-size: clamp(2.4rem, 4.4vw, 3.4rem); font-weight: 380; line-height: 1; letter-spacing: -.025em; }

/* Bloc d'achat (fiche formation) */
.buy { border: var(--line); background: var(--paper-3); padding: clamp(22px, 2.4vw, 32px); position: sticky; top: 96px; align-self: start; }
.buy__price { font-family: var(--serif); font-weight: 380; font-size: clamp(2.4rem, 4vw, 3.2rem); letter-spacing: -.025em; line-height: 1; margin: 14px 0 8px; font-variant-numeric: lining-nums; }
.buy__price sup, .buy__price small { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--ink-3); margin-left: 6px; vertical-align: baseline; }
.buy__note { font-size: 14px; color: var(--ink-3); margin: 0 0 22px; }
.buy__list { margin-top: 22px; padding-top: 20px; border-top: var(--line-2); font-size: 14.5px; }
@media (max-width: 1000px) { .buy { position: static; } }

/* ── Catalogue en table (hérité : offres.php) ────────────────────────── */

.plate { border-top: var(--line); max-width: var(--maxw); margin-inline: auto; }
main > .plate { box-sizing: content-box; border-top: 0; padding-inline: var(--pad); }
.plate__head { display: none; }
.tile {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: baseline; padding: 26px 0; border-bottom: var(--line-2); transition: background .15s ease;
}
.tile:hover { background: var(--paper-2); }
.tile > img { display: none; }
.tile__body { display: contents; }
.tile__code { grid-column: 1 / span 2; font-weight: 600; font-size: 12.5px; letter-spacing: .08em; color: var(--minium); }
.tile__name { grid-column: 3 / span 5; font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.15; }
.tile__cat { grid-column: 8 / span 3; }
.tile__price { grid-column: 11 / -1; text-align: right; font-family: var(--serif); font-size: 1.35rem; white-space: nowrap; }
.tile__price sup { font-family: var(--sans); font-size: 11px; font-weight: 600; color: var(--ink-3); margin-left: 4px; vertical-align: baseline; }
.tile .num { display: none; }
@media (max-width: 860px) {
  .tile > *, .tile__body > * { grid-column: 1 / -1 !important; text-align: left !important; }
}

/* ── Fiche de formation (offre.php) ──────────────────────────────────── */

.offer-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 80px);
  padding: clamp(28px, 3vw, 48px) var(--pad) 0; max-width: calc(var(--maxw) + 2 * var(--pad)); margin-inline: auto;
}
@media (max-width: 1000px) { .offer-grid { grid-template-columns: 1fr; } }
.offer-head .label { display: block; margin-bottom: 14px; color: var(--minium); }
.offer-figure { margin: clamp(24px, 3vw, 40px) 0 0; border: var(--line); background: var(--paper-2); }
.offer-figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.offer-figure figcaption { padding: 10px 14px; border-top: var(--line-2); font-size: 13px; color: var(--ink-3); }
.legal p, .offer-prose p { color: var(--ink-2); max-width: 68ch; }
.legal h2 { font-family: var(--serif); font-weight: 450; font-size: 1.6rem; margin: 2em 0 .5em; }

.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--line); margin: clamp(28px, 3.4vw, 44px) 0 0; }
.specs > div { padding: 16px 20px 18px 0; border-right: var(--line-2); }
.specs > div:last-child { border-right: 0; }
.specs > div + div { padding-left: 20px; }
.specs dt { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.specs dd { margin: 8px 0 0; font-family: var(--serif); font-size: 1.12rem; text-wrap: balance; }
@media (max-width: 720px) { .specs { grid-template-columns: 1fr; } .specs > div { border-right: 0; border-bottom: var(--line-2); padding: 14px 0; } .specs > div + div { padding-left: 0; } }

.steps { border-top: var(--line); margin-top: clamp(28px, 3.4vw, 44px); }
.step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: var(--line-2); align-items: baseline; }
.step > div { min-width: 0; }
.step .h3 { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.step__num { font-weight: 600; font-size: 13px; letter-spacing: .06em; color: var(--minium); font-variant-numeric: tabular-nums; }
.step__time { font-size: 13px; color: var(--ink-3); text-align: right; }
.step p { margin: 6px 0 0; color: var(--ink-2); }
@media (max-width: 720px) { .step { grid-template-columns: 44px minmax(0, 1fr); } }

/* FAQ : <div class="faq"><details><summary>…</summary><p>…</p></details></div> */
.faq { border-top: var(--line); }
.faq details { border-bottom: var(--line-2); }
.faq summary {
  cursor: pointer; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 16px; align-items: baseline;
  padding: 20px 0; font-family: var(--serif); font-weight: 450; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; justify-self: end; font-family: var(--sans); font-weight: 400; font-size: 24px; line-height: 1; color: var(--minium); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--minium-2); }
.faq details > :not(summary) { margin: -6px 44px 22px 0; color: var(--ink-2); max-width: 64ch; }

/* ── Panier et commande ──────────────────────────────────────────────── */

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 1000px) { .checkout { grid-template-columns: 1fr; } }

.cart { border-top: var(--line); }
.cart__row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto auto; gap: clamp(14px, 2.2vw, 28px); align-items: center; padding: 20px 0; border-bottom: var(--line-2); }
.cart__row > div { min-width: 0; }
.cart__row h2 { font-family: var(--serif); font-weight: 450; font-size: clamp(1.15rem, 1.7vw, 1.4rem); margin: 0; }
.cart__thumb { display: block; aspect-ratio: 1; background: var(--paper-2); border: var(--line-2); }
.cart__thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cart__sub { font-size: 14px; color: var(--ink-3); margin: 5px 0 0; max-width: 54ch; }
.cart__price { font-family: var(--serif); font-size: 1.2rem; white-space: nowrap; }
.cart__price.is-off { text-decoration: line-through; color: var(--ink-3); }
.cart__owned { color: var(--minium); font-size: 13.5px; margin-top: 6px; }
.cart__row--owned > div:first-child { opacity: .7; }
@media (max-width: 720px) { .cart__row { grid-template-columns: 56px 1fr; row-gap: 10px; } }

.summary { align-self: start; }
.summary__inner { border: var(--line); background: var(--paper-3); padding: clamp(20px, 2.2vw, 28px); }
.summary__line { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 15px; }
.summary__line--total { border-top: var(--line); margin-top: 10px; padding-top: 16px; align-items: baseline; }
.summary__line--total strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -.02em; }
.summary__note { font-size: 13.5px; color: var(--ink-3); margin: 14px 0 20px; }

/* ── Formulaires ─────────────────────────────────────────────────────── */

.form .field, .field { margin: 0 0 22px; }
.form label, .field label, .lbl { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.hint, .field small { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }
.field input, .field select, .field textarea, .form input:not([type="checkbox"]):not([type="radio"]), .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  background: var(--paper-3); color: var(--ink);
  border: 1px solid #a9a193; border-radius: var(--radius);
  font-family: var(--sans); font-size: 16px; line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink-2); }
.field input:focus, .field textarea:focus, .field select:focus,
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(179, 52, 26, .28); }
.field input:disabled { color: var(--ink-3); background: var(--paper-2); }
.field input[aria-invalid="true"], .field.has-error input { border-color: var(--err); }
.field textarea, .form textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 720px) { .field-row { grid-template-columns: 1fr; row-gap: 0; } }
.form input[type="checkbox"], .form input[type="radio"] { accent-color: var(--minium); width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; }

/* ── Tableaux ────────────────────────────────────────────────────────── */

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table th, .table td { text-align: left; padding: 12px 16px 12px 0; border-bottom: var(--line-2); font-size: 15px; vertical-align: baseline; }
.table th { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); border-bottom: var(--line); }
.table td.num, .table th.num { text-align: right; color: inherit; font-size: inherit; letter-spacing: 0; }

/* ── Pastilles de statut ─────────────────────────────────────────────── */

.tag, .badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 8px;
  border: 1px solid var(--rule-2); border-radius: 999px;
  font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--ink-2); background: var(--paper-3); white-space: nowrap;
}
.tag::before, .badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.tag--on, .badge.on, .badge--paid, .badge--done, .tag--ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.tag--on::before, .badge.on::before, .badge--paid::before, .badge--done::before, .tag--ok::before { background: var(--ok); }
.tag--done { color: var(--ink); border-color: var(--ink); }
.tag--done::before { background: var(--ink); }
.badge.off, .tag--off { color: var(--ink-3); }
.tag--warn, .badge--pending, .badge--in_progress { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); }
.tag--warn::before, .badge--pending::before, .badge--in_progress::before { background: var(--warn); }
.tag--err { color: var(--err); border-color: color-mix(in srgb, var(--err) 45%, transparent); }
.tag--err::before { background: var(--err); }

/* ── Espace client ───────────────────────────────────────────────────── */

.account-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; border-bottom: var(--line); margin-bottom: 32px; }
.account-nav a { position: relative; font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 10px 0 12px; }
.account-nav a:hover { color: var(--ink); }
.account-nav a[aria-current="page"] { color: var(--ink); }
.account-nav a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--minium); }

.orders { border-top: var(--line); }
.order { border-bottom: var(--line-2); padding: 22px 0; }
.order__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: baseline; }
.order__items { margin: 12px 0 0; padding: 0; list-style: none; }
.order__items li { color: var(--ink-2); padding: 3px 0; }
.order__foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 14px; }

.track { list-style: none; margin: 24px 0 0; padding: 0; border-top: var(--line); }
.track li { position: relative; padding: 14px 0 14px 30px; border-bottom: var(--line-2); color: var(--ink-3); }
.track li::before { content: ''; position: absolute; left: 4px; top: 21px; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--rule-2); background: var(--paper); }
.track li.is-done { color: var(--ink); }
.track li.is-done::before { background: var(--ink); border-color: var(--ink); }
.track li.is-current::before { background: var(--minium); border-color: var(--minium); }
.track li.is-current { font-weight: 600; }

.files { list-style: none; margin: 0; padding: 0; border-top: var(--line); }
.files li { border-bottom: var(--line-2); padding: 14px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; }

.card, .panel { border: var(--line); background: var(--paper-3); padding: clamp(20px, 2.4vw, 30px); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 800px) { .grid2 { grid-template-columns: 1fr; } }
.row-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }
.dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dots li { position: relative; padding-left: 18px; color: var(--ink-2); }
.dots li::before { content: ''; position: absolute; left: 0; top: .66em; width: 6px; height: 6px; border-radius: 50%; background: var(--minium); }

/* ── Bandeau du bac à sable ──────────────────────────────────────────── */

.sandbox-bar {
  position: relative; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; padding: 9px var(--pad); background: var(--minium); color: #fff; font-size: 14px;
}
.sandbox-bar strong { font-weight: 700; }
.sandbox-bar .linkish { color: #fff; }

/* ── Pied de page ────────────────────────────────────────────────────── */

.ftr { background: var(--ink); color: #d9d4c8; padding: clamp(56px, 7vw, 96px) var(--pad) 28px; }
.ftr a { color: #f4f0e8; }
.ftr a:hover { color: var(--minium-on-ink); text-decoration: underline; text-underline-offset: 3px; }
.ftr__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid #3d433f; }
.ftr__brand { grid-column: 1 / span 5; }
.ftr__brand p { text-wrap: pretty; }
.ftr__brand .brand { color: var(--paper); }
.ftr__brand p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; color: #d9d4c8; max-width: 26em; margin: 24px 0 0; }
.ftr__grid { grid-column: 6 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.ftr h2, .ftr h4 { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #a8a396; margin: 0 0 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin-bottom: 9px; font-size: 15px; }
.ftr address { font-style: normal; font-size: 15px; line-height: 1.6; }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; font-size: 13px; color: #a8a396; }
@media (max-width: 960px) {
  .ftr__brand, .ftr__grid { grid-column: 1 / -1; }
  /* Cibles tactiles : 44 px de haut pour chaque lien du pied de page. */
  .ftr li { margin: 0; }
  .ftr li a, .ftr__mail { display: inline-block; padding: 10px 0; }
  .ftr h2 { margin-bottom: 6px; }
}
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__grid > :last-child { grid-column: 1 / -1; } }

.credits { margin-top: 14px; }
.credits p { font-size: 12px; color: #8f8a7e; margin: 0; line-height: 1.7; }
.credits a { color: #b9b4a8; }

/* ============================================================================
   Page d'accueil
   ========================================================================== */

/* Ouverture — la rose des caps se lève sur l'horizon : coupée net par le filet. */
.h-hero__head { --rose: clamp(300px, 40vw, 580px); position: relative; overflow: hidden; padding: clamp(44px, 6.4vw, 96px) var(--pad) clamp(40px, 5vw, 72px); border-bottom: var(--line); }
.h-hero__in { position: relative; max-width: var(--maxw); margin-inline: auto; }
.h-hero__head .h-hero__in { z-index: 1; }
.h-hero__rose { position: absolute; z-index: 0; width: var(--rose); right: calc(max(var(--pad), (100% - var(--maxw)) / 2) - var(--rose) * 0.1); bottom: calc(var(--rose) * -0.5); color: var(--ink); pointer-events: none; }
.h-hero__kicker { margin-bottom: clamp(28px, 4vw, 56px); }
.h-hero__kicker::after { display: none; }
.h-hero__title { font-size: clamp(3.3rem, 9.2vw, 8.6rem); line-height: .92; letter-spacing: -.034em; max-width: 11ch; }
.h-hero__title em { display: block; padding-left: .9em; }
.h-hero > .h-hero__in { padding-inline: var(--pad); max-width: calc(var(--maxw) + 2 * var(--pad)); }
.h-hero__body { padding: clamp(32px, 3.4vw, 48px) 0 clamp(56px, 7vw, 104px); row-gap: 40px; }
.h-hero__marg dl { margin: 0; display: grid; gap: 16px; }
.h-hero__marg dt { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.h-hero__marg dd { margin: 3px 0 0; font-size: 15px; max-width: 24ch; }
.h-hero__lede { grid-column: 4 / span 5; }
.h-hero__lede .lede { color: var(--ink); }
.h-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.h-hero__toc { grid-column: 10 / -1; }
@media (max-width: 1100px) {
  .h-hero__lede { grid-column: 4 / -1; }
  .h-hero__toc { grid-column: 4 / -1; }
}
@media (max-width: 900px) {
  .h-hero__lede, .h-hero__toc { grid-column: 1 / -1; }
  .h-hero__marg { order: 3; }
  .h-hero__rose { opacity: .45; right: calc(var(--rose) * -0.34); }
  .h-hero__title em { padding-left: .5em; }
}

/* Sommaire : la table des matières de la page, avec les prix réels */
.toc__title { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: var(--line); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 11px 0; border-bottom: var(--line-2); font-size: 15px; line-height: 1.3; }
.toc li a:hover .toc__name { color: var(--minium); }
.toc__code { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--minium); font-variant-numeric: tabular-nums; }
.toc__name { transition: color .15s ease; }
.toc__price { font-family: var(--serif); font-size: 16px; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }

/* À qui s'adresse CAP Forma */
.h-who__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--line); }
.h-who__list li { padding: 22px 24px 8px 0; }
.h-who__list li + li { padding-left: 24px; border-left: var(--line-2); }
.h-who__list .num { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 18px; letter-spacing: 0; margin-bottom: 14px; }
.h-who__list .h3 { margin-bottom: 10px; }
.h-who__list p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 1000px) {
  .h-who__list { grid-template-columns: 1fr 1fr; }
  .h-who__list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .h-who__list li:nth-child(n+3) { border-top: var(--line-2); }
}
@media (max-width: 600px) {
  .h-who__list { grid-template-columns: 1fr; }
  .h-who__list li, .h-who__list li + li { padding: 20px 0; border-left: 0; }
  .h-who__list li + li { border-top: var(--line-2); }
}

/* Les formations, en deux familles */
.h-fam + .h-fam { margin-top: clamp(48px, 6vw, 88px); }
.h-fam__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding-bottom: 14px; border-bottom: var(--line); }
.h-fam__head .h3 { grid-column: 1 / span 6; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 400; }
.h-fam__head .h3 em { color: var(--minium); }
.h-fam__head p { grid-column: 7 / span 4; margin: 0; color: var(--ink-2); max-width: 34ch; }
.h-fam__head .label { grid-column: 11 / -1; text-align: right; }

.frow { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 8px; align-items: baseline; padding: clamp(24px, 2.8vw, 36px) 0; border-bottom: var(--line-2); transition: background .15s ease; }
.frow:hover { background: linear-gradient(var(--paper-2), var(--paper-2)) no-repeat center / calc(100% + 2 * var(--gap)) 100%; }
.frow__code { grid-column: 1 / span 1; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--minium); font-variant-numeric: tabular-nums; white-space: nowrap; }
.frow__main { grid-column: 2 / span 5; }
.frow__title { font-family: var(--serif); font-weight: 420; font-size: clamp(1.55rem, 2.6vw, 2.25rem); line-height: 1.08; letter-spacing: -.018em; margin: 0; }
.frow__title a::after { content: ''; position: absolute; inset: 0; }
.frow:hover .frow__title { text-decoration: underline; text-decoration-color: var(--minium); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.frow__text { margin: 12px 0 0; color: var(--ink-2); max-width: 52ch; }
.frow__meta { grid-column: 7 / span 4; margin: 0; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.frow__meta div { display: flex; gap: 8px; }
.frow__meta dt { flex: none; width: 58px; color: var(--ink-3); }
.frow__meta dd { margin: 0; text-wrap: balance; }
.frow__price { grid-column: 11 / -1; text-align: right; }
.frow__price .price { font-size: clamp(1.45rem, 2vw, 1.8rem); }
.frow__go { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--minium); }
@media (max-width: 1000px) {
  .frow__code { grid-column: 1 / span 2; }
  .frow__main { grid-column: 3 / -1; }
  .frow__meta { grid-column: 3 / span 6; }
  .frow__price { grid-column: 9 / -1; }
  .h-fam__head .h3 { grid-column: 1 / span 6; } .h-fam__head p { grid-column: 7 / span 6; }
  .h-fam__head .label { display: none; }
}
@media (max-width: 640px) {
  .frow { grid-template-columns: minmax(0, 1fr); }
  .frow > * { grid-column: 1 / -1 !important; }
  .frow__meta { margin-top: 10px; }
  .frow__price { display: flex; justify-content: space-between; align-items: baseline; text-align: left; margin-top: 10px; padding-top: 12px; border-top: 1px dotted var(--rule-2); }
  .frow:hover { background: none; }
  .h-fam__head { grid-template-columns: 1fr; row-gap: 8px; }
  .h-fam__head .h3, .h-fam__head p { grid-column: 1 / -1; }
}

/* Déroulé : une règle graduée, cinq repères */
.h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gap); position: relative; }
.h-steps::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 14px; border-top: var(--line);
  background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px calc(100% / 50)) top / 100% 7px no-repeat; }
.h-steps li { position: relative; padding-top: 44px; }
.h-steps li::before { content: ''; position: absolute; left: 0; top: -1px; width: 1px; height: 28px; background: var(--minium); }
.h-steps li::after { content: ''; position: absolute; left: -4px; top: 24px; width: 9px; height: 9px; border-radius: 50%; background: var(--minium); }
.h-steps .num { display: block; margin-bottom: 12px; }
.h-steps .h3 { margin-bottom: 10px; }
.h-steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 1000px) {
  .h-steps { grid-template-columns: 1fr; row-gap: 0; padding-left: 28px; }
  .h-steps::before { left: 0; right: auto; top: 6px; bottom: 6px; width: 7px; height: auto; border-top: 0; border-left: var(--line);
    background: repeating-linear-gradient(180deg, var(--ink) 0 1px, transparent 1px 14px) left / 7px 100% no-repeat; }
  .h-steps li { padding: 0 0 32px; }
  .h-steps li::before { display: none; }
  .h-steps li::after { left: -32px; top: 6px; }
}

/* Approche (aplat d'encre) */
.h-approach .kicker { color: var(--paper); }
.h-approach .kicker b { color: var(--minium-on-ink); }
.h-approach .kicker::after { background: #3d433f; }
.h-approach__intro { grid-column: 1 / span 5; }
.h-approach__intro .h2 { margin: 18px 0 28px; }
.h-approach__intro p { color: #d9d4c8; margin: 0 0 1em; max-width: 34em; }
.h-approach__sign { margin-top: 28px !important; font-family: var(--serif); font-style: italic; color: #b9b4a8 !important; font-size: 15.5px; }
.h-approach__list { grid-column: 7 / -1; list-style: none; margin: 0; padding: 0; counter-reset: eng; border-top: 1px solid #5a605b; }
.h-approach__list li { counter-increment: eng; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 12px; padding: 24px 0; border-bottom: 1px solid #3d433f; }
.h-approach__list li::before { content: counter(eng, decimal-leading-zero); grid-row: 1 / span 2; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--minium-on-ink); padding-top: 5px; }
.h-approach__list .h3 { color: var(--paper); }
.h-approach__list p { margin: 4px 0 0; color: #c9c4b8; font-size: 15.5px; }
@media (max-width: 960px) { .h-approach__intro, .h-approach__list { grid-column: 1 / -1; } .h-approach__list { margin-top: 40px; } }

/* FAQ d'accueil */
.h-faq__head { grid-column: 1 / span 4; }
.h-faq__head .h2 { margin-top: 18px; }
.h-faq__head p { color: var(--ink-2); margin: 20px 0 0; max-width: 30ch; }
.h-faq .faq { grid-column: 6 / -1; }
@media (max-width: 960px) { .h-faq__head, .h-faq .faq { grid-column: 1 / -1; } .h-faq .faq { margin-top: 32px; } }

/* Appel final */
.h-cta { padding: var(--sec) var(--pad); background: var(--paper-2); border-top: var(--line); }
.h-cta__q { grid-column: 1 / span 8; }
.h-cta__q .display { margin-top: 20px; }
.h-cta__mail { display: inline-block; margin-top: clamp(24px, 3vw, 40px); font-family: var(--serif); font-size: clamp(1.45rem, 3.4vw, 2.6rem); line-height: 1.1; color: var(--minium); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; overflow-wrap: anywhere; }
.h-cta__mail:hover { color: var(--minium-2); text-decoration-thickness: 2px; }
.h-cta__aside { grid-column: 10 / -1; align-self: end; display: grid; gap: 20px; font-size: 15px; color: var(--ink-2); }
.h-cta__aside address { font-style: normal; }
@media (max-width: 960px) { .h-cta__q, .h-cta__aside { grid-column: 1 / -1; } .h-cta__aside { margin-top: 40px; } }

/* ── Apparition au défilement (très discrète) ────────────────────────── */

.rv { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.rv.on { opacity: 1; transform: none; }
html:not(.js) .rv { opacity: 1; transform: none; }
/* Mobile : les liens texte posés seuls (actions, adresse e-mail) gardent une cible de 44 px. */
@media (max-width: 900px) {
  .h-hero__actions .link, .m-who__actions .link, .t-after .link, .h-cta__mail, .m-access__mail,
  .fiche-head__mprice .link, .fiche-head__kicker a, .t-side__back, a.linkish { display: inline-block; padding-block: 11px; }
  button.linkish { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .hdr, .ftr, .burger, .sandbox-bar, .h-hero__rose { display: none !important; }
  body { background: #fff; }
}
