/* ============ Edukall — feuille de style ============ */
:root {
  --navy: #1a1a33;
  --navy-2: #24244a;
  --coral: #ff6745;
  --coral-dark: #e8532f;
  --lavender: #a9a3d9;
  --lavender-dark: #8e87c9;
  --beige: #faf7f7;
  --text: #1a1a33;
  --muted: #5d5d78;
  --line: #e7e3ea;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 10px 30px rgba(26, 26, 51, .08);
  --header-h: 88px; /* ajustée en JS à la hauteur réelle de l'en-tête */
  --c-numerique: #3b5bdb;
  --c-esthetique: #d6336c;
  --c-finance: #2b8a3e;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], details, [id^="confidentialite"] { scroll-margin-top: 150px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: "Work Sans", sans-serif; font-weight: 400; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.35rem; font-weight: 500; }
p { margin: 0 0 1em; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.eyebrow { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; color: var(--coral); margin-bottom: 14px; }
.center { text-align: center; }
.section { padding: 110px 0; }
.section--beige { background: var(--beige); }
.section--navy { background: var(--navy); color: var(--white); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--navy .section-head p { color: #c9c9dd; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: .2s ease; font-family: inherit;
}
.btn--coral { background: var(--coral); color: var(--white); }
.btn--coral:hover { background: var(--coral-dark); transform: translateY(-2px); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-2); }
.btn--light { background: rgba(255,255,255,.35); color: var(--white); width: 100%; }
.btn--light:hover { background: rgba(255,255,255,.5); }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Barre d'annonce + header ---------- */
.topbar { background: var(--navy); color: var(--white); text-align: center; font-size: .82rem; padding: 8px 16px; }
.topbar a { font-weight: 700; text-decoration: underline; margin-left: 6px; }
.header { position: sticky; top: 0; z-index: 50; padding: 14px 0; transition: .3s; }
.header.is-scrolled { background: rgba(26,26,51,.92); backdrop-filter: blur(10px); }
.header--light:not(.is-scrolled) .logo { color: var(--navy); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--white); font-family: "Work Sans", sans-serif; font-size: 1.6rem; font-weight: 500; letter-spacing: -.02em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--coral); display: grid; place-items: center; }
.logo small { display: block; font-family: "Inter"; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-top: -4px; }
.nav { background: var(--white); border-radius: 999px; padding: 6px 6px 6px 22px; display: flex; align-items: center; gap: 4px; box-shadow: var(--shadow); }
.nav > a:not(.btn), .nav-drop > button { padding: 10px 14px; font-size: .9rem; font-weight: 500; color: var(--navy); border-radius: 999px; background: none; border: 0; cursor: pointer; font-family: inherit; display: flex; align-items: center; gap: 6px; }
.nav > a:not(.btn):hover, .nav-drop > button:hover, .nav a.is-active { background: var(--beige); }
.nav-drop { position: relative; }
.nav-drop svg { transition: .2s; }
.nav-drop:hover svg, .nav-drop:focus-within svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 10px);
  background: var(--white); border-radius: 20px; box-shadow: 0 20px 50px rgba(26,26,51,.18);
  padding: 26px; width: 720px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  opacity: 0; visibility: hidden; transition: .2s;
}
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-drop:hover .mega, .nav-drop:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega h4 { font-family: "Inter"; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 10px; }
.mega a { display: block; padding: 7px 0; font-size: .9rem; color: var(--muted); }
.mega a:hover { color: var(--coral); }
.burger { display: none; background: none; border: 0; color: var(--coral); cursor: pointer; padding: 6px; }
.header--light:not(.is-scrolled) .burger { color: var(--coral); }

