/* ==========================================================================
   Groupe Eduo — charte « premium app-first » (refonte octobre 2026)
   Une seule feuille de style pour tout le site : jetons, coques mobile/desktop, composants, contenus.
   Référence : maquettes/docs/02-design-system.md et maquettes/design-tokens/tokens.css
   Coques : mobile < 1024 px (barre du haut + barre d'onglets) ; desktop ≥ 1024 px (barre latérale).
   ========================================================================== */

/* ---------- Polices (auto-hébergées, licence SIL OFL) ---------- */
@font-face { font-family: 'Poppins'; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/poppins-500.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/poppins-600.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/poppins-700.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/dm-sans-400.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/dm-sans-500.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/dm-sans-700.woff2) format('woff2'); }

/* ---------- Jetons ---------- */
:root {
  --ink: #111111; --white: #FFFFFF; --lavender: #F5F5FD;
  --pink: #F6567C; --pink-soft: #FFF0F4; --pink-text: #C2224C; /* rose foncé : liens et texte rose sur fond clair (contraste AA) */
  --yellow: #FFEC01; --green: #2F7C5A; --green-hover: #24634A; --mint: #C4EADD;
  --muted: #4A4A4A; --muted-dark: #CFCFCF; --line: #ECECF3; --ink-2: #1E1E1E; --ink-3: #2A2A2A;
  --font-title: 'Poppins', system-ui, sans-serif; --font-text: 'DM Sans', system-ui, sans-serif;
  --r-pill: 999px; --r-card: 28px; --r-hero: 36px;
  --shadow-float: 0 10px 34px rgba(17,17,17,.16); --shadow-tabbar: 0 16px 36px rgba(17,17,17,.28); --shadow-card: 0 12px 40px rgba(17,17,17,.07);
  --sidebar-w: 248px; --content-max: 1180px; --gutter: 40px; --touch: 44px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-text); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
@media (min-width: 1024px) { body { font-size: 16px; } }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: var(--r-pill); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 700; letter-spacing: -.02em; color: inherit; margin: 0; }
h1 { font-size: 28px; line-height: 1.12; letter-spacing: -.03em; }
h2 { font-size: 20px; line-height: 1.2; }
h3 { font-size: 17px; font-weight: 600; line-height: 1.3; }
@media (min-width: 1024px) { h1 { font-size: 50px; line-height: 1.08; } h2 { font-size: 34px; } h3 { font-size: 20px; } }
.accent { color: var(--pink); }
.muted { color: var(--muted); }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 16px; height: 16px; }

/* ==========================================================================
   COQUES
   ========================================================================== */
.app { min-height: 100vh; }
.main-col { min-width: 0; }
main { display: block; }

/* --- Desktop : barre latérale noire + barre du haut --- */
.sidebar, .topbar { display: none; }
@media (min-width: 1024px) {
  .app { display: flex; }
  .sidebar { display: block; flex: 0 0 var(--sidebar-w); background: var(--ink); color: var(--white); }
  .sidebar-inner { position: sticky; top: 0; height: 100vh; padding: 26px 16px 22px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
  .sidebar .logo { display: block; margin: 0 10px 26px; }
  .sidebar .logo img { height: 28px; width: auto; }
  .side-link { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; border-radius: var(--r-pill); padding: 11px 16px; font-family: var(--font-title); font-weight: 500; font-size: 15px; min-height: var(--touch); }
  .side-link:hover { background: var(--ink-3); }
  .side-link[aria-current="page"] { background: var(--pink); color: var(--ink); font-weight: 600; }
  .side-espace { margin-top: auto; background: var(--ink-2); border-radius: 24px; padding: 18px; font-size: 13px; color: #DADADA; }
  .side-espace strong { display: block; font-family: var(--font-title); font-weight: 600; font-size: 14px; color: var(--white); margin-bottom: 2px; }
  .side-login { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid #3A3A3A; color: var(--white); text-decoration: none; border-radius: var(--r-pill); min-height: var(--touch); font-family: var(--font-title); font-weight: 600; font-size: 14px; }
  .side-login:hover { border-color: var(--white); }
  .main-col { flex: 1 1 auto; }
  .topbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: 22px var(--gutter) 0; max-width: calc(var(--content-max) + 2 * var(--gutter)); }
  .search { flex: 0 1 420px; display: flex; align-items: center; gap: 10px; background: var(--lavender); border-radius: var(--r-pill); padding: 0 18px; min-height: 48px; }
  .search input { font: inherit; font-size: 15px; border: 0; outline: none; flex: 1; background: transparent; min-width: 0; color: var(--ink); }
  .search:focus-within { outline: 3px solid var(--green); outline-offset: 2px; }
  .topbar-actions { display: flex; gap: 10px; align-items: center; }
  .tel { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; padding: 0 12px; min-height: var(--touch); }
  .page { padding: 22px var(--gutter) 0; max-width: calc(var(--content-max) + 2 * var(--gutter)); }
}

/* --- Mobile / tablette : barre du haut + barre d'onglets + action flottante --- */
.appbar { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px; position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); }
.appbar-title { flex: 1; text-align: center; font-family: var(--font-title); font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar .logo img { height: 30px; width: auto; }
.round-btn { width: var(--touch); height: var(--touch); border-radius: var(--r-pill); background: var(--lavender); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); flex: none; text-decoration: none; border: 0; cursor: pointer; }
.appbar-home { justify-content: space-between; height: 64px; }
.appbar-login { background: var(--lavender); color: var(--ink); text-decoration: none; border-radius: var(--r-pill); padding: 0 18px; min-height: var(--touch); display: inline-flex; align-items: center; font-family: var(--font-title); font-weight: 600; font-size: 14px; }
@media (max-width: 1023px) { .page { padding: 8px 16px 0; } }
.tabbar { position: fixed; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 30; background: var(--ink); border-radius: var(--r-pill); padding: 6px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; box-shadow: var(--shadow-tabbar); max-width: 560px; margin: 0 auto; }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--white); text-decoration: none; border-radius: var(--r-pill); padding: 8px 2px; min-height: 52px; font-size: 10.5px; font-weight: 700; }
.tab[aria-current="page"] { background: var(--pink); color: var(--ink); }
.floating-cta { position: fixed; left: 16px; right: 16px; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 25; background: var(--white); border-radius: 24px; padding: 12px 12px 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: var(--shadow-float); max-width: 536px; margin: 0 auto; }
.floating-cta .from { font-size: 12px; color: var(--muted); }
.floating-cta .price { font-family: var(--font-title); font-weight: 700; font-size: 19px; line-height: 1.1; }
.floating-cta .price small { font-size: 12px; font-weight: 500; }
.has-tabbar .main-col { padding-bottom: 104px; }
.has-tabbar.has-floating .main-col { padding-bottom: 184px; }
@media (min-width: 1024px) {
  .appbar, .tabbar, .floating-cta { display: none; }
  .has-tabbar .main-col, .has-tabbar.has-floating .main-col { padding-bottom: 0; }
}

