/* Wiako — feuille de style unique */

@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F6F7F9;
  --white: #FFFFFF;
  --ink: #14161C;
  --ink-2: #4A505C;
  --ink-3: #6B7280;
  --line: #DDE1E8;
  --blue: #2457A6;
  --blue-dark: #183E7A;
  --blue-soft: #E8EEF8;
  --night: #0E2347;
  --night-2: #1A3263;
  --marker: #FFE066;
  --alert: #C7372F;
  --ok: #1E7A4F;

  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.12; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 760; }
h3 { font-size: 1.18rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 680; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }
.section { padding: var(--section) 0; }
.section--white { background: var(--white); }
.section--tight { padding: calc(var(--section) * 0.65) 0; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-3); }
.intro { max-width: 640px; margin-bottom: 48px; }
.intro p { color: var(--ink-2); font-size: 1.08rem; margin-top: 16px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 650 1rem/1 var(--sans);
  padding: 16px 24px; border-radius: 8px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); color: var(--white); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: var(--white); color: var(--night); }
.btn--light:hover { background: var(--blue-soft); color: var(--night); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 560; font-size: .97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav .btn { color: var(--white); padding: 12px 18px; font-size: .95rem; }
.nav .btn:hover { color: var(--white); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.menu-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 16px; border-bottom: 0; padding: 16px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Fil d'Ariane ---------- */
.crumbs { font-size: .9rem; color: var(--ink-3); margin-bottom: 28px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

/* ---------- Hero accueil ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); background: var(--white); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero-tagline { font-weight: 600; color: var(--blue); margin-bottom: 20px; font-size: 1rem; }
.hero h1 { margin-bottom: 24px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 36px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: .97rem; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ---------- Document annoté (élément signature) ---------- */
.doc-stage { position: relative; padding: 0 0 0 0; }
.doc {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(20,22,28,.06), 0 12px 32px -8px rgba(20,22,28,.18), 0 40px 80px -40px rgba(14,35,71,.35);
  font-size: .95rem;
  line-height: 1.55;
}
.doc-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.doc-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.doc-bar span { margin-left: 10px; font-size: .82rem; color: var(--ink-3); font-weight: 600; }
.doc-head { padding: 18px 22px 14px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.doc-head div { display: grid; grid-template-columns: 58px 1fr; gap: 8px; }
.doc-head dt, .doc-head .k { color: var(--ink-3); }
.doc-head .v { color: var(--ink); overflow-wrap: anywhere; }
.doc-subject { font-weight: 700; }
.doc-body { padding: 18px 22px 22px; color: var(--ink-2); }
.doc-body p { margin-bottom: .8em; }
.iban {
  font-family: var(--mono); font-size: .9rem; letter-spacing: .02em;
  background: var(--paper); border: 1px dashed var(--line); border-radius: 6px;
  padding: 12px 14px; margin: 14px 0; color: var(--ink);
}
.iban small { display: block; font-family: var(--sans); font-size: .78rem; color: var(--ink-3); letter-spacing: 0; margin-bottom: 2px; }

mark.hl {
  background: linear-gradient(transparent 12%, var(--marker) 12%, var(--marker) 88%, transparent 88%);
  background-size: 100% 100%; background-repeat: no-repeat;
  color: inherit; padding: 0 2px; border-radius: 2px;
}
.flag {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--alert); color: var(--white);
  font: 700 .74rem/1 var(--sans);
  vertical-align: 2px; margin-left: 4px;
}
.doc-notes { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.doc-notes li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .95rem; color: var(--ink-2); }
.doc-notes li .flag { margin: 2px 0 0; }
.doc-notes strong { color: var(--ink); }
.stamp {
  position: absolute; right: 18px; bottom: 22px;
  border: 2.5px solid var(--alert); color: var(--alert);
  font: 800 .85rem/1 var(--sans); letter-spacing: .04em;
  padding: 8px 12px; border-radius: 6px; transform: rotate(-8deg);
  background: rgba(255,255,255,.85);
}

/* Animation unique : le surligneur passe sur les indices au chargement */
@media (prefers-reduced-motion: no-preference) {
  .doc mark.hl { animation: sweep .7s cubic-bezier(.6,.1,.3,1) both; }
  .doc .d1 mark.hl { animation-delay: .5s; }
  .doc .d2 mark.hl { animation-delay: .95s; }
  .doc .d3 mark.hl { animation-delay: 1.4s; }
  .doc .flag { animation: pop .3s ease-out both; }
  .doc .d1 .flag { animation-delay: 1.05s; }
  .doc .d2 .flag { animation-delay: 1.5s; }
  .doc .d3 .flag { animation-delay: 1.95s; }
  .doc .stamp { animation: stamp .35s cubic-bezier(.2,1.6,.4,1) 2.3s both; }
  @keyframes sweep { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
  @keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
  @keyframes stamp { from { opacity: 0; transform: rotate(-8deg) scale(1.6); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }
}

/* ---------- Grilles et blocs ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .grid-3, .grid-2, .split { grid-template-columns: 1fr; } }
@media (min-width: 640px) and (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }

.item { border-top: 2px solid var(--ink); padding-top: 20px; }
.item h3 { margin-bottom: 10px; }
.item p { color: var(--ink-2); font-size: 1rem; }
.item .more { display: inline-block; margin-top: 12px; font-weight: 620; font-size: .97rem; }
.item--soft { border-top-color: var(--line); }

.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232457A6' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}
.checks strong { color: var(--ink); }

/* Fiche procédure (second document) */
.sheet {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 30px 30px 26px;
  box-shadow: 0 1px 2px rgba(20,22,28,.05), 0 18px 40px -20px rgba(20,22,28,.22);
  position: relative;
}
.sheet-title { font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
.sheet-sub { font-size: .88rem; color: var(--ink-3); margin-bottom: 22px; }
.sheet ol { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 0; }
.sheet ol li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: .97rem; color: var(--ink-2); }
.sheet ol li::before { content: counter(s); font-weight: 800; color: var(--blue); }
.sheet ol li strong { color: var(--ink); }
.sheet-sign { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .85rem; color: var(--ink-3); }
.tag-example { position: absolute; top: -12px; right: 22px; background: var(--marker); color: var(--ink); font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 4px; }

/* Pour qui */
.persona { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 32px; }
.persona h3 { font-size: 1.3rem; margin-bottom: 6px; }
.persona .role { color: var(--blue); font-weight: 620; margin-bottom: 16px; }

/* ---------- Bande sombre ---------- */
.band { background: var(--night); color: #D6DEEC; }
.band h2 { color: var(--white); }
.band .intro p { color: #B7C3D9; }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 16px; }
.figure { border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; }
.figure b { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--white); letter-spacing: -0.02em; line-height: 1; margin-bottom: 12px; }
.figure span { color: #B7C3D9; font-size: .98rem; }
.source { margin-top: 40px; font-size: .88rem; color: #8FA0BF; }
.source a { color: #C8D4EA; }
@media (max-width: 900px) { .figures { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .figures { grid-template-columns: 1fr; } }

/* ---------- Étapes ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding: 0 28px 0 0; }
.steps li::before {
  content: counter(st);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--blue); color: var(--blue);
  font-weight: 800; margin-bottom: 22px; position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: .98rem; }
.steps .when { display: block; color: var(--blue); font-weight: 650; font-size: .9rem; margin-bottom: 4px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { padding: 0 0 0 68px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .steps li::after { top: 44px; bottom: -28px; left: 21px; right: auto; width: 2px; height: auto; }
}

/* Programme (timeline verticale) */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 40px 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px var(--paper); }
.timeline .dur { display: inline-block; font-weight: 650; color: var(--blue); font-size: .92rem; margin-bottom: 6px; }
.timeline h3 { font-size: 1.3rem; margin-bottom: 10px; }
.timeline p { color: var(--ink-2); }
.section--white .timeline li::before { box-shadow: 0 0 0 5px var(--white); }

/* ---------- Bloc partenaire ---------- */
.partner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; background: var(--blue-soft); border-radius: 14px; padding: clamp(32px, 5vw, 64px); }
.partner h2 { margin-bottom: 16px; }
.partner p { color: var(--ink-2); }
@media (max-width: 900px) { .partner { grid-template-columns: 1fr; gap: 28px; } }

/* Guides */
.guide-link { display: block; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 30px; transition: border-color .15s ease; }
.guide-link:hover { border-color: var(--blue); color: inherit; }
.guide-link .kind { color: var(--blue); font-weight: 650; font-size: .92rem; }
.guide-link h3 { font-size: 1.35rem; margin: 8px 0 10px; }
.guide-link p { color: var(--ink-2); }
.guide-link .read { margin-top: 16px; font-weight: 650; color: var(--blue); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 680; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 0 24px; color: var(--ink-2); max-width: 680px; }

/* ---------- Appel final ---------- */
.cta { background: var(--white); border-top: 1px solid var(--line); }
.cta .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.cta p { color: var(--ink-2); font-size: 1.1rem; margin-top: 14px; }
.cta .actions { justify-content: flex-end; margin-top: 0; }
@media (max-width: 900px) { .cta .wrap { grid-template-columns: 1fr; } .cta .actions { justify-content: flex-start; } }

/* ---------- En-tête de page intérieure ---------- */
.pagehead { background: var(--white); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 80px); }
.pagehead h1 { max-width: 18em; margin-bottom: 20px; }
.pagehead .facts { margin-top: 28px; }

/* ---------- Article (guides) ---------- */
.article { max-width: 720px; }
.article h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 56px 0 16px; }
.article h3 { margin: 32px 0 10px; }
.article p, .article li { color: #2C313B; font-size: 1.06rem; line-height: 1.75; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article li { margin-bottom: .5em; }
.article .note { background: var(--white); border-left: 3px solid var(--marker); padding: 18px 22px; border-radius: 0 8px 8px 0; margin: 28px 0; }
.article .note p { margin: 0; }
.meta { color: var(--ink-3); font-size: .95rem; margin-top: 8px; }
.toc { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 22px 26px; margin: 36px 0 0; }
.toc b { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin: 4px 0; font-size: 1rem; }
.inline-cta { margin: 56px 0 0; background: var(--night); color: #D6DEEC; border-radius: 12px; padding: 32px; }
.inline-cta h2 { color: var(--white); margin: 0 0 10px; font-size: 1.5rem; }
.inline-cta p { color: #B7C3D9; }
.inline-cta .actions { margin-top: 20px; }

/* ---------- Pages légales ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1.1rem; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose .updated { display: inline-block; color: var(--ink-3); font-size: .9rem; margin-bottom: 8px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.next-steps { list-style: none; margin: 24px 0 36px; padding: 0; counter-reset: n; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.next-steps li::before { content: counter(n); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: .9rem; }
.next-steps strong { display: block; color: var(--ink); }
.direct { display: grid; gap: 10px; margin-top: 8px; }
.direct a { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.direct a:hover { color: var(--blue); }
.direct svg { width: 20px; height: 20px; color: var(--blue); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 620; font-size: .95rem; margin-bottom: 8px; color: var(--ink); }
.field .opt { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A505C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") right 14px center/16px no-repeat; padding-right: 40px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.choices { display: grid; gap: 10px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 8px; cursor: pointer; font-size: .98rem; color: var(--ink-2); }
.choice:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); color: var(--ink); }
.choice input { margin-top: 4px; accent-color: var(--blue); width: 16px; height: 16px; flex: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.consent input { margin-top: 4px; accent-color: var(--blue); width: 16px; height: 16px; flex: none; }
.form-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions .hint { font-size: .9rem; color: var(--ink-3); }
.alert { padding: 16px 18px; border-radius: 8px; margin-bottom: 24px; font-size: .98rem; }
.alert--ok { background: #E6F4EC; color: #145536; border: 1px solid #B9DFC8; }
.alert--err { background: #FCEBEA; color: #8E211B; border: 1px solid #F2C3BF; }
.alert ul { margin: 0; padding-left: 1.2em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--night); color: #B7C3D9; padding: 72px 0 32px; font-size: .97rem; }
.site-footer a { color: #D6DEEC; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h2 { font-size: .98rem; color: var(--white); margin-bottom: 16px; letter-spacing: 0; font-weight: 700; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-brand img { height: 36px; width: auto; margin-bottom: 18px; }
.foot-brand p { max-width: 30em; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; color: #8FA0BF; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* 404 */
.notfound { padding: 120px 0; }
.notfound h1 { margin-bottom: 16px; }

/* Ajustements */
figure.doc { margin: 0; }
@media (max-width: 600px) {
  .doc-head div { grid-template-columns: 48px 1fr; }
  .doc-head, .doc-body { padding-left: 16px; padding-right: 16px; }
  .stamp { top: 6px; bottom: auto; right: 10px; font-size: .75rem; padding: 6px 9px; }
}
.form-grid { align-items: end; }
.form-grid .full, .form-grid fieldset { align-self: start; }
.audience-note { display: inline-block; background: var(--blue-soft); color: var(--ink); border-radius: 8px; padding: 10px 14px; font-size: .95rem; margin-bottom: 22px; }
