/* ==========================================================
   Club des 100 — USCB · feuille de style principale
   Couleurs : les valeurs --primary et --accent sont réglables
   depuis l'admin (Textes & images). Le reste en découle.
   ========================================================== */

@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-Black.woff") format("woff"); font-weight: 800 900; font-style: normal; font-display: swap; }

:root {
  /* Identité (reprise de uscb.fr) */
  --primary: #213570;                 /* marine USCB */
  --accent: #ed3326;                  /* rouge USCB (décor : jauges, rubans, filets) */
  --navy-deep: color-mix(in srgb, var(--primary) 62%, #050a1c);   /* ≈ #121d40 */
  --accent-ink: color-mix(in srgb, var(--accent) 82%, black);     /* rouge lisible : boutons et textes (contraste ≥ 4,5:1) */
  --accent-light: color-mix(in srgb, var(--accent) 55%, white);   /* rouge lisible sur fond marine */
  --ink: #1d1e20;
  --muted: #5d667a;
  --line: #e2e6ef;
  --soft: #f4f6fa;
  --white: #fff;
  --ok: #157a3e;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 8px 24px rgba(16, 26, 58, .07);
  --shadow-lg: 0 24px 60px rgba(16, 26, 58, .16);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 1.0625rem; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 .5em; color: inherit; }
h1, h2 { font-family: var(--font-display); font-weight: 900; letter-spacing: -.025em; }
h1 { font-size: clamp(2.35rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 32px); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--primary); padding: 10px 16px; z-index: 200; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.muted-light { color: rgba(255,255,255,.82); }
.hp { position: absolute; left: -9999px; }
.req { color: var(--accent-ink); font-weight: 700; }
mark.todo { background: #fff1b8; color: #6b4e00; padding: 1px 5px; border-radius: 4px; font-size: .9em; }
:focus-visible { outline: 3px solid #ffb703; outline-offset: 3px; border-radius: 4px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 2px solid transparent; border-radius: 999px; padding: 12px 24px; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .95rem; }
.btn-lg { min-height: 54px; padding: 14px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent-ink); color: #fff; box-shadow: 0 10px 22px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 70%, black); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-ghost-dark { border-color: var(--line); color: var(--primary); background: #fff; }
.btn-ghost-dark:hover { border-color: var(--primary); }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " →"; }
.link-light { color: #fff; }

/* ---------- En-tête ---------- */
.topbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.topbar.scrolled { box-shadow: 0 6px 20px rgba(16,26,58,.08); border-color: var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); text-decoration: none; }
.brand-logo { height: 46px; width: auto; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--primary); color: #fff; font-family: var(--font-display); font-weight: 900; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-weight: 700; font-size: 1rem; }
.brand-text small { font-size: .8rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { border-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; min-width: 48px; min-height: 48px; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--primary); margin: 5px auto; border-radius: 2px; transition: transform .2s, opacity .2s; }
@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 6px 16px 20px; box-shadow: 0 16px 30px rgba(16,26,58,.12); border-top: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 400px) { .brand-text { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy-deep); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 420px at 92% -10%, color-mix(in srgb, var(--primary) 85%, white 15%), transparent 70%),
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,.18)); opacity: .9; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; padding: 80px 0 128px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.88); margin-bottom: 20px; }
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); }
.hero h1 { max-width: 13em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.9); max-width: 34em; margin-bottom: 18px; }
.lead a { color: #fff; }
.price-chip { display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 7px 16px; font-size: 1rem; margin-bottom: 28px; }
.price-chip strong { font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; align-items: center; gap: 12px; margin: 32px 0 0; font-size: .92rem; color: rgba(255,255,255,.8); }
.trust img { width: 40px; height: 40px; object-fit: contain; }
.hero-media { position: relative; }
.hero-media img, .hero-media .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.hero-media::after { content: ""; position: absolute; left: -18px; bottom: -18px; width: 38%; height: 38%; border-left: 4px solid var(--accent); border-bottom: 4px solid var(--accent); border-radius: 0 0 0 28px; pointer-events: none; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 110px; }
  .hero-media::after { display: none; }
}

