/* Pages formations (hub, développeurs, product). Système repris de home.html. */
:root {
  --ground: #FBF7FA;
  --white: #FFFFFF;
  --lilac: #F4ECF2;
  --plum: #3F0434;
  --plum-950: #24021E;
  --plum-800: #4E0E43;
  --plum-600: #6E3F66;
  --plum-300: #C9A9C3;
  --plum-200: #E8D5E4;
  --line: #EADCE6;
  --orange: #F16B52;
  --orange-hover: #F47D67;
  --orange-ink: #B4432C;
  --orange-wash: #FDEDE8;
  --bone: #F5EFF4;
  --font: 'Gabarito', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --gutter: clamp(16px, 3.6vw, 56px);
  --max: 1280px;
  --section: clamp(72px, 11vh, 128px);
}
* { box-sizing: border-box; }
html { background: var(--ground); scrollbar-color: var(--plum-200) var(--ground); scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--plum); font-family: var(--font); -webkit-font-smoothing: antialiased; }
::selection { background: var(--orange); color: var(--plum-950); }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
img { display: block; }
p, li, dd { text-wrap: pretty; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
q { quotes: "«\00a0" "\00a0»"; }

/* ── Type ─────────────────────────────── */
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(42px, 5.6vw, 88px); line-height: 1; letter-spacing: -0.035em; }
h1 > span { display: block; }
.mark { background-image: linear-gradient(var(--orange), var(--orange)); background-repeat: no-repeat; background-position: 0 88%; background-size: 100% 42%; padding: 0 .06em; margin: 0 -.06em; }
@media (prefers-reduced-motion: no-preference) {
  .mark { animation: mark .9s .4s cubic-bezier(.22, 1, .36, 1) both; }
  @keyframes mark { from { background-size: 0% 42%; } }
}
.h2 { font-weight: 800; font-size: clamp(32px, 3.8vw, 56px); line-height: 1.04; letter-spacing: -0.035em; max-width: 18em; }
.intro { margin: 20px 0 0; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--plum-600); max-width: 40em; }
.intro strong { color: var(--plum); font-weight: 700; }

/* ── Buttons ──────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font: 700 17px/1.15 var(--font); padding: 18px 26px; border-radius: 999px; border: 0; cursor: pointer; text-align: center; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.btn-primary { background: var(--orange); color: var(--plum-950); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-primary svg { flex-shrink: 0; transition: transform .2s ease; }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { color: var(--plum); box-shadow: 0 0 0 1.5px var(--plum) inset; background: transparent; }
.btn-ghost:hover { background: var(--plum); color: var(--ground); }
.btn-sm { font-size: 15px; padding: 14px 20px; min-height: 46px; }
.cta { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
/* Mention sous le seul CTA principal : plus petite, calée sur la largeur du bouton */
.cta-main { display: grid; gap: 8px; width: max-content; }
.cta-main .micro { width: 0; min-width: 100%; font-size: 12.5px; text-align: center; }
.micro { font-size: 14px; line-height: 1.4; color: var(--plum-600); }
.text-link { font-weight: 600; color: var(--plum); text-decoration: underline; text-decoration-color: var(--plum-300); transition: text-decoration-color .2s; }
.text-link:hover { text-decoration-color: var(--orange); }

