@charset "UTF-8";
/* ---------------------------------------------------------------- 1. POLICES
   Inter est hébergée avec le site : aucune requête vers un service tiers,
   donc aucun temps de chargement dépendant du réseau ni transfert de données
   de navigation vers un tiers.
   -------------------------------------------------------------------------- */
/* ORDRE VOULU : latin-ext d'abord, latin ensuite.
   Les deux sous-ensembles se recouvrent sur quelques codes — dont U+0152-0153,
   la ligature œ de « cœur » et « fœtal ». À plage égale, c'est la déclaration
   la plus basse qui l'emporte : latin-ext déclaré en second faisait télécharger
   83 ko de police pour ces seuls caractères, sur des pages dont le plus grand
   élément affiché est du texte. Inverser l'ordre suffit à ne plus charger
   latin-ext tant qu'aucun caractère ne lui appartient en propre. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-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;
}
/* Police de repli calee sur les proportions d'Inter : le texte occupe la meme
   place avant et apres le chargement, donc aucun decalage de mise en page
   (Cumulative Layout Shift) au moment de la substitution. */
@font-face {
  font-family: "Inter Repli";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22.43%;
  line-gap-override: 0%;
}
/* ------------------------------------------------- 2. JETONS DE CONCEPTION */
:root {
  /* Couleurs de marque — pétrole profond, vert soin, sable */
  --c-brand-900: #06333A;
  --c-brand-800: #084450;
  --c-brand-700: #0B4F5A;
  --c-brand-600: #0E6470;
  --c-brand-500: #12808F;
  --c-brand-200: #A9D6DC;
  --c-brand-100: #DCEFF1;
  --c-brand-50: #F1F9FA;
  --c-care-700: #14724F;
  --c-care-600: #1F9D6B;
  --c-care-100: #DFF3E9;
  --c-care-50: #EFFAF4;
  --c-sand-600: #B8862F;
  --c-sand-100: #F7EDD9;
  --c-urgent-700: #A32B1F;
  --c-urgent-600: #C0392B;
  --c-urgent-50: #FCEDEB;
  /* Neutres */
  --c-ink-900: #0C1A1C;
  --c-ink-800: #16292C;
  --c-ink-700: #2B3B3D;
  --c-ink-500: #4E5F61; /* 6,7:1 sur blanc, 5,8:1 sur les fonds teintes */
  --c-ink-400: #667679; /* 4,74:1 sur blanc — seuil AA du texte courant */
  --c-line: #E1EAEA;
  --c-line-2: #EFF4F4;
  --c-bg: #FFFFFF;
  --c-bg-soft: #F5F9F9;
  /* Typographie */
  --font-sans: 'Inter', 'Inter Repli', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fs-display: clamp(2rem, 1.35rem + 2.2vw, 3.15rem);
  --fs-h1: clamp(1.95rem, 1.4rem + 2.3vw, 3rem);
  --fs-h2: clamp(1.6rem, 1.25rem + 1.5vw, 2.35rem);
  --fs-h3: clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem);
  --fs-h4: 1.0625rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-eyebrow: 0.78rem;
  --lh-tight: 1.15;
  --lh-title: 1.25;
  --lh-body: 1.7;
  /* Espacements — échelle de 4 px */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-7: 2rem;
  --sp-8: 2.5rem;
  --sp-9: 3rem;
  --sp-10: 4rem;
  --sp-11: 5rem;
  --sp-12: 6rem;
  --section-y: clamp(3.5rem, 2rem + 5.5vw, 6.5rem);
  --container: 74rem;
  --gutter: clamp(1.15rem, 0.6rem + 2vw, 2.5rem);
  /* Formes et profondeur */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(6, 51, 58, .06), 0 1px 3px rgba(6, 51, 58, .05);
  --sh-2: 0 4px 12px rgba(6, 51, 58, .07), 0 2px 4px rgba(6, 51, 58, .04);
  --sh-3: 0 18px 42px rgba(6, 51, 58, .11), 0 4px 12px rgba(6, 51, 58, .05);
  --sh-4: 0 32px 70px rgba(6, 51, 58, .16);
  --t-fast: 140ms ease;
  --t-base: 240ms cubic-bezier(.22, .61, .36, 1);
  /* Motif de fond réutilisé par plusieurs sections */
  --grid-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 0H0v48' fill='none' stroke='%230B4F5A' stroke-opacity='.06' stroke-width='1'/%3E%3C/svg%3E");
}

