/* Polices hébergées sur le site (sous-ensemble latin : accents français, €, guillemets) */
@font-face { font-family: "Funnel Display"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("/assets/fonts/funnel-display-latin.woff2") format("woff2"); }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/onest-latin.woff2") format("woff2"); }

/* ==========================================================
   aminamarie.fr — feuille de style unique
   Noir chaud + ocre doré (le bronze de la palette d'origine, amplifié).
   Repères de section numérotés,
   mots-clés surlignés, animations pilotées par site.js.
   ========================================================== */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --sand: #faf6f1;          /* fond sable des sections alternées (palette d'origine) */
  --sand-2: #eadcc8;
  --ink: #15171a;
  --ink-2: #363b42;
  --muted: #525861;
  --line: #eee4d6;
  --sky: #f2b13a;           /* ocre doré : accents sur fond sombre, surlignage (sur fond clair, voir la fin du fichier) */
  --sky-rgb: 242 177 58;
  --sky-strong: #e9a020;
  --sky-soft: #fcefd6;
  --sky-ink: #7a5200;       /* ocre foncé : petits textes et liens sur fond clair (contraste ≥ 4,5) */
  --glow-rgb: 242 177 58;
  --accent: var(--sky);
  --accent-ink: var(--sky-ink);
  --accent-text: var(--sky-ink);
  --accent-soft: var(--sky-soft);
  --deep: #141311;          /* noir chaud */
  --deep-rgb: 20 19 17;
  --deep-2: #221f1b;
  --on-deep: #f2f4f7;
  --on-deep-muted: #a3a9b3;

  --font-display: "Funnel Display", "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(21, 23, 26, .04), 0 12px 32px rgba(21, 23, 26, .08);
  --shadow-lg: 0 2px 6px rgba(21, 23, 26, .05), 0 30px 70px rgba(21, 23, 26, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
  --gutter: 20px;
}

@media (min-width: 768px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sky-ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sky); color: var(--ink); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.4vw, 4.4rem); line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.25; letter-spacing: -.01em; font-weight: 650; }
p { margin: 0 0 1em; }
p.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 62ch; }
strong { font-weight: 650; }