/* ── Header ───────────────────────────── */
.top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.logo { display: inline-block; padding: 9px 0; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 30px; letter-spacing: -0.8px; text-decoration: none; color: var(--plum); line-height: 1; }
.logo b { color: var(--orange); font-weight: 600; }
.top-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); margin: 0; padding: 0; list-style: none; }
.top-link { display: inline-block; white-space: nowrap; font-weight: 600; font-size: 15px; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.top-link:hover, .top-link[aria-current="page"] { border-bottom-color: var(--orange); }
.top-cta { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; font-weight: 600; font-size: 15px; text-decoration: none; padding: 0 18px; border-radius: 999px; background: var(--plum); color: var(--ground); transition: background .2s; }
.top-cta:hover { background: var(--plum-800); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--plum); cursor: pointer; place-items: center; transition: background .2s; }
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { background: var(--lilac); }
@media (max-width: 1080px) {
  .top-nav { gap: 6px; }
  .nav-toggle { display: grid; order: 2; }
  .nav-links { display: none; position: absolute; z-index: 20; top: 100%; left: var(--gutter); right: var(--gutter); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px; background: var(--white); border-radius: 18px; box-shadow: 0 1px 0 var(--line), 0 24px 48px -24px rgba(36, 2, 30, .35); }
  .nav-links.is-open { display: flex; }
  .nav-links li + li { border-top: 1px solid var(--line); }
  .nav-links .top-link { display: block; padding: 15px 0; border-bottom: 0; font-size: 17px; }
}
@media (max-width: 420px) {
  .top .logo { font-size: 26px; }
  .top-cta { font-size: 14px; padding: 0 14px; }
  .top-nav { gap: 2px; }
}

/* Fil d'Ariane */
.crumbs { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--plum-600); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--plum-300); }
.crumbs a { display: inline-block; padding: 12px 0; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ── Hero ─────────────────────────────── */
.hero { padding-top: clamp(4px, 1.5vh, 24px); }
.hero h1 { margin-top: clamp(8px, 2vh, 20px); }
.hero-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(28px, 4.5vh, 48px) 0 clamp(40px, 6vh, 64px); }
.lead { margin: 0; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.42; font-weight: 500; color: var(--plum-950); max-width: 30em; }
.lead strong { font-weight: 700; }
.actions { display: flex; align-items: flex-start; gap: 14px 24px; flex-wrap: wrap; margin-top: clamp(24px, 3.6vh, 34px); }
.trainer-line { display: flex; align-items: center; gap: 14px; margin-top: clamp(26px, 4vh, 36px); }
.trainer-line img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.faces { display: flex; flex-shrink: 0; }
.faces img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 3px solid var(--ground); }
.faces img + img { margin-left: -12px; }
.trainer-line p { margin: 0; font-size: 15.5px; line-height: 1.45; color: var(--plum-600); max-width: 34em; }
.trainer-line strong { color: var(--plum); font-weight: 600; }