/* ------------------------------------------ 3. RÉINITIALISATION ET BASE */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  /* Le tiroir de navigation attend hors champ tant qu'il est fermé : sans cette
     règle, il élargit la zone de défilement horizontal. « clip » plutôt que
     « hidden », qui casserait le positionnement collant de l'en-tête. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink-700);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-feature-settings: "cv02", "cv03", "cv04";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

img {
  background-color: var(--c-brand-50);
}

a {
  color: var(--c-brand-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--c-brand-500);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

ul, ol {
  margin: 0;
  padding: 0;
}

figure, blockquote {
  margin: 0;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--c-brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--c-brand-100);
  color: var(--c-brand-900);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  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(--sp-4);
  top: -100px;
  z-index: 200;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-sm);
  background: var(--c-brand-700);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--t-fast);
}

.skip-link:focus {
  top: var(--sp-4);
  color: #fff;
}

/* ---------------------------------------- 4. UTILITAIRES DE MISE EN PAGE */
.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}

.section--soft {
  background: var(--c-bg-soft);
}

.grid {
  display: grid;
  gap: var(--sp-6);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}

/* 17 rem : le plancher décide du nombre de colonnes. Il donne 4 colonnes sur
   bureau, 3 sur portable, 2 sur tablette et 1 sur mobile, conformément à la
   matrice demandée. Aucun nombre de colonnes n’est écrit en dur : mesurer
   après toute modification de ce plancher. */
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.mt-6 {
  margin-top: var(--sp-6);
}

.mt-8 {
  margin-top: var(--sp-8);
}

/* Un enfant de grille ne descend pas, par défaut, sous la largeur de son plus
   long mot : sur un écran de 320 px, cela suffisait à faire dépasser le héros,
   les formulaires et les encadrés. min-width: 0 leur rend le droit de
   rétrécir, et le texte se replie normalement. */
.hero__inner > *,
.contact-grid > *,
.split > *,
.grid > *,
.form__row > * {
  min-width: 0;
}

/* ------------------------------------------ 5. TYPOGRAPHIE ÉDITORIALE */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--c-ink-900);
  font-weight: 700;
  line-height: var(--lh-title);
  letter-spacing: -0.017em;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-h4);
}

p {
  margin: 0;
}

p + p {
  margin-top: var(--sp-4);
}

.lead {
  font-size: clamp(1.075rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.65;
  color: var(--c-ink-700);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
  color: var(--c-brand-600);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-brand-500), var(--c-care-600));
}

.section-head {
  max-width: 46rem;
  margin-bottom: var(--sp-8);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head p {
  margin-top: var(--sp-4);
  color: var(--c-ink-500);
}

/* =============================================================================
 * Boutons et liens d’action
 * ========================================================================== */
/* Boutons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 2.875rem;
  padding: 0.72rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  flex: none;
}

.btn--primary {
  background: var(--c-brand-700);
  color: #fff;
  box-shadow: var(--sh-2);
}

.btn--primary:hover {
  background: var(--c-brand-800);
  color: #fff;
  box-shadow: var(--sh-3);
}

.btn--outline {
  border-color: var(--c-line);
  background: #fff;
  color: var(--c-brand-800);
}

.btn--outline:hover {
  border-color: var(--c-brand-500);
  background: var(--c-brand-50);
  color: var(--c-brand-800);
}

.btn--light {
  background: #fff;
  color: var(--c-brand-800);
}

.btn--light:hover {
  background: var(--c-brand-50);
  color: var(--c-brand-900);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn--urgent {
  background: var(--c-urgent-600);
  color: #fff;
}

.btn--urgent:hover {
  background: var(--c-urgent-700);
  color: #fff;
}

.btn--lg {
  min-height: 3.25rem;
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* Liens fléchés ---------------------------------------------------------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 600;
  font-size: var(--fs-small);
  text-decoration: none;
  color: var(--c-brand-700);
}

.link-arrow svg {
  transition: transform var(--t-base);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* =============================================================================
 * Étiquettes
 * ========================================================================== */
/* Étiquettes ------------------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--c-brand-50);
  color: var(--c-brand-800);
  font-size: var(--fs-xs);
  font-weight: 600;
}

/* =============================================================================
 * Cartes de contenu
 * ========================================================================== */
/* Cartes ----------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-1);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.card--link:hover {
  transform: translateY(-4px);
  border-color: var(--c-brand-200);
  box-shadow: var(--sh-3);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: var(--c-brand-50);
  color: var(--c-brand-700);
  transition: background-color var(--t-base), color var(--t-base);
}

.card--link:hover .card__icon {
  background: var(--c-brand-700);
  color: #fff;
}

.card__title {
  font-size: 1.125rem;
}

.card__text {
  color: var(--c-ink-500);
  font-size: var(--fs-small);
}

.card__link {
  margin-top: auto;
}

.card a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

/* =============================================================================
 * Listes de contrôle et de définitions
 * ========================================================================== */
/* Listes de contrôle ------------------------------------------------------ */
.checklist {
  list-style: none;
  display: grid;
  gap: var(--sp-3);
}

.checklist li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: var(--sp-3);
  align-items: start;
  font-size: var(--fs-small);
  color: var(--c-ink-700);
}

