/* A3RT — feuille de style commune
   Tokens, base, en-tête et méga-menu, pied de page, composants partagés.
   Les pages chargent ce fichier, puis éventuellement une feuille propre (home.css…). */

/* ---------- Polices hébergées localement (RGPD), font-display: swap ---------- */
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/instrument-serif-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/instrument-serif-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* Couleurs de la marque */
  --navy: #0D1B2A;
  --navy-2: #172840;
  --navy-3: #22385A;
  --gold: #B8935A;
  --gold-ink: #7D6236;      /* or lisible sur fond clair */
  --gold-soft: #EADBC3;     /* or lisible sur fond marine */

  /* Rôles */
  --bg: #FFFFFF;
  --surface: #F3F3F1;
  --surface-2: #E8E8E5;
  --ink: #16181C;
  --muted: #4A4A47;
  --on-dark: #FFFFFF;
  --on-dark-muted: #DDE1E7;
  --accent: var(--navy);

  /* Typographie : deux familles, cinq tailles */
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --t-display: clamp(52px, 8.2vw, 136px);
  --t-h2: clamp(36px, 4.6vw, 68px);
  --t-lead: clamp(22px, 2.1vw, 32px);
  --t-body: 18px;
  --t-small: 15px;
  /* Système 2026 : titres plus petits, hiérarchie resserrée */
  --t-h1: clamp(34px, 2.4vw + 22px, 60px);
  --t-h2n: clamp(28px, 1.25vw + 21px, 40px);
  --t-h3: clamp(20px, 0.4vw + 17px, 23px);
  --t-intro: clamp(18px, 0.4vw + 15px, 21px);
  --t-card: 16px;
  --t-xs: 14px;

  /* Cadre */
  --margin: clamp(20px, 4vw, 56px);
  --gutter: clamp(20px, 3vw, 48px);
  --axis: 40%;               /* l'axe vertical du rapport imprimé */
  --section: clamp(48px, 6.5vw, 88px);
  --container: 1200px;
  --pad: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  /* Marge latérale qui aligne un bloc pleine largeur sur le conteneur de 1200 px */
  --frame-x: max(var(--pad), calc((100% - var(--container)) / 2));
  --line: #DCDCD6;
  --line-dark: rgba(255, 255, 255, 0.16);
  --header-h: 72px;

  /* Mouvement */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-padding-top: calc(var(--header-h) + 16px); }
/* Mobile : pas de délai de double tap sur les commandes, pas de sélection du libellé à l'appui long */
a, button, summary, [role="button"] { touch-action: manipulation; }
.btn, .burger, .faq summary { -webkit-user-select: none; user-select: none; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--navy); color: var(--on-dark); }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
/* Sur fond marine l'or clair reste lisible ; sur l'aplat or, le marine */
.sec--dark :focus-visible, .site-footer :focus-visible, .keyfacts :focus-visible, .related-card--pillar:focus-visible { outline-color: var(--gold); }
.cta-band :focus-visible { outline-color: var(--navy); }

.skip-link {
  position: absolute; left: var(--margin); top: -100px; z-index: 200;
  background: var(--navy); color: var(--on-dark); padding: 12px 18px; font-size: var(--t-small);
}
.skip-link:focus { top: 12px; }

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

/* ---------- Cadre et axe ---------- */
.frame { padding-inline: var(--frame-x); }
.axis-grid {
  display: grid;
  grid-template-columns: calc(var(--axis) - var(--gutter) / 2) minmax(0, 1fr);
  column-gap: var(--gutter);
}
.on-axis { grid-column: 2; }
.side { grid-column: 1; }
@media (max-width: 899px) {
  .axis-grid { grid-template-columns: minmax(0, 1fr); }
  .on-axis, .side { grid-column: 1; }
}

.section { padding-block: var(--section); }
.section-title { font-size: var(--t-h2); line-height: 1; }
.lead { font-size: var(--t-lead); line-height: 1.3; }
.small { font-size: var(--t-small); line-height: 1.5; }

/* Note de marge : la référence au texte de loi, comme dans un rapport annoté */
.margin-note { font-size: var(--t-small); color: var(--muted); line-height: 1.5; max-width: 28ch; }
.margin-note cite { font-style: normal; color: var(--ink); font-weight: 500; }

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font-family: var(--sans); font-size: var(--t-small); font-weight: 500; line-height: 1;
  text-decoration: none; white-space: nowrap;
  position: relative; isolation: isolate;
  transition: transform 120ms var(--ease-out);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: currentColor; opacity: 0;
  transition: opacity 160ms ease;
}
@media (hover: hover) and (pointer: fine) { .btn:hover::after { opacity: 0.1; } }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--on-dark); }
.btn-light { background: var(--bg); color: var(--navy); }