/* ── Preuves rapides ──────────────────── */
.clients { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients .wrap { display: flex; align-items: center; gap: 20px clamp(20px, 4vw, 56px); flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; }
.clients .label { font-size: 14px; font-weight: 600; color: var(--plum-600); }
.clients ul { display: flex; align-items: center; gap: 22px clamp(22px, 3.4vw, 48px); margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.lg { display: block; height: 26px; background: var(--plum); opacity: .85; -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; transition: opacity .2s ease; }
.lg:hover { opacity: 1; }
.score { margin: 0 0 0 auto; display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: var(--plum-600); }
.score b { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: var(--plum); }
@media (max-width: 1080px) { .score { margin-left: 0; } }

/* ── Sections ─────────────────────────── */
section.block { padding: var(--section) 0; }
.bg-white { background: var(--white); }
.bg-lilac { background: var(--lilac); }

/* Constat chiffré (NBER) */
.finding { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 80px); align-items: center; }
.finding .intro + .intro { margin-top: 14px; }
.bars { margin: 0; background: var(--ground); border-radius: 20px; padding: clamp(24px, 3vw, 36px); }
.bars.on-ground { background: var(--white); }
.bars-title { margin: 0 0 20px; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.bars-row + .bars-row { margin-top: 22px; }
.bars-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 16px; font-weight: 600; }
.bars-head b { font-size: clamp(28px, 2.6vw, 38px); font-weight: 800; letter-spacing: -0.03em; }
.bars-row:first-of-type .bars-head b { color: var(--orange-ink); }
.bar { height: 16px; margin-top: 10px; border-radius: 6px; background: var(--lilac); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: var(--plum); }
.bars-row:first-of-type .bar i { background: var(--orange); }
.bars figcaption { margin-top: 22px; font-size: 13.5px; line-height: 1.5; color: var(--plum-600); }
.bars figcaption a { color: var(--plum); font-weight: 600; }

/* Modules : carrousel de cartes, puis liste dépliable de tous les modules */
.module { display: flex; flex-direction: column; border-radius: 22px; background: var(--white); box-shadow: 0 0 0 2px var(--plum) inset; overflow: hidden; }
.module-body { padding: clamp(24px, 2.6vw, 32px); flex: 1; }
.module-num { font-size: 14px; font-weight: 700; color: var(--orange-ink); }
.module h3 { margin-top: 10px; font-size: clamp(24px, 2.1vw, 30px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.module p { margin: 12px 0 0; font-size: 16.5px; line-height: 1.55; color: var(--plum-600); }
.keeps { margin: 0; padding: 18px clamp(24px, 2.6vw, 32px) 22px; background: var(--orange-wash); font-size: 16.5px; line-height: 1.45; color: var(--plum-950); }
.keeps span { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; color: var(--orange-ink); }
.mods-more { margin-top: clamp(40px, 6vh, 56px); }
.mods-more h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 800; letter-spacing: -0.02em; }
.mod-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); margin-top: 16px; }
.mod-list details { border-top: 1px solid var(--plum-200); }
.mod-list details:nth-last-child(-n+2) { border-bottom: 1px solid var(--plum-200); }
.mod-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 30px minmax(0, 1fr) 34px; gap: 4px 12px; align-items: center; padding: 18px 0; }
.mod-list summary::-webkit-details-marker { display: none; }
.mod-list summary .n { grid-row: span 2; align-self: start; padding-top: 2px; font-weight: 700; color: var(--orange-ink); }
.mod-list summary b { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.mod-list summary small { grid-column: 2; font-size: 15px; line-height: 1.4; color: var(--plum-600); }
.mod-list summary::after { content: ""; grid-column: 3; grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%233F0434' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; box-shadow: 0 0 0 1px var(--plum-200) inset; transition: transform .3s cubic-bezier(.22,1,.36,1), background-color .2s; }
.mod-list summary:hover::after { background-color: var(--lilac); }
.mod-list details[open] summary::after { transform: rotate(45deg); }
.mod-list details p { margin: -4px 0 0; padding: 0 46px 20px 42px; font-size: 16px; line-height: 1.55; color: var(--plum-600); }

/* Contrastes */
.contrasts { list-style: none; margin: clamp(40px, 6vh, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 56px); }
.contrasts li { display: flex; flex-direction: column; padding-top: 22px; border-top: 2px solid var(--plum); }
.contrasts .instead { font-size: 15.5px; color: var(--plum-600); }
.contrasts h3 { margin-top: 6px; font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; }
.contrasts blockquote { margin: 18px 0 0; font-size: 16.5px; line-height: 1.5; color: var(--plum-800); }
.contrasts q::before, .contrasts q::after { color: var(--orange-ink); font-weight: 700; }
.contrasts cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; color: var(--plum-600); }

/* Formats et prix */
.formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vh, 56px); }
.format { border-radius: 22px; padding: clamp(26px, 2.6vw, 36px); background: var(--white); box-shadow: 0 0 0 1px var(--line) inset; }
.format h3 { font-size: clamp(24px, 2.1vw, 30px); font-weight: 800; letter-spacing: -0.03em; }
.format .price { margin: 14px 0 0; font-size: clamp(36px, 3.4vw, 50px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: var(--plum); }
.format .price small { font-size: 17px; font-weight: 600; letter-spacing: 0; color: var(--plum-600); }
.format p { margin: 14px 0 0; font-size: 16.5px; line-height: 1.5; color: var(--plum-600); }
.format p strong { color: var(--plum); }
.opco { display: flex; align-items: center; justify-content: space-between; gap: 14px 32px; flex-wrap: wrap; margin-top: 16px; padding: 20px clamp(22px, 2.6vw, 32px); border-radius: 18px; background: var(--orange-wash); }
.opco p { margin: 0; font-size: 17px; line-height: 1.45; font-weight: 600; color: var(--plum-950); max-width: 38em; }
.opco p span { display: block; font-weight: 500; color: var(--plum-800); }
.conditions { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px clamp(24px, 3vw, 48px); margin: 28px 0 0; padding: 0; }
.conditions li { font-size: 15px; line-height: 1.5; color: var(--plum-600); }
.conditions strong { display: block; color: var(--plum); font-weight: 700; }
.after-price { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--plum-200); }
.after-price p { margin: 0; font-size: 16.5px; color: var(--plum-600); max-width: 36em; }