/* Visuels de remplacement (pas de photo fournie) */
.ph { position: relative; overflow: hidden; background:
  linear-gradient(90deg, rgba(255,255,255,.75) 0 0) 50% 0 / 3px 100% no-repeat,
  repeating-linear-gradient(90deg, #2f8f49 0 10%, #2a8242 10% 20%); }
.ph::before { content: ""; position: absolute; inset: 7%; border: 3px solid rgba(255,255,255,.78); border-radius: 4px; }
.ph::after { content: ""; position: absolute; left: 50%; top: 50%; width: 24%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 3px solid rgba(255,255,255,.78); border-radius: 50%; }
.ph-tribune { background: linear-gradient(180deg, #dfe5f1 0 38%, transparent 38%), repeating-linear-gradient(180deg, var(--primary) 0 14px, color-mix(in srgb, var(--primary) 80%, white) 14px 20px) 0 38% / 100% 34% no-repeat, linear-gradient(#2f8f49, #2a8242); }
.ph-tribune::before { inset: auto 6% 6% 6%; height: 22%; border-color: rgba(255,255,255,.7); border-bottom: 0; }
.ph-tribune::after { display: none; }
.ph-tag { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; background: #fff1b8; color: #5c4300; font-size: .82rem; font-weight: 600; padding: 8px 12px; border-radius: 8px; }

/* ---------- Jauge « pionniers » ---------- */
.pioneers { position: relative; z-index: 2; margin-top: -72px; }
.pion-card { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 30px 36px; border-top: 4px solid var(--accent); }
.pion-count { font-family: var(--font-display); font-weight: 900; color: var(--primary); line-height: .9; white-space: nowrap; }
.pion-count span { font-size: clamp(3.6rem, 7vw, 5rem); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.pion-count small { font-size: 1.5rem; color: var(--muted); margin-left: 6px; font-weight: 900; }
.pion-body h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 6px; }
.pion-body p { color: var(--muted); margin-bottom: 12px; }
.pion-money { margin: 12px 0 0 !important; color: var(--ink) !important; }
.pion-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.logo-stack { display: flex; list-style: none; margin: 0; padding: 0; }
.logo-stack li { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); margin-left: -10px; overflow: hidden; display: grid; place-items: center; }
.logo-stack img { width: 80%; height: 80%; object-fit: contain; }
.bar { height: 12px; border-radius: 999px; background: #e9edf5; overflow: hidden; }
.bar span { display: block; height: 100%; width: max(var(--w, 0%), 8px); border-radius: inherit; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 65%, #ffb000)); transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.js .bar span:not(.go) { width: 0; }
@media (max-width: 900px) {
  .pion-card { grid-template-columns: 1fr; gap: 14px; padding: 26px 22px; text-align: left; }
  .pion-side { align-items: stretch; }
  .logo-stack { padding-left: 10px; }
}

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.pioneers + .section { padding-top: 88px; }
.section-soft { background: var(--soft); }
.section-navy { background: var(--navy-deep); color: #fff; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-head .muted { font-size: 1.05rem; }
.eyebrow { display: inline-block; color: var(--accent-ink); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; margin-bottom: 12px; }
.eyebrow-light { color: var(--accent-light); }
.two-col { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.prose { color: var(--muted); font-size: 1.1rem; }
.h-small { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); margin-top: 28px; }
@media (max-width: 900px) { .section { padding: 72px 0; } .two-col { grid-template-columns: 1fr; gap: 36px; } }

/* Projet */
.project-media img, .project-media .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.fund-list { list-style: none; counter-reset: f; margin: 0; padding: 0; display: grid; gap: 12px; }
.fund-list li { counter-increment: f; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; background: var(--soft); border-radius: 14px; padding: 14px 16px; }
.fund-list li::before { content: counter(f); grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary); color: #fff; font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; }
.fund-list strong { color: var(--ink); }
.fund-list span { color: var(--muted); font-size: .98rem; }

/* Le club */
.club-head { display: flex; align-items: center; gap: 24px; margin-bottom: 36px; }
.club-head img { width: 96px; height: 96px; flex-shrink: 0; }
.club-head h2 { margin: 0; }
.stats { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.stats li { background: var(--navy-deep); padding: 26px 22px; }
.stat-num { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -.03em; line-height: 1; margin-bottom: 6px; }
.stat-label { color: rgba(255,255,255,.8); font-weight: 600; }
.club-text { columns: 2 320px; column-gap: 48px; color: rgba(255,255,255,.85); }
.club-text p { break-inside: avoid; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 32px; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: rgba(255,255,255,.08); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.club-link { margin: 28px 0 0; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .club-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .club-head img { width: 72px; height: 72px; }
}

/* Avantages */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.feature p { color: var(--muted); margin: 0; }
.icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 10%, white); margin-bottom: 20px; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }

/* Packs */
.packs { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 1040px; margin: 0 auto; align-items: stretch; }
.packs-2 { max-width: 820px; }
.pack { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 30px 30px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.pack h3 { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--primary); margin-bottom: 4px; }
.pack-hl { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.ribbon { position: absolute; top: -14px; left: 30px; background: var(--accent-ink); color: #fff; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 6px 14px; border-radius: 999px; }
.price { font-family: var(--font-display); font-size: 3rem; font-weight: 900; color: var(--ink); letter-spacing: -.03em; margin: 0 0 4px; line-height: 1.05; }
.price span { font-family: var(--font); font-size: 1rem; font-weight: 600; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.tagline { color: var(--muted); font-size: .98rem; min-height: 1.6em; }
.checks { list-style: none; padding: 0; margin: 6px 0 28px; flex: 1; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--line); font-size: .98rem; }
.checks li.is-no { color: #8a92a5; }
.checks li.is-no > span:last-child { text-decoration: line-through; text-decoration-color: rgba(138,146,165,.5); }
.checks em { color: var(--muted); font-style: normal; font-size: .9em; }
.ic { flex-shrink: 0; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: .78rem; font-weight: 900; line-height: 1; margin-top: 2px; }
.ic-yes { background: #e3f4ea; color: var(--ok); }
.ic-no { background: #f0f1f5; color: #8a92a5; }
.ic-text { font-weight: 600; font-size: .92rem; }
.compare { max-width: 1040px; margin: 48px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 0 8px; }
.compare-title { padding: 0 24px; font-size: 1.15rem; color: var(--primary); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare table { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 340px; }
.compare th, .compare td { padding: 13px 16px; border-top: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare thead th { font-weight: 700; color: var(--primary); background: var(--soft); }
.compare thead th span { display: block; font-weight: 600; font-size: .82rem; color: var(--muted); }
.compare th[scope="row"], .compare thead th:first-child { text-align: left; font-weight: 600; position: sticky; left: 0; background: #fff; }
.compare thead th:first-child { background: var(--soft); }
.legend { display: flex; gap: 22px; padding: 14px 24px 8px; margin: 0; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }
.note { text-align: center; color: var(--muted); font-size: .9rem; max-width: 760px; margin: 22px auto 0; }
@media (max-width: 480px) { .compare th, .compare td { padding: 11px 10px; font-size: .9rem; } .pack { padding: 32px 22px 24px; } }

/* Partenaires */
.filters { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.filters select { min-height: 46px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; font-size: .95rem; background: #fff; min-width: 220px; color: var(--ink); }
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.partner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s, transform .2s; }
.partner:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.partner-logo { width: 100%; height: 84px; display: grid; place-items: center; margin-bottom: 14px; }
.partner-logo img { max-height: 84px; max-width: 82%; object-fit: contain; }
.initials, .plus { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 9%, white); color: var(--primary); font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; }
.partner-name { font-weight: 700; line-height: 1.25; }
.partner-sector { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.partner-link { margin-top: 10px; font-size: .88rem; font-weight: 600; text-decoration: none; }
.partner-link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.partner-cta { border: 2px dashed color-mix(in srgb, var(--primary) 30%, white); background: var(--soft); padding: 0; }
.partner-cta a { display: flex; flex-direction: column; align-items: center; width: 100%; height: 100%; padding: 22px 16px 20px; color: inherit; text-decoration: none; border-radius: inherit; }
.partner-cta .plus { background: var(--accent-ink); color: #fff; font-size: 2rem; }
.partner-cta .partner-name { color: var(--primary); }
.empty-filter { text-align: center; color: var(--muted); margin-top: 20px; }

/* FAQ */
.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 700; font-size: 1.04rem; list-style: none; position: relative; border-radius: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--accent-ink); font-size: 1.3rem; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 0; padding: 0 22px 20px; }

/* Formulaire */
.join { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); }
.steps { display: flex; gap: 12px; list-style: none; padding: 0; margin: 0 0 10px; }
.steps li { flex: 1; display: flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 700; color: var(--muted); padding-top: 14px; border-top: 4px solid var(--line); transition: color .2s, border-color .2s; }
.steps li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--muted); font-size: .85rem; }
.steps li.on { color: var(--primary); border-color: var(--accent); }
.steps li.on span { background: var(--accent-ink); color: #fff; }
.steps li.done span { background: var(--ok); color: #fff; }
.req-note { font-size: .85rem; color: var(--muted); margin: 0 0 22px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.field { margin-bottom: 18px; }
.field > label, .label { display: block; font-weight: 600; font-size: .96rem; margin-bottom: 7px; }
.field small { font-weight: 400; color: var(--muted); }
.field input:not([type=radio]):not([type=checkbox]):not([type=file]), .field select, .field textarea { display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cdd3df; border-radius: 12px; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent); outline: none; }
.field.is-invalid input, .field.is-invalid select { border-color: #c0261c; background: #fff8f7; }
.field.is-valid input { border-color: #8cc9a3; }
.field-error { display: block; color: #b0221a; font-size: .88rem; font-weight: 600; margin-top: 6px; }
.inline { display: flex; gap: 10px; }
.inline input { flex: 1; }
.inline .btn { border-radius: 12px; flex-shrink: 0; min-height: 50px; }
.hint { display: block; margin-top: 6px; color: var(--muted); font-size: .88rem; }
.hint.ok { color: var(--ok); font-weight: 600; } .hint.err { color: #b0221a; font-weight: 600; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.logo-drop { display: flex; align-items: center; gap: 16px; padding: 12px; border: 1.5px dashed #cdd3df; border-radius: 12px; background: var(--soft); }
.logo-drop img { width: 84px; height: 64px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.logo-drop input { font: inherit; font-size: .92rem; min-width: 0; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } .join { padding: 24px 18px; } .inline { flex-direction: column; } .steps li { font-size: .85rem; } }
.seg { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 4px; margin-bottom: 24px; }
.seg label { position: relative; cursor: pointer; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: .96rem; color: var(--muted); }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg label:has(input:checked) { background: #fff; color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.seg label:has(input:focus-visible) { outline: 3px solid #ffb703; outline-offset: 2px; }
.pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 22px; }
.pick-card { position: relative; cursor: pointer; }
.pick-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick-card > span { display: flex; flex-direction: column; gap: 2px; height: 100%; border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px 14px 46px; position: relative; transition: border-color .15s, background .15s; }
.pick-card > span::before { content: ""; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #b5bccb; background: #fff; }
.pick-card em { font-style: normal; color: var(--muted); font-weight: 600; }
.pick-card input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 5%, white); }
.pick-card input:checked + span::before { border-color: var(--accent-ink); box-shadow: inset 0 0 0 4px #fff; background: var(--accent-ink); }
.pick-card input:focus-visible + span { outline: 3px solid #ffb703; outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; margin: 6px 0 18px; }
.check input { margin-top: 3px; width: 20px; height: 20px; accent-color: var(--accent-ink); flex-shrink: 0; }
.summary { background: var(--soft); border-radius: 12px; padding: 12px 16px; font-weight: 600; color: var(--primary); }
.summary:empty { display: none; }
.step-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.step[data-step="1"] .step-actions { justify-content: flex-end; }
.step-error { color: #b0221a; font-weight: 600; margin: 0 0 12px; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; }
.alert-error { background: #fdecec; color: #8f141b; }
.alert-ok { background: #e6f5ec; color: #12693a; }

/* Merci */
.thanks { text-align: center; }
.thanks-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: #e6f5ec; color: var(--ok); font-size: 2.2rem; font-weight: 900; }
.thanks h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.lead-dark { font-size: 1.12rem; color: var(--muted); }
.recap { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 30px 0; text-align: left; }
.recap div { background: var(--soft); border-radius: 12px; padding: 14px 16px; }
.recap span { display: block; font-size: .82rem; color: var(--muted); }
.pay-box { text-align: left; background: #fff; border: 2px solid var(--accent); border-radius: 16px; padding: 22px 24px; margin: 16px 0; }
.pay-box p:last-child { margin-bottom: 0; }
.h3 { font-size: 1.25rem; }
.small { font-size: .88rem; }

/* Pages de texte */
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; font-family: var(--font); font-weight: 700; letter-spacing: -.01em; }
.legal p, .legal li { color: #343c50; }
.legal .todo { background: #fff1b8; padding: 0 4px; border-radius: 4px; }

/* Pied de page */
.footer { background: #0b1229; color: rgba(255,255,255,.78); padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-h { color: #fff; font-family: var(--font); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-brands { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.footer-c100 { background: #fff; border-radius: 10px; padding: 6px 8px; display: inline-flex; }
.footer-c100 img { height: 40px; width: auto; }
.footer-logo { width: 56px; height: 56px; object-fit: contain; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin-bottom: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); margin-top: 52px; padding: 22px 0; font-size: .85rem; color: rgba(255,255,255,.62); }
.footer .admin-link { color: rgba(255,255,255,.55); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Apparition douce — le contenu reste visible si JS est absent */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (max-width: 400px) {
  .compare table { min-width: 0; font-size: .86rem; }
  .compare th, .compare td { padding: 10px 6px; }
  .compare th[scope="row"], .compare thead th:first-child { padding-left: 14px; }
  .compare thead th span { font-size: .75rem; }
}