.checklist svg {
  color: var(--c-care-600);
  margin-top: 0.2rem;
}

/* Liste de définitions ---------------------------------------------------- */
.deflist {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--c-line);
}

.deflist__row {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) 1fr;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--c-line);
}

.deflist__row dt {
  font-weight: 650;
  color: var(--c-ink-900);
}

/* Dans un encadre lateral, la liste de definitions s empile pour rester lisible. */
.panel .deflist__row {
  grid-template-columns: 1fr;
  gap: var(--sp-1);
}

.deflist__row dd {
  margin: 0;
  color: var(--c-ink-500);
  font-size: var(--fs-small);
}

/* =============================================================================
 * Champs et formulaires
 * ========================================================================== */
/* Formulaires ------------------------------------------------------------- */
.form {
  display: grid;
  gap: var(--sp-5);
}

.form__row {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.field {
  display: grid;
  gap: var(--sp-2);
}

.field > label {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--c-ink-900);
}

.field .hint {
  font-size: var(--fs-xs);
  color: var(--c-ink-400);
}

.field .required {
  color: var(--c-urgent-600);
}

.input, .textarea, .select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--c-ink-900);
  font-size: var(--fs-small);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.input::placeholder, .textarea::placeholder {
  color: var(--c-ink-400);
}

.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--c-brand-500);
  box-shadow: 0 0 0 3px rgba(18, 128, 143, 0.18);
}

.textarea {
  min-height: 9rem;
  resize: vertical;
}

.select {
  appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6B6D' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.field--error .input, .field--error .textarea, .field--error .select {
  border-color: var(--c-urgent-600);
}

.field__error {
  display: none;
  font-size: var(--fs-xs);
  color: var(--c-urgent-700);
  font-weight: 600;
}

.field--error .field__error {
  display: block;
}

.check {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: var(--sp-3);
  align-items: start;
}

.check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.25rem;
  accent-color: var(--c-brand-700);
}

.check label {
  font-size: var(--fs-xs);
  color: var(--c-ink-500);
  font-weight: 400;
}

.form__status {
  display: none;
  gap: var(--sp-3);
  align-items: start;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  background: var(--c-care-50);
  border: 1px solid var(--c-care-100);
  color: var(--c-care-700);
  font-size: var(--fs-small);
}

.form__status.is-visible {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
}

/* =============================================================================
 * Encadrés d’information
 * ========================================================================== */
/* Encadrés ---------------------------------------------------------------- */
.note {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border-radius: var(--r-md);
  background: var(--c-brand-50);
  border: 1px solid var(--c-brand-100);
  font-size: var(--fs-small);
  color: var(--c-ink-700);
}

.note svg {
  color: var(--c-brand-600);
  margin-top: 0.15rem;
}

.note--urgent {
  background: var(--c-urgent-50);
  border-color: #F6D9D5;
}

.note--urgent svg {
  color: var(--c-urgent-600);
}

/* =============================================================================
 * Accordéon
 * ========================================================================== */
/* Accordéon --------------------------------------------------------------- */
.accordion {
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
}

.accordion + .accordion {
  margin-top: var(--sp-4);
}

.accordion__item {
  border-bottom: 1px solid var(--c-line);
}

.accordion__item:last-child {
  border-bottom: 0;
}

.accordion__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  font-weight: 650;
  color: var(--c-ink-900);
  cursor: pointer;
  list-style: none;
  transition: background-color var(--t-fast);
}

.accordion__item summary::-webkit-details-marker {
  display: none;
}

.accordion__item summary:hover {
  background: var(--c-brand-50);
}

.accordion__item summary svg {
  flex: none;
  color: var(--c-brand-600);
  transition: transform var(--t-base);
}

.accordion__item[open] summary svg {
  transform: rotate(180deg);
}

.accordion__body {
  padding: 0 var(--sp-6) var(--sp-5);
  color: var(--c-ink-500);
  font-size: var(--fs-small);
}

.accordion__body > * + * {
  margin-top: var(--sp-3);
}

/* =============================================================================
 * Visuels : rangées texte/image, figures, bandeaux illustrés, cartes de
 * département et d'article
 * ========================================================================== */
/* Rangée à deux colonnes : un visuel, un discours ------------------------- */
.media {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.media + .media {
  margin-top: var(--section-y);
}

/* La variante inverse place le visuel à droite sans toucher à l'ordre du
   document : le texte reste lu en premier par un lecteur d'écran. */
.media--inverse .media__figure {
  order: 2;
}

.media__figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-3);
  background: var(--c-brand-900);
}

.media__figure img {
  width: 100%;
  height: auto;
  display: block;
}

.media__texte h2 {
  max-width: 20ch;
}

/* Figure isolée ----------------------------------------------------------- */
.figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-2);
  background: var(--c-brand-900);
}

.figure img {
  width: 100%;
  height: auto;
  display: block;
}

