/* Prêt Sans Refus — thème « sauge » du système de design fourni (page crème,
   vert sauge/forêt), traduit en CSS statique sans CDN. Les polices Web du
   prototype sont remplacées par une pile système équivalente. */

:root {
  /* sauge theme */
  --bg-inverse: #1d332a;
  --bg-inverse-2: #28463a;
  --text-on-inverse: #f0f7f2;
  --text-on-inverse-muted: rgba(240, 247, 242, 0.68);
  --line-on-inverse: rgba(240, 247, 242, 0.14);
  --bg-page: #fdfcf8;
  --bg-alt: #f4f6ee;
  --bg-card: #ffffff;
  --bg-tint: #e9efdf;
  --text-body: #1f2d26;
  --text-muted: #5c6f64;
  --text-faint: #8fa094;
  --line: #e2e8db;
  --line-strong: #c8d3c4;
  --accent: #3f8e5e;
  --accent-hover: #35794f;
  --accent-press: #2c6743;
  --accent-ink: #ffffff;
  --accent-soft: #e6f3ea;
  --accent-halo: rgba(63, 142, 94, 0.2);
  --link: #35794f;
  --link-hover: #2c6743;
  /* status — constants du réseau, jamais thémés */
  --positive: #17b26a;
  --positive-soft: #e6f7ef;
  --negative: #d64545;
  --negative-soft: #fdeced;
  /* type */
  --font-display: "Avenir Next", "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Avenir", "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-hero: clamp(2.125rem, 1.35rem + 3vw, 3.375rem);
  --fs-h2: clamp(1.625rem, 1.2rem + 1.7vw, 2.375rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h4: 1.1875rem;
  --fs-stat: clamp(1.875rem, 1.2rem + 2.4vw, 2.75rem);
  --fs-lead: 1.125rem;
  --fs-body: 1rem;
  --fs-sm: 0.9375rem;
  --fs-legal: 0.8125rem;
  --fs-eyebrow: 0.75rem;
  --lh-body: 1.62;
  /* spacing / layout */
  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(56px, 6vw, 96px);
  --section-y-tight: clamp(40px, 4vw, 64px);
  --gap-grid: 24px;
  /* effects */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(18, 26, 20, 0.05), 0 2px 8px rgba(18, 26, 20, 0.04);
  --shadow-md: 0 2px 4px rgba(18, 26, 20, 0.04), 0 12px 28px rgba(18, 26, 20, 0.08);
  --shadow-lift: 0 4px 8px rgba(18, 26, 20, 0.06), 0 20px 44px rgba(18, 26, 20, 0.12);
  --shadow-accent: 0 8px 24px var(--accent-halo);
  --grad-inverse: linear-gradient(168deg, var(--bg-inverse) 0%, var(--bg-inverse-2) 100%);
  --dur: 200ms;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --focus-ring: 0 0 0 3px var(--accent-halo);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
html.restoring-menu-scroll { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
body.menu-open {
  position: fixed;
  inset-inline: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
}
html.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); color: inherit; text-wrap: balance; }
h1 { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -0.028em; line-height: 1.08; }
h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
h3 { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -0.01em; line-height: 1.22; }
p { margin: 0 0 12px; }
a { color: var(--link); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--r-xs); }
button, input { font: inherit; }
button { appearance: none; -webkit-appearance: none; }
.icon { display: inline-flex; flex: 0 0 auto; width: 1em; height: 1em; }
.icon--13 { width: 13px; height: 13px; }
.icon--14 { width: 14px; height: 14px; }
.icon--15 { width: 15px; height: 15px; }
.icon--16 { width: 16px; height: 16px; }
.icon svg { width: 100%; height: 100%; display: block; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-150%); padding: 10px 16px; background: var(--bg-inverse); color: #fff; border-radius: var(--r-sm); }
.skip-link:focus { transform: none; }
.container { width: min(var(--maxw), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
/* Contextual links inside body copy stay recognisable without hover. */
main p a:not(.btn), main li a:not(.btn) { text-decoration: underline; text-decoration-thickness: 1px; }

/* Visible breadcrumb trail on every internal page (matches BreadcrumbList). */
.breadcrumbs { position: relative; font-size: var(--fs-legal); color: var(--text-muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.breadcrumbs li + li::before { content: "›"; color: var(--text-faint); }
.breadcrumbs a { color: var(--link); }
.breadcrumbs [aria-current="page"] { color: var(--text-body); font-weight: 600; }
.hero .breadcrumbs { margin-bottom: clamp(18px, 2.4vw, 28px); }
.form-page .breadcrumbs { margin-bottom: 14px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 80; background: var(--bg-card); border-bottom: 1px solid var(--line); }
.header-row { min-height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; width: min(210px, 42vw); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 100%; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.desktop-nav > a { font-size: var(--fs-sm); font-weight: 500; color: var(--text-muted); }
.desktop-nav > a:hover { color: var(--text-body); text-decoration: none; }
.desktop-nav > a[aria-current="page"] { color: var(--accent-press); font-weight: 600; }
.desktop-nav > a.btn, .desktop-nav > a.btn:hover { color: var(--accent-ink); }
.nav-drop { position: relative; }
.nav-drop-button { display: flex; align-items: center; gap: 6px; padding: 0; background: transparent; border: none; cursor: pointer; font-size: var(--fs-sm); font-weight: 500; color: var(--text-body); }
.nav-drop-button .icon { color: var(--text-muted); }
.nav-drop-panel { position: absolute; top: calc(100% + 14px); right: -8px; z-index: 70; min-width: 300px; padding: 8px; display: grid; gap: 2px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lift); }
.nav-drop-panel[hidden] { display: none; }
.nav-drop-panel a { display: block; padding: 10px 12px; border-radius: var(--r-xs); font-size: var(--fs-sm); color: var(--text-body); }
.nav-drop-panel a:hover { background: var(--bg-alt); text-decoration: none; }
.nav-drop-panel a[aria-current="page"] { color: var(--accent-press); background: var(--accent-soft); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border: 1px solid transparent; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-size: var(--fs-body); font-weight: 700; letter-spacing: -0.005em; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.btn:hover { background: var(--accent-hover); color: var(--accent-ink); box-shadow: var(--shadow-accent); text-decoration: none; }
.btn:active { background: var(--accent-press); transform: translateY(1px); }
.btn--secondary { background: transparent; border-color: var(--accent); color: var(--accent-hover); }
.btn--secondary:hover { background: var(--accent-soft); color: var(--accent-hover); box-shadow: none; }
.btn--lg { padding: 16px 30px; font-size: var(--fs-lead); }
.btn--sm { padding: 9px 16px; font-size: var(--fs-sm); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* Sticky-header parc (PM 09.09, #86e368hmh) : sur mobile la barre = logo | CTA | burger, le CTA
   (même cible que celui du bureau) reste visible en permanence, compact, 1-2 lignes centrées. */
.header-cta { display: none; }
.menu-button { display: none; margin-left: auto; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-card); color: var(--text-body); cursor: pointer; }
.menu-button span, .menu-button::before, .menu-button::after { content: ""; display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 2px; background: currentColor; }

/* mobile overlay menu */
.mobile-menu[hidden] { display: none; }
.mobile-menu { position: fixed; inset: 0; z-index: 100; overflow-y: auto; background: rgba(20, 32, 26, 0.55); }
.mobile-panel { min-height: 100%; padding: 14px var(--gutter) 28px; background: var(--bg-page); box-shadow: var(--shadow-lift); }
.mobile-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 54px; margin-bottom: 18px; }
.mobile-close { position: relative; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-card); color: var(--text-body); cursor: pointer; }
.mobile-close::before, .mobile-close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.mobile-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.mobile-nav { display: grid; gap: 2px; }
.mobile-nav a { padding: 13px 6px; border-bottom: 1px solid var(--line); font-size: var(--fs-body); font-weight: 500; color: var(--text-body); }
.mobile-nav a:hover { text-decoration: none; color: var(--accent-press); }
.mobile-nav a[aria-current="page"] { color: var(--accent-press); font-weight: 700; }
.mobile-nav a.btn { margin-top: 16px; width: 100%; padding: 13px 22px; border-bottom: none; color: var(--accent-ink); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg-page) 100%); padding: clamp(40px, 5vw, 72px) 0 clamp(40px, 5vw, 64px); }
.hero::before { content: ""; position: absolute; top: -180px; right: -120px; width: 480px; height: 480px; border-radius: 50%; background: var(--accent-soft); opacity: 0.7; pointer-events: none; }
.hero-grid { position: relative; display: grid; align-items: center; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: clamp(32px, 4vw, 60px); }
.hero-copy { display: grid; gap: 20px; justify-items: start; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-press); font-size: var(--fs-sm); font-weight: 500; line-height: 1.25; }
.hero-lead { margin: 0; max-width: 58ch; font-size: var(--fs-lead); color: var(--text-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-note { margin: -6px 0 0; max-width: 58ch; font-size: var(--fs-legal); line-height: 1.5; color: var(--text-muted); }
.hero-stats { margin-top: 24px; width: 100%; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat-card { padding: 14px 16px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.stat-card strong { display: block; font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; }
.stat-card span { display: block; margin-top: 5px; font-size: var(--fs-legal); line-height: 1.4; color: var(--text-muted); }
.hero-media { position: relative; min-width: 0; }
.hero-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.float-chip { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--bg-card); border-radius: var(--r-sm); box-shadow: var(--shadow-md); font-size: var(--fs-legal); font-weight: 600; color: var(--text-body); }
.chip-icon { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-press); }

/* trust strip */
.trust-strip { background: var(--bg-card); border-bottom: 1px solid var(--line); padding: 16px 0; }
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px clamp(20px, 4vw, 48px); }
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 500; color: var(--text-muted); }
.trust-strip .icon { color: var(--accent-hover); }

/* ---------- sections ---------- */
.section { padding-block: var(--section-y); background: var(--bg-page); }
.section--alt { background: var(--bg-alt); }
.section--tint { background: var(--bg-tint); }
.section--tight { padding-block: var(--section-y-tight); }
.section-narrow { max-width: 840px; margin-inline: auto; }
.section-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: clamp(28px, 4vw, 40px); }
.section-heading--center { align-items: center; text-align: center; }
.section-heading h2 { max-width: 760px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-hover); }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.5; }
.section-heading--center .eyebrow::after { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.5; }
.section-lead { margin: 0; max-width: 760px; font-size: var(--fs-lead); color: var(--text-muted); }