/* Témoignages */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 56px); margin-top: clamp(40px, 6vh, 56px); }
.quotes figure { margin: 0; display: flex; flex-direction: column; padding-top: 22px; border-top: 2px solid var(--plum); }
.quotes blockquote { margin: 0; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; font-weight: 600; letter-spacing: -0.01em; color: var(--plum-950); }
.quotes q::before, .quotes q::after { color: var(--orange-ink); }
.quotes figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 24px; }
.quotes figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quotes figcaption b { display: block; font-size: 16px; }
.quotes figcaption span { font-size: 14.5px; color: var(--plum-600); }
.initials { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lilac); font-weight: 700; color: var(--plum-600); flex-shrink: 0; }
.intro-peer { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: clamp(40px, 6vh, 56px); padding: 24px clamp(22px, 3vw, 32px); border-radius: 20px; background: var(--orange-wash); }
.intro-peer p { margin: 0; font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; letter-spacing: -0.01em; max-width: 30em; }
.intro-peer p span { display: block; margin-top: 4px; font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--plum-800); }

/* Formateur */
.person { display: grid; grid-template-columns: clamp(120px, 13vw, 180px) minmax(0, 1fr); gap: 28px; align-items: center; max-width: 820px; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.person h2 { font-size: clamp(28px, 2.6vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.person .role { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--orange-ink); }
.person p { margin: 14px 0 0; font-size: 17px; line-height: 1.6; color: var(--plum-600); }
.person .text-link { display: inline-block; margin-top: 4px; padding: 12px 0; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.faq-list { border-top: 1px solid var(--plum-200); }
.faq details { border-bottom: 1px solid var(--plum-200); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%233F0434' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; box-shadow: 0 0 0 1px var(--plum-200) inset; transition: transform .3s cubic-bezier(.22,1,.36,1), background-color .2s; }
.faq summary:hover::after { background-color: var(--lilac); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 0; padding: 0 56px 26px 0; font-size: 17px; line-height: 1.6; color: var(--plum-600); max-width: 44em; }
.faq details p a { color: var(--plum); font-weight: 600; }


/* Hub : deux parcours */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vh, 56px); }
.path { display: flex; flex-direction: column; border-radius: 24px; padding: clamp(28px, 3vw, 44px); background: var(--white); box-shadow: 0 0 0 1px var(--line) inset; }
.path-top { display: flex; align-items: center; gap: 14px; }
.path-top img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.path-top span { font-size: 14.5px; color: var(--plum-600); }
.path-top b { display: block; font-size: 15.5px; color: var(--plum); }
.path h3 { margin-top: 24px; font-size: clamp(28px, 2.6vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.path > p { margin: 12px 0 0; font-size: 17px; line-height: 1.5; color: var(--plum-600); }
.path .path-mods { list-style: none; margin: 22px 0 28px; padding: 0; border-top: 1px solid var(--line); }
.path .path-mods li { display: flex; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.path .path-mods li span { flex-shrink: 0; width: 22px; font-weight: 700; color: var(--orange-ink); }
.path .btn { margin-top: auto; align-self: flex-start; }

/* Bloc RDV, dernier bloc de chaque page */
.rdv { background: var(--plum); color: var(--bone); padding: var(--section) 0; }
.rdv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 48px clamp(32px, 5vw, 80px); align-items: start; }
.rdv h2 { font-weight: 800; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.035em; }
.rdv h2 .accent { color: var(--orange); }
.rdv-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
.rdv-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; font-size: 18px; line-height: 1.45; counter-increment: s; }
.rdv-steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: var(--plum-950); font-weight: 700; font-size: 15px; }
.rdv-after { margin: 28px 0 0; padding-top: 22px; border-top: 1px solid rgba(245,239,244,.18); font-size: 17px; line-height: 1.5; color: var(--plum-200); max-width: 34em; }
.rdv-after strong { color: var(--bone); }
.rdv-exit { margin: 18px 0 0; font-size: 16px; color: var(--plum-200); }
.rdv-exit a { display: inline-block; padding: 10px 0; color: var(--bone); font-weight: 600; text-decoration-color: rgba(245,239,244,.4); }
.rdv-exit a:hover { text-decoration-color: var(--orange); }

/* Réservation (maquette en attendant Cal.com) */
.booking { background: var(--white); color: var(--plum); border-radius: 24px; padding: clamp(24px, 3vw, 36px); }
.booking h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.booking .micro { margin-top: 6px; display: block; }
.field { margin-top: 18px; }
.field label, .field legend { display: block; font-size: 14.5px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.field .opt { font-weight: 500; color: var(--plum-600); }
.field input, .field textarea { width: 100%; font: 500 16px/1.4 var(--font); color: var(--plum); padding: 13px 14px; border: 0; border-radius: 12px; background: var(--ground); box-shadow: 0 0 0 1px var(--line) inset; caret-color: var(--orange-ink); transition: box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--plum) inset; }
.field [aria-invalid="true"] { box-shadow: 0 0 0 2px var(--orange-ink) inset; }
.field textarea { min-height: 84px; resize: vertical; }
.field-error { margin: 8px 0 0; font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--orange-ink); }
.field-error:empty { display: none; }
fieldset.field { border: 0; margin: 18px 0 0; padding: 0; min-width: 0; }
.booking .btn { width: 100%; margin-top: 24px; }
.booking-note { margin: 12px 0 0; font-size: 14px; line-height: 1.45; color: var(--plum-600); min-height: 1.45em; }

footer { background: var(--plum-950); color: var(--plum-200); }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding-top: 32px; padding-bottom: 32px; }
footer .logo { color: var(--bone); font-size: 26px; }
footer nav ul { display: flex; flex-wrap: wrap; gap: 0 28px; margin: 0; padding: 0; list-style: none; }
footer nav a { display: inline-block; padding: 12px 0; text-decoration: none; font-size: 15px; transition: color .2s; }
footer nav a:hover { color: var(--bone); }

