/* IHEC Formation — Incontestablement, l'Homme est Capital
   Couleurs reprises du logo : bleu « capital » et bronze du « C / H ». */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --blue: #3a609e;
  --blue-700: #2c4c82;
  --blue-900: #16294a;
  --blue-50: #eef3fa;
  --bronze: #918055;
  --bronze-700: #6f6038;   /* texte bronze lisible (AA) */
  --bronze-200: #e4d9bd;
  --cream: #faf7f0;
  --sand: #f2ece0;
  --paper: #ffffff;
  --ink: #1b2233;
  --muted: #535c6e;
  --line: #e5dece;
  --ok: #2f7a55;
  --danger: #a3352b;

  --font-title: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(22, 41, 74, .06), 0 10px 30px -12px rgba(22, 41, 74, .18);
  --shadow-lg: 0 30px 60px -25px rgba(22, 41, 74, .35);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1.0625rem/1.7 var(--font-body);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-900); }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 600; line-height: 1.15; color: var(--blue-900); margin: 0 0 .6em; letter-spacing: -.01em; font-variation-settings: "SOFT" 50, "opsz" 72; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 650; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin: .25em 0; }
strong { font-weight: 650; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--blue-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

/* ---------- Bandeau + en-tête ---------- */
.topbar { background: var(--blue-900); color: #dbe4f3; font-size: .85rem; }
.topbar .wrap { display: flex; gap: 8px 24px; justify-content: space-between; align-items: center; flex-wrap: wrap; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar .badge { display: inline-flex; align-items: center; gap: 8px; }
.topbar .badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bronze-200); box-shadow: 0 0 0 3px rgba(228,217,189,.25); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 172px; height: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav li { margin: 0; position: relative; }
.nav a, .nav .sub-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font: 500 .96rem/1 var(--font-body); background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav .sub-toggle:hover, .nav [aria-current="page"], .nav .is-active > .sub-toggle { background: var(--blue-50); color: var(--blue-900); }
.nav [aria-current="page"] { font-weight: 650; }
.sub-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); display: none; }
.submenu a { display: flex; width: 100%; border-radius: 10px; padding: 12px 14px; }
.has-sub.open .submenu { display: block; }
.nav .btn { margin-left: 8px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--blue-900); }
.burger svg { width: 24px; height: 24px; }