/* --- Pied de page légal (toutes les pages) --- */
.legal-footer { margin: 56px 16px 0; padding: 22px 0 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.legal-footer a { color: var(--muted); }
.legal-footer nav { line-height: 2; }
@media (min-width: 1024px) { .legal-footer { margin: 56px var(--gutter) 0; max-width: var(--content-max); } }

/* ==========================================================================
   COMPOSANTS
   ========================================================================== */
/* Button */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r-pill); padding: 12px 22px; min-height: 46px; font-family: var(--font-title); font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; line-height: 1.2; transition: background .15s, transform .2s; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-hover); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #2B2B2B; }
.btn-light { background: var(--lavender); color: var(--ink); }
.btn-light:hover { background: #EBEBFA; }
.btn-white { background: var(--white); color: var(--ink); }
.btn-block { width: 100%; }
.link-action { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Badge */
.badge { display: inline-block; border-radius: var(--r-pill); padding: 5px 13px; font-family: var(--font-title); font-weight: 600; font-size: 13px; line-height: 1.3; }
.badge-yellow { background: var(--yellow); color: var(--ink); }
.badge-dark { background: var(--ink); color: var(--white); }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--lavender); border-radius: var(--r-pill); padding: 8px 14px; font-size: 14px; font-weight: 700; }
.on-dark .chip, .chip-dark { background: var(--ink-3); color: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Card */
.card { background: var(--lavender); border-radius: 24px; padding: 18px 20px; }
.card-white { background: var(--white); border: 1.5px solid var(--line); }
.card-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--white); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card h3 { font-size: 17px; margin-bottom: 2px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.lift { transition: transform .2s; }
.lift:hover { transform: translateY(-4px); }
a.card { display: block; color: inherit; text-decoration: none; }
@media (min-width: 1024px) { .card { border-radius: 28px; padding: 22px; } .card h3 { font-size: 19px; } }

/* Grilles */
.grid { display: grid; gap: 12px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid { gap: 16px; } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.section { margin-top: 36px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
@media (min-width: 1024px) { .section { margin-top: 64px; } .section-head { margin-bottom: 22px; } }

/* Bloc héros sombre + symbole de marque */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); border-radius: 30px; padding: 26px 22px; }
.hero p { color: #DADADA; }
.hero h1 { margin: 14px 0 10px; }
@media (min-width: 1024px) { .hero { border-radius: var(--r-hero); padding: 48px; } .hero p { font-size: 18px; } }
.brand-symbol { position: absolute; top: 18px; right: 18px; width: 120px; height: 120px; pointer-events: none; }
@media (min-width: 1024px) { .brand-symbol { width: 250px; height: 250px; top: 40px; right: 40px; } }
.hero > *:not(.brand-symbol) { position: relative; }

/* PriceCard */
.price-card { background: var(--white); border: 1.5px solid var(--line); border-radius: 26px; padding: 20px; display: flex; flex-direction: column; gap: 6px; position: relative; color: var(--ink); text-decoration: none; }
.price-card.recommended { background: var(--pink-soft); border: 2px solid var(--pink); }
.price-card .name { font-family: var(--font-title); font-weight: 600; }
.price-card .amount { font-family: var(--font-title); font-weight: 700; font-size: 38px; letter-spacing: -.04em; line-height: 1.05; }
.price-card .unit { font-size: 13px; color: var(--muted); }
.price-card .badge { position: absolute; top: 14px; right: 14px; font-size: 12px; padding: 3px 10px; }
.price-card ul { list-style: none; margin: 10px 0 14px; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.price-card li { display: flex; gap: 8px; }
.price-card li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.price-card .btn { margin-top: auto; }
@media (min-width: 1024px) { .price-card .amount { font-size: 48px; } }
/* Carrousel horizontal (mobile) */
.scroller { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 8px; margin: 0 -16px; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
@media (min-width: 768px) { .scroller { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; padding: 0; margin: 0; } }

/* SegmentedControl */
.segmented { display: inline-flex; background: var(--lavender); border-radius: var(--r-pill); padding: 4px; gap: 2px; }
.segmented button { font: inherit; font-family: var(--font-title); font-weight: 600; font-size: 14px; border: 0; background: transparent; color: var(--ink); border-radius: var(--r-pill); padding: 0 18px; min-height: 40px; cursor: pointer; }
.segmented button[aria-pressed="true"] { background: var(--ink); color: var(--white); }

/* ListRow (liste groupée façon réglages) */
.list-group { background: var(--lavender); border-radius: 24px; padding: 4px 16px; }
.list-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; color: inherit; text-decoration: none; min-height: 64px; }
.list-row + .list-row { border-top: 1px solid #E3E3EE; }
.list-row .card-icon { margin: 0; }
.list-row .txt { flex: 1; min-width: 0; }
.list-row strong { display: block; font-family: var(--font-title); font-weight: 600; font-size: 16px; }
.list-row span { color: var(--muted); font-size: 14px; }
.list-row .chev { color: #8A8A99; }

/* Accordion */
.accordion { display: grid; gap: 8px; }
.accordion details { background: var(--lavender); border-radius: 20px; padding: 0 18px; }
.accordion summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; font-family: var(--font-title); font-weight: 600; font-size: 15px; padding: 10px 0; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ''; flex: none; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .2s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details > div { padding: 0 0 16px; color: var(--muted); }

/* Formulaires */
.field { display: grid; gap: 6px; font-weight: 700; font-size: 14px; min-width: 0; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 16px; background: var(--lavender); border: 2px solid transparent; border-radius: 16px; padding: 12px 16px; min-height: 50px; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: var(--white); }

/* ==========================================================================
   CONTENUS ÉDITORIAUX (articles, pages ville et statut, ressources)
   ========================================================================== */
.page-head { margin: 8px 0 22px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.kicker { margin-bottom: 12px; }
.page-head h1 { max-width: 820px; }
.page-head .intro { font-size: 17px; color: var(--muted); max-width: 720px; margin: 12px 0 0; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
@media (min-width: 1024px) { .page-head { margin: 26px 0 36px; } .page-head .intro { font-size: 19px; } }
.prose { max-width: 760px; }
.prose > * + * { margin-top: 14px; }
.prose h2 { margin-top: 36px; font-size: 22px; }
.prose h3 { margin-top: 24px; }
.prose p, .prose li { color: #2A2A2A; }
.prose a:not(.btn) { color: var(--green); font-weight: 700; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); }
@media (min-width: 1024px) { .prose h2 { font-size: 28px; margin-top: 48px; } }
.prose table, .data-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--lavender); border-radius: 18px; overflow: hidden; font-size: 14px; }
.prose th, .prose td, .data-table th, .data-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid #E3E3EE; }
.prose thead th, .data-table thead th { font-family: var(--font-title); font-weight: 600; background: #ECECF8; }
.prose tr:last-child td { border-bottom: 0; }
.table-scroll { position: relative; overflow-x: auto; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { background: var(--lavender); border-radius: 20px; padding: 16px; }
.kpi strong { display: block; font-family: var(--font-title); font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.kpi span { font-size: 13px; color: var(--muted); }
@media (max-width: 520px) { .kpis { grid-template-columns: 1fr; } }
.note { background: var(--lavender); border-radius: 20px; padding: 16px 18px; }
.note-dark { background: var(--ink); color: var(--white); border-radius: 28px; padding: 24px; }
.update-note { font-size: 13px; color: var(--muted); }
.zones { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.zones a { display: inline-flex; align-items: center; gap: 6px; background: var(--lavender); border-radius: var(--r-pill); padding: 9px 14px; min-height: var(--touch); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; }
.zones a:hover { background: #EBEBFA; }

/* CTA de bas de page */
.cta-dark { position: relative; overflow: hidden; background: var(--ink); color: var(--white); border-radius: 30px; padding: 28px 22px; margin-top: 40px; }
.cta-dark h2 { color: var(--white); }
.cta-dark p { color: #DADADA; margin: 10px 0 18px; }
@media (min-width: 1024px) { .cta-dark { border-radius: var(--r-hero); padding: 44px; } }

/* Animation : léger soulèvement au survol, coupé si l'utilisateur réduit les animations */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .lift:hover { transform: none; } }

/* ==========================================================================
   LOT 2 — pages d'offre (accueil, tarifs, associations, création, salles)
   ========================================================================== */
/* Héros avec carte latérale (associations, création) ou mini-tarifs (accueil) */
.hero-split { display: grid; gap: 22px; align-items: end; }
@media (min-width: 1024px) { .hero-split { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 36px; } }
.hero .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn-ghost-dark { background: var(--ink-3); color: var(--white); }
.btn-ghost-dark:hover { background: #3A3A3A; }
.hero-card { background: var(--white); color: var(--ink); border-radius: 28px; padding: 22px; position: relative; }
.hero-card .amount { font-family: var(--font-title); font-weight: 700; font-size: 44px; letter-spacing: -.04em; line-height: 1.05; }
.hero-card .amount small { font-size: 14px; font-weight: 500; letter-spacing: 0; }
.hero-card .unit { font-size: 13px; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; font-size: 15px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li .ico { width: 18px; height: 18px; margin-top: 2px; }
.mini-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini-price { background: var(--white); color: var(--ink); border-radius: 22px; padding: 16px; text-decoration: none; position: relative; }
.mini-price.recommended { background: var(--pink-soft); }
.mini-price .n { font-family: var(--font-title); font-weight: 600; font-size: 15px; }
.mini-price .a { font-family: var(--font-title); font-weight: 700; font-size: 30px; letter-spacing: -.04em; line-height: 1.1; }
.mini-price .u { font-size: 12px; color: var(--muted); }
.mini-price .badge { position: absolute; top: 10px; right: 10px; font-size: 11px; padding: 2px 8px; }
@media (min-width: 1024px) { .mini-price { padding: 20px; border-radius: 26px; } .mini-price .a { font-size: 44px; } .mini-price .u { font-size: 13px; } }
@media (max-width: 1023px) { .hero .mini-prices { display: none; } }

/* Bloc lavande (héros clair des tarifs) */
.panel { background: var(--lavender); border-radius: 30px; padding: 22px 16px; }
.panel h1 { margin: 12px 0 8px; }
@media (min-width: 1024px) { .panel { border-radius: var(--r-hero); padding: 44px; } }
.panel .scroller { margin-top: 20px; }
.price-card .tagline { font-size: 13px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }

/* Tableau comparatif */
.compare { position: relative; background: var(--white); border-radius: 28px; box-shadow: var(--shadow-card); padding: 8px 14px; overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 14px; }
.compare th, .compare td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-family: var(--font-title); font-weight: 600; }
.compare .rec { background: var(--pink-soft); }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes .ico { width: 18px; height: 18px; }
.compare .no { color: #9A9AA8; }

/* Cartes « Et aussi » et étapes */
.offer-tile { background: var(--lavender); border-radius: 26px; padding: 22px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; min-height: 150px; }
.offer-tile.dark { background: var(--ink); color: var(--white); }
.offer-tile.dark .u { color: #DADADA; }
.offer-tile .n { font-family: var(--font-title); font-weight: 600; }
.offer-tile .a { font-family: var(--font-title); font-weight: 700; font-size: 26px; letter-spacing: -.03em; margin-top: auto; }
.offer-tile .u { font-size: 13px; color: var(--muted); }
.step { background: var(--lavender); border-radius: 26px; padding: 22px; }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-title); font-weight: 600; margin-bottom: 14px; }
.step .big { font-family: var(--font-title); font-weight: 700; font-size: 40px; color: var(--pink); line-height: 1; margin-bottom: 12px; display: block; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.step a { display: inline-block; margin-top: 10px; }

/* FAQ en deux colonnes (desktop) */
.faq-split { display: grid; gap: 18px; }
@media (min-width: 1024px) { .faq-split { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 40px; } }
.faq-split .muted a { color: var(--green); font-weight: 700; }

/* Bandeau d'appel rose pâle */
.cta-soft { background: var(--pink-soft); border-radius: 30px; padding: 26px 22px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin-top: 40px; }
.cta-soft p { margin: 6px 0 0; color: var(--muted); }
@media (min-width: 1024px) { .cta-soft { border-radius: var(--r-hero); padding: 40px 56px; } .cta-soft h2 { font-size: 32px; } }

/* Section Espace Eduo (accueil) */
.espace-promo { background: var(--yellow);  /* fond jaune : demande de Groupe Eduo (18/10/2026) */ border-radius: 30px; padding: 26px 22px; display: grid; gap: 26px; align-items: center; }
@media (min-width: 1024px) { .espace-promo { grid-template-columns: minmax(0, 1fr) 260px; border-radius: var(--r-hero); padding: 48px; } }
.espace-promo ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 12px; }
.espace-promo li { display: flex; gap: 12px; align-items: center; }
.espace-promo li .card-icon { width: 36px; height: 36px; border-radius: 10px; margin: 0; }
.phone-mock { width: 250px; justify-self: center; background: var(--ink); border-radius: 40px; padding: 12px; box-shadow: var(--shadow-float); }
.phone-mock .scr { background: var(--lavender); border-radius: 30px; padding: 18px 12px; display: grid; gap: 8px; font-size: 11px; min-height: 380px; align-content: start; }
.phone-mock .t { font-family: var(--font-title); font-weight: 600; font-size: 14px; padding: 0 4px 4px; }
.phone-mock .addr { background: var(--ink); color: var(--white); border-radius: 16px; padding: 12px; }
.phone-mock .addr small { color: #CFCFCF; display: block; }
.phone-mock .row { background: var(--white); border-radius: 14px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; }
.phone-mock .row strong { display: block; font-size: 11.5px; }
.phone-mock .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); flex: none; }
@media (max-width: 1023px) { .phone-mock { display: none; } }

/* Calculateur des salles */
.calc { background: var(--white); border-radius: 30px; box-shadow: var(--shadow-card); padding: 22px; }
@media (min-width: 1024px) { .calc { padding: 32px; border-radius: var(--r-hero); } }
.calc h2 { font-size: 20px; margin-bottom: 16px; }
.space-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.space-opt { font: inherit; text-align: left; border: 0; cursor: pointer; background: var(--lavender); color: var(--ink); border-radius: 22px; padding: 16px; min-height: 96px; display: flex; flex-direction: column; gap: 2px; }
.space-opt strong { font-family: var(--font-title); font-weight: 600; font-size: 15px; }
.space-opt span { font-size: 13px; color: var(--muted); }
.space-opt[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.space-opt[aria-pressed="true"] span { color: #DADADA; }
.calc .segmented { display: flex; margin-top: 12px; }
.calc .segmented button { flex: 1; }
.calc-total { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }
.calc-total .amount { font-family: var(--font-title); font-weight: 700; font-size: 44px; letter-spacing: -.04em; line-height: 1; }
.calc-total .amount small { font-size: 14px; font-weight: 500; letter-spacing: 0; }
.calc-total .ttc { font-size: 13px; color: var(--muted); margin-top: 4px; }
.info-tile { background: var(--lavender); border-radius: 24px; padding: 20px; }
.info-tile strong { display: block; font-family: var(--font-title); font-weight: 600; font-size: 17px; }
.info-tile span { color: var(--muted); font-size: 14px; }
.salles-hero { display: grid; gap: 14px; }
@media (min-width: 1024px) { .salles-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 16px; } .salles-hero .hero { display: flex; flex-direction: column; justify-content: flex-end; } }
/* Utilitaires de visibilité */
@media (min-width: 1024px) { .mobile-only { display: none !important; } }
@media (max-width: 1023px) { .desktop-only { display: none !important; } }
@media (min-width: 1280px) { .grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.price-card .amount small { margin-left: 4px; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--muted); }

/* Réservation des salles : calendrier, créneaux, coordonnées */
.cal { margin-top: 16px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.cal-head strong { font-family: var(--font-title); font-weight: 600; font-size: 16px; text-transform: capitalize; }
.cal-head .round-btn[disabled] { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.cal-dow { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); padding: 4px 0; }
.cal-day { font: inherit; font-weight: 700; min-height: var(--touch); border-radius: 14px; border: 0; background: var(--lavender); color: var(--ink); cursor: pointer; }
.cal-day:hover:not([disabled]) { background: #E6E6F7; }
.cal-day[disabled] { background: transparent; color: #B4B4BF; cursor: default; font-weight: 500; text-decoration: line-through; }
.cal-day.on { background: var(--ink); color: var(--white); }
.cal-note { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-top: 14px; }
.slot { font: inherit; text-align: left; border: 2px solid transparent; border-radius: 18px; background: var(--lavender); color: var(--ink); padding: 12px 14px; cursor: pointer; min-height: 60px; }
.slot strong { display: block; font-family: var(--font-title); font-weight: 600; }
.slot span { font-size: 13px; color: var(--muted); }
.slot[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.slot[aria-pressed="true"] span { color: #DADADA; }
.slot[disabled] { opacity: .5; cursor: default; }
.resa-form { margin-top: 16px; display: grid; gap: 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--green); flex: none; }
.consent a { color: var(--green); font-weight: 700; }
.form-error { color: #B3123A; font-weight: 700; font-size: 14px; margin: 0; min-height: 1em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.calc-total .btn[disabled] { background: #D6D6D6; color: #6B6B6B; cursor: not-allowed; }
.note[role="status"] strong { font-family: var(--font-title); }

/* ==========================================================================
   LOT 4 — Espace Eduo (espace/ : accueil, courrier, réserver, compte, connexion)
   ========================================================================== */
body.espace { background: var(--lavender); }
.espace .appbar { background: rgba(245,245,253,.94); }
.espace .round-btn { background: var(--white); }
.espace-page { max-width: calc(var(--content-max) + 2 * var(--gutter)); }
@media (min-width: 1024px) { .espace-page { padding-top: 36px; } .espace h1 { font-size: 34px; letter-spacing: -.02em; } }
.espace h2 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
@media (min-width: 1024px) { .espace h2 { font-size: 20px; } }
.espace .legal-footer { border-top-color: #E3E3EE; }
.espace-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 4px 0 18px; }
@media (min-width: 1024px) { .espace-head { margin: 0 0 28px; } }
/* mobile : la barre du haut porte déjà le titre de la page */
@media (max-width: 1023px) { .appbar ~ .espace-page > .espace-head:not(.compte-head) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; } }
.espace-head-actions { display: flex; gap: 10px; align-items: center; }
.compte-head { justify-content: flex-start; }
.avatar { width: 46px; height: 46px; border-radius: var(--r-pill); background: var(--pink); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-title); font-weight: 700; text-decoration: none; flex: none; }
.avatar-lg { width: 64px; height: 64px; font-size: 24px; }
.side-badge { margin-left: auto; background: var(--pink); color: var(--ink); border-radius: var(--r-pill); padding: 0 8px; font-size: 13px; font-weight: 700; line-height: 22px; }
.side-link[aria-current="page"] .side-badge { background: var(--ink); color: var(--white); }
.side-tel { display: inline-block; margin-top: 8px; color: var(--yellow); font-weight: 700; font-size: 15px; }

/* Barre d'onglets à 4 entrées et pastille « non lu » */
.tabbar-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tab { position: relative; }
.tab-dot { position: absolute; top: 9px; left: calc(50% + 8px); width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 2px var(--ink); }
.tab[aria-current="page"] .tab-dot { background: var(--ink); box-shadow: 0 0 0 2px var(--pink); }

/* Panneaux blancs */
.panel-white { background: var(--white); border-radius: 28px; padding: 20px; min-width: 0; }
@media (min-width: 1024px) { .panel-white { border-radius: 32px; padding: 26px 28px; } }
.panel-white > h2 { margin-bottom: 12px; }
.panel-white .section-head, .panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.panel-white .section-head h2, .panel-head h2 { margin: 0; }
.link-pink { color: var(--pink-text); font-weight: 700; font-size: 14px; }
.btn-sm { min-height: var(--touch); padding: 8px 16px; font-size: 14px; }
.espace-two { display: grid; gap: 14px; align-items: start; }
.espace-two > * { min-width: 0; }
.espace-stack { display: grid; gap: 14px; }
@media (min-width: 1024px) { .espace-two { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; } .espace-stack { gap: 16px; } }

/* Accueil : carte adresse, compteurs, derniers courriers */
.espace-grid { display: grid; gap: 12px; }
.espace-grid > * { min-width: 0; }
@media (min-width: 640px) { .espace-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .addr-card, .espace-grid .wide { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .espace-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .addr-card { grid-column: span 2; } .espace-grid .wide { grid-column: span 3; } }
@media (min-width: 1024px) and (max-width: 1279px) { .espace-grid .wide { grid-column: span 2; } .espace-grid .wide + .panel-white { grid-column: span 2; } }
.addr-card { position: relative; overflow: hidden; background: var(--ink); color: var(--white); border-radius: 28px; padding: 22px; min-height: 200px; }
@media (min-width: 1024px) { .addr-card { border-radius: 32px; padding: 28px; min-height: 210px; } }
.addr-card .brand-symbol { width: 110px; height: 110px; top: 10px; right: 10px; }
@media (min-width: 1024px) { .addr-card .brand-symbol { width: 140px; height: 140px; top: 11px; right: 11px; } }
.addr-card > *:not(.brand-symbol) { position: relative; }
.addr-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-right: 90px; }
.lbl { font-size: 13px; color: var(--muted); font-weight: 700; }
.addr-card .lbl { color: var(--muted-dark); font-weight: 400; }
.badge-green { display: inline-block; background: var(--green); color: var(--white); border-radius: var(--r-pill); padding: 2px 10px; font-size: 12px; font-weight: 700; }
.addr-txt { font-family: var(--font-title); font-weight: 600; font-size: 19px; line-height: 1.3; margin: 12px 0 18px; }
@media (min-width: 1024px) { .addr-txt { font-size: 22px; padding-right: 110px; } }
.addr-card .btn { min-height: var(--touch); padding: 10px 16px; font-size: 14px; }
.stat-card { background: var(--white); color: var(--ink); text-decoration: none; border-radius: 28px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-height: 160px; }
.stat-card.pink { background: var(--pink-soft); }
.stat-card .lbl { color: var(--ink); font-size: 15px; }
.stat-card .big { font-family: var(--font-title); font-weight: 700; font-size: 56px; letter-spacing: -.04em; line-height: 1; }
.stat-card .mid { font-family: var(--font-title); font-weight: 700; font-size: 26px; line-height: 1.15; }
.stat-card > span:last-child { font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .stat-card { border-radius: 32px; padding: 26px; min-height: 210px; } }
.stat-card:hover { transform: translateY(-3px); transition: transform .2s; }
.resa-next { background: var(--lavender); border-radius: 24px; padding: 18px; margin-bottom: 14px; }
.resa-next strong { display: block; font-family: var(--font-title); font-weight: 600; }
.resa-next span { font-size: 14px; }
.switch { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--white); border-radius: 22px; padding: 10px 12px 10px 18px; margin-bottom: 14px; font-weight: 700; font-size: 14px; }
.switch select { font: inherit; font-weight: 400; flex: 1; min-width: 0; background: var(--lavender); border: 0; border-radius: var(--r-pill); padding: 0 14px; min-height: var(--touch); }
.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); font-size: 12px; font-weight: 700; }
.quick a span { width: 56px; height: 56px; border-radius: 20px; background: var(--white); display: flex; align-items: center; justify-content: center; }

/* Listes de courriers, documents et paiements */
.mail-list { list-style: none; margin: 0; padding: 0; }
.mail-list li + li { border-top: 1px solid var(--line); }
.mail-list a, .row-static { display: flex; gap: 14px; align-items: center; padding: 12px 6px; color: var(--ink); text-decoration: none; border-radius: 18px; min-height: 64px; }
.mail-list a:hover { background: #FBFBFE; }
.mail-list a.sel { background: var(--lavender); }
.mail-list .txt { flex: 1; min-width: 0; }
.mail-list .txt strong { display: block; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-static .txt strong { white-space: normal; }
.mail-list .txt span { font-size: 14px; color: var(--muted); }
.mono { width: 44px; height: 44px; border-radius: 14px; background: var(--lavender); display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.mono.yellow { background: var(--yellow); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); flex: none; }
.pay-amt { text-align: right; font-weight: 700; white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.pay-st { font-size: 12px; font-weight: 700; color: var(--green); }
.pay-st.ko { color: #B3123A; }

/* Courrier : liste + aperçu */
.search-light { display: flex; align-items: center; gap: 10px; background: var(--white); border-radius: var(--r-pill); padding: 0 18px; min-height: 48px; flex: 0 1 380px; }
.panel-white .search-light { background: var(--lavender); }
.search-light input { font: inherit; border: 0; outline: none; flex: 1; background: transparent; min-width: 0; color: var(--ink); }
.search-light:focus-within { outline: 3px solid var(--green); outline-offset: 2px; }
.mail-layout { display: grid; gap: 14px; align-items: start; }
.mail-layout > * { min-width: 0; }
@media (min-width: 1024px) { .mail-layout { grid-template-columns: minmax(300px, 1fr) minmax(0, 1.6fr); gap: 16px; } .mail-col { padding: 18px; } }
@media (max-width: 1023px) { .mail-layout.has-sel .mail-col, .mail-layout:not(.has-sel) .mail-view { display: none; } }
.filters-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.filters-pills a { background: var(--lavender); color: var(--ink); text-decoration: none; border-radius: var(--r-pill); padding: 0 14px; min-height: 40px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; }
.filters-pills a[aria-current="page"] { background: var(--ink); color: var(--white); }
.mail-view h2 { font-size: 20px; margin-top: 6px; }
.mail-view .chips form { display: contents; }
.empty-view { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); text-align: center; }
.empty-view .ico { width: 36px; height: 36px; stroke-width: 1.5; }
.scan { margin-top: 16px; background: var(--lavender); border-radius: 22px; padding: 10px; }
.scan iframe { display: block; width: 100%; height: 70vh; min-height: 420px; border: 0; border-radius: 14px; background: var(--white); }
.scan img { width: 100%; border-radius: 14px; background: var(--white); }

/* Compte */
.formule-line { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; justify-content: space-between; background: var(--lavender); border-radius: 22px; padding: 16px 18px; margin-bottom: 12px; }
.formule-line > div { display: grid; gap: 2px; font-size: 14px; }
.formule-nom { font-family: var(--font-title); font-weight: 600; font-size: 18px; }
.notif-form { display: grid; gap: 4px; }
.notif-form .btn { justify-self: start; margin-top: 8px; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; min-height: var(--touch); cursor: pointer; }
.switch-row + .switch-row { border-top: 1px solid var(--line); }
.switch-row > span { display: grid; font-size: 15px; }
.switch-row .muted { font-size: 13px; }
.toggle { appearance: none; -webkit-appearance: none; flex: none; width: 50px; height: 30px; border-radius: var(--r-pill); background: #D6D6DE; position: relative; cursor: pointer; transition: background .15s; margin: 0; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .15s; }
.toggle:checked { background: var(--green); }
.toggle:checked::after { transform: translateX(20px); }
.row-static form, form.row-static { margin: 0; }
.panel-white > .btn-block { margin-top: 12px; }

/* Connexion */
.login-page { background: var(--lavender); }
.login-wrap { min-height: 100vh; display: grid; }
@media (min-width: 1024px) { .login-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); } }
.login-aside { display: none; }
@media (min-width: 1024px) {
  .login-aside { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; background: var(--ink); color: var(--white); padding: 48px; position: relative; overflow: hidden; }
  .login-aside img { height: 31px; width: auto; }
  .login-kicker { font-family: var(--font-title); font-weight: 600; color: var(--pink); margin: 0 0 10px; }
  .login-claim { font-family: var(--font-title); font-weight: 700; font-size: 38px; line-height: 1.12; letter-spacing: -.03em; margin: 0; max-width: 560px; }
  .login-addr { color: var(--muted-dark); margin: 0; }
}
.login-card { align-self: center; justify-self: center; width: 100%; max-width: 480px; padding: 32px 16px; display: grid; gap: 14px; }
@media (min-width: 1024px) { .login-card { background: var(--white); border-radius: var(--r-hero); padding: 44px; margin: 40px; max-width: 480px; } }
.login-logo img { height: 28px; width: auto; }
@media (min-width: 1024px) { .login-logo { display: none; } }
.login-card h1 { font-size: 28px; }
@media (min-width: 1024px) { .login-card h1 { font-size: 32px; } }
.login-card .muted { margin: 0; }
.login-form { display: grid; gap: 12px; }
.login-form .field input { background: var(--white); }
@media (min-width: 1024px) { .login-form .field input { background: var(--lavender); } }
.login-foot { font-size: 14px; }

/* ==========================================================================
   LOT 5 — contenus : villes, statuts, articles, outils, ressources, pages légales, blog, aide, contact
   ========================================================================== */
.crumbs { margin: 4px 0 14px; align-items: center; }
.crumbs span[aria-current] { color: var(--ink); }
@media (min-width: 1024px) { .crumbs { margin: 6px 0 18px; } }
.card-pink { background: var(--pink-soft); }
.chip-sm { display: inline-block; align-self: flex-start; background: var(--white); border-radius: var(--r-pill); padding: 3px 11px; font-size: 12px; font-weight: 700; }

/* Héros ville / statut */
.ville-hero h1 { max-width: 760px; padding-right: 90px; }
.ville-hero > p { max-width: 680px; }
@media (min-width: 1024px) { .ville-hero h1 { font-size: 46px; padding-right: 220px; } }
.hero-stats { display: grid; gap: 10px; margin-top: 24px; }
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hero-stat { background: var(--ink-3); border-radius: 22px; padding: 16px 18px; }
.hero-stat strong { display: block; font-family: var(--font-title); font-weight: 700; font-size: 24px; letter-spacing: -.02em; line-height: 1.15; }
.hero-stat span { font-size: 13px; color: var(--muted-dark); }
.local p { font-size: 17px; line-height: 1.65; max-width: 820px; margin: 12px 0 0; color: #2A2A2A; }

/* Contenu + colonne latérale */
.content-split { display: grid; gap: 22px; margin-top: 36px; align-items: start; }
@media (min-width: 1024px) { .content-split { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; margin-top: 56px; } }
.side-panel { background: var(--lavender); border-radius: 28px; padding: 24px; }
.side-panel h2 { font-size: 19px; margin-bottom: 8px; }
.side-panel p { color: var(--muted); margin: 0 0 16px; font-size: 15px; }
@media (min-width: 1024px) { .side-panel, .side-sticky { position: sticky; top: 24px; } }
.offer-dark { background: var(--ink); color: var(--white); border-radius: 30px; padding: 24px; display: grid; gap: 6px; }
.offer-dark .lbl { color: var(--muted-dark); font-weight: 400; }
.offer-dark .o-name { font-family: var(--font-title); font-weight: 600; font-size: 22px; }
.offer-dark .o-price { font-family: var(--font-title); font-weight: 700; font-size: 52px; letter-spacing: -.04em; line-height: 1; margin-top: 4px; }
.offer-dark .o-price small { font-size: 15px; font-weight: 500; letter-spacing: 0; }
.offer-dark .o-unit { font-size: 13px; color: var(--muted-dark); margin-bottom: 8px; }
.offer-dark .o-li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.offer-dark .o-li .ico { margin-top: 3px; color: var(--mint); }
.offer-dark .btn { margin-top: 12px; }

/* Article */
.article-head { max-width: 860px; margin-bottom: 26px; }
.article-head h1 { margin: 14px 0 0; }
.chapo { font-size: 18px; line-height: 1.55; color: #2A2A2A; margin: 16px 0 0; }
.article-meta { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
@media (min-width: 1024px) { .article-head { margin-bottom: 40px; } .chapo { font-size: 20px; } }
.article-layout { display: grid; gap: 18px; align-items: start; }
@media (min-width: 1024px) { .article-layout.has-toc { grid-template-columns: 250px minmax(0, 1fr); gap: 56px; } }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.toc a { display: block; text-decoration: none; color: var(--ink); border-radius: 16px; padding: 8px 14px; font-size: 14px; line-height: 1.35; }
.toc a:hover { background: var(--lavender); }
.toc-d { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; }
.toc-t { font-family: var(--font-title); font-weight: 600; margin: 0 0 8px 14px; }
.toc-m { background: var(--lavender); border-radius: 22px; padding: 0 16px; }
.toc-m summary { list-style: none; cursor: pointer; min-height: 52px; display: flex; align-items: center; justify-content: space-between; font-family: var(--font-title); font-weight: 600; }
.toc-m summary::-webkit-details-marker { display: none; }
.toc-m summary::after { content: '+'; font-size: 22px; font-weight: 500; }
.toc-m[open] summary::after { content: '−'; }
.toc-m ol { padding-bottom: 12px; }
.prose h2 { scroll-margin-top: 24px; }
.prose ul.zones, .prose ul.actors, .prose ul.checks { padding-left: 0; }
.prose .zones li + li { margin-top: 0; }
.zones a.current { background: var(--ink); color: var(--white); }
.prose img { border-radius: 20px; }
.cta-inline { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; background: var(--pink-soft); border-radius: 28px; padding: 20px 22px; margin: 32px 0; }
.cta-inline strong { display: block; font-family: var(--font-title); font-weight: 600; font-size: 18px; }
.cta-inline span { color: var(--muted); font-size: 14px; }

/* Cartes de lecture (articles liés, blog) */
.read-card { background: var(--lavender); color: var(--ink); text-decoration: none; border-radius: 28px; padding: 20px; display: flex; flex-direction: column; gap: 8px; min-height: 170px; transition: transform .2s; }
.read-card:hover { transform: translateY(-3px); }
.read-card.pink { background: var(--pink-soft); }
.read-card.dark { background: var(--ink); color: var(--white); }
.read-card.dark .chip-sm { background: var(--ink-3); color: var(--white); }
.read-card.dark p, .read-card.dark .read-meta { color: var(--muted-dark); }
.read-card h3 { font-size: 18px; line-height: 1.3; }
.read-card p { margin: 0; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-meta { margin-top: auto; font-size: 13px; color: var(--muted); }
.read-card[hidden] { display: none; }

/* Encadré guide gratuit (formulaire lead-form, js/leads.js) */
.lead-box { background: var(--lavender); border-radius: 30px; padding: 24px 20px; margin-top: 40px; display: grid; gap: 18px; }
@media (min-width: 1024px) { .lead-box { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 40px; padding: 40px; border-radius: var(--r-hero); align-items: center; } }
.lead-box h2 { margin: 12px 0 8px; }
.lead-box p { color: var(--muted); margin: 0; }
.lead-box.lead-plain { background: none; padding: 0; margin: 0; grid-template-columns: 1fr; gap: 10px; }
.lead-plain > div:first-child { display: none; }
.lead-form { display: grid; gap: 12px; }
.lead-box .field input, .lead-box .field select { background: var(--white); }
.lead-plain .field input, .lead-plain .field select { background: var(--lavender); }
.consent-txt { font-size: 12px; color: var(--muted); margin: 0; }
.consent-txt a { color: var(--muted); }
.lead-status { margin: 0; font-weight: 700; font-size: 14px; }
.lead-status[data-state="error"] { color: #B3123A; }
.lead-success { display: none; }
.lead-form.is-sent .lead-success { display: block; }
.lead-form.is-sent > .grid, .lead-form.is-sent > .field, .lead-form.is-sent > button { display: none; }
.field textarea { resize: vertical; min-height: 120px; }

/* Blog */
.blog-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 18px; padding: 0 16px 4px; scrollbar-width: none; }
.blog-filters button, .aide-cats button { font: inherit; border: 0; cursor: pointer; background: var(--lavender); color: var(--ink); border-radius: var(--r-pill); padding: 0 16px; min-height: 42px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.blog-filters button[aria-pressed="true"], .aide-cats button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
@media (min-width: 1024px) { .blog-filters { flex-wrap: wrap; margin: 0 0 24px; padding: 0; overflow: visible; } }
.feature { position: relative; overflow: hidden; display: grid; gap: 10px; background: var(--ink); color: var(--white); text-decoration: none; border-radius: 30px; padding: 26px 22px; }
.feature > *:not(.brand-symbol) { position: relative; }
.feature .badge { justify-self: start; }
.feature strong { font-family: var(--font-title); font-weight: 700; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; max-width: 720px; padding-right: 80px; }
.feature p { color: #DADADA; margin: 0; max-width: 620px; }
.feature-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-top: 6px; }
@media (min-width: 1024px) { .feature { border-radius: var(--r-hero); padding: 44px; } .feature strong { font-size: 40px; padding-right: 260px; } }

/* Comparateur en 3 questions */
.compar { background: var(--lavender); border-radius: 30px; padding: 22px 18px; margin: 8px 0 28px; }
.compar h2 { margin: 0 0 16px !important; }
.compar-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .compar-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); align-items: start; } .compar { padding: 30px; border-radius: 32px; } }
.compar fieldset { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.compar legend { font-family: var(--font-title); font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; padding: 0; }
.compar .num { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.compar .segmented { background: var(--white); flex-wrap: wrap; }
.seg-wrap { border-radius: 24px; }
.compar-res { background: var(--ink); color: var(--white); border-radius: 26px; padding: 22px; display: grid; gap: 8px; }
.compar-res .lbl { color: var(--muted-dark); font-weight: 400; }
.compar-res strong { font-family: var(--font-title); font-weight: 700; font-size: 38px; letter-spacing: -.03em; line-height: 1.05; }
.compar-res p { margin: 0; color: #DADADA; font-size: 14px; }
.compar-res .compar-note { font-size: 12px; color: var(--muted-dark); }

/* Centre d'aide */
.aide-head { text-align: left; }
.aide-head h1 { margin: 12px 0 18px; }
.search-big { display: flex; align-items: center; gap: 10px; background: var(--white); border-radius: var(--r-pill); padding: 0 20px; min-height: 56px; max-width: 680px; }
.search-big input { font: inherit; font-size: 16px; border: 0; outline: none; flex: 1; background: transparent; min-width: 0; color: var(--ink); }
.search-big:focus-within { outline: 3px solid var(--green); outline-offset: 2px; }
.aide-cats { margin: 18px 0 8px; }
.aide-group { margin-top: 28px; }
.aide-group h2 { font-size: 20px; margin-bottom: 12px; }
.aide-groups .accordion a, .accordion details > div a { color: var(--green); font-weight: 700; }
.aide-res .list-group { list-style: none; margin: 12px 0 0; }
.aide-res .list-row { min-height: 56px; }
.aide-group[hidden], .accordion details[hidden] { display: none; }

/* Contact */
.contact-grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; } }
.contact-ways { display: grid; gap: 10px; }
.card-row { background: var(--lavender); border-radius: 24px; padding: 12px 18px; }
.card-row + .card-row { border-top: 0; }
.contact-form { margin-top: 4px; }

/* Composants repris de l'ancien site (contenus d'articles) */
.offers-mini { display: grid; gap: 10px; margin: 18px 0 24px; }
@media (min-width: 768px) { .offers-mini { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.offer-mini, .offer-asso { background: var(--lavender); border-radius: 22px; padding: 18px; }
.offer-asso { background: var(--pink-soft); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin: 0 0 24px; }
.offer-mini strong, .offer-asso strong { display: block; font-family: var(--font-title); font-weight: 600; }
.offer-mini .price, .offer-asso .price { font-family: var(--font-title); font-weight: 700; font-size: 28px; letter-spacing: -.03em; margin: 4px 0; }
.offer-mini .price small, .offer-asso .price small { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.prose .offer-mini p, .prose .offer-asso p { margin: 0; font-size: 14px; color: var(--muted); }
.info-box, .info-block { background: var(--lavender); border-radius: 22px; padding: 18px 20px; margin: 20px 0; }
.info-box p, .info-block p { margin: 0; }
.info-block p + p { margin-top: 8px; }
.actors { list-style: none; display: grid; gap: 10px; }
@media (min-width: 768px) { .actors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.prose .actors li { margin: 0; background: var(--lavender); border-radius: 20px; padding: 16px; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.actors a strong { color: var(--ink); }
.tool-grid { display: grid; gap: 12px; }
@media (min-width: 768px) { .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.prose a.tool-card { display: flex; flex-direction: column; gap: 6px; background: var(--lavender); color: var(--ink); font-weight: 400; text-decoration: none; border-radius: 26px; padding: 22px; transition: transform .2s; }
.tool-card:hover { transform: translateY(-3px); }
.tool-card strong { font-family: var(--font-title); font-weight: 600; font-size: 17px; line-height: 1.3; }
.tool-card span:last-child { font-size: 14px; color: var(--muted); }
.tool-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.urssaf-embed { background: var(--white); border: 1.5px solid var(--line); border-radius: 24px; padding: 8px; margin: 20px 0; min-height: 200px; }
.pros-cons { display: grid; gap: 12px; margin: 18px 0; }
@media (min-width: 768px) { .pros-cons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pros, .cons { background: var(--lavender); border-radius: 22px; padding: 18px 20px; }
.cons { background: var(--pink-soft); }
.gl-letters { display: flex; flex-wrap: wrap; gap: 6px; }
.prose .gl-letters a { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--lavender); color: var(--ink); text-decoration: none; }
.glossary dt { font-family: var(--font-title); font-weight: 600; margin-top: 18px; }
.glossary dd { margin: 4px 0 0; color: #2A2A2A; }
/* Graphique en barres (baromètre) */
.chart { margin: 28px 0; }
.chart figcaption { margin-bottom: 18px; }
.chart figcaption span { color: var(--muted); font-size: 14px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 220px; padding-top: 28px; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .bars { gap: 6px; } }
.bar-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.bar { width: 100%; max-width: 34px; background: var(--pink); border-radius: 8px 8px 0 0; position: relative; }
.bar:hover, .bar:focus { background: var(--ink); outline: none; }
.bar::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 10px; white-space: nowrap; opacity: 0; pointer-events: none; z-index: 2; }
.bar:hover::after, .bar:focus::after { opacity: 1; }
.bar-val { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; white-space: nowrap; }
@media (max-width: 767px) { .bar-val { display: none; } }
.bar:hover .bar-val, .bar:focus .bar-val { visibility: hidden; }
.bar-year { position: absolute; top: 100%; margin-top: 6px; font-size: 11px; color: var(--muted); }
.chart-table { margin-top: 36px; }
.chart-table summary { cursor: pointer; font-weight: 700; }
/* Quiz (une question par carte) */
.quiz { display: flex; flex-direction: column; gap: 16px; background: var(--lavender); border-radius: 30px; padding: 22px; }
.quiz-q { border: 0; margin: 0; padding: 0; }
.quiz-q legend { font-family: var(--font-title); font-weight: 600; font-size: 20px; line-height: 1.3; padding: 0; margin-bottom: 16px; }
.quiz-n { display: none; }
.quiz-opt { display: flex; gap: 12px; align-items: center; background: var(--white); border: 2px solid transparent; border-radius: 18px; padding: 12px 16px; margin-bottom: 8px; min-height: 56px; cursor: pointer; font-weight: 500; }
.quiz-opt:hover { border-color: var(--ink); }
.quiz-opt:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--white); }
.quiz-opt:has(input:checked) .quiz-key { background: var(--ink-3); color: var(--white); border-color: var(--ink-3); }
.quiz-opt:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 2px; }
.quiz-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.quiz-key { display: none; }
.quiz-cards .quiz-key { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: none; border: 1.5px solid var(--line); border-radius: 9px; font-size: 12px; font-weight: 700; background: var(--lavender); }
.quiz-cards .quiz-q { display: none; }
.quiz-cards .quiz-q.on { display: block; }
.quiz-cards > .btn[type=submit] { display: none; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quiz-back { width: var(--touch); height: var(--touch); border-radius: 50%; border: 0; background: var(--white); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.quiz-count { font-size: 14px; font-weight: 700; color: var(--muted); }
.quiz-bar { height: 6px; background: var(--white); border-radius: 6px; overflow: hidden; }
.quiz-bar div { height: 100%; width: 0; background: var(--pink); border-radius: 6px; transition: width .3s ease; }
.quiz-error { color: #B3123A; font-weight: 700; }
.quiz-result { background: var(--white); border-radius: 24px; padding: 22px; margin-top: 16px; }
.quiz-score { display: flex; gap: 12px; align-items: center; font-size: 22px; margin-bottom: 8px; }
.quiz-score strong { font-family: var(--font-title); }
/* Pages légales */
.legal .ml-section, .legal .cgv-section { margin-bottom: 36px; }
.legal .ml-block { background: var(--lavender); border-radius: 22px; padding: 18px 20px; display: grid; gap: 10px; }
.legal .ml-row { display: grid; gap: 2px; }
@media (min-width: 768px) { .legal .ml-row { grid-template-columns: 220px minmax(0, 1fr); gap: 12px; } }
.legal .ml-label { font-weight: 700; }
.legal h2 { font-size: 22px; }
@media (min-width: 1024px) { .legal h2 { font-size: 26px; } }
.lead-extra .lead-box { margin-top: 24px; }
.prose .compar-res strong, .compar-res strong { color: var(--white); }
.prose .compar legend, .prose .compar fieldset { margin-top: 0; }

/* Bandeau cookies (assets/eduo/consent.js) */
.cookie-box { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); max-width: 560px; margin: 0 auto; background: var(--white); color: var(--ink); border-radius: 26px; box-shadow: var(--shadow-float); padding: 18px; display: grid; gap: 12px; font-size: 14px; }
.has-tabbar .cookie-box { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
.cookie-box p { margin: 0; color: var(--muted); }
.cookie-box strong { display: block; font-family: var(--font-title); font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.cookie-box a { color: var(--ink); font-weight: 700; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-open .floating-cta { display: none; }
@media (min-width: 1024px) { .cookie-box, .has-tabbar .cookie-box { left: auto; right: 24px; bottom: 24px; margin: 0; max-width: 420px; } }

/* Contraste : rose d'accent sur fond lavande (≥ 3:1 pour les grands titres) */
.panel .accent { color: #EC4A72; }
.card .card-title { display: block; font-family: var(--font-title); font-weight: 600; font-size: 17px; line-height: 1.3; margin-bottom: 2px; }
@media (min-width: 1024px) { .card .card-title { font-size: 19px; } }

/* Signature en ligne de la convention (espace/signer.php) */
.sign-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1180px; margin: 0 auto; padding: 18px 16px; }
.sign-top img { height: 28px; width: auto; }
.sign-wrap { max-width: 1180px; margin: 0 auto; padding: 8px 16px 24px; }
.sign-wrap h1 { margin: 12px 0 6px; }
@media (min-width: 1024px) { .sign-wrap { padding: 12px 40px 40px; } .sign-top { padding: 22px 40px; } .sign-wrap h1 { font-size: 40px; } }
.sign-wrap > .form-error, .sign-wrap > .note { margin: 12px 0 0; }
.sign-grid { display: grid; gap: 14px; margin-top: 18px; align-items: start; }
@media (min-width: 1024px) { .sign-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; } .sign-form { position: sticky; top: 18px; } }
.sign-doc iframe { display: block; width: 100%; height: 72vh; min-height: 520px; border: 0; border-radius: 18px; background: var(--lavender); }
.sign-form h2 { margin-bottom: 4px; }
.sign-step { display: grid; gap: 12px; padding: 14px 0; }
.sign-step + .sign-step { border-top: 1px solid var(--line); }
.sign-step p { margin: 0; }
.code-input { font-family: var(--font-title); font-size: 22px !important; letter-spacing: 6px; }
.sign-note { font-size: 12px; color: var(--muted); }
.sign-done { max-width: 720px; display: grid; gap: 12px; }
.sign-done h1 { font-size: 30px; }
.sign-done p { margin: 0; }
.sign-page .legal-footer { max-width: 1180px; margin: 32px auto 0; padding: 22px 16px 32px; }
.panel-head .btn { white-space: nowrap; flex: none; }
/* Accueil de l'Espace : « Bonjour + contact » et avatar sur la même ligne, même pour un nom long */
.espace-head > div:first-child { flex: 1 1 0; min-width: 0; }
.espace-head-actions { flex: none; }
@media (max-width: 1023px) { .espace-head h1 { font-size: 24px; } }

/* Avis Google (section de l'accueil, assets/eduo/avis.js) */
.avis-google .section-head { flex-wrap: wrap; align-items: center; }
.avis-note { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.avis-note .badge { font-size: 15px; }
.avis-liste { display: grid; gap: 12px; }
@media (min-width: 768px) { .avis-liste { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; } }
.avis-card { margin: 0; background: var(--lavender); border-radius: 26px; padding: 22px; display: flex; flex-direction: column; gap: 16px; justify-content: space-between; }
.avis-card blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: #2A2A2A; }
.avis-card blockquote::before { content: '« '; } .avis-card blockquote::after { content: ' »'; }
.avis-tete { display: flex; align-items: center; gap: 12px; }
.avis-tete > span:last-child { display: grid; }
.avis-auteur { font-weight: 700; color: var(--ink); text-decoration: none; }
a.avis-auteur:hover { text-decoration: underline; }
.avis-meta { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.avis-liens { margin: 14px 0 0; font-size: 14px; }
.avis-liens a { color: var(--green); font-weight: 700; }
.avis-source { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.avis-card .mono { background: var(--white); }
