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

/* Layout: sticky header + one page per tab (accueil, association, interventions, outil, don, demande), switched by the address anchor. Charte Access'IA : marine pour le texte, dégradé bleu → violet → rose pour les moments clés, magenta pour les accents. Aucune police externe. */
:root {
  --bg: #f3f4f9;
  --surface: #ffffff;
  --ink: #1f2369;
  --muted: #545a86;
  --line: #dcdff0;
  --accent: #2e3592;
  --accent-ink: #ffffff;
  --accent-soft: #eceefe;
  --magenta: #af1cc3;
  --magenta-soft: #f8e6fb;
  --grad: linear-gradient(90deg, #5370fe 0%, #a96be2 50%, #fc66c5 100%);
  --red: #b3261e;   --red-soft: #fbe9e7;
  --amber: #a65800; --amber-soft: #fdf0dc;
  --green: #2e7031; --green-soft: #e6f2e4;
  --font-display: "Inter Display Access", "Inter Display", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter Access", "Inter", "Segoe UI", system-ui, sans-serif;
  --step: 1.125rem;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #11122b; --surface: #1b1d3e; --ink: #eceeff; --muted: #b0b4d8; --line: #2f3264;
  --accent: #a7b0ff; --accent-ink: #11122b; --accent-soft: #262a5c; --magenta: #f07be0; --magenta-soft: #3a1f45;
  --red: #ff8a80; --red-soft: #3a1c1a; --amber: #ffb74d; --amber-soft: #3a2a12; --green: #8bd18e; --green-soft: #1a3320;
  color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #11122b; --surface: #1b1d3e; --ink: #eceeff; --muted: #b0b4d8; --line: #2f3264;
  --accent: #a7b0ff; --accent-ink: #11122b; --accent-soft: #262a5c; --magenta: #f07be0; --magenta-soft: #3a1f45;
  --red: #ff8a80; --red-soft: #3a1c1a; --amber: #ffb74d; --amber-soft: #3a2a12; --green: #8bd18e; --green-soft: #1a3320;
  color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: var(--step); line-height: 1.55; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--surface); }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; line-height: 1.1; color: var(--ink); letter-spacing: -0.025em; }