.sub-grid { display: grid; gap: clamp(24px, 3vw, 40px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.sub-block h3 { margin-bottom: 10px; }
.sub-block p { font-size: var(--fs-sm); color: var(--text-muted); max-width: 72ch; }
.media-split { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.media-split figure { margin: 0; min-width: 0; }
.media-split img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--r-lg); }
.media-extra { margin-top: clamp(28px, 4vw, 40px); }

.check-list, .plus-list, .minus-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 14px; }
.check-list li, .plus-list li, .minus-list li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); }
.li-mark { display: grid; place-items: center; flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; border-radius: var(--r-pill); background: var(--positive-soft); color: var(--positive); }
.minus-list .li-mark, .li-mark--minus { background: var(--negative-soft); color: var(--negative); }
.sub-intro { max-width: 72ch; font-size: var(--fs-sm); color: var(--text-muted); }

/* steps */
.steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 4px; }
.step { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 22px; }
.step-rail { display: flex; flex-direction: column; align-items: center; align-self: stretch; flex: 0 0 auto; }
.step-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.step-line { width: 1px; flex: 1; min-height: 22px; margin-top: 8px; background: var(--line); }
.step-body { padding-top: 7px; font-size: var(--fs-sm); }
.steps-note { margin: 20px 0 0; font-size: var(--fs-sm); color: var(--text-faint); }

