/* =========================================================================
   Actike : feuille commune (variables, base, gabarit, composants)
   Mobile d'abord. Charte : #013c54 / #005b7f / #008faf / #f4f6f8 / blanc.
   ========================================================================= */

/* ---------- 0. Police de secours calibrée sur Poppins (évite les décalages au chargement) ---------- */
@font-face {
  font-family: "Poppins Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 112.1%;
  ascent-override: 93.6%;
  descent-override: 31.2%;
  line-gap-override: 8.9%;
}

/* ---------- 1. Variables ---------- */
:root {
  /* Couleurs de marque */
  --ink: #013c54;          /* bleu canard foncé : titres, surfaces sombres */
  --ink-deep: #012e40;     /* nuance plus sombre du principal (bandeaux) */
  --teal: #005b7f;         /* teal moyen : boutons, liens (7,5:1 sur blanc) */
  --accent: #008faf;       /* teal clair : filets, icônes, focus (décor, pas de petit texte) */
  --accent-text: #007a96;  /* nuance de l'accent lisible en petit texte (5:1 sur blanc) */
  --accent-on-ink: #5fc6dd;/* teinte de l'accent pour texte sur fond foncé (6:1) */
  --paper: #f4f6f8;        /* fond clair */
  --white: #ffffff;

  /* Neutres dérivés */
  --text: #1f3946;         /* texte courant */
  --muted: #4a5d66;        /* texte secondaire (6,4:1 sur --paper) */
  --line: #d6e1e6;         /* filets */
  --line-strong: #b8cbd3;
  --tint: #e6f2f6;         /* fond teinté très léger */
  --on-ink: #e3eef2;       /* texte courant sur fond foncé */
  --on-ink-muted: #b4cbd4;
  --line-on-ink: rgba(255, 255, 255, 0.16);

  /* Typographie : Poppins, échelle fluide */
  --font: "Poppins", "Poppins Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-h4: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-h3: clamp(1.125rem, 1.02rem + 0.5vw, 1.375rem);
  --fs-h2: clamp(1.625rem, 1.25rem + 1.6vw, 2.5rem);
  --fs-h1: clamp(2rem, 1.35rem + 2.9vw, 3.625rem);
  --fs-stat: clamp(2.25rem, 1.6rem + 2.8vw, 3.5rem);

  /* Espacements (base 4 px) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --section-y: clamp(3.5rem, 2.5rem + 4.5vw, 7rem);
  --gutter: 16px;
  --wrap: 1200px;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 64px;
  --callbar-h: 0px;
  --z-header: 100;
  --z-callbar: 90;
  --z-menu: 200;
  --z-modal: 300;
}

@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; --header-h: 76px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  padding-bottom: var(--callbar-h);
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 var(--s-4); font-weight: 600; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; }
h2 { font-size: var(--fs-h2); line-height: 1.18; letter-spacing: -0.02em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: var(--fs-h4); line-height: 1.35; }
p { margin: 0 0 var(--s-4); max-width: 68ch; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--teal); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
address { font-style: normal; }
figure { margin: 0; }
strong { font-weight: 600; color: var(--ink); }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.on-ink :focus-visible, .site-footer :focus-visible { outline-color: var(--accent-on-ink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 1000;
  background: var(--ink); color: var(--white); padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--s-3); color: var(--white); }

/* ---------- 3. Mise en page ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--white); }
.section-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); max-width: 46rem; }
.section-head p { color: var(--muted); font-size: var(--fs-lead); margin-bottom: 0; }
.section--ink .section-head p { color: var(--on-ink-muted); }
.lead { font-size: var(--fs-lead); line-height: 1.6; }
.main-content { display: block; }

/* ---------- 4. Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0.75rem 1.4rem;
  font-weight: 600; font-size: var(--fs-sm); line-height: 1.2; letter-spacing: 0.005em;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  text-decoration: none; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: translateY(1px); }
.btn i { font-size: 1em; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--ink); color: var(--white); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--white); }
.btn-neutral { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-neutral:hover { border-color: var(--ink); color: var(--ink); }
/* sur fond foncé */
.on-ink .btn-primary { background: var(--white); color: var(--ink); }
.on-ink .btn-primary:hover { background: var(--accent-on-ink); color: var(--ink); }
.on-ink .btn-secondary { color: var(--white); border-color: rgba(255,255,255,0.55); }
.on-ink .btn-secondary:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* lien texte avec soulignement animé */
.link-more {
  display: inline-flex; align-items: center; gap: 0.45em; min-height: 44px;
  font-weight: 600; font-size: var(--fs-sm); color: var(--teal); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat;
  transition: background-size 0.25s var(--ease), color 0.2s;
}
.link-more:hover { background-size: 100% 1px; color: var(--ink); }
.on-ink .link-more { color: var(--accent-on-ink); }
.on-ink .link-more:hover { color: var(--white); }

/* ---------- 5. Bandeau supérieur + en-tête ---------- */
.topbar { display: none; background: var(--ink-deep); color: var(--on-ink); font-size: var(--fs-xs); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 36px; }
.topbar p { margin: 0; max-width: none; display: flex; align-items: center; gap: 0.6em; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 500; }
.topbar a:hover { color: var(--accent-on-ink); }
.topbar i { color: var(--accent-on-ink); }
@media (min-width: 1100px) { .topbar { display: block; } }

.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: transparent;
  border-bottom: 1px solid rgba(214, 225, 230, 0.7);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header::before { background: var(--white); } }