body { font-feature-settings: "cv11", "ss01"; }
h1 { font-size: clamp(2.2rem, 6.5vw, 3.8rem); font-weight: 800; letter-spacing: -0.035em; }
h1 em, h2 em { font-style: normal; color: var(--magenta); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.gutter { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.inner { max-width: 1080px; margin: 0 auto; }
.narrow { max-width: 760px; margin: 0 auto; }

/* Header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-head::after { content: ""; display: block; height: 4px; background: var(--grad); }
.theme-btn { font: inherit; font-size: 1rem; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.theme-btn:hover { border-color: var(--accent); }
.theme-btn .ic { width: 22px; height: 22px; display: inline-block; }
.theme-btn { padding: 8px 10px; }
.theme-btn .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Sections */
section.band { padding-block: 64px; }
section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.eyebrow { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--magenta); font-weight: 700; }
.sec-head { display: grid; gap: 10px; max-width: 46rem; margin-bottom: 32px; }
.sec-head p { color: var(--muted); font-size: 1.15rem; }

.hero { padding-block: 72px 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-text { display: grid; gap: 20px; }
.hero-text .lede { font-size: 1.25rem; color: var(--muted); max-width: 34em; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { font: inherit; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; text-decoration: none; padding: 14px 22px; border-radius: 14px; cursor: pointer; border: 2px solid transparent; display: inline-block; }
.btn.primary { background: var(--grad); color: #ffffff; text-shadow: 0 1px 2px rgba(31,35,105,.35); }
.btn.ghost { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn:hover { filter: brightness(1.06); }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 14px; }
.hero-card .pill { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--magenta); }
.mini-res { display: grid; grid-template-columns: 10px 1fr; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.mini-res .b { background: var(--level); }
.mini-res div:last-child { padding: 12px 14px; display: grid; gap: 2px; background: var(--level-soft); }
.mini-res strong { color: var(--level); font-family: var(--font-display); }
.mini-res span { color: var(--ink); font-size: 0.98rem; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.pillar { display: grid; gap: 10px; align-content: start; }
.pillar .num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pillar p { color: var(--muted); }
.values { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.values span { background: var(--accent-soft); color: var(--ink); padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 1rem; }

.audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.aud { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 12px; align-content: start; }
.aud-top { display: flex; gap: 14px; align-items: center; }
.aud-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.aud ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--muted); }
.aud li::marker { color: var(--magenta); }

.formats { margin-top: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.format { padding: 22px; display: grid; gap: 8px; align-content: start; border-right: 1px solid var(--line); }
.format:last-child { border-right: none; }
.format .tag { font-size: 0.85rem; font-weight: 700; color: var(--magenta); text-transform: uppercase; letter-spacing: 0.06em; }
.format p { color: var(--muted); }

.tool-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.tool-teaser ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.tool-teaser li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.tool-teaser li b { width: 28px; height: 28px; border-radius: 50%; background: var(--magenta-soft); color: var(--magenta); display: grid; place-items: center; font-family: var(--font-display); font-size: 0.95rem; }
.tool-box { background: var(--surface); border-radius: 20px; padding: 28px; display: grid; gap: 16px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.tool-box::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--grad); }
.tool-box .name { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; }
.tool-box .name em { font-style: normal; color: var(--magenta); }
.tool-box p { color: var(--muted); }

/* Donation */
.don-box { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; position: relative; overflow: hidden; }
.don-box::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--grad); }
.don-text { display: grid; gap: 16px; }
.don-text p { color: var(--muted); font-size: 1.1rem; }
.don-text .btn { width: fit-content; }
.don-secure { display: grid; gap: 10px; background: var(--accent-soft); border-radius: 16px; padding: 20px; }
.don-secure p { color: var(--ink); }
@media (max-width: 820px) { .don-box { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; } }

.tool-don { display: flex; gap: 12px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 0.98rem; }
.tool-don-ic { color: var(--magenta); flex: none; margin-top: 3px; }
.tool-don a { color: var(--magenta); font-weight: 700; }
.tool-don-sub { display: block; font-size: 0.88rem; margin-top: 2px; }

/* Request form */
.form { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.f { display: grid; gap: 6px; min-width: 0; }
.f > span { font-weight: 700; }
.f small { color: var(--muted); font-size: 0.92rem; }
.f input, .f select, .f textarea { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; }
.f textarea { min-height: 120px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); cursor: pointer; font-weight: 700; }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chips input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.form .note { font-size: 0.95rem; color: var(--muted); border-left: 3px solid var(--magenta); padding-left: 12px; }
.form .err { background: var(--amber-soft); border-left: 4px solid var(--amber); padding: 12px 14px; border-radius: 10px; }
.ready { display: grid; gap: 14px; background: var(--green-soft); border-radius: 16px; padding: 20px; }
.ready pre { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--font-body); font-size: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 0; max-height: 320px; overflow: auto; }
.mail { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; user-select: all; overflow-wrap: anywhere; }

/* Footer */
.site-foot { background: var(--surface); border-top: 1px solid var(--line); padding-block: 40px 48px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; }
.promise { display: grid; gap: 10px; }
.foot-links { display: grid; gap: 8px; align-content: start; }
.foot-small { color: var(--muted); font-size: 0.92rem; margin-top: 28px; }

/* Tool view */
.tool-view { padding-block: 32px 56px; }
.tool-wrap { display: grid; gap: 28px; }
.back { font-weight: 700; text-decoration: none; width: fit-content; }
.privacy { display: inline-flex; gap: 10px; align-items: center; background: var(--accent-soft); color: var(--ink); padding: 10px 14px; border-radius: 10px; font-size: 1rem; width: fit-content; max-width: 100%; }
.privacy svg { flex: none; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.step { display: grid; gap: 14px; }
.step-label { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--magenta); font-weight: 700; }
.step h2 { font-size: 1.45rem; font-weight: 700; }
.drop { border: 2px dashed var(--line); background: var(--surface); border-radius: 16px; padding: 28px 20px; display: grid; gap: 10px; justify-items: center; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop strong { font-size: 1.2rem; }
.drop small { color: var(--muted); font-size: 0.95rem; }
.file-chip { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.file-chip .name { min-width: 0; overflow-wrap: anywhere; flex: 1; }
.file-chip img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.link-btn { background: none; border: none; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; padding: 4px; }
label.field { display: grid; gap: 6px; }
input[type="url"] { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 100%; }
.q { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 10px; }
.q legend { padding: 0; font-weight: 700; }
.q .hint { color: var(--muted); font-size: 0.95rem; }
fieldset { margin: 0; border: none; padding: 0; display: grid; gap: 10px; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choices span { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); cursor: pointer; font-weight: 700; }
.choices input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.choices input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.go { font: inherit; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; background: var(--grad); color: #ffffff; text-shadow: 0 1px 2px rgba(31,35,105,.35); border: none; border-radius: 14px; padding: 18px 24px; cursor: pointer; width: 100%; }
.go:hover { filter: brightness(1.08); }
.need { background: var(--amber-soft); color: var(--ink); border-left: 4px solid var(--amber); padding: 12px 14px; border-radius: 10px; }
.result { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: grid; grid-template-columns: 14px 1fr; }
.result .band { background: var(--level); }
.result .body { padding: 22px 20px 24px; display: grid; gap: 20px; min-width: 0; }
.verdict { display: grid; gap: 8px; padding: 16px; border-radius: 12px; background: var(--level-soft); }
.verdict .tag { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--level); display: flex; gap: 10px; align-items: center; }
.dot { width: 18px; height: 18px; border-radius: 50%; background: var(--level); flex: none; }
.example-flag { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.signals { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.signals li { display: grid; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.signals li:last-child { border-bottom: none; padding-bottom: 0; }
.kind { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; width: fit-content; }
.kind.preuve { background: var(--red-soft); color: var(--red); }
.kind.indice { background: var(--amber-soft); color: var(--amber); }
.kind.contexte { background: var(--accent-soft); color: var(--accent); }
.kind.info { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.checklist input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.links a { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--bg); }
.links a:hover { border-color: var(--accent); }
.links a b { color: var(--accent); }
.links a span { font-size: 0.92rem; color: var(--muted); }
.help { display: grid; gap: 10px; }
.help-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.help-row .num { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; user-select: all; font-variant-numeric: tabular-nums; }
.help-row small { grid-column: 1 / -1; color: var(--muted); font-size: 0.95rem; }
.disclaimer { font-size: 0.95rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: 12px; }

@media (max-width: 820px) {
  .hero-grid, .tool-teaser, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .pillars, .formats { grid-template-columns: minmax(0, 1fr); }
  .format { border-right: none; border-bottom: 1px solid var(--line); }
  .format:last-child { border-bottom: none; }
  .audiences, .grid2 { grid-template-columns: minmax(0, 1fr); }
  section.band { padding-block: 48px; }
}
@media (prefers-reduced-motion: no-preference) { .result { animation: rise .35s ease-out; } @keyframes rise { from { transform: translateY(8px); opacity: .6; } to { transform: none; opacity: 1; } } html { scroll-behavior: smooth; } }


/* ===== En-tête : une seule ligne, menus déroulants ===== */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.head-row { display: flex; align-items: center; gap: 20px; height: 72px; }
.logo { background: #ffffff; border-radius: 12px; padding: 5px 9px; display: flex; align-items: center; flex: none; }
.logo img { display: block; width: 132px; max-width: 100%; height: auto; }
.nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.menu > li { position: relative; }
.menu > li > a, .sub-btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border-radius: 999px; font: inherit; font-size: 0.98rem; font-weight: 600; color: var(--ink); text-decoration: none; background: none; border: none; cursor: pointer; white-space: nowrap; }
.menu > li > a:hover, .sub-btn:hover, .has-sub.open .sub-btn { background: var(--accent-soft); }
.menu > li > a[aria-current="page"], .has-sub.active .sub-btn { color: var(--magenta); }
.menu > li > a[aria-current="page"]::after, .has-sub.active .sub-btn::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px; border-radius: 3px; background: var(--grad); transform: translateX(-50%); }
.sub-btn svg { transition: transform .2s; }
.has-sub.open .sub-btn svg { transform: rotate(180deg); }
.sub { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); min-width: 320px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: 0 24px 50px -20px rgba(31,35,105,.4); display: grid; gap: 2px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
.sub::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-sub.open .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1201px) { .has-sub:hover .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); } .has-sub:hover .sub-btn svg { transform: rotate(180deg); } }
.sub a { display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.sub a:hover, .sub a[aria-current="page"] { background: var(--accent-soft); }
.sub a .si { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.sub a b { font-weight: 600; }
.sub a span:last-child { color: var(--muted); font-size: 0.9rem; line-height: 1.35; }
.head-actions { display: flex; gap: 8px; align-items: center; flex: none; }
.head-cta { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--grad); color: #ffffff; font-weight: 600; font-size: 0.98rem; text-decoration: none; white-space: nowrap; text-shadow: 0 1px 2px rgba(31,35,105,.3); }
.head-cta:hover { filter: brightness(1.07); }
.theme-btn { width: 42px; height: 42px; padding: 0; justify-content: center; }
.menu-btn { display: none; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer; }
.menu-btn .x { display: none; }
.site-head.open .menu-btn .x { display: block; } .site-head.open .menu-btn .bars { display: none; }
.m-only { display: none !important; }
@media (max-width: 1200px) {
  .head-row { gap: 12px; height: 64px; }
  .menu-btn { display: inline-flex; }
  .head-cta { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px)); background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(31,35,105,.45); max-height: calc(100vh - 70px); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .site-head.open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; max-width: 640px; margin: 0 auto; }
  .menu > li > a, .sub-btn { width: 100%; height: 50px; font-size: 1.08rem; justify-content: space-between; border-radius: 14px; }
  .menu > li > a[aria-current="page"]::after, .has-sub.active .sub-btn::after { display: none; }
  .sub { position: static; transform: none; min-width: 0; box-shadow: none; border: none; padding: 0 0 6px 8px; display: none; opacity: 1; visibility: visible; }
  .has-sub.open .sub { display: grid; transform: none; }
  .m-only { display: flex !important; }
  .menu > li > a.m-cta { margin-top: 8px; justify-content: center; height: 52px; background: var(--grad); color: #ffffff; }
  .menu > li > a.m-cta::after { display: none; }
}
@media (max-width: 420px) { .menu-btn span { display: none; } .menu-btn { padding: 0 12px; } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent { display: flex; gap: 16px; align-items: flex-start; background: var(--green-soft); border-radius: 16px; padding: 20px; }
.sent-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: var(--surface); display: grid; place-items: center; flex: none; }
.sent div { display: grid; gap: 6px; }
.btn:disabled { opacity: .7; cursor: progress; }
/* Pages */
.page-head { padding-block: 56px 48px; }
.page-head .inner, .page-head .narrow { display: grid; gap: 20px; }
.page-head h1 { padding-bottom: 4px; }
.page-head .lede { font-size: 1.25rem; color: var(--muted); max-width: 40em; }
.home-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-card { display: grid; gap: 10px; align-content: start; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.home-card:hover { border-color: var(--magenta); transform: translateY(-2px); }
.home-card p { color: var(--muted); }
.home-card .more { color: var(--magenta); font-weight: 700; margin-top: 4px; }
.value-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 8px; }
.value p { color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { display: grid; gap: 12px; align-content: start; }
.steps li > b { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #ffffff; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.1rem; }
.steps li div { display: grid; gap: 6px; }
.steps p { color: var(--muted); }
.faq { display: grid; gap: 10px; }
.faq details, .about-tool { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.faq summary, .about-tool summary { font-weight: 700; cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--muted); }
.can-cant { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 14px; }
.can-cant ul { margin: 8px 0 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--muted); }
@media (max-width: 980px) { .home-cards, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .home-cards, .steps, .value-grid, .can-cant { grid-template-columns: minmax(0, 1fr); } }

/* ===== Dynamique & visuels ===== */
:root { --deep: #1a1d5c; --deep-ink: #ffffff; --glow1: rgba(83,112,254,.35); --glow2: rgba(169,107,226,.30); --glow3: rgba(252,102,197,.28); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --deep: #0a0b22; --glow1: rgba(83,112,254,.28); --glow2: rgba(169,107,226,.24); --glow3: rgba(252,102,197,.20); } }
:root[data-theme="dark"] { --deep: #0a0b22; --glow1: rgba(83,112,254,.28); --glow2: rgba(169,107,226,.24); --glow3: rgba(252,102,197,.20); }

.hero, .page-head { position: relative; overflow: hidden; isolation: isolate; }
.blobs { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blobs i { position: absolute; border-radius: 50%; filter: blur(60px); }
.blobs i:nth-child(1) { width: 420px; height: 420px; background: var(--glow1); top: -120px; left: -80px; }
.blobs i:nth-child(2) { width: 360px; height: 360px; background: var(--glow2); top: 30%; right: -100px; }
.blobs i:nth-child(3) { width: 300px; height: 300px; background: var(--glow3); bottom: -140px; left: 40%; }
.blobs::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--line) 1.2px, transparent 1.2px); background-size: 26px 26px; opacity: .55; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 em, h2 em { background: linear-gradient(90deg, #7a5cf0, var(--magenta) 55%, #fc66c5); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero illustration : l'outil en action */
.hero-visual { position: relative; min-height: 470px; display: grid; place-items: center; }
.phone { width: 280px; max-width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 34px; padding: 14px; box-shadow: 0 30px 60px -20px rgba(31,35,105,.35), 0 0 0 8px color-mix(in srgb, var(--surface) 60%, transparent); position: relative; }
.phone-notch { width: 90px; height: 20px; border-radius: 0 0 14px 14px; background: var(--line); margin: -14px auto 10px; }
.post { display: grid; gap: 10px; }
.post-head { display: flex; gap: 10px; align-items: center; font-size: .9rem; }
.post-head i { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #f5a623, #e2445c); flex: none; }
.post-head b { display: block; }
.post-head small { color: var(--muted); }
.post-img { position: relative; height: 210px; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #ffb37a 0%, #ff7b9c 45%, #7a5cf0 100%); }
.post-img .sun { position: absolute; width: 70px; height: 70px; border-radius: 50%; background: #fff3c4; top: 40px; left: 50%; transform: translateX(-50%); box-shadow: 0 0 40px #fff3c4; }
.post-img .hill { position: absolute; bottom: -40px; border-radius: 50%; }
.post-img .h1 { width: 260px; height: 140px; left: -60px; background: #3b2a7a; }
.post-img .h2 { width: 280px; height: 130px; right: -90px; background: #23205a; }
.post-img .scan { position: absolute; left: 0; right: 0; height: 3px; top: 0; background: #fff; box-shadow: 0 0 18px 6px rgba(252,102,197,.8), 0 0 4px #fff; }
.post-img .scan-zone { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(83,112,254,.0), rgba(83,112,254,.25)); transform-origin: top; }
.post-txt { font-weight: 700; font-size: .95rem; }
.verdict-chip { display: flex; align-items: center; gap: 10px; background: var(--red-soft); color: var(--red); border-radius: 14px; padding: 10px 12px; font-family: var(--font-display); font-weight: 800; margin-top: 10px; }
.verdict-chip .dot { width: 14px; height: 14px; background: var(--red); }
.floaty { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: grid; gap: 4px; font-size: .9rem; font-weight: 700; box-shadow: 0 14px 30px -12px rgba(31,35,105,.35); max-width: 200px; }
.floaty.f1 { top: 18px; left: -6px; }
.floaty.f2 { top: 170px; right: -10px; }
.floaty.f3 { top: 300px; left: -16px; max-width: 170px; }

/* Bandeau défilant */
.ticker { background: var(--deep); color: var(--deep-ink); overflow: hidden; border-block: 1px solid var(--line); }
.ticker-track { display: flex; width: max-content; gap: 0; padding-block: 16px; }
.ticker span { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; white-space: nowrap; padding-inline: 22px; display: inline-flex; align-items: center; gap: 22px; }
.ticker span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); display: inline-block; }

/* Cartes d'accueil */
.home-card { position: relative; background: var(--surface); }
.home-card::before { content: ""; position: absolute; inset: -1px; border-radius: 19px; padding: 2px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .2s; pointer-events: none; }
.home-card:hover::before, .home-card:focus-visible::before { opacity: 1; }
.home-card:hover { border-color: transparent; transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(31,35,105,.35); }
.hc-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--grad); color: #ffffff; display: grid; place-items: center; }
.home-card .more { display: inline-flex; gap: 6px; align-items: center; }
.home-card:hover .more { gap: 10px; }
.more { transition: gap .2s; }

/* Quiz */
.quiz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.qcard { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 14px; align-content: start; transition: transform .2s, box-shadow .2s; }
.qcard:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(31,35,105,.35); }
.qcard .qtype { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--magenta); }
.qcard blockquote { margin: 0; font-size: 1.05rem; font-weight: 700; }
.qbtns { display: flex; flex-wrap: wrap; gap: 8px; }
.qbtns button { font: inherit; font-weight: 700; font-size: .98rem; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.qbtns button:hover { border-color: var(--accent); }
.qfb { border-radius: 12px; padding: 12px 14px; font-size: .98rem; }
.qfb.ok { background: var(--green-soft); }
.qfb.ko { background: var(--amber-soft); }
.qfb b { display: block; margin-bottom: 2px; }
.qscore { margin-top: 20px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }

/* Étapes reliées */
.steps { position: relative; }
@media (min-width: 981px) { .steps::before { content: ""; position: absolute; top: 20px; left: 20px; right: 20px; height: 2px; background: var(--grad); opacity: .45; } }
.steps li > b { position: relative; box-shadow: 0 0 0 6px var(--bg); }
section.alt .steps li > b { box-shadow: 0 0 0 6px var(--surface); }

/* Cartes publics */
.aud { transition: transform .2s, box-shadow .2s, border-color .2s; }
.aud:hover { transform: translateY(-3px); border-color: var(--magenta); box-shadow: 0 18px 36px -20px rgba(31,35,105,.35); }
.aud-ic { background: var(--grad); color: #ffffff; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
section.alt .pillar { background: var(--bg); }

/* Pied de page */
.site-foot { background: var(--deep); color: var(--deep-ink); border-top: none; position: relative; }
.site-foot::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); }
.site-foot a { color: #c9cdff; }
.site-foot .foot-small { color: #b6bae6; }

/* CTA final */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--deep); color: var(--deep-ink); border-radius: 26px; padding: 44px 32px; display: grid; gap: 18px; justify-items: start; }
.cta-band h2 { color: var(--deep-ink); }
.cta-band p { color: #c9cdff; max-width: 36em; font-size: 1.1rem; }
.cta-band .blobs::after { display: none; }
.cta-band .btn.ghost { border-color: #c9cdff; color: #ffffff; }

/* Apparitions et mouvements */
@media (prefers-reduced-motion: no-preference) {
  .view:not([hidden]) .rv { animation: rv .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--d, 0) * 90ms); }
  @keyframes rv { from { transform: translateY(22px); } to { transform: none; } }
  .blobs i { animation: drift 16s ease-in-out infinite alternate; }
  .blobs i:nth-child(2) { animation-duration: 20s; animation-delay: -6s; }
  .blobs i:nth-child(3) { animation-duration: 24s; animation-delay: -12s; }
  @keyframes drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,40px) scale(1.15); } 100% { transform: translate(-40px,20px) scale(.95); } }
  .post-img .scan { animation: scan 3.2s ease-in-out infinite; }
  .post-img .scan-zone { animation: zone 3.2s ease-in-out infinite; }
  @keyframes scan { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 85% { top: calc(100% - 3px); opacity: 1; } 100% { top: calc(100% - 3px); opacity: 0; } }
  @keyframes zone { 0% { transform: scaleY(0); } 85% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
  .floaty { animation: bob 5s ease-in-out infinite; }
  .floaty.f2 { animation-delay: -1.6s; } .floaty.f3 { animation-delay: -3.2s; }
  @keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  .verdict-chip .dot { animation: pulse 1.8s ease-in-out infinite; }
  @keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--red) 55%, transparent); } 50% { box-shadow: 0 0 0 8px transparent; } }
  .ticker-track { animation: tick 38s linear infinite; }
  @keyframes tick { to { transform: translateX(-50%); } }
  .btn.primary { background-size: 200% 100%; background-image: linear-gradient(90deg, #5370fe, #a96be2, #fc66c5, #a96be2, #5370fe); transition: background-position .5s, transform .15s; }
  .btn.primary:hover { background-position: 100% 0; transform: translateY(-2px); }
}
@media (max-width: 820px) {
  .hero-visual { min-height: 420px; }
  .floaty { display: none; }
  .quiz { grid-template-columns: minmax(0, 1fr); }
}

/* Mentions légales */
.legal { display: grid; gap: 14px; }
.legal h2 { font-size: 1.5rem; margin-top: 22px; }
.legal h3 { font-size: 1.1rem; margin-top: 8px; }
.legal p, .legal dd { color: var(--muted); }
.legal dl { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 8px 16px; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; overflow-wrap: anywhere; }
.legal .foot-note { font-size: .92rem; }
@media (max-width: 560px) { .legal dl { grid-template-columns: minmax(0, 1fr); } .legal dd { margin-bottom: 8px; } }
.assoc-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.assoc-facts span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .95rem; }

/* Logo : couleur en mode jour, blanc en mode nuit */
.logo img { height: auto; }
.logo .logo-white { display: none; }
.site-foot .logo { background: transparent; padding: 0; }
.site-foot .logo .logo-color { display: none; }
.site-foot .logo .logo-white { display: block; width: 170px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo { background: transparent; padding: 0; }
  :root:not([data-theme="light"]) .logo .logo-color { display: none; }
  :root:not([data-theme="light"]) .logo .logo-white { display: block; }
}
:root[data-theme="dark"] .logo { background: transparent; padding: 0; }
:root[data-theme="dark"] .logo .logo-color { display: none; }
:root[data-theme="dark"] .logo .logo-white { display: block; }

/* Transition jour / nuit */
.vt-theme::view-transition-old(root), .vt-theme::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.vt-theme::view-transition-new(root) { z-index: 9999; }
.vt-theme::view-transition-old(root) { z-index: 1; }
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after { transition: background-color .5s ease, color .5s ease, border-color .5s ease, box-shadow .5s ease !important; }
.theme-btn { transition: transform .2s ease, border-color .2s ease; }
.theme-btn:active { transform: scale(.9); }
@media (prefers-reduced-motion: no-preference) {
  .theme-btn .ic.swap svg { animation: iconSwap .6s cubic-bezier(.34,1.56,.64,1); }
  @keyframes iconSwap { from { transform: rotate(-120deg) scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* Réseaux sociaux et e-mail */
.socials { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.soc { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #ffffff !important; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); transition: transform .2s, background .2s; }
.soc:hover { transform: translateY(-2px); background: var(--grad); border-color: transparent; }
.soc-mail { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 6px 4px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #ffffff; max-width: 100%; }
.soc-mail .addr { user-select: all; font-weight: 600; overflow-wrap: anywhere; }
.copy-mail { font: inherit; font-size: .88rem; font-weight: 600; border: none; border-radius: 999px; padding: 7px 12px; background: #ffffff; color: #1f2369; cursor: pointer; }

/* ===== Outil : onglets, accessibilité, partage ===== */
html.big { font-size: 118%; }
html.big .q legend, html.big .verdict h3 { font-size: 1.15em; }
.tool-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.res-btn { font: inherit; font-size: .98rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; transition: border-color .15s, background .15s, transform .15s; }
.res-btn:hover { border-color: var(--accent); }
.res-btn:active { transform: scale(.97); }
.res-btn[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.mode-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 6px; }
.mode-tab { font: inherit; font-weight: 600; font-size: .98rem; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 13px; border: none; background: transparent; color: var(--muted); cursor: pointer; text-align: left; min-width: 0; transition: background .2s, color .2s; }
.mode-tab svg { flex: none; }
.mode-tab:hover { color: var(--ink); background: var(--bg); }
.mode-tab[aria-selected="true"] { background: var(--grad); color: #ffffff; box-shadow: 0 10px 24px -14px rgba(31,35,105,.6); }
.mode-panel { display: grid; gap: 14px; }
.mode-panel textarea, #link { font: inherit; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 100%; resize: vertical; }
.hint-line { color: var(--muted); font-size: .95rem; }
.examples-box { display: grid; gap: 10px; background: var(--accent-soft); border-radius: 14px; padding: 14px 16px; }
.examples { display: flex; flex-wrap: wrap; gap: 8px; }
.ex-btn { font: inherit; font-size: .95rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1.5px dashed var(--accent); background: var(--surface); color: var(--accent); cursor: pointer; }
.ex-btn:hover { border-style: solid; }
.kind.alerte { background: var(--red); color: var(--surface); }
.res-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.share-box { display: grid; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.share-box pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--font-body); font-size: .98rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.share-ok { color: var(--green); font-weight: 600; }
@media (max-width: 640px) { .mode-tabs { grid-template-columns: minmax(0, 1fr); } }

/* Lien d'évitement */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .15s; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }
/* Accueil sur téléphone : illustration plus compacte */
@media (max-width: 820px) {
  .hero { padding-block: 40px 32px; }
  .hero-visual { min-height: 0; padding-block: 8px; }
  .phone { width: 220px; padding: 10px; border-radius: 28px; }
  .post-img { height: 140px; }
  .post-head, .post-txt { font-size: .82rem; }
  .verdict-chip { font-size: .95rem; padding: 8px 10px; }
}
@media (max-width: 480px) { .hero-visual { display: none; } }
main:focus { outline: none; }

/* ===== Articles ===== */
.art-meta { color: var(--muted); font-size: .95rem; }
.article { display: grid; gap: 16px; }
.article h2 { font-size: clamp(1.4rem, 3.5vw, 1.75rem); margin-top: 18px; }
.article h3 { font-size: 1.15rem; }
.article p, .article li { color: var(--ink); line-height: 1.7; max-width: 65ch; }
.article a { color: var(--accent); font-weight: 600; }
.art-list, .art-steps { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; }
.art-list li::marker { color: var(--magenta); }
.art-steps { counter-reset: st; list-style: none; padding-left: 0; }
.art-steps li { counter-increment: st; position: relative; padding-left: 52px; min-height: 36px; }
.art-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #ffffff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.art-alert { background: var(--red-soft); border-left: 4px solid var(--red); border-radius: 12px; padding: 16px 18px; display: grid; gap: 8px; margin-top: 8px; }
.art-cta { margin-top: 24px; display: grid; gap: 18px; background: var(--deep); color: var(--deep-ink); border-radius: 22px; padding: 28px; position: relative; overflow: hidden; }
.art-cta::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--grad); }
.art-cta h2 { color: #ffffff; margin: 4px 0 6px; font-size: 1.5rem; }
.art-cta p { color: #c9cdff; }
.art-cta .eyebrow { color: #f7a8e6; }
.art-cta .btn.ghost { border-color: #c9cdff; color: #ffffff; }
.art-more { color: var(--muted); }
.art-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fiche-card { background: var(--accent-soft); }
@media (max-width: 560px) { .art-cards { grid-template-columns: minmax(0, 1fr); } }
/* Ateliers publics */
.agenda { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; background: var(--surface); border: 1px dashed var(--magenta); border-radius: 18px; padding: 22px; }
.agenda > div { display: grid; gap: 6px; max-width: 46rem; min-width: 0; }
.agenda p { color: var(--muted); }

.home-more-line { margin-top: 22px; color: var(--muted); }
.home-more { color: var(--magenta); font-weight: 600; }

/* Réduction d'impôt */
.tax-band { padding-top: 0; }
.tax { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.tax-text { display: grid; gap: 14px; }
.tax-text p { color: var(--muted); font-size: 1.08rem; }
.tax-text strong { color: var(--ink); }
.tax-small { font-size: .95rem !important; }
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: grid; gap: 14px; box-shadow: 0 24px 50px -30px rgba(31,35,105,.45); position: relative; overflow: hidden; }
.calc::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--grad); }
.calc label { font-weight: 600; }
.calc-row { display: flex; align-items: center; gap: 10px; }
.calc-row input { font: inherit; font-family: var(--font-display); font-weight: 800; font-size: 2rem; width: 100%; max-width: 200px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); }
.calc-row span { font-family: var(--font-display); font-weight: 800; font-size: 2rem; }
.calc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-chips button { font: inherit; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.calc-chips button:hover { border-color: var(--accent); }
.calc-out { color: var(--muted); }
.calc-out strong { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--green); margin-top: 4px; font-variant-numeric: tabular-nums; }
.calc .btn { width: fit-content; }
@media (max-width: 820px) { .tax { grid-template-columns: minmax(0, 1fr); } }