.figure + .panel {
  margin-top: var(--sp-5);
}

/* Visuel du héros --------------------------------------------------------- */
.hero__figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-4);
  background: var(--c-brand-900);
}

.hero__figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* Bandeau d'appel illustré ------------------------------------------------ *
   L'image est posée en attribut style sur la section ; cette règle en fixe le
   cadrage, le voile sombre et le repli de couleur.
 -------------------------------------------------------------------------- */
.cta-image {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem);
  color: #fff;
  /* Le chemin de l image est pose en attribut style sur la section : il se
     resout depuis la page. La couleur de fond sert de secours si l image
     manque, et garantit le contraste du texte en toute circonstance. */
  background-color: var(--c-brand-900);
  background-size: cover;
  background-position: center;
}

.cta-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(6, 51, 58, 0.95) 10%, rgba(6, 51, 58, 0.84) 55%, rgba(6, 51, 58, 0.7));
}

.cta-image__inner {
  max-width: 46rem;
}

.cta-image .eyebrow {
  color: var(--c-brand-200);
}

.cta-image__titre {
  color: #fff;
}

.cta-image__texte {
  margin-top: var(--sp-4);
  color: #D3E6E9;
}

/* Carte de département ---------------------------------------------------- */
.dept {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.dept:hover {
  transform: translateY(-4px);
  border-color: var(--c-brand-200);
  box-shadow: var(--sh-3);
}

.dept__image {
  position: relative;
}

.dept__image img {
  width: 100%;
  height: auto;
  display: block;
}

.dept__icone {
  position: absolute;
  left: var(--sp-5);
  bottom: -1.25rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  background: #fff;
  color: var(--c-brand-700);
  box-shadow: var(--sh-2);
}

.dept__corps {
  padding: var(--sp-7) var(--sp-6) var(--sp-6);
}

.dept__resume {
  margin-top: var(--sp-2);
  color: var(--c-ink-500);
  font-size: var(--fs-small);
}

.dept__infos {
  display: grid;
  gap: var(--sp-3);
  margin: var(--sp-5) 0;
}

.dept__infos > div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: var(--sp-3);
}

.dept__infos dt {
  color: var(--c-ink-900);
  font-size: var(--fs-xs);
  font-weight: 650;
}

.dept__infos dd {
  margin: 0;
  color: var(--c-ink-500);
  font-size: var(--fs-xs);
}

/* Carte d'article --------------------------------------------------------- */
.post {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.post:hover {
  transform: translateY(-4px);
  border-color: var(--c-brand-200);
  box-shadow: var(--sh-3);
}

.post__image {
  display: block;
}

.post__image img {
  width: 100%;
  height: auto;
  display: block;
}

.post__corps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6);
}

.post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-3);
  color: var(--c-ink-400);
  font-size: var(--fs-xs);
}

.post__meta--clair {
  color: #A9C6CA;
}

.post__meta--clair .tag {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.post__titre {
  font-size: 1.125rem;
}

.post__titre a {
  color: inherit;
  text-decoration: none;
}

.post__titre a:hover {
  color: var(--c-brand-700);
}

.post__chapeau {
  color: var(--c-ink-500);
  font-size: var(--fs-small);
}

.post .link-arrow {
  margin-top: auto;
}

/* Petites aides de mise en page ------------------------------------------- */
.liste-nue {
  list-style: none;
}

.center-row {
  justify-content: center;
}

@media (max-width: 860px) {
  .media {
    grid-template-columns: 1fr;
  }
  .media--inverse .media__figure {
    order: 0;
  }
  .dept__infos > div {
    grid-template-columns: 1fr;
    gap: var(--sp-1);
  }
}
/* ------------------------------- 7. EN-TÊTE, NAVIGATION, FIL D'ARIANE */
.topbar {
  background: var(--c-brand-900);
  color: #A9C6CA;
  font-size: var(--fs-xs);
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-6);
  min-height: 2.5rem;
  padding-block: 0.35rem;
}

/* Une seule ligne, quelle que soit la police effectivement chargee : sans
   cela la barre change de hauteur au moment de la substitution et pousse
   toute la page vers le bas. */
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin: 0;
  white-space: nowrap;
}

.topbar__item svg {
  color: var(--c-brand-200);
}

.topbar__item a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.topbar__item a:hover {
  color: var(--c-brand-200);
  text-decoration: underline;
}

.topbar__item:last-child {
  margin-left: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  /* Fond opaque : un filtre d arriere-plan sur l en-tete ferait de celui-ci
     le bloc conteneur du tiroir de navigation, qui ne couvrirait alors plus
     la hauteur de l ecran sur mobile. */
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow var(--t-base);
}

.header.is-stuck {
  box-shadow: var(--sh-2);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
}

.brand__logo {
  border-radius: 10px;
  box-shadow: var(--sh-1);
}