.text-link {
  color: inherit; text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
@media (hover: hover) and (pointer: fine) { .text-link:hover { text-decoration-thickness: 2px; } }

/* ---------- En-tête commun (partials/header.*.html) ----------
   Logo, Solutions et Se lancer en sous-menus, liens directs, langue, bouton de rendez-vous.
   Ses couleurs sont fixées ici pour rester identiques sur toutes les pages. */
.entete {
  --h-50: #F6F7F9; --h-100: #ECEEF1; --h-ink: #101217; --h-muted: #565C6B;
  --h-ombre: 0 1px 2px rgba(16, 18, 23, 0.04), 0 12px 32px -12px rgba(16, 18, 23, 0.14);
  position: sticky; top: 0; z-index: 100; background: #fff; font-family: var(--sans);
  transition: background-color 200ms ease, box-shadow 200ms ease;
}
.entete.is-scrolled {
  background: rgba(255, 255, 255, 0.82); box-shadow: 0 1px 0 var(--h-100);
  -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
}
.entete.is-open { background: #fff; }
.entete-barre { position: relative; display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { width: 84px; height: 38px; }
.nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-liste { display: flex; align-items: center; gap: 2px; }
.nav-lien {
  display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px; border-radius: 999px;
  font-size: 15px; color: #3A3F4B; text-decoration: none;
}
.nav-lien svg { transition: transform 200ms var(--ease-out); }
.nav-lien[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-lien[aria-current="page"] { color: var(--h-ink); background: var(--h-50); }
@media (hover: hover) and (pointer: fine) { .nav-lien:hover { background: var(--h-50); color: var(--h-ink); } }
.a-menu { position: relative; }
.sous-menu {
  position: absolute; left: 0; top: calc(100% + 10px); min-width: 260px; padding: 12px;
  border: 1px solid var(--h-100); border-radius: 16px; background: #fff; box-shadow: var(--h-ombre);
  opacity: 0; transform: translateY(-4px) scale(0.98); transform-origin: top left; visibility: hidden; pointer-events: none;
  transition: opacity 160ms ease, transform 200ms var(--ease-out), visibility 0s linear 200ms;
}
.sous-menu.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.sous-menu ul { display: grid; gap: 2px; }
.sous-menu a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 15px; color: var(--h-ink); text-decoration: none; }
.sous-menu a[aria-current="page"] { background: var(--h-50); }
@media (hover: hover) and (pointer: fine) { .sous-menu a:hover { background: var(--h-50); } }
.sous-menu--large { display: grid; grid-template-columns: repeat(2, minmax(200px, 1fr)); gap: 8px 16px; min-width: 480px; padding: 20px; }
.sous-menu--decrit { min-width: 340px; }
.sous-menu--decrit a { display: grid; gap: 2px; padding: 10px 12px; }
.sous-titre { padding: 4px 12px 8px; font-size: 12.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--h-muted); }
.sm-titre { font-size: 15px; font-weight: 500; }
.sm-desc { font-size: 13.5px; line-height: 1.4; color: var(--h-muted); }
.nav-droite { display: flex; align-items: center; gap: 16px; }
.langues { display: flex; gap: 2px; font-size: 14px; }
.langues > * { display: grid; place-items: center; min-width: 36px; min-height: 36px; border-radius: 999px; text-decoration: none; color: var(--h-muted); }
.langues span { background: var(--h-100); color: var(--h-ink); font-weight: 500; }
.entete .btn { border-radius: 999px; min-height: 44px; padding-inline: 20px; }
.entete [hidden] { display: none !important; }
.burger { display: none; place-items: center; width: 44px; height: 44px; margin-left: auto; border-radius: 12px; color: var(--h-ink); }
.burger-fermer, .entete.is-open .burger-ouvrir { display: none; }
.entete.is-open .burger-fermer { display: block; }
.entete :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .entete-barre { gap: 20px; }
  .nav-lien { padding: 0 9px; }
  .nav-droite { gap: 10px; }
}
@media (max-width: 1023px) {
  .burger { display: grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; display: none;
    flex-direction: column; align-items: stretch; gap: 24px;
    max-height: calc(100dvh - 68px); overflow-y: auto;
    padding: 12px var(--frame-x) 32px; background: #fff; border-top: 1px solid var(--h-100);
    box-shadow: 0 24px 32px -24px rgba(16, 18, 23, 0.25);
  }
  .entete.is-open .nav { display: flex; }
  .nav-liste { flex-direction: column; align-items: stretch; }
  .nav-lien { width: 100%; justify-content: space-between; min-height: 52px; padding: 0 4px; border-radius: 0; font-size: 17px; border-bottom: 1px solid var(--h-100); }
  .sous-menu, .sous-menu--large {
    position: static; display: none; min-width: 0; padding: 8px 0 16px; border: 0; box-shadow: none;
    opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: none;
  }
  .sous-menu.is-open { display: grid; }
  .sous-menu--large.is-open { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .nav-droite { flex-direction: column; align-items: stretch; gap: 16px; }
  .nav-rdv { width: 100%; min-height: 50px; }
}
@media (max-width: 599px) { .logo img { width: 70px; height: 32px; } }
html.menu-open { overflow: hidden; }

/* ---------- Pied de page : le contact comme titre ---------- */
.site-footer {
  background: var(--navy); color: var(--on-dark);
  padding: 56px var(--frame-x) 32px;
  display: flex; flex-direction: column;
}
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--gutter); }
.footer-notes { display: flex; flex-wrap: wrap; gap: 12px 48px; font-size: var(--t-small); color: var(--on-dark-muted); max-width: 900px; }
.footer-notes strong { color: var(--on-dark); font-weight: 500; }
.footer-top-link { font-size: var(--t-small); color: var(--on-dark); text-underline-offset: 4px; white-space: nowrap; }

