@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0074a7;
  --blue-dark: #005a82;
  --coral: #e05830;
  --coral-dark: #c4461f;
  --band: #efefef;
  --footer: #0b3b52;
  --ok: #14684a;
  --ok-bg: #ddf3e9;
  --locked: #e1e6e9;
  --ink: #16303d;
  --ink-soft: #4a5f6a;
  --line: #d3dade;
  --paper: #fbfcfc;
  --error: #b3261e;
  --focus: #ffbf47;
  --r: 10px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 86px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}
h1, h2, p, ol, ul, dl, dd { margin: 0; }
svg { width: 1.25em; height: 1.25em; flex: none; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 6px var(--ink); border-radius: 4px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--s5); }
@media (min-width: 1024px) {
  .wrap { width: 72%; max-width: none; padding-inline: 0; }
}

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; left: var(--s4); top: -100px; background: #fff; color: var(--ink); padding: var(--s3) var(--s4); z-index: 110; font-weight: 700; }
.skip:focus { top: var(--s4); }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: var(--blue); color: #fff; }
.header__step { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 12px; border-radius: 24px; background: #fff; color: #005a82; font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap; margin-left: auto; }
.header__step[hidden] { display: none; }
.header__step span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; background: #0074a7; }
@media (max-width: 600px) {
  .header--with-action .brand__text { display: none; }
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--s3); color: #fff; text-decoration: none; min-height: 48px; }
.brand__logo { display: block; width: clamp(180px, 50vw, 240px); height: auto; flex: none; margin-block: 12px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 600; font-size: 1.05rem; }
.header__nav { display: none; gap: var(--s2); }
.header__nav a { color: #fff; font-weight: 600; text-decoration: none; padding: 0 var(--s3); min-height: 48px; display: inline-flex; align-items: center; border-radius: 6px; }
.header__nav a:hover { background: var(--blue-dark); }

/* Hero */
.hero { background: linear-gradient(var(--blue) 0 0) top / 100% 6px no-repeat, var(--paper); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -80px; top: 40px; width: 280px; height: 280px; border-radius: 50%;
  border: 40px solid rgba(0,116,167,.06); pointer-events: none;
}
.hero__inner { padding-top: var(--s7); padding-bottom: var(--s7); position: relative; z-index: 1; }
.eyebrow { color: var(--blue-dark); font-weight: 700; font-size: .875rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: var(--s3); }
h1 { font-size: clamp(1.9rem, 5.5vw, 2.9rem); line-height: 1.12; font-weight: 700; letter-spacing: -.015em; max-width: 22ch; color: #000; }
.lead { margin-top: var(--s4); font-size: 1.2rem; max-width: 60ch; color: var(--ink-soft); }
.quicklinks { list-style: none; padding: 0; margin-top: var(--s5); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); }
.quicklinks a {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s4) 0 var(--s3);
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; text-decoration: none;
}
.quicklinks a:hover { border-color: var(--blue); background: #f2f8fb; }
.quicklinks small { font-weight: 400; color: var(--ink-soft); font-size: .85em; }

/* Band */
.band { background: var(--band); padding: var(--s6) 0; }
.band__title { font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); font-weight: 700; margin-bottom: var(--s4); }
.steps { list-style: none; padding: 0; display: grid; gap: 0; max-width: 520px; }
.step { display: flex; align-items: flex-start; gap: var(--s3); position: relative; padding-bottom: var(--s4); }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 2px; border-left: 2px solid #687a84; }
.step--done:not(:last-child)::before { border-left-color: var(--ok); }
.step__body { padding-top: 2px; }
.step__num {
  width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--blue); color: var(--blue-dark); font-weight: 700; font-size: 1.1rem;
}
.step--current .step__num { background: var(--blue); color: #fff; }
.step--locked .step__num { background: var(--locked); border: 2px dashed #687a84; color: #44565f; }
.step__body { display: flex; flex-direction: column; line-height: 1.25; }
.step__label { font-weight: 700; }
.step__state { font-size: .9rem; color: var(--ink-soft); }
.step--locked .step__label { color: #44565f; }

/* Layout */
.layout { display: grid; gap: var(--s7); padding-top: var(--s7); padding-bottom: var(--s7); }

/* Panel */
.panel { background: var(--blue); color: #fff; border-radius: 14px; padding: var(--s6) var(--s5); position: relative; scroll-margin-top: var(--s4); }
.panel h2 { font-size: 1.6rem; line-height: 1.2; font-weight: 700; max-width: 22ch; }
.panel__intro { margin-top: var(--s2); }
.panel a { color: #fff; font-weight: 600; }
.form { margin-top: var(--s5); display: grid; gap: var(--s4); }
.field { display: grid; gap: var(--s2); }
.field label { font-weight: 600; }
.field input {
  font: inherit; min-height: 52px; padding: 0 var(--s4); border-radius: 8px; border: 2px solid transparent;
  background: #fff; color: var(--ink); width: 100%;
}
.field input:focus-visible { border-color: var(--footer); }
.panel :focus-visible, .pcard--blue :focus-visible, .header :focus-visible, .footer :focus-visible { outline-color: var(--focus); box-shadow: 0 0 0 6px var(--footer); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 7px var(--focus); }
[tabindex="-1"]:focus { outline: none; }
summary:focus-visible { outline-offset: 4px; }
.field--error input { border-color: var(--error); box-shadow: 0 0 0 2px #fff; }
.field__error {
  display: flex; gap: var(--s2); align-items: flex-start; background: #fff; color: var(--error);
  font-weight: 600; padding: var(--s2) var(--s3); border-radius: 6px; font-size: 1rem;
}
.field__error svg { margin-top: 2px; }
.btn {
  font: inherit; font-size: 19px; font-weight: 700; color: #fff; background: var(--coral);
  border: 0; border-radius: 8px; min-height: 56px; padding: 0 var(--s5); cursor: pointer; margin-top: var(--s2);
  box-shadow: 0 3px 0 var(--coral-dark); transition: transform .12s ease;
}
.btn:hover { background: var(--coral-dark); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--coral-dark); }
.privacy { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid rgba(255,255,255,.3); font-size: 1rem; }
.panel__foot { margin-top: var(--s2); font-size: 1rem; }

.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Alerts */
.alert { display: flex; gap: var(--s3); margin-top: var(--s4); padding: var(--s4); border-radius: var(--r); background: #fff; color: var(--ink); }
.alert--error { border-left: 6px solid var(--error); }
.alert--error > svg { color: var(--error); }
.alert__title { font-weight: 700; }
.alert ul { padding-left: 1.1em; margin-top: var(--s1); }
.panel .alert a { color: var(--error); }
.result {
  display: flex; gap: var(--s4); margin-top: var(--s4); padding: var(--s4) var(--s5);
  background: var(--ok-bg); color: var(--ok); border-radius: var(--r); border: 2px solid var(--ok);
}
.result__badge { width: 40px; height: 40px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; flex: none; }
.result__eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.result__title { font-weight: 700; font-size: 1.15rem; margin-top: 2px; }
.result__note { margin-top: var(--s2); font-size: 1rem; color: #0f4f38; }

/* Brief */
.brief h2, .howto h2, .faq h2 { font-size: 1.6rem; font-weight: 700; color: var(--footer); line-height: 1.2; }
.facts { margin-top: var(--s5); display: grid; }
.fact { padding: var(--s4) 0; border-top: 1px solid var(--line); display: grid; gap: var(--s1); }
.fact:last-child { border-bottom: 1px solid var(--line); }
.fact dt { font-weight: 700; color: var(--blue-dark); }
.fact dd { color: var(--ink-soft); }
.price { display: block; color: var(--ink); margin-bottom: var(--s1); }
.price strong { font-size: 2rem; color: var(--footer); line-height: 1; margin-right: 4px; }

/* How-to */
.howto { background: var(--band); padding: var(--s7) 0; scroll-margin-top: 0; }
.howto__list { list-style: none; padding: 0; margin-top: var(--s5); display: grid; gap: var(--s4); counter-reset: h; }
.howto__list li {
  counter-increment: h; background: #fff; border-radius: var(--r); padding: var(--s4) var(--s4) var(--s4) 72px;
  position: relative; min-height: 72px; color: var(--ink-soft);
}
.howto__list li strong { color: var(--ink); display: block; }
.howto__list li::before {
  content: counter(h, decimal-leading-zero); position: absolute; left: var(--s4); top: var(--s4);
  font-weight: 800; font-size: 1.4rem; color: var(--blue); letter-spacing: .02em;
}

/* FAQ */
.faq { padding-top: var(--s7); padding-bottom: var(--s6); scroll-margin-top: var(--s4); max-width: 820px; }
.faq h2 { margin-bottom: var(--s4); }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none; min-height: 56px; display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); font-weight: 700; padding: var(--s3) 0;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; width: 12px; height: 12px; flex: none; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease;
}
details[open] summary::after { transform: rotate(-135deg); }
summary:hover { color: var(--blue-dark); }
details p { padding: 0 0 var(--s5); color: var(--ink-soft); max-width: 65ch; }

/* Pending */
.pending { display: grid; gap: var(--s3); padding-bottom: var(--s7); }
.pending__item { border: 1.5px dashed #687a84; border-radius: var(--r); padding: var(--s4) var(--s5); background: #f5f7f8; scroll-margin-top: var(--s4); }
.pending__item h3 { margin: 0;  font-size: 1rem; font-weight: 700; color: var(--ink); }
.pending__item p { font-size: 1rem; color: var(--ink-soft); }

/* Footer: official fnae.fr primary and accent colors. */
.footer { margin-top: 32px; font-size: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer__top { background: var(--blue); color: #fff; padding: 40px 0; }
.footer__top a { color: #fff; }
.footer__grid { display: grid; gap: 24px; }
.footer__logo { display: block; width: 72px; height: 72px; }
.footer__home { display: inline-flex; min-height: 48px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: 8px; }
.footer__social a, .footer__links a, .footer__legal a { display: inline-flex; align-items: center; min-height: 48px; }
.footer__about { margin-top: 8px; line-height: 1.55; font-size: .95rem; }
.footer__heading { font-size: 1rem; font-weight: 600; color: inherit; margin: 0 0 12px; }
.footer__heading::after { content: ""; display: block; width: 60px; border-bottom: 1px solid #ffffff80; margin-top: 12px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { text-decoration: none; }
.footer__phone { gap: 8px; font-size: 1.25rem; }
.footer__middle { background: #0074a7; color: #fff; padding: 30px 0; }
.footer__middle a { color: #fff; }
.footer__member { display: inline-flex; min-height: 48px; padding: 0; background: var(--blue); }
.footer__member img { width: 160px; max-width: 100%; height: auto; }
.footer__brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; align-content: start; gap: 12px 24px; }
.footer__brands li:nth-child(2) { grid-column: 1; grid-row: 2; }
.footer__brands a { display: inline-flex; align-items: center; min-height: 48px; padding: 4px; }
.footer__brands img { height: 48px; width: 100%; max-width: 160px; object-fit: contain; object-position: left center; }
.footer__bottom { background: #ed6952; color: #fff; padding: 4px 0; min-height: 56px; }
.footer__bottom a { color: #fff; opacity: .85; }
.footer__bottom-inner { display: flex; flex-direction: column; gap: 8px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0 12px; font-size: 12px; }
.footer__copy { font-size: 12px; line-height: 1.5; flex-shrink: 0; }
.footer__bottom .wrap { width: 85%; max-width: none; padding-inline: 0; }
.footer__middle :focus-visible { outline-color: var(--focus); box-shadow: 0 0 0 6px var(--ink); }
.footer a { transition: color 200ms ease, opacity 200ms ease; text-decoration: none; }
.footer__top a:hover, .footer__top a:focus-visible,
.footer__middle a:hover, .footer__middle a:focus-visible { color: #ed6952; text-decoration: none; }
.footer__bottom a:hover, .footer__bottom a:focus-visible { color: #fff; opacity: 1; text-decoration: none; }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .footer__grid--middle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 1100px) {
  .footer__grid:not(.footer__grid--middle) { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); }
  .footer__grid--middle { grid-template-columns: 1fr 1fr 1.3fr 2fr; gap: 24px; }
  .footer { font-size: 14px; }
  .footer__about { font-size: 13px; }
  .footer__top { padding-bottom: 16px; }
}
@media (min-width: 1100px) {
  .footer__links a { min-height: 24px; }
}
@media (pointer: coarse) {
  .footer__links a { min-height: 48px; }
}

/* Tablet+ */
@media (min-width: 768px) {
  .header__nav { display: flex; }
  .hero__inner { padding-top: var(--s8); padding-bottom: var(--s8); }
  .hero::after { width: 420px; height: 420px; right: -60px; border-width: 56px; }
  .panel { padding: var(--s7); }
  .howto__list { grid-template-columns: repeat(2, 1fr); }
  .pending { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .layout { grid-template-columns: 1.15fr 1fr; gap: var(--s8); align-items: start; }
  .howto__list { grid-template-columns: repeat(4, 1fr); }
  .howto__list li { padding: 64px var(--s4) var(--s4); }
}

/* ---------- Parcours ---------- */
.band--parcours .band__title { font-size: 1rem; }
.identity { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s2); margin-bottom: var(--s5); color: var(--ink-soft); }
.inline-form { display: inline; margin: 0; }
.textbtn { font: inherit; font-weight: 600; color: var(--blue-dark); background: none; border: 0; text-decoration: underline; min-height: 48px; padding: 0 var(--s2); cursor: pointer; }
.textbtn:hover { color: var(--footer); }
.step--done .step__num { background: var(--ok); border-color: var(--ok); color: #fff; }
.step--done .step__state { color: var(--ok); font-weight: 600; }
.step--current .step__state { color: var(--blue-dark); font-weight: 600; }
.step__num svg { width: 22px; height: 22px; }
.band--parcours { padding: var(--s5) 0 var(--s3); }
.band--parcours .identity { margin-bottom: 0; }
.ptrack { display: grid; gap: var(--s6); padding-top: var(--s5); padding-bottom: var(--s7); }
.presult { display: grid; gap: var(--s5); max-width: 760px; min-width: 0; }
.ptrack__steps { background: var(--band); border-radius: 14px; padding: var(--s5); }
.ptrack__title { font-size: 1.15rem; font-weight: 700; color: var(--footer); margin-bottom: var(--s4); }
.step__state { color: #44565f; }
@media (min-width: 900px) {
  .ptrack { grid-template-columns: minmax(0, 1fr) 300px; column-gap: var(--s7); align-items: start; }
  .ptrack__steps { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: var(--s4); }
  .presult, .ptrack__back { grid-column: 1; }
}
.chip { display: inline-flex; align-items: center; gap: var(--s2); justify-self: start; min-height: 40px; padding: 0 var(--s4) 0 var(--s3); border-radius: 999px; font-weight: 700; }
.chip svg { width: 20px; height: 20px; }
.chip--ok { background: var(--ok-bg); color: var(--ok); }
.chip--neutral { background: var(--locked); color: var(--ink); }
.until { font-size: 1.15rem; }
.pcard { border-radius: 14px; padding: var(--s5); display: grid; gap: var(--s3); }
.pcard h2 { font-size: 1.45rem; line-height: 1.2; font-weight: 700; display: flex; align-items: center; gap: var(--s2); }
.pcard h2 svg { width: 24px; height: 24px; flex: none; }
.pcard__step { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.pcard--blue { background: var(--blue); color: #fff; }
.pcard--blue a:not(.btn) { color: #fff; }
.pcard--white { background: #fff; border: 2px solid var(--blue); }
.pcard--neutral { background: #fff; border: 1.5px solid var(--line); }
.pcard--note { background: #fff8e6; border-left: 6px solid var(--focus); }
.pcard--locked { background: var(--locked); border: 2px dashed #687a84; color: #44565f; grid-template-columns: auto 1fr; align-items: start; }
.pcard--locked h2 { font-size: 1.15rem; }
.pcard__icon svg { width: 28px; height: 28px; }
.pcard__price { font-size: 1.1rem; }
.pcard__price strong { font-size: 2rem; }
.pcard__aside a { display: inline-flex; align-items: center; gap: var(--s2); min-height: 48px; font-weight: 600; }
.pcard__aside svg { width: 20px; height: 20px; }
.btn--link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; justify-self: start; }
.plinks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s3); }
.link-btn { display: inline-flex; align-items: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s4); border: 1.5px solid var(--blue); border-radius: 8px; font-weight: 600; text-decoration: none; color: var(--blue-dark); background: #fff; }
.link-btn:hover { background: #f2f8fb; }
.link-btn svg { width: 20px; height: 20px; }
.alert--warn { background: #fff4e0; border-left: 6px solid var(--coral); color: var(--ink); }
.alert--neutral { background: var(--locked); border-left: 6px solid #687a84; color: var(--ink); }
.alert--warn a, .alert--neutral a { min-height: 48px; display: inline-flex; align-items: center; font-weight: 600; }
.back a { display: inline-flex; min-height: 48px; align-items: center; }
@media (max-width: 480px) { .btn--link { justify-self: stretch; } }

/* Small screens (390px reference) */
@media (max-width: 420px) {
  .wrap { padding-inline: var(--s4); }
  .panel { padding: var(--s5) var(--s4); }
  .pcard { padding: var(--s4); }
  .quicklinks a { width: 100%; }
  .footer__phone { font-size: 1.15rem; }
  .chip { min-height: 40px; padding-block: var(--s1); border-radius: 18px; }
}
.refresh-choice { display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; }
.refresh-choice input { width: 22px; height: 22px; flex: none; accent-color: #005a82; }
@media (forced-colors: active) {
  .btn, .link-btn, .chip, .pcard, .step__num { border: 2px solid CanvasText; }
  :focus-visible { outline: 3px solid Highlight; }
}

/* ---------- Compact header + action-first home ---------- */
.header__inner { min-height: 56px; }
.brand__logo { width: clamp(132px, 36vw, 176px); margin-block: 8px; }
.brand__name { font-size: 1rem; padding-left: var(--s3); border-left: 1.5px solid rgba(255,255,255,.55); }

.home { display: grid; gap: var(--s4); padding-top: var(--s4); padding-bottom: var(--s6);
  grid-template-areas: "intro" "form" "steps"; }
.home__intro { grid-area: intro; }
.home__form { grid-area: form; }
.home__steps { grid-area: steps; }
.home .eyebrow { font-size: .8rem; margin-bottom: var(--s1); }
.home h1 { font-size: clamp(1.45rem, 4.6vw, 2.4rem); line-height: 1.15; max-width: 24ch; }
.home .lead { margin-top: var(--s2); font-size: 1.05rem; line-height: 1.45; color: var(--ink); }
.home .panel { padding: var(--s4); border-radius: 12px; }
.home .panel h2 { font-size: 1.3rem; }
.home .panel__intro { margin-top: 2px; font-size: 1rem; }
.home .form { margin-top: var(--s3); gap: var(--s2); }
.home .field { gap: 2px; }
.home .field input { min-height: 48px; }
.home .refresh-choice { font-size: 1rem; line-height: 1.3; }
.home .btn { margin-top: 0; min-height: 52px; width: 100%; }
.home .privacy { margin-top: var(--s4); padding-top: var(--s3); }
.home .quicklinks { margin-top: var(--s4); }

.home__steps { background: var(--band); border-radius: 12px; padding: var(--s4); border-top: 4px solid var(--blue); }
.home__steps .band__title { margin-bottom: var(--s3); color: var(--footer); font-size: .9rem; }
.home-photo { margin-block: var(--s5); }
.home-photo img { display: block; width: 100%; height: auto; max-height: 360px; object-fit: cover; object-position: center top; border-radius: 14px; }
.steps--compact .step { padding-bottom: var(--s3); align-items: center; }
.steps--compact .step__num { width: 36px; height: 36px; font-size: 1rem; }
.steps--compact .step__num svg { width: 18px; height: 18px; }
.steps--compact .step:not(:last-child)::before { left: 17px; top: 38px; bottom: -2px; border-left-width: 3px; }
.steps--compact .step__label { color: var(--ink); }
.steps--compact .step__state { color: #3a4c55; font-weight: 600; }
.step__state--here {
  align-self: flex-start; margin-top: 2px; background: var(--footer); color: #fff !important;
  padding: 1px var(--s2); border-radius: 4px; font-size: .85rem; letter-spacing: .02em;
}
.steps--compact .step--current .step__num { box-shadow: 0 0 0 3px var(--band), 0 0 0 5px var(--blue); }

@media (min-width: 768px) {
  .home { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s6); row-gap: var(--s4);
    grid-template-areas: "intro form" "steps form"; align-items: start; padding-top: var(--s5); }
  .home .panel { padding: var(--s5); }
  .home__steps .quicklinks { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 1024px) {
  .home { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: var(--s7); padding-top: var(--s6); }
  .layout { grid-template-columns: 1fr; padding-top: var(--s5); }
  .layout .facts { grid-template-columns: repeat(2, 1fr); column-gap: var(--s6); }
}
@media (max-width: 420px) {
  .header__nav { display: none; }
  .brand__logo { width: 128px; }
}

/* ---------- FNAE charter alignment (editorial hierarchy) ---------- */
:root { --ink: #1d1d1b; --ink-soft: #3d3d3d; --line: #cfcfcf; --paper: #fff; --r: 3px; }
body { color: var(--ink); font-size: 1.1875rem; }
.header__nav a { border-radius: 0; }
.hero::after { display: none; }

/* H1 > H2 > labels */
.home h1 { font-size: clamp(1.75rem, 5.2vw, 3rem); line-height: 1.12; letter-spacing: -.01em; color: #000; max-width: none; }
.home .eyebrow { color: var(--blue); letter-spacing: .06em; font-size: .85rem; }
.home .lead { color: var(--ink-soft); font-size: 1.125rem; }
h2 { color: var(--blue-dark); font-weight: 600; }
.pcard--blue h2 { color: #fff; }
.home .panel h2, .panel h2 { font-size: 1.6rem; line-height: 1.2; font-weight: 600; color: var(--blue-dark); }

/* Form panel: grey band, thin rule, no app card */
.panel, .home .panel { background: var(--band); color: var(--ink); border-radius: 0; border: 0; border-top: 3px solid var(--blue); box-shadow: none; }
.panel a { color: var(--blue-dark); }
.panel .field label { color: #000; font-weight: 600; font-size: 1.0625rem; }
.panel .field input { border: 1px solid #8a8a8a; border-radius: var(--r); background: #fbfbfa; color: #000; }
.panel :focus-visible { outline-color: var(--focus); box-shadow: 0 0 0 6px var(--ink); }
.privacy { border-top: 1px solid var(--line); color: var(--ink-soft); }
.panel__intro { color: var(--ink-soft); }
.refresh-choice { color: var(--ink); }

/* Coral rectangular button, no 3D */
.btn, .home .btn { background: #e05830; color: #fff; border: 0; border-radius: var(--r); box-shadow: none; text-transform: uppercase; letter-spacing: .02em; font-weight: 700; font-size: 19px; }
.btn:hover { background: #a93b18; }
.btn:active { transform: none; box-shadow: none; }

/* Links: text style, not pills */
.quicklinks a { border: 0; border-radius: 0; background: none; padding: 0; min-height: 48px; color: var(--ink); font-weight: 400; text-decoration: none; }
.quicklinks a::before { content: ">"; color: var(--ink); margin-right: var(--s1); }
.quicklinks a:hover { background: none; text-decoration: underline; color: var(--blue-dark); }
.home__steps .quicklinks { gap: 0; }

/* Steps band */
.home__steps { background: none; border-radius: 0; border-top: 0; padding: 0; }
.home__steps .band__title { color: #000; text-transform: none; letter-spacing: 0; font-size: 1.125rem; font-weight: 700; }
.step__state--here { border-radius: 2px; background: var(--blue-dark); }

/* Photo: keep heads, light radius */
.home-photo img { border-radius: 4px; object-position: center top; }

/* Flatten remaining cards */
.pcard, .fact, .pending__item, .alert, .result, .chip, .link-btn { border-radius: var(--r); }
/* ---------- Harmonized home proportions (single source of truth) ----------
   Columns: shared 32px gap; sections 40/60; titles 32px black, content headings 20px blue. */
:root { --col-gap: var(--s6); --section-y: var(--s7); --title-size: clamp(1.625rem, 2.6vw, 2rem); }
.howto { background: #fff; }

/* Home intro + form */
.home { column-gap: var(--col-gap); }
.home h1 { font-size: clamp(1.75rem, 7.2vw, 2.25rem); line-height: 1.12; }
.home .panel.home__form { border: 2px solid var(--blue); padding: var(--s4); scroll-margin-top: var(--s4); }
.verification-heading { display: flex; align-items: center; gap: 12px; background: var(--blue); color: #fff; padding: 14px 16px; margin: -16px -16px 12px; }
.verification-heading__number { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--blue-dark); font-size: 30px; font-weight: 700; line-height: 1; }
.verification-heading__label { color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .045em; margin-bottom: 4px; }
.home .panel .verification-heading h2 { color: #fff; font-size: 24px; line-height: 1.15; font-weight: 700; }
.step__start-link { min-height: 48px; justify-content: center; text-decoration: none; color: var(--blue-dark); }
.step__start-link:hover .step__label { text-decoration: underline; }
.step__start-link .step__state--here { background: var(--blue); color: #fff; }
@media (max-width: 767px) {
  .home { padding-top: var(--s3); gap: var(--s3); }
  .home .lead { font-size: 1.0625rem; margin-top: var(--s1); }
}
@media (min-width: 768px) {
  .home { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--col-gap); }
  /* H1 scales with the column so its three lines never wrap further. */
  .home h1 { font-size: clamp(1.75rem, 3.1vw, 3rem); }
}

/* Section titles vs. content: 32px black titles, 20px blue content headings */
.brief h2, .howto h2, .faq h2 { color: #000; font-size: var(--title-size); line-height: 1.2; font-weight: 700; margin: 0; }
.howto__accordion summary, .faq__accordion summary { min-height: 56px; color: var(--blue-dark); font-weight: 400; font-size: 1.125rem; }
.fact dt { color: var(--blue-dark); font-size: 1.25rem; }

/* Shared 40/60 section grid: service overview, mode d'emploi, FAQ */
.layout.service-overview, .howto__columns, .faq__columns {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5) var(--col-gap); align-items: start;
}
.layout.service-overview { padding-block: var(--section-y); }
.howto { padding-block: var(--section-y); }
.faq { padding-block: var(--section-y); max-width: none; }
.howto__accordion, .faq__accordion, .service-overview .brief { min-width: 0; }
.howto__accordion details:first-of-type, .faq__accordion details:first-of-type { border-top: 0; }
.service-overview .home-photo { margin: 0; min-width: 0; }
.service-overview .home-photo img { width: 100%; height: auto; max-height: none; object-fit: contain; border-radius: 4px; }
.service-overview .facts { grid-template-columns: minmax(0, 1fr); margin-top: var(--s4); }
@media (min-width: 768px) {
  .layout.service-overview, .howto__columns, .faq__columns { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  /* Photo top-aligned with the title, taller than its ratio, heads kept (top anchored). */
  .service-overview .home-photo img { height: clamp(360px, 36vw, 560px); object-fit: cover; object-position: 65% top; }
}