.brand__text {
  display: grid;
  line-height: 1.2;
}

.brand__text strong {
  color: var(--c-brand-900);
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand__text small {
  color: var(--c-ink-400);
  font-size: var(--fs-xs);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 0.7rem;
  border-radius: var(--r-sm);
  color: var(--c-ink-700);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--t-fast), background-color var(--t-fast);
}

.nav__link:hover {
  color: var(--c-brand-700);
  background: var(--c-brand-50);
}

.nav__link.is-active {
  color: var(--c-brand-800);
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.35rem;
  height: 2px;
  border-radius: 2px;
  background: var(--c-care-600);
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--c-ink-500);
}

.nav__panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(38rem, 90vw);
  padding: var(--sp-5);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-4);
}

.nav__panel-title {
  margin-bottom: var(--sp-3);
  color: var(--c-ink-400);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav__sub {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-1);
  list-style: none;
}

.nav__sub-link {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: var(--sp-3);
  align-items: center;
  padding: var(--sp-3);
  border-radius: var(--r-md);
  color: var(--c-ink-700);
  text-decoration: none;
  transition: background-color var(--t-fast);
}

.nav__sub-link:hover {
  background: var(--c-brand-50);
  color: var(--c-brand-800);
}

.nav__sub-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: var(--c-brand-50);
  color: var(--c-brand-700);
}

.nav__sub-link strong {
  display: block;
  font-size: var(--fs-small);
}

.nav__sub-link small {
  display: block;
  color: var(--c-ink-400);
  font-size: var(--fs-xs);
}

.nav__panel-all {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-line-2);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

@media (min-width: 1181px) {
  .nav__cta .btn--urgent {
    display: none;
  }
}
.burger {
  /* Reste au-dessus du tiroir : le meme bouton ouvre et referme le menu. */
  position: relative;
  z-index: 59;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.6rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: #fff;
}

.burger__bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--c-ink-900);
  transition: transform var(--t-base), opacity var(--t-fast);
}

.burger[aria-expanded=true] .burger__bar:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded=true] .burger__bar:nth-child(3) {
  opacity: 0;
}

.burger[aria-expanded=true] .burger__bar:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(6, 51, 58, 0.45);
  backdrop-filter: blur(2px);
}

.breadcrumb {
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--c-line-2);
  background: var(--c-bg-soft);
  font-size: var(--fs-xs);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  list-style: none;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--c-ink-400);
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--c-line);
}

.breadcrumb a {
  color: var(--c-ink-500);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--c-brand-700);
  text-decoration: underline;
}

.breadcrumb [aria-current] {
  color: var(--c-ink-900);
  font-weight: 600;
}

/* =============================================================================
 * Héros de la page d’accueil
 * ========================================================================== */
/* Héros ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 1.5rem + 6vw, 6rem) clamp(3.5rem, 2rem + 6vw, 6.5rem);
  background: radial-gradient(60rem 40rem at 88% -12%, rgba(18, 128, 143, 0.16), transparent 62%), radial-gradient(45rem 32rem at -8% 8%, rgba(31, 157, 107, 0.12), transparent 58%), var(--c-bg-soft);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grid-pattern);
  opacity: 0.6;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 1rem + 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
}

.hero__title {
  font-size: var(--fs-display);
  letter-spacing: -0.025em;
}

.hero__title em {
  font-style: normal;
  color: var(--c-brand-700);
}

.hero__text {
  margin-top: var(--sp-5);
  max-width: 34rem;
}

.hero__actions {
  margin-top: var(--sp-7);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--c-line);
}

.hero__meta div {
  display: grid;
}

.hero__meta strong {
  color: var(--c-brand-900);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.hero__meta span {
  color: var(--c-ink-500);
  font-size: var(--fs-xs);
}

.hero__visual {
  position: relative;
}

/* Pastille posée sous le visuel, en débord vers l'intérieur de la colonne. */
.hero__badge {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: var(--sp-3);
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin: -1.5rem 0 0 auto;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-3);
}

.hero__badge .ico {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--c-urgent-50);
  color: var(--c-urgent-600);
}

.hero__badge strong {
  display: block;
  color: var(--c-ink-900);
  font-size: var(--fs-small);
}

.hero__badge small {
  color: var(--c-ink-400);
  font-size: var(--fs-xs);
}

.hero__badge a {
  color: var(--c-brand-700);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* =============================================================================
 * Blocs propres à la page d’accueil
 * -----------------------------------------------------------------------------
 * Trois pièces éditoriales que l’on ne retrouve nulle part ailleurs : le
 * bandeau de réassurance placé sous le héros, la rangée de repères et la
 * signature qui clôt la page. Le reste de l’accueil est construit avec les
 * composants communs (cartes, rangées texte/image, bandeaux d’appel).
 * ========================================================================== */
/* Bandeau de réassurance --------------------------------------------------- */
.reassure {
  display: grid;
  gap: var(--sp-6) var(--sp-9);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--r-xl);
  background: var(--c-brand-50);
  border: 1px solid var(--c-brand-100);
}