.header-inner { display: flex; align-items: center; gap: var(--s-4); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.brand img { width: auto; height: 26px; }
@media (min-width: 1100px) { .brand img { height: 30px; } }

.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.btn-assistance {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-width: 44px; min-height: 44px; padding: 0 0.85rem;
  border-radius: var(--radius); background: var(--teal); color: var(--white);
  font-weight: 600; font-size: var(--fs-sm); text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s var(--ease);
}
.btn-assistance:hover { background: var(--ink); color: var(--white); }
.btn-assistance .label { display: none; }
@media (min-width: 560px) { .btn-assistance .label { display: inline; } }

.burger {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-width: 44px; min-height: 44px; padding: 0 0.6rem;
  background: transparent; color: var(--ink); border: 1px solid var(--line-strong);
  border-radius: var(--radius); cursor: pointer; font-weight: 500; font-size: var(--fs-sm);
}
.burger:hover { border-color: var(--ink); }
.burger-lines { position: relative; width: 18px; height: 12px; }
.burger-lines::before, .burger-lines::after, .burger-lines span {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px;
}
.burger-lines::before { top: 0; } .burger-lines span { top: 5px; } .burger-lines::after { bottom: 0; }

/* Navigation : panneau sur mobile, barre sur ordinateur */
.site-nav { display: contents; }
.nav-panel {
  position: fixed; inset: 0 0 0 auto; z-index: var(--z-menu);
  width: min(88vw, 380px); height: 100dvh; overflow-y: auto;
  background: var(--white); padding: var(--s-4) var(--s-5) var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-5);
  transform: translateX(100%); visibility: hidden;
  transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
  box-shadow: -24px 0 48px rgba(1, 44, 62, 0.18);
}
.nav-panel.is-open { transform: none; visibility: visible; transition: transform 0.3s var(--ease); }
.nav-backdrop {
  position: fixed; inset: 0; z-index: calc(var(--z-menu) - 1); background: rgba(1, 30, 42, 0.5);
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s var(--ease); }
.close-menu {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 0.6em;
  min-height: 44px; padding: 0 0.9rem; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--white); color: var(--ink); font-weight: 500; cursor: pointer;
}
.nav-list { list-style: none; display: flex; flex-direction: column; }
.nav-list > li { border-bottom: 1px solid var(--line); }
.nav-link {
  display: flex; align-items: center; gap: 0.75em; min-height: 52px; padding: 0.5rem 0;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.0625rem;
}
.nav-link i { width: 1.25em; color: var(--accent); text-align: center; font-size: 0.95em; }
.nav-link:hover { color: var(--teal); }
.nav-link[aria-current="page"] { color: var(--teal); font-weight: 600; }
.nav-item--sub { display: flex; flex-wrap: wrap; align-items: center; }
.nav-item--sub > .nav-link { flex: 1; }
.subnav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: var(--radius-sm);
}
.subnav-toggle i { transition: transform 0.2s var(--ease); }
.subnav-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.subnav { list-style: none; width: 100%; padding: 0 0 var(--s-3) 2rem; display: none; }
.subnav.is-open { display: block; }
.subnav a { display: flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 0.35rem 0; color: var(--text); text-decoration: none; font-size: var(--fs-sm); }
.subnav a small { color: var(--muted); font-size: var(--fs-xs); }
.subnav a:hover, .subnav a[aria-current="page"] { color: var(--teal); }
.nav-panel-foot { margin-top: auto; display: flex; flex-direction: column; gap: var(--s-3); }
.nav-panel-foot .btn { width: 100%; }
.nav-panel-foot p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }

@media (min-width: 1100px) {
  .burger, .nav-backdrop, .close-menu, .nav-panel-foot { display: none; }
  .site-nav { display: block; }
  .nav-panel {
    position: static; width: auto; height: auto; overflow: visible; padding: 0; background: none;
    transform: none; visibility: visible; transition: none; box-shadow: none; flex-direction: row;
  }
  .nav-list { flex-direction: row; align-items: center; gap: 0.25rem; }
  .nav-list > li { border: 0; position: relative; }
  .nav-link { min-height: 44px; padding: 0 0.7rem; font-size: var(--fs-sm); position: relative; }
  .nav-link i { display: none; }
  .nav-link::after {
    content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 6px; height: 2px;
    background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
  }
  .nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
  .nav-item--sub { flex-wrap: nowrap; }
  .nav-item--sub > .nav-link { padding-right: 0.15rem; }
  .nav-item--sub > .nav-link::after { right: 0.15rem; }
  .subnav-toggle { width: 30px; height: 44px; }
  .subnav {
    position: absolute; top: calc(100% + 10px); left: 0; width: 300px; padding: var(--s-2);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(1, 44, 62, 0.14);
  }
  .subnav a { padding: 0.55rem 0.75rem; border-radius: var(--radius-sm); }
  .subnav a:hover { background: var(--paper); }
  .nav-item--sub:hover .subnav { display: block; }
  .nav-item--sub:hover .subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
}

/* ---------- 6. Barre d'appel mobile + retour en haut ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-callbar);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-on-ink);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 24px rgba(1, 44, 62, 0.14);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 56px;
  background: var(--ink); color: var(--white); text-decoration: none; font-weight: 600; font-size: var(--fs-sm);
}
.callbar a:first-child { background: var(--teal); }
:root { --callbar-h: 56px; }
@media (min-width: 768px) { .callbar { display: none; } :root { --callbar-h: 0px; } }

#scrollTopBtn {
  position: fixed; right: var(--s-4); bottom: calc(var(--callbar-h) + var(--s-4)); z-index: var(--z-callbar);
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 50%;
  text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
#scrollTopBtn.visible { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
#scrollTopBtn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
@media (min-width: 768px) { #scrollTopBtn { right: var(--s-6); bottom: var(--s-6); } }

/* ---------- 7. Fenêtre « Assistance immédiate » ---------- */
.modal {
  width: min(92vw, 520px); max-height: 90dvh; padding: 0; border: 0; border-radius: var(--radius-lg);
  color: var(--text); background: var(--white); box-shadow: 0 30px 80px rgba(1, 30, 42, 0.35);
}
.modal::backdrop { background: rgba(1, 30, 42, 0.62); }
.modal__inner { position: relative; padding: var(--s-6) var(--s-5) var(--s-5); }
@media (min-width: 560px) { .modal__inner { padding: var(--s-7) var(--s-6) var(--s-6); } }
.modal__icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tint); color: var(--teal); font-size: 1.3rem; margin-bottom: var(--s-4);
}
.modal h2 { font-size: var(--fs-h3); margin-bottom: var(--s-3); }
.modal p { color: var(--text); }
.modal p a { font-weight: 600; white-space: nowrap; }
.modal__close {
  position: absolute; top: var(--s-3); right: var(--s-3); width: 44px; height: 44px;
  display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent;
  color: var(--ink); font-size: 1.75rem; line-height: 1; cursor: pointer;
}
.modal__close:hover { background: var(--paper); }
.modal__steps { list-style: none; display: grid; gap: var(--s-2); margin: 0 0 var(--s-5); font-size: var(--fs-sm); color: var(--muted); }
.modal__steps li { display: flex; gap: var(--s-3); align-items: baseline; }
.modal__steps b { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); font-size: var(--fs-xs); font-weight: 600; }
.modal__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: flex-end; }
.modal__actions .btn { flex: 1 1 140px; }

