/* =====================================================================
   GESTE VITAL — Feuille de style principale
   DA : Bleu marine (#1c2b63) + Rouge ECG (#e0312a) — motif cœur / pouls
   Auteur : site vitrine — organisme de formation aux gestes et soins d'urgence
   ===================================================================== */

/* ---------- 1. Tokens / Variables ---------- */
:root {
  /* Couleurs de marque */
  --navy-900: #0e1734;
  --navy-800: #15224a;
  --navy:     #1c2b63;
  --navy-700: #25387e;
  --navy-600: #324aa0;

  --red:      #e0312a;
  --red-600:  #c5241e;
  --red-700:  #a81d18;
  --red-50:   #fdeceb;

  /* Neutres */
  --ink:      #1d2330;
  --muted:    #5b6577;
  --muted-2:  #8a93a6;
  --line:     #e6eaf2;
  --bg:       #ffffff;
  --bg-soft:  #f5f8fc;
  --bg-navy-soft: #f3f5fb;
  --white:    #ffffff;

  /* Effets */
  --radius:    14px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16,23,52,.06), 0 2px 6px rgba(16,23,52,.05);
  --shadow:    0 10px 30px rgba(16,23,52,.08);
  --shadow-lg: 0 24px 60px rgba(16,23,52,.16);
  --shadow-red: 0 14px 30px rgba(224,49,42,.28);

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 48px);

  /* Typo */
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.16,.84,.44,1);
}