.reassure h2 {
  font-size: var(--fs-h3);
  color: var(--c-brand-900);
}

.reassure__texte {
  margin-top: var(--sp-4);
  color: var(--c-ink-500);
  font-size: var(--fs-small);
}

.reassure__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-6);
}

.reassure__chip {
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-pill);
  background: var(--c-bg);
  border: 1px solid var(--c-brand-100);
  color: var(--c-brand-800);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.reassure__actions {
  display: grid;
  gap: var(--sp-3);
  justify-items: stretch;
}

/* Repères de l’établissement ------------------------------------------------ */
.reperes {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.repere {
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
}

.repere__valeur {
  display: block;
  color: var(--c-brand-700);
  font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  overflow-wrap: break-word;
}

.repere__libelle {
  margin-top: var(--sp-3);
  color: var(--c-ink-500);
  font-size: var(--fs-small);
}

/* Signature éditoriale ------------------------------------------------------ */
.signature {
  text-align: center;
}

.signature__mots {
  color: var(--c-brand-800);
  font-size: clamp(1.3rem, 1rem + 1.4vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: var(--lh-title);
}

.signature__sous {
  margin-top: var(--sp-3);
  color: var(--c-ink-500);
  font-size: var(--fs-small);
}

@media (max-width: 900px) {
  .reassure {
    grid-template-columns: 1fr;
  }
}
/* =============================================================================
 * Parcours numéroté
 * ========================================================================== */
/* Parcours numéroté -------------------------------------------------------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.step {
  position: relative;
  padding-top: var(--sp-6);
  border-top: 3px solid var(--c-line);
}

.step__num {
  color: var(--c-brand-500);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.step h3 {
  margin-top: var(--sp-2);
  font-size: 1.0625rem;
}

.step p {
  margin-top: var(--sp-2);
  color: var(--c-ink-500);
  font-size: var(--fs-small);
}

.step:first-child {
  border-top-color: var(--c-brand-600);
}

/* =============================================================================
 * En-tête des pages intérieures
 * ========================================================================== */
/* Bloc « en-tête de page intérieure » ------------------------------------- */
.page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.75rem, 1.5rem + 4vw, 4.5rem);
  background: radial-gradient(48rem 26rem at 82% -30%, rgba(18, 128, 143, 0.18), transparent 60%), var(--c-brand-900);
  color: #C6DDE0;
}

.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M60 0H0v60' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1'/%3E%3C/svg%3E");
}

.page-head__inner {
  position: relative;
  display: grid;
  gap: var(--sp-6);
}

.page-head__mark {
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  opacity: 0.07;
  pointer-events: none;
}

@media (max-width: 900px) {
  .page-head__mark {
    display: none;
  }
}
.page-head h1 {
  color: #fff;
  max-width: 24ch;
}

.page-head p {
  max-width: 60ch;
  color: #B9D3D7;
}

.page-head .eyebrow {
  color: var(--c-brand-200);
}