/* Mots-clés : surlignage ocre (se dessine à l'apparition, voir .is-marked) */
h1 em, h2 em {
  font-style: normal; color: inherit;
  background: linear-gradient(var(--sky), var(--sky)) 0 92% / 100% .34em no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0 .06em; margin: 0 -.06em;
  transition: background-size 1s var(--ease) .25s;
}
.js-anim h2:not(.is-marked) em { background-size: 0% .34em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--sand { background: var(--sand); }
.section--deep { position: relative; overflow: hidden; isolation: isolate; background: var(--deep); color: var(--on-deep); }
.section--deep::before { content: ""; position: absolute; z-index: -1; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; right: -12%; top: -40%; border-radius: 50%; background: radial-gradient(closest-side, rgb(var(--sky-rgb) / .22), transparent); animation: drift 22s ease-in-out infinite alternate; pointer-events: none; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep h2 em { color: var(--sky); background: none; }
.section--deep p { color: var(--on-deep-muted); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--deep .section-head p { color: var(--on-deep-muted); }

/* Têtes de section « éditoriales » : repère numéroté à gauche, titre à droite */
@media (min-width: 960px) {
  .section > .wrap > .section-head:has(> .eyebrow) {
    max-width: none; display: grid; grid-template-columns: minmax(180px, 1fr) 3fr; column-gap: 48px; align-items: start;
  }
  .section > .wrap > .section-head:has(> .eyebrow) > .eyebrow { grid-column: 1; grid-row: 1 / span 3; margin-top: .9em; }
  .section > .wrap > .section-head:has(> .eyebrow) > :not(.eyebrow) { grid-column: 2; max-width: 760px; }
}

/* Repère de section : numéro + filet + intitulé (remplace les pastilles) */
main { counter-reset: repere; }
.eyebrow {
  display: inline-flex; align-items: center;
  font-size: .9rem; font-weight: 500; line-height: 1.3; letter-spacing: 0;
  color: var(--ink-2);
  margin-bottom: 20px;
}
.section .eyebrow { counter-increment: repere; }
.eyebrow::before {
  content: counter(repere, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--sky-ink);
  padding-right: 42px; margin-right: 12px;
  background: linear-gradient(currentColor, currentColor) right center / 30px 1.5px no-repeat;
}
.js-anim .eyebrow.reveal::before { background-size: 0 1.5px; transition: background-size .8s var(--ease) .2s; }
.js-anim .eyebrow.reveal.is-in::before { background-size: 30px 1.5px; }
.page-hero .eyebrow::before, .next-session .eyebrow::before { content: ""; width: 30px; height: 1.5px; padding: 0; background-size: 100% 100%; }
.section--deep .eyebrow, .cta-band .eyebrow, .page-hero .eyebrow { color: var(--on-deep-muted); }
.section--deep .eyebrow::before, .page-hero .eyebrow::before { color: var(--sky); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px;
  border-radius: 14px; border: 1px solid transparent;
  font: 600 1rem/1.2 var(--font-display);
  letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
/* Reflet qui balaie le bouton au survol */
.btn::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn--primary { background: var(--sky); color: var(--ink); }
.btn--primary:hover { background: var(--sky-strong); color: var(--ink); box-shadow: 0 12px 28px rgb(var(--sky-rgb) / .35); }
.btn--ghost { border-color: #cfd6e0; color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sky-soft); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .95rem; border-radius: 12px; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.note { font-size: .88rem; color: var(--muted); margin-top: 14px; }

/* Boutons secondaires sur fond sombre */
.hero .btn--ghost, .page-hero .btn--ghost, .section--deep .btn--ghost, .cta-band .btn--ghost {
  background: transparent; border-color: rgba(207, 214, 224, .3); color: #fff;
}
.hero .btn--ghost:hover, .page-hero .btn--ghost:hover, .section--deep .btn--ghost:hover, .cta-band .btn--ghost:hover { border-color: var(--sky); color: var(--sky); }
.hero .btn--ghost::after, .page-hero .btn--ghost::after, .section--deep .btn--ghost::after, .cta-band .btn--ghost::after { background: linear-gradient(110deg, transparent 30%, rgb(var(--sky-rgb) / .18) 50%, transparent 70%); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(var(--deep-rgb) / .9);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: #fff;
  transition: background .2s;
}
.site-header.is-scrolled { background: rgb(var(--deep-rgb) / .97); }
/* Barre de progression de lecture */
.site-header::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--sky); transform-origin: left; transform: scaleX(var(--progress, 0)); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { flex: none; display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--deep), 0 0 0 3.5px var(--sky); }
.brand-name { white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; line-height: 1; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .74rem; letter-spacing: .02em; color: var(--on-deep-muted); margin-top: 5px; }

.nav { display: none; margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nav a { position: relative; display: block; white-space: nowrap; padding: 8px 12px; border-radius: 10px; color: #e3e6ea; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: .95rem; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1.5px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--sky); }
.header-cta { display: none; flex: none; white-space: nowrap; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 16px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff;
  font: 600 .95rem var(--font-display); cursor: pointer;
}
.menu-toggle span[aria-hidden] { font-size: 1.1rem; line-height: 1; }

@media (max-width: 1179px) {
  .nav.is-open {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--deep); border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 12px var(--gutter) 24px; box-shadow: 0 24px 40px rgba(0, 0, 0, .3);
    animation: menu-in .35s var(--ease);
  }
  .nav.is-open ul { flex-direction: column; align-items: stretch; }
  .nav.is-open a { padding: 14px 12px; font-size: 1.05rem; }
  .nav.is-open a::after { display: none; }
  .nav.is-open .nav-cta { margin-top: 10px; }
  .nav.is-open .nav-cta a { background: var(--sky); color: var(--ink); text-align: center; border-radius: 14px; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
@media (min-width: 1180px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
  .nav-cta { display: none; }
  .header-cta { display: inline-flex; }
}

/* ---------- Fil d'Ariane (posé sur le haut de page sombre) ---------- */
.breadcrumb { font-size: .85rem; color: var(--on-deep-muted); padding-top: 28px; }
main > .breadcrumb { background: var(--deep); box-shadow: 0 0 0 100vmax var(--deep); clip-path: inset(0 -100vmax); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #5d6268; }
.breadcrumb a { color: var(--on-deep-muted); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- Haut de page sombre ---------- */
.hero, .page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--on-deep);
  background: var(--deep);
}
/* Halos ocre qui dérivent lentement */
.hero::before, .hero::after, .page-hero::before {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
}
.hero::before, .page-hero::before { width: 58vw; height: 58vw; max-width: 820px; max-height: 820px; right: -14%; top: -30%; background: radial-gradient(closest-side, rgb(var(--sky-rgb) / .24), transparent); animation: drift 20s ease-in-out infinite alternate; }
.hero::after { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; left: -12%; bottom: -35%; background: radial-gradient(closest-side, rgb(var(--glow-rgb) / .16), transparent); animation: drift 26s ease-in-out -8s infinite alternate-reverse; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-6%, 8%) scale(1.08); } 100% { transform: translate(5%, -4%) scale(.95); } }

.hero h1, .page-hero h1, .hero h2, .page-hero h2, .hero h3, .page-hero h3 { color: #fff; }
/* Sur fond sombre, le mot-clé passe en ocre, souligné d'un trait qui se dessine */
.hero h1 em, .page-hero h1 em { color: var(--sky); background: linear-gradient(var(--sky), var(--sky)) 0 100% / 100% 3px no-repeat; padding: 0 0 .04em; margin: 0; }
.js-anim .hero h1 em, .js-anim .page-hero h1 em { animation: underline 1s var(--ease) 1.1s both; }
@keyframes underline { from { background-size: 0 3px; } }
.hero p, .page-hero p { color: var(--on-deep-muted); }
.hero p.lead, .page-hero p.lead { color: #c6cbd2; }
.hero a:not(.btn), .page-hero a:not(.btn) { color: var(--sky); }
.hero a:not(.btn):hover, .page-hero a:not(.btn):hover { color: #fff; }
.hero .note, .page-hero .note, .hero .muted, .page-hero .muted { color: var(--on-deep-muted); }

.hero { padding: clamp(40px, 5.5vw, 80px) 0 clamp(64px, 9vw, 120px); }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.2fr .8fr; gap: 72px; } }
/* Ligne de signature au-dessus du titre (fait partie du H1) */
.hero h1 .h1-kicker {
  display: flex; align-items: center; gap: 14px; width: fit-content;
  font-family: var(--font-body); font-size: .95rem; font-weight: 500; letter-spacing: 0; line-height: 1.3;
  color: #c6cbd2; margin-bottom: 26px;
}
.hero h1 .h1-kicker::before { content: ""; flex: none; width: 36px; height: 1.5px; background: var(--sky); transform-origin: left; }

.hero-photo { position: relative; max-width: 420px; margin: 0 auto; width: 100%; }
.hero-photo picture { display: block; translate: calc(var(--px, 0) * -6px) calc(var(--py, 0) * -6px); transition: translate .4s var(--ease); }
.hero-photo picture img { border-radius: 26px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; background: var(--deep-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }

/* Pile de cartes en bas du haut de page : elles tombent, rebondissent et s'empilent (déclenché par site.js) */
.hero:has(.hero-pile) { padding-bottom: 0; }
.hero-pile { position: relative; height: 190px; margin-top: clamp(24px, 4vw, 48px); }
.pile-card {
  position: absolute; z-index: 1; margin: 0;
  background: #fff; color: var(--muted); border-radius: 18px; padding: 16px 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35), inset 0 -2px 0 rgba(0, 0, 0, .06);
  font-size: .88rem; line-height: 1.3; white-space: nowrap;
  transform: rotate(var(--r, 0deg)); transform-origin: 50% 100%;
  transition: transform .45s var(--ease), box-shadow .45s;
  user-select: none;
}
.hero .pile-card { color: var(--muted); }
.pile-card strong { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); }
.pile-card--accent { background: var(--sky); }
.hero .pile-card--accent { color: rgba(21, 23, 26, .72); }
.pile-card--dark { background: var(--deep-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .4), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.hero .pile-card--dark { color: #fff; }
.pile-chip { display: flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 14px; font-family: var(--font-display); font-weight: 650; font-size: 1.08rem; }
.hero .pile-chip:not(.pile-card--dark) { color: var(--ink); }
.pile-chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 3px rgb(var(--sky-rgb) / .3); }
.pc-stars { display: block; color: #f5a524; letter-spacing: 2px; font-size: .8rem; margin-bottom: 2px; }
.pc-5 strong { display: inline; font-size: 1.3rem; margin-right: 4px; }
@media (hover: hover) and (pointer: fine) {
  .pile-card:hover { z-index: 3; transform: translateY(-14px) rotate(calc(var(--r, 0deg) * .3)); box-shadow: 0 28px 60px rgba(0, 0, 0, .45); }
}

/* Position de repos de chaque carte (couche du sol, puis cartes posées dessus) */
.pc-2 { left: 0;    bottom: -8px;  --r: -4deg; --o: 0; z-index: 2; } /* seule carte avec du vrai texte : toujours au-dessus */
.pc-1 { left: 17%;  bottom: -4px;  --r: 7deg;  --o: 2; }
.pc-3 { left: 27%;  bottom: -10px; --r: 3deg;  --o: 4; }
.pc-5 { left: 43%;  bottom: 0;     --r: -6deg; --o: 1; }
.pc-4 { left: 60%;  bottom: -2px;  --r: -3deg; --o: 5; }
.pc-6 { right: 3%;  bottom: -8px;  --r: 5deg;  --o: 3; }
.pc-7 { left: 7%;   bottom: 84px;  --r: -8deg; --o: 7; }
.pc-8 { left: 50%;  bottom: 82px;  --r: 9deg;  --o: 8; }
@media (max-width: 899px) {
  .hero-pile { height: 180px; }
  .pc-6 { display: none; }
  .pc-2 { left: 6px; }
  .pc-1 { left: 29%; }
  .pc-3 { left: 42%; }
  .pc-5 { left: 66%; }
  .pc-4 { left: auto; right: 2%; bottom: 78px; }
  .pc-7 { left: 2%; bottom: 86px; }
  .pc-8 { left: 38%; bottom: 80px; }
}
@media (max-width: 599px) {
  .hero-pile { height: 150px; }
  .pile-card { padding: 12px 15px; font-size: .78rem; border-radius: 14px; }
  .pile-card strong { font-size: 1.3rem; }
  .pile-chip { padding: 10px 14px; font-size: .92rem; }
  .pc-7, .pc-8 { display: none; }
  .pc-2 { left: 4px; bottom: -6px; }
  .pc-3 { left: auto; right: 0; bottom: -8px; }
  .pc-1 { left: 40%; bottom: -2px; }
  .pc-5 { left: 10%; bottom: 68px; --r: -7deg; }
  .pc-4 { left: auto; right: 6%; bottom: 72px; --r: 6deg; }
}

/* Chute : accélération, impact, petits rebonds */
.js-anim .hero-pile:not(.is-falling) .pile-card { opacity: 0; animation: show 0s 3s forwards; } /* filet de sécurité sans script */
.js-anim .hero-pile.is-falling .pile-card { animation: fall 1.25s both; animation-fill-mode: backwards; animation-delay: calc(var(--o) * .11s); }
@keyframes fall {
  0%   { transform: translateY(-115vh) rotate(calc(var(--r, 0deg) * -3)); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  58%  { transform: translateY(0) rotate(var(--r, 0deg)); animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  74%  { transform: translateY(-22px) rotate(calc(var(--r, 0deg) * 1.6)); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  86%  { transform: translateY(0) rotate(var(--r, 0deg)); animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  93%  { transform: translateY(-5px) rotate(calc(var(--r, 0deg) * 1.15)); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  100% { transform: translateY(0) rotate(var(--r, 0deg)); }
}

/* Repères sous le titre : texte simple séparé par des filets */
.proof-row { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 40px; padding: 0; list-style: none; font-size: .95rem; color: #c6cbd2; }
.proof-row li { display: flex; align-items: baseline; gap: 6px; padding: 0 22px; border-left: 1px solid rgba(255, 255, 255, .14); }
.proof-row li:first-child { padding-left: 0; border-left: 0; }
.proof-row strong { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
@media (max-width: 480px) { .proof-row li { padding: 0 14px; } }

/* Entrée en scène du haut de page (déclenchée par la classe js-anim posée dans <head>) */
.js-anim .hero .h1-kicker { animation: rise .7s var(--ease) .05s both; }
.js-anim .hero .h1-kicker::before { animation: grow .8s var(--ease) .15s both; }
.js-anim .hero h1:not(.is-split) { opacity: 0; animation: show 0s 1.4s forwards; } /* filet de sécurité si le script ne charge pas */
/* Le paragraphe et la photo sont visibles dès le premier affichage (ils glissent sans fondu) : c'est ce que Google mesure comme « contenu principal affiché » */
.js-anim .hero .lead { animation: slide-up .8s var(--ease) .1s both; }
.js-anim .hero .actions { animation: rise .8s var(--ease) .7s both; }
.js-anim .hero .proof-row { animation: rise .8s var(--ease) .85s both; }
.js-anim .hero-photo { animation: photo-in 1.1s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes show { to { opacity: 1; } }
@keyframes photo-in { from { transform: scale(.96) translateY(16px); } }
@keyframes slide-up { from { transform: translateY(14px); } }
@keyframes pop { 0% { opacity: 0; transform: translateY(16px) scale(.85); } 70% { transform: translateY(-3px) scale(1.02); } }

/* Titres découpés mot à mot par site.js */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w-i { display: inline-block; }
.js-anim .hero h1.is-split .w-i { animation: word-up .9s var(--ease) both; animation-delay: calc(.2s + var(--i) * .06s); }
.js-anim h2.is-split .w-i { transform: translateY(105%); transition: transform .8s var(--ease); transition-delay: calc(var(--i) * .045s); }
.js-anim h2.is-split.is-in .w-i { transform: none; }
@keyframes word-up { from { transform: translateY(105%); } }

.page-hero { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 8vw, 96px); }
.page-hero .lead { margin-top: 8px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 36px 0 0; padding: 0; list-style: none; max-width: 860px; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.facts span { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); }
.facts strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; margin-top: 3px; }
.page-hero .facts li, .hero .facts li { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.page-hero .facts span, .hero .facts span { color: var(--on-deep-muted); }
.page-hero .facts strong, .hero .facts strong { color: #fff; }

/* ---------- Bandeau de confiance (défile en continu, voir site.js) ---------- */
.trust { background: var(--deep); color: var(--on-deep-muted); border-top: 1px solid rgba(255, 255, 255, .07); padding: 28px 0; overflow: hidden; }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; }
.trust-label { flex: none; font-size: .88rem; font-weight: 500; color: #8a9099; }
.trust ul { display: flex; flex-wrap: wrap; gap: 10px 40px; list-style: none; margin: 0; padding: 0; }
.trust li { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; color: #c3c8cf; white-space: nowrap; transition: color .2s; }
.trust li:hover { color: var(--sky); }
.marquee { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--marquee-time, 30s) linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.trust .marquee-track ul { flex-wrap: nowrap; padding-right: 40px; }
@media (max-width: 719px) { .trust .marquee { flex-basis: 100%; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 720px) and (max-width: 999px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sand-2); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
/* Numéro d'étape : même langage que les repères de section */
.card .num {
  display: flex; align-items: center; gap: 12px; margin-bottom: 26px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--sky-ink);
}
.card .num::after { content: ""; flex: 1; height: 1px; background: var(--line); transition: background .35s; }
.card:hover .num::after { background: var(--sky); }
.section--sand .card { border-color: transparent; }
.section--deep .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: var(--on-deep); }

/* Cartes offres (lumière qui suit la souris + légère inclinaison, voir site.js) */
.offer-group + .offer-group { margin-top: 56px; }
.offer-group-title { display: flex; align-items: center; gap: 14px; font-family: var(--font-body); font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--ink-2); margin-bottom: 20px; }
.offer-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.offer {
  position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 36px); text-decoration: none; color: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.offer::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--sky-soft), transparent 60%); opacity: 0; transition: opacity .35s; }
.offer:hover::before { opacity: 1; }
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--sky); color: var(--ink); }
.tag { align-self: flex-start; font-size: .82rem; font-weight: 500; background: var(--sky-soft); color: var(--sky-ink); padding: 5px 12px; border-radius: 8px; margin-bottom: 22px; }
.offer h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; }
.offer p { color: var(--muted); }
.offer dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 6px 0 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .92rem; }
.offer dt { color: var(--muted); }
.offer dd { margin: 0; font-weight: 600; }
.offer .more { margin-top: auto; font-family: var(--font-display); font-weight: 600; color: var(--sky-ink); display: inline-flex; gap: 8px; align-items: center; }
.offer:hover .more .arrow { transform: translateX(5px); }
.offer .more .arrow { transition: transform .3s var(--ease); }
.offer--feature { background: var(--deep); border-color: var(--deep); color: var(--on-deep); }
.offer--feature::before { background: radial-gradient(460px circle at var(--mx, 90%) var(--my, 0%), rgb(var(--sky-rgb) / .2), transparent 60%); opacity: 1; }
.offer--feature h3 { color: #fff; }
.offer--feature p, .offer--feature dt { color: var(--on-deep-muted); }
.offer--feature dl { border-top-color: rgba(255, 255, 255, .12); }
.offer--feature .tag { background: rgb(var(--sky-rgb) / .14); color: var(--sky); }
.offer--feature .more { color: var(--sky); }
.offer--feature:hover { color: var(--on-deep); border-color: var(--sky); }
@media (min-width: 1000px) { .offer--wide { grid-column: span 2; } }

/* ---------- Bio ---------- */
.bio-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .bio-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; } .bio-aside { position: sticky; top: 110px; } }
.bio-aside img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); }
.bio-aside .sig { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; margin-top: 20px; margin-bottom: 2px; }
.bio-text p { color: var(--ink-2); }
.pullquote {
  position: relative; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.35; letter-spacing: -.01em;
  margin: 40px 0; padding: 4px 0 4px 28px; color: var(--ink);
  border-left: 3px solid var(--sky);
}

.timeline { list-style: none; margin: 36px 0 0; padding: 0; border-left: 2px solid var(--sand-2); }
.timeline li { position: relative; padding: 0 0 28px 30px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px var(--bg); }
.section--sand .timeline li::before { box-shadow: 0 0 0 4px var(--sand); }
.timeline .when { display: block; font-size: .85rem; font-weight: 600; color: var(--sky-ink); }
.timeline strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.timeline span.what { color: var(--muted); font-size: .95rem; }

/* ---------- Chiffres (comptent jusqu'à leur valeur, voir site.js) ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.stat strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 5.4vw, 4.2rem); line-height: 1; letter-spacing: -.03em; color: var(--sky); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 14px; color: var(--on-deep-muted); font-size: .95rem; max-width: 22ch; }
.section:not(.section--deep) .stat { border-top-color: var(--line); }
.section:not(.section--deep) .stat strong { color: var(--ink); }
.section:not(.section--deep) .stat span { color: var(--muted); }

/* ---------- Témoignages ---------- */
.quote { background: var(--surface); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); display: flex; flex-direction: column; margin: 0; transition: transform .35s var(--ease), box-shadow .35s; }
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quote .stars { color: #f5a524; letter-spacing: 2px; font-size: .95rem; margin-bottom: 12px; }
.quote blockquote { margin: 0 0 24px; font-family: var(--font-body); font-size: 1.04rem; line-height: 1.6; color: var(--ink-2); }
.quote figcaption { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.quote figcaption strong { display: block; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1rem; }
.section--sand .quote { border-color: transparent; }

/* ---------- Listes ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .28em; width: 22px; height: 22px; border-radius: 50%; background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2315171a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.checklist--x li::before { background: #eceff3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 7l6 6M13 7l-6 6' fill='none' stroke='%23525861' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.section--sand .checklist li::before { background-color: #fff; }
.section--deep .checklist li::before { background-color: rgb(var(--sky-rgb) / .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.section--deep .checklist li { color: var(--on-deep); }

/* ---------- Programme / étapes ---------- */
.steps { counter-reset: s; display: grid; gap: 16px; }
.step { background: var(--surface); border-radius: var(--radius); padding: 28px 30px; border: 1px solid var(--line); display: grid; gap: 6px 28px; }
.section--sand .step { border-color: transparent; }
@media (min-width: 800px) { .step { grid-template-columns: 200px 1fr; } }
.step .when { font-size: .88rem; font-weight: 600; color: var(--sky-ink); }
.step h3 { margin: 0 0 .3em; }
.step p { color: var(--muted); margin: 0 0 .6em; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 8px 0 0; }
.pills li { background: var(--sand); border-radius: 8px; padding: 6px 12px; font-size: .86rem; font-weight: 500; color: var(--ink-2); }

/* Sessions / prix */
.session { display: flex; flex-direction: column; }
.session .meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; padding: 0; list-style: none; }
.session .meta li { font-size: .84rem; font-weight: 500; background: var(--sand); color: var(--ink-2); padding: 6px 12px; border-radius: 8px; }
.session .price { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 6px; padding-top: 20px; border-top: 1px solid var(--line); }
.session .price strong { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; }
.session .price span { color: var(--muted); font-size: .9rem; }
.session .btn { margin-top: 16px; align-self: flex-start; }
.session .checklist { margin-top: 6px; }

/* ---------- Exemple (accompagnement) ---------- */
.demo { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.demo-head { background: var(--deep); color: var(--on-deep); padding: 14px 22px; font-size: .85rem; font-weight: 500; }
.demo-body { padding: 24px; display: grid; gap: 14px; }
.bubble { border-radius: 18px; padding: 14px 18px; font-size: .95rem; }
.bubble small { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.bubble--in { background: var(--sand); }
.bubble--out { background: var(--sky-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 960px) { .section > .wrap > .section-head:has(> .eyebrow) + .faq { margin-left: calc((100% - 48px) / 4 + 48px); } }
.faq details { border-bottom: 1px solid var(--line); }
.section--sand .faq, .section--sand .faq details { border-color: var(--sand-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 56px 24px 0; position: relative;
  font-family: var(--font-display); font-weight: 650; font-size: 1.15rem; line-height: 1.35;
  transition: color .2s;
}
.faq summary:hover { color: var(--sky-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; translate: 0 -50%;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' fill='none' stroke='%2315171a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform .35s var(--ease), background-color .2s;
}
.section--sand .faq summary::after { background-color: #fff; }
.faq summary:hover::after { background-color: var(--sky); }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--sky); }
.faq details > div { padding: 0 56px 24px 0; color: var(--ink-2); }
.faq details[open] > div { animation: rise .45s var(--ease); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Bloc CTA final ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--deep);
  color: var(--on-deep); border-radius: 28px; padding: clamp(40px, 6vw, 80px); display: grid; gap: 28px; align-items: center;
}
.cta-band::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -20%; bottom: -80%; border-radius: 50%; background: radial-gradient(closest-side, rgb(var(--sky-rgb) / .3), transparent); animation: drift 18s ease-in-out infinite alternate; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band h2 em { color: var(--sky); background: none; }
.cta-band p { color: var(--on-deep-muted); margin: 0; }
.cta-band .actions { margin-top: 0; }
.cta-band a:not(.btn) { color: var(--sky); }

/* Autres offres (maillage interne) */
.cross { display: grid; gap: 12px; }
@media (min-width: 720px) { .cross { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cross { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cross a { display: block; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink); transition: border-color .25s, transform .35s var(--ease), box-shadow .35s; }
.cross a:hover { border-color: var(--sky); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.cross strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.cross span { font-size: .9rem; color: var(--muted); }
.section--sand .cross a { border-color: transparent; }

/* Newsletter */
.newsletter { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1.3fr 1fr; gap: 64px; } }
.resource-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.resource-list a { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 4px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 650; font-size: 1.1rem; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease), color .2s; }
.resource-list a > span[aria-hidden] { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-soft); color: var(--ink); font-family: var(--font-body); transition: background .25s, transform .35s var(--ease); }
.resource-list a:hover { padding-left: 12px; color: var(--sky-ink); }
.resource-list a:hover > span[aria-hidden] { background: var(--sky); transform: rotate(-45deg); }
.resource-list small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .9rem; color: var(--muted); }

/* Prose (mentions légales) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--deep); color: var(--on-deep-muted); padding: 80px 0 32px; margin-top: 0; font-size: .95rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #d6dae0; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--sky); }
.footer-brand { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: -.03em; line-height: 1; color: #fff; margin-bottom: 16px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .85rem; }

/* Utilitaires */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* Avis : source + filtres */
.quote .src { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 500; color: var(--muted); margin-bottom: 14px; }
.quote .src .stars { margin: 0; font-size: .9rem; letter-spacing: 1px; color: #f5a524; }
.proof-row a, .hero .proof-row a { color: inherit; text-decoration: none; }
.proof-row a:hover { color: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { min-height: 42px; padding: 8px 18px; border-radius: 12px; border: 1px solid var(--sand-2); background: var(--surface); font: 600 .92rem var(--font-display); color: var(--ink-2); cursor: pointer; transition: border-color .2s, background .2s; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--sky); border-color: var(--sky); color: var(--ink); }
.masonry { columns: 1; column-gap: 20px; }
@media (min-width: 720px) { .masonry { columns: 2; } }
@media (min-width: 1000px) { .masonry { columns: 3; } }
.masonry .quote { break-inside: avoid; margin-bottom: 20px; }
.masonry .quote[hidden] { display: none; }

/* Pages « mon rôle » */
.role-card { border-top: 0; box-shadow: inset 0 3px 0 var(--sky); }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .link-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 700; transition: border-color .25s, transform .35s var(--ease), box-shadow .35s; }
.link-list a:hover { border-color: var(--sky); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.link-list small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); }
.section--sand .link-list a { border-color: transparent; }
.official { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; background: var(--sky-soft); border-radius: var(--radius); padding: 26px 30px; }
.official p { margin: 0; flex: 1 1 320px; color: var(--ink-2); }
.section--sand .official { background: #fff; }

/* Vidéos */
.video-grid { display: grid; gap: 20px; }
.video-grid--landscape { grid-template-columns: 1fr; }
.video-grid--portrait { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 800px) { .video-grid--landscape { grid-template-columns: repeat(2, minmax(0, 1fr)); } .video-grid--portrait { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.video-card { margin: 0; }
.video-card video { display: block; width: 100%; border-radius: 18px; background: var(--deep); box-shadow: var(--shadow); }
.video-grid--landscape video { aspect-ratio: 16 / 9; }
.video-grid--portrait video { aspect-ratio: 9 / 16; }
.video-card figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }

/* Encadré prochaine session */
.next-session { position: relative; background: var(--surface); border: 1px solid var(--sky); border-radius: var(--radius); padding: clamp(26px, 3vw, 34px); box-shadow: var(--shadow-lg); }
.next-session .eyebrow { margin-bottom: 12px; }
.next-session h3 { margin-bottom: 12px; }
.next-session .price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 4px; }
.next-session .price strong { font-family: var(--font-display); font-size: 2.7rem; font-weight: 800; letter-spacing: -.03em; }
.next-session .price span { color: var(--muted); font-size: .9rem; }
.next-session .btn { width: 100%; margin-top: 16px; }
.next-session ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .95rem; }
.next-session ul li::before { content: "→ "; color: var(--sky-ink); font-weight: 700; }
.course-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .course-layout { grid-template-columns: 1fr 360px; gap: 64px; align-items: start; } .course-layout .next-session { position: sticky; top: 110px; } }
.prose-block h2 { margin-top: 1.4em; }
.prose-block h2:first-child { margin-top: 0; }
.prose-block p, .prose-block li { color: var(--ink-2); }
.prose-block ul:not(.checklist) { padding-left: 1.2em; }
.prose-block li { margin-bottom: 6px; }
.prose-block li::marker { color: var(--sky-ink); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin: 16px 0 8px; font-size: .95rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare th { background: var(--deep); color: #fff; font-family: var(--font-display); font-weight: 650; }
.table-scroll { overflow-x: auto; }
.video-grid--landscape .video-card--wide { grid-column: 1 / -1; }
@media (min-width: 1000px) { .video-grid--portrait { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.video-card figcaption a { color: var(--sky-ink); }

/* Bandeau « prochaine formation » */
.announce { background: var(--sky); color: var(--ink); font-size: .9rem; text-align: center; padding: 10px var(--gutter); line-height: 1.4; }
.announce strong { font-weight: 700; }
.announce a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; white-space: nowrap; }
.announce a:hover { color: var(--ink); text-decoration-thickness: 2.5px; }

/* Sessions terminées (voir site.js) : les éléments masqués utilisent l'attribut hidden */
[hidden] { display: none !important; }
.session-over { background: var(--sky-soft); border: 1px solid var(--sky); border-radius: var(--radius-sm); padding: 14px 18px; margin-top: 20px; color: var(--ink); }
.session-over a { font-weight: 700; color: var(--sky-ink); }

/* Barre de réservation fixe sur mobile */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgb(var(--deep-rgb) / .96); border-top: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .2);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta .mc-info { font-size: .82rem; line-height: 1.3; color: var(--on-deep-muted); min-width: 0; }
.mobile-cta .mc-info strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.02rem; }
.mobile-cta .btn { flex: none; min-height: 44px; padding: 10px 18px; font-size: .92rem; }
@media (min-width: 1180px) { .mobile-cta { display: none; } }
/* Place réservée sous le pied de page (sombre) plutôt qu'une bande blanche en bas de page */
@media (max-width: 1179px) { body.has-mobile-cta .site-footer { padding-bottom: 104px; } }
@media (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } }

/* Note Google près des boutons */
.rating { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); margin-top: 14px; }
.rating .stars { color: #f5a524; letter-spacing: 1px; }
.rating a { color: inherit; }
.hero .rating, .page-hero .rating { color: var(--on-deep-muted); }

/* Formulaire newsletter intégré */
.substack-embed { width: 100%; max-width: 480px; height: 320px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cgv-note { font-size: .82rem; color: var(--muted); margin-top: 10px; }
.cgv-note a { color: inherit; }
.todo { background: #fff3cd; color: #6b4e00; padding: 2px 6px; border-radius: 4px; font-weight: 700; }

/* Initiales des avis */
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 700 .9rem var(--font-display); letter-spacing: .02em; }
.avatar--0 { background: var(--sky); color: var(--ink); }
.avatar--1 { background: var(--deep); color: #fff; }
.avatar--2 { background: var(--sand-2); color: var(--ink); }
.avatar--3 { background: var(--sky-ink); color: #fff; }

/* Bloc dépliable (exemple) */
.disclosure { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 26px; }
.section--sand .disclosure { border-color: transparent; }
.disclosure > summary { list-style: none; cursor: pointer; padding: 22px 56px 22px 0; position: relative; font-family: var(--font-display); font-weight: 650; font-size: 1.12rem; }
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary::after { content: ""; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 36px; height: 36px; border-radius: 50%; background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' fill='none' stroke='%2315171a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .35s var(--ease), background-color .2s; }
.disclosure[open] > summary::after { transform: rotate(135deg); background-color: var(--sky); }
.disclosure[open] { padding-bottom: 26px; }

/* Sélecteur d'offre (accueil) */
.chooser { display: grid; gap: 0; margin: 0 0 72px; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .chooser { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } }
.chooser a { position: relative; display: block; padding: 22px 64px 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: padding .35s var(--ease); }
.chooser a::after { content: "→"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-soft); color: var(--ink); font-weight: 600; transition: transform .35s var(--ease), background .25s; }
.chooser a:hover { padding-left: 12px; color: var(--ink); }
.chooser a:hover::after { background: var(--sky); transform: translate(4px, -50%); }
.chooser .ch-q { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; transition: color .2s; }
.chooser a:hover .ch-q { color: var(--sky-ink); }
.chooser .ch-a { display: block; font-size: .9rem; color: var(--muted); margin-top: 2px; }

/* Les prix ne se coupent jamais */
.session .price, .next-session .price { flex-wrap: wrap; }
.session .price strong, .next-session .price strong, .mobile-cta .mc-info strong { white-space: nowrap; }
.session .price span, .next-session .price span { flex: 1 1 160px; }

/* Longueur de ligne confortable (≈ 68 caractères) */
.section p, .page-hero p, .prose p { max-width: 68ch; }
.center p { margin-left: auto; margin-right: auto; }

/* ---------- Démo « l'IA en action » (accueil) ---------- */
.demo-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .demo-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.demo-tabs { display: grid; gap: 8px; margin: 28px 0 0; }
.demo-tabs button {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  min-height: 56px; padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--sand-2); background: var(--surface); color: var(--ink-2);
  font: 600 1rem var(--font-display); cursor: pointer; transition: border-color .25s, background .25s, box-shadow .25s;
}
.demo-tabs button .n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); font-size: .85rem; font-weight: 700; color: var(--ink-2); transition: background .25s; }
.demo-tabs button[aria-selected="true"] { border-color: var(--sky); color: var(--ink); box-shadow: 0 10px 26px rgba(21, 23, 26, .08); }
.demo-tabs button[aria-selected="true"] .n { background: var(--sky); color: var(--ink); }
.demo-tabs button:hover { border-color: var(--sky); }

.chat-window { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--deep); }
.chat-head .dots { display: flex; gap: 6px; }
.chat-head .dots i { width: 11px; height: 11px; border-radius: 50%; background: #3e434b; }
.chat-head .dots i:first-child { background: var(--sky); }
.chat-head .title { font-family: var(--font-display); font-size: .9rem; font-weight: 600; color: #fff; }
.chat-head .title small { font-family: var(--font-body); font-weight: 400; color: var(--on-deep-muted); }
.chat-body { height: 480px; overflow: hidden; padding: 24px 22px; display: flex; flex-direction: column; gap: 16px; scroll-behavior: smooth; }
@media (max-width: 599px) { .chat-body { height: 500px; padding: 18px 14px; } }
.chat-msg { font-size: .95rem; line-height: 1.55; white-space: pre-line; animation: rise .4s var(--ease); }
.chat-msg--user { align-self: flex-end; max-width: 88%; background: var(--sky-soft); border-radius: 18px 18px 4px 18px; padding: 12px 16px; color: var(--ink); }
.chat-msg--user.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--sky-ink); animation: caret 1s steps(1) infinite; }
.chat-msg--ai { display: flex; gap: 12px; align-items: flex-start; max-width: 100%; }
.chat-avatar { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--deep); color: var(--sky); font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.chat-text { color: var(--ink); padding-top: 4px; min-width: 0; }
.chat-thinking { display: flex; gap: 5px; padding-top: 12px; }
.chat-thinking span { width: 7px; height: 7px; border-radius: 50%; background: var(--sky-ink); animation: think 1s infinite ease-in-out; }
.chat-thinking span:nth-child(2) { animation-delay: .15s; }
.chat-thinking span:nth-child(3) { animation-delay: .3s; }
.chat-foot { display: flex; align-items: center; gap: 10px; margin: 0 14px 14px; padding: 10px 10px 10px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--sand); color: var(--muted); font-size: .9rem; }
.chat-foot span { flex: 1; }
.chat-foot i { width: 34px; height: 34px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; color: var(--ink); font-style: normal; font-weight: 700; }
.demo-note { font-size: .85rem; color: var(--muted); margin-top: 14px; text-align: center; }
@keyframes caret { 50% { opacity: 0; } }
@keyframes think { 0%, 80%, 100% { transform: translateY(0); opacity: .35; } 40% { transform: translateY(-4px); opacity: 1; } }

/* Carte newsletter avant chargement du formulaire Substack (même taille : pas de décalage) */
.substack-gate { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 32px; background: var(--deep); border-color: var(--deep); }
.substack-gate::before { content: ""; position: absolute; z-index: -1; width: 80%; aspect-ratio: 1; right: -30%; bottom: -60%; border-radius: 50%; background: radial-gradient(closest-side, rgb(var(--sky-rgb) / .28), transparent); animation: drift 16s ease-in-out infinite alternate; }
.substack-gate .sg-title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; margin: 0; color: #fff; }
.substack-gate .sg-text { margin: 0; color: #c6cbd2; }
.substack-gate .btn { margin-top: 8px; }
.substack-gate .sg-note { margin: 4px 0 0; font-size: .8125rem; color: var(--on-deep-muted); }

/* ---------- Apparition au défilement (activée par site.js) ---------- */
.js-anim .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js-anim .reveal.is-in { opacity: 1; transform: none; }
.js-anim .reveal--img { opacity: 0; transform: none; clip-path: inset(12% 12% 12% 12% round 26px); transition: opacity .6s var(--ease), clip-path 1.2s var(--ease); }
.js-anim .reveal--img.is-in { opacity: 1; clip-path: inset(0 0 0 0 round 26px); }

/* Mouvement réduit : tout est affiché immédiatement, rien ne bouge */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-photo picture { translate: none !important; }
}
@media print { .js-anim .reveal, .js-anim .reveal--img { opacity: 1; transform: none; clip-path: none; } }

/* ---------- Accents sur fond clair ----------
   L'ocre clair ne se voit pas sur fond blanc ou sable : sur fond clair, boutons et icônes passent en noir
   avec l'ocre en couleur de texte ; sur fond sombre, ils restent ocre.
   Le préfixe « :root » donne à ces règles la priorité sur les styles de base ci-dessus. */
:root .btn--primary { background: var(--ink); color: var(--sky); }
:root .btn--primary:hover { background: var(--sky); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), 0 12px 28px rgba(21, 23, 26, .18); }
:root :is(.hero, .page-hero, .section--deep, .cta-band, .substack-gate, .site-header, .mobile-cta, .offer--feature) .btn--primary { background: var(--sky); color: var(--ink); }
:root :is(.hero, .page-hero, .section--deep, .cta-band, .substack-gate, .site-header, .mobile-cta, .offer--feature) .btn--primary:hover { background: #fff; color: var(--ink); box-shadow: 0 12px 30px rgb(var(--sky-rgb) / .35); }
:root :is(.offer:hover, .cross a:hover, .link-list a:hover, .next-session, .session-over, .demo-tabs button[aria-selected="true"], .demo-tabs button:hover) { border-color: var(--ink); }
:root .offer--feature:hover { border-color: var(--sky); }
:root .chooser a::after, :root .resource-list a > span[aria-hidden] { background-color: var(--ink); color: var(--sky); }
:root .chooser a:hover::after, :root .resource-list a:hover > span[aria-hidden] { background-color: var(--sky); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
:root .faq summary::after, :root .disclosure > summary::after { background-color: var(--ink); background-image: none; content: "+"; color: var(--sky); display: grid; place-items: center; font: 400 1.45rem/1 var(--font-body); }
:root .faq summary:hover::after, :root .faq details[open] summary::after, :root .disclosure[open] > summary::after { background-color: var(--ink); }
:root :is(.demo-tabs button[aria-selected="true"] .n, .chat-foot i, .filters button[aria-pressed="true"]) { background: var(--ink); color: var(--sky); border-color: var(--ink); }
:root .timeline li::before, :root .card:hover .num::after { background: var(--ink); }
:root .pullquote { border-left-color: var(--sky-strong); }

/* Animations continues (halos, bandes défilantes) mises en pause hors de l'écran (voir site.js) */
.is-offscreen::before, .is-offscreen::after, .is-offscreen .marquee-track { animation-play-state: paused !important; }

/* Menu : les activités entreprise et réseau passent au second plan */
@media (min-width: 1180px) {
  .nav li:not(.nav-secondary) + li.nav-secondary { margin-left: 10px; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .14); }
  .nav li.nav-secondary a { font-size: .88rem; font-weight: 500; color: var(--on-deep-muted); }
}
@media (max-width: 1179px) { .nav.is-open .nav-secondary a { font-size: .95rem; color: var(--on-deep-muted); } }

/* Offres entreprises & réseau : plus discrètes que les offres principales */
.offer-group--secondary .grid { grid-template-columns: 1fr; }
@media (min-width: 720px) { .offer-group--secondary .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.offer-group--secondary .offer--wide { grid-column: auto; }
.offer-group--secondary .offer { background: var(--sand); border-color: transparent; padding: 24px 26px; }
.offer-group--secondary .offer h3 { font-size: 1.2rem; }
.offer-group--secondary .offer p { font-size: .95rem; }
.offer-group--secondary .offer dl { margin-bottom: 18px; }

/* Bande « 20 prompts offerts » sous les offres */
.lead-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 56px; padding: 28px 32px; border-radius: var(--radius); background: var(--sky-soft); border: 1px solid var(--sand-2); }
.lead-band .lb-title { margin: 0 0 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; color: var(--ink); }
.lead-band .lb-text { margin: 0; color: var(--ink-2); max-width: 60ch; }
.lead-band .btn { flex: none; }

/* Carte « 47 avis » de la pile : c'est un lien vers la page des avis */
.hero a.pile-card { color: var(--muted); text-decoration: none; }
.hero a.pile-card:focus-visible { outline-color: var(--sky); }
/* Menu compact sur ordinateur pour que tout tienne sur une ligne (largeur du contenu fixée à 1200 px) */
@media (min-width: 1180px) {
  .header-inner { gap: 14px; }
  .nav a { padding: 8px 8px; font-size: .9rem; }
  .nav a::after { left: 8px; right: 8px; }
  .nav li:not(.nav-secondary) + li.nav-secondary { margin-left: 6px; padding-left: 6px; }
}

/* Photos en situation (accueil, « Qui je suis », Etikonnect) */
.photo-strip { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.photo-strip figure, .photo-feature { margin: 0; }
.photo-strip picture, .photo-feature picture { display: block; overflow: hidden; border-radius: 18px; background: var(--sand-2); }
.photo-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s var(--ease); }
.photo-strip li:hover img { transform: scale(1.04); }
.photo-strip figcaption, .photo-feature figcaption { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: .85rem; font-weight: 500; color: var(--ink-2); }
.photo-strip figcaption::before, .photo-feature figcaption::before { content: ""; flex: none; width: 18px; height: 1.5px; background: var(--sky-ink); }
.section--sand .photo-strip picture { background: #fff; }
/* Sur téléphone : les photos défilent horizontalement au doigt */
@media (max-width: 719px) {
  .photo-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scrollbar-width: none; }
  .photo-strip::-webkit-scrollbar { display: none; }
  .photo-strip li { flex: 0 0 72%; scroll-snap-align: start; }
}
.photo-feature { max-width: 560px; margin-top: 40px; }
.photo-feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }

/* Avis : métier de la personne, entre son nom et le type de prestation */
.quote figcaption .role { display: block; color: var(--ink-2); font-size: .88rem; line-height: 1.35; margin: 2px 0 3px; }

/* Petits téléphones (≤ 380 px) : en-tête et barre de réservation plus compacts */
@media (max-width: 380px) {
  .header-inner { gap: 10px; }
  .brand { gap: 10px; }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: 1.12rem; }
  .menu-toggle { padding: 8px 12px; }
  .mobile-cta .btn { padding: 10px 14px; font-size: .88rem; }
  .mobile-cta .mc-info strong { white-space: normal; font-size: .95rem; }
}
/* Colonnes qui ne doivent jamais forcer la page à s'élargir */
.bio-grid > *, .cta-band > *, .newsletter > *, .split > * { min-width: 0; }
@media (max-width: 480px) {
  .lead-band { padding: 22px 20px; }
  .lead-band .btn { flex: 1 1 auto; }
  .cta-band { padding: 32px 22px; border-radius: 22px; }
}
@media (max-width: 380px) {
  .cta-band h2 { font-size: 1.5rem; }
}

/* Inscription newsletter directe (formulaire envoyé à Substack, rien n'est chargé avant l'envoi) */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.substack-form { height: auto; min-height: 0; }
.substack-form .sf-row { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; margin-top: 10px; }
.substack-form input[type="email"] { flex: 1 1 200px; min-width: 0; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; font: 500 1rem var(--font-body); }
.substack-form input[type="email"]::placeholder { color: var(--on-deep-muted); }
.substack-form input[type="email"]:focus { outline: 2px solid var(--sky); outline-offset: 2px; border-color: transparent; }
.substack-form .btn { margin-top: 0; flex: 0 1 auto; }
.page-hero .substack-gate, .hero .substack-gate, .section--deep .substack-gate { border: 1px solid rgba(255, 255, 255, .12); }