/* pros / cons */
.proscons-grid { display: grid; gap: var(--gap-grid); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.pc-card { padding: 24px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.pc-head { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.pc-head .chip-icon { background: var(--positive-soft); color: var(--positive); }
.pc-card--cons .pc-head .chip-icon { background: var(--negative-soft); color: var(--negative); }
.pc-card p { font-size: var(--fs-sm); color: var(--text-muted); }
.pc-note { margin: 14px 0 0; font-size: var(--fs-sm); color: var(--text-faint); }

/* tables */
.table-shell { min-width: 0; margin-top: clamp(24px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-card); }
.table-hint { display: none; margin: 0; padding: 9px 14px; border-bottom: 1px solid var(--line); color: var(--text-muted); font-size: var(--fs-legal); }
.table-scroll { overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-gutter: stable; border-radius: inherit; }
table { width: 100%; min-width: 640px; border-collapse: collapse; text-align: left; }
table.table--narrow { min-width: 520px; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: var(--fs-sm); }
th { font-family: var(--font-display); font-weight: 700; color: var(--text-body); background: var(--bg-alt); }
tbody th { background: transparent; font-family: var(--font-body); font-weight: 500; color: var(--text-muted); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.col-hl { background: var(--accent-soft) !important; color: var(--accent-press); }
td.col-hl { color: var(--text-body); font-weight: 600; }
.cell-flag { display: flex; gap: 10px; align-items: flex-start; }
.cell-flag .li-mark { margin-top: 0; }

/* regulation panel */
.reg-panel { margin-top: clamp(28px, 4vw, 44px); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--grad-inverse); color: var(--text-on-inverse); }
.reg-grid { display: grid; gap: var(--gap-grid); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.reg-stat strong { display: block; font-family: var(--font-display); font-size: var(--fs-stat); font-weight: 800; letter-spacing: -0.028em; line-height: 1.08; }
.reg-stat span { display: block; margin-top: 10px; max-width: 240px; font-size: var(--fs-sm); line-height: 1.45; color: var(--text-on-inverse-muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-weight: 600; }
.faq summary:hover h3 { color: var(--accent-hover); }
.faq-toggle { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: var(--r-pill); background: var(--bg-alt); color: var(--text-muted); font-size: 17px; line-height: 1; transition: background var(--dur) var(--ease-out); }
.faq-toggle::before { content: "+"; }
.faq details[open] summary h3 { color: var(--accent-hover); }
.faq details[open] .faq-toggle { background: var(--accent); color: var(--accent-ink); }
.faq details[open] .faq-toggle::before { content: "×"; }
.faq details p { margin: 0; padding: 0 48px 22px 0; font-size: var(--fs-sm); color: var(--text-muted); }

/* CTA band */
.cta-band { padding-block: var(--section-y); background: var(--accent-soft); }
.cta-band .container { max-width: 820px; display: grid; gap: 16px; justify-items: center; text-align: center; }
.cta-band .section-lead { max-width: none; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.cta-card { margin-top: 14px; max-width: 640px; padding: 18px 22px; text-align: left; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-md); }
.cta-card h3 { margin-bottom: 6px; font-size: var(--fs-sm); }
.cta-card p { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- utility pages ---------- */
.legal-page, .form-page { padding-block: clamp(52px, 7vw, 90px); }
.legal-content { max-width: 840px; display: grid; gap: 14px; justify-items: start; }
.legal-content p { margin: 0; color: var(--text-muted); }
.legal-content h2 { margin-top: 18px; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }
.legal-content ul { display: grid; gap: 6px; margin: 0; padding-left: 1.4em; color: var(--text-muted); }
.note { margin: 10px 0 0; padding: 14px 18px; border-left: 3px solid var(--accent); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--bg-alt); color: var(--text-muted); font-size: var(--fs-sm); }
.lead-form { max-width: 760px; margin-top: 18px; padding: clamp(24px, 5vw, 44px); background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; font-size: var(--fs-sm); font-weight: 600; }
.field input { width: 100%; min-height: 50px; padding: 10px 13px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; color: var(--text-body); font-weight: 400; }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus-ring); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin: 22px 0; color: var(--text-muted); font-size: var(--fs-sm); }
.consent input { width: 20px; height: 20px; margin-top: 2px; }
.form-status { min-height: 26px; margin: 14px 0 0; color: var(--text-muted); font-weight: 600; font-size: var(--fs-sm); }
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.form-result { margin: 0 0 22px; padding: 16px 20px; border-radius: var(--r-sm); font-weight: 600; }
.form-result--success { background: var(--positive-soft); color: #0f6b42; }
.form-result--error { background: var(--negative-soft); color: #a53030; }

/* ---------- footer ---------- */
.site-footer { padding: var(--section-y) 0 40px; background: var(--bg-inverse); color: var(--text-on-inverse); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: minmax(240px, 1.4fr) repeat(2, minmax(150px, 1fr)); }
.footer-brand { display: grid; gap: 14px; align-content: start; max-width: 380px; }
.footer-brand .brand { width: min(250px, 100%); }
.footer-brand p { margin: 0; font-size: var(--fs-sm); color: var(--text-on-inverse-muted); }
.footer-contact a { color: var(--text-on-inverse); text-decoration: underline; text-underline-offset: 3px; }
.footer-contact a:hover { color: var(--text-on-inverse); }
.footer-legal .footer-role { color: var(--text-on-inverse); }
.site-footer nav { display: grid; gap: 11px; align-content: start; }
.footer-title { margin: 0 0 2px; font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-on-inverse); }
.site-footer nav a { font-size: var(--fs-sm); color: var(--text-on-inverse-muted); }
.site-footer nav a:hover { color: var(--text-on-inverse); text-decoration: none; }
.footer-legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-on-inverse); display: grid; gap: 10px; }
.footer-legal p { margin: 0; font-size: var(--fs-legal); line-height: 1.75; color: var(--text-on-inverse-muted); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .header-cta { display: inline-flex; margin-left: auto; padding: 9px 13px; font-size: 13px; line-height: 1.15; text-align: center; white-space: normal; max-width: 44vw; }
  .menu-button { display: block; margin-left: 12px; }
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .header-row { gap: 10px; }
  .header-row > .brand { flex: 1 1 auto; min-width: 0; max-width: 160px; }
  .header-cta { flex: 0 0 120px; padding-inline: 10px; }
  .menu-button { flex: 0 0 44px; margin-left: 0; }
  .hero { padding-top: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .table-hint { display: block; }
  .faq details p { padding-right: 0; }
  .step-body { font-size: var(--fs-body); }
  .hero-actions, .cta-actions { width: 100%; }
  .hero-actions .btn, .cta-actions .btn, .cta-band .btn, .form-page .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