@media (max-width: 1020px) {
  .burger { display: inline-flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 100%); background: #fff; flex-direction: column; align-items: stretch; padding: 96px 20px 28px; box-shadow: var(--shadow-lg); transform: translateX(105%); transition: transform .3s ease; overflow-y: auto; z-index: 60; }
  .nav.open { transform: none; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a, .nav .sub-toggle { width: 100%; justify-content: space-between; padding: 14px 16px; border-radius: 12px; font-size: 1.05rem; }
  .submenu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .sub-toggle svg { display: none; }
  .nav .btn { margin: 16px 0 0; justify-content: center; }
  .nav-close { position: absolute; top: 22px; right: 20px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(22,41,74,.45); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav-backdrop.open { opacity: 1; pointer-events: auto; }
  .site-header .wrap { min-height: 72px; }
  .brand img { width: 148px; }
}
@media (min-width: 1021px) { .nav-close, .nav-backdrop { display: none; } }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font: 600 1rem/1 var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(58,96,158,.8); }
.btn-primary:hover { background: var(--blue-700); color: #fff; }
.btn-gold { background: var(--bronze-200); color: var(--blue-900); }
.btn-gold:hover { background: #fff; color: var(--blue-900); }
.btn-ghost { border-color: currentColor; color: var(--blue-900); background: transparent; }
.btn-ghost:hover { background: var(--blue-900); color: #fff; border-color: var(--blue-900); }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--blue-900); }
.nav .btn { padding: 12px 20px; }
.nav .btn-primary { color: #fff; background: var(--blue); }
.nav .btn-primary:hover { background: var(--blue-700); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Hero accueil ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--blue-900); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14,27,51,.92) 0%, rgba(22,41,74,.8) 42%, rgba(22,41,74,.25) 75%, rgba(22,41,74,.1) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-top: clamp(72px, 11vw, 140px); padding-bottom: clamp(80px, 12vw, 150px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: end; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.4rem); margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--bronze-200); font-weight: 500; }
.hero .lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: #e6ecf6; max-width: 34em; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-700); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero .eyebrow { color: var(--bronze-200); }
.hero-card { justify-self: end; background: rgba(255,255,255,.97); color: var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-lg); max-width: 340px; }
.hero-card img { border-radius: 8px; }
.hero-card p { font-size: .92rem; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
.hero-card a { font-weight: 600; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-card { justify-self: start; } .hero::after { background: linear-gradient(180deg, rgba(14,27,51,.75), rgba(14,27,51,.92)); } }

/* ---------- Hero pages intérieures ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); border-bottom: 1px solid var(--line); }
.page-hero .wrap { position: relative; z-index: 1; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(44px, 6vw, 80px); }
.page-hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 44em; }
.page-hero::before { content: ""; position: absolute; width: 560px; height: 560px; right: -170px; top: -150px; border-radius: 50%; border: 56px solid var(--bronze); opacity: .12; border-right-color: transparent; transform: rotate(-30deg); }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 26px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--bronze); }
.crumbs a { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 110px) 0; }
.section.tight { padding: clamp(40px, 5vw, 70px) 0; }
.section.white { background: #fff; }
.section.sand { background: var(--sand); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); box-shadow: var(--shadow); position: relative; }
.card h3 { margin-bottom: .45em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card.feature { display: flex; flex-direction: column; gap: 6px; transition: transform .2s, box-shadow .2s; }
.card.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card.feature .link-arrow { margin-top: auto; padding-top: 12px; }
.card.feature.big { padding: clamp(28px, 3.4vw, 44px); }
.card.feature.dark { background: var(--blue-900); color: #e6ecf6; border-color: var(--blue-900); }
.card.feature.dark h3 { color: #fff; }
.card.feature.dark .link-arrow { color: var(--bronze-200); }
.card.feature.dark .icon { background: rgba(255,255,255,.1); color: var(--bronze-200); }
.icon { width: 52px; height: 52px; border-radius: 14px; display: inline-grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 14px; flex-shrink: 0; }
.icon svg { width: 26px; height: 26px; }
.icon.gold { background: #f4eedf; color: var(--bronze-700); }
.card .tag { display: inline-block; font: 600 .75rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--bronze-700); margin-bottom: 8px; }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 32px; margin: .55em 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a609e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.checklist.gold li::before { background-color: #f4eedf; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6038' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.checklist.cols { columns: 2; column-gap: 32px; }
.checklist.cols li { break-inside: avoid; }
@media (max-width: 640px) { .checklist.cols { columns: 1; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.chips li { margin: 0; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: .95rem; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }

/* Citation / conviction */
.quote { position: relative; font-family: var(--font-title); font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.3; color: var(--blue-900); font-weight: 500; font-style: italic; margin: 0; padding-left: 28px; border-left: 4px solid var(--bronze); }
.quote footer { font: 500 1rem/1.4 var(--font-body); font-style: normal; color: var(--muted); margin-top: 14px; }

/* Image arrondie + emblème */
.photo { border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.emblem-wrap { position: relative; max-width: 420px; margin: 0 auto; }
.emblem-wrap::before { content: ""; position: absolute; inset: -22px; border-radius: 50%; border: 18px solid var(--bronze); border-right-color: transparent; opacity: .55; transform: rotate(-35deg); }
.emblem-wrap img { position: relative; width: 100%; filter: drop-shadow(0 25px 35px rgba(22,41,74,.3)); }

/* ---------- Chiffres / indicateurs ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.stat { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.stat .num { display: block; font: 600 clamp(2.6rem, 5vw, 3.6rem)/1 var(--font-title); color: var(--blue); margin-bottom: 10px; }
.stat .num small { font-size: .5em; color: var(--bronze-700); margin-left: 2px; }
.stat p { margin: 0; color: var(--muted); }
.stats-note { font-size: .88rem; color: var(--muted); margin-top: 16px; }
.dark-band { background: var(--blue-900); color: #dbe4f3; position: relative; overflow: hidden; }
.dark-band h2, .dark-band h3 { color: #fff; }
.dark-band .eyebrow { color: var(--bronze-200); }
.dark-band .section-head p, .dark-band .stats-note { color: #b9c6dc; }
.dark-band .stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.dark-band .stat .num { color: #fff; }
.dark-band .stat .num small { color: var(--bronze-200); }
.dark-band .stat p { color: #c9d4e6; }
.dark-band a:not(.btn) { color: var(--bronze-200); }
.dark-band::before { content: ""; position: absolute; width: 640px; height: 640px; left: -260px; bottom: -380px; border-radius: 50%; border: 70px solid var(--bronze); border-right-color: transparent; opacity: .16; transform: rotate(40deg); }
.dark-band .wrap { position: relative; }

/* ---------- Fiche « L'essentiel » (Qualiopi indicateur 1) ---------- */
.essentials { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); overflow: hidden; }
.essentials-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px clamp(20px, 3vw, 34px); background: var(--blue-900); color: #fff; }
.essentials-head h2 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0; }
.essentials-head .q { font-size: .85rem; color: var(--bronze-200); font-weight: 600; letter-spacing: .04em; }
.essentials dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.essentials .row { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 20px clamp(20px, 3vw, 34px); border-top: 1px solid var(--line); }
.essentials .row:nth-child(odd) { border-right: 1px solid var(--line); }
.essentials .row .icon { width: 44px; height: 44px; border-radius: 12px; margin: 0; grid-row: span 2; }
.essentials .row .icon svg { width: 22px; height: 22px; }
.essentials dt { font-weight: 650; color: var(--blue-900); }
.essentials dd { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.6; }
.essentials dd strong { color: var(--ink); }
@media (max-width: 760px) { .essentials dl { grid-template-columns: 1fr; } .essentials .row:nth-child(odd) { border-right: 0; } }

/* ---------- Étapes / frise ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
.steps.h { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .steps.h { grid-template-columns: 1fr; } }
.step { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px; position: relative; margin: 0; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font: 600 2.4rem/1 var(--font-title); color: var(--bronze); margin-bottom: 14px; }
.step h3 { font-size: 1.3rem; }
.step ul { margin-bottom: 0; color: var(--muted); }

.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--bronze), var(--blue)); opacity: .5; }
.timeline li { position: relative; padding: 0 0 26px 64px; margin: 0; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .dot { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--bronze); display: grid; place-items: center; font: 600 1rem/1 var(--font-title); color: var(--blue-900); }
.timeline h3 { font-size: 1.15rem; margin: 8px 0 4px; font-family: var(--font-body); font-weight: 650; }
.timeline p { color: var(--muted); margin: 0; }

/* Détails / FAQ */
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.accordion summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; color: var(--blue-900); position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--font-body); color: var(--bronze-700); }
.accordion details[open] summary::after { content: "–"; }
.accordion .body { padding: 0 22px 20px; color: var(--muted); }
.accordion .body > :last-child { margin-bottom: 0; }