.page-head .tag {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* =============================================================================
 * Colonnes de contenu et encadrés latéraux
 * ========================================================================== */
/* Grille service : contenu + encadré latéral ------------------------------ *
 * Mobile d'abord : une seule colonne. Les deux colonnes n'apparaissent qu'à
 * partir de 60 rem, largeur en deçà de laquelle un encadré latéral devient
 * illisible.
 *
 * Les proportions varient d'une page à l'autre ; elles sont passées par la
 * variable --split, et non par un `style="grid-template-columns:…"`. La
 * distinction est capitale : un style en ligne l'emporte sur toute feuille de
 * style, media queries comprises. Écrites en ligne, les deux colonnes
 * survivaient au passage en mobile et se réduisaient à 193 et 128 px sur un
 * écran de 390 px, avec un débordement rogné par `overflow-x: clip` — donc
 * invisible aux contrôles, mais bien réel à l'écran.
 * -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: start;
  grid-template-columns: 1fr;
}

@media (min-width: 60rem) {
  .split {
    grid-template-columns: var(--split, minmax(0, 1fr) minmax(0, 1fr));
  }
  .split--sticky > aside {
    position: sticky;
    top: 6.5rem;
  }
}
.panel {
  padding: var(--sp-6);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-1);
}

.panel + .panel {
  margin-top: var(--sp-5);
}

.panel h3, .panel__titre {
  font-size: 1.0625rem;
}

.panel__list {
  list-style: none;
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  font-size: var(--fs-small);
}

.panel__list li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: var(--sp-3);
}

.panel__list svg {
  color: var(--c-brand-600);
  margin-top: 0.15rem;
}

.panel--dark {
  background: var(--c-brand-900);
  border-color: transparent;
  color: #CFE4E7;
}

.panel--dark h3 {
  color: #fff;
}

.panel--dark .panel__list svg {
  color: var(--c-brand-200);
}

/* Bandeau d'appel --------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.75rem, 1.5rem + 4vw, 4.25rem);
  background: linear-gradient(120deg, var(--c-brand-800), var(--c-brand-600));
  color: #CFE4E7;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M60 0H0v60' fill='none' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1'/%3E%3C/svg%3E");
}

.cta-band__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.cta-band__title {
  color: #fff;
}

.cta-band__text {
  margin-top: var(--sp-3);
  max-width: 46ch;
  font-size: var(--fs-small);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* Sur fond sombre, un lien reprend la couleur du texte pour rester lisible. */
.panel--dark a:not(.btn) {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.panel--dark a:not(.btn):hover {
  color: var(--c-brand-200);
}

/* =============================================================================
 * Coordonnées, plan et horaires
 * ========================================================================== */
/* Coordonnées et carte ---------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: var(--sp-8);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.contact-list {
  list-style: none;
  display: grid;
  gap: var(--sp-5);
}

.contact-list li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: var(--sp-4);
}

.contact-list .ico {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--c-brand-50);
  color: var(--c-brand-700);
}

.contact-list strong {
  display: block;
  color: var(--c-ink-900);
  font-size: var(--fs-small);
}

.contact-list span, .contact-list a {
  color: var(--c-ink-500);
  font-size: var(--fs-small);
}

.map {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
  background: var(--c-brand-50);
  aspect-ratio: 4/3;
}

.map__mark {
  position: absolute;
  inset: auto auto 1.25rem 1.25rem;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: var(--sp-3);
  align-items: center;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--sh-2);
  font-size: var(--fs-xs);
}

.map__mark .ico {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: var(--c-urgent-50);
  color: var(--c-urgent-600);
}

/* Horaires ---------------------------------------------------------------- */
.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
}

.hours th, .hours td {
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  vertical-align: top;
}

.hours th {
  color: var(--c-ink-900);
  font-weight: 650;
}

.hours td:last-child {
  color: var(--c-ink-500);
}

/* =============================================================================
 * Texte éditorial
 * ========================================================================== */
/* Article éditorial ------------------------------------------------------- */
.prose > * + * {
  margin-top: var(--sp-5);
}

.prose h2 {
  margin-top: var(--sp-9);
}

.prose h3 {
  margin-top: var(--sp-7);
}

.prose ul, .prose ol {
  padding-left: 1.25rem;
  color: var(--c-ink-700);
}

.prose li + li {
  margin-top: var(--sp-2);
}

.prose strong {
  color: var(--c-ink-900);
}

/* --------------------------------------------------------- 9. PIED DE PAGE */
.footer {
  background: var(--c-brand-900);
  color: #9FBEC3;
  font-size: var(--fs-small);
}

.footer__grid {
  display: grid;
  gap: var(--sp-8);
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr)) minmax(0, 1.2fr);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem);
}

.brand--footer .brand__text strong {
  color: #fff;
}

.brand--footer .brand__text small {
  color: #7FA3A9;
}

/* Une colonne de grille ne descend pas sous la largeur de son plus long mot
   insécable : le numéro d’autorisation, d’un seul tenant, imposait 334 px de
   large à tout le pied de page sur un écran de 320 px. */
.footer__col {
  min-width: 0;
}

.footer__legal-id, .footer__about, .footer__contact {
  overflow-wrap: anywhere;
}

.footer__about {
  margin-top: var(--sp-5);
}

.footer__legal-id {
  margin-top: var(--sp-4);
  color: #7FA3A9;
  font-size: var(--fs-xs);
}

.footer__title {
  color: #fff;
  font-size: var(--fs-h4);
  margin-bottom: var(--sp-4);
}

.footer__list {
  list-style: none;
  display: grid;
  gap: var(--sp-3);
}

.footer__list a {
  color: #9FBEC3;
  text-decoration: none;
}

.footer__list a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__contact {
  list-style: none;
  display: grid;
  gap: var(--sp-4);
}

.footer__contact li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: var(--sp-3);
}

.footer__contact svg {
  color: var(--c-brand-200);
  margin-top: 0.2rem;
}

.footer__contact a {
  color: #fff;
  text-decoration: none;
}

.footer__contact a:hover {
  text-decoration: underline;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-block: var(--sp-5);
  font-size: var(--fs-xs);
  color: #7FA3A9;
}

.footer__bottom-inner p {
  margin: 0;
}

.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: #fff;
  color: var(--c-brand-700);
  box-shadow: var(--sh-3);
  transition: transform var(--t-fast), background-color var(--t-fast);
}

.to-top:hover {
  transform: translateY(-2px);
  background: var(--c-brand-50);
}