/* Corrections de relecture */
.eyebrow--plain::before { content: ""; width: 30px; height: 1.5px; padding: 0; background-size: 100% 100%; }
.grid-4 .card h3 { font-size: clamp(1.1rem, 1.5vw, 1.25rem); overflow-wrap: break-word; hyphens: auto; }
.pullquote, .quote blockquote, p.lead { text-wrap: pretty; }
/* Bloc vidéo collé au haut de page (Bootcamp) : un peu d'air sous le bandeau sombre */
.page-hero + .section[style*="padding-top:0"] { padding-top: clamp(40px, 5vw, 64px) !important; }
/* Cinq vidéos verticales : cinq colonnes sur grand écran pour éviter une vidéo seule sur sa ligne */
@media (min-width: 1000px) { .video-grid--portrait:has(> :nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.video-card figcaption { text-wrap: pretty; }

/* Exemples de vidéos paysage : la vidéo « large » (Bootcamp) garde la même taille que les autres */
@media (min-width: 800px) and (max-width: 999px) {
  .video-grid--landscape .video-card--wide { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); }
}
@media (min-width: 1000px) {
  .video-grid--landscape { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .video-grid--landscape .video-card--wide { grid-column: auto; }
}

/* Atelier vidéo : idées d'usages, rangées en colonnes */
.usecases-title { margin: 72px 0 24px; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.usecases { columns: 1; column-gap: 20px; }
@media (min-width: 720px) { .usecases { columns: 2; } }
@media (min-width: 1000px) { .usecases { columns: 3; } }
.usecase { break-inside: avoid; margin: 0 0 20px; padding: 24px 26px; border-radius: var(--radius); background: var(--sand); }
.usecase h4 { margin: 0 0 14px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.25; }
.usecase ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.usecase li { position: relative; padding-left: 18px; font-size: .95rem; line-height: 1.45; color: var(--ink-2); }
.usecase li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }
.usecase li strong { color: var(--ink); }
.usecase--feature { background: var(--deep); color: var(--on-deep); }
.usecase--feature h4 { color: #fff; }
.usecase--feature li { color: #d6dae0; }
.usecase--feature .tag { display: inline-block; margin-bottom: 14px; background: rgb(var(--sky-rgb) / .16); color: var(--sky); }

/* Atelier vidéo : repères de prix du marché */
.market-prices { margin-top: 24px; }
.market-prices .usecases-title { margin-bottom: 8px; }
.price-refs { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.price-refs li { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); box-shadow: inset 0 3px 0 var(--sky); }
.price-refs span { font-size: .9rem; color: var(--muted); line-height: 1.35; }
.price-refs strong { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.price-refs small { font-size: .85rem; color: var(--muted); margin-top: -4px; }
.price-note { margin-top: 14px; font-size: .82rem; color: var(--muted); }

/* ===== Blog ===== */
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: .9rem; color: var(--on-deep-muted); }
.post-meta a { color: inherit; }
.post { max-width: 760px; margin: 0 auto; }
.post > h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 1.8em 0 .5em; scroll-margin-top: 100px; }
.post > h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; }
.post > p, .post > ul, .post > ol { color: var(--ink-2); }
.post > ul:not(.checklist), .post > ol { padding-left: 1.2em; }
.post li { margin-bottom: 6px; }
.post li::marker { color: var(--sky-ink); }
.post-summary { margin: 0 0 8px; padding: 22px 26px; border-radius: var(--radius); background: var(--sand); border-left: 4px solid var(--sky); }
.post-summary strong:first-child { display: block; font-family: var(--font-display); margin-bottom: 6px; }
.post-summary p { margin: 0; color: var(--ink-2); }
.post-toc { margin: 28px 0 0; padding: 20px 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.post-toc p { margin: 0 0 8px; font-weight: 700; }
.post-toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.post-toc a { color: var(--ink-2); }
.prompt-box { position: relative; margin: 18px 0 8px; border-radius: var(--radius); background: var(--deep); color: var(--on-deep); overflow: hidden; }
.prompt-box .prompt-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: var(--on-deep-muted); }
.prompt-box pre { margin: 0; padding: 18px 20px 22px; white-space: pre-wrap; word-break: break-word; font: 400 .95rem/1.6 var(--font-body); color: #e8eaed; }
.copy-btn { flex: none; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: var(--sky); border-radius: 999px; padding: 6px 14px; font: 600 .82rem var(--font-body); cursor: pointer; }
.copy-btn:hover, .copy-btn:focus-visible { background: var(--sky); color: var(--ink); }
.post-tip { margin: 18px 0; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--sky-soft); color: var(--ink); }
.post-tip p { margin: 0; color: var(--ink); }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin: 48px 0 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.author-box img { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.author-box p { margin: 4px 0 0; color: var(--ink-2); font-size: .95rem; }
.author-box strong { font-family: var(--font-display); font-size: 1.1rem; }
.post .faq { margin-top: 12px; }
.blog-list { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.blog-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card h2, .blog-card h3 { margin: 0; font-size: 1.25rem; line-height: 1.25; }
.blog-card p { margin: 0; color: var(--muted); }
.blog-card .tag { align-self: flex-start; margin-bottom: 0; }
.blog-card .more { margin-top: auto; font-weight: 700; color: var(--sky-ink); }