/* Barre CTA mobile */
.sticky-cta { display: none; }
@media (max-width: 860px) {
  .sticky-cta { display: flex; position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(251, 247, 250, .96); box-shadow: 0 -1px 0 var(--line), 0 -16px 32px -24px rgba(36, 2, 30, .4); transform: translateY(110%); transition: transform .3s cubic-bezier(.22,1,.36,1); }
  .sticky-cta.is-on { transform: none; }
  .sticky-cta .btn { width: 100%; padding: 16px 20px; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* ── Responsive ───────────────────────── */
@media (max-width: 960px) {
  .contrasts, .quotes, .conditions { grid-template-columns: 1fr; }
  .rdv-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero-body, .finding, .faq, .paths, .formats, .mod-list { grid-template-columns: 1fr; }
  .mod-list details:nth-last-child(2) { border-bottom: 0; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .cta, .actions .btn, .cta .btn { width: 100%; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-main { width: 100%; }
  .cta { align-items: stretch; }
  .cta .micro { text-align: center; }
  .path .btn, .after-price .btn, .intro-peer .btn, .opco .btn { width: 100%; }
}
@media (max-width: 560px) {
  .person { grid-template-columns: 104px minmax(0, 1fr); gap: 18px; align-items: start; }
  .faq details p { padding-right: 0; }
  .mod-list details p { padding: 0 0 20px 42px; }
  .clients .lg { height: 22px; }
}

/* Suite, en une ligne entre la FAQ et le RDV */
.next-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; padding-top: 28px; padding-bottom: 28px; font-size: 16px; color: var(--plum-600); }
.next-links a { display: inline-block; padding: 12px 0; font-weight: 600; color: var(--plum); text-decoration: underline; text-decoration-color: var(--plum-300); transition: text-decoration-color .2s; }
.next-links a:hover { text-decoration-color: var(--orange); }

/* Retour visible de la demande de mise en relation */
.booking { scroll-margin-top: 16px; }
.booking-flag { display: flex; gap: 10px; margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--orange-wash); font-size: 15px; line-height: 1.45; font-weight: 600; color: var(--plum-950); }
.booking-flag::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23B4432C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.booking-flag[hidden] { display: none; }


/* Bande de preuves centrée : libellé, logos, puis la note en dessous */
.clients .wrap { flex-direction: column; justify-content: center; gap: 16px; text-align: center; }
.clients ul { justify-content: center; }
.score { margin: 0; justify-content: center; }
.path .path-mods li b { font-weight: 600; }

/* Hub : autres équipes */
.other-proof { margin: 0; padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: var(--ground); display: flex; flex-direction: column; align-items: flex-start; }
.other-proof blockquote { margin: 0; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; font-weight: 600; letter-spacing: -0.01em; color: var(--plum-950); }
.other-proof q::before, .other-proof q::after { color: var(--orange-ink); }
.other-proof figcaption { margin-top: 16px; font-size: 15px; font-weight: 700; color: var(--plum); }
.other-proof figcaption span { display: block; font-weight: 500; color: var(--plum-600); }
.other-proof .btn { margin-top: 24px; }
@media (max-width: 860px) { .other-proof .btn { width: 100%; } }
@media (min-width: 861px) { .path > p { min-height: 4.5em; } }
.bars-sub { margin: 0 0 16px; font-size: 15px; font-weight: 600; color: var(--plum-600); }
.bars-title + .bars-sub { margin-top: -10px; }
.format .price-meta { margin: 8px 0 0; font-size: 15px; font-weight: 600; color: var(--plum); }
.format .price-meta small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--plum-600); }