/* ---------- 8. Pied de page ---------- */
.site-footer { background: var(--ink); color: var(--on-ink); font-size: var(--fs-sm); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--accent-on-ink); text-decoration: underline; }
.footer-main { display: grid; gap: var(--s-6); padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.footer-logo { width: auto; height: 30px; margin-bottom: var(--s-4); }
.footer-brand .slogan { color: var(--on-ink-muted); max-width: 34ch; }
.footer-col h3 { color: var(--white); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.01em; margin: 0 0 var(--s-3); display: flex; align-items: center; gap: 0.55em; }
.footer-col h3 i { color: var(--accent-on-ink); font-size: 0.9em; }
.footer-col h3.mt-2 { margin-top: var(--s-5); }
.footer-col p, .footer-col address { margin: 0 0 var(--s-2); color: var(--on-ink); line-height: 1.7; }
.footer-links { list-style: none; display: grid; gap: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--on-ink); }
.footer-badges { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); list-style: none; }
.footer-badges li { border: 1px solid var(--line-on-ink); border-radius: 999px; padding: 0.3rem 0.75rem; font-size: var(--fs-xs); color: var(--on-ink); }
.footer-bottom { border-top: 1px solid var(--line-on-ink); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); padding-block: var(--s-5); color: var(--on-ink-muted); font-size: var(--fs-xs); }
@media (min-width: 768px) { .footer-main { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-main { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; } }

/* ---------- 9. Composants partagés ---------- */
/* Image dans un cadre à ratio fixe */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.media picture, .hero-media picture { display: block; width: 100%; height: 100%; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
a:hover .media img, .media:hover img { transform: scale(1.025); }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-4x3 { aspect-ratio: 4 / 3; }

/* Pastille d'icône */
.icon-chip { width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center; background: var(--tint); color: var(--teal); font-size: 1.1rem; flex: none; }
.section--ink .icon-chip, .on-ink .icon-chip { background: rgba(255, 255, 255, 0.08); color: var(--accent-on-ink); }

/* Verre dépoli (sur fond foncé) */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 24px 60px rgba(0, 20, 30, 0.35);
}
/* Halo teal derrière les éléments givrés (donne de la matière au flou) */
.glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(70px); opacity: 0.55; }
.glow--teal { background: var(--accent); }
.glow--light { background: var(--accent-on-ink); opacity: 0.35; }

/* Motif « Λ » issu du logo (A sans barre) */
.lambda { position: absolute; pointer-events: none; color: currentColor; }

/* Fil d'Ariane */
.breadcrumb { font-size: var(--fs-xs); color: var(--muted); margin-bottom: var(--s-4); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4em; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4em; color: var(--line-strong); }

/* ---------- Appel à l'action final ---------- */
.cta-panel {
  position: relative; overflow: hidden; display: grid; gap: var(--s-5);
  padding: clamp(2rem, 1.25rem + 3.5vw, 4rem); border-radius: var(--radius-lg);
  background: var(--teal); color: var(--white);
}
.cta-panel h2 { color: var(--white); margin-bottom: var(--s-3); }
.cta-panel p { color: #e6f2f6; margin: 0; }
.cta-lambda { width: 420px; right: -80px; bottom: -120px; color: var(--white); opacity: 0.14; }
.cta-buttons { position: relative; display: flex; flex-wrap: wrap; gap: var(--s-3); }
.cta-buttons .btn { flex: 1 1 200px; }
.cta-text { position: relative; }
@media (min-width: 900px) {
  .cta-panel { grid-template-columns: minmax(0, 1.4fr) auto; align-items: center; gap: var(--s-7); }
  .cta-buttons .btn { flex: 0 0 auto; }
}

/* ---------- 10. Pages intérieures ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(110% 120% at 90% 0%, #02506e 0%, var(--ink) 55%, var(--ink-deep) 100%); color: var(--on-ink); padding-block: clamp(2.25rem, 1.5rem + 3vw, 4.5rem); }
.page-hero .breadcrumb { color: var(--on-ink-muted); }
.page-hero .breadcrumb a { color: var(--white); text-decoration: none; }
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero .breadcrumb li + li::before { color: var(--line-on-ink); }
.page-hero h1 { color: var(--white); margin-bottom: var(--s-4); max-width: 20ch; }
.page-hero h1 i { color: var(--accent-on-ink); font-size: 0.7em; margin-right: 0.25em; vertical-align: 0.08em; }
.page-hero p { color: var(--on-ink); font-size: var(--fs-lead); max-width: 58ch; }
.page-hero p strong { color: var(--white); }
.page-hero a:not(.btn) { color: var(--white); }
.page-hero a:not(.btn):hover { color: var(--accent-on-ink); }
.page-hero-grid { position: relative; display: grid; gap: var(--s-6); align-items: center; }
.page-hero-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line-on-ink); background: var(--ink-deep); }
.page-hero-media picture, .page-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-hero .lambda { width: clamp(360px, 50vw, 760px); right: -14%; top: -20%; color: var(--accent); opacity: 0.18; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
@media (min-width: 1000px) { .page-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); } }

/* Sommaire des pôles / sections */
.toc { border-bottom: 1px solid var(--line); background: var(--white); }
.toc ol, .toc ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); padding-block: var(--s-4); }
.toc a {
  display: inline-flex; align-items: center; gap: 0.5em; min-height: 40px; padding: 0.35rem 0.85rem;
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: var(--fs-sm); font-weight: 500;
  transition: border-color 0.2s, background-color 0.2s;
}
.toc a:hover { border-color: var(--teal); background: var(--tint); }
.toc .toc-num { color: var(--accent-text); font-weight: 600; font-variant-numeric: tabular-nums; font-size: var(--fs-xs); }