/* Menu mobile */
.mobile-menu { position: fixed; inset: 0; background: var(--navy); color: var(--white); z-index: 100; padding: 24px 16px; transform: translateX(100%); transition: .3s; overflow-y: auto; }
.mobile-menu.is-open { transform: none; }
.mobile-menu .close { background: none; border: 0; color: var(--white); float: right; cursor: pointer; }
.mobile-menu nav { clear: both; padding-top: 30px; display: grid; gap: 4px; }
.mobile-menu nav a { font-family: "Work Sans"; font-size: 1.6rem; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu .btn { margin-top: 24px; width: 100%; }

/* ---------- Hero slider ---------- */
.hero { background: var(--navy); color: var(--white); margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h); position: relative; overflow: hidden; }
.slides { position: relative; min-height: 640px; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease; display: flex; align-items: center; }
.slide.is-active { opacity: 1; visibility: visible; position: relative; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slide-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,26,51,.35) 0%, rgba(26,26,51,.55) 45%, rgba(26,26,51,.92) 70%); }
.slide .container { position: relative; display: flex; justify-content: flex-end; padding: 80px 0 130px; }
.slide-frame { position: absolute; inset: 40px 0 110px 0; border: 1.5px solid var(--coral); border-radius: 36px; pointer-events: none; }
.slide-content { max-width: 520px; position: relative; }
.slide-content p { font-size: 1.05rem; font-weight: 500; color: #e6e6f2; margin-bottom: 28px; }
.slide.is-active .slide-content > * { animation: up .8s both; }
.slide.is-active .slide-content > *:nth-child(2) { animation-delay: .12s; }
.slide.is-active .slide-content > *:nth-child(3) { animation-delay: .24s; }
@keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.slider-ctrl { position: absolute; right: max(16px, calc((100% - 1240px) / 2 + 20px)); bottom: 150px; z-index: 3; display: flex; gap: 20px; }
.slider-ctrl button { background: none; border: 0; color: var(--white); cursor: pointer; opacity: .8; }
.slider-ctrl button:hover { opacity: 1; }
.trust { position: relative; z-index: 2; margin-top: -90px; padding-bottom: 36px; }
.trust p { font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 10px; font-family: "Work Sans"; font-size: 1.25rem; font-weight: 600; opacity: .9; }
.trust-item svg { color: var(--coral); }

/* ---------- Manifeste ---------- */
.manifesto { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.manifesto-sticky { position: sticky; top: 120px; }
.manifesto-block { padding: 34px 0; border-bottom: 1px solid var(--line); }
.manifesto-block:first-child { padding-top: 0; }
.manifesto-block h3 { font-family: "Work Sans"; font-size: 1.8rem; font-weight: 400; }
.manifesto-block p { color: var(--muted); }
.accent { color: var(--coral); }

/* ---------- Cartes parcours (catégories) ---------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.path-card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(26,26,51,.07); transition: transform .3s, box-shadow .3s; border-top: 4px solid var(--cat); }
.path-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(26,26,51,.14); }
.path-img { height: 210px; background-size: cover; background-position: center; position: relative; transition: .5s; }
.path-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,26,51,.05) 30%, rgba(26,26,51,.6)); }
.path-card:hover .path-img { filter: saturate(1.15); }
.path-icon { position: absolute; left: 22px; bottom: -26px; z-index: 1; width: 56px; height: 56px; border-radius: 16px; background: var(--cat); color: var(--white); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(26,26,51,.2); }
.path-count { position: absolute; right: 16px; top: 16px; z-index: 1; background: var(--white); color: var(--navy); font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.path-body { padding: 44px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.path-body h3 { font-family: "Work Sans"; font-size: 1.7rem; font-weight: 500; margin-bottom: 10px; }
.path-body p { color: var(--muted); font-size: .95rem; }
.path-list { list-style: none; padding: 0; margin: 4px 0 22px; border-top: 1px solid var(--line); }
.path-list li { padding: 9px 0 9px 22px; border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 500; position: relative; }
.path-list li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--cat); transform: translateY(-50%); }
.path-list li.more { color: var(--muted); font-weight: 400; }
.path-list li.more::before { background: var(--line); }
.path-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--cat); }
.path-card:hover .path-cta svg { transform: translateX(4px); }
.path-cta svg { transition: .2s; }

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 30px; }
.stat-num { font-family: "Work Sans"; font-size: 4.2rem; line-height: 1; color: var(--coral); display: flex; align-items: baseline; gap: 4px; margin-bottom: 14px; }
.stat-num small { font-size: 1.8rem; }
.stat h3 { font-size: 1.1rem; font-weight: 600; font-family: "Inter"; }
.stat p { color: var(--muted); font-size: .93rem; margin: 0; }
.section--navy .stat { border-color: rgba(255,255,255,.15); }
.section--navy .stat p { color: #c9c9dd; }

/* ---------- Témoignages (carrousel) ---------- */
.carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 20px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.review { flex: 0 0 340px; scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; }
.review .stars { color: #f5a524; letter-spacing: 2px; margin-bottom: 12px; }
.review p { color: var(--muted); font-size: .95rem; flex: 1; }
.review strong { display: block; }
.review small { color: var(--muted); }
.carousel-nav { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 20px; }
.round-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--navy); background: none; cursor: pointer; display: grid; place-items: center; color: var(--navy); transition: .2s; }
.round-btn:hover { background: var(--navy); color: var(--white); }
.ratings { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; margin-top: 40px; }
.rating { text-align: center; }
.rating b { font-family: "Work Sans"; font-size: 2rem; font-weight: 500; display: block; }
.rating span { color: var(--muted); font-size: .9rem; }

/* ---------- Cartes formation ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.f-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: .25s; }
.f-card:hover { box-shadow: 0 18px 40px rgba(26,26,51,.12); transform: translateY(-4px); }
.f-card-top { height: 170px; position: relative; background-size: cover; background-position: center; }
.f-card-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(26,26,51,.55)); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; background: var(--white); color: var(--navy); }
.f-card-top .tag { position: absolute; top: 14px; left: 14px; z-index: 1; }
.f-card-top .tag--cpf { left: auto; right: 14px; background: var(--coral); color: var(--white); }
.f-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.f-card-body h3 { font-size: 1.2rem; }
.f-card-body p { color: var(--muted); font-size: .92rem; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .84rem; color: var(--muted); margin: auto 0 18px; }
.meta span { display: flex; align-items: center; gap: 6px; }
.f-card-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; }
.price { font-family: "Work Sans"; font-size: 1.45rem; font-weight: 600; }
.price small { font-family: "Inter"; font-size: .75rem; font-weight: 400; color: var(--muted); }

/* ---------- Page header (pages internes) ---------- */
.page-hero { background: var(--navy); color: var(--white); margin-top: calc(-1 * var(--header-h)); padding: 170px 0 80px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -120px; border: 1.5px solid var(--coral); border-radius: 60px; transform: rotate(12deg); opacity: .6; }
.page-hero p { max-width: 640px; color: #d4d4e6; font-size: 1.1rem; }
.breadcrumb { font-size: .85rem; color: #aeb0c8; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Catalogue ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 36px; }
.chip { padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; font-weight: 500; font-family: inherit; font-size: .9rem; transition: .2s; }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.search { margin-left: auto; position: relative; }
.search input { padding: 11px 18px 11px 42px; border-radius: 999px; border: 1.5px solid var(--line); font-family: inherit; font-size: .9rem; width: 260px; }
.search input:focus { outline: none; border-color: var(--coral); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* ---------- Fiche formation ---------- */
.f-hero { background: var(--navy); color: var(--white); margin-top: calc(-1 * var(--header-h)); padding: 150px 0 70px; }
.f-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.f-hero-img { border-radius: 28px; aspect-ratio: 4/3; background-size: cover; background-position: center; position: relative; }
.f-hero-img::after { content: ""; position: absolute; inset: 30px -30px -30px 30px; border: 1.5px solid var(--coral); border-radius: 28px; z-index: -1; }
.f-hero-img-wrap { position: relative; z-index: 0; }
.f-hero .durations { display: flex; gap: 24px; margin: 6px 0 20px; font-weight: 600; flex-wrap: wrap; }
.f-hero .durations span { color: var(--coral); }
.f-hero p.lead { color: #d4d4e6; font-size: 1.08rem; }
.quicknav { position: sticky; top: var(--header-h); z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.quicknav .container { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; align-items: center; scrollbar-width: none; }
.quicknav a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--muted); }
.quicknav a:hover { background: var(--beige); color: var(--navy); }
.quicknav .btn { margin-left: auto; }
.intro { font-family: "Work Sans", sans-serif; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.5; max-width: 900px; margin: 0 0 60px; padding-left: 24px; border-left: 3px solid var(--coral); }
.keyinfo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.keyinfo-item { background: var(--beige); border-radius: 20px; padding: 24px; }
.keyinfo-item b { display: block; font-family: "Work Sans"; font-size: 1.35rem; font-weight: 500; }
.keyinfo-item span { color: var(--muted); font-size: .9rem; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.info-box { border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.info-box h3 { font-size: 1.15rem; font-weight: 600; font-family: "Inter"; display: flex; align-items: center; gap: 10px; }
.info-box ul { margin: 0; padding-left: 20px; color: var(--muted); }
.info-box li { margin-bottom: 6px; }
.info-box p { color: var(--muted); margin: 0; }
.sprints { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.sprint { background: var(--white); border-radius: 20px; padding: 28px; border-top: 4px solid var(--coral); }
.sprint small { color: var(--coral); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; }
.sprint h3 { margin-top: 8px; }
.sprint ul { list-style: none; padding: 0; margin: 0; }
.sprint li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .93rem; color: var(--muted); }
.sprint li:last-child { border: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding-top: 70px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--coral); color: var(--white); display: grid; place-items: center; font-family: "Work Sans"; font-size: 1.4rem; }
.step::after { content: ""; position: absolute; top: 26px; left: 64px; right: 10px; border-top: 1.5px dashed var(--lavender); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.1rem; font-weight: 600; font-family: "Inter"; }
.step p { color: var(--muted); font-size: .93rem; }
.buybox { background: var(--navy); color: var(--white); border-radius: 28px; padding: 44px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.buybox .price { font-size: 3rem; font-weight: 400; }
.buybox ul { list-style: none; padding: 0; margin: 0 0 24px; }
.buybox li { padding: 6px 0 6px 28px; position: relative; color: #d4d4e6; }
.buybox li::before { content: "✓"; position: absolute; left: 0; color: var(--coral); font-weight: 700; }
.buybox .btn { width: 100%; margin-bottom: 12px; }
.buybox small { color: #aeb0c8; display: block; text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; color: var(--coral); transition: .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.post { border-radius: 20px; overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: .25s; display: flex; flex-direction: column; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-img { aspect-ratio: 16/10; background-size: cover; background-position: center; }
.post-body { padding: 22px; }
.post-body small { color: var(--muted); }
.post-body h3 { font-size: 1.15rem; margin: 8px 0; }
.post-body p { color: var(--muted); font-size: .92rem; margin: 0; }
.article { max-width: 760px; margin: 0 auto; font-size: 1.08rem; }
.article h2 { font-size: 1.8rem; margin-top: 1.6em; }
.article p, .article li { color: #3d3d58; }
.article-cover { border-radius: 24px; aspect-ratio: 16/8; background-size: cover; background-position: center; margin-bottom: 40px; }

/* ---------- CTA ---------- */
.cta { background: var(--coral); color: var(--white); border-radius: 32px; padding: 64px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 300px; height: 300px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 50px; right: -80px; bottom: -120px; transform: rotate(18deg); }
.cta h2 { margin: 0; max-width: 620px; }
.cta .btn--dark { position: relative; }

/* ---------- Qualité / contenu texte ---------- */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { font-size: 1.9rem; margin-top: 1.5em; }
.prose p, .prose li { color: #3d3d58; }
.table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.table th, .table td { text-align: left; padding: 14px; border-bottom: 1px solid var(--line); }
.table th { background: var(--beige); font-weight: 600; }

/* ---------- Formulaires ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
input, select, textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); font-family: inherit; font-size: .95rem; background: var(--white); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--coral); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; }
.contact-card { background: var(--beige); border-radius: 24px; padding: 34px; }
.contact-card p { display: flex; gap: 12px; align-items: flex-start; }
.contact-card svg { color: var(--coral); flex-shrink: 0; margin-top: 3px; }
.notice { padding: 16px 20px; border-radius: 14px; background: #e9f7ee; color: #1e6b34; margin-top: 16px; display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #c9c9dd; padding: 80px 0 30px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; margin-bottom: 50px; }
.footer h4 { color: var(--white); font-family: "Inter"; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 18px; }
.footer a { display: block; padding: 5px 0; }
.footer a:hover { color: var(--coral); }
.footer .logo { margin-bottom: 18px; }
.qualiopi-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--white); color: var(--navy); border-radius: 14px; padding: 10px 16px; margin-top: 10px; font-weight: 700; font-size: .85rem; }
.qualiopi-badge small { display: block; font-weight: 400; font-size: .72rem; color: var(--muted); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Animations au scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { animation: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .header-cta { display: none; }
}
@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .manifesto, .f-hero-grid, .contact-grid, .buybox { grid-template-columns: 1fr; gap: 40px; }
  .manifesto-sticky { position: static; }
  .paths, .stats, .grid-cards { grid-template-columns: 1fr 1fr; }
  .keyinfo, .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .slide .container { justify-content: flex-start; }
  .slide-bg::after { background: linear-gradient(180deg, rgba(26,26,51,.4), rgba(26,26,51,.9) 60%); }
  .f-hero-img::after { display: none; }
}
@media (max-width: 640px) {
  .paths, .stats, .grid-cards, .keyinfo, .steps, .info-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .slides { min-height: 620px; }
  .slide-frame { inset: 20px 0 100px 0; border-radius: 24px; }
  .slide .container { padding: 60px 20px 150px; }
  .slider-ctrl { bottom: 120px; }
  .search { margin-left: 0; width: 100%; }
  .search input { width: 100%; }
  .cta, .buybox { padding: 36px 24px; }
  .review { flex-basis: 85%; }
  .stat-num { font-size: 3.4rem; }
}

.flag { display: inline-block; vertical-align: -2px; }

/* ---------- Certifications RS ---------- */
.official { color: #aeb0c8; font-size: .92rem; margin-top: -6px; }
.rs-banner { display: flex; gap: 16px; align-items: flex-start; background: #eef1fd; border: 1px solid #d5dcf7; border-radius: 20px; padding: 22px 26px; margin-bottom: 60px; }
.rs-banner svg { color: var(--c-numerique); flex-shrink: 0; margin-top: 2px; }
.rs-banner p { margin: 0; color: #2b2f55; }
.for-you { margin-bottom: 70px; }
.for-you ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.for-you li { display: flex; gap: 12px; align-items: flex-start; background: var(--beige); border-radius: 16px; padding: 18px 20px; font-weight: 500; }
.for-you li svg { color: var(--coral); flex-shrink: 0; }
.next-step { margin-top: 40px; background: var(--white); border-radius: 20px; padding: 24px 28px; }
.next-step p { margin: 0; }
.next-step a { color: var(--coral); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.compare { min-width: 680px; }
.compare thead th { vertical-align: bottom; }
.compare th small { display: block; font-weight: 400; color: var(--muted); }
.compare .is-current { background: #fff1ed; }
.compare thead th.is-current { background: var(--coral); }
.compare thead th.is-current a, .compare thead th.is-current small { color: var(--white); }

/* ---------- Esthétique ---------- */
.prereq-top { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 14px; padding: 12px 16px; font-size: .92rem; color: #e6e6f2; }
.prereq-top a { color: var(--coral); font-weight: 600; }
.rs-banner--warn { background: #fff6e5; border-color: #f5d9a3; }
.rs-banner--warn svg { color: #c77700; }
.rs-banner--warn p { margin: 0 0 6px; }
.rs-banner--warn p:last-child { margin: 0; }
.steps--long { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
@media (max-width: 960px) { .steps--long { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .steps--long { grid-template-columns: 1fr; } }

/* ---------- Avis ---------- */
.review { position: relative; }
.review-demo { position: absolute; top: 14px; right: 14px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #9a6b00; background: #fff4d6; padding: 3px 8px; border-radius: 999px; }

/* ---------- Contact en bas de l'accueil ---------- */
.home-contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: start; }
.home-contact .lead-text { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 960px) { .home-contact { grid-template-columns: 1fr; } }

/* ---------- Mentions d'exemple ---------- */
.stats-demo { display: inline-block; margin: 10px auto 0; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #9a6b00; background: #fff4d6; padding: 4px 10px; border-radius: 999px; }

/* ---------- Page Financement ---------- */
.fin-reassure { background: var(--white); border-bottom: 1px solid var(--line); }
.fin-reassure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; }
.fin-reassure-grid b { display: block; font-family: "Work Sans"; font-size: 2.2rem; font-weight: 500; color: var(--coral); line-height: 1.1; }
.fin-reassure-grid span { color: var(--muted); font-size: .9rem; }
.profile-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 36px; }
.profile-btn { display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px 20px; border-radius: 18px; border: 2px solid var(--line); background: var(--white); font: 600 .98rem "Inter", sans-serif; color: var(--navy); cursor: pointer; transition: .2s; }
.profile-btn svg { color: var(--coral); flex-shrink: 0; }
.profile-btn:hover { border-color: var(--navy); }
.profile-btn[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: 0 12px 30px rgba(26,26,51,.2); }
.profile-advice { display: flex; gap: 14px; align-items: flex-start; background: #fff1ed; border-radius: 18px; padding: 20px 24px; margin-bottom: 24px; }
.profile-advice svg { color: var(--coral); flex-shrink: 0; }
.profile-advice p { margin: 0; }
.fin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; margin-bottom: 30px; }
.fin-card { border: 1px solid var(--line); border-radius: 22px; padding: 26px; background: var(--white); }
.fin-card:first-child { border: 2px solid var(--coral); }
.fin-card-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.fin-card-head svg { color: var(--coral); }
.fin-card-head h3 { margin: 0; }
.fin-rank { align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: var(--beige); }
.fin-card:first-child .fin-rank { background: var(--coral); color: var(--white); }
.fin-card dl { margin: 0 0 16px; }
.fin-card dt { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-top: 10px; }
.fin-card dd { margin: 2px 0 0; font-size: .93rem; }
.fin-card h4 { font-size: .9rem; margin: 0 0 8px; }
.fin-card ol { margin: 0; padding-left: 20px; font-size: .9rem; color: var(--muted); }
.fin-card ol li { margin-bottom: 4px; }
.fin-note { font-size: .82rem; color: #9a6b00; background: #fff6e5; border-radius: 10px; padding: 10px 12px; margin: 14px 0 0; }
.cpf-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cpf-steps li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 26px; }
.cpf-steps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--coral); font-family: "Work Sans"; font-size: 1.2rem; margin-bottom: 14px; }
.cpf-steps h3 { font-size: 1.1rem; }
.cpf-steps p { color: #c9c9dd; font-size: .92rem; margin: 0; }
.cpf-note { text-align: center; color: #c9c9dd; font-size: .9rem; margin-top: 26px; }
.fin-table { background: var(--white); border-radius: 18px; overflow: hidden; min-width: 760px; }
.fin-table tbody th { background: var(--white); }

/* ---------- Page Qualité ---------- */
.q-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }
.q-cert { background: var(--white); color: var(--navy); border-radius: 26px; padding: 30px; position: relative; z-index: 1; }
.q-cert-badge { width: 64px; height: 64px; border-radius: 18px; background: var(--coral); color: var(--white); display: grid; place-items: center; margin-bottom: 16px; }
.q-cert p { color: var(--muted); font-size: .92rem; margin-bottom: 10px; }
.q-cert-todo { border: 1.5px dashed var(--line); border-radius: 12px; padding: 12px; font-size: .8rem !important; }
.q-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; text-align: center; }
.q-kpis div { background: var(--beige); border-radius: 20px; padding: 26px 16px; }
.q-kpis b { display: block; font-family: "Work Sans"; font-size: 2.6rem; font-weight: 500; color: var(--coral); }
.q-kpis span { color: var(--muted); font-size: .9rem; }
.q-kpis .stats-demo { grid-column: 1 / -1; justify-self: center; }
.q-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.q-table { min-width: 640px; }
.q-bar { display: flex; align-items: center; gap: 10px; min-width: 140px; }
.q-bar i { display: block; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--coral), #ff9b7f); }
.q-bar span { font-weight: 600; font-size: .88rem; white-space: nowrap; }
.q-foot { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.q-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.q-phase { background: var(--white); border-radius: 22px; padding: 28px; }
.q-phase-tag { display: inline-block; background: var(--navy); color: var(--white); font-weight: 700; font-size: .8rem; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }
.q-phase ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: .93rem; }
.q-phase li { margin-bottom: 6px; }
.q-engagements { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.q-engagements article { border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.q-engagements span { font-family: "Work Sans"; font-size: 2rem; color: var(--coral); }
.q-engagements p { color: var(--muted); font-size: .93rem; margin: 0; }
.q-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.q-card { background: var(--white); border-radius: 26px; padding: 34px; }
.q-card h2 { font-size: 1.8rem; }
.q-card > p { color: var(--muted); }
.q-checks { list-style: none; padding: 0; margin: 0 0 20px; }
.q-checks li { padding: 8px 0 8px 28px; position: relative; border-bottom: 1px solid var(--line); }
.q-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--coral); font-weight: 700; }
.q-contact { background: var(--beige); border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; }
.q-steps { list-style: none; padding: 0; margin: 0 0 16px; counter-reset: q; }
.q-steps li { counter-increment: q; position: relative; padding: 10px 0 10px 50px; }
.q-steps li::before { content: counter(q); position: absolute; left: 0; top: 10px; width: 34px; height: 34px; border-radius: 50%; background: var(--coral); color: var(--white); display: grid; place-items: center; font-weight: 700; }
.q-steps b { display: block; }
.q-steps span { color: var(--muted); font-size: .9rem; }
@media (max-width: 960px) {
  .fin-reassure-grid, .q-kpis { grid-template-columns: 1fr 1fr; }
  .profile-picker { grid-template-columns: 1fr 1fr; }
  .cpf-steps { grid-template-columns: 1fr 1fr; }
  .q-hero, .q-timeline, .q-duo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .profile-picker, .cpf-steps { grid-template-columns: 1fr; } }

/* ---------- Avis (accueil) ---------- */
.rv-layout { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: start; }
.rv-summary { background: var(--navy); color: var(--white); border-radius: 26px; padding: 32px; position: sticky; top: 110px; }
.rv-score { font-family: "Work Sans"; font-size: 4.2rem; line-height: 1; }
.rv-score small { font-size: 1.6rem; color: #aeb0c8; }
.rv-stars { color: #f5b82e; font-size: 1.4rem; letter-spacing: 3px; margin: 8px 0; }
.rv-summary > p { color: #c9c9dd; font-size: .92rem; }
.rv-dist { list-style: none; padding: 0; margin: 18px 0; }
.rv-dist li { display: grid; grid-template-columns: 34px 1fr 24px; gap: 10px; align-items: center; font-size: .85rem; margin-bottom: 6px; }
.rv-dist i { height: 6px; background: rgba(255,255,255,.12); border-radius: 999px; overflow: hidden; }
.rv-dist b { display: block; height: 100%; background: #f5b82e; border-radius: 999px; }
.rv-dist em { font-style: normal; color: #aeb0c8; text-align: right; }
.rv-poles { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid rgba(255,255,255,.12); }
.rv-poles li { display: flex; align-items: center; gap: 10px; font-size: .9rem; padding: 5px 0; }
.rv-poles li span { width: 10px; height: 10px; border-radius: 50%; }
.rv-poles li b { margin-left: auto; }
.rv-main { min-width: 0; }
.rv-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.rv-toolbar .carousel-nav { margin: 0; }
.rv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-card { flex: 0 0 330px; scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; position: relative; transition: .25s; }
.rv-card:hover { box-shadow: 0 16px 40px rgba(26,26,51,.1); transform: translateY(-3px); }
.rv-quote { color: var(--c); opacity: .18; position: absolute; top: 18px; right: 18px; }
.rv-card .stars { color: #f5b82e; letter-spacing: 2px; margin-bottom: 12px; }
.rv-card .stars span { color: var(--line); }
.rv-card p { color: #3d3d58; font-size: .98rem; flex: 1; }
.rv-formation { align-self: flex-start; font-size: .75rem; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 10%, white); padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; }
.rv-card footer { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.rv-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--c); color: var(--white); display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.rv-card footer strong { display: block; }
.rv-card footer small { color: var(--muted); }
.rv-summary .stats-demo { margin-top: 14px; }

/* ---------- Blog (accueil) ---------- */
.posts-track .post { flex: 0 0 320px; scroll-snap-align: start; }
#posts .carousel-nav { margin-bottom: 18px; }
@media (max-width: 960px) {
  .rv-layout { grid-template-columns: 1fr; }
  .rv-summary { position: static; }
}
@media (max-width: 640px) { .rv-card, .posts-track .post { flex-basis: 85%; } }

/* ---------- Logo Edukall ---------- */
.logo-img { display: block; height: 44px; width: auto; }
.footer .logo-img { height: 56px; }
.header--light:not(.is-scrolled) .logo-img { filter: brightness(0) saturate(100%) invert(9%) sepia(30%) saturate(2000%) hue-rotate(220deg); }
@media (max-width: 640px) { .logo-img { height: 36px; } }

/* ---------- Finitions ---------- */
.flag { margin-right: 5px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .chip:focus-visible, .round-btn:focus-visible { outline-offset: 4px; }
img { height: auto; }

/* ---------- Fiche programme (Qualiopi) ---------- */
.fiche { margin-top: 50px; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: var(--white); }
.fiche-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding: 32px 36px; background: var(--beige); border-bottom: 1px solid var(--line); }
.fiche-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.fiche-head .eyebrow { margin-bottom: 6px; }
.fiche-list { margin: 0; }
.fiche-row { display: grid; grid-template-columns: 280px 1fr; gap: 30px; padding: 28px 36px; border-bottom: 1px solid var(--line); }
.fiche-row:last-child { border-bottom: 0; }
.fiche-row dt { font-family: "Work Sans"; font-size: 1.2rem; font-weight: 600; display: flex; gap: 14px; align-items: flex-start; line-height: 1.3; }
.fiche-row dt span { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: var(--coral); color: var(--white); display: grid; place-items: center; font-size: .95rem; }
.fiche-row dd { margin: 0; color: #3d3d58; }
.fiche-row dd p { margin: 0 0 10px; }
.fiche-row dd p:last-child { margin-bottom: 0; }
.fiche-row dd ul { margin: 0 0 12px; padding-left: 20px; }
.fiche-row dd li { margin-bottom: 6px; }
.fiche-row dd a { color: var(--coral); font-weight: 600; }
.fiche-sub { font-weight: 600; color: var(--text); }
.fiche-steps { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.fiche-steps li { display: grid; grid-template-columns: 90px 1fr; gap: 14px; background: var(--beige); border-radius: 14px; padding: 12px 16px; margin: 0 !important; }
.fiche-steps b { color: var(--coral); }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 16px; }
.person { display: flex; gap: 14px; align-items: flex-start; background: var(--beige); border-radius: 16px; padding: 16px; }
.person strong { display: block; }
.person small { display: block; color: var(--muted); margin-bottom: 4px; }
.person p { margin: 0 !important; font-size: .88rem; color: var(--muted); }
.avatar-i { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.person--contact .avatar-i { background: var(--coral); }
.fiche-foot { margin: 0; padding: 16px 36px; font-size: .82rem; color: var(--muted); background: var(--beige); border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .fiche-row { grid-template-columns: 1fr; gap: 14px; padding: 24px 20px; }
  .fiche-head, .fiche-foot { padding-left: 20px; padding-right: 20px; }
  .fiche-steps li { grid-template-columns: 1fr; gap: 2px; }
}

/* Impression : seule la fiche programme est imprimée */
@media print {
  .topbar, .header, .mobile-menu, .quicknav, .footer, .fiche-print, .f-hero .btn-row, .f-hero-img-wrap, .intro, .for-you, .rs-banner, .keyinfo, #infos > .container > h2, .info-grid,
  #chiffres, #inscription, #temoignages, #faq, #comparatif, main > section:last-child { display: none !important; }
  body { background: #fff; }
  .f-hero { background: #fff !important; color: var(--navy) !important; margin: 0 !important; padding: 0 0 10px !important; }
  .f-hero-grid { display: block; }
  .f-hero .breadcrumb, .f-hero .lead { color: var(--muted) !important; }
  .section { padding: 10px 0 !important; }
  #programme { background: #fff !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .fiche { border: 0; margin: 0; }
  .fiche-row { break-inside: avoid; padding: 14px 0; grid-template-columns: 200px 1fr; }
  .sprint { break-inside: avoid; border: 1px solid var(--line); }
  a { color: inherit !important; }
}

/* ---------- Haut de fiche formation : informations clés + « Pourquoi » ---------- */
#infos { padding-top: 50px; }
.keyinfo--top { margin-bottom: 70px; }
.keyinfo--top .keyinfo-item { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(26, 26, 51, .05); }
.keyinfo--top .keyinfo-item b { font-size: 1.15rem; }
.ki-ico { width: 44px; height: 44px; border-radius: 14px; background: #fff1ed; color: var(--coral); display: grid; place-items: center; flex-shrink: 0; }
.why { display: grid; grid-template-columns: 1.25fr .75fr; gap: 50px; align-items: start; margin-bottom: 50px; }
.why-text h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 26px; }
.why-pains { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.why-pains li { position: relative; padding: 14px 18px 14px 50px; background: var(--beige); border-radius: 14px; color: #3d3d58; font-size: 1.02rem; }
.why-pains li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid var(--muted); opacity: .45; }
.why-answer { position: relative; padding: 22px 24px 22px 26px; border-radius: 18px; background: var(--navy); color: var(--white); }
.why-answer::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--coral); }
.why-answer b { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--coral); margin-bottom: 6px; }
.why-answer p { margin: 0; font-size: 1.08rem; line-height: 1.55; }
.why-card { position: sticky; top: 150px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: 0 16px 40px rgba(26, 26, 51, .07); }
.why-card h3 { font-size: 1.2rem; margin-bottom: 16px; }
.why-card ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.why-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.why-card li svg { color: var(--coral); flex-shrink: 0; margin-top: 1px; }
.why-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--coral); font-size: .92rem; }
.fiche { margin-top: 30px; }
@media (max-width: 960px) {
  .why { grid-template-columns: 1fr; gap: 30px; }
  .why-card { position: static; }
}
@media print { .why, .keyinfo--top { display: none !important; } }

/* ---------- Hero : toutes les diapositives à la même hauteur, bandeau financement toujours en surimpression ---------- */
.hero { position: relative; }
.slides { min-height: 0; height: var(--slides-h, 720px); }
.slide, .slide.is-active { position: absolute; inset: 0; align-items: flex-start; }
.slide .container { padding: 70px 0 calc(var(--trust-h, 130px) + 60px); }
.slide-frame { inset: 30px 0 calc(var(--trust-h, 130px) + 24px) 0; }
.slider-ctrl { bottom: calc(var(--trust-h, 130px) + 40px); }
.trust { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 60px 0 28px; background: linear-gradient(180deg, rgba(26, 26, 51, 0), rgba(26, 26, 51, .78) 40%, rgba(26, 26, 51, .94)); }
@media (max-width: 640px) {
  .slide .container { padding: 50px 20px calc(var(--trust-h, 200px) + 80px); }
  .slide-frame { inset: 16px 0 calc(var(--trust-h, 200px) + 16px) 0; }
  .slider-ctrl { bottom: calc(var(--trust-h, 200px) + 24px); }
  .trust { padding-top: 40px; }
  .trust-item { font-size: 1rem; }
}