/* Sous-menu Formations dans le header */
.has-sub { position: relative; }
.sub-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; border-bottom: 2px solid transparent; font: 600 15px/1.15 var(--font); color: var(--plum); cursor: pointer; padding: 6px 0; }
.has-sub.is-current .sub-toggle { border-bottom-color: var(--orange); }
.sub-toggle svg { transition: transform .2s ease; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub { display: none; position: absolute; z-index: 25; top: calc(100% + 12px); left: -16px; min-width: 270px; list-style: none; margin: 0; padding: 8px; background: var(--white); border-radius: 16px; box-shadow: 0 1px 0 var(--line), 0 24px 48px -24px rgba(36, 2, 30, .35); }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub.is-open .sub { display: block; }
.sub a { display: block; padding: 11px 14px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--plum); transition: background .2s; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--lilac); }
.sub small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--plum-600); }
@media (min-width: 1081px) and (hover: hover) { .has-sub:hover .sub { display: block; } }
@media (max-width: 1080px) {
  .nav-links .sub-toggle { display: flex; width: 100%; justify-content: space-between; text-align: left; padding: 15px 0; border-bottom: 0; font-size: 17px; }
  .has-sub.is-current .sub-toggle { border-bottom: 0; }
  .sub { position: static; min-width: 0; padding: 0 0 10px; box-shadow: none; border-radius: 0; }
  .sub::before { display: none; }
  .sub a { padding: 10px 12px; }
}

/* Hero : témoignage d'un pair (remplace la carte livrable) */
.hero-quote { margin: 0; background: var(--plum); color: var(--bone); border-radius: 24px; padding: clamp(28px, 3vw, 44px); }
.hero-quote blockquote { margin: 0; font-size: clamp(20px, 1.75vw, 26px); line-height: 1.38; font-weight: 600; letter-spacing: -0.01em; }
.hero-quote q::before, .hero-quote q::after { color: var(--orange); }
.hero-quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.hero-quote img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.hero-quote b { display: block; font-size: 16px; }
.hero-quote span { font-size: 14px; color: var(--plum-200); }