/* --------------------------------------- 10. ANIMATIONS ET PRÉFÉRENCES */
.reveal {
  opacity: 0;
  transform: translateY(18px);
}

/* Le premier écran ne doit rien attendre du JavaScript.
   Ailleurs, `.reveal` part à `opacity: 0` et c'est le script qui la révèle à
   l'entrée dans le champ de vision ; appliqué au héros, ce mécanisme retardait
   l'affichage du titre — le plus grand élément de la page — jusqu'à l'exécution
   du script. Le héros s'anime donc en CSS seul, sans dépendre de rien. */
.hero .reveal {
  opacity: 1;
  transform: none;
  animation: apparition 620ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero .reveal[data-delay="1"] {
  animation-delay: 90ms;
}

.hero .reveal[data-delay="2"] {
  animation-delay: 180ms;
}

.hero .reveal[data-delay="3"] {
  animation-delay: 270ms;
}

@keyframes apparition {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal[data-delay="1"].is-in {
  transition-delay: 90ms;
}

.reveal[data-delay="2"].is-in {
  transition-delay: 180ms;
}

.reveal[data-delay="3"].is-in {
  transition-delay: 270ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* ------------------------------------------------ 11. POINTS DE RUPTURE */
@media (max-width: 1180px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
  .footer__grid {
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  }
  .footer__col:last-child {
    grid-column: 1/-1;
  }
}
/* Tablette et ordinateur portable étroit : la navigation passe en tiroir. */
@media (max-width: 1180px) {
  /* Le tiroir sort du flux : sans cette marge, plus rien ne pousse le bouton
     contre le bord droit et il flotte au milieu de l’en-tête. */
  .burger {
    display: flex;
    margin-left: auto;
  }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 58;
    width: min(23rem, 88vw);
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-5);
    padding: var(--sp-8) var(--sp-6);
    background: #fff;
    box-shadow: var(--sh-4);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--t-base);
  }
  .nav.is-open {
    transform: translateX(0);
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-1);
  }
  .nav__item--menu {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .nav__link {
    min-height: 3rem;
    font-size: 1rem;
  }
  .nav__link.is-active::after {
    display: none;
  }
  .nav__link.is-active {
    background: var(--c-brand-50);
  }
  .nav__toggle {
    display: inline-flex;
  }
  .nav__toggle[aria-expanded=true] svg {
    transform: rotate(180deg);
  }
  .nav__panel {
    position: static;
    transform: none;
    width: auto;
    grid-column: 1/-1;
    margin-top: var(--sp-2);
    padding: var(--sp-4);
    border-radius: var(--r-md);
    box-shadow: none;
    background: var(--c-bg-soft);
  }
  .nav__sub {
    grid-template-columns: 1fr;
  }
  .nav__cta {
    flex-direction: column;
    align-items: stretch;
    margin-top: auto;
    padding-top: var(--sp-6);
  }
  .nav__cta .btn {
    width: 100%;
  }
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    max-width: 34rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .split--sticky > aside {
    position: static;
  }
}
@media (max-width: 760px) {
  :root {
    --fs-body: 1rem;
  }
  .topbar__item--hours {
    display: none;
  }
  .topbar__inner {
    justify-content: space-between;
  }
  .topbar__item:last-child {
    margin-left: 0;
  }
  .header__inner {
    min-height: 4rem;
  }
  .brand__text small {
    display: none;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-7);
  }
  .footer__col:last-child {
    grid-column: auto;
  }
  .reassure__actions .btn {
    width: 100%;
  }
  .cta-band__actions .btn {
    flex: 1 1 12rem;
  }
  .deflist__row {
    grid-template-columns: 1fr;
    gap: var(--sp-1);
  }
  /* max-width: none supprimait le plafond hérité et laissait la pastille
     dépasser l’écran sur 320 px : elle reste bornée à la largeur disponible. */
  .hero__badge {
    position: static;
    margin-top: var(--sp-4);
    max-width: 100%;
    width: auto;
  }
  .accordion__item summary {
    padding: var(--sp-4);
  }
  .accordion__body {
    padding: 0 var(--sp-4) var(--sp-4);
  }
}
@media (max-width: 420px) {
  .btn {
    width: 100%;
  }
  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__meta {
    gap: var(--sp-4);
  }
}
@media (max-width: 560px) {
  /* Sur les plus petits ecrans, la barre superieure ne garde que le numero. */
  .topbar__item:first-child {
    display: none;
  }
}
/* ------------------------------------------------------- 12. IMPRESSION */
@media print {
  .topbar, .header, .nav-backdrop, .to-top, .cta-band, .breadcrumb, .hero__visual {
    display: none !important;
  }
  body {
    color: #000;
    font-size: 11pt;
  }
  .section, .hero {
    padding-block: 1rem;
  }
  a[href^=http]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #444;
  }
  .card, .panel {
    box-shadow: none;
    border-color: #999;
    break-inside: avoid;
  }
}
