/* ==========================================================================
   Design system Ô'TOP Formations — charte du logo : bleu #004AAD, rouge #F63F3E
   Principes : beaucoup de blanc, une seule couleur d'action (bleu = bouton principal,
   contour bleu = bouton secondaire), le rouge en accent, une hiérarchie typographique nette.
   Titres : Bricolage Grotesque · Texte : Plus Jakarta Sans (auto-hébergées)
   ========================================================================== */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-grotesque-latin-wght-normal-XEJcKrT.woff2") format("woff2-variations"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("../fonts/plus-jakarta-sans-latin-wght-normal-ZHdaFJ8.woff2") format("woff2-variations"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("../fonts/plus-jakarta-sans-latin-wght-italic-yzkmqdt.woff2") format("woff2-variations"); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
    --ink: #0B1026;
    --text: #33394F;
    --muted: #697089;
    --line: #E8EAF1;
    --line-strong: #D5D9E5;
    --bg: #FFFFFF;
    --bg-soft: #F7F8FB;
    --navy: #00337A;
    --blue: #004AAD;
    --blue-dark: #00388A;
    --blue-soft: #E8F0FB;
    --red: #F63F3E;
    --red-dark: #D42B2A;
    --red-soft: #FEECEC;
    --success: #0E8A60;
    --warning: #9A5B00;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow: 0 1px 2px rgb(11 16 38 / .04), 0 8px 24px -12px rgb(11 16 38 / .12);
    --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Bricolage", "Jakarta", ui-sans-serif, system-ui, sans-serif;
    --container: 1160px;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; font-size: 1.0625rem; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4, .h2, .h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .6em; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); letter-spacing: -0.035em; font-weight: 700; }