/* Contraste mis en avant : témoignage nommé avec photo */
.contrasts li.featured blockquote { font-size: 18px; font-weight: 600; color: var(--plum-950); }
.contrasts cite:has(img), .contrasts cite:has(.initials) { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.contrasts cite img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.contrasts cite .initials { width: 44px; height: 44px; font-size: 14px; }
.contrasts cite b { display: block; font-size: 15px; color: var(--plum); }

/* Carrousel des modules (page product) */
.mods-carousel { margin-top: clamp(40px, 6vh, 56px); }
.mc-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 16px) / 2); gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0; scrollbar-width: none; padding: 2px; margin: -2px; }
.mc-track::-webkit-scrollbar { display: none; }
.mc-track:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 22px; }
.mc-track .module { scroll-snap-align: start; box-shadow: 0 0 0 1px var(--line) inset; }
.mc-track .module h3 { margin-top: 10px; }
.mc-nav { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.mc-status { margin: 0 auto 0 0; font-size: 14px; font-weight: 600; color: var(--plum-600); }
.mc-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--white); color: var(--plum); box-shadow: 0 0 0 1.5px var(--plum) inset; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.mc-btn:hover:not(:disabled) { background: var(--plum); color: var(--ground); }
.mc-btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 860px) { .mc-track { grid-auto-columns: 86%; } }

/* ── Page Kickstart ───────────────────── */
/* Déroulé : quatre étapes, de l'intention au code */
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: clamp(40px, 6vh, 56px) 0 0; padding: 0; }
.flow li { position: relative; border-radius: 22px; background: var(--ground); padding: clamp(22px, 2.4vw, 30px); }
.flow li + li::before { content: ""; position: absolute; z-index: 1; left: -24px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4l4 4-4 4' fill='none' stroke='%2324021E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; box-shadow: 0 0 0 4px var(--white); }
.flow .side { font-size: 13px; font-weight: 700; color: var(--orange-ink); }
.flow li:nth-child(n+3) .side { color: var(--plum-600); }
.flow h3 { margin-top: 10px; font-size: clamp(21px, 1.8vw, 26px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.flow p { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: var(--plum-600); }
.flow-note { margin: 28px 0 0; font-size: 17px; line-height: 1.5; color: var(--plum-600); max-width: 46em; }
.flow-note strong { color: var(--plum); }

/* Ce qui reste à l'équipe */
.kit { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: clamp(40px, 6vh, 56px) 0 0; padding: 0; }
.kit li { border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--line) inset; padding: clamp(22px, 2.4vw, 28px); font-size: 16px; line-height: 1.5; color: var(--plum-600); }
.kit-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--orange-wash); font: 600 12.5px/1.3 var(--mono); color: var(--orange-ink); }
.kit b { display: block; margin: 14px 0 6px; font-size: 19px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; color: var(--plum); }

/* Retour d'expérience Edifice */
.rex { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.rex-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--plum-200); counter-reset: r; }
.rex-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--plum-200); font-size: 16.5px; line-height: 1.5; color: var(--plum-600); counter-increment: r; }
.rex-list li::before { content: counter(r); grid-row: span 2; padding-top: 1px; font-weight: 700; color: var(--orange-ink); }
.rex-list b { font-size: 19px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.25; color: var(--plum); }

/* Formation puis Kickstart */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vh, 56px); }
.duo-card { display: flex; flex-direction: column; align-items: flex-start; border-radius: 22px; padding: clamp(26px, 2.8vw, 36px); background: var(--white); box-shadow: 0 0 0 1px var(--line) inset; }
.duo-card.is-here { box-shadow: 0 0 0 2px var(--plum) inset; }
.duo-step { font-size: 14px; font-weight: 700; color: var(--orange-ink); }
.duo-card h3 { margin-top: 10px; font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; }
.duo-card ul { list-style: none; margin: 18px 0 0; padding: 0; width: 100%; border-top: 1px solid var(--line); }
.duo-card li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.duo-card .text-link { margin-top: 14px; padding: 8px 0; }
.ready { margin-top: 16px; padding: clamp(24px, 2.8vw, 36px); border-radius: 22px; background: var(--orange-wash); }
.ready h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 800; letter-spacing: -0.02em; }
.ready ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px clamp(20px, 3vw, 40px); margin: 18px 0 0; padding: 0; }
.ready li { display: flex; gap: 10px; font-size: 17px; line-height: 1.45; font-weight: 600; color: var(--plum-950); }
.ready li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23B4432C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }

/* Format conseillé */
.format.is-reco { position: relative; box-shadow: 0 0 0 2px var(--plum) inset; }
.badge { position: absolute; top: clamp(26px, 2.6vw, 36px); right: clamp(26px, 2.6vw, 36px); padding: 6px 12px; border-radius: 999px; background: var(--plum); color: var(--ground); font-size: 13px; font-weight: 700; }

/* Accompagnateurs */
.guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vh, 56px); }
.guide { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: start; border-radius: 22px; padding: clamp(24px, 2.8vw, 34px); background: var(--white); box-shadow: 0 0 0 1px var(--line) inset; }
.guide img { width: 96px; aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: 14px; }
.guide h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.guide .role { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--orange-ink); }
.guide p { margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: var(--plum-600); }
.guide .text-link { display: inline-block; margin-top: 4px; padding: 10px 0; }

@media (max-width: 1080px) {
  .kit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .flow li:nth-child(3)::before { display: none; }
}
@media (max-width: 960px) {
  .rex, .guides { grid-template-columns: 1fr; }
  .ready ul { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .duo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .flow, .kit { grid-template-columns: 1fr; }
  .flow li:nth-child(3)::before { display: block; }
  .flow li + li::before { left: 26px; top: -24px; margin-top: 0; transform: rotate(90deg); }
  .guide { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
  .guide img { width: 72px; }
  .badge { position: static; display: inline-block; margin-bottom: 12px; }
}

/* ── Dojo IA ──────────────────────────── */
.kit.kit-2, .flow.flow-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kata-ex { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 20px; align-items: baseline; margin-top: 16px; padding: clamp(24px, 2.8vw, 36px); border-radius: 22px; background: var(--orange-wash); }
.kata-ex p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--plum-950); max-width: 46em; }
.kata-ex strong { font-weight: 700; }
.kata-ex .kit-tag { justify-self: start; background: var(--white); }
.formats.formats-1 { grid-template-columns: minmax(0, 1fr); }
.price-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 32em); gap: 32px clamp(32px, 5vw, 80px); align-items: center; }
.price-split .formats { margin-top: 0; }
@media (max-width: 860px) { .price-split { grid-template-columns: 1fr; } }
.format ul { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.format li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
@media (max-width: 640px) {
  .kit.kit-2, .flow.flow-2, .kata-ex { grid-template-columns: 1fr; }
}

/* Logo image (kairn.academy) */
.logo img { display: block; height: 32px; width: auto; }
footer .logo img { height: 28px; }
@media (max-width: 1080px) { .top .logo img { height: 28px; } }
@media (max-width: 420px) { .top .logo img { height: 22px; } }

/* Mention sous le bouton d'envoi du formulaire de contact */
.booking-legal { margin: 12px 0 0; font-size: 13px; line-height: 1.45; color: var(--plum-600); }
.booking-legal a { color: var(--plum); font-weight: 600; }

/* Popup de téléchargement du programme (assets/telechargement.js) */
.dl-dialog { width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: 24px; background: transparent; color: var(--plum); overflow: auto; overscroll-behavior: contain; }
.dl-dialog::backdrop { background: rgb(36 2 30 / .6); }
.dl-card { position: relative; }
.dl-card h3 { padding-right: 40px; }
.dl-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--plum); cursor: pointer; transition: background .2s; }
.dl-close:hover { background: var(--lilac); }
.dl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.dl-done { display: none; }
.dl-done p { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: var(--plum-600); }
.dl-done a { color: var(--plum); font-weight: 600; }
.dl-dialog.is-done .dl-form { display: none; }
.dl-dialog.is-done .dl-done { display: block; }
@media (max-width: 480px) { .dl-row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .dl-dialog[open] { animation: dl-in .22s ease-out; }
  @keyframes dl-in { from { opacity: 0; transform: translateY(8px); } }
}