/* ---------- 2. Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* évite le scroll horizontal sans transformer <body> en conteneur de défilement */
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy); font-weight: 700; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. Layout utilitaires ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--soft { background: var(--bg-soft); }
.section--navy { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #dfe5f4; }
.section--navy h2, .section--navy h3 { color: #fff; }
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
}
.eyebrow::before { content:""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
.section--navy .eyebrow { color: #ff7a73; }
.section--navy .eyebrow::before { background: #ff7a73; }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.06rem; }
.section--navy .section-head p { color: #b9c2dc; }

/* ---------- 4. Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { background: var(--red-600); transform: translateY(-2px); box-shadow: 0 18px 36px rgba(224,49,42,.36); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.28); }
.btn-light:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- 5. Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(16,23,52,.08); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-family: var(--font-head); font-weight: 500; font-size: .96rem; color: var(--navy-800);
  padding: 9px 14px; border-radius: 9px; position: relative; transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--red); background: var(--bg-soft); }
.nav__link.is-active { color: var(--red); }
.nav__link.is-active::after {
  content:""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--red); border-radius: 2px;
}
.nav__menu .btn { display: none; } /* CTA dans le menu : visible uniquement en mobile */
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 10px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px auto; border-radius: 2px; transition: .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 46px; height: 46px; flex: none; }
.logo__text { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; color: var(--navy); line-height: 1; }
.logo__text .g { color: var(--navy); }
.logo__text small { display: block; font-size: .58rem; font-weight: 600; letter-spacing: .26em; color: var(--red); text-transform: uppercase; margin-top: 3px; }
.logo__img { height: 46px; width: auto; display: block; }
.logo--footer { background: #fff; padding: 11px 16px; border-radius: 14px; box-shadow: var(--shadow-sm); }
.logo--footer img { height: 38px; width: auto; display: block; }
@media (max-width: 760px){ .logo__img { height: 40px; } }

/* ---------- 6. Hero ---------- */
.hero { position: relative; background: linear-gradient(165deg, var(--navy) 0%, var(--navy-900) 100%); color: #fff; overflow: hidden; }
.hero::before {
  content:""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(224,49,42,.30), transparent 60%),
    radial-gradient(700px 480px at 0% 110%, rgba(50,74,160,.45), transparent 60%);
  pointer-events: none;
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px;
  align-items: center; padding-block: clamp(56px, 8vw, 96px);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; font-size: .85rem; font-weight: 500; color: #eaf0ff; margin-bottom: 24px;
}
.hero__badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #36d57d; box-shadow: 0 0 0 4px rgba(54,213,125,.25); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.06; }
.hero h1 .accent { color: #ff8a83; }
.hero__lead { color: #c2cbe6; font-size: clamp(1.05rem, 1.6vw, 1.22rem); margin-top: 22px; max-width: 33ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 22px 34px; margin-top: 40px; }
.hero__trust-item { display: flex; align-items: center; gap: 11px; font-size: .92rem; color: #cdd5ee; }
.hero__trust-item svg { width: 22px; height: 22px; color: #ff8a83; flex: none; }

/* Hero visuel (carte flottante + ECG) */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero__card {
  position: relative; width: min(100%, 400px); background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg);
  padding: 26px; backdrop-filter: blur(8px); box-shadow: var(--shadow-lg);
}
.hero__card-top { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.14); }
.hero__heart { width: 56px; height: 56px; flex: none; }
.hero__card-top h3 { color: #fff; font-size: 1.12rem; }
.hero__card-top p { color: #aab6da; font-size: .85rem; margin-top: 2px; }
.hero__list { margin-top: 18px; display: grid; gap: 12px; }
.hero__list li { display: flex; align-items: center; gap: 13px; color: #e6ebf9; font-size: .96rem; }
.hero__list .tick { width: 24px; height: 24px; border-radius: 50%; background: rgba(54,213,125,.18); color: #5be79b; display: grid; place-items: center; flex: none; }
.hero__list .tick svg { width: 14px; height: 14px; }
.hero__pill {
  position: absolute; padding: 9px 15px; background: #fff; color: var(--navy);
  border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  box-shadow: var(--shadow-lg); display: inline-flex; align-items: center; gap: 8px;
}
.hero__pill .d { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.hero__pill--1 { top: 6px; right: -8px; animation: float 5s ease-in-out infinite; }
.hero__pill--2 { bottom: 18px; left: -18px; animation: float 6s ease-in-out infinite .8s; }

/* Bande ECG animée */
.ecg-strip { position: absolute; left: 0; right: 0; bottom: -2px; height: 90px; opacity: .5; pointer-events: none; }
.ecg-line { fill: none; stroke: #ff8a83; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: ecgDraw 4s linear infinite; }

/* ---------- 7. Bandeau de réassurance (logos / mots-clés) ---------- */
.strip { background: var(--bg-navy-soft); border-block: 1px solid var(--line); }
.strip__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 38px; padding-block: 26px; }
.strip__item { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; color: var(--navy-700); font-size: .95rem; }
.strip__item svg { width: 22px; height: 22px; color: var(--red); }

/* ---------- 8. Cartes Formations ---------- */
.cards { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column;
}
.card::before { content:""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; background: var(--red-50); color: var(--red); margin-bottom: 20px; }
.card__icon svg { width: 28px; height: 28px; }
.card__tag { position: absolute; top: 24px; right: 24px; font-family: var(--font-head); font-size: .72rem; font-weight: 600; color: var(--navy-700); background: var(--bg-soft); border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; }
.card h3 { font-size: 1.22rem; }
.card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 12px 0 14px; }
.card__meta span { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); font-weight: 500; }
.card__meta svg { width: 15px; height: 15px; color: var(--red); }
.card p { color: var(--muted); font-size: .97rem; }
.card__foot { margin-top: auto; padding-top: 20px; }
.card__link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--red); font-size: .95rem; transition: gap .2s; }
.card__link:hover { gap: 13px; }
.card__link svg { width: 17px; height: 17px; }

/* ---------- 9. Section "Pourquoi nous" (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature-list { display: grid; gap: 22px; margin-top: 30px; }
.feature { display: flex; gap: 18px; }
.feature__ic { width: 50px; height: 50px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--navy); color: #fff; }
.feature__ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--muted); margin-top: 5px; font-size: .96rem; }
.media-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, var(--navy), var(--navy-900)); min-height: 420px; box-shadow: var(--shadow-lg); display: grid; place-items: center; padding: 36px; color: #fff; }
.media-card::after { content:""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 80% 10%, rgba(224,49,42,.35), transparent 60%); }
.media-card__inner { position: relative; text-align: center; }
.media-card__big { font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 7vw, 4.6rem); color: #fff; line-height: 1; }
.media-card__big .accent { color: #ff8a83; }
.media-card p { color: #c2cbe6; margin-top: 12px; max-width: 30ch; margin-inline: auto; }

/* ---------- Images : hero, cadre photo, cartes, bannières ---------- */
.hero__photo { position: relative; width: min(100%, 470px); aspect-ratio: 5 / 4.3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.18); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,43,99,.12), rgba(14,23,52,.4)); }

.photo-frame { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); min-height: 460px; }
.photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-frame__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; display: flex; align-items: baseline; gap: 12px; background: linear-gradient(transparent, rgba(14,23,52,.92)); color: #fff; }
.photo-frame__cap strong { font-family: var(--font-head); font-weight: 800; font-size: 2.8rem; color: #ff8a83; line-height: 1; }
.photo-frame__cap span { font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; }

.card--media .card__media { position: relative; margin: -30px -30px 22px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card--media .card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s var(--ease); }
.card--media:hover .card__media img { transform: scale(1.06); }
.card--media .card__tag { top: 16px; right: 16px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border-color: rgba(255,255,255,.6); }

.page-hero--photo .page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero--photo .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.page-hero--photo .page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,34,74,.55), rgba(14,23,52,.78)); }
.page-hero--photo .page-hero__inner { position: relative; z-index: 2; }

/* ---------- 10. Indicateurs (Qualiopi) ---------- */
.stats { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.1rem); color: var(--red); line-height: 1; }
.stat__num .suffix { font-size: .55em; }
.stat__label { font-family: var(--font-head); font-weight: 600; color: var(--navy); margin-top: 10px; font-size: 1rem; }
.stat__meta { color: var(--muted-2); font-size: .78rem; margin-top: 10px; line-height: 1.5; }
.stats-note { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 26px; }

/* ---------- 11. Étapes d'inscription ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 26px; }
.step { position: relative; padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step__n { counter-increment: step; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; font-size: 1.1rem; margin-bottom: 18px; }
.step__n::before { content: "0" counter(step); }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .92rem; margin-top: 7px; }

/* ---------- 12. Accessibilité (encart) ---------- */
.access {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
  background: linear-gradient(135deg, var(--navy), var(--navy-800)); color: #fff;
  border-radius: var(--radius-lg); padding: 38px clamp(28px, 5vw, 48px); box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.access::after { content:""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(224,49,42,.4), transparent 70%); }
.access__ic { position: relative; width: 76px; height: 76px; border-radius: 20px; background: rgba(255,255,255,.12); display: grid; place-items: center; flex: none; }
.access__ic svg { width: 40px; height: 40px; color: #fff; }
.access__txt { position: relative; }
.access__txt h3 { color: #fff; font-size: 1.35rem; }
.access__txt p { color: #c8d0e8; margin-top: 8px; max-width: 60ch; }
.access .btn { position: relative; }

/* ---------- 13. Témoignages ---------- */
.testi-grid { grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.testi__stars { display: flex; gap: 3px; color: #ffb400; margin-bottom: 14px; }
.testi__stars svg { width: 18px; height: 18px; }
.testi__quote { color: var(--ink); font-size: 1.02rem; font-style: italic; }
.testi__who { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.testi__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; flex: none; }
.testi__who b { display: block; font-family: var(--font-head); color: var(--navy); font-size: .96rem; }
.testi__who span { color: var(--muted); font-size: .85rem; }

/* ---------- 14. FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq__item.is-open { box-shadow: var(--shadow); border-color: transparent; }
.faq__q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1.04rem; }
.faq__q .chev { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; flex: none; transition: transform .3s, background .3s, color .3s; }
.faq__q .chev svg { width: 17px; height: 17px; }
.faq__item.is-open .chev { background: var(--red); color: #fff; transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a-inner { padding: 0 24px 24px; color: var(--muted); }
.faq__a-inner a { color: var(--red); font-weight: 600; }

/* ---------- 15. CTA bande ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--red), var(--red-700)); color: #fff; padding: clamp(40px, 6vw, 64px); text-align: center; box-shadow: var(--shadow-red); }
.cta-band::before { content:""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 15% 120%, rgba(255,255,255,.18), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.cta-band p { color: #ffe2e0; margin-top: 14px; font-size: 1.1rem; max-width: 50ch; margin-inline: auto; }
.cta-band .btn-light { background: #fff; color: var(--red); border-color: #fff; }
.cta-band .btn-light:hover { background: #fff; color: var(--red-700); }

/* ---------- 16. Formulaire de contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.info-card { background: linear-gradient(160deg, var(--navy), var(--navy-900)); color: #fff; border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-lg); }
.info-card h3 { color: #fff; font-size: 1.3rem; }
.info-list { margin-top: 26px; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; }
.info-list .ic { width: 46px; height: 46px; border-radius: 13px; background: rgba(255,255,255,.1); display: grid; place-items: center; flex: none; color: #ff8a83; }
.info-list .ic svg { width: 21px; height: 21px; }
.info-list b { display: block; font-family: var(--font-head); color: #fff; font-size: .95rem; }
.info-list span, .info-list a { color: #b9c2dc; font-size: .94rem; }
.info-list a:hover { color: #fff; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .9rem; margin-bottom: 8px; }
.field label .req { color: var(--red); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-soft); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px var(--red-50); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__consent { display: flex; gap: 11px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.form__consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--red); }
.form__msg { display: none; padding: 14px 18px; border-radius: var(--radius-sm); font-size: .92rem; margin-bottom: 18px; }
.form__msg.ok { display: block; background: #e9f9f0; color: #137a45; border: 1px solid #b6e6ca; }
.form__msg.err { display: block; background: #fdecea; color: #a8261f; border: 1px solid #f5c6c2; }
.form__msg a { color: inherit; font-weight: 700; text-decoration: underline; }

/* ---------- 17. Bannière de page (sous-pages) ---------- */
.page-hero { background: linear-gradient(165deg, var(--navy), var(--navy-900)); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content:""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 90% -20%, rgba(224,49,42,.28), transparent 60%); }
.page-hero__inner { position: relative; padding-block: clamp(48px, 7vw, 88px); max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); }
.page-hero p { color: #c2cbe6; font-size: 1.1rem; margin-top: 16px; }
.crumb { display: flex; align-items: center; gap: 9px; font-size: .85rem; color: #9fabcf; margin-bottom: 20px; }
.crumb a:hover { color: #fff; }
.crumb svg { width: 14px; height: 14px; }

/* Sommaire ancré (page formations) */
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.toc a { padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #eaf0ff; font-size: .88rem; font-family: var(--font-head); font-weight: 500; transition: background .2s; }
.toc a:hover { background: rgba(255,255,255,.22); }

/* Bloc thématique détaillé (formations) */
.topic { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; scroll-margin-top: 100px; }
.topic + .topic { margin-top: 22px; }
.topic__ic { width: 58px; height: 58px; border-radius: 15px; background: var(--red-50); color: var(--red); display: grid; place-items: center; flex: none; }
.topic__ic svg { width: 30px; height: 30px; }
.topic h3 { font-size: 1.25rem; }
.topic__meta { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 12px 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 500; color: var(--navy-700); background: var(--bg-soft); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; }
.chip svg { width: 14px; height: 14px; color: var(--red); }
.topic p { color: var(--muted); }
.topic ul.bul { margin-top: 12px; display: grid; gap: 8px; }
.topic ul.bul li { display: flex; gap: 11px; color: var(--ink); font-size: .95rem; }
.topic ul.bul li::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-top: 9px; flex: none; }

.callout { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--radius); background: var(--red-50); border: 1px solid #f6cfcd; }
.callout svg { width: 24px; height: 24px; color: var(--red); flex: none; margin-top: 2px; }
.callout p { color: #7a2420; font-size: .95rem; margin: 0; }
.callout b { color: var(--red-700); }

/* ---------- 18. Footer ---------- */
.footer { background: var(--navy-900); color: #aeb8d6; padding-block: 64px 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .logo__text { color: #fff; }
.footer__about { margin-top: 18px; font-size: .92rem; color: #97a2c4; max-width: 34ch; }
.footer h4 { color: #fff; font-family: var(--font-head); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.footer__links { display: grid; gap: 11px; }
.footer__links a, .footer__contact li { font-size: .93rem; color: #aeb8d6; transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__contact { display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 12px; }
.footer__contact svg { width: 18px; height: 18px; color: #ff8a83; flex: none; margin-top: 2px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: .85rem; color: #8390b6; }
.footer__bottom a:hover { color: #fff; }

/* ---------- 19. Animations ---------- */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes ecgDraw { to { stroke-dashoffset: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; }
.reveal.in { animation: fadeUp .7s var(--ease) forwards; }
.reveal.d1 { animation-delay: .08s; } .reveal.d2 { animation-delay: .16s; } .reveal.d3 { animation-delay: .24s; } .reveal.d4 { animation-delay: .32s; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; min-height: 0; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .access { grid-template-columns: auto 1fr; }
  .access .btn { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav__menu, .nav__actions .btn { display: none; }
  .nav__toggle { display: block; }
  .site-header.menu-open .nav__menu {
    display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 16px var(--gutter) 26px; gap: 4px; box-shadow: var(--shadow-lg); border-top: 1px solid var(--line);
  }
  .site-header.menu-open .nav__menu .btn { display: inline-flex; margin-top: 12px; }
  .nav__link { padding: 13px 14px; font-size: 1.05rem; }
  .field-row { grid-template-columns: 1fr; }
  .topic { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__pill--2 { left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; }
}


/* ============================================================
   LOT DESIGN (élévation visuelle — inspiré Apple/Stripe/Oura/One Medical)
   ============================================================ */
:root{
  --font-display:"Fraunces",Georgia,"Times New Roman",serif;
  --coral:#ff8a83; --coral-soft:#fff1f0; --bg-warm:#faf8f5;
  --ease-spring:cubic-bezier(.34,1.56,.64,1);
  /* Ombres adoucies, multi-couches, teintées marine */
  --shadow-sm:0 1px 2px rgba(28,43,99,.05),0 2px 8px rgba(28,43,99,.045);
  --shadow:0 8px 28px rgba(28,43,99,.08),0 2px 8px rgba(28,43,99,.04);
  --shadow-lg:0 24px 60px -28px rgba(14,23,52,.22),0 8px 24px -12px rgba(28,43,99,.10);
  --shadow-red:0 12px 28px -10px rgba(224,49,42,.32),0 4px 10px -6px rgba(224,49,42,.22);
}
/* Titres en serif éditorial (signal "premium santé"), corps & H3 restent en Poppins/Inter */
h1,h2{font-family:var(--font-display);font-weight:600;letter-spacing:-.021em;}
.hero h1{letter-spacing:-.025em;font-weight:600;}
.stat__num{font-family:var(--font-display);letter-spacing:-.02em;}
/* Bouton primaire premium (dégradé + reflet interne) */
.btn-primary{background:linear-gradient(180deg,#ef473f,var(--red));box-shadow:var(--shadow-red),inset 0 1px 0 rgba(255,255,255,.22);}
.btn-primary:hover{box-shadow:0 18px 36px -12px rgba(224,49,42,.42),inset 0 1px 0 rgba(255,255,255,.22);}
/* "Halo de soin" : bordure rouge qui s'allume au survol */
.card::after,.topic::after,.stat::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;
  background:linear-gradient(140deg,rgba(224,49,42,.6),transparent 42%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;
  opacity:0;transition:opacity .4s var(--ease);z-index:2;}
.card:hover::after,.topic:hover::after,.stat:hover::after{opacity:1;}
/* Apparition au scroll avec easing "spring" */
.reveal.in{animation:fadeUp .8s var(--ease-spring) forwards;}
/* Signature : l'ECG bat au rythme cardiaque, et s'accélère au survol d'un CTA */
.ecg-line{animation:ecgBeat 2.6s cubic-bezier(.66,0,.34,1) infinite;}
@keyframes ecgBeat{0%{stroke-dashoffset:1400}30%{stroke-dashoffset:0}50%,100%{stroke-dashoffset:-1400;opacity:.5}}
body.pulse-fast .ecg-line{animation-duration:1.1s;}
/* Grain très léger (anti-aplat) */
body::after{content:"";position:fixed;inset:0;z-index:9998;pointer-events:none;opacity:.02;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");}
@media (prefers-reduced-motion: reduce){ .ecg-line{animation:none!important;} body::after{display:none;} }


/* ============================================================
   LOT CONVERSION (prix, comparatif, confiance — inspiré CNFCE/Gereso/Coursera)
   ============================================================ */
.section--warm{ background:var(--bg-warm); }
/* Prix sur cartes */
.card__price{ font-size:.85rem; color:var(--muted); margin-bottom:12px; }
.card__price strong{ font-family:var(--font-head); font-size:1.4rem; color:var(--navy); letter-spacing:-.01em; }
.card__price small{ color:var(--muted-2); }
/* Pills financement */
.fundpills{ display:flex; flex-wrap:wrap; gap:9px; justify-content:center; }
.fundpills li{ display:inline-flex; align-items:center; gap:7px; font-family:var(--font-head); font-weight:600; font-size:.8rem; color:var(--navy-700); background:#fff; border:1px solid var(--line); border-radius:999px; padding:7px 14px; }
.fundpills li::before{ content:""; width:15px; height:15px; flex:none; border-radius:50%; background:var(--red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0312a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/9px no-repeat; }
/* Tableau comparatif */
.cmp-wrap{ overflow-x:auto; margin-inline:auto; max-width:860px; }
.cmp{ width:100%; border-collapse:separate; border-spacing:0; min-width:560px; background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-sm); }
.cmp th,.cmp td{ padding:15px 18px; text-align:center; border-bottom:1px solid var(--line); font-size:.95rem; }
.cmp thead th{ font-family:var(--font-display); color:var(--navy); font-size:1.1rem; background:var(--bg-soft); }
.cmp tbody th{ text-align:left; color:var(--muted); font-weight:600; font-family:var(--font-head); background:var(--bg-soft); }
.cmp tr:last-child td,.cmp tr:last-child th{ border-bottom:0; }
.cmp thead .hot{ background:var(--red); color:#fff; }
.cmp td.hot{ background:#fff7f6; color:var(--navy); font-weight:600; box-shadow:inset 2px 0 0 var(--red), inset -2px 0 0 var(--red); }
.cmp .hot-badge{ display:block; margin-top:3px; font-family:var(--font-head); font-size:.6rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.cmp .price{ font-family:var(--font-display); font-size:1.3rem; color:var(--navy); }
/* Preuve sociale */
.social-proof{ display:inline-flex; align-items:center; gap:12px; background:#fff; border:1px solid var(--line); border-radius:999px; padding:10px 22px; box-shadow:var(--shadow-sm); font-family:var(--font-head); flex-wrap:wrap; justify-content:center; }
.social-proof .stars{ color:#ffb400; letter-spacing:2px; font-size:1.05rem; }
.social-proof strong{ color:var(--navy); }
.social-proof span{ color:var(--muted); font-weight:500; font-size:.92rem; }
/* Formateurs (par profil — pas de visages fictifs) */
.team{ grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); }
.expert{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:28px; text-align:center; box-shadow:var(--shadow-sm); position:relative; transition:transform .3s var(--ease),box-shadow .3s; }
.expert:hover{ transform:translateY(-5px); box-shadow:var(--shadow); }
.expert__ic{ width:70px; height:70px; margin:0 auto 16px; border-radius:50%; background:var(--red-50); color:var(--red); display:grid; place-items:center; }
.expert__ic svg{ width:34px; height:34px; }
.expert h3{ font-size:1.05rem; }
.expert .role{ color:var(--red); font-family:var(--font-head); font-weight:600; font-size:.76rem; text-transform:uppercase; letter-spacing:.05em; margin-top:5px; }
.expert p{ color:var(--muted); font-size:.9rem; margin-top:10px; }
/* Onglet flottant */
.hailer{ position:fixed; right:0; top:50%; transform:translateY(-50%); z-index:95; background:var(--red); color:#fff; font-family:var(--font-head); font-weight:600; font-size:.8rem; line-height:1.2; text-align:left; padding:13px 15px; border-radius:14px 0 0 14px; box-shadow:var(--shadow-red); display:flex; align-items:center; gap:10px; transition:padding-right .25s, background .25s; }
.hailer:hover{ padding-right:23px; background:var(--red-600); }
.hailer svg{ width:21px; height:21px; flex:none; }
@media (max-width:760px){ .hailer{ top:auto; bottom:16px; right:16px; transform:none; border-radius:999px; padding:14px; } .hailer span{ display:none; } }
/* Formulaire : intentions + réassurance + honeypot */
.lead__intent{ border:0; padding:0; margin:0 0 6px; }
.lead__intent legend{ font-family:var(--font-head); font-weight:600; color:var(--navy); font-size:.9rem; margin-bottom:10px; padding:0; }
.lead__intent label{ display:flex; align-items:center; gap:11px; padding:13px 16px; margin-bottom:10px; border:1.5px solid var(--line); border-radius:var(--radius-sm); cursor:pointer; font-size:.95rem; transition:border-color .2s, background .2s; }
.lead__intent label:has(input:checked){ border-color:var(--red); background:var(--red-50); }
.lead__intent input{ accent-color:var(--red); width:18px; height:18px; flex:none; }
.hp{ position:absolute !important; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form__trust{ display:flex; flex-wrap:wrap; gap:10px 18px; justify-content:center; margin-top:18px; list-style:none; padding:0; }
.form__trust li{ display:inline-flex; align-items:center; gap:7px; font-size:.8rem; color:var(--muted); font-family:var(--font-head); font-weight:500; }
.form__trust li svg{ width:15px; height:15px; color:#1f9d57; flex:none; }