h2, .h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3, .h3 { font-size: 1.22rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
::selection { background: var(--blue-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { left: 8px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
@media (max-width: 640px) { .container { padding: 0 18px; } }

/* ---------- Bandeau de lancement & barre supérieure ---------- */
.launch-banner { background: var(--ink); color: #E6E9F5; font-size: .88rem; }
.launch-inner { display: flex; align-items: center; justify-content: center; gap: .8rem; min-height: 40px; position: relative; padding-right: 44px; }
.launch-inner p { margin: 0; text-align: center; padding: .45rem 0; }
.launch-inner p::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: .6rem; vertical-align: middle; }
.launch-inner a { color: #fff; font-weight: 700; white-space: nowrap; margin-left: .4rem; }
.launch-close { position: absolute; right: 10px; background: none; border: 0; color: #fff; opacity: .6; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
.launch-close:hover { opacity: 1; }
.topbar { border-bottom: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; min-height: 34px; align-items: center; }
.topbar p { margin: 0; display: flex; gap: .6rem; flex-wrap: wrap; }
.topbar a { color: var(--muted); text-decoration: none; }
.topbar a:hover { color: var(--ink); }
.topbar-social { gap: 1rem !important; }
@media (max-width: 640px) { .topbar { display: none; } }
.tricolore { display: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.03em; white-space: nowrap; }
.brand-mark { display: inline-flex; gap: 2px; }
.brand-mark i { width: 5px; height: 20px; border-radius: 2px; background: var(--blue); }
.brand-mark i:nth-child(2) { background: var(--line-strong); }
.brand-mark i:nth-child(3) { background: var(--red); }
.brand-light { color: #fff; }
.brand-light .brand-mark i:nth-child(2) { background: #fff; }
.main-nav { display: flex; align-items: center; gap: .15rem; }
.main-nav > a:not(.btn), .nav-dropdown > summary { white-space: nowrap; color: var(--text); text-decoration: none; font-weight: 550; font-size: .93rem; padding: .45rem .75rem; border-radius: var(--radius-sm); transition: color .15s, background .15s; }
.main-nav > a:not(.btn):hover, .nav-dropdown > summary:hover, .main-nav > a[aria-current="page"], .nav-dropdown > summary[aria-current] { color: var(--ink); background: var(--bg-soft); }
.nav-toggle { display: none; background: none; border: 0; padding: 12px; cursor: pointer; }
.burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; }
.burger::before { top: -7px; } .burger::after { top: 7px; }
.nav-dropdown { position: relative; }
.nav-dropdown > summary { list-style: none; cursor: pointer; display: block; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: .5rem; opacity: .5; }
.nav-dropdown-panel { position: absolute; top: calc(100% + 12px); left: 0; width: min(440px, 90vw); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .4rem; display: grid; z-index: 60; }
.nav-dropdown-panel a { display: grid; gap: .1rem; padding: .7rem .85rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.nav-dropdown-panel a:hover { background: var(--bg-soft); }
.nav-dropdown-group { margin: .5rem .85rem .1rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nav-dropdown-panel strong { font-weight: 650; font-size: .94rem; }
.nav-dropdown-panel span { font-size: .83rem; color: var(--muted); line-height: 1.45; }
.nav-dropdown-all { border-top: 1px solid var(--line); margin-top: .3rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm) !important; }
.nav-ctas { display: inline-flex; gap: .3rem; margin-left: .6rem; align-items: center; }
@media (max-width: 1180px) { .main-nav > a:not(.btn), .nav-dropdown > summary { padding: .45rem .5rem; font-size: .88rem; } .nav-ctas .btn-ghost { display: none; } }
@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .main-nav { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: .8rem 18px 1.2rem; display: none; max-height: calc(100vh - 80px); overflow: auto; }
    .main-nav.is-open { display: flex; }
    .main-nav > a, .nav-dropdown > summary { padding: .85rem .5rem !important; font-size: 1rem !important; border-bottom: 1px solid var(--line); border-radius: 0 !important; }
    .nav-dropdown-panel { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 .5rem .5rem; }
    .nav-ctas { flex-direction: column; align-items: stretch; margin: 1rem 0 0; gap: .5rem; }
    .nav-ctas .btn-ghost { display: inline-flex; }
}

/* ---------- Boutons ---------- */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--bg); color: var(--fg); border: 1px solid transparent; padding: .8rem 1.35rem; border-radius: 10px; font-family: var(--font); font-weight: 650; font-size: .96rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:hover { color: var(--fg); }
/* Bouton principal : fond bleu #004AAD, texte blanc (contraste ≈ 8,6:1). Secondaire : contour bleu. */
.btn-primary, .btn-red, .btn-navy { --bg: var(--blue); --fg: #fff; }
.btn-primary:hover, .btn-red:hover, .btn-navy:hover { --bg: var(--blue-dark); }
.btn-primary:focus-visible, .btn-outline:focus-visible, .btn-ghost:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.btn-outline { --bg: #fff; --fg: var(--blue); border-color: var(--blue); }
.btn-outline:hover { --bg: var(--blue-soft); --fg: var(--blue-dark); }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-ghost { --bg: #fff; --fg: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { --bg: var(--blue-soft); border-color: var(--blue-dark); }
.btn-ghost-light { --bg: transparent; --fg: #fff; border-color: rgb(255 255 255 / .35); }
.btn-ghost-light:hover { border-color: #fff; }
.btn-sm { padding: .55rem 1rem; font-size: .88rem; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
@media (max-width: 640px) { .btn { white-space: normal; text-align: center; } .hero-actions .btn, .cta-actions .btn { width: 100%; } }

/* ---------- Hero (clair) ---------- */
.hero { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-soft), #fff 70%); }
.hero h1 { max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); max-width: 54ch; color: var(--text); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 4rem; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 2rem 0 2.2rem; }
.hero-proof { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: .4rem 2.4rem; list-style: none; padding: 1.4rem 0 0; margin: 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.hero-proof li strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.3rem; font-weight: 650; letter-spacing: -0.02em; }
@media (max-width: 640px) { .hero-proof { grid-template-columns: 1fr 1fr; } }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow); }
.hero-card h2 { font-size: 1.35rem; margin: .8rem 0 .4rem; }
.hero-card p { color: var(--muted); font-size: .95rem; }
.hero-card .btn + .btn { margin-top: .5rem; }
.hero-card .hero-price, .hero-price { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--ink); letter-spacing: -.04em; margin: 1rem 0 .2rem; line-height: 1; }
.hero-price small { font-family: var(--font); font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.eyebrow { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin-bottom: 1rem; }
.section-navy .eyebrow, .cta-band .eyebrow { color: #A9B6FF; }
.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 1rem 0 0; }
.kpi { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; display: flex; flex-direction: column-reverse; }
.kpi dt { font-size: .85rem; color: var(--muted); }
.kpi dd { margin: 0; font-family: var(--font-display); font-size: 1.8rem; font-weight: 650; color: var(--ink); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-navy { background: var(--ink); color: #C5CBE0; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: .4em; }
.lead { font-size: 1.12rem; color: var(--muted); }
.grid { display: grid; gap: 1.25rem; }
.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: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
@supports (animation-timeline: view()) {
    .formation-card, .offer-card, .card { animation: fadein linear both; animation-timeline: view(); animation-range: entry 0% entry 25%; }
}
@keyframes fadein { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Cartes génériques ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.7rem; }
.feature { display: flex; flex-direction: column; }
.feature-num { display: block; font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--blue); margin-bottom: .8rem; }
.feature p { color: var(--muted); }
.feature > a:last-child { margin-top: auto; align-self: flex-start; }

/* ---------- Carte formation : information structurée ---------- */
.formation-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .2s, box-shadow .2s; }
.formation-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.formation-card-top { padding: 1.7rem 1.7rem .4rem; }
.formation-card-top h3 { font-size: 1.35rem; margin: .8rem 0 0; }
.formation-card-top h3 a { color: var(--ink); text-decoration: none; }
.formation-card-top h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.formation-card-top h3 a:hover { color: var(--blue); }
.formation-card-body { padding: .6rem 1.7rem 1.4rem; flex: 1; display: flex; flex-direction: column; gap: 1.1rem; }
.formation-card-body > p { color: var(--muted); margin: 0; font-size: .96rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.2rem; margin: 0; font-size: .92rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 550; }
.formation-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.7rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.card-cta { position: relative; z-index: 2; }
.card-urgency { margin: 0; padding: 0 1.7rem 1.2rem; color: var(--red-dark); font-size: .84rem; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; font-size: .75rem; font-weight: 650; padding: .25rem .6rem; border-radius: 6px; background: var(--bg-soft); color: var(--text); border: 1px solid var(--line); }
.chip-dark { background: var(--blue-soft); color: var(--blue); border-color: transparent; }
.chip-red { background: var(--red-soft); color: var(--red-dark); border-color: transparent; }
.chip-green { background: #E8F6F0; color: var(--success); border-color: transparent; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
.price small { display: block; font-family: var(--font); font-size: .82rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: .15rem; }

/* ---------- Offres & packs ---------- */
.offer-card { position: relative; display: flex; flex-direction: column; gap: .4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; }
.offer-card h3 { margin: 0; font-size: 1.2rem; }
.offer-card .price { font-size: 2.2rem; margin: .8rem 0 0; }
.offer-card .btn { margin-top: auto; }
.offer-card .check-list { margin: 1rem 0 1.4rem; }
.offer-card .card-urgency { padding: 0; margin: .2rem 0 1rem; }
.offer-featured { border: 2px solid var(--ink); }
.offer-badge { align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: .3rem; }
.saving { color: var(--success); font-weight: 600; font-size: .9rem; margin: 0; }
.offer-highlight { font-size: .9rem; color: var(--muted); margin: .3rem 0 0; }

/* ---------- Tableaux ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; font-size: .94rem; }
.compare caption { text-align: left; font-family: var(--font-display); font-weight: 650; color: var(--ink); padding: 0 0 1rem; font-size: 1.3rem; }
.compare th, .compare td { padding: .95rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare th:first-child, .compare td:first-child { padding-left: 0; }
.compare thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 650; border-bottom-color: var(--line-strong); }
.compare tbody th a { color: var(--ink); font-weight: 650; text-decoration: none; }
.compare tbody th a:hover { color: var(--blue); }
.info-table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-bottom: 1.5rem; border-top: 1px solid var(--line); }
.info-table th, .info-table td { text-align: left; vertical-align: top; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.info-table th { width: 30%; color: var(--ink); font-weight: 650; padding-right: 1.5rem; }
@media (max-width: 640px) { .info-table th, .info-table td { display: block; width: auto; } .info-table th { border-bottom: 0; padding-bottom: .2rem; } }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: .85rem; border-bottom: 1px solid var(--line); }
.table th { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* ---------- Étapes ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding-top: 1.2rem; border-top: 2px solid var(--ink); }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-weight: 600; color: var(--blue); font-size: .95rem; margin-bottom: .6rem; }
.steps strong { display: block; color: var(--ink); margin-bottom: .3rem; font-size: 1.05rem; font-weight: 650; }
.steps p { margin: 0; font-size: .95rem; color: var(--muted); }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps, .steps-3 { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- Statistiques sourcées ---------- */
.stat-card { display: flex; flex-direction: column; gap: .7rem; margin: 0; padding: 1.3rem 0 0; border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; background: none; }
.stat-value { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 650; letter-spacing: -.04em; line-height: 1; margin: 0; color: var(--ink); }
.stat-card blockquote { margin: 0; font-size: .97rem; color: var(--text); }
.stat-card figcaption { margin-top: auto; font-size: .82rem; }
.stat-card figcaption a { color: var(--muted); }

/* ---------- Piliers (conduite du changement) ---------- */
.feature-list-dark { list-style: none; padding: 0; margin: 0; display: grid; }
.feature-list-dark li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.feature-list-dark li:first-child { border-top: 1px solid var(--line); }
.feature-list-dark strong { display: block; color: var(--ink); margin-bottom: .15rem; }
.align-center { align-items: center; }

/* ---------- Bloc partenaire (seul emplacement du logo Qualiopi) ---------- */
.partner-block { display: flex; gap: 1.2rem; align-items: center; font-size: .88rem; color: var(--muted); }
.partner-block p { margin: 0; }
.partner-logos { display: flex; gap: .8rem; align-items: center; flex: none; }
.partner-logos img { height: 38px; width: auto; }
.partner-name { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); font-weight: 650; }
.partner-dark { color: #9CA3BF; margin-top: 1.2rem; flex-direction: column; align-items: flex-start; }
.partner-dark .partner-name { color: #fff; }
.partner-dark .partner-logos img { background: #fff; border-radius: 6px; padding: 4px; }
.trust-band { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.trust-band .partner-block { justify-content: center; }
.partner-section { padding: 2.5rem 0; }
.partner-section .partner-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
@media (max-width: 640px) { .partner-block { flex-direction: column; align-items: flex-start; gap: .5rem; } }

/* ---------- Bandeau d'appel à l'action (seul bloc foncé du contenu) ---------- */
.cta-band { background: var(--ink); color: #C5CBE0; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.4fr auto; gap: 2.5rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: .5rem; min-width: 260px; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } .cta-actions { min-width: 0; } }

/* ---------- Fiche formation ---------- */
.fhero { padding: clamp(2.5rem, 6vw, 4rem) 0 3rem; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-soft), #fff); }
.fhero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); max-width: 22ch; margin-top: 1rem; }
.fhero .lead { max-width: 62ch; color: var(--text); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.2rem; font-size: .84rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.fact-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 2.2rem; border-top: 1px solid var(--line); }
.fact { padding: 1.1rem 1.2rem 0 0; }
.fact strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.6rem; font-weight: 650; letter-spacing: -0.03em; }
.fact span { font-size: .86rem; color: var(--muted); }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 4rem; align-items: start; }
.aside-sticky { position: sticky; top: 96px; }
@media (max-width: 1040px) { .layout-aside { grid-template-columns: 1fr; gap: 2.5rem; } .aside-sticky { position: static; } }
.buy-box { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; background: #fff; box-shadow: var(--shadow); }
.buy-box .price { font-size: 2.6rem; margin: .7rem 0 .2rem; }
.buy-box ul { list-style: none; margin: 1.3rem 0; display: grid; gap: .55rem; font-size: .93rem; border-top: 1px solid var(--line); padding: 1.2rem 0 0; }
.buy-box li { padding-left: 1.4rem; position: relative; }
.buy-box li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.buy-box .btn + .btn { margin-top: .5rem; }
.buy-box .card-urgency { padding: 0; margin: .4rem 0 0; }
.buy-note { font-size: .78rem; color: var(--muted); margin: 1rem 0 0; }
.tldr { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem 1.8rem; margin: 0 0 3.5rem; background: var(--bg-soft); }
.tldr h2 { font-family: var(--font); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin-bottom: .8rem; font-weight: 700; }
.tldr > p { color: var(--ink); }
.tldr dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.6rem; margin: 0; font-size: .96rem; }
.tldr dt { color: var(--muted); }
.tldr dd { margin: 0; color: var(--ink); font-weight: 550; }
@media (max-width: 560px) { .tldr dl { grid-template-columns: 1fr; gap: 0; } .tldr dd { margin-bottom: .6rem; } }
.content-section { margin-bottom: 3.5rem; }
.content-section h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.check-list li { position: relative; padding-left: 1.8rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 1rem; height: 1rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232440E6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5l4 4 8-9'/%3E%3C/svg%3E") center/contain no-repeat; }
.check-list.compact { gap: .4rem; font-size: .93rem; }
.modules { display: grid; counter-reset: mod; border-top: 1px solid var(--line); }
.module { border-bottom: 1px solid var(--line); }
.module summary { list-style: none; cursor: pointer; padding: 1.2rem 0; display: grid; grid-template-columns: 3rem 1fr auto; gap: .5rem; align-items: baseline; font-weight: 650; color: var(--ink); font-size: 1.05rem; }
.module summary::-webkit-details-marker { display: none; }
.module summary::before { counter-increment: mod; content: counter(mod, decimal-leading-zero); font-family: var(--font-display); font-weight: 600; color: var(--blue); }
.module summary::after { content: "+"; font-size: 1.4rem; color: var(--muted); font-weight: 400; line-height: 1; transition: transform .2s var(--ease); }
.module[open] summary::after { transform: rotate(45deg); }
.module-body { padding: 0 0 1.4rem 3.5rem; }
.module-body ul { margin: .4rem 0; padding-left: 1.1rem; }
.module-body li { margin: .25rem 0; }
.module-objective { color: var(--muted); }
.practical { margin-top: .9rem; padding: .8rem 1rem; background: var(--bg-soft); border-left: 3px solid var(--red); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem; }
.practical strong { color: var(--ink); }
@media (max-width: 640px) { .module-body { padding-left: 0; } }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2em; font-size: clamp(1.45rem, 2.3vw, 1.85rem); }
.prose h3 { margin-top: 1.6em; }
.prose img { border-radius: var(--radius); }
.prose blockquote { margin: 1.5em 0; padding: .2em 1.2em; border-left: 3px solid var(--blue); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .75em .6em; text-align: left; vertical-align: top; }
.prose th { color: var(--muted); font-weight: 650; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.heading-anchor { margin-left: .4rem; opacity: 0; text-decoration: none; color: var(--muted); font-weight: 400; }
h2:hover > .heading-anchor, h3:hover > .heading-anchor { opacity: 1; }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.2rem 0; font-weight: 650; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--muted); font-size: 1.4rem; font-weight: 400; line-height: 1; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-answer { padding: 0 2.5rem 1.3rem 0; color: var(--text); }
.faq .faq-answer p:last-child { margin: 0; }

/* ---------- Avis ---------- */
.testimonial { display: flex; flex-direction: column; gap: 1rem; margin: 0; }
.testimonial blockquote { margin: 0; }
.stars { color: #E2A100; letter-spacing: 2px; }
.testimonial figcaption { margin-top: auto; font-size: .88rem; color: var(--muted); }
.testimonial figcaption strong { color: var(--ink); }

/* ---------- Formulaires ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .form-label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea, .input { width: 100%; font: inherit; font-size: 1rem; padding: .78rem .95rem; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgb(36 64 230 / .12); }
.help { font-size: .84rem; color: var(--muted); margin-top: .35rem; }
.field-error, .form-error-message { color: var(--red-dark); font-size: .86rem; margin-top: .35rem; }
.field ul, .checkout-block ul:not(.check-list), form > ul { list-style: none; padding: 0; margin: .35rem 0 0; color: var(--red-dark); font-size: .86rem; }
.checkbox { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; margin: .5rem 0; }
.checkbox input { margin-top: .28rem; width: 1.05rem; height: 1.05rem; accent-color: var(--blue); flex: none; }
.input-group { display: flex; gap: .5rem; }
.input-group .input { flex: 1; }
.newsletter-row { display: flex; gap: .4rem; }
.newsletter-note { font-size: .78rem; color: #8A91AD; margin: .5rem 0 0; line-height: 1.45; }
.newsletter-note a { color: inherit; }
.newsletter input[type=email] { flex: 1; min-width: 0; padding: .6rem .9rem; border-radius: 10px; border: 1px solid rgb(255 255 255 / .18); background: transparent; color: #fff; font: inherit; font-size: .9rem; }
.newsletter input::placeholder { color: #8A91AD; }

/* ---------- Tunnel /commander ---------- */
.checkout-section { background: var(--bg-soft); }
.checkout-steps { display: flex; gap: 1.4rem; list-style: none; padding: 0; margin: 0 0 1.4rem; flex-wrap: wrap; font-size: .85rem; font-weight: 600; color: var(--muted); counter-reset: cs; }
.checkout-steps li { counter-increment: cs; }
.checkout-steps li::before { content: counter(cs) ". "; }
.checkout-steps .is-done { color: var(--success); }
.checkout-steps .is-current { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 2.5rem; align-items: start; }
@media (max-width: 960px) { .checkout-grid { grid-template-columns: 1fr; } }
.checkout-form { display: grid; gap: 1rem; }
.checkout-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.7rem; }
.checkout-block[hidden], [data-checkout-target][hidden] { display: none !important; }
.step-num { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font); font-size: .82rem; font-weight: 700; margin-right: .55rem; vertical-align: 2px; }
.choice-group { border: 0; padding: 0; margin: 0 0 1.3rem; display: grid; gap: .45rem; }
.choice-group legend { margin-bottom: .55rem; }
.choice { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem 1rem; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; transition: border-color .15s, background .15s; font-size: .95rem; }
.choice:hover { border-color: var(--ink); }
.choice:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.choice input { margin-top: .25rem; accent-color: var(--blue); width: 1.05rem; height: 1.05rem; flex: none; }
.choice-inline { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.choice-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
@media (min-width: 1000px) { .checkout-form .choice-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.coupon { margin: 1rem 0; }
.coupon summary { cursor: pointer; color: var(--blue); font-weight: 600; font-size: .92rem; margin-bottom: .5rem; }
.summary { background: #fff; border-radius: var(--radius-lg); padding: 1.7rem; border: 1px solid var(--line); position: sticky; top: 96px; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; }
.summary-total { border-top: 1px solid var(--ink); margin-top: .7rem; padding-top: 1rem; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--ink); }
.discount { color: var(--success); font-weight: 600; }
.secure { display: flex; gap: .5rem; align-items: center; justify-content: center; font-size: .84rem; color: var(--muted); margin-top: 1rem; text-align: center; }
.notice { padding: .95rem 1.15rem; border-radius: 10px; font-size: .95rem; margin-bottom: 1.2rem; }
.notice-info { background: var(--blue-soft); color: var(--ink); }
.notice-warn { background: #FFF6E6; color: #5F3B00; }
.big-check { width: 4rem; height: 4rem; margin: 0 auto 1.2rem; display: grid; place-items: center; border-radius: 50%; background: #E8F6F0; color: var(--success); font-size: 1.8rem; }
.big-check.pending { background: #FFF6E6; color: var(--warning); }

/* ---------- Divers ---------- */
.flash { margin: 1rem 0; padding: .95rem 1.2rem; border-radius: 10px; font-weight: 600; }
.flash-success { background: #E8F6F0; color: var(--success); }
.flash-error { background: var(--red-soft); color: var(--red-dark); }
.flash-info { background: var(--blue-soft); color: var(--blue); }
.filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.8rem; }
.filters a { padding: .45rem .95rem; border-radius: 8px; border: 1px solid var(--line-strong); text-decoration: none; color: var(--text); font-weight: 550; font-size: .9rem; }
.filters a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 2rem; }
.pagination a { padding: .4rem .85rem; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; }
.pagination a[aria-current] { background: var(--ink); color: #fff; }
.meta-line { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--muted); font-size: .86rem; }
.article-card { display: flex; flex-direction: column; gap: .5rem; position: relative; }
.article-card h3 a { text-decoration: none; color: var(--ink); }
.article-card h3 a::after { content: ""; position: absolute; inset: 0; }
.article-card:hover h3 a { color: var(--blue); }
.article-thumb { border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.article-cover { border-radius: var(--radius-lg); margin-bottom: 2rem; width: 100%; height: auto; }
.status { display: inline-block; padding: .2rem .6rem; border-radius: 6px; font-size: .78rem; font-weight: 650; background: var(--bg-soft); }
.status-paid { background: #E8F6F0; color: var(--success); }
.status-pending { background: #FFF6E6; color: var(--warning); }
.status-refunded, .status-cancelled, .status-failed { background: var(--red-soft); color: var(--red-dark); }
.auth-card { max-width: 440px; margin: 2rem auto; }
.updated { font-size: .84rem; color: var(--muted); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; } .text-left { text-align: left; }
.muted { color: var(--muted); } .small { font-size: .86rem; }
.link-light { color: #A9B6FF; }
.center-h1 { max-width: none !important; margin-left: auto; margin-right: auto; }
.grid-cards { align-items: stretch; }
.link-button { background: none; border: 0; padding: 0; color: #9CA3BF; font: inherit; cursor: pointer; text-align: left; }
.link-button:hover { color: #fff; }

/* ---------- Barre mobile, WhatsApp, cookies ---------- */
.mobile-cta { display: none; }
@media (max-width: 900px) {
    .mobile-cta { display: grid; grid-template-columns: 2fr 1fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: .6rem 14px calc(.6rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
    .mobile-cta .btn { padding: .75rem 1rem; }
    body { padding-bottom: 70px; }
}
.whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 44; display: grid; place-items: center; width: 52px; height: 52px; background: #1FA855; color: #fff; text-decoration: none; border-radius: 50%; box-shadow: 0 6px 18px -6px rgb(11 16 38 / .35); }
.whatsapp:hover { color: #fff; background: #198F48; }
.whatsapp span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
@media (max-width: 900px) { .whatsapp { bottom: 84px; width: 48px; height: 48px; } }
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 100; max-width: 460px; }
.consent[hidden] { display: none; }
.consent-inner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem 1.3rem; font-size: .86rem; }
.consent-title { font-weight: 700; color: var(--ink); margin-bottom: .3rem; font-size: .95rem; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
@media (max-width: 640px) { .consent { right: 12px; left: 12px; bottom: 80px; max-width: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9CA3BF; padding: 4.5rem 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-tagline { margin: 1.1rem 0; }
.footer-title { color: #fff; font-family: var(--font); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; display: block; font-weight: 700; }
.footer-links { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .5rem; }
.footer-links a { color: #9CA3BF; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .08); margin-top: 3rem; padding: 1.5rem 24px; font-size: .8rem; color: #7D84A0; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@view-transition { navigation: auto; }

/* ---------- Onglets ---------- */
.tabs { display: none; gap: .25rem; border-bottom: 1px solid var(--line); margin-bottom: 2.5rem; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs-ready .tabs { display: flex; }
.tab { flex: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: .9rem 1.1rem; font: inherit; font-weight: 600; font-size: .97rem; color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }
.tab small { display: block; font-weight: 500; font-size: .78rem; color: var(--muted); }
.tab-panel { padding-bottom: 1rem; }
.tab-panel + .tab-panel { margin-top: 3rem; }
.tabs-ready .tab-panel + .tab-panel { margin-top: 0; }
.tab-panel-head { max-width: 680px; margin-bottom: 2rem; }
.tab-panel-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.steps-1 { grid-template-columns: 1fr; gap: 1.2rem; margin-top: 1.2rem; }
.steps-1 li { border-top-width: 1px; border-top-color: var(--line); padding-top: .9rem; }
@media (max-width: 640px) {
    .tabs-ready .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; border-bottom: 0; overflow: visible; }
    .tab { border: 1px solid var(--line); border-radius: 10px; margin: 0; padding: .7rem .6rem; font-size: .9rem; }
    .tab[aria-selected="true"] { border-color: var(--ink); background: var(--bg-soft); box-shadow: inset 0 -2px 0 var(--red); }
}

.btn-link { display: inline-block; margin-left: 1rem; font-weight: 600; font-size: .95rem; }
.buy-links { display: grid; gap: .4rem; margin: 1rem 0 0; font-size: .92rem; text-align: center; }
.summary .card-urgency { padding: 0; margin: .4rem 0; }
.card.prose h2 { font-size: 1.15rem; margin: 0 0 .6rem; }
.card.prose h2 ~ h2 { margin-top: 1.6rem; }
.card.prose ul { padding-left: 1.1rem; margin: 0; }
.fhero + .section { padding-top: clamp(2rem, 4vw, 3rem); }

/* ---------- Modale des appels à l'action ---------- */
html.modal-open { overflow: hidden; }
.modal { width: min(880px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 30px 80px -20px rgb(11 16 38 / .45); overflow: auto; overscroll-behavior: contain; }
.modal::backdrop { background: rgb(11 16 38 / .5); backdrop-filter: blur(3px); }
.modal[open] { animation: modal-in .22s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.modal-close { position: sticky; top: 10px; float: right; margin: 10px 10px 0 0; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.modal-close:hover { border-color: var(--ink); }
.modal-frame { display: block; }
.modal-frame[busy] { opacity: .55; transition: opacity .15s; }
.modal-loading { padding: 4rem 2rem; text-align: center; color: var(--muted); }
.modal-body { padding: 2rem 2.2rem 2.2rem; }
.modal .section { padding: 2rem 0 2.2rem; background: none; border: 0; }
.modal .container { padding: 0 2.2rem; max-width: none; }
.modal .checkout-section { background: none; }
.modal .checkout-steps { margin-right: 3rem; }
.modal .checkout-block { padding: 1.4rem; }
.modal h1 { margin-right: 3rem; }
@media (max-width: 640px) {
    .modal { width: 100vw; max-width: none; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
    .modal .container, .modal-body { padding-left: 18px; padding-right: 18px; }
}

/* Choix de l'offre */
.choose-list { list-style: none; padding: 0; margin: 1.2rem 0 0; border-top: 1px solid var(--line); }
.choose-list li { border-bottom: 1px solid var(--line); }
.choose-list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem .4rem; text-decoration: none; color: var(--ink); transition: background .15s; border-radius: 8px; }
.choose-list a:hover { background: var(--bg-soft); }
.choose-list strong { display: block; font-weight: 650; }
.choose-list small { display: block; color: var(--muted); font-size: .84rem; }
.choose-price { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; white-space: nowrap; text-align: right; }
.choose-price small { font-family: var(--font); font-weight: 600; color: var(--red-dark); }
.modal h1, .modal .h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
/* Tunnel dans la modale : deux colonnes sur ordinateur (formulaire | récapitulatif fixe), une seule sur mobile. */
.modal:has(.checkout-section) { width: min(1200px, calc(100vw - 48px)); }
.modal .checkout-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 1.5rem; }
.modal .summary { top: 1rem; background: var(--bg-soft); box-shadow: none; padding: 1.4rem; }
.modal .summary .summary-total { font-size: 1.25rem; }
@media (max-width: 999px) {
    .modal .checkout-grid { grid-template-columns: 1fr; gap: 1rem; }
    .modal .summary { position: static; order: -1; padding: 1rem 1.3rem; }
    .modal .summary > h2, .modal .summary [data-variant] > .summary-row:first-child, .modal .summary .check-list { display: none; }
}
.modal .notice { margin-bottom: .8rem; }
.calendly-frame { display: block; width: 100%; height: min(700px, 70dvh); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
/* Logo Magenx IA */
.brand-mark { flex: none; display: block; line-height: 0; }
.brand-mark img { height: 26px; width: auto; }
.brand-name { font-family: var(--font-display); font-weight: 800; letter-spacing: .01em; text-transform: uppercase; color: var(--blue); }
.brand-light .brand-name { color: #fff; }

/* Contenu des packs (dépliable) */
.pack-content { border-top: 1px solid var(--line); margin: .8rem 0 .4rem; }
.pack-content details { border-bottom: 1px solid var(--line); }
.pack-content summary { list-style: none; cursor: pointer; padding: .65rem 0; font-weight: 600; font-size: .93rem; color: var(--ink); display: flex; justify-content: space-between; gap: .8rem; }
.pack-content summary::-webkit-details-marker { display: none; }
.pack-content summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.pack-content details[open] summary::after { content: "–"; }
.pack-content ul { margin: 0 0 .5rem; padding-left: 1.1rem; font-size: .88rem; color: var(--text); }
.pack-content details a { display: inline-block; font-size: .86rem; font-weight: 600; margin-bottom: .7rem; }
/* Onglet Entreprises */
.biz-pillars { margin-bottom: 3rem; }
.biz-title { font-size: 1.3rem; margin: 3rem 0 1.2rem; }
.biz-extra { margin-top: 3rem; }
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 3rem; padding: 1.4rem 1.6rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.cta-inline p { margin: 0 auto 0 0; }

/* ---------- Simulateur « Selon votre situation » (style services publics : tuiles, étapes) ---------- */
.situation-tiles { border: 0; padding: 0; margin: 0 0 2.5rem; }
.situation-tiles legend { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 650; color: var(--ink); margin-bottom: 1.2rem; }
.step-label { display: block; font-family: var(--font); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: .4rem; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
@media (max-width: 640px) { .tiles { grid-template-columns: 1fr; } }
.tile { position: relative; display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.2rem; border: 1px solid var(--line-strong); border-bottom: 3px solid var(--line-strong); border-radius: 10px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s, transform .15s; }
.tile:hover { border-color: var(--blue); transform: translateY(-1px); }
.tile:has(input:checked) { border-color: var(--blue); border-bottom-color: var(--blue); background: var(--blue-soft); }
.tile input { margin-top: .25rem; width: 1.15rem; height: 1.15rem; accent-color: var(--blue); flex: none; }
.tile strong { display: block; color: var(--ink); font-weight: 650; line-height: 1.35; }
.tile small { display: block; color: var(--muted); font-size: .86rem; margin-top: .15rem; }
.situation-result { border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 1.8rem; margin-bottom: 1.5rem; background: #fff; animation: fadein .25s var(--ease); }
.result-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.result-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: 1.2rem; }
.link-reset { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.result-funder { background: var(--bg-soft); border-left: 4px solid var(--red); border-radius: 0 10px 10px 0; padding: 1.1rem 1.3rem; margin-bottom: 1.8rem; }
.result-kicker { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.result-funder-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 650; color: var(--ink); margin: .2rem 0 .5rem; }
.result-funder p:last-child { margin: 0; }
.result-grid h3 { font-size: 1.05rem; margin-bottom: .8rem; }
.result-steps { margin: 0; padding-left: 1.2rem; display: grid; gap: .6rem; font-size: .95rem; }
.result-steps strong { color: var(--ink); }
.result-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.8rem 0 1rem; }
/* Sans JavaScript : toutes les réponses restent visibles */
.situation-ready .situation-empty[hidden], .situation-ready .situation-result[hidden], .situation-ready .situation-answers[hidden] { display: none; }

/* ---------- Équipe ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.3rem; }
@media (max-width: 1040px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { --tc: var(--blue); --tc-soft: var(--blue-soft); position: relative; text-align: center; padding: 1.8rem 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.team-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow); }
.team-card:nth-child(even):hover { transform: translateY(-6px) rotate(.4deg); }
.team-red { --tc: var(--red); --tc-soft: var(--red-soft); }
.team-ink { --tc: var(--ink); --tc-soft: #ECEEF5; }
.team-violet { --tc: #6B4EFF; --tc-soft: #F0ECFF; }
.team-photo { position: relative; width: 140px; height: 140px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--tc-soft); display: grid; place-items: center; }
.team-photo::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px dashed var(--tc); opacity: .35; transition: transform .6s var(--ease), opacity .3s; }
.team-card:hover .team-photo::after { transform: rotate(90deg); opacity: .8; }
.team-photo img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; }
.team-initials { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--tc); letter-spacing: -.03em; }
.team-name { font-size: 1.25rem; margin: 0 0 .2rem; }
.team-role { color: var(--muted); font-size: .92rem; margin: 0 0 .9rem; }
.team-tags { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem; }
.team-tags li { font-size: .75rem; font-weight: 650; padding: .22rem .6rem; border-radius: 999px; background: var(--tc-soft); color: var(--tc); }
.team-more { text-align: left; border-top: 1px solid var(--line); padding-top: .8rem; }
.team-more summary { cursor: pointer; list-style: none; font-weight: 600; font-size: .9rem; color: var(--tc); text-align: center; }
.team-more summary::-webkit-details-marker { display: none; }
.team-more summary::after { content: " +"; }
.team-more[open] summary::after { content: " –"; }
.team-more p { font-size: .92rem; margin: .7rem 0 0; }
.team-link { display: inline-block; margin-top: .8rem; font-size: .88rem; font-weight: 600; }

/* ---------- Estimation de prise en charge OPCO ---------- */
.company-block { margin: 1rem 0 .4rem; padding: 1.1rem 1.2rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--bg-soft); }
.company-block .form-grid { margin-bottom: .2rem; }
.company-block .help { margin: .2rem 0 0; }
.estimate-output:empty { display: none; }
.estimate-output.is-loading { opacity: .55; transition: opacity .15s; }
.estimate { margin-top: 1rem; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; font-size: .93rem; }
.estimate-not_found, .estimate-invalid, .estimate-unavailable, .estimate-limited { border-left-color: var(--warning); }
.estimate-company strong { display: block; color: var(--ink); font-size: 1rem; }
.estimate-company span { color: var(--muted); font-size: .86rem; }
.estimate-warn { display: block; color: var(--red-dark) !important; font-weight: 600; }
.estimate-opco { margin: .8rem 0; }
.estimate-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .estimate-figures { grid-template-columns: 1fr; } }
.estimate-label { display: block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.estimate-value { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.estimate-figures > div:first-child .estimate-value { color: var(--success); }
.estimate-sub { display: block; font-size: .82rem; color: var(--muted); }
.estimate-bar { display: flex; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; margin: .9rem 0 .4rem; }
.estimate-bar-low { background: var(--success); }
.estimate-bar-high { background: repeating-linear-gradient(45deg, var(--success) 0 4px, #8FD6B8 4px 8px); }
.estimate-note { margin: .8rem 0 0; padding: .6rem .8rem; background: var(--blue-soft); border-radius: 8px; font-size: .88rem; }
.estimate-msg { margin: 0; }
.quote-offer { margin: 0; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface, #fff); }
.estimate-disclaimer { margin: .8rem 0 0; font-size: .78rem; color: var(--muted); }

/* ---------- Révision catalogue 11/10/2026 : visuels, univers, prix HT ---------- */
.formation-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: linear-gradient(135deg, #00337A, #004AAD 60%, #3B7BD9); }
.formation-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.formation-card:hover .formation-card-media img { transform: scale(1.03); }
.formation-card-media.is-empty { display: grid; place-items: center; }
.formation-card-media.is-empty span { color: #fff; font-family: var(--font-display, inherit); font-weight: 750; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: .02em; opacity: .9; }
.universe-title { margin: 2.2rem 0 1rem; font-size: 1.35rem; }
.universe-title:first-child { margin-top: 0; }
.hero-reassurance { margin: .9rem 0 0; font-size: .9rem; color: var(--muted); }
.panel-image { display: block; width: 100%; aspect-ratio: 16 / 6; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 1.5rem; }
.option-block { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 1.5rem; }
.option-block .btn { margin: .3rem .4rem .3rem 0; }
.follow-up { border-left: 4px solid var(--ink); padding-left: 1.2rem; }
.fhero-media { position: relative; overflow: hidden; }
.fhero-image { display: block; width: 100%; max-height: 220px; object-fit: cover; margin: -1rem 0 1.5rem; }
@media (min-width: 961px) {
    .fhero-media .container > * { max-width: 58%; }
    .fhero-image { position: absolute; top: 0; right: 0; width: 40%; height: 100%; max-height: none; margin: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
}

/* Cartes formation compactes (accueil, catalogue) : 3 par ligne, visuel réduit. */
.cards-compact .formation-card-media { aspect-ratio: 16 / 7; }
.cards-compact .formation-card-top { padding-bottom: .2rem; }
.cards-compact .formation-card h3 { font-size: 1.05rem; line-height: 1.3; }
.cards-compact .facts { font-size: .86rem; }
.cards-compact .formation-card-foot { gap: .6rem; flex-wrap: wrap; }
.cards-compact .formation-card-foot .price { font-size: 1.25rem; }
.cards-compact .card-cta { padding: .55rem .9rem; font-size: .88rem; }

/* « Avec qui contractez-vous ? » */
.contract-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.3rem, 3vw, 2rem); display: flex; flex-direction: column; gap: .6rem; }
.contract-case { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contract-name { margin: 0; font-family: var(--font-display, inherit); font-size: 1.45rem; font-weight: 750; color: var(--ink); }
.contract-role { margin: 0; font-size: 1rem; line-height: 1.55; }
.contract-facts { display: grid; grid-template-columns: minmax(9rem, auto) 1fr; gap: .45rem 1rem; margin: .6rem 0 0; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .92rem; }
.contract-facts dt { color: var(--muted); }
.contract-facts dd { margin: 0; }
.contract-note { margin: auto 0 0; padding-top: .6rem; font-size: .8rem; color: var(--muted); }
@media (max-width: 520px) { .contract-facts { grid-template-columns: 1fr; gap: .1rem; } .contract-facts dd { margin-bottom: .5rem; } }
.cards-compact .facts { display: grid; grid-template-columns: 1fr; gap: 0; }
.cards-compact .facts dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; margin-top: .45rem; }
.cards-compact .facts dd { margin: 0; }
.buy-reassurance { margin: .6rem 0 0; font-size: .8rem; color: var(--muted); text-align: center; }

/* Sous-menu des fiches formation */
.section-nav { position: sticky; top: 70px; z-index: 40; background: rgb(255 255 255 / .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.section-nav ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: .45rem 0; overflow-x: auto; scrollbar-width: none; }
.section-nav ul::-webkit-scrollbar { display: none; }
.section-nav a { display: block; white-space: nowrap; padding: .45rem .8rem; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--muted); text-decoration: none; transition: background .15s, color .15s; }
.section-nav a:hover { color: var(--ink); background: var(--bg-soft); }
.section-nav a[aria-current] { color: #fff; background: var(--ink); }
.section-nav + .section .aside-sticky { top: 140px; }
html:has(.section-nav) { scroll-padding-top: 140px; }

/* Tunnel d'inscription en étapes */
.wizard-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.2rem; counter-reset: none; }
.wizard-steps button { width: 100%; display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.wizard-steps button:hover:not(:disabled) { border-color: var(--ink); }
.wizard-steps button:disabled { cursor: default; opacity: .55; }
.wizard-steps button[aria-current] { border-color: var(--ink); background: var(--bg-soft); }
.wizard-num { flex: none; display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--line); font-size: .8rem; font-weight: 700; }
.wizard-steps button[aria-current] .wizard-num { background: var(--ink); color: #fff; }
.wizard-steps button.is-done .wizard-num { background: var(--success); color: #fff; }
.wizard-actions { display: none; }
.is-wizard .wizard-actions { display: flex; justify-content: space-between; gap: .8rem; margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.is-wizard .checkout-form > [data-wizard-target="pane"][hidden] { display: none !important; }
.wizard-pane { display: grid; gap: 1rem; }
.wizard-error { margin: 1rem 0 0; color: var(--red-dark, #B4232F); font-weight: 600; font-size: .92rem; }
.wizard-invalid, fieldset.wizard-invalid .choice { border-color: var(--red-dark, #B4232F) !important; }
.wizard-steps:not(.is-wizard *) { display: none; }
@media (max-width: 700px) { .wizard-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } .wizard-steps button { flex-direction: column; justify-content: center; text-align: center; font-size: .72rem; padding: .5rem .3rem; } }
.modal .wizard-steps { margin-right: 3.2rem; }

/* Tunnel : en-tête aux couleurs du site, cartes blanches sur fond doux */
.checkout-head { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 1.6rem 1.8rem 1.3rem; margin-bottom: 1.5rem; }
.checkout-head h1 { color: #fff; margin: .2rem 0 .5rem; }
.checkout-eyebrow { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #AEB8E0; }
.checkout-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.1rem; }
.checkout-meta span { padding: .25rem .65rem; border-radius: 999px; background: rgb(255 255 255 / .1); font-size: .8rem; font-weight: 600; color: #DCE2F7; }
.checkout-head .wizard-steps { margin: 0; }
.checkout-head .wizard-steps button { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .16); color: #fff; }
.checkout-head .wizard-steps button:hover:not(:disabled) { border-color: rgb(255 255 255 / .6); }
.checkout-head .wizard-steps button[aria-current] { background: #fff; border-color: #fff; color: var(--ink); }
.checkout-head .wizard-num { background: rgb(255 255 255 / .16); color: #fff; }
.checkout-head .wizard-steps button[aria-current] .wizard-num { background: var(--ink); }
.checkout-head .wizard-steps button.is-done .wizard-num { background: var(--success); }
.choice-stack { grid-template-columns: 1fr; }
.summary-media { display: block; width: calc(100% + 3.4rem); max-width: none; margin: -1.7rem -1.7rem 1rem; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.modal:has(.checkout-section) { background: var(--bg-soft); }
.modal .checkout-section { padding-top: 0; }
.modal .checkout-head { border-radius: 0; margin: 0 -2.2rem 1.5rem; padding: 1.8rem 2.2rem 1.4rem; }
.modal .checkout-head h1 { margin-right: 3rem; }
.modal .summary { background: #fff; border: 1px solid var(--line); overflow: hidden; }
.modal .summary-media { width: calc(100% + 2.8rem); margin: -1.4rem -1.4rem 1rem; }
.modal .checkout-block { box-shadow: 0 1px 2px rgb(11 16 38 / .04); }
@media (max-width: 999px) { .summary-media { display: none; } }
@media (max-width: 640px) { .modal .checkout-head { margin: 0 -18px 1rem; padding: 1.4rem 18px 1.1rem; } }
.modal .summary > h2, .modal .summary [data-variant] > .summary-row:first-child { display: none; }
@media (max-width: 999px) {
    .modal .summary [data-variant] > .summary-row:not(.summary-total), .modal .summary > p.small, .modal .summary [data-variant] > p { display: none; }
    .modal .summary .summary-total { margin: 0; padding: 0; border: 0; }
}
@media (max-width: 640px) {
    .modal:has(.checkout-section) { width: 100vw; }
    .checkout-meta span:not(:first-child) { display: none; }
}

/* Tunnel : en-tête sur fond blanc */
.checkout-head { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.checkout-head h1 { color: var(--ink); }
.checkout-eyebrow { color: var(--blue); }
.checkout-meta span { background: var(--bg-soft); color: var(--ink); }
.checkout-head .wizard-steps button { background: #fff; border-color: var(--line); color: var(--ink); }
.checkout-head .wizard-steps button:hover:not(:disabled) { border-color: var(--ink); }
.checkout-head .wizard-steps button[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.checkout-head .wizard-num { background: var(--bg-soft); color: var(--ink); }
.checkout-head .wizard-steps button[aria-current] .wizard-num { background: #fff; color: var(--ink); }
.modal .checkout-head { border: 0; border-bottom: 1px solid var(--line); }

/* Bouton de paiement : sous le récapitulatif à la dernière étape (ordinateur) */
.summary-pay { display: none; }
@media (min-width: 1000px) {
    .is-wizard[data-current-step="5"] .summary-pay { display: block; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
    .is-wizard[data-current-step="5"] .pay-actions { display: none; }
    .summary-pay .secure { margin-top: .6rem; font-size: .78rem; }
}
.summary-pay .btn { white-space: normal; line-height: 1.3; padding-top: .8rem; padding-bottom: .8rem; }
/* Dernière étape : on ne garde que la barre d'étapes pour éviter de faire défiler. */
.is-wizard[data-current-step="5"] .checkout-eyebrow,
.is-wizard[data-current-step="5"] .checkout-head h1,
.is-wizard[data-current-step="5"] .checkout-meta { display: none; }
.modal .is-wizard[data-current-step="5"] .checkout-head { padding-top: 1.2rem; }

/* ---------- Fiche formation : image plein cadre, sommaire vertical, contenu en blocs ---------- */
.btn-outline-light { --bg: transparent; --fg: #fff; border-color: rgb(255 255 255 / .45); }
.btn-outline-light:hover { --bg: rgb(255 255 255 / .1); border-color: #fff; }
.fiche-hero { position: relative; color: #fff; background-color: var(--ink); background-image: linear-gradient(90deg, rgb(0 38 92 / .97) 0%, rgb(0 38 92 / .86) 45%, rgb(0 38 92 / .2) 100%), var(--hero-image, none); background-size: cover; background-position: center right; }
.fiche-hero-inner { padding: clamp(2rem, 5vw, 3.6rem) 24px clamp(2rem, 4vw, 3rem); }
.fiche-hero-inner > * { max-width: 640px; }
.fiche-hero .breadcrumb, .fiche-hero .breadcrumb a { color: #AEB8E0; }
.fiche-hero-tag { display: inline-block; margin-top: 1rem; padding: .25rem .8rem; border-radius: 999px; background: rgb(255 255 255 / .12); font-size: .82rem; font-weight: 600; }
.fiche-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.05; margin: 1rem 0 .8rem; }
.fiche-hero-lead { font-size: 1.1rem; color: #DCE2F7; margin: 0 0 1.5rem; }
.fiche-hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.fiche-hero-facts { background: rgb(0 38 92 / .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.fiche-hero-facts .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
.fiche-hero-facts strong { display: block; font-size: 1.05rem; }
.fiche-hero-facts small { color: #AEB8E0; font-size: .82rem; }
@media (max-width: 700px) { .fiche-hero { background-image: linear-gradient(180deg, rgb(0 38 92 / .92), rgb(0 38 92 / .97)), var(--hero-image, none); } }

.fiche-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr) 320px; gap: 2.5rem; align-items: start; }
.fiche-toc { position: sticky; top: 96px; }
.fiche-toc-title { margin: 0 0 .6rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fiche-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.fiche-toc a { display: block; margin-left: -2px; padding: .45rem .8rem; border-left: 2px solid transparent; font-size: .9rem; font-weight: 500; color: var(--muted); text-decoration: none; }
.fiche-toc a:hover { color: var(--ink); }
.fiche-toc a[aria-current] { border-left-color: var(--red); color: var(--ink); font-weight: 700; }
.fiche-toc-help { margin: 1.1rem 0 0; font-size: .82rem; color: var(--muted); }
.fiche-aside { position: sticky; top: 96px; }
.fiche-content { display: flex; flex-direction: column; gap: 3.2rem; min-width: 0; }
.fiche-content h2 { font-size: clamp(1.5rem, 2.4vw, 1.8rem); margin: 0 0 .9rem; }
.fiche-intro { font-size: 1.08rem; max-width: 64ch; }
.fiche-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .8rem; margin-top: 1.2rem; }
.fiche-facts > div { padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--bg-soft); font-size: .93rem; }
.fiche-facts strong { display: block; color: var(--ink); margin-bottom: .2rem; }
.fiche-facts p { margin: 0; }
.fiche-more { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .8rem; }
.fiche-more summary { cursor: pointer; font-weight: 600; color: var(--blue); }
.fiche-more[open] summary { margin-bottom: .8rem; }
.fiche-objectives { list-style: none; counter-reset: obj; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .8rem; }
.fiche-objectives li { counter-increment: obj; display: flex; gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); font-size: .95rem; }
.fiche-objectives li::before { content: counter(obj); flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: .82rem; }
.fiche-modules { display: grid; gap: .6rem; }
.fiche-module { border: 1px solid var(--line); border-radius: var(--radius); }
.fiche-module summary { list-style: none; cursor: pointer; display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; font-weight: 700; color: var(--ink); }
.fiche-module summary::-webkit-details-marker { display: none; }
.fiche-module summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; color: var(--muted); }
.fiche-module[open] summary::after { content: "−"; }
.fiche-module-num { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; color: #C8CEDF; }
.fiche-module-body { padding: 0 1.2rem 1.1rem 3.6rem; font-size: .95rem; }
.fiche-module-body ul { margin: 0 0 .8rem; padding-left: 1.1rem; }
.fiche-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .8rem; }
.fiche-steps li { padding: 1rem; border-top: 3px solid var(--ink); border-radius: 0 0 var(--radius-sm) var(--radius-sm); background: var(--bg-soft); }
.fiche-steps strong { display: block; color: var(--ink); }
.fiche-steps span { font-size: .88rem; }
.fiche-groups { display: grid; gap: .6rem; }
.fiche-group { border: 1px solid var(--line); border-radius: var(--radius); }
.fiche-group summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; padding: 1rem 1.2rem; color: var(--ink); }
.fiche-group summary::-webkit-details-marker { display: none; }
.fiche-group summary::after { content: "+"; grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 1.3rem; color: var(--muted); }
.fiche-group[open] summary::after { content: "−"; }
.fiche-group summary small { color: var(--muted); font-size: .84rem; }
.fiche-group .info-table { margin: 0 1.2rem 1rem; width: calc(100% - 2.4rem); }
@media (max-width: 1200px) { .fiche-layout { grid-template-columns: minmax(0, 1fr) 300px; } .fiche-toc { display: none; } }
@media (max-width: 1040px) { .fiche-layout { grid-template-columns: 1fr; } .fiche-aside { position: static; } }
.container.fiche-layout { max-width: 1360px; grid-template-columns: 190px minmax(0, 1fr) 300px; }
.fiche-objectives { grid-template-columns: 1fr; gap: .2rem; }
.fiche-objectives li { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: .75rem 0; align-items: center; }
.fiche-content .grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
@media (max-width: 1200px) { .container.fiche-layout { grid-template-columns: minmax(0, 1fr) 300px; } }
@media (max-width: 1040px) { .container.fiche-layout { grid-template-columns: 1fr; } }
.review { display: grid; gap: .8rem; margin-top: 1rem; }
.review-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.review-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .5rem; }
.review-head h3 { margin: 0; font-size: 1rem; }
.review-edit { border: 0; background: none; color: var(--blue); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.review dl { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: .35rem 1rem; margin: 0; font-size: .93rem; }
.review dt { color: var(--muted); }
.review dd { margin: 0; color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .review dl { grid-template-columns: 1fr; gap: 0; } .review dd { margin-bottom: .4rem; } }
.wizard-steps, .checkout-head .wizard-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } @media (max-width: 700px) { .wizard-steps button span:last-child { font-size: .66rem; } }

/* ---------- Mega menu Formations ---------- */
@media (min-width: 961px) {
    .nav-mega { position: static; }
    .mega-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgb(11 16 38 / .35); z-index: 60; }
    .mega-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) 280px; gap: 2rem; padding-top: 1.6rem; padding-bottom: 1.8rem; }
}
.mega-title { margin: 0 0 .6rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.mega-col a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: .55rem .6rem; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; transition: background .15s; }
.mega-col a:hover { background: var(--bg-soft); }
.mega-col img, .mega-thumb { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; }
.mega-thumb { display: grid; place-items: center; background: linear-gradient(135deg, #00337A, #004AAD); color: #fff; font-size: .72rem; font-weight: 700; }
.mega-text strong { display: block; font-size: .92rem; font-weight: 650; line-height: 1.3; }
.mega-text small { display: block; font-size: .8rem; color: var(--muted); }
.mega-price { font-family: var(--font-display); font-weight: 700; font-size: .95rem; white-space: nowrap; }
.mega-side { display: flex; flex-direction: column; gap: .3rem; padding: 1rem; border-radius: var(--radius); background: var(--bg-soft); }
.mega-side a:not(.btn) { display: block; padding: .55rem .6rem; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; }
.mega-side a:not(.btn):hover { background: #fff; }
.mega-side strong { display: block; font-size: .92rem; }
.mega-side small { display: block; font-size: .8rem; color: var(--muted); }
.mega-all { margin-top: .5rem; justify-content: center; }
@media (max-width: 960px) {
    .mega-panel { padding: 0 0 .5rem .5rem; }
    .mega-inner { display: grid; gap: 1rem; padding: .5rem 0; }
    .mega-col a { grid-template-columns: minmax(0, 1fr) auto; }
    .mega-col img, .mega-thumb { display: none; }
    .mega-side { background: none; padding: 0; }
}
.buy-facts { list-style: none; margin: 1rem 0 0; padding: .9rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .35rem; font-size: .9rem; } .buy-facts li::before { content: '✓'; color: var(--blue); font-weight: 700; margin-right: .5rem; }
/* Bouton de paiement : montant en évidence, suite de la phrase sur une seconde ligne. */
[data-checkout-target="submitPay"] { flex-direction: column; gap: .1rem; line-height: 1.2; white-space: normal; }
[data-checkout-target="payLabel"]:not([hidden]) { display: flex; flex-direction: column; align-items: center; }
.pay-sub { display: block; font-size: .78rem; font-weight: 600; opacity: .9; }


/* ==========================================================================
   Ô'TOP Formations — composants du cahier du 25/11/2026
   ========================================================================== */
.brand-mark img { height: 44px; width: 44px; border-radius: 50%; }
.site-footer .brand-mark img { height: 56px; width: 56px; }
.nav-learner { font-size: .85rem !important; color: var(--blue) !important; }
.footer-social { list-style: none; display: flex; flex-wrap: wrap; gap: .8rem; padding: 0; margin: 0 0 1.4rem; }
.footer-social a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-links small { color: #9CA3BF; }
.partner-mention { color: inherit; opacity: .8; margin: .6rem 0 0; font-size: .8rem; }
.footer-bottom .partner-mention { color: #9CA3BF; }

/* Prix : TTC en principal, HT en dessous */
.price-ht { margin: .15rem 0 .4rem; color: var(--muted); font-size: .86rem; }
.card-price .price { margin: 0; }
.card-price .price-ht { font-size: .8rem; margin-bottom: 0; }
.cards-compact .card-price .price-ht { max-width: 22ch; }
.price-lines { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .4rem; }
.price-lines li { display: flex; flex-wrap: wrap; gap: .4rem; align-items: baseline; justify-content: space-between; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.price-lines li span { margin-right: auto; }
.price-lines .price-total { border-color: var(--blue); background: var(--blue-soft); }

/* Boutons groupés et lien « Une question ? » */
.cta-group { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.cta-stack { flex-direction: column; align-items: stretch; margin-top: 1rem; }
.question-link { font-size: .9rem; color: var(--muted); margin: .7rem 0 0; }
.question-link a { font-weight: 600; }
.financing-link { display: inline-block; margin-top: .8rem; }
.fiche-hero-actions .cta-group .btn-ghost { --bg: transparent; --fg: #fff; border-color: rgb(255 255 255 / .6); }
.fiche-hero.no-image .fiche-hero-actions .cta-group .btn-ghost { --bg: #fff; --fg: var(--blue); border-color: var(--blue); }

/* Webinaire communauté : hors parcours, visuellement distinct */
.webinar-note { font-size: .84rem; color: var(--muted); border-left: 3px dashed var(--red); padding: .2rem 0 .2rem .7rem; margin: .8rem 0 0; }
.webinar-step { display: flex; gap: 1rem; align-items: flex-start; margin-top: 1.6rem; padding: 1.1rem 1.3rem; border: 2px dashed var(--line-strong); border-radius: var(--radius); background: #fff; }
.webinar-step p { margin: 0; }
.webinar-tag { flex: none; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--red-dark); background: var(--red-soft); padding: .25rem .6rem; border-radius: 6px; }

/* Accueil */
.hero-signature { margin: 1.2rem 0 0; font-style: italic; color: var(--red-dark); font-weight: 600; }
.hero-compact { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3rem); }
.audience-cards { gap: 1.2rem; }
.audience-card { display: grid; gap: .5rem; padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.audience-card:hover { border-color: var(--blue); transform: translateY(-2px); color: var(--text); }
.audience-card strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.audience-more { color: var(--blue); font-weight: 650; }
.theme-tiles { gap: 1rem; }
.theme-tile { display: grid; gap: .5rem; padding: 1.5rem; border-radius: var(--radius); background: #fff; border-top: 4px solid var(--blue); text-decoration: none; color: var(--text); box-shadow: var(--shadow); }
.theme-tile:nth-child(2) { border-top-color: var(--red); }
.theme-tile:nth-child(3) { border-top-color: var(--navy); }
.theme-tile strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.theme-tile small { color: var(--blue); font-weight: 650; }
.socle-band { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 1.4rem; padding: 1.2rem 1.4rem; border-radius: var(--radius); background: var(--blue); color: #fff; }
.socle-band p { margin: 0; }
.socle-band .btn-outline { --bg: #fff; }

/* Catalogue en thématiques */
.theme-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.theme-nav a { padding: .45rem .9rem; border: 1px solid var(--blue); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9rem; }
.theme-nav a:hover { background: var(--blue-soft); }
.theme-section { scroll-margin-top: 90px; }
.start-here { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; margin-top: 1.6rem; padding: 1rem 1.3rem; border-left: 4px solid var(--red); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); }
.start-here p { margin: 0; flex: 1 1 420px; }
.section-head .lead { max-width: 62ch; }

/* Créateurs : parcours en 3 étapes */
.journey { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; counter-reset: none; }
.journey-step { position: relative; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.journey-step h3 { margin-top: .6rem; }
.journey-num { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #fff; background: var(--blue); padding: .3rem .7rem; border-radius: 999px; }
.journey-step:nth-child(2) .journey-num { background: var(--red); }
.journey-step:nth-child(3) .journey-num { background: var(--navy); }
.journey-price { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); margin-bottom: .3rem; }
.pack-highlight { max-width: 560px; margin: 0 auto; }
@media (max-width: 900px) { .journey { grid-template-columns: 1fr; } }
.callout { padding: 1.5rem 1.6rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); }

/* Formulaires */
.form-legend { font-size: .85rem; color: var(--muted); margin: 0 0 .8rem; }
.form-legend span, .req { color: var(--red-dark); font-weight: 700; }
.opt { color: var(--muted); font-weight: 400; font-size: .85em; }
.field.is-disabled input { background: var(--bg-soft); color: var(--muted); cursor: not-allowed; }
.estimate-tool { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.checkout-form .choice-cards .choice { height: 100%; align-items: center; }
.checkout-form .choice-cards { align-items: stretch; }
.agenda-choices { display: flex; flex-wrap: wrap; gap: .6rem; margin: .4rem 0 1rem; }
.agenda-frame { margin-bottom: .8rem; }
.module-duration { color: var(--muted); font-weight: 500; }

/* En-tête : le logo rond porte déjà le nom ; le nom en texte n'apparaît que sur les grands écrans. */
.brand-name { font-size: 1.05rem; }
@media (max-width: 1499px) { .site-header .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); } }
@media (min-width: 961px) and (max-width: 1320px) {
    .main-nav > a:not(.btn), .nav-dropdown > summary { padding: .4rem .45rem; font-size: .86rem; }
    .nav-learner { display: none; }
}
.header-inner { gap: .8rem; }
.hero-card .price { font-size: 2.4rem; color: var(--ink); margin: 1rem 0 .1rem; }
.hero-card .price-ht, .hero-card .small { font-size: .85rem; }
.fiche-hero .question-link, .fiche-hero .question-link a { color: #fff; }
.buy-box .btn-link { display: inline-block; }

/* Méga-menu : socle IA + 3 thématiques + colonne « Aller plus loin » (sans vignette). */
@media (min-width: 961px) {
    .mega-inner { grid-template-columns: repeat(4, minmax(0, 1fr)) 240px; gap: 1.4rem; }
    .mega-col a { grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; padding: .5rem .55rem; }
    .mega-text strong { font-size: .88rem; }
    .mega-price { font-size: .86rem; }
    .mega-title a { color: inherit; text-decoration: none; }
    .mega-title a:hover { color: var(--blue); }
}
@media (min-width: 961px) and (max-width: 1240px) {
    .mega-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mega-side { grid-column: 1 / -1; }
}
/* Le logo rond porte déjà le nom de la marque : le nom en texte reste pour les lecteurs d'écran. */
.site-header .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@media (min-width: 961px) {
    .mega-col a { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
    .mega-price { color: var(--blue); }
}