.footer-nav {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gutter);
  margin-top: 48px;
}
.footer-nav li { margin-bottom: 6px; }
.footer-nav a { font-size: var(--t-small); color: var(--on-dark); text-decoration: none; text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .footer-nav a:hover, .footer-meta a:hover { text-decoration: underline; } }

.footer-contact {
  margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line-dark); /* taste-skill-ignore : filet de séparation demandé par le brief */
  font-family: var(--serif); font-size: clamp(40px, 6.4vw, 96px); line-height: 0.95; letter-spacing: -0.03em;
  color: var(--on-dark); text-decoration: none; overflow-wrap: anywhere;
}
@media (hover: hover) and (pointer: fine) { .footer-contact:hover { color: var(--gold-soft); } }
.footer-meta {
  display: grid; grid-template-columns: 1fr auto; gap: 12px var(--gutter);
  margin-top: 40px; font-size: var(--t-small); color: var(--on-dark-muted);
}
.footer-meta p:nth-child(2) { text-align: right; }
.footer-meta p:last-child { grid-column: 1 / -1; max-width: 90ch; font-size: 13px; line-height: 1.55; }
.footer-meta a { color: var(--on-dark); text-decoration: none; }
.footer-meta .lien-bouton { color: var(--on-dark); text-decoration: none; }

@media (max-width: 899px) {
  .footer-nav { grid-template-columns: 1fr 1fr; row-gap: 32px; margin-top: 40px; }
  .footer-meta { grid-template-columns: 1fr; }
  .footer-meta p:nth-child(2) { text-align: left; }
  .footer-contact { font-size: clamp(36px, 11vw, 72px); margin-top: 40px; }
}

/* ---------- Appel final : un aplat or, une phrase qui est le lien ---------- */
.closing { background: var(--gold); color: var(--navy); }
.closing-inner {
  min-height: 44svh; padding-block: clamp(64px, 9vw, 120px);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-content: center;
}
.closing-inner > * { grid-column: 1 / 8; }
.closing-inner > .closing-actions { grid-column: 9 / 13; grid-row: 1 / span 2; align-self: end; justify-content: flex-end; margin-top: 0; }
.closing-title { font-size: var(--t-h2); line-height: 1; }
.closing-title a {
  color: var(--navy); text-decoration: underline;
  text-decoration-thickness: 4px; text-underline-offset: 8px;
}
@media (hover: hover) and (pointer: fine) { .closing-title a:hover { text-decoration-color: var(--bg); } }
.closing-statement { margin-top: 24px; font-family: var(--serif); font-size: var(--t-lead); line-height: 1.25; max-width: 30ch; }
@media (max-width: 899px) {
  .closing-inner > * { grid-column: 1 / -1; grid-row: auto; }
  .closing-inner > .closing-actions { grid-column: 1 / -1; grid-row: auto; justify-content: flex-start; margin-top: 32px; }
  .closing-statement { max-width: none; }
}
.closing-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 599px) { .closing-actions .btn { width: 100%; } }

/* ---------- Pages de texte (mentions, confidentialité) ---------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--t-lead); line-height: 1.2; color: var(--navy); margin-top: 48px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose a { color: var(--navy); text-underline-offset: 4px; }
.prose-row + .prose-row { margin-top: 48px; }
.prose-title { font-size: var(--t-lead); line-height: 1.2; color: var(--navy); }
.prose .updated { margin-top: 48px; color: var(--muted); font-size: var(--t-small); }

/* ---------- Formulaire de contact ---------- */
.contact-grid { display: grid; grid-template-columns: calc(var(--axis) - var(--gutter) / 2) minmax(0, 1fr); column-gap: var(--gutter); }
.contact-aside .section-title { margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-details li { font-family: var(--serif); font-size: var(--t-lead); line-height: 1.25; color: var(--navy); }
.contact-details a { color: var(--navy); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .contact-details a:hover { text-decoration: underline; text-underline-offset: 5px; } }
.form { display: grid; gap: 20px; max-width: 640px; }
.form-field { display: grid; gap: 8px; }
.form-field label { font-size: var(--t-body); font-weight: 500; color: var(--ink); }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: var(--t-body); color: var(--ink);
  background: var(--bg); border: 1px solid #C9C9C4; border-radius: 0; /* taste-skill-ignore : champ de formulaire */
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(184, 147, 90, 0.45); } /* taste-skill-ignore : anneau de focus */
.form-consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-body); line-height: 1.5; }
.form-consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--navy); flex: none; }
.form-consent a { color: var(--navy); }
.form-status { margin-bottom: 24px; padding: 16px 20px; background: var(--surface); border-left: 4px solid var(--gold); } /* taste-skill-ignore : message de formulaire */
.form-status[hidden] { display: none; }
.form-status.is-error { border-left-color: #A23B2A; }
.form .btn { justify-self: start; border: 0; cursor: pointer; }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* taste-skill-ignore : champ anti-robot invisible */
@media (max-width: 899px) {
  .contact-grid { grid-template-columns: 1fr; row-gap: 56px; }
  .form .btn { justify-self: stretch; }
}

/* ---------- Relecture : points à vérifier avant mise en ligne ---------- */
mark.verify { background: #FBE9B7; color: var(--ink); padding: 0 0.2em; font-family: var(--sans); font-size: 1em; }

/* =====================================================================
   Système de mise en page 2026
   Conteneur de 1200 px, grille à 12 colonnes, composants réutilisables.
   Les références légales sont une petite ligne « Base légale » dans la colonne de contenu.
   ===================================================================== */

/* Icônes : un seul trait, dessinées en SVG, colorées par currentColor */
:root {
  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --i-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M4 9l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --i-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.2' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3Cpath d='M8 4.8v3.8' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='11.1' r='.95' fill='%23000'/%3E%3C/svg%3E");
  --i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
.icon-after::after, .card-link::after, .related-card::after, .checklist li::before, .pitfalls li::before, .faq summary::after {
  content: ""; display: inline-block; flex: none; width: 1em; height: 1em;
  background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}

/* ---------- Conteneur et grille ---------- */
.container { width: min(100% - 2 * var(--pad), var(--container)); margin-inline: auto; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
.sec { padding-block: var(--section); }
.sec + .sec:not(.sec--tint):not(.sec--dark) { padding-top: 0; }
.sec--tint + .sec--tint, .sec--dark + .sec--dark { padding-top: 0; }
.sec--tint { background: var(--surface); }
.sec--dark { background: var(--navy); color: var(--on-dark); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: clamp(24px, 3vw, 40px); }
.sec-title { font-size: var(--t-h2n); line-height: 1.1; color: var(--navy); max-width: 34ch; }
.sec--dark .sec-title { color: var(--on-dark); }
.sec-link { font-size: var(--t-small); font-weight: 500; color: var(--navy); text-underline-offset: 4px; }

/* ---------- Ouverture : titre, chapeau, actions, et l'encadré En bref à droite ---------- */
.hero { padding-block: clamp(32px, 5vw, 64px) clamp(48px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 32px; align-items: center; }
.hero-main { grid-column: 1 / span 8; }
.hero .keyfacts { grid-column: 9 / -1; }
.hero-title { font-size: var(--t-h1); line-height: 1.04; letter-spacing: -0.025em; color: var(--navy); max-width: 24ch; }
.hero-lead { margin-top: 24px; font-size: var(--t-intro); line-height: 1.5; max-width: 54ch; }
.hero-lead + .hero-lead { margin-top: 12px; color: var(--muted); font-size: var(--t-body); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn-quiet { background: var(--surface); color: var(--navy); }
.btn .icon-after::after, .btn.icon-after::after { --icon: var(--i-arrow); }

/* ---------- En bref : trois faits clés ---------- */
.keyfacts { background: var(--navy); color: var(--on-dark); padding: 24px 24px 22px; }
.keyfacts-title { font-family: var(--sans); font-size: var(--t-small); font-weight: 500; letter-spacing: 0; color: var(--gold-soft); }
.keyfacts ul { margin-top: 8px; }
.keyfacts li { padding-block: 14px; border-top: 1px solid var(--line-dark); } /* taste-skill-ignore : filet de séparation demandé par le brief */
.keyfacts li:first-child { border-top: 0; padding-top: 8px; }
.keyfacts li:last-child { padding-bottom: 0; }
.keyfacts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; color: var(--on-dark); }
.keyfacts p { margin-top: 4px; font-size: var(--t-xs); line-height: 1.5; color: var(--on-dark-muted); }

/* ---------- Cartes ---------- */
.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
.cards--2 { --cols: 2; }
.cards--4 { --cols: 4; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--surface); }
.sec--tint .card { background: var(--bg); }
.sec--dark .card { background: var(--navy-2); color: var(--on-dark-muted); }
.card-num { font-size: var(--t-xs); font-weight: 500; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.sec--dark .card-num { color: var(--gold-soft); }
.card-title { font-size: var(--t-h3); line-height: 1.2; color: var(--navy); }
.sec--dark .card-title { color: var(--on-dark); }
.card p { font-size: var(--t-card); line-height: 1.55; }
.card-title + p { margin-top: -2px; }
.card-foot { margin-top: auto; display: grid; gap: 12px; padding-top: 4px; }
.card-link {
  --icon: var(--i-down);
  display: inline-flex; align-items: center; gap: 8px; justify-self: start;
  min-height: 32px; font-size: var(--t-small); font-weight: 500; color: var(--navy);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.card-link::after { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .card-link:hover::after { transform: translateY(2px); } }
/* Lien vers une autre page : flèche horizontale */
.card-link--go { --icon: var(--i-arrow); }
@media (hover: hover) and (pointer: fine) { .card-link--go:hover::after { transform: translateX(3px); } }

/* Base légale : une petite ligne sous la réponse */
.legal { padding-top: 12px; border-top: 1px solid var(--line); font-size: var(--t-xs); line-height: 1.5; color: var(--muted); } /* taste-skill-ignore : filet de séparation demandé par le brief */
.legal b { font-weight: 500; color: var(--ink); }
.sec--dark .legal { border-color: var(--line-dark); color: var(--on-dark-muted); }

/* Missions : des cartes plus courtes, titre-verbe et une phrase */
.cards--missions .card { padding: 22px 24px; gap: 8px; }
.cards--missions .card-title { font-family: var(--sans); font-size: 17px; font-weight: 500; line-height: 1.35; letter-spacing: 0; }

/* ---------- Détail des enjeux : texte à gauche, sommaire collant à droite ---------- */
.doc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
.doc-body { grid-column: 1 / span 8; }
.doc-aside { grid-column: 9 / -1; position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.doc-item { padding-block: 32px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); } /* taste-skill-ignore : filet de séparation demandé par le brief */
.doc-item:first-child { padding-top: 0; border-top: 0; }
.doc-item:last-child { padding-bottom: 0; }
.doc-title { display: flex; gap: 16px; align-items: baseline; font-size: var(--t-h3); line-height: 1.25; color: var(--navy); }
.doc-title .num { flex: none; min-width: 1.6em; font-family: var(--sans); font-size: var(--t-small); font-weight: 500; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.doc-text { margin-top: 16px; padding-left: calc(1.6em * 0.65 + 16px); }
.doc-text > * + * { margin-top: 12px; }
.doc-text p, .doc-text li { max-width: 68ch; }
.doc-text ul { display: grid; gap: 6px; }
.doc-text ul li { position: relative; padding-left: 20px; }
.doc-text ul li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 6px; height: 6px; background: var(--gold); }
.doc-text .legal { margin-top: 20px; }
.doc-text .table-wrap { margin-top: 20px; }

.toc { background: var(--surface); padding: 20px 24px; }
.toc ol { display: grid; gap: 2px; counter-reset: toc; }
.toc a {
  display: grid; grid-template-columns: 1.6em 1fr; gap: 8px; padding: 6px 0;
  font-size: var(--t-small); line-height: 1.4; color: var(--muted); text-decoration: none;
  transition: color 160ms ease;
}
.toc a::before { counter-increment: toc; content: counter(toc); color: var(--gold-ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.toc a[aria-current="true"] { color: var(--navy); font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .toc a:hover { color: var(--navy); } }

/* ---------- Étapes numérotées ---------- */
.steps { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps--4 { --cols: 4; }
.steps.steps--3 { --cols: 3; }
.step { position: relative; padding: 20px 20px 24px; background: var(--bg); border-top: 2px solid var(--navy); } /* taste-skill-ignore : filet de séparation demandé par le brief */
.sec:not(.sec--tint) .step { background: var(--surface); }
.step::before {
  counter-increment: step; content: counter(step);
  display: block; font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--gold-ink); font-variant-numeric: tabular-nums;
}
.step-title { margin-top: 16px; font-family: var(--sans); font-size: 17px; font-weight: 500; line-height: 1.35; letter-spacing: 0; color: var(--navy); }
.step p { margin-top: 8px; font-size: var(--t-small); line-height: 1.55; }

/* ---------- Tableau comparatif ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: var(--t-card); line-height: 1.5; font-variant-numeric: tabular-nums; }
.table caption { text-align: left; }
.table th, .table td { padding: 14px 20px 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); } /* taste-skill-ignore : filet de séparation demandé par le brief */
.table thead th { padding-top: 0; font-family: var(--serif); font-weight: 400; font-size: var(--t-h3); line-height: 1.2; color: var(--navy); border-bottom: 2px solid var(--navy); } /* taste-skill-ignore : filet de séparation demandé par le brief */
.table tbody th { width: 24%; font-weight: 500; color: var(--ink); }
.table td { color: var(--ink); }
.table tbody tr:last-child > * { border-bottom: 0; }
.sec--tint .table-wrap { background: var(--bg); padding: 24px 28px; }
@media (max-width: 699px) {
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table, .table tbody, .table tr, .table th, .table td { display: block; width: auto; }
  .table tr { padding-block: 16px; border-bottom: 1px solid var(--line); } /* taste-skill-ignore : filet de séparation demandé par le brief */
  .table tbody tr:last-child { border-bottom: 0; }
  .table tbody th { width: auto; padding: 0 0 8px; border: 0; font-family: var(--serif); font-weight: 400; font-size: var(--t-h3); color: var(--navy); }
  .table td { display: grid; grid-template-columns: minmax(96px, 36%) 1fr; gap: 12px; padding: 6px 0; border: 0; }
  .table td::before { content: attr(data-label); font-weight: 500; color: var(--muted); }
  .sec--tint .table-wrap { padding: 8px 20px; }
}

/* ---------- Deux colonnes : documents à préparer et erreurs fréquentes ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.panel { padding: clamp(24px, 3vw, 36px); background: var(--bg); }
.sec:not(.sec--tint) .panel { background: var(--surface); }
.panel .sec-title { font-size: clamp(24px, 0.9vw + 19px, 32px); margin-bottom: 20px; }
.panel p + p { margin-top: 12px; }
.checklist, .pitfalls { display: grid; gap: 12px; }
.checklist li, .pitfalls li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: var(--t-card); line-height: 1.5; }
.checklist li::before { --icon: var(--i-check); width: 22px; height: 22px; margin-top: 1px; color: var(--navy); background-color: var(--navy); }
.checklist li { padding-bottom: 12px; border-bottom: 1px solid var(--line); } /* taste-skill-ignore : filet de séparation demandé par le brief */
.checklist li:last-child { padding-bottom: 0; border-bottom: 0; }
.pitfalls li::before { --icon: var(--i-alert); width: 20px; height: 20px; margin-top: 2px; background-color: var(--gold-ink); }
.pitfalls li { padding-bottom: 12px; border-bottom: 1px solid var(--line); } /* taste-skill-ignore : filet de séparation demandé par le brief */
.pitfalls li:last-child { padding-bottom: 0; border-bottom: 0; }
.pitfalls b, .checklist b { font-weight: 500; color: var(--navy); }

/* ---------- Questions fréquentes : <details>, accessible au clavier sans script ---------- */
.faq-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
.faq-layout > .faq, .faq-layout > .form-col { grid-column: 1 / span 8; }
.callout p:last-child { font-size: var(--t-xs); color: var(--muted); }
.faq-layout > .callout { grid-column: 9 / -1; position: sticky; top: calc(var(--header-h) + 24px); }
.faq details { border-top: 1px solid var(--line); } /* taste-skill-ignore : filet de séparation demandé par le brief */
.faq details:last-child { border-bottom: 1px solid var(--line); } /* taste-skill-ignore : filet de séparation demandé par le brief */
.faq summary {
  --icon: var(--i-plus);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: var(--t-h3); line-height: 1.25; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline-offset: -2px; }
.faq summary:active, .toc a:active, .card-link:active, .sec-link:active { opacity: 0.6; }
.faq-a { padding: 0 48px 24px 0; }
.faq-a p { max-width: 68ch; }
.faq-a p + p { margin-top: 12px; }
.faq-a .legal { margin-top: 16px; max-width: 68ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .faq-a { animation: faq-in 220ms var(--ease-out); }
}
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Encadré ---------- */
.callout { padding: 28px; background: var(--gold-soft); color: var(--navy); }
.callout-title { font-size: var(--t-h3); line-height: 1.2; color: var(--navy); }
.callout p { margin-top: 10px; font-size: var(--t-card); line-height: 1.55; color: var(--ink); }
.callout ul { margin-top: 16px; display: grid; gap: 6px; font-size: var(--t-card); }
.callout a:not(.btn) { color: var(--navy); text-underline-offset: 4px; }
.callout .btn { margin-top: 20px; width: 100%; }

/* ---------- À lire et pages liées ---------- */
.related { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 16px; }
.related--3 { --cols: 3; }
.related-card {
  --icon: var(--i-arrow);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  min-height: 148px; padding: 20px 24px 22px;
  background: var(--surface); color: var(--navy); text-decoration: none;
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.related-card::after { width: 20px; height: 20px; transition: transform 200ms var(--ease-out); }
.related-title { font-family: var(--serif); font-size: 21px; line-height: 1.25; }
.sec--tint .related-card { background: var(--bg); }
.related-card--pillar, .sec--tint .related-card--pillar { background: var(--navy); color: var(--on-dark); }
.related-card--pillar::after { background-color: var(--gold-soft); }
@media (hover: hover) and (pointer: fine) {
  .related-card:hover, .sec--tint .related-card:hover { background: var(--surface-2); }
  .related-card--pillar:hover, .sec--tint .related-card--pillar:hover { background: var(--navy-2); }
  .related-card:hover::after { transform: translateX(4px); }
}
.related-card:active { transform: scale(0.98); }

/* ---------- Bande de contact ---------- */
.cta-band { background: var(--gold); color: var(--navy); }
.cta-band-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 24px; align-items: end; padding-block: clamp(48px, 5.5vw, 72px); }
.cta-band-text { grid-column: 1 / span 7; }
.cta-band-title { font-size: var(--t-h2n); line-height: 1.1; }
.cta-band-title a { color: var(--navy); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (hover: hover) and (pointer: fine) { .cta-band-title a:hover { text-decoration-color: var(--bg); } }
.cta-band-text p { margin-top: 12px; font-size: var(--t-intro); line-height: 1.45; max-width: 46ch; }
.cta-band-actions { grid-column: 8 / -1; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- Adaptation ---------- */
@media (max-width: 1079px) {
  .hero-main { grid-column: 1 / span 7; }
  .hero .keyfacts { grid-column: 8 / -1; }
  .steps { --cols: 3; }
  .related { --cols: 2; }
  .cards--4 { --cols: 2; }
  .steps.steps--4 { --cols: 2; }
}
@media (max-width: 899px) {
  .hero-grid, .doc, .faq-layout, .cta-band-inner, .grid-12 { grid-template-columns: minmax(0, 1fr); }
  .hero-main, .hero .keyfacts { grid-column: 1 / -1; }
  .hero-actions .btn, .cta-band-actions .btn { flex: 1 1 0; }
  .cards.cards--missions { --cols: 3; }
  .hero-title { max-width: 20ch; }
  .cards, .cards--2 { --cols: 2; }
  .doc-body, .doc-aside { grid-column: 1 / -1; }
  .doc-aside { display: none; }
  .faq-layout > .faq, .faq-layout > .form-col, .faq-layout > .callout { grid-column: 1 / -1; position: static; }
  .faq-layout > .callout { margin-top: 32px; }
  .split { grid-template-columns: 1fr; }
  .cta-band-text, .cta-band-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 699px) {
  .cards, .cards--2, .cards--4 { --cols: 1; }
  .steps, .steps.steps--3, .steps.steps--4 { --cols: 1; gap: 12px; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; padding: 20px; }
  .step::before { grid-row: 1 / span 2; font-size: 34px; }
  .step-title { margin-top: 0; }
  .step p { grid-column: 2; }
  .related, .related--3 { --cols: 1; }
  .related-card { min-height: 0; flex-direction: row; align-items: center; }
  .doc-text { padding-left: 0; }
  .faq-a { padding-right: 0; }
  .hero-actions .btn, .cta-band-actions .btn { flex: 1 1 auto; }
  .card, .keyfacts, .callout { padding: 20px; }
  .cards.cards--missions { --cols: 1; }
}

/* Entrée de l'ouverture : une seule cascade au chargement */
@media (prefers-reduced-motion: no-preference) {
  .hero-main > *, .hero .keyfacts { animation: rise-in 520ms var(--ease-out) both; }
  .hero-main > :nth-child(2) { animation-delay: 60ms; }
  .hero-main > :nth-child(3) { animation-delay: 120ms; }
  .hero-main > :nth-child(4) { animation-delay: 180ms; }
  .hero .keyfacts { animation-delay: 220ms; }
}
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Apparitions au défilement ----------
   Le contenu reste visible sans JavaScript : l'état caché n'existe que si html.js est posé. */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] > * {
    opacity: 0; transform: translateY(12px);
    transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out);
  }
  html.js [data-reveal].is-in > * { opacity: 1; transform: none; }
  html.js [data-reveal].is-in > :nth-child(2) { transition-delay: 50ms; }
  html.js [data-reveal].is-in > :nth-child(3) { transition-delay: 100ms; }
  html.js [data-reveal].is-in > :nth-child(4) { transition-delay: 150ms; }
  html.js [data-reveal].is-in > :nth-child(n+5) { transition-delay: 200ms; }
}

/* ---------- Mouvement réduit : tout est désactivé ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Consentement aux cookies (assets/cookies.js) ---------- */
.lien-bouton { padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookies { position: relative; z-index: 300; font-family: var(--sans); }
.cookies [hidden] { display: none !important; }
.cookies-carte {
  position: fixed; left: 24px; bottom: 24px; width: min(420px, calc(100vw - 48px));
  padding: 24px; border-radius: 20px; background: #fff; color: #16181C;
  box-shadow: 0 0 0 1px rgba(16, 18, 23, 0.06), 0 24px 48px -16px rgba(16, 18, 23, 0.28);
}
.cookies-titre { font-family: var(--sans); font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: #16181C; }
.cookies-texte { margin-top: 10px; font-size: 14px; line-height: 1.55; color: #4A4F5C; }
.cookies-texte a { color: #16181C; text-underline-offset: 3px; }
.cookies-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.cookies-btn {
  min-height: 44px; padding: 0 10px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap;
  background: #16181C; color: #fff; transition: transform 120ms var(--ease-out), opacity 160ms ease;
}
.cookies-btn:active { transform: scale(0.97); }
.cookies-btn--lien { background: transparent; color: #16181C; box-shadow: inset 0 0 0 1px #DFE2E7; }
.cookies-btn--plein { background: var(--accent); }
@media (hover: hover) and (pointer: fine) { .cookies-btn:hover { opacity: 0.88; } }
.cookies :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cookies-panneau-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cookies-panneau-tete .cookies-titre:focus { outline: none; }
.cookies-fermer { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #4A4F5C; }
@media (hover: hover) and (pointer: fine) { .cookies-fermer:hover { background: #F3F4F6; } }
.cookies-liste { display: grid; gap: 12px; margin-top: 16px; }
.cookies-liste li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 14px; background: #F6F7F9; }
.cookies-cat { font-size: 15px; font-weight: 500; }
.cookies-desc { margin-top: 2px; font-size: 13px; line-height: 1.45; color: #4A4F5C; }
.cookies-toujours { flex: none; font-size: 12.5px; font-weight: 500; color: #1F8A55; white-space: nowrap; }
.cookies-actions--panneau { grid-template-columns: 1fr 1fr; }
.interrupteur { position: relative; flex: none; width: 44px; height: 26px; cursor: pointer; }
.interrupteur input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.interrupteur span { position: absolute; inset: 0; border-radius: 999px; background: #C9CDD5; transition: background-color 200ms ease; pointer-events: none; }
.interrupteur span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(16, 18, 23, 0.2); transition: transform 200ms var(--ease-out); }
.interrupteur input:checked + span { background: var(--accent); }
.interrupteur input:checked + span::after { transform: translateX(18px); }
.interrupteur input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.cookies-icone {
  position: fixed; left: 20px; bottom: 20px; display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; background: #fff; color: #16181C;
  box-shadow: 0 0 0 1px rgba(16, 18, 23, 0.08), 0 8px 20px -6px rgba(16, 18, 23, 0.3);
  transition: transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .cookies-icone:hover { transform: scale(1.06); } }
@media (prefers-reduced-motion: no-preference) {
  .cookies-carte:not([hidden]) { animation: cookies-in 320ms var(--ease-out) both; }
  @keyframes cookies-in { from { opacity: 0; transform: translateY(12px); } }
}
@media (max-width: 599px) {
  .cookies-carte { left: 0; right: 0; bottom: 0; width: auto; padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px)); border-radius: 20px 20px 0 0; }
  .cookies-actions { grid-template-columns: 1fr 1fr; }
  .cookies-btn--lien { grid-column: 1 / -1; grid-row: 2; }
  .cookies-icone { left: 12px; bottom: 12px; width: 44px; height: 44px; }
}
@media print { .cookies { display: none !important; } }


/* ---------- Pied de page commun (identique sur toutes les pages) ---------- */
.pied { padding-block: clamp(72px, 8vw, 104px) 40px; background: #0B0C0F; color: #A2A7B1; font-family: 'Geist', var(--sans); font-size: 15px; line-height: 1.55; }
.pied-haut { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px 40px; padding-bottom: 64px; border-bottom: 1px solid #22252C; }
.pied-logo { display: inline-block; margin-bottom: 20px; }
.pied-logo img { width: 108px; height: 72px; }
.pied-marque p { max-width: 30ch; }
.pied-rdv { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 999px; background: #2F3BD1; color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; }
.pied-titre { margin-bottom: 20px; font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #6E737D; }
.pied ul { display: grid; gap: 10px; list-style: none; padding: 0; }
.pied ul a, .pied .lien-bouton { color: #A2A7B1; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .pied ul a:hover, .pied .lien-bouton:hover, .pied-coordonnees a:hover { color: #fff; } .pied-rdv:hover { background: #1E27A3; } }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; padding-top: 32px; font-size: 13.5px; color: #6E737D; }
.pied-coordonnees { color: #A2A7B1; }
.pied-coordonnees a { color: inherit; text-decoration: none; }
.pied-legal-mention { margin-top: 10px; max-width: 78ch; }
.pied :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.cta-mobile { display: none; }
@media (max-width: 1023px) { .pied-haut { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 679px) {
  .pied { padding-bottom: 112px; }
  .pied-haut { grid-template-columns: minmax(0, 1fr); }
  .cta-mobile { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; gap: 8px; transform: translateY(140%); transition: transform 300ms var(--ease-out); }
  .cta-mobile.is-visible { transform: none; }
  .cta-mobile .btn { flex: 1; min-height: 50px; border-radius: 999px; box-shadow: 0 10px 30px -8px rgba(14, 17, 22, 0.4); }
  .cta-mobile .btn-primary { background: #2F3BD1; color: #fff; }
  .cta-mobile .cta-mobile-tel { flex: 0 0 50px; padding: 0; background: #fff; color: #0E1116; }
  html.cta-mobile-visible .cookies-icone { transform: translateY(-62px); }
}
@media (prefers-reduced-motion: reduce) { .cta-mobile { transition: none; } }
