/* Formateurs Toros — feuille de style principale */
:root {
  --red: #d9232d;
  --red-600: #b81b24;
  --red-50: #fdeeee;
  --ink: #16161a;
  --ink-2: #2a2a31;
  --muted: #5d5d68;
  --line: #e7e7ec;
  --bg: #ffffff;
  --bg-soft: #f6f6f8;
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(22, 22, 26, .28);
  --shadow-sm: 0 6px 20px -10px rgba(22, 22, 26, .25);
  --maxw: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sora", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .95em 1.5em; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 26px -10px rgba(217, 35, 45, .7); }
.btn-primary:hover { background: var(--red-600); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn svg { width: 1.1em; height: 1.1em; }

.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::before { display: none; }

/* En-tête */
.topbar { background: var(--ink); color: #d6d6dc; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { text-decoration: none; color: #fff; }
.topbar .tb-links { display: flex; gap: 20px; }
.topbar .badge-saaq { display: inline-flex; align-items: center; gap: 8px; }
.topbar .badge-saaq b { color: #fff; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2fd27a; box-shadow: 0 0 0 3px rgba(47, 210, 122, .25); }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .4); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .logo { width: 176px; height: auto; }
.footer .brand .logo { background: #fff; padding: 10px 14px; border-radius: 12px; width: 176px; box-sizing: content-box; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: "Archivo Black", var(--font-head); font-size: 1.55rem; letter-spacing: .02em; color: var(--ink); }
.brand-text span { font-size: .66rem; font-weight: 700; letter-spacing: .14em; color: var(--red); margin-top: 4px; white-space: nowrap; }
.brand-text span em { font-style: normal; color: var(--muted); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); padding: 8px 12px; border-radius: 10px; }
.nav a:hover { background: var(--bg-soft); }
.nav .btn { padding: .7em 1.2em; margin-left: 8px; color: #fff; }
.nav .btn:hover { background: var(--red-600); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; border-radius: 10px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Héros */
.hero { position: relative; overflow: hidden; padding: 80px 0 96px; background: radial-gradient(1200px 500px at 85% -10%, rgba(217, 35, 45, .12), transparent 60%), radial-gradient(800px 400px at -10% 110%, rgba(217, 35, 45, .07), transparent 60%); }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 .hl { color: var(--red); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .18em; background: rgba(217, 35, 45, .15); z-index: -1; border-radius: 4px; }
.hero .lead { margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill-saaq { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 600; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.pill-saaq .chip { white-space: nowrap; background: var(--red); color: #fff; font-weight: 800; padding: 4px 10px; border-radius: 999px; font-size: .8rem; letter-spacing: .04em; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 30px; color: var(--muted); font-size: .93rem; font-weight: 500; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--red); flex: none; }

.hero-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.hero-card .hc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hero-card .hc-head h3 { margin: 0; font-size: 1.05rem; }
.hero-card .tag { font-size: .75rem; font-weight: 700; color: #138a4a; background: #e7f8ee; padding: 4px 10px; border-radius: 999px; }
.steps-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps-mini li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg-soft); font-weight: 600; font-size: .95rem; }
.steps-mini .ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font-size: .8rem; font-weight: 800; flex: none; }
.steps-mini li.done .ic { background: var(--red); border-color: var(--red); color: #fff; }
.steps-mini li.active { background: #fff; border: 2px solid var(--red); }
.steps-mini li.active .ic { border-color: var(--red); color: var(--red); }
.progress { height: 8px; background: var(--bg-soft); border-radius: 99px; overflow: hidden; margin-top: 18px; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), #ff5a5f); border-radius: 99px; transition: width 1.6s cubic-bezier(.2, .8, .2, 1); }
.hero-card.in .progress i { width: 72%; }
.float-badge { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; font-size: .88rem; animation: bob 5s ease-in-out infinite; }
.float-badge b { display: block; font-size: 1.1rem; font-family: var(--font-head); }
.float-badge .fb-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--red-50); color: var(--red); }
.float-badge .fb-ic svg { width: 22px; height: 22px; }
.fb-1 { left: -38px; bottom: -26px; }
.fb-2 { right: -22px; top: -70px; animation-delay: -2.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Bandeau confiance */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 26px 20px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item .ti-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--red-50); color: var(--red); display: grid; place-items: center; flex: none; }
.trust-item .ti-ic svg { width: 24px; height: 24px; }
.trust-item b { display: block; font-size: .98rem; }
.trust-item small { color: var(--muted); font-size: .85rem; }

/* Audiences */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aud-card { position: relative; border-radius: 24px; padding: 40px; overflow: hidden; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.aud-card.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.aud-card.dark .muted { color: #b9b9c3; }
.aud-card .label { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--red); color: #fff; margin-bottom: 18px; align-self: flex-start; }
.aud-card h3 { font-size: 1.65rem; margin-bottom: 12px; }
.aud-card .muted { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.aud-card .btn { margin-top: auto; align-self: flex-start; }
.aud-card .watermark { position: absolute; right: -40px; bottom: -40px; width: 220px; opacity: .06; pointer-events: none; }
.aud-card.dark .watermark { opacity: .1; }

/* Avantages */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.benefit .b-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.benefit .b-ic svg { width: 26px; height: 26px; }
.benefit p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Programme */
.program { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.program-aside { position: sticky; top: 110px; }
.program-aside .note { margin-top: 26px; padding: 20px; border-radius: 16px; background: #fff; border: 1px dashed #d4d4dc; font-size: .93rem; color: var(--muted); }
.modules { display: grid; gap: 14px; counter-reset: mod; }
.module { display: grid; grid-template-columns: 56px 1fr; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; transition: border-color .2s, box-shadow .2s; }
.module:hover { border-color: rgba(217, 35, 45, .4); box-shadow: var(--shadow-sm); }
.module .num { counter-increment: mod; width: 56px; height: 56px; border-radius: 16px; background: var(--red-50); color: var(--red); font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; }
.module .num::before { content: counter(mod, decimal-leading-zero); }
.module h3 { margin-bottom: 6px; }
.module p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Déroulement */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, #d4d4dc 0 8px, transparent 8px 16px); }
.t-step { position: relative; text-align: center; padding: 0 8px; }
.t-step .t-num { position: relative; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: #fff; border: 2px solid var(--red); color: var(--red); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; box-shadow: 0 0 0 8px var(--bg-soft); }
.t-step:first-child .t-num { background: var(--red); color: #fff; }
.t-step p { color: var(--muted); font-size: .95rem; margin: 0; }
.t-step .free { display: inline-block; margin-top: 10px; font-size: .75rem; font-weight: 800; color: #138a4a; background: #e7f8ee; padding: 3px 10px; border-radius: 99px; }

/* Formules */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px 30px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--red); box-shadow: var(--shadow); transform: translateY(-10px); }
.plan .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.plan .for { font-size: .85rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .08em; }
.plan h3 { font-size: 1.45rem; margin: 8px 0 8px; }
.plan .price { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; margin: 6px 0 4px; }
.plan .price .tax { font-size: .8rem; font-weight: 700; color: var(--muted); font-family: var(--font); }
.plan .price small { display: block; font-family: var(--font); font-weight: 500; font-size: .85rem; color: var(--muted); }
.plan .checks { margin: 22px 0 28px; font-size: .96rem; }
.plan .btn { margin-top: auto; width: 100%; }

/* Admissibilité */
.elig { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--ink); color: #fff; border-radius: 28px; padding: 56px; position: relative; overflow: hidden; }
.elig::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 35, 45, .45), transparent 70%); }
.elig > * { position: relative; z-index: 1; }
.elig .lead { color: #c4c4cc; }
.elig .checks li { color: #ececf1; }
.elig small { color: #a3a3ad; display: block; margin-top: 8px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(217, 35, 45, .45); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9232d' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 20px; }

/* CTA final */
.cta-band { background: linear-gradient(120deg, var(--red) 0%, #a5141c 100%); color: #fff; border-radius: 28px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 8px; }
.cta-band p { margin: 0; opacity: .9; }

/* Contact */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 14px; margin-top: 26px; }
.ci { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; background: #fff; transition: border-color .2s, transform .2s; }
.ci:hover { border-color: var(--red); transform: translateX(4px); }
.ci .ci-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--ink); flex: none; }
.ci .ci-ic svg { width: 22px; height: 22px; }
.ci.wa .ci-ic { background: #25d366; }
.ci.mail .ci-ic { background: var(--red); }
.ci small { display: block; color: var(--muted); font-size: .82rem; }
.ci b { font-size: 1.02rem; word-break: break-word; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 22px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { display: block; text-align: center; padding: 12px 8px; border: 2px solid var(--line); border-radius: 12px; font-weight: 700; font-size: .9rem; cursor: pointer; transition: all .15s; }
.seg input:checked + label { border-color: var(--red); background: var(--red-50); color: var(--red-600); }
.seg input:focus-visible + label { outline: 3px solid var(--red); outline-offset: 2px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field label .opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid #d9d9e0; border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(217, 35, 45, .12); }
.field.is-hidden { display: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 6px 0 20px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }
.hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form-status { margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #e7f8ee; color: #0f6b3a; }
.form-status.err { display: block; background: var(--red-50); color: var(--red-600); }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }

/* Pied de page */
.footer { background: var(--ink); color: #b9b9c3; padding: 64px 0 28px; margin-top: 96px; font-size: .94rem; }
.footer a { text-decoration: none; color: #e4e4ea; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand-text strong { color: #fff; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer .saaq { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 14px; border: 1px solid #3a3a42; border-radius: 12px; color: #fff; font-weight: 600; font-size: .88rem; }
.footer .saaq b { color: var(--red); background: #fff; padding: 2px 8px; border-radius: 6px; }
.footer-bottom { border-top: 1px solid #2f2f37; margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; color: #8d8d98; }
.footer-bottom p { margin: 0; max-width: 760px; }

/* Bouton de contact flottant */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab-main { width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--red); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 14px 34px -10px rgba(217, 35, 45, .8); transition: transform .2s, background .2s; position: relative; }
.fab-main:hover { background: var(--red-600); transform: scale(1.05); }
.fab-main::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); animation: ping 2.4s cubic-bezier(0, 0, .2, 1) infinite; }
.fab.open .fab-main::before { animation: none; opacity: 0; }
.fab-main svg { width: 28px; height: 28px; transition: transform .25s, opacity .2s; position: absolute; }
.fab-main .i-close { opacity: 0; transform: rotate(-90deg); }
.fab.open .fab-main .i-chat { opacity: 0; transform: rotate(90deg); }
.fab.open .fab-main .i-close { opacity: 1; transform: rotate(0); }
@keyframes ping { 75%, 100% { transform: scale(1.5); opacity: 0; } }
.fab-menu { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.fab-item { display: flex; align-items: center; gap: 12px; text-decoration: none; opacity: 0; transform: translateY(12px) scale(.95); pointer-events: none; transition: opacity .2s, transform .2s; }
.fab.open .fab-item { opacity: 1; transform: none; pointer-events: auto; }
.fab.open .fab-item:nth-child(2) { transition-delay: .04s; }
.fab.open .fab-item:nth-child(1) { transition-delay: .08s; }
.fab-item span { background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem; padding: 8px 14px; border-radius: 10px; box-shadow: var(--shadow-sm); white-space: nowrap; }
.fab-item i { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm); }
.fab-item i svg { width: 24px; height: 24px; }
.fab-item.wa i { background: #25d366; }
.fab-item.tel i { background: var(--ink); }
.fab-item.mail i { background: var(--red); }

/* Pages légales */
.legal { padding: 64px 0 0; }
.legal .container { max-width: 860px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal p, .legal li { color: #3b3b44; }
.legal .updated { color: var(--muted); font-size: .92rem; }
.legal .box { background: var(--bg-soft); border-radius: 16px; padding: 20px 24px; margin: 20px 0; }

/* Animations d'apparition */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1020px) {
  .hero .container, .program, .contact, .elig { grid-template-columns: 1fr; }
  .program-aside { position: static; }
  .hero-card { max-width: 520px; margin: 20px auto 0; }
  .trust .container { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .benefits, .plans { grid-template-columns: 1fr 1fr; }
  .plan.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .3); transform: translateY(-120%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; z-index: -1; }
  .nav.open { transform: none; visibility: visible; transition: transform .3s ease; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .audience, .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .t-step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; text-align: left; align-items: start; }
  .t-step .t-num { margin: 0; }
  .topbar .tb-links a.hide-sm { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 72px; }
  .benefits, .plans, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .trust .container { grid-template-columns: 1fr; }
  .trust-item { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .aud-card, .elig, .cta-band, .form { padding: 28px 22px; }
  .seg { grid-template-columns: 1fr; }
  .float-badge { display: none; }
  .cta-row .btn { width: 100%; }
  .topbar .badge-saaq span.long { display: none; }
  .brand-text span em { display: none; }
  .fab { right: 16px; bottom: 16px; }
  .fab-main { width: 58px; height: 58px; }
}

/* Fenêtre de consentement */
.cc { position: fixed; left: 20px; bottom: 20px; z-index: 120; width: min(420px, calc(100vw - 40px)); background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 20px; box-shadow: 0 24px 60px -20px rgba(22, 22, 26, .45); font-size: .92rem; animation: cc-in .35s ease; }
.cc[hidden] { display: none; }
.cc p { margin: 0 0 14px; color: var(--muted); }
.cc a { color: var(--red-600); font-weight: 600; }
.cc .cc-title { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--ink); margin-bottom: 8px; padding-right: 28px; }
.cc-actions { display: flex; gap: 10px; }
.cc-actions .btn { flex: 1; padding: .75em 1em; font-size: .95rem; }
.cc-close { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--bg-soft); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.cc-close:hover { background: var(--line); }
@keyframes cc-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .cc { left: 12px; right: 12px; bottom: 88px; width: auto; }
}