/* Pôle : en-tête numéroté + points clés */
.pole-section { padding-block: var(--section-y); border-bottom: 1px solid var(--line); }
.pole-section:nth-of-type(even) { background: var(--paper); }
.pole-head { display: grid; gap: var(--s-5); margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.pole-head-num { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--accent-text); font-variant-numeric: tabular-nums; margin-bottom: var(--s-2); }
.pole-head h2 { margin-bottom: var(--s-3); }
.pole-head .lead { color: var(--muted); margin-bottom: 0; }
.keypoints { list-style: none; display: grid; gap: var(--s-3); align-content: start; }
.keypoints li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: var(--s-2); font-size: var(--fs-sm); line-height: 1.6; }
.keypoints li::before { content: ""; width: 0.55rem; height: 0.55rem; margin-top: 0.5em; border: 2px solid var(--accent); border-radius: 50%; }
.keypoints strong { color: var(--ink); }
@media (min-width: 1000px) { .pole-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; } }

/* Sous-bloc (section d'origine conservée avec son ancre) */
.sub-block + .sub-block { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.sub-block > h2 { font-size: var(--fs-h3); display: flex; align-items: center; gap: 0.6em; padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); margin-bottom: var(--s-5); }
.sub-block > h2 i { color: var(--accent); font-size: 0.85em; }
.card-pair { display: grid; gap: var(--s-6) var(--s-5); }
@media (min-width: 700px) { .card-pair { grid-template-columns: 1fr 1fr; } }
.svc { display: flex; flex-direction: column; }
.svc .media { aspect-ratio: 16 / 10; margin-bottom: var(--s-4); }
.svc h3 { font-size: var(--fs-h4); display: flex; align-items: center; gap: 0.55em; margin-bottom: var(--s-2); }
.svc h3 i { color: var(--accent); font-size: 0.9em; }
.svc p { color: var(--text); font-size: var(--fs-sm); margin: 0; }
.svc--text { padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }

/* Bloc média + texte (variation de mise en page) */
.split { display: grid; gap: var(--s-5); align-items: center; }
.split .media { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); } .split--reverse > :first-child { order: 2; } }

/* Bandeau de renvoi */
.band { background: radial-gradient(100% 140% at 100% 0%, #02506e 0%, var(--ink) 60%); color: var(--on-ink); border-radius: var(--radius-lg); padding: clamp(1.75rem, 1.25rem + 2vw, 3rem); display: grid; gap: var(--s-5); position: relative; overflow: hidden; }
.band h2, .band h3 { color: var(--white); }
.band p { color: var(--on-ink); }
.band .lambda { width: 320px; right: -60px; bottom: -110px; color: var(--accent-on-ink); opacity: 0.18; }
@media (min-width: 900px) { .band { grid-template-columns: minmax(0, 1.5fr) auto; align-items: center; } }

.band .pole-head-num { color: var(--accent-on-ink); }
.band-actions { margin-top: 0; }
.section--flush-top { padding-top: 0; }

/* Liste de valeurs */
.values-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.values-list li { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .values-list { grid-template-columns: 1fr 1fr; column-gap: var(--s-6); } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 56px; padding: var(--s-4) 0;
  cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); font-size: var(--fs-h4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-weight: 500; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq .faq-answer { padding: 0 0 var(--s-5); color: var(--text); }
.faq .faq-answer p:last-child { margin-bottom: 0; }

/* Étapes numérotées */
.steps { list-style: none; display: grid; gap: var(--s-4); counter-reset: step; }
.steps li { counter-increment: step; display: grid; align-content: start; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--s-4); padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font-size: var(--fs-h3); font-weight: 600; color: var(--accent-text); font-variant-numeric: tabular-nums; line-height: 1.2; }
.steps h3 { font-size: var(--fs-h4); margin-bottom: var(--s-2); }
.steps p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); gap: var(--s-5); } .steps li { grid-template-columns: 1fr; gap: var(--s-3); } }

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