/* Prix */
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-family: var(--font-title); color: var(--blue-900); }
.price b { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 600; }
.price span { font-family: var(--font-body); color: var(--muted); font-size: .95rem; }

/* Encadré info */
.note { display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; background: var(--blue-50); color: var(--blue-900); border: 1px solid #d6e1f2; }
.note svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; color: var(--blue); }
.note p:last-child { margin: 0; }
.note.gold { background: #f8f3e7; border-color: var(--bronze-200); color: #3d3420; }
.note.gold svg { color: var(--bronze-700); }

/* Documents téléchargeables */
.doc { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.doc:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--ink); }
.doc .icon { margin: 0; width: 46px; height: 46px; }
.doc b { display: block; color: var(--blue-900); }
.doc span { font-size: .88rem; color: var(--muted); }

/* Personne / référent */
.person { display: flex; gap: 18px; align-items: center; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-900)); color: #fff; display: grid; place-items: center; font: 600 1.4rem/1 var(--font-title); flex-shrink: 0; }

/* Qualiopi */
.qualiopi-card { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.qualiopi-card img { width: 100%; max-width: 460px; }
.qualiopi-meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 18px 0 0; font-size: .95rem; }
.qualiopi-meta dt { color: var(--muted); }
.qualiopi-meta dd { margin: 0; font-weight: 600; color: var(--ink); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--blue-700), var(--blue-900)); color: #e6ecf6; border-radius: calc(var(--radius) + 8px); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; border: 44px solid var(--bronze-200); border-left-color: transparent; opacity: .18; }
.cta h2 { color: #fff; margin-bottom: .35em; }
.cta p { margin: 0; color: #c9d4e6; font-size: 1.08rem; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Formulaire ---------- */
.form { display: grid; gap: 18px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .two { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; color: var(--blue-900); font-size: .96rem; }
.field .req { color: var(--danger); }
.field .hint { font-size: .85rem; color: var(--muted); margin: 4px 0 0; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #d9d1bf; border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316294a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(58,96,158,.15); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); margin: 0; padding: 10px 16px; border: 1.5px solid #d9d1bf; border-radius: 999px; background: #fff; cursor: pointer; }
.radios label:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.radios input { accent-color: var(--blue); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 18px; border-radius: 12px; font-weight: 500; }
.alert.ok { background: #e7f4ec; color: #1f5a3d; border: 1px solid #bfe0cc; }
.alert.err { background: #fbecea; color: #7d241c; border: 1px solid #efc6c1; }

/* ---------- Pied de page ---------- */
.site-footer { background: #101d36; color: #b9c6dc; font-size: .95rem; margin-top: 0; }
.site-footer a { color: #e6ecf6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1.1fr; gap: 40px; padding: 70px 0 50px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.site-footer h2 { font: 650 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-200); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 10px; }
.footer-brand .name { font: 600 1.3rem/1.25 var(--font-title); color: #fff; margin-bottom: 6px; }
.footer-brand .sign { color: var(--bronze-200); font-style: italic; font-family: var(--font-title); margin-bottom: 16px; }
.footer-brand address { font-style: normal; line-height: 1.7; }
.footer-quali { background: #fff; border-radius: 12px; padding: 12px; display: block; max-width: 300px; }
.footer-quali img { width: 100%; }
.legal-line { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 30px; font-size: .85rem; display: flex; gap: 10px 24px; flex-wrap: wrap; justify-content: space-between; color: #93a3bf; }

/* Pages légales */
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 650; margin-top: 1.6em; }
.legal p, .legal li { color: #39414f; }
.toc { position: sticky; top: 110px; }
.toc ol { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.toc a { display: block; padding: 6px 12px; border-left: 2px solid var(--line); text-decoration: none; color: var(--muted); }
.toc a:hover { border-color: var(--bronze); color: var(--blue-900); }
.with-aside { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } .toc { position: static; } }

/* Apparition douce */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Utilitaires */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.stack > * + * { margin-top: 16px; }

@media print {
  .topbar, .site-header, .nav, .cta, .burger, .site-footer .footer-quali { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .reveal { opacity: 1; transform: none; }
}

/* Photos */
figure.photo { margin: 0; }
.photo.portrait img { aspect-ratio: 4/5; }
.photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(22,41,74,.06); pointer-events: none; }
.page-hero.has-photo .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero.has-photo .photo { max-width: 520px; justify-self: end; width: 100%; transform: rotate(1.2deg); }
.page-hero.has-photo .photo.portrait { max-width: 400px; }
@media (max-width: 860px) { .page-hero.has-photo .wrap { grid-template-columns: 1fr; } .page-hero.has-photo .photo { justify-self: start; transform: none; } .page-hero.has-photo .photo.portrait { max-width: 100%; } .page-hero.has-photo .photo.portrait img { aspect-ratio: 4/3; } }
.photo-band { margin-bottom: clamp(28px, 4vw, 48px); }
.photo-band .photo img { aspect-ratio: 21/8; object-position: center 35%; }
@media (max-width: 640px) { .photo-band .photo img { aspect-ratio: 4/3; } }

@media (max-width: 640px) { .topbar .wrap > a { display: none; } .topbar { font-size: .78rem; } }
.page-hero .photo.reveal { opacity: 1; transform: rotate(1.2deg); }
@media (max-width: 860px) { .page-hero .photo.reveal { transform: none; } }

/* Légende sur photo (portrait de la dirigeante) */
.photo figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(255,255,255,.95); border-radius: 12px; padding: 12px 16px; line-height: 1.35; box-shadow: var(--shadow); }
.photo figcaption strong { display: block; font-family: var(--font-title); font-size: 1.1rem; color: var(--blue-900); }
.photo figcaption span { font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .page-hero.has-photo .photo.portrait img { aspect-ratio: 1/1; object-position: center 15%; } .photo figcaption { padding: 10px 14px; } }
/* Menu mobile : le backdrop-filter de l'en-tête deviendrait le repère du panneau fixe (menu tronqué) */
@media (max-width: 1020px) { .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } }
