/* HTC Santé : feuille de style du site public.
   Charte de la page d'accueil 2026 : Poppins (titres et texte), Parisienne (mots écrits à la main), Noway (navigation).
   Trois couleurs du logo (bleu, vert, orange) sur un lavis bleu clair et sable. */

@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("/site/polices/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("/site/polices/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("/site/polices/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("/site/polices/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Parisienne"; font-weight: 400; font-style: normal; font-display: swap; src: url("/site/polices/parisienne.woff2") format("woff2"); }
@font-face { font-family: "Noway"; font-weight: 400; font-style: normal; font-display: swap; src: url("/site/polices/noway-400.woff2") format("woff2"); }
@font-face { font-family: "Noway"; font-weight: 500; font-style: normal; font-display: swap; src: url("/site/polices/noway-500.woff2") format("woff2"); }

:root {
  --encre: #171717;
  --encre-douce: #4a5560;
  --encre-legere: #5f6b76;
  --bleu: #2C81A9;          /* couleur du logo : traits, icônes, grands mots écrits */
  --bleu-texte: #247298;    /* la même, un ton plus bas : liens et boutons, lisible sur blanc */
  --bleu-vif: #1D8DC3;
  --bleu-nuit: #17384a;
  --vert: #56AD2B;
  --vert-texte: #378016;
  --vert-fonce: #2f7012;
  --orange: #F79336;
  --orange-fonce: #b85f0c;
  --turquoise: #22C6B3;
  --fond: #F8F8F8;
  --fond-bleu: #E9F0F7;
  --sable: #fbf3ea;
  --blanc: #fff;
  --trait: #e3e9ef;
  --lavis: linear-gradient(150deg, #e4f1f8 0%, #d3e8f2 48%, #f4e6d8 100%);
  --rayon: 18px;
  --rayon-petit: 10px;
  --rayon-grand: 34px;
  --ombre: 0 18px 44px -14px rgba(23, 56, 74, .22);
  --ombre-legere: 0 6px 18px -6px rgba(23, 56, 74, .12);
  --largeur: 1220px;
  --marge: 20px;
  /* Espace au-dessus et au-dessous d'une section : resserré, la hauteur d'écran est comptée. */
  --souffle: clamp(34px, 4.6vw, 62px);
  --entete: 68px;           /* hauteur de la barre du haut */
  --orange-texte: #a4530a;  /* l'orange du logo, assez sombre pour un texte sur blanc */
  --sortie: cubic-bezier(.16, 1, .3, 1);
  --titres: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --main: "Parisienne", "Brush Script MT", cursive;
  --nav: "Noway", "Poppins", system-ui, sans-serif;
}
@media (min-width: 700px) { :root { --marge: 28px; } }
@media (min-width: 1200px) { :root { --entete: 80px; } }

/* ---------- Socle ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--entete) + 20px); scrollbar-color: #9fbfd0 #f1f5f8; accent-color: var(--bleu-texte); caret-color: var(--bleu-texte); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--titres); font-size: 16px; line-height: 1.65; color: var(--encre); background: var(--blanc); -webkit-font-smoothing: antialiased; }
::selection { background: #cfe6f1; color: var(--bleu-nuit); }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--bleu-texte); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--bleu-nuit); }
h1, h2, h3, h4 { font-family: var(--titres); font-weight: 700; line-height: 1.18; margin: 0 0 .6em; color: var(--encre); text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.3rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.15rem, 2.1vw, 1.35rem); font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.conteneur { width: 100%; max-width: calc(var(--largeur) + 2 * var(--marge)); margin-inline: auto; padding-inline: var(--marge); }
.section { padding-block: var(--souffle); }
.section--serree { padding-top: 0; }
.section--bleue { background: var(--fond-bleu); }
.section--claire { background: var(--fond); }
.centre { text-align: center; }
.evitement { position: absolute; left: -9999px; top: 0; background: var(--encre); color: #fff; padding: 10px 16px; z-index: 100; }
.evitement:focus { left: 8px; top: 8px; }
.masque { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chiffres { font-variant-numeric: tabular-nums; }
.insecable { white-space: nowrap; }
[hidden] { display: none !important; }

/* Les mots écrits à la main : la signature de la charte, soulignée d'un trait de plume. */
.main { font-family: var(--main); font-weight: 400; color: var(--bleu); font-size: 1.3em; line-height: 1.08; letter-spacing: 0; padding-right: .12em; position: relative; display: inline-block; }
.main--orange { color: var(--orange-fonce); }
/* Suivi d'une virgule ou d'un point (Composition::accent), le mot ne garde pas sa réserve à droite. */
.main--colle { padding-right: 0; }
.titre-section { margin-bottom: .8em; }
.titre-section .main::after, .bandeau h1 .main::after, .texte h2 .main::after {
  content: ""; position: absolute; left: 4%; right: 2%; bottom: -.16em; height: .26em; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9C38 3 76 2 112 6s62 5 85-2' fill='none' stroke='%23F79336' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.sous-titre { max-width: 62ch; color: var(--encre-douce); margin: -.5em 0 1.5em; }
.centre.sous-titre, .centre > .sous-titre { margin-inline: auto; }
.surtitre { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bleu-texte); margin-bottom: 10px; }

/* ---------- Repères communs de la charte : à réutiliser dans toutes les pages et tous les blocs ----------
   Titre d'une section : <h2 class="titre-section [centre]"><span class="main">Mot</span> suite du titre</h2>, puis au besoin
   <p class="sous-titre [centre]">. Fonds de section : section--claire, section--bleue, section--sable.
   Largeur de lecture : la variable --lecture, ou la classe « lecture » (« lecture--centre » pour centrer la colonne).
   Encadré dans un texte : « repere » (bleu), « repere--sable », « repere--vert » ; son titre : « repere__titre ».
   Le trait de plume orange, seul (sous un intertitre, un chiffre) : la variable --plume, en image de fond. */
:root { --lecture: 68ch;
  --plume: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9C38 3 76 2 112 6s62 5 85-2' fill='none' stroke='%23F79336' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.lecture { max-width: var(--lecture); }
.lecture--centre { margin-inline: auto; }
.section--sable { background: var(--sable); }
.repere { margin: 1.8em 0; padding: 20px 24px; border-radius: var(--rayon); background: var(--fond-bleu); color: var(--bleu-nuit); }
.repere > :first-child { margin-top: 0; }
.repere > :last-child { margin-bottom: 0; }
.repere--sable { background: var(--sable); color: #3b2e20; }
.repere--vert { background: #eef7e9; color: #1f4a0c; }
.repere__titre { display: block; margin: 0 0 .35em; font-size: 1.05rem; font-weight: 600; line-height: 1.3; color: inherit; }

/* ---------- Boutons ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--titres); font-weight: 600; font-size: .95rem;
  line-height: 1.2; padding: 15px 28px; min-height: 48px; border-radius: 40px; border: 2px solid transparent; background: var(--bleu-texte); color: #fff; text-decoration: none;
  cursor: pointer; text-align: center; transition: background-color .2s, color .2s, transform .35s var(--sortie), box-shadow .35s var(--sortie); }
.bouton:hover { background: var(--bleu-nuit); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(23, 56, 74, .45); }
.bouton:active { transform: translateY(0) scale(.98); box-shadow: none; }
.bouton[disabled] { opacity: .65; cursor: progress; transform: none; box-shadow: none; }
.bouton--vert { background: var(--vert-texte); }
.bouton--vert:hover { background: var(--vert-fonce); }
.bouton--orange { background: var(--orange); color: var(--bleu-nuit); }
.bouton--orange:hover { background: #ffa450; color: var(--bleu-nuit); }
.bouton--contour { background: transparent; color: var(--bleu-texte); border-color: currentColor; }
.bouton--contour:hover { background: var(--bleu-texte); border-color: var(--bleu-texte); color: #fff; }
.bouton--blanc { background: #fff; color: var(--bleu-nuit); }
.bouton--blanc:hover { background: var(--fond-bleu); color: var(--bleu-nuit); }
.bouton--large { width: 100%; }
.bouton svg { width: 18px; height: 18px; flex: none; }
p.action { margin: 1.2em 0; }
p.centre.action { margin-bottom: 0; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--bleu-texte); text-decoration: none; }
.lien-fleche::after { content: ""; width: 18px; height: 10px; background: currentColor; transition: transform .35s var(--sortie);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
a:hover > .lien-fleche::after, .lien-fleche:hover::after { transform: translateX(5px); }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; view-transition-name: entete; }
.entete::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--bleu) 0 33.3%, var(--vert) 33.3% 66.6%, var(--orange) 66.6%); }
.entete--defile { border-bottom-color: var(--trait); box-shadow: 0 10px 30px -18px rgba(23, 56, 74, .35); }
.entete__ligne { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: var(--entete); }
.entete__logo { display: block; flex: none; }
.entete__logo img { display: block; height: 56px; width: auto; }
.entete__actions { display: flex; align-items: center; gap: 10px; }
.entete__actions .bouton { padding: 10px 20px; min-height: 44px; font-family: var(--nav); font-weight: 500; font-size: .94rem; }
/* Deux actions, deux poids : la prise de rendez-vous est pleine, la franchise est au trait. */
.entete__franchise { display: none; background: transparent; border-color: var(--orange); color: var(--orange-texte); }
.entete__franchise:hover { background: var(--orange); border-color: var(--orange); color: var(--bleu-nuit); }
.menu-bouton { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 11px; border: 0; background: transparent; cursor: pointer; border-radius: 12px; }
.menu-bouton span { display: block; height: 2px; background: var(--encre); border-radius: 2px; transition: transform .35s var(--sortie), opacity .2s; }
.menu-ouvert .menu-bouton span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-ouvert .menu-bouton span:nth-child(2) { opacity: 0; }
.menu-ouvert .menu-bouton span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.navigation { display: none; position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - var(--entete)); background: #fff; border-top: 1px solid var(--trait); overflow-y: auto; overscroll-behavior: contain; padding: 6px var(--marge) 28px; }
.menu-ouvert .navigation, html:not(.js) .navigation { display: block; }
.menu-ouvert .navigation { animation: nappe .4s var(--sortie); }
@keyframes nappe { from { opacity: 0; transform: translateY(-10px); } }
html:not(.js) .navigation { position: static; height: auto; }
html.menu-verrou { overflow: hidden; }
.menu, .sous-menu, .sous-menu ul { list-style: none; margin: 0; padding: 0; }
.menu__lien { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 2px; font-family: var(--nav); font-size: 1.15rem; font-weight: 500;
  color: var(--encre); text-decoration: none; background: none; border: 0; border-bottom: 1px solid var(--trait); cursor: pointer; text-align: left; }
.menu__lien svg { width: 12px; height: 12px; transition: transform .3s var(--sortie); flex: none; }
.ouvert > .menu__lien svg { transform: rotate(180deg); }
.sous-menu { display: none; padding: 6px 0 12px 14px; }
.ouvert > .sous-menu, html:not(.js) .sous-menu { display: block; }
.sous-menu a { display: block; padding: 10px 4px; color: var(--encre-douce); text-decoration: none; font-size: 1rem; }
.sous-menu a:hover { color: var(--bleu-texte); }
.sous-menu__titre { display: block; padding: 12px 4px 2px; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--bleu-texte); }
.navigation__actions { display: grid; gap: 10px; margin-top: 22px; }

/* Le second bouton n'apparaît que lorsque le menu tient sur une ligne à côté de lui. */
@media (min-width: 1340px) { .entete__franchise { display: inline-flex; } }
@media (min-width: 1200px) {
  /* Sur ordinateur, la barre garde la même hauteur : rien ne bouge dans la page quand on défile.
     Le logo est plus grand qu'elle : il descend sur une languette blanche, puis se range dans la barre au défilement.
     Le menu est centré entre le logo et les deux actions ; liens et boutons ont la même hauteur et la même taille de texte. */
  .entete__ligne { gap: 24px; }
  .entete__logo { position: relative; align-self: stretch; width: 72px; }
  .entete__logo::before { content: ""; position: absolute; left: -18px; right: -18px; top: 100%; height: 38px; background: #fff; border-radius: 0 0 24px 24px;
    box-shadow: 0 16px 24px -16px rgba(23, 56, 74, .38); clip-path: inset(0 -30px -30px -30px); transition: clip-path .5s var(--sortie); }
  .entete__logo img { position: absolute; left: 0; top: 9px; height: 100px; max-width: none; transform-origin: 0 0; transition: transform .5s var(--sortie); }
  .entete--defile .entete__logo::before { clip-path: inset(0 -30px 100% -30px); }
  .entete--defile .entete__logo img { transform: scale(.64); }
  .menu-bouton, .navigation__actions { display: none; }
  .navigation, html:not(.js) .navigation { display: flex; justify-content: center; position: static; height: auto; background: none; border: 0; padding: 0; overflow: visible; flex: 1; animation: none; }
  .menu { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; white-space: nowrap; }
  .menu > li { position: relative; }
  .menu__lien { width: auto; min-height: 44px; padding: 10px; border: 0; font-size: .94rem; gap: 5px; border-radius: 8px; position: relative; }
  .menu__lien::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--sortie); }
  .menu__lien:hover::after, .a-sous-menu:hover > .menu__lien::after, .a-sous-menu:focus-within > .menu__lien::after { transform: scaleX(1); }
  .menu__lien:hover, .a-sous-menu:hover > .menu__lien { color: var(--bleu-texte); }
  .sous-menu, html:not(.js) .sous-menu { display: block; position: absolute; left: -8px; top: 100%; min-width: 280px; background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); box-shadow: var(--ombre);
    padding: 12px 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .4s var(--sortie), visibility .25s; }
  .a-sous-menu:hover > .sous-menu, .a-sous-menu:focus-within > .sous-menu, .ouvert > .sous-menu { opacity: 1; visibility: visible; transform: none; }
  .sous-menu a { padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
  .sous-menu a:hover { background: var(--fond-bleu); }
  .sous-menu__titre { padding: 10px 12px 2px; }
  .sous-menu--large { min-width: 540px; column-count: 2; column-gap: 8px; }
  .sous-menu--large li { break-inside: avoid; }
}

/* ---------- Fil d'Ariane ---------- */
.fil { font-size: .84rem; color: var(--encre-douce); margin-bottom: 18px; }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0; padding: 0; }
.fil li + li::before { content: "›"; margin-right: 6px; color: #8796a3; }
.fil a { color: var(--encre-douce); text-decoration: none; }
.fil a:hover { color: var(--bleu-texte); text-decoration: underline; }

/* ---------- Bandeau de haut de page : le lavis de l'accueil, les pétales du logo en filigrane ---------- */
.bandeau { position: relative; margin: 10px 10px 0; border-radius: var(--rayon-grand); background: var(--lavis); overflow: hidden; isolation: isolate; }
.bandeau::after { content: ""; position: absolute; z-index: -1; right: -70px; bottom: -110px; width: min(430px, 70vw); aspect-ratio: 60 / 58.6; background: url("/site/petales.svg") center / contain no-repeat; opacity: .16; transform: rotate(-14deg); }
.bandeau > .conteneur { padding-block: clamp(22px, 3.4vw, 44px) clamp(26px, 3.8vw, 46px); }
.bandeau h1 { color: var(--bleu-nuit); max-width: 21ch; margin-bottom: .35em; }
.bandeau--large h1 { max-width: 26ch; }
.bandeau__chapeau { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: #33485a; max-width: 58ch; }
.bandeau__chapeau > :last-child { margin-bottom: 0; }
.bandeau__avant { margin-bottom: 14px; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bleu-texte); }
.bandeau__avant ul { list-style: none; margin: 0 0 12px; padding: 0; font-size: .92rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.bandeau__avant p { margin: 0; }
.bandeau__avant a { color: var(--bleu-nuit); text-decoration: none; }
.bandeau__avant ul a::before { content: "←"; margin-right: 8px; }
.bandeau__avant a:hover { text-decoration: underline; }
.bandeau__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .88rem; color: #33485a; margin: 18px 0 0; }
.bandeau__meta a, .etiquette { display: inline-block; padding: 5px 14px; border-radius: 40px; background: rgba(255, 255, 255, .75); color: var(--bleu-nuit); text-decoration: none; font-weight: 500; font-size: .82rem; }
.bandeau__meta a:hover { background: #fff; color: var(--bleu-texte); }
.bandeau__grille { display: grid; gap: 28px; align-items: center; }
.bandeau__image { margin: 0; }
.bandeau__image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 26px; box-shadow: var(--ombre); background: var(--fond-bleu); }
@media (min-width: 900px) {
  .bandeau__grille { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; }
  .bandeau__image img { transform: rotate(1.5deg); }
}
.bandeau--centre { text-align: center; }
.bandeau--centre h1, .bandeau--centre .bandeau__chapeau { margin-inline: auto; }
.bandeau--centre .fil ol { justify-content: center; }

/* ---------- Cartes, grilles et rangées qui défilent sur téléphone ---------- */
.carte { background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); box-shadow: var(--ombre-legere); }
.grille { display: grid; gap: 22px; }
@media (min-width: 700px) { .grille--2, .grille--3, .grille--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grille--3 { grid-template-columns: repeat(3, 1fr); } .grille--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Formulaire de demande ---------- */
.formulaire { background: #fff; border: 1px solid var(--trait); border-radius: 22px; box-shadow: var(--ombre); padding: 26px 22px; position: relative; }
.formulaire::before { content: ""; display: block; width: 68px; height: 4px; border-radius: 4px; background: var(--bleu); margin-bottom: 16px; }
.formulaire--orange { border: 2px solid var(--orange); }
.formulaire--orange::before { background: var(--orange); }
.formulaire__titre { font-size: clamp(1.3rem, 2.4vw, 1.55rem); margin: 0 0 4px; letter-spacing: -.01em; }
.formulaire__texte { font-size: .93rem; color: var(--encre-douce); margin: 0 0 16px; }
.formulaire__champs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; container-type: inline-size; }
.champ { grid-column: 1 / -1; min-width: 0; }
.champ--demi { grid-column: auto; }
@media (min-width: 480px) { .champ--duo { grid-column: auto; } }
/* E-mail et téléphone, centre et besoin : côte à côte quand la carte elle-même fait au moins 430 px (haut de
   l'accueil sur ordinateur), pour que le formulaire tienne à l'écran sans défiler. Un champ resté seul garde la ligne. */
@container (min-width: 430px) { .champ--paire { grid-column: auto; } .champ--paire:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.champ label { display: block; font-size: .82rem; font-weight: 500; color: var(--encre-douce); margin-bottom: 4px; }
.champ input, .champ select, .champ textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--encre); background: #fff; border: 1.5px solid #c3ced8; border-radius: var(--rayon-petit); padding: 12px 14px; min-height: 50px; transition: border-color .15s, box-shadow .15s; }
.champ select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%2317384a' stroke-width='2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") right 15px center / 12px no-repeat; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: #93a8b8; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--bleu-texte); box-shadow: 0 0 0 4px rgba(44, 129, 169, .18); }
.champ--piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.accord { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; line-height: 1.5; color: var(--encre-douce); margin: 14px 0; cursor: pointer; }
.accord input { margin-top: 2px; width: 20px; height: 20px; flex: none; }
.formulaire .bouton, .cadre-formulaire .bouton { width: 100%; font-size: 1rem; padding: 16px 20px; min-height: 54px; text-transform: uppercase; letter-spacing: .03em; border-radius: 14px; }
.formulaire__appel { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--trait); font-weight: 500; color: var(--bleu-texte); text-decoration: none; }
.formulaire__appel svg { width: 18px; height: 18px; }
.formulaire__note { font-size: .78rem; color: var(--encre-douce); margin: 12px 0 0; text-align: center; }
.alerte { background: #fff4e8; border: 1px solid var(--orange); color: #7a3f06; border-radius: var(--rayon-petit); padding: 12px 14px; font-size: .92rem; margin-bottom: 14px; }

/* Autres formulaires : candidature (pièces jointes), franchise, contact, assistance, suppression de compte. */
.champ textarea { min-height: 124px; resize: vertical; line-height: 1.5; }
.champ__option { font-weight: 400; color: var(--encre-legere); }
.champ__aide { font-size: .78rem; line-height: 1.4; color: var(--encre-douce); margin: 5px 0 0; }
.champ input[type="file"] { padding: 8px 10px; font-size: .88rem; color: var(--encre-douce); cursor: pointer; }
.champ input[type="file"]::file-selector-button { font: inherit; font-weight: 600; color: var(--bleu-texte); background: var(--fond-bleu); border: 0; border-radius: 8px; padding: 8px 12px; margin-right: 12px; cursor: pointer; }
.formulaire__mention { font-size: .82rem; line-height: 1.5; color: var(--encre-douce); margin: 14px 0; }
.formulaire__merci { font-size: 1rem; margin: 8px 0 0; }
.formulaire--merci { border-color: #cfe6c2; }
.formulaire--merci::before { background: var(--vert); }
/* L'en-tête fixe est déjà compté par scroll-padding-top (html) : ici, seulement un peu d'air. */
.formulaire--large { scroll-margin-top: 8px; }
.texte .formulaire.formulaire--large { max-width: 780px; }
.texte .formulaire__titre { margin-top: 0; font-size: clamp(1.3rem, 2.4vw, 1.55rem); color: inherit; }
.texte .formulaire__texte { margin: 0 0 16px; }
@media (min-width: 620px) { .formulaire--large { padding: 30px 30px 28px; } .formulaire--large .bouton { width: auto; min-width: 280px; } }

/* Magazine et infolettre : le titre est dans la page, les champs dans un cadre isolé (une page à part, sans balise
   de suivi). « cadre-page » est le corps de cette page, « cadre-formulaire » son formulaire. */
.cadre { display: block; width: 100%; height: 236px; border: 0; }
.cadre--infolettre { height: 300px; }
.cadre-page { padding: 5px 5px 0; background: #fff; }
.cadre-formulaire .champ { margin-bottom: 12px; }
.cadre-formulaire .formulaire__champs .champ { margin-bottom: 0; }
.cadre-formulaire__note { font-size: .78rem; line-height: 1.5; color: var(--encre-douce); margin: 12px 0 0; text-align: center; }
.cadre-formulaire__merci { font-size: 1.05rem; font-weight: 500; color: var(--vert-fonce); background: #eef7e9; border-radius: var(--rayon-petit); padding: 16px 18px; margin: 0; }
.infolettre .formulaire { max-width: 720px; margin-inline: auto; }

/* Vérification discrète des formulaires (Cloudflare Turnstile, verification.js) : classes « verif ». Rien à l'écran,
   et aucune place prise, tant que Cloudflare ne demande rien au visiteur ; sa case à cocher, quand elle paraît, se
   place juste avant l'accord et le bouton, sans jamais dépasser du formulaire. */
.verif { margin: 0; max-width: 100%; line-height: 0; }
.verif--defi { margin: 14px 0 2px; }
.verif iframe { max-width: 100%; }

/* ---------- Page d'accueil ----------
   Le haut de page : la vidéo de la marque en décor, dans une carte arrondie comme les bandeaux des autres pages.
   L'image de fond est la première image de la vidéo (floue par nature, moins d'un kilo-octet, écrite ici même) :
   la page s'affiche tout de suite et le passage à la vidéo ne se voit pas. La vidéo n'est demandée qu'ensuite,
   par site.js ; sans elle (moins de mouvement demandé, économie de données, vieux navigateur), l'image reste. */
.heros { position: relative; isolation: isolate; overflow: hidden; margin: 10px 10px 0; border-radius: var(--rayon-grand); background: var(--lavis); }
.heros__fond { position: absolute; inset: 0 0 auto; z-index: -1; height: min(124vw, 560px);
  background: #e4ebe5 url("data:image/webp;base64,UklGRqwDAABXRUJQVlA4IKADAAAwLACdASqAAdgAPtVqrVG/v64npNR5q/AaiWdu4E/qrg8Xcn+ajX/nXUWZ3IHI8rZzkz5Vymo/kQGtVPyqoxhnSnHMve7SUUpQDZqkEgHSD29gIWxBtW2GP4HmF6O9/8eMSjJYNqKvylSzw9VZg/BDuoNTZmrRpekzsNZmgXMdlfc1OJimlnNEhcyH1rT1q/7u0z/HQNR++l9nAlja5PAK4wwANShCJY+9eiE5FDeUA8nXSW/blnXD99pOILvbuLe/tiY8ZGz0bTVGvui+pOgujEu5hHcpXy4SXDS3t3GIMwOLGHCNhrLwDxXoE/OkRb8c6mtQY1StcWM4hnQb6xto20xrt2d2BHTNxUCZW59yoRqQbatd/hueRf1dC7RUIju4gtbBWWuoDD8pIbFh+yorB1iBsjYgCcXxsV5Ka1IdyrHhpJeXmzhWJuUf7b8skcvDZPP4jFR3XjId2/pMPbSE5CUddwU75Mb4gAD+7BTNrdEOGxGW2HHOOAhKCf3q2FQRt6zfZLUEcopik4BwHaEO9yh0yjXJt9dcXNXTP7MH48o6CHPQGH8LqmJbJYxDv+/+q50ng9jifkTZVOd53rPGSCHTc2e2OwI21iRN/MsBJYVFHFQTp9DV9J+Z/lVkNNbJZGkcBL4KBqYD9HF2lWZ0e9eSNSGd5k5bkHAfG00tcHOPTgTKHG/oVeeO1ouVYdr37GlPJ73x19R/sFn/OGqRDSHE3TtdF5HyLgNHU0jEJuRgB2MlYw7oKufm6RofE9f1mg7dOL6LVbMNqDVXi1b7SJl0gJT9GrpE5HdX7fhB+b8jkjDoACM8Nqyvw1Khu/pmrz1usA3OC8D27qRODbvEzkDIKPAG2oJL0jGl1S7CdCsB1WCDUwDoRIHtk0sK1AlqS0tS+K6O3JVDXDJiZ5OVkb1TjEuh1WYRVb4fJqeLkgfQI0okuuhsMYwVvvvpWQ8MBiaDzREuE4PZaESrWGXxJ9TQrVDz0zBacPJZZ7VmnuUqgWcE8YcFzVf4XeUlqkVgC4YHllT2S4w5pS/8Tj0HH2VrxoViCEA5amIl3LVti0s1d6bbyAOMO9FMuc6dgKx3GJpwkcE5Tf/5NhrRNm0AAzjd5jgYOSEHtqiSUzc+/uhJxmK2pgNR6RqJ+XhrdQ4R2pfcFs3QpDpdGYXCA78CfXrHsxnVeIjUSRnPKg62FS9Ewc9ZFqmBl2CEVL+6iHu5869UyE25ou2M4g2MgAAA") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 56%, transparent); mask-image: linear-gradient(180deg, #000 56%, transparent); }
.heros__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.heros__video.joue { opacity: 1; }
/* Un voile clair derrière le titre : le texte reste lisible sur toutes les images de la vidéo. */
.heros__fond::after { content: ""; position: absolute; inset: 0; background: radial-gradient(88% 60% at 50% 38%, rgba(255, 255, 255, .74), rgba(255, 255, 255, .36)); }
.heros__grille { display: grid; gap: 24px; padding-block: 30px 30px; align-items: center; }
.heros__texte { text-align: center; }
.heros__texte h1 { color: var(--bleu-nuit); margin-bottom: .15em; }
.heros__accroche { font-family: var(--main); color: var(--bleu-nuit); font-size: clamp(2.3rem, 6vw, 3.7rem); line-height: 1.05; margin: 0 0 .5em; }
.heros__texte p { max-width: 560px; margin-inline: auto; color: var(--bleu-nuit); }
.heros__actions { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 0; }
/* Pause de la vidéo : toujours offerte dès qu'elle joue (un décor en mouvement doit pouvoir s'arrêter). */
.heros__pause { display: grid; place-items: center; flex: none; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .86); color: var(--bleu-nuit);
  box-shadow: var(--ombre-legere); cursor: pointer; transition: background-color .2s, transform .35s var(--sortie); }
.heros__pause:hover { background: #fff; transform: scale(1.06); }
.heros__pause svg { width: 16px; height: 16px; }
.heros__pause .icone-lecture, .heros__pause[aria-pressed="true"] .icone-pause { display: none; }
.heros__pause[aria-pressed="true"] .icone-lecture { display: block; }
@media (min-width: 980px) {
  .heros__fond { inset: 0; height: auto; -webkit-mask-image: none; mask-image: none; }
  .heros__fond::after { background: linear-gradient(90deg, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, .68) 30%, rgba(255, 255, 255, .2) 58%, rgba(255, 255, 255, 0) 78%); }
  .heros__grille { grid-template-columns: 1.15fr .85fr; gap: 48px; padding-block: 46px 52px; }
  .heros__pause { position: absolute; left: 16px; bottom: 16px; width: 44px; height: 44px; }
}

.vignette { display: flex; flex-direction: column; text-align: center; padding: 16px 16px 24px; text-decoration: none; color: var(--encre); transition: transform .5s var(--sortie), box-shadow .5s var(--sortie), border-color .3s; }
.vignette__image { display: block; border-radius: 14px; overflow: hidden; margin-bottom: 18px; background: var(--fond-bleu); }
.vignette__image img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .9s var(--sortie); }
.vignette h3 { margin-bottom: .4em; }
.vignette p { color: var(--encre-douce); font-size: .95rem; padding-inline: 6px; }
.vignette .lien-fleche { margin: auto auto 0; padding-top: 6px; }
.vignette:hover { transform: translateY(-6px); box-shadow: var(--ombre); border-color: #cfdbe5; color: var(--encre); }
.vignette:hover .vignette__image img { transform: scale(1.06); }

/* Méthodes : des tuiles en image, deux grandes puis trois. */
.methodes { display: grid; gap: 16px; }
@media (min-width: 700px) { .methodes { grid-template-columns: repeat(6, 1fr); } .methode { grid-column: span 2; } .methode:nth-child(-n+2) { grid-column: span 3; min-height: 300px; } }
.methode { position: relative; display: flex; align-items: flex-end; min-height: 230px; border-radius: var(--rayon); overflow: hidden; color: #fff; text-decoration: none; background: var(--bleu-nuit); isolation: isolate; }
.methode img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--sortie); }
.methode::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 34, 46, .08) 10%, rgba(14, 34, 46, .55) 55%, rgba(14, 34, 46, .9) 100%); }
.methode:hover { color: #fff; }
.methode:hover img { transform: scale(1.07); }
.methode__texte { padding: 22px; }
.methode__texte strong { display: block; font-size: 1.15rem; font-weight: 600; line-height: 1.25; margin-bottom: 6px; }
.methode__texte span { display: block; font-size: .9rem; line-height: 1.5; color: #e8eef2; max-width: 46ch; }

.encart { border-radius: var(--rayon-grand); padding: clamp(26px, 3.6vw, 44px) clamp(20px, 4vw, 48px); background: linear-gradient(135deg, #eef7fb, #fdf5ec); }
.encart h2 { text-wrap: balance; }
.encart__suite { display: block; }
.encart__texte { max-width: 780px; margin: 0 auto 22px; color: var(--encre-douce); }
.encart__carte { padding: 24px; display: flex; flex-direction: column; gap: 8px; text-align: left; position: relative; overflow: hidden; }
.encart__carte::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--bleu); }
.encart__carte--verte::before { background: var(--vert); }
.encart__carte--verte .surtitre { color: var(--vert-texte); }
.encart__carte h3 { margin: 0; }
.encart__carte p { margin: 0; font-size: .95rem; color: var(--encre-douce); }
.encart__carte .bouton { margin-top: 12px; align-self: flex-start; }
.note-info { display: flex; gap: 12px; align-items: flex-start; text-align: left; background: #fff; border: 1px solid var(--trait); border-radius: 14px; padding: 14px 18px; font-size: .85rem; color: var(--encre-douce); max-width: 860px; margin: 24px auto 0; }
.note-info svg { width: 22px; height: 22px; color: var(--bleu); flex: none; }

/* ---------- Avis Google : note et nombre d'avis relevés sur la fiche du centre ---------- */
/* Part pleine des étoiles : un pourcentage déclaré, pour que le remplissage puisse s'animer. */
@property --plein { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
/* « position: relative » : le texte masqué de la note (lecteurs d'écran) reste dans sa carte ; sans cela, dans une rangée
   qui défile, il élargissait la page entière sur téléphone. */
.note { position: relative; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 16px 8px 12px; border-radius: 40px; background: #fff; border: 1px solid var(--trait); box-shadow: var(--ombre-legere); color: var(--encre); text-decoration: none; font-size: .9rem; line-height: 1.2; }
a.note:hover { border-color: #cfdbe5; color: var(--encre); }
.note__valeur { font-weight: 700; font-size: 1.05rem; }
.note__etoiles { --plein: var(--note, 100%); display: inline-block; width: 92px; height: 17px; flex: none;
  background: linear-gradient(90deg, #f5a623 var(--plein), #d9dfe5 var(--plein));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 17'%3E%3Cg id='e'%3E%3Cpath d='M8.5.8l2.3 5 5.4.6-4 3.7 1.1 5.4-4.8-2.8-4.8 2.8 1.1-5.4-4-3.7 5.4-.6z'/%3E%3C/g%3E%3Cuse href='%23e' x='18.7'/%3E%3Cuse href='%23e' x='37.4'/%3E%3Cuse href='%23e' x='56.1'/%3E%3Cuse href='%23e' x='74.8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 17'%3E%3Cg id='e'%3E%3Cpath d='M8.5.8l2.3 5 5.4.6-4 3.7 1.1 5.4-4.8-2.8-4.8 2.8 1.1-5.4-4-3.7 5.4-.6z'/%3E%3C/g%3E%3Cuse href='%23e' x='18.7'/%3E%3Cuse href='%23e' x='37.4'/%3E%3Cuse href='%23e' x='56.1'/%3E%3Cuse href='%23e' x='74.8'/%3E%3C/svg%3E") center / contain no-repeat; }
.note__nombre { color: var(--encre-douce); }
.note--petite { padding: 0; border: 0; box-shadow: none; background: none; gap: 6px; font-size: .8rem; }
.note--petite .note__valeur { font-size: .88rem; }
.note--petite .note__etoiles { width: 70px; height: 13px; }
.avis-reseau { display: grid; gap: 26px; align-items: center; }
.avis-reseau__chiffre { font-size: clamp(3.2rem, 8vw, 5rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--bleu-nuit); margin: 0 0 14px; }
.avis-reseau__chiffre small { font-size: .32em; font-weight: 500; letter-spacing: 0; color: var(--encre-douce); }
.avis-reseau__etoiles { display: block; width: 150px; height: 28px; }
.avis-reseau__source { font-size: .84rem; color: var(--encre-douce); max-width: 46ch; margin: 14px 0 0; }
.avis-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px 28px; }
.avis-liste li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--trait); }
.avis-liste a { color: var(--encre); text-decoration: none; font-weight: 500; min-width: 0; line-height: 1.3; }
.avis-liste .note { flex: none; flex-wrap: nowrap; }
/* Note, étoiles et nombre d'avis en colonnes fixes : d'une ligne à l'autre, les étoiles tombent les unes sous les autres. */
.avis-liste li { gap: 10px; }
.avis-liste .note { display: inline-grid; grid-template-columns: 1.9em 64px 8.1em; column-gap: 5px; }
.avis-liste .note__etoiles { width: 64px; height: 12px; }
.avis-liste .note__valeur { text-align: right; font-variant-numeric: tabular-nums; }
.avis-liste .note__nombre { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.avis-liste a:hover { color: var(--bleu-texte); }
@media (min-width: 640px) { .avis-liste { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .avis-reseau { grid-template-columns: .8fr 1.2fr; gap: 64px; } }

/* ---------- Avis : liens Trustindex et blocs dans le texte d'une page (lot « avis vidéo ») ---------- */
.avis-reseau__autre { margin: 16px 0 0; }
.note-groupe { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.note-groupe__autre { font-size: .86rem; font-weight: 500; color: var(--bleu-texte); text-decoration: underline; text-decoration-color: rgba(36, 114, 152, .4); text-underline-offset: 3px; white-space: nowrap; }
.note-groupe__autre:hover { color: var(--bleu-nuit); text-decoration-color: currentColor; }
.texte .avis-reseau { margin: 1.6em 0 2.2em; }
.texte .avis-liste { padding-left: 0; }
.texte .avis-liste li { margin: 0; padding-left: 0; }
.texte .temoignages { margin: 1.4em 0 2.4em; }

/* ---------- Témoignages vidéo (lot « avis vidéo ») ----------
   Vidéos verticales de patients sur un panneau bleu nuit, de la famille du bandeau d'appel et du pied de page.
   La couverture est servie par le site ; le lecteur YouTube (youtube-nocookie) n'arrive qu'au clic, à sa place et au
   même format : rien ne bouge dans la page. La rangée glisse au doigt, aux flèches et au clavier (une carte à la fois). */
.temoignages { --t-marge: clamp(20px, 4vw, 48px); --t-ecart: clamp(14px, 1.6vw, 20px);
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--rayon-grand); padding: clamp(28px, 4vw, 48px) 0 clamp(22px, 3vw, 36px);
  background: linear-gradient(160deg, #17384a 0%, #143f54 58%, #10495b 100%); color: #dbe8ef; box-shadow: var(--ombre); }
.temoignages::after { content: ""; position: absolute; z-index: -1; right: -80px; bottom: -100px; width: 360px; aspect-ratio: 60 / 58.6; pointer-events: none;
  background: url("/site/petales.svg") center / contain no-repeat; filter: brightness(0) invert(1); opacity: .06; transform: rotate(-16deg); }
.temoignages__tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; padding-inline: var(--t-marge); margin-bottom: clamp(18px, 2.4vw, 28px); }
.temoignages .titre-section { color: #fff; margin: 0 0 .3em; }
.temoignages .titre-section .main { color: var(--orange); }
.temoignages .titre-section .main::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9C38 3 76 2 112 6s62 5 85-2' fill='none' stroke='%239fd3ea' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.temoignages .sous-titre { color: #c6d9e3; margin: 0; max-width: 54ch; }
.temoignages__fleches { display: flex; gap: 10px; }
.temoignages__fleche { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .45); background: transparent; color: #fff;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, opacity .2s, transform .35s var(--sortie); }
.temoignages__fleche svg { width: 22px; height: 22px; }
.temoignages__fleche:hover:not([aria-disabled="true"]) { background: #fff; border-color: #fff; color: var(--bleu-nuit); }
.temoignages__fleche:active:not([aria-disabled="true"]) { transform: scale(.94); }
.temoignages__fleche[aria-disabled="true"] { opacity: .3; cursor: default; }
.temoignages .temoignages__rangee { list-style: none; margin: 0; padding: 8px var(--t-marge) 14px; display: flex; gap: var(--t-ecart); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--t-marge); scrollbar-width: none; }
.temoignages__rangee::-webkit-scrollbar { display: none; }
.temoignages .temoignage { flex: 0 0 min(58vw, 250px); min-width: 0; margin: 0; padding: 0; scroll-snap-align: start; display: flex; flex-direction: column; }
@media (min-width: 700px) { .temoignages .temoignage { flex-basis: calc((100% - 2 * var(--t-ecart)) / 3); } }
@media (min-width: 1000px) { .temoignages .temoignage { flex-basis: calc((100% - 3 * var(--t-ecart)) / 4); } }
.temoignage__media { position: relative; aspect-ratio: 9 / 16; border-radius: var(--rayon); overflow: hidden; background: #0d2b3a; box-shadow: 0 22px 40px -22px rgba(0, 0, 0, .7); }
.temoignages .temoignage__lire { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; border-radius: inherit; }
.temoignages .temoignage__lire img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border-radius: 0; transition: transform 1s var(--sortie); }
.temoignage__lire::after { content: ""; position: absolute; inset: 50% 0 0; pointer-events: none; background: linear-gradient(180deg, rgba(10, 30, 41, 0), rgba(10, 30, 41, .6)); }
.temoignage__jouer { position: absolute; z-index: 1; left: 14px; bottom: 14px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .94); color: var(--bleu-nuit); box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .45); transition: transform .45s var(--sortie), background-color .2s; }
.temoignage__jouer svg { width: 22px; height: 22px; margin-left: 3px; }
.temoignage__duree { position: absolute; z-index: 1; right: 12px; bottom: 29px; padding: 2px 9px; border-radius: 40px; background: rgba(10, 30, 41, .68); color: #fff;
  font-size: .76rem; font-weight: 600; line-height: 1.45; font-variant-numeric: tabular-nums; }
.temoignage__lire:hover img { transform: scale(1.045); }
.temoignage__lire:hover .temoignage__jouer { transform: scale(1.1); background: var(--orange); }
/* Focus clavier : l'anneau orange autour de la carte, sur le bleu nuit (sur la photo, il se perdrait). */
.temoignages .temoignage__lire:focus-visible { outline: none; }
.temoignage__media { overflow: visible; }
.temoignage__media:has(.temoignage__lire:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.temoignage__lire { overflow: hidden; }
.temoignage.joue .temoignage__lire { visibility: hidden; }
/* Pendant que YouTube se charge, la couverture reste et le bouton bat doucement : jamais d'écran noir. */
.temoignage__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: inherit; background: #0d2b3a; transition: opacity .3s; }
.temoignage.charge iframe { opacity: 0; }
.temoignage.charge .temoignage__jouer { animation: temoignage-attente 1s ease-in-out infinite alternate; }
@keyframes temoignage-attente { to { transform: scale(1.12); background: var(--orange); } }
.temoignage__apercu { position: absolute; z-index: 2; top: 10px; left: 10px; right: 10px; padding: 7px 10px; border-radius: 10px; background: #fff4e5; color: #6b3a07;
  font-size: .72rem; font-weight: 600; line-height: 1.35; box-shadow: var(--ombre-legere); }
.temoignage__texte { padding: 14px 2px 0; }
/* La ligne du prénom garde la hauteur du bouton « Fermer la vidéo » : il apparaît sans rien pousser. */
.temoignages .temoignage__nom { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; margin: 0; font-size: 1.05rem; font-weight: 600; line-height: 1.3; color: #fff; }
.temoignages .temoignage__centre { margin: 2px 0 0; font-size: .86rem; color: #b5cfdc; }
.temoignages .temoignage__legende { margin: 8px 0 0; font-size: .9rem; line-height: 1.5; color: #e3edf2; }
.temoignages .temoignage__date { margin: 8px 0 0; font-size: .78rem; line-height: 1.5; color: #a9c5d3; }
.temoignages .temoignage__nom + .temoignage__date, .temoignages .temoignage__nom + .temoignage__centre { margin-top: 0; }
.temoignage__fermer { flex: none; min-height: 44px; padding: 6px 14px; border-radius: 40px; border: 1.5px solid rgba(255, 255, 255, .5); background: transparent; color: #fff;
  font: 500 .8rem/1.2 var(--titres); cursor: pointer; transition: background-color .2s, color .2s; }
.temoignage__fermer:hover { background: #fff; color: var(--bleu-nuit); }
.temoignages__pied { display: grid; gap: 8px; padding: clamp(12px, 1.8vw, 18px) var(--t-marge) 0; font-size: .84rem; line-height: 1.6; color: #c3d6e0; }
.temoignages__pied > p { margin: 0; max-width: 92ch; }
.temoignages .temoignages__regles, .temoignages .temoignages__regles[open] { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.temoignages .temoignages__regles summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 0; cursor: pointer; list-style: none; color: #fff; font-weight: 500;
  text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 3px; }
.temoignages__regles summary::-webkit-details-marker { display: none; }
.temoignages__regles summary::after { content: ""; width: 9px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--sortie); }
.temoignages__regles[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.temoignages .temoignages__regles ul { display: grid; gap: 6px; margin: 6px 0 4px; padding-left: 1.1em; max-width: 92ch; }
.temoignages .temoignages__regles li { margin: 0; padding: 0; }
.temoignages .temoignages__regles li::marker { color: var(--orange); }
.temoignages__regles strong { color: #fff; font-weight: 600; }
@media (max-width: 699px) { .temoignages__fleches { display: none; } .temoignages__pied { font-size: .9rem; } }

/* ---------- Page d'un centre ---------- */
.pole__haut { display: grid; gap: 22px; grid-template-areas: "texte" "cote" "photo"; }
.pole__texte { grid-area: texte; min-width: 0; }
.pole__cote { grid-area: cote; min-width: 0; }
.pole__vue { grid-area: photo; min-width: 0; }
@media (min-width: 980px) {
  .pole__haut { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "texte cote" "photo cote"; grid-template-rows: auto 1fr; gap: 26px 48px; align-items: start; }
  /* La photo prend toute la hauteur restante à gauche : pas de vide sous elle quand la colonne du formulaire est plus haute. */
  .pole__vue { align-self: stretch; position: relative; min-height: 420px; }
  .pole__vue .pole__photo { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}
.pole__texte .bandeau__chapeau { margin-bottom: 18px; }
.retour { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--bleu-nuit); text-decoration: none; margin: 0 0 14px; }
.retour:hover { color: var(--bleu-texte); }
.retour svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--sortie); }
.retour:hover svg { transform: translateX(-4px); }
.pole__photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 26px; box-shadow: var(--ombre); display: block; background: var(--fond-bleu); }
.infos { display: grid; gap: 10px; margin-top: 14px; }
.info { display: flex; gap: 14px; align-items: center; padding: 13px 16px; text-decoration: none; color: var(--encre); background: rgba(255, 255, 255, .86); transition: transform .4s var(--sortie), box-shadow .4s var(--sortie); }
a.info:hover { transform: translateY(-2px); box-shadow: var(--ombre); color: var(--encre); }
.info__icone { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--fond-bleu); color: var(--bleu-texte); flex: none; }
.info__icone svg { width: 20px; height: 20px; }
.info__icone--vert { background: #e9f5e3; color: var(--vert-texte); }
.info__icone--orange { background: #fdeede; color: var(--orange-fonce); }
.info small { display: block; font-size: .78rem; color: var(--encre-douce); }
.info strong { font-weight: 500; font-size: .95rem; white-space: pre-line; }

.equipe { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 700px) { .equipe { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .equipe { grid-template-columns: repeat(6, 1fr); } .equipe--petite { grid-template-columns: repeat(4, 1fr); max-width: 880px; } }
.praticien { text-align: center; }
.praticien__photo { display: block; border-radius: var(--rayon); overflow: hidden; background: #d9e6ef; aspect-ratio: 1; }
.praticien__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--sortie); }
.praticien:hover .praticien__photo img { transform: scale(1.05); }
.praticien strong { display: block; margin-top: 12px; font-size: .95rem; font-weight: 600; }
.praticien span { display: block; font-size: .82rem; color: var(--encre-douce); line-height: 1.4; }

/* Les trois étapes : une ligne les relie, l'ordre a un sens. */
.etapes { counter-reset: etape; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; position: relative; }
.etape { counter-increment: etape; position: relative; padding: 0 0 30px 64px; }
.etape:last-child { padding-bottom: 0; }
.etape::before { content: counter(etape); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bleu-texte); color: #fff; font-weight: 700; z-index: 1; }
.etape:nth-child(2)::before { background: var(--vert-texte); }
.etape:nth-child(3)::before { background: var(--orange); color: var(--bleu-nuit); }
.etape::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, #b9cbd8 0 6px, transparent 6px 12px); }
.etape:last-child::after { display: none; }
.etape h3 { margin: 6px 0 .4em; }
.etape p { color: var(--encre-douce); margin-bottom: .6em; }
@media (min-width: 900px) {
  .etapes { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .etape { padding: 64px 0 0; }
  .etape::after { left: 56px; right: -40px; top: 21px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, #b9cbd8 0 6px, transparent 6px 12px); }
}
.carte-plan { border: 0; width: 100%; height: clamp(280px, 40vw, 420px); border-radius: 26px; display: block; background: var(--fond-bleu); box-shadow: var(--ombre-legere); }
.legal-pole { font-size: .86rem; color: var(--encre-douce); padding: 18px 20px; margin-top: 22px; }
.legal-pole strong { color: var(--encre); }
.liens-pole, .filtres { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.liens-pole a, .filtres a { display: inline-block; padding: 9px 18px; border-radius: 40px; background: #fff; border: 1px solid #d5dee6; color: var(--encre); text-decoration: none; font-size: .9rem; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s; }
/* Les titres des pages d'un centre sont longs : ils reviennent à la ligne au lieu d'élargir la page. */
.liens-pole li { max-width: 100%; }
.liens-pole a { white-space: normal; border-radius: 22px; line-height: 1.35; }
.liens-pole a:hover, .filtres a:hover { border-color: var(--bleu-texte); color: var(--bleu-texte); }
.filtres a[aria-current] { background: var(--bleu-nuit); border-color: var(--bleu-nuit); color: #fff; }
.filtres { margin-bottom: 24px; }
@media (max-width: 699px) {
  .filtres { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--marge)); padding: 4px var(--marge) 8px; }
  .filtres::-webkit-scrollbar { display: none; }
}

/* ---------- Questions fréquentes ---------- */
.questions { padding: 6px 24px; max-width: 900px; }
.questions details { border-bottom: 1px solid var(--trait); }
.questions details:last-child { border-bottom: 0; }
.questions summary, .texte details > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; }
.questions summary::-webkit-details-marker, .texte summary::-webkit-details-marker { display: none; }
.questions summary::after, .texte details > summary::after { content: ""; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--fond-bleu) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23247298' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 1v12M1 7h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .45s var(--sortie), background-color .2s; }
.questions details[open] summary::after, .texte details[open] > summary::after { transform: rotate(135deg); background-color: #fdeede; }
.questions summary:hover, .texte details > summary:hover { color: var(--bleu-texte); }
.questions .reponse { padding: 0 0 20px; color: var(--encre-douce); max-width: 72ch; }
.questions .reponse > :last-child { margin-bottom: 0; }
@supports (interpolate-size: allow-keywords) {
  .questions details, .texte details { interpolate-size: allow-keywords; }
  .questions details::details-content, .texte details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--sortie), content-visibility .45s allow-discrete; }
  .questions details[open]::details-content, .texte details[open]::details-content { block-size: auto; }
}

/* ---------- Centres ---------- */
.centres { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 700px) { .centres { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1000px) { .centres { grid-template-columns: repeat(4, 1fr); } }
.centre-carte { display: block; text-decoration: none; color: var(--encre); overflow: hidden; transition: transform .5s var(--sortie), box-shadow .5s var(--sortie); }
.centre-carte:hover { transform: translateY(-5px); box-shadow: var(--ombre); color: var(--encre); }
.centre-carte__image { display: block; overflow: hidden; background: var(--fond-bleu); }
.centre-carte__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .9s var(--sortie); }
.centre-carte:hover .centre-carte__image img { transform: scale(1.06); }
.centre-carte__texte { display: block; padding: 12px 14px 14px; }
.centre-carte strong { display: block; font-weight: 600; line-height: 1.3; }
.centre-carte__lieu { display: block; font-size: .82rem; color: var(--encre-douce); }
.centre-carte .note { margin-top: 6px; }
.centre-fiche { display: flex; flex-direction: column; overflow: hidden; }
.centre-fiche__image { display: block; overflow: hidden; background: var(--fond-bleu); }
.centre-fiche__image img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .9s var(--sortie); }
.centre-fiche:hover .centre-fiche__image img { transform: scale(1.05); }
.centre-fiche__texte { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.centre-fiche h2 { margin: 0; font-size: clamp(1.15rem, 2.1vw, 1.35rem); font-weight: 600; letter-spacing: 0; }
.centre-fiche h2 a { color: inherit; text-decoration: none; }
.centre-fiche h2 a:hover { color: var(--bleu-texte); }
.centre-fiche h2 small { font-weight: 400; font-size: .8em; color: var(--encre-douce); }
.poles__formulaire { max-width: 560px; margin: 40px auto 0; }
.centre-fiche p { margin: 0; font-size: .92rem; color: var(--encre-douce); }
.centre-fiche .bouton { margin-top: auto; align-self: flex-start; padding: 11px 20px; min-height: 44px; }
.centre-fiche__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.recherche { position: relative; max-width: 460px; margin: 0 0 22px; }
.recherche input { width: 100%; font: inherit; padding: 14px 18px 14px 48px; min-height: 52px; border-radius: 40px; border: 1.5px solid #c3ced8; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23247298' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 18px center / 20px no-repeat; }
.recherche input:focus { outline: none; border-color: var(--bleu-texte); box-shadow: 0 0 0 4px rgba(44, 129, 169, .18); }
.recherche__vide { color: var(--encre-douce); }

/* ---------- Articles ---------- */
.articles { display: grid; gap: 22px; }
@media (min-width: 700px) { .articles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .articles { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.article-carte { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--encre); transition: transform .5s var(--sortie), box-shadow .5s var(--sortie); }
.article-carte:hover { transform: translateY(-5px); box-shadow: var(--ombre); color: var(--encre); }
.article-carte__image { display: block; overflow: hidden; background: var(--fond-bleu); }
.article-carte__image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: transform .9s var(--sortie); }
.article-carte:hover .article-carte__image img { transform: scale(1.06); }
.article-carte__texte { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-carte__categorie { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bleu-texte); }
.article-carte h3 { font-size: 1.08rem; margin: 0; line-height: 1.3; }
.article-carte p { font-size: .9rem; color: var(--encre-douce); margin: 0; }
.article-carte time { font-size: .8rem; color: var(--encre-legere); margin-top: auto; padding-top: 4px; }
/* Le premier article de la liste prend toute la largeur. */
@media (min-width: 1000px) {
  .articles--une > .article-carte:first-child { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
  .articles--une > .article-carte:first-child .article-carte__image { flex: 0 0 56%; }
  .articles--une > .article-carte:first-child .article-carte__image img { height: 100%; aspect-ratio: auto; min-height: 340px; }
  .articles--une > .article-carte:first-child .article-carte__texte { justify-content: center; padding: 40px 44px; gap: 14px; }
  .articles--une > .article-carte:first-child h3 { font-size: 1.75rem; letter-spacing: -.01em; }
  .articles--une > .article-carte:first-child p { font-size: 1rem; }
  .articles--une > .article-carte:first-child time { margin-top: 0; }
}
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 28px; font-size: .95rem; color: var(--encre-douce); }

/* ---------- Page d'article et page libre ---------- */
.page__grille { display: grid; gap: 32px; align-items: start; padding-block: clamp(24px, 3.4vw, 40px) var(--souffle); }
/* La colonne du texte s'arrête à la largeur de lecture (68 caractères, soit 44,4 rem) : l'image de tête, le sommaire et
   le texte ont le même bord ; l'espace restant sépare le texte du formulaire. */
@media (min-width: 1020px) { .page__grille--cote { grid-template-columns: minmax(0, 44.4rem) 370px; justify-content: space-between; gap: 64px; } .page__cote { position: sticky; top: calc(var(--entete) + 24px); } }
.page__une { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 26px; display: block; margin: 0 0 34px; box-shadow: var(--ombre); background: var(--fond-bleu); }
.a-une .page__grille { padding-top: 0; }
.a-une .page__une { margin-top: -44px; position: relative; }
.a-une .bandeau > .conteneur { padding-bottom: clamp(64px, 7vw, 84px); }
@media (min-width: 1020px) { .a-une .page__cote { margin-top: -44px; } }
.texte { max-width: 72ch; font-size: 1.04rem; line-height: 1.75; overflow-wrap: break-word; }
/* Pages de texte, articles et offres d'emploi : le texte s'arrête à la largeur de lecture, comme l'image de tête et le
   sommaire. Ailleurs (page d'un centre, franchise, application), « texte » garde sa largeur. */
:where(.page-libre, .page-article, .page-offre) .texte { max-width: var(--lecture); }
.texte--large { max-width: none; }
.texte--large > :is(p, ul, ol, h2, h3, h4, blockquote, details) { max-width: 76ch; }
.texte > *:first-child { margin-top: 0; }
.texte h2 { margin-top: 1.6em; font-size: clamp(1.45rem, 2.6vw, 1.9rem); color: var(--bleu-nuit); scroll-margin-top: 8px; }
.texte h3 { margin-top: 1.35em; line-height: 1.3; }
.texte h4 { margin-top: 1.3em; font-size: 1.05rem; }
.texte ul, .texte ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.texte li { margin-bottom: .45em; padding-left: .2em; }
.texte li > p { margin: 0; }
.texte li > p + p { margin-top: .5em; }
.texte details > div > :last-child { margin-bottom: 0; }
.texte li::marker { color: var(--bleu); font-weight: 600; }
.texte a:not(.bouton) { text-decoration-color: rgba(36, 114, 152, .4); transition: text-decoration-color .2s; }
.texte a:not(.bouton):hover { text-decoration-color: currentColor; }
.texte img { border-radius: var(--rayon); max-height: min(82vh, 640px); width: auto; }
.texte figure { margin: 1.8em 0; }
.texte figcaption { font-size: .85rem; color: var(--encre-douce); margin-top: 8px; }
.texte blockquote { margin: 1.8em 0; padding: 22px 26px 22px 64px; background: var(--sable); border-radius: var(--rayon); position: relative; color: #3b2e20; }
.texte blockquote::before { content: "«"; position: absolute; left: 20px; top: 6px; font-family: var(--main); font-size: 3.4rem; line-height: 1; color: var(--orange-fonce); }
.texte blockquote > :last-child { margin-bottom: 0; }
.texte table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95rem; display: block; overflow-x: auto; font-variant-numeric: tabular-nums; }
.texte th, .texte td { border-bottom: 1px solid var(--trait); padding: 12px 14px; text-align: left; vertical-align: top; }
.texte th { background: var(--fond-bleu); font-weight: 600; color: var(--bleu-nuit); }
.texte tbody tr:nth-child(even) td { background: #fafcfd; }
.texte details { border: 1px solid var(--trait); border-radius: 14px; padding: 0 20px; margin: 0 0 10px; background: #fff; }
.texte details > summary { padding: 16px 0; }
.texte details[open] { padding-bottom: 14px; }
.texte .formulaire { margin: 2em 0; max-width: 560px; }
/* Habillage du texte courant (App\Support\Composition::soigner), le même sur toutes les pages et tous les articles.
   Intertitres des articles et des pages libres : le trait de plume de la charte les souligne. */
.page-article .texte > h2:not(:has(.main))::after, .page-libre .texte:not(.texte--legale) > h2:not(:has(.main))::after { content: ""; display: block; width: 62px; height: 8px; margin-top: .4em; background: var(--plume) center / 100% 100% no-repeat; }
/* Un paragraphe entièrement en gras tient lieu d'intertitre. */
.texte .intertitre { margin: 1.5em 0 .35em; font-size: 1.1rem; font-weight: 600; line-height: 1.35; color: var(--bleu-nuit); }
.texte .intertitre :is(strong, b) { font-weight: inherit; }
/* Une image seule dans son paragraphe se centre ; plusieurs images côte à côte forment une mosaïque. */
.texte__image { margin: 1.8em 0; }
.texte__image img { display: block; margin-inline: auto; }
.texte__galerie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: center; justify-items: center; margin: 1.8em 0; }
.texte .texte__galerie img { display: block; max-height: 420px; }
@media (min-width: 700px) { .texte__galerie--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .texte__galerie--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Des questions qui se suivent : une seule carte, comme les questions de l'accueil. */
.texte__questions { margin: 1.6em 0; padding: 4px 22px; border: 1px solid var(--trait); border-radius: var(--rayon); background: #fff; box-shadow: var(--ombre-legere); }
.texte .texte__questions > details { margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--trait); border-radius: 0; background: none; }
.texte .texte__questions > details:last-child { border-bottom: 0; }
.texte .texte__questions > details > summary { padding: 18px 0; }
.texte .texte__questions > details[open] { padding-bottom: 18px; }
/* Une liste de liens courts (les centres, des pages voisines) : des pastilles. */
.texte .texte__liens { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 1.4em 0; padding: 0; }
.texte .texte__liens li { max-width: 100%; margin: 0; padding: 0; }
.texte .texte__liens a { display: inline-block; padding: 11px 18px; border: 1px solid #d5dee6; border-radius: 22px; background: #fff; color: var(--encre); font-size: .9rem; line-height: 1.35; text-decoration: none; transition: border-color .2s, color .2s; }
.texte .texte__liens a:hover { border-color: var(--bleu-texte); color: var(--bleu-texte); }
/* Des boutons écrits l'un sous l'autre : une ligne, qui passe à la suivante quand la place manque. */
.texte__actions { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 1.3em 0; }
.texte__actions > p { margin: 0; }
.texte__actions:has(> .centre) { justify-content: center; }
/* Des badges (petites images liées : les magasins d'applications) : une ligne de boutons, à leur taille. */
.texte__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 1.3em 0; }
.texte__badges a { display: inline-flex; align-items: center; min-height: 44px; }
.texte .texte__badges img { display: block; width: auto; height: auto; max-height: 44px; border-radius: 0; }
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--rayon); overflow: hidden; background: #000; cursor: pointer; margin: 1.6em 0; }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }
.video::after { content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255, 255, 255, .94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2317384a'%3E%3Cpath d='M9 6v12l10-6z'/%3E%3C/svg%3E") center / 34px no-repeat; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .4s var(--sortie); }
.video:hover::after { transform: translate(-50%, -50%) scale(1.08); }
.video.lancee::after { display: none; }
/* Tableau des marques déposées (mentions légales) : numéros et dates des registres. */
.marques { margin: 1.4em 0 1.8em; }
.texte .marques table { margin: 0 0 .7em; font-size: .9rem; }
.marques tbody th { background: none; font-weight: 600; color: var(--encre); min-width: 15ch; }
.marques tbody th small { display: block; font-weight: 400; font-size: .86em; color: var(--encre-douce); }
.marques__source { font-size: .84rem; color: var(--encre-douce); margin: 0; }
.societes caption { text-align: left; font-weight: 600; color: var(--bleu-nuit); padding: 0 0 .7em; }
.societes td small { display: block; font-size: .86em; color: var(--encre-douce); }
/* Sur téléphone, chaque ligne devient une fiche : six colonnes ne tiennent pas dans 375 px. */
@media (max-width: 719px) {
  .texte .marques table { display: block; overflow: visible; }
  .marques thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .marques caption, .marques tbody, .marques tr { display: block; }
  .marques tr { border: 1px solid var(--trait); border-radius: 16px; background: #fff; padding: 14px 16px 9px; margin: 0 0 10px; }
  .texte .marques tbody th { display: block; min-width: 0; padding: 0 0 9px; margin: 0 0 4px; border-bottom: 1px solid var(--trait); font-size: 1rem; }
  .texte .marques tbody td { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 5px 0; border: 0; background: none; text-align: right; }
  .marques tbody td::before { content: attr(data-titre); flex: none; color: var(--encre-douce); text-align: left; white-space: nowrap; }
  .marques tbody td.insecable { white-space: normal; }
}

/* ---------- Pages légales : table des matières à portée, articles numérotés ---------- */
/* Un tableau plus large que l'écran défile dans sa colonne : il n'élargit jamais la page. */
.page__grille > * { min-width: 0; }
.ancre { display: block; height: 0; scroll-margin-top: 8px; }
.texte h3 { scroll-margin-top: 8px; }
.bandeau__action { display: inline-flex; align-items: center; gap: 8px; padding: 6px 15px; border: 0; border-radius: 40px; background: rgba(255, 255, 255, .75); color: var(--bleu-nuit); font: inherit; font-size: .82rem; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s; }
.bandeau__action::before { content: ""; width: 15px; height: 15px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V3h12v6M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2M6 14h12v7H6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V3h12v6M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2M6 14h12v7H6z'/%3E%3C/svg%3E") center / contain no-repeat; }
.bandeau__action:hover { background: #fff; color: var(--bleu-texte); }

.matieres { font-size: .93rem; }
.matieres__volet { border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--fond); padding: 0 20px; }
.matieres summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 15px 0; font-weight: 600; color: var(--bleu-nuit); }
.matieres summary::-webkit-details-marker { display: none; }
.matieres summary::after { content: ""; width: 12px; height: 8px; flex: none; background: currentColor; transition: transform .35s var(--sortie);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.matieres__volet[open] summary::after { transform: rotate(180deg); }
.matieres ol { list-style: none; margin: 0; padding: 0; }
.matieres__volet > ol { padding-bottom: 12px; }
.matieres a { display: block; padding: 8px 0; color: var(--encre); text-decoration: none; line-height: 1.35; }
.matieres a:hover { color: var(--bleu-texte); }
.matieres ol ol { margin: 0 0 8px; padding-left: 14px; border-left: 1px solid var(--trait); }
.matieres ol ol a { display: flex; gap: 10px; padding: 6px 0; font-size: .8rem; letter-spacing: .02em; color: var(--encre-douce); }
.matieres ol ol span { flex: none; min-width: 1.5em; font-weight: 600; color: var(--orange-texte); }
/* Sur téléphone, un long sommaire défile dans son volet au lieu de repousser le texte de deux écrans. */
@media (max-width: 1019.98px) { .matieres__volet > ol { max-height: min(58vh, 440px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; } }
@media (min-width: 1020px) {
  .page__grille--lecture { grid-template-columns: 272px minmax(0, 1fr); gap: 72px; }
  .matieres { position: sticky; top: calc(var(--entete) + 28px); max-height: calc(100vh - var(--entete) - 56px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  .matieres__volet { border: 0; border-radius: 0; background: none; padding: 0; }
  .matieres__volet > ol { padding-bottom: 0; border-left: 1px solid var(--trait); }
  .matieres__volet > ol > li > a { padding: 7px 8px 7px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--encre-douce); transition: color .2s, border-color .2s; }
  .matieres__volet > ol > li > a:hover { color: var(--bleu-nuit); }
  .matieres ol ol { margin: 0 0 8px 16px; padding-left: 0; border-left: 0; }
  .matieres ol ol a { padding: 4px 8px 4px 0; }
  .matieres a[aria-current] { color: var(--bleu-nuit); font-weight: 600; }
  .matieres__volet > ol > li.est-ouverte > a { border-left-color: var(--orange); color: var(--bleu-nuit); font-weight: 600; }
  /* Le script suit la lecture : le titre du volet devient un simple intitulé, et seuls les articles de la partie
     en cours restent dépliés. Sans script, le volet s'ouvre d'un clic et montre tout. */
  .matieres.suit summary { pointer-events: none; padding: 0 0 12px; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--encre-douce); }
  .matieres.suit summary::after { display: none; }
  .matieres.suit li:not(.est-ouverte) > ol { display: none; }
}
.texte--legale { font-size: 1rem; line-height: 1.72; }
.texte--legale h2 { margin-top: 2.1em; padding-top: 1.35em; border-top: 1px solid var(--trait); font-size: clamp(1.3rem, 2.2vw, 1.62rem); }
.texte--legale > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.texte--legale h3 { margin-top: 1.9em; font-size: 1.1rem; color: var(--bleu-nuit); }
.texte--legale h4 { margin-top: 1.5em; font-size: .92rem; letter-spacing: .04em; color: var(--bleu-nuit); }
.texte--legale h3.article { display: grid; gap: 7px; margin: 2.3em 0 .7em; font-size: 1rem; line-height: 1.4; letter-spacing: .03em; }
.texte--legale h2 + h3.article { margin-top: 1.5em; }
.article__n { display: flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-texte); font-variant-numeric: tabular-nums; }
.article__n::after { content: ""; width: 38px; height: 2px; border-radius: 2px; background: var(--orange); }

/* Numéro d'une étape (« 01 », « 02 ») posé au-dessus de son intertitre. */
.texte .numero { display: flex; align-items: center; gap: 12px; margin: 1.7em 0 0; font-size: .84rem; font-weight: 600; letter-spacing: .16em; color: var(--orange-texte); font-variant-numeric: tabular-nums; }
.texte .numero::after { content: ""; width: 38px; height: 2px; border-radius: 2px; background: var(--orange); }
.texte .numero + h2, .texte .numero + h3, .texte .numero + h4, .texte .numero + p { margin-top: .3em; }
.texte .numero + p { margin-bottom: 0; font-weight: 600; color: var(--bleu-nuit); }
.texte .numero + p + h3 { margin-top: .15em; }
sup { line-height: 0; font-size: .62em; }
.avertissement { font-size: .85rem; color: var(--encre-douce); background: var(--fond); border: 1px solid var(--trait); border-radius: 14px; padding: 14px 18px; margin: 2em 0 0; max-width: 72ch; }
.page-article .avertissement { max-width: 44.4rem; }

/* Sommaire d'un article : les intertitres, repliés sur téléphone. */
.sommaire { border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--fond); padding: 0 20px; margin: 0 0 30px; max-width: 44.4rem; }
.sommaire summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 15px 0; font-weight: 600; color: var(--bleu-nuit); }
.sommaire summary::-webkit-details-marker { display: none; }
.sommaire summary::after { content: ""; width: 12px; height: 8px; flex: none; background: currentColor; transition: transform .35s var(--sortie);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.sommaire[open] summary::after { transform: rotate(180deg); }
.sommaire ol { margin: 0; padding: 0 0 16px 1.3em; font-size: .95rem; }
.sommaire li { margin-bottom: .45em; }
.sommaire li::marker { color: var(--bleu); font-weight: 600; }
.sommaire a { color: var(--encre); text-decoration: none; }
.sommaire a:hover { color: var(--bleu-texte); text-decoration: underline; }

/* Avancement de la lecture : un trait sous l'en-tête, piloté par le défilement (sans script). */
.progression { display: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .progression { display: block; position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); animation: lecture linear both; animation-timeline: scroll(root block); }
    @keyframes lecture { to { transform: scaleX(1); } }
  }
}

/* Encadré latéral des pages sans formulaire. */
.encadre { padding: 24px 22px; display: grid; gap: 12px; background: var(--lavis); border: 0; }
.encadre h2 { font-size: 1.3rem; margin: 0; color: var(--bleu-nuit); }
.encadre p { margin: 0; font-size: .93rem; color: #33485a; }

/* ---------- Bandeau d'appel ---------- */
.appel { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(135deg, #3a8419, #2c6e10); color: #fff; border-radius: var(--rayon-grand); padding: 28px 24px; display: grid; gap: 18px; align-items: center; box-shadow: var(--ombre); }
.appel::after { content: ""; position: absolute; z-index: -1; right: -50px; top: -70px; width: 300px; aspect-ratio: 60 / 58.6; background: url("/site/petales.svg") center / contain no-repeat; filter: brightness(0) invert(1); opacity: .1; transform: rotate(18deg); }
.appel h2 { color: #fff; margin: 0 0 .3em; }
.appel p { margin: 0; max-width: 62ch; }
.appel .bouton { background: #fff; color: var(--vert-fonce); }
.appel .bouton:hover { background: var(--sable); color: var(--vert-fonce); }
@media (min-width: 860px) { .appel { grid-template-columns: 1fr auto; gap: 40px; padding: 36px 48px; } }

/* ---------- Pages en sections (gabarit « Page en sections », pages/vitrine.blade.php) ----------
   Le texte de la page est découpé à chaque intertitre de niveau 2 (App\Support\Composition::composer) ; chaque section
   reprend un composant de l'accueil : titre de section, texte à côté de son image, cartes, étapes, questions, appel.
   Tout ce qui est propre à ces pages porte le préfixe « partie » (et « vitrine » pour le haut de page). */
.vitrine__haut { display: grid; gap: 26px; align-items: center; }
.vitrine__haut > * { min-width: 0; }
@media (min-width: 980px) { .vitrine__haut--duo { grid-template-columns: 1.15fr .85fr; gap: 48px; } }
.vitrine__haut:not(.vitrine__haut--duo) h1 { max-width: 26ch; }
/* L'image écrite en tête du texte ouvre la page, entière. Détourée (fond transparent), elle se pose sur le lavis, sans
   cadre, au ras du bas du bandeau. */
.vitrine__image { margin: 0; }
.vitrine__image img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(52vh, 460px); margin-inline: auto; border-radius: 26px; box-shadow: var(--ombre); }
.vitrine__image--detouree { align-self: end; margin-bottom: calc(-1 * clamp(26px, 3.8vw, 46px)); }
.vitrine__image--detouree img { max-height: min(58vh, 520px); border-radius: 0; box-shadow: none; filter: drop-shadow(0 14px 24px rgba(23, 56, 74, .16)); }
.partie { padding-block: var(--souffle); }
.partie--claire { background: var(--fond); }
.partie--bleue { background: var(--fond-bleu); }
.partie--etapes { background: var(--sable); }
/* Deux sections blanches qui se suivent : un seul espace entre elles. */
.partie:not(.partie--claire, .partie--bleue, .partie--etapes) + .partie:not(.partie--claire, .partie--bleue, .partie--etapes) { padding-top: 0; }
.partie .titre-section { margin-top: 0; font-size: clamp(1.55rem, 3.2vw, 2.3rem); color: var(--encre); }
/* Un titre long passe sur plusieurs lignes : le trait de plume garde un peu d'air au-dessus de la ligne suivante. */
.partie .titre-section .main, .bandeau h1 .main { margin-bottom: .1em; }
.partie__colonne { max-width: var(--lecture); margin-inline: auto; }
.partie__colonne--large { max-width: 900px; }
/* Un tableau prend plus de place que la colonne de lecture, au centre de la section. */
.texte.partie__large { max-width: 900px; margin-inline: auto; }
.partie :is(.partie__colonne, .partie__large, .partie__duo) + :is(.partie__colonne, .partie__large, .partie__duo, .partie__rangees) { margin-top: clamp(26px, 3.6vw, 44px); }
.partie__intro { margin-bottom: clamp(22px, 3vw, 34px); }
.partie__intro--centre { text-align: center; color: var(--encre-douce); }
.partie__suite { margin-top: clamp(22px, 3vw, 34px); text-align: center; }
/* La phrase de conclusion, sous un tableau ou une bande de photos. */
.partie__chute { text-align: center; text-wrap: balance; font-weight: 500; color: var(--bleu-nuit); }
.partie__chute > :last-child { margin-bottom: 0; }
.partie__suite .texte__actions, .partie__pastilles .texte__actions { justify-content: center; margin-bottom: 0; }
/* Le texte à côté de son illustration. Sur téléphone : le titre, l'image, le texte. */
.partie__duo { display: grid; gap: 18px; }
.partie__duo > * { min-width: 0; }
.partie__duo > .titre-section { margin-bottom: 0; }
.partie__duo > .texte { max-width: none; }
.partie__duo--avant { margin-bottom: clamp(26px, 3.6vw, 44px); }
/* L'image garde ses proportions (un portrait n'est pas rogné) ; l'ombre suit sa forme, pour une image détourée aussi. */
.partie__visuel > img, .partie__visuel > a > img, .partie__figure > img, .partie__figure > a > img { display: block; width: auto; height: auto; max-width: 100%; max-height: 540px; margin-inline: auto; border-radius: 26px; filter: drop-shadow(0 16px 26px rgba(23, 56, 74, .18)); }
/* La légende d'une image posée à côté d'un texte : une pastille à cheval sur le bas de l'image. */
.partie__figure { display: grid; justify-items: center; margin: 0; }
.partie__figure figcaption { position: relative; max-width: 88%; margin-top: -22px; padding: 10px 20px; border-radius: 24px; background: #fff; box-shadow: var(--ombre-legere); color: var(--bleu-nuit); font-size: .9rem; font-weight: 600; line-height: 1.35; text-align: center; }
.partie__visuel :is(.video, .carte-plan, .texte__galerie) { margin: 0; }
.partie__visuel .video { border-radius: 26px; box-shadow: var(--ombre); }
@media (min-width: 900px) {
  .partie__duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); grid-template-areas: "visuel titre" "visuel texte"; grid-template-rows: auto auto; gap: 0 clamp(40px, 5.4vw, 76px); }
  .partie__duo--inverse { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-areas: "titre visuel" "texte visuel"; }
  /* Un texte plus court que son image se centre en hauteur face à elle (la place en trop se partage entre les deux
     rangées) ; un texte plus long part du haut, et l'image le suit. */
  .partie__duo > .titre-section { grid-area: titre; align-self: end; margin-bottom: .6em; }
  .partie__duo > .texte { grid-area: texte; align-self: start; }
  /* L'illustration accompagne la lecture d'un long passage. */
  .partie__visuel { grid-area: visuel; align-self: start; position: sticky; top: calc(var(--entete) + 24px); }
}
/* Rangées : chaque intertitre de niveau 3 à côté de son image, d'un côté puis de l'autre. L'image y est plus petite
   que dans un passage : ce sont souvent des vignettes de l'ancien site. */
.partie__rangees { display: grid; gap: clamp(30px, 4.6vw, 60px); }
.partie__duo--rangee .partie__visuel > img, .partie__duo--rangee .partie__visuel > a > img { width: 100%; max-width: 360px; max-height: none; }
.partie__duo--rangee h3 { margin-top: 0; font-size: clamp(1.25rem, 2.3vw, 1.5rem); color: var(--bleu-nuit); }
.partie__duo--rangee > .texte > :last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .partie__duo--rangee { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-areas: "visuel texte"; grid-template-rows: auto; align-items: center; }
  .partie__duo--rangee.partie__duo--inverse { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); grid-template-areas: "texte visuel"; }
  .partie__duo--rangee .partie__visuel { position: static; align-self: center; }
  .partie__duo--rangee > .texte { align-self: center; }
}
/* Rangée de cartes : un intertitre de niveau 3 et quelques lignes par carte, une vignette quand une image le précède. */
.partie__cartes { display: grid; gap: 22px; }
@media (min-width: 700px) { .partie__cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .partie__cartes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .partie__cartes--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.partie__carte { display: flex; flex-direction: column; overflow: hidden; }
.partie__vignette { background: var(--fond-bleu); }
.partie__carte .partie__vignette > img, .partie__carte .partie__vignette > a > img { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; }
.partie__vignette :is(.video, .carte-plan) { margin: 0; border-radius: 0; box-shadow: none; }
.partie__carte > .texte { display: flex; flex-direction: column; flex: 1; max-width: none; padding: 22px 22px 24px; font-size: .96rem; line-height: 1.65; }
.partie__carte h3 { margin: 0 0 .5em; font-size: 1.12rem; line-height: 1.3; color: var(--bleu-nuit); }
.partie__carte :is(p, li) { color: var(--encre-douce); }
.partie__carte > .texte > :last-child { margin-bottom: 0; }
.partie__carte p.action, .partie__carte .texte__actions { margin: auto 0 0; padding-top: 14px; }
.partie__carte .texte__actions p.action { padding-top: 0; }
.partie__carte .numero { margin-top: 0; }
/* Deux cartes : elles ne s'étirent pas sur toute la largeur de la page (une vignette agrandie deviendrait floue). */
.partie__cartes--2 { max-width: 920px; margin-inline: auto; }
/* Cinq cartes sur trois colonnes : les deux dernières se centrent ; sur deux colonnes, la dernière. */
@media (min-width: 700px) and (max-width: 999px) { .partie__cartes--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 11px); } }
@media (min-width: 1000px) {
  .partie__cartes--3:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .partie__cartes--3:has(> :nth-child(5):last-child) > * { grid-column: span 2; }
  .partie__cartes--3:has(> :nth-child(5):last-child) > :nth-child(4) { grid-column: 2 / span 2; }
}
/* Le sous-titre d'une carte (une ligne en gras sous son intertitre). */
.partie__carte .intertitre { margin: 0 0 .5em; font-size: .96rem; color: var(--bleu-texte); }
/* La vignette d'une carte peut porter une légende : elle passe sous l'image, sans pastille. */
.partie__carte .partie__vignette .partie__figure > img, .partie__carte .partie__vignette .partie__figure > a > img { width: 100%; max-height: none; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; filter: none; }
.partie__vignette .partie__figure figcaption { max-width: none; margin: 0; padding: 8px 22px; border-radius: 0; box-shadow: none; font-weight: 400; font-size: .85rem; color: var(--encre-douce); }
/* Une carte dont l'intertitre est un lien se clique tout entière. */
.partie__carte:has(h3 > a) { position: relative; transition: transform .3s var(--sortie), box-shadow .3s; }
.partie__carte h3 > a { color: inherit; text-decoration: none; }
.partie__carte h3 > a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.partie__carte:has(h3 > a):hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.partie__carte:has(h3 > a):hover h3 > a { color: var(--bleu-texte); }
.partie__carte h3 > a:focus-visible { outline: none; }
.partie__carte:has(h3 > a:focus-visible) { outline: 2px solid var(--bleu-texte); outline-offset: 3px; }
.partie__carte:has(h3 > a) :is(.bouton, p a, li a) { position: relative; z-index: 1; }
/* Carte d'appel : la carte d'une rangée qui n'est qu'un titre et un bouton. Elle prend les couleurs du bandeau
   d'appel, son titre et son bouton rassemblés à mi-hauteur, au lieu de rester une carte blanche à moitié vide. */
.partie__carte--appel { position: relative; isolation: isolate; border-color: transparent; background: linear-gradient(135deg, #3a8419, #2c6e10); box-shadow: var(--ombre); }
.partie__carte--appel::after { content: ""; position: absolute; z-index: -1; right: -44px; top: -56px; width: 220px; aspect-ratio: 60 / 58.6; background: url("/site/petales.svg") center / contain no-repeat; filter: brightness(0) invert(1); opacity: .1; transform: rotate(18deg); }
.partie__carte--appel > .texte { justify-content: center; gap: 20px; padding: 30px 26px; }
.partie__carte--appel h3 { margin: 0; font-size: clamp(1.3rem, 2.3vw, 1.6rem); line-height: 1.25; color: #fff; }
.partie__carte--appel p.action { margin: 0; padding-top: 0; }
.partie__carte--appel .bouton { background: #fff; color: var(--vert-fonce); }
.partie__carte--appel .bouton:hover { background: var(--sable); color: var(--vert-fonce); }
/* Ce qui suit une rangée de cartes en pleine largeur (un renvoi, une liste) : un encadré s'y limite à 920 px. */
.partie__apres { margin-top: clamp(22px, 3vw, 34px); }
.partie__apres > .repere { max-width: 920px; margin: 0 auto; }
/* Mosaïque : trois ou quatre photos en bande, sur toute la largeur. */
.partie__large > .texte__galerie { align-items: stretch; gap: 14px; margin: 0; }
.partie__large > .texte__galerie > a { display: block; }
.partie__large > .texte__galerie img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon); }
@media (max-width: 699px) {
  .partie__large > .texte__galerie--3 > :first-child { grid-column: 1 / -1; }
  .partie__large > .texte__galerie--3 > img:first-child, .partie__large > .texte__galerie--3 > :first-child img { aspect-ratio: 16 / 9; }
}
/* Tableau : sa légende en petites capitales ; sur téléphone, une fiche par ligne, chaque valeur sous le nom de sa
   colonne (attribut data-titre posé par Composition::tableau). */
.partie__large table { margin: 0; }
.partie__large caption { caption-side: top; padding: 0 0 12px; text-align: left; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bleu-texte); }
@media (min-width: 700px) { .texte .tableau-fiches { display: table; } }
@media (max-width: 699px) {
  .texte .tableau-fiches { overflow: visible; }
  .tableau-fiches :is(caption, tbody, tr, th, td) { display: block; }
  .tableau-fiches thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tableau-fiches tr { margin: 0 0 10px; padding: 14px 16px 10px; border: 1px solid var(--trait); border-radius: 16px; background: #fff; }
  .texte .tableau-fiches tbody th { margin: 0 0 6px; padding: 0 0 9px; border-bottom: 1px solid var(--trait); background: none; font-size: 1rem; }
  .texte .tableau-fiches tbody tr td { padding: 5px 0; border: 0; background: none; }
  .tableau-fiches tbody td[data-titre]::before { content: attr(data-titre); display: block; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--encre-douce); }
}
/* Offres d'emploi en ligne (bloc [[offres]]) : une ligne par offre dans une carte, au rythme de la carte des questions.
   Le métier en gras, le lieu et les précisions dessous ; « Voir l'offre » se réduit à sa flèche sur un téléphone. */
ul.offres { display: grid; margin: 0; padding: 6px 24px; list-style: none; }
ul.offres > li { margin: 0; padding: 0; border-bottom: 1px solid var(--trait); }
ul.offres > li:last-child { border-bottom: 0; }
.offres__ligne { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 16px 0; color: inherit; text-decoration: none; }
.offres__titre { display: grid; gap: 3px; min-width: 0; }
.offres__titre strong { font-family: var(--titres); font-weight: 600; line-height: 1.35; color: var(--bleu-nuit); transition: color .2s; }
.offres__titre span { font-size: .92rem; line-height: 1.5; color: var(--encre-douce); }
.offres__ligne .lien-fleche { flex: none; white-space: nowrap; }
.offres__ligne:hover strong { color: var(--bleu-texte); }
.offres__ligne:hover .lien-fleche::after { transform: translateX(5px); }
.offres__ligne:focus-visible { outline: 2px solid var(--bleu-texte); outline-offset: 4px; border-radius: 8px; }
.offres-vide { margin: 0; color: var(--encre-douce); }
@media (min-width: 1000px) {
  ul.offres { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; padding-inline: 32px; }
  ul.offres > li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}
@media (max-width: 559.98px) {
  ul.offres { padding-inline: 18px; }
  .offres__ligne { gap: 14px; }
  .offres__ligne .lien-fleche { gap: 0; font-size: 0; }
}
/* ---------- Offre d'emploi (gabarit « offre », lot charte) ----------
   Mobile d'abord : le titre, une carte de faits clés qui chevauche le bandeau (lieu, contrat, temps de travail, prise
   de poste : seulement ceux que l'annonce donne) et le bouton « Postuler », puis l'annonce en parties. La barre
   « Postuler » est la barre commune des téléphones (data-barre : elle apparaît après le premier écran et s'efface devant
   le formulaire). Sur ordinateur, la carte suit la lecture dans la colonne de droite. */
.bandeau--offre > .conteneur { padding-block: clamp(18px, 3vw, 34px) clamp(70px, 6vw, 80px); }
.bandeau--offre .fil { margin-bottom: 14px; }
.bandeau--offre h1 { max-width: 28ch; margin-bottom: 0; font-size: clamp(1.7rem, 4.6vw, 2.7rem); line-height: 1.14; text-wrap: balance; }
.offre__grille { display: grid; gap: 26px; padding-block: 0 var(--souffle); }
.offre__resume { position: relative; z-index: 2; display: grid; gap: 16px; margin-top: -40px; padding: 20px 18px 18px; box-shadow: var(--ombre); }
.offre__faits { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px 14px; margin: 0; }
.offre__fait { min-width: 0; margin: 0; }
.offre__fait--lieu, .offre__fait--calendrier, .offre__fait--large { grid-column: 1 / -1; }
.offre__fait dt { display: flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; line-height: 1.2; color: var(--encre-douce); }
.offre__fait dt svg { flex: none; width: 16px; height: 16px; color: var(--bleu-texte); }
.offre__fait dd { margin: 5px 0 0; font-family: var(--titres); font-weight: 600; font-size: .98rem; line-height: 1.35; color: var(--bleu-nuit); }
.offre__pastilles, .annonce__etiquettes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.offre__pastilles li, .annonce__etiquettes li { margin: 0; padding: 6px 14px; border-radius: 40px; background: var(--fond-bleu); color: var(--bleu-nuit); font-size: .84rem; font-weight: 500; line-height: 1.3; }
.offre__pastilles li::first-letter { text-transform: uppercase; }
.offre__postuler { width: 100%; }
.offre__texte { min-width: 0; }
.annonce__partie { padding-block: clamp(22px, 3vw, 30px); }
.annonce__partie + .annonce__partie { border-top: 1px solid var(--trait); }
.annonce > :is(.annonce__intro, .annonce__partie):first-child:not(.annonce__partie--remuneration, .annonce__partie--postuler) { padding-top: 0; }
.annonce > :is(.annonce__intro, .annonce__partie):last-child:not(.annonce__partie--remuneration, .annonce__partie--postuler) { padding-bottom: 0; }
.annonce__titre { margin: 0 0 .6em; font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.25; text-wrap: balance; color: var(--bleu-nuit); }
.annonce__corps > :first-child { margin-top: 0; }
.annonce__corps > :last-child { margin-bottom: 0; }
.annonce .texte { max-width: var(--lecture); }
.annonce__etiquettes { margin: 1.6em 0 1.1em; }
/* Rémunération : un panneau vert très pâle, le premier regard d'un candidat. Candidature : un panneau bleu pâle. */
.annonce__partie--remuneration, .annonce__partie--postuler { margin-block: clamp(10px, 2vw, 18px); padding: clamp(20px, 3vw, 28px); border-top: 0; border-radius: var(--rayon); }
.annonce__partie--remuneration { background: #eef7e9; color: #1f3a12; }
.annonce__partie--remuneration .annonce__titre { color: #1f4a0c; }
.annonce__partie--remuneration li::marker { color: var(--vert-texte); }
.annonce__partie--postuler { background: var(--fond-bleu); }
.annonce__partie--remuneration + .annonce__partie, .annonce__partie--postuler + .annonce__partie { border-top: 0; }
.annonce > .annonce__partie--remuneration:first-child, .annonce > .annonce__partie--postuler:first-child { margin-top: 0; }
/* Parcours candidat : des étapes numérotées, reliées. */
.annonce__partie--parcours :is(ol, ul):not(.annonce__etiquettes) { display: grid; gap: 16px; margin: 0 0 1.3em; padding: 0; list-style: none; counter-reset: pas; }
.annonce__partie--parcours :is(ol, ul):not(.annonce__etiquettes) > li { position: relative; margin: 0; padding: 4px 0 0 48px; counter-increment: pas; }
.annonce__partie--parcours :is(ol, ul):not(.annonce__etiquettes) > li::before { content: counter(pas); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bleu-texte); color: #fff; font-family: var(--titres); font-size: .92rem; font-weight: 600; }
.annonce__partie--parcours :is(ol, ul):not(.annonce__etiquettes) > li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: -14px; width: 2px; border-radius: 2px; background: var(--trait); }
/* Points forts de fin d'annonce : une coche, un titre, une phrase. */
.annonce__valeurs { display: grid; gap: 22px 28px; }
.annonce__valeur { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.annonce__valeur > img { grid-row: 1; width: 25px; height: 25px; margin-top: 2px; }
.annonce__valeur > h3 { grid-column: 2; margin: 0 0 .3em; font-size: 1.02rem; line-height: 1.3; color: var(--bleu-nuit); }
.annonce__valeur > :not(img, h3) { grid-column: 2; margin: 0; font-size: .95rem; line-height: 1.55; color: var(--encre-douce); }
.annonce__partie--valeurs .annonce__titre .main { font-size: 1.2em; }
.offre__candidature { padding-top: 0; }
.offre__candidature .formulaire { max-width: 780px; margin-inline: auto; }
.offre__autres ul.offres { max-width: 980px; margin-inline: auto; }
.offre__toutes { margin: 24px 0 0; }
@media (min-width: 560px) {
  .annonce__valeurs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offre__faits { gap: 18px 18px; }
}
@media (min-width: 900px) and (max-width: 1019.98px) { .barre-offre.barre-mobile { display: flex; } }
@media (min-width: 1020px) {
  .offre__grille { grid-template-columns: minmax(0, var(--lecture)) 340px; justify-content: space-between; align-items: start; gap: clamp(48px, 7vw, 96px); }
  .offre__resume { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--entete) + 24px); margin-top: -52px; padding: 24px 24px 22px; }
  .offre__texte { grid-column: 1; grid-row: 1; padding-top: clamp(30px, 3.4vw, 46px); }
  .offre__faits { grid-template-columns: 1fr; }
  .barre-offre.barre-mobile { display: none; }
}
/* Étapes numérotées : le composant « etapes » de la page d'un centre, pour deux à quatre étapes. */
@media (min-width: 900px) { .partie__etapes--2 { grid-template-columns: repeat(2, 1fr); } .partie__etapes--4 { grid-template-columns: repeat(4, 1fr); } }
.partie__etapes .etape p.action { margin: 1em 0 0; }
.partie__etapes .etape .bouton { padding: 11px 20px; min-height: 44px; font-size: .9rem; }
/* Chiffres clés. */
.partie__chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; text-align: center; }
@media (min-width: 800px) { .partie__chiffres--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .partie__chiffres--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Sur deux colonnes, un chiffre resté seul sur sa ligne se centre sous les autres. */
@media (max-width: 799.98px) { .partie__chiffres > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
.partie__valeur { margin: 0; font-size: clamp(2.2rem, 5vw, 3.3rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--bleu-nuit); font-variant-numeric: tabular-nums; }
.partie__valeur::after { content: ""; display: block; width: 46px; height: 7px; margin: 12px auto 0; background: var(--plume) center / 100% 100% no-repeat; }
.partie__libelle { max-width: 22ch; margin: 10px auto 0; font-size: .95rem; line-height: 1.45; color: var(--encre-douce); }
/* Questions fréquentes et pastilles de liens. */
.partie--questions .texte__questions { margin: 0; }
.partie--questions .titre-section + .texte__questions { margin-top: 1.4em; }
.partie__pastilles { max-width: 980px; margin-inline: auto; text-align: center; }
.partie__pastilles .texte__liens { justify-content: center; margin: 0; }
.partie__pastilles p.action { margin: 1.6em 0 0; }

/* ---------- Pied de page ---------- */
.pied { margin: 0 10px 10px; border-radius: var(--rayon-grand); background: linear-gradient(170deg, #1f6f9c 0%, #17788f 55%, #0f7f86 100%); color: #fff; font-family: var(--nav); position: relative; isolation: isolate; overflow: hidden; }
.pied::after { content: ""; position: absolute; z-index: -1; left: -90px; top: -60px; width: 380px; aspect-ratio: 60 / 58.6; background: url("/site/petales.svg") center / contain no-repeat; filter: brightness(0) invert(1); opacity: .06; transform: rotate(24deg); }
.pied a { color: #fff; text-decoration: none; }
.pied a:hover { text-decoration: underline; color: #fff; }
.pied__grille { display: grid; gap: 26px; padding-block: 38px 24px; }
@media (min-width: 900px) { .pied__grille { grid-template-columns: 1fr 1.7fr .9fr 1.7fr; gap: 40px; padding-top: 48px; } }
.pied__logo { height: 92px; width: auto; display: block; margin-bottom: 18px; }
.pied h2 { font-family: var(--nav); font-size: 1rem; font-weight: 500; letter-spacing: .02em; color: #fff; margin: 0 0 12px; }
.pied p { font-size: .95rem; line-height: 1.6; }
.pied ul { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.pied li { margin-bottom: 2px; }
.pied li a { display: inline-block; padding: 4px 0; }
.pied__poles { columns: 2; column-gap: 20px; }
.pied__bouton { display: inline-flex; align-items: center; min-height: 44px; padding: 11px 22px; border-radius: 40px; background: #fff; color: var(--bleu-nuit) !important; font-weight: 500; transition: transform .35s var(--sortie); }
.pied__bouton:hover { text-decoration: none !important; transform: translateY(-2px); }
.pied__bouton--orange { background: var(--orange); }
.pied__legal { background: #fff; color: var(--encre); border-radius: 22px; margin: 0 0 20px; padding: 22px 24px; font-family: var(--titres); }
.pied__legal h2 { color: var(--encre); font-family: var(--titres); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.pied__legal ul { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 14px; }
.pied__legal li { margin: 0; }
.pied__legal li a { display: inline-block; padding: 8px 16px; border: 1.5px solid var(--bleu-texte); border-radius: 40px; color: var(--bleu-texte); font-weight: 500; font-size: .9rem; }
.pied__legal li a:hover { background: var(--bleu-texte); color: #fff; text-decoration: none; }
.pied__legal p { font-size: .82rem; color: var(--encre-douce); margin: 0 0 6px; }
.pied__legal p a { color: var(--bleu-texte); font-weight: 500; text-decoration: underline; }
.pied__legal p a:hover { color: var(--bleu-nuit); }
/* Repères légaux répétés sur chaque page : courts, sobres, lisibles d'un coup d'œil (et sur une capture d'écran). */
.pied__reperes { display: grid; gap: 14px 30px; padding-top: 16px; border-top: 1px solid var(--trait); }
@media (min-width: 700px) { .pied__reperes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pied__reperes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 38px; } }
.pied__reperes h3 { margin: 0 0 4px; font-family: var(--titres); font-size: .84rem; font-weight: 600; line-height: 1.35; color: var(--bleu-nuit); }
.pied__reperes p { margin: 0; font-size: .8rem; line-height: 1.55; }
.praticien .praticien__numero { margin-top: 2px; font-size: .76rem; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
/* « .pied » devant : sans lui, la règle « .pied p » plus haut l'emporte et ces deux lignes gardent la taille du texte courant. */
.pied .pied__bas { font-size: .82rem; text-align: center; padding: 0 0 6px; margin: 0; }
/* Qui a fait le site : une ligne discrète, sous le copyright. Discrète par la taille, pas par la transparence :
   sur ce fond, le blanc plein tient tout juste le contraste demandé (4,8 pour 1). */
.pied .pied__credits { font-size: .76rem; text-align: center; padding: 0 0 20px; margin: 0; }
.pied__credits a { text-decoration: underline; text-underline-offset: 2px; }
/* L'application : les deux badges des stores, sous le bouton de rendez-vous. */
.pied__app { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.pied__app p { flex: 0 0 100%; margin: 0 0 2px; font-size: .9rem; font-weight: 500; }
.pied__app a { display: inline-flex; border-radius: 7px; transition: transform .35s var(--sortie, ease); }
.pied__app a:hover { transform: translateY(-2px); }
.pied__app img { display: block; height: 40px; width: auto; }

/* ---------- Barre d'action sur téléphone : appeler ou réserver sans remonter la page ---------- */
.barre-mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--trait); box-shadow: 0 -10px 30px -16px rgba(23, 56, 74, .4);
  transform: translateY(110%); visibility: hidden; transition: transform .5s var(--sortie), visibility .5s; }
.barre-mobile--visible { transform: none; visibility: visible; }
.barre-mobile .bouton { flex: 1; padding: 12px 10px; min-height: 50px; font-size: .92rem; border-radius: 14px; white-space: nowrap; }
.barre-mobile .bouton--contour { flex: 0 1 38%; background: #fff; }
@media (min-width: 900px) { .barre-mobile { display: none; } }
@media (max-width: 899px) { body.a-barre { padding-bottom: 76px; } }

/* ---------- Confirmation, page introuvable ---------- */
.message { max-width: 720px; margin: 0 auto; text-align: center; padding-block: clamp(30px, 5vw, 56px) 10px; }
.message__icone { width: 84px; height: 84px; border-radius: 50%; background: #e9f5e3; color: var(--vert-texte); display: grid; place-items: center; margin: 0 auto 24px; }
.message__icone svg { width: 40px; height: 40px; }
.message__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.message__code { font-family: var(--main); font-size: clamp(5rem, 16vw, 9rem); line-height: .9; color: var(--bleu); margin: 0 0 .1em; }

/* ---------- Plan du site ---------- */
.plan { display: grid; gap: 40px; }
@media (min-width: 900px) { .plan { grid-template-columns: repeat(3, 1fr); } }
.plan h2 { font-size: 1.3rem; color: var(--bleu-nuit); padding-bottom: 10px; border-bottom: 2px solid var(--trait); }
.plan h3 { margin-top: 1.6em; font-size: 1rem; }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan ul ul { padding-left: 14px; margin: 2px 0 8px; border-left: 1px solid var(--trait); font-size: .92rem; }
.plan li a { display: inline-block; padding: 5px 0; color: var(--encre); text-decoration: none; }
.plan li a:hover { color: var(--bleu-texte); text-decoration: underline; }

/* ---------- Pathologies accompagnées (lot « pathologies ») ----------
   Trois emplois d'une même liste : la section de l'accueil et des pages des centres, le renvoi posé dans un texte
   ([[pathologies:liens]]) et les lignes de la page d'ensemble ([[pathologies]]). Toutes les règles portent le préfixe
   « patho- » ; plusieurs sont écrites avec leur balise pour l'emporter, dans un texte, sur les règles de « .texte ». */
ul.patho-liens { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.patho-liens li { margin: 0; padding: 0; max-width: 100%; }
.patho-liens li a { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 20px; border-radius: 40px; background: var(--fond-bleu); color: var(--bleu-nuit);
  font-weight: 500; font-size: .98rem; line-height: 1.3; text-decoration: none; }
/* Dans un texte, « .texte a » impose sa propre transition : celle-ci doit l'emporter. */
.patho-liens li a, .texte .patho-liens li a { transition: background-color .25s, color .25s, transform .35s var(--sortie); }
.patho-liens li a:hover { background: var(--bleu-nuit); color: #fff; transform: translateY(-2px); }
.patho-liens li a:active { transform: none; }
/* Le rappel : l'accompagnement ne remplace pas le suivi médical. Toujours sous la liste, jamais en gris clair. */
p.patho-rappel { display: flex; gap: 10px; align-items: flex-start; max-width: 62ch; margin: 20px 0 0; font-size: .88rem; line-height: 1.55; color: var(--encre-douce); text-align: left; }
.patho-rappel svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--bleu); }
p.patho-suite { margin: 22px 0 0; }
/* Accueil : tout est centré, comme les sections voisines ; la liste tient sur deux rangées au plus. */
.centre > ul.patho-liens { justify-content: center; max-width: 880px; margin-inline: auto; }
.centre > p.patho-rappel { width: fit-content; margin-inline: auto; }

/* Renvoi dans un texte (fiche, page de cure) : l'encadré commun « repere », avec la liste en pastilles blanches. */
.patho-renvoi { padding-block: 22px; }
.patho-renvoi .repere__titre { margin-bottom: .8em; font-size: 1.12rem; }
.patho-renvoi ul.patho-liens { gap: 8px; }
.patho-renvoi .patho-liens li a { min-height: 44px; padding: 9px 18px; background: #fff; font-size: .94rem; }
.patho-renvoi .patho-liens li a:hover { background: var(--bleu-nuit); color: #fff; }
.patho-renvoi p.patho-rappel { margin: 16px 0 0; }
/* Le lien d'action garde 44 px de haut au toucher ; la marge compense, l'écart visible reste le même. */
.patho-renvoi p.patho-suite { margin: 6px 0 -6px; }
.patho-renvoi p.patho-suite .lien-fleche { min-height: 44px; }

/* Menu principal à 9 entrées (l'entrée « Pathologies ») : sur ordinateur, la barre est alors pleine (il manquait
   96 px au-delà de 1340 px). Ces règles ne jouent que si le menu compte au moins 9 entrées ; à 8, l'en-tête reste
   exactement tel qu'il était. Liens à 7 px au lieu de 10, chevrons à 3 px, écarts de 16 px au lieu de 24, boutons
   à 16 px au lieu de 20 ; les boutons ne se replient jamais sur deux lignes. */
@media (min-width: 1200px) {
  .menu:has(> li:nth-child(9)) > li > .menu__lien { padding-inline: 7px; gap: 3px; }
  .menu:has(> li:nth-child(9)) > li > .menu__lien::after { left: 7px; right: 7px; }
  .entete__ligne:has(.menu > li:nth-child(9)) { gap: 16px; }
  .entete__ligne:has(.menu > li:nth-child(9)) .entete__actions { flex: none; }
  .entete__ligne:has(.menu > li:nth-child(9)) .entete__actions .bouton { padding-inline: 16px; white-space: nowrap; }
}

/* Page d'ensemble : une ligne par fiche, le nom puis sa phrase. Une liste qui se lit, pas une grille de cartes. */
ul.patho-index { list-style: none; margin: 1.5em 0 2.4em; padding: 0; border-top: 1px solid var(--trait); container-type: inline-size; }
.patho-index li { margin: 0; padding: 0; border-bottom: 1px solid var(--trait); }
.patho-index a.patho-index__lien { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; align-items: center; padding: 18px 2px; color: var(--encre); text-decoration: none; }
.patho-index__nom { grid-column: 1; font-weight: 600; font-size: 1.12rem; line-height: 1.3; color: var(--bleu-nuit); transition: color .2s; }
.patho-index__texte { grid-column: 1; font-size: .95rem; line-height: 1.55; color: var(--encre-douce); }
.patho-index__fleche { grid-column: 2; grid-row: 1 / span 2; }
.patho-index a.patho-index__lien:hover .patho-index__nom { color: var(--bleu-texte); }
/* Trois colonnes seulement si la liste est assez large : à côté du formulaire, la colonne de texte est étroite. */
@container (min-width: 620px) {
  .patho-index a.patho-index__lien { grid-template-columns: minmax(8.5em, 12.5em) minmax(0, 1fr) auto; gap: 0 26px; align-items: baseline; padding: 20px 4px; }
  .patho-index__texte { grid-column: 2; }
  .patho-index__fleche { grid-column: 3; grid-row: 1; align-self: center; }
}

/* ---------- L'application (lot « application ») : bloc de la page d'accueil, page /nouvelle-application/ ----------
   Toutes les classes de ce lot commencent par « appli- ». Titres, boutons, étapes, questions et encadrés sont ceux de
   la charte. Les images sont des captures réelles de l'application (outils/application/) : le téléphone est un cadre
   dessiné ici, son écran ne l'est jamais. */

/* Le téléphone, toujours entier. --appli-l est sa largeur : l'épaisseur du cadre et les arrondis en découlent.
   L'écran empile les captures (écrans entiers 1080 × 2400) ; une seule est visible, site.js passe à la suivante. */
.appli-demo { width: 100%; margin: 0; display: grid; justify-items: center; gap: 16px; }
.appli-tel { --appli-l: 226px; width: var(--appli-l); max-width: 100%; }
.appli-tel__cadre { position: relative; padding: calc(var(--appli-l) * .034); border-radius: calc(var(--appli-l) * .16); background: #0e202b;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .17), 0 36px 60px -28px rgba(6, 22, 31, .7), 0 14px 28px -16px rgba(6, 22, 31, .45); }
.appli-tel__cadre::after { content: ""; position: absolute; right: -2.5px; top: 22%; width: 3px; height: 9%; border-radius: 0 2px 2px 0; background: #0e202b; }
.appli-tel__ecran { position: relative; overflow: hidden; aspect-ratio: 1080 / 2400; border-radius: calc(var(--appli-l) * .128); background: #f1f5f9; isolation: isolate; }
/* Les écrans changent par fondu ; pour qui accepte le mouvement, le nouveau arrive de la droite, comme dans l'application. */
.appli-tel__vue { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.appli-tel__vue.est-active { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .appli-tel__vue { transform: translateX(9%); transition: opacity .45s ease, transform .75s var(--sortie); }
  .appli-tel__vue.est-active { transform: none; }
  .appli-tel__vue.est-partie { transform: translateX(-9%); }
}
/* La légende, sous le téléphone, dit ce qu'on regarde ; le bouton de pause n'apparaît qu'avec le script. */
.appli-legende { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; min-height: 34px; padding: 5px 15px; border-radius: 40px;
  background: rgba(14, 32, 43, .92); color: #fff; font-size: .78rem; font-weight: 500; line-height: 1.3; text-align: left; box-shadow: 0 10px 22px -10px rgba(6, 22, 31, .6); }
.appli-legende:has(.appli-pause:not([hidden])) { padding-left: 5px; }
@media (max-width: 479px) { .appli-legende__detail { display: none; } }
@media (max-width: 399px) { .appli-legende { font-size: .74rem; } }
.appli-pause { position: relative; display: grid; place-items: center; flex: none; width: 30px; height: 30px; margin: -3px 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; cursor: pointer;
  transition: background-color .2s, transform .35s var(--sortie); }
.appli-pause::before { content: ""; position: absolute; inset: -9px; }
.appli-pause:hover { background: rgba(255, 255, 255, .32); transform: scale(1.08); }
.appli-pause svg { width: 12px; height: 12px; }
.appli-pause .icone-lecture, .appli-pause[aria-pressed="true"] .icone-pause { display: none; }
.appli-pause[aria-pressed="true"] .icone-lecture { display: block; }

/* Pastille d'icône : le carré arrondi teinté des écrans de l'application. */
.appli-pastille { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 13px; background: var(--fond-bleu); color: var(--bleu-texte); }
.appli-pastille svg { width: 20px; height: 20px; }

/* Bloc bleu nuit de l'application sur l'accueil. De la famille de l'encart et du bandeau d'appel (grande carte
   arrondie, pétales en filigrane). */
.appli-bloc { position: relative; isolation: isolate; overflow: hidden; display: grid; border-radius: var(--rayon-grand); color: #fff;
  background: linear-gradient(158deg, #132d3b 0%, #17384a 42%, #1c5674 100%); box-shadow: var(--ombre); }
.appli-bloc::after { content: ""; position: absolute; z-index: -1; right: -80px; top: -90px; width: 360px; aspect-ratio: 60 / 58.6; background: url("/site/petales.svg") center / contain no-repeat; filter: brightness(0) invert(1); opacity: .05; transform: rotate(20deg); }
.appli-bloc h2, .appli-bloc .main { color: #fff; }
.appli-bloc .sous-titre { color: #d5e6ef; margin-bottom: 1.3em; }
.appli-bloc a:not(.bouton), .appli-bloc a:not(.bouton):hover { color: #fff; }
.appli-bloc a:not(.bouton):hover { text-decoration: underline; }
.appli-bloc .appli-pastille { background: rgba(255, 255, 255, .11); color: #bfe2f1; }
.appli-bloc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 0 0 20px; }
.appli-gage { display: flex; align-items: flex-start; gap: 10px; max-width: 52ch; margin: 0; font-size: .84rem; line-height: 1.5; color: #cfe1ea; }
.appli-gage svg { flex: none; width: 17px; height: 17px; margin-top: 2px; color: #9fd0e6; }
/* Bloc de l'accueil. Sur téléphone : le titre, le téléphone entier juste dessous, puis les tuiles, les deux liens et
   les mentions. Sur ordinateur : le texte à gauche, le téléphone à droite sur toute la hauteur. */
.appli-bloc--vitrine { grid-template-areas: "tete" "visuel" "suite"; }
.appli-bloc__tete { grid-area: tete; min-width: 0; padding: 30px 22px 16px; }
.appli-bloc__tete .sous-titre { margin-bottom: 0; }
.appli-bloc__visuel { grid-area: visuel; position: relative; display: flex; justify-content: center; align-items: flex-start; min-width: 0; padding: 4px 12px 0; }
.appli-bloc__visuel::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 4%; width: 128%; aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(96, 176, 214, .3), rgba(96, 176, 214, 0) 72%); }
.appli-bloc__suite { grid-area: suite; min-width: 0; padding: 26px 22px 30px; }
/* Les tuiles : ce que montre le téléphone, dans l'ordre de ses écrans. Celle de l'écran affiché s'allume et un trait
   fin court sous son texte jusqu'à l'écran suivant ; la toucher montre son écran et arrête le défilement. */
.appli-tuiles { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 26px; padding: 0; }
.appli-tuiles li { display: flex; min-width: 0; }
.appli-tuile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 100%; min-width: 0; padding: 13px 13px 17px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; background: rgba(255, 255, 255, .05); color: #eef5f9; font: inherit; text-align: left; cursor: pointer;
  transition: background-color .3s, border-color .3s; }
.appli-tuile:hover { background: rgba(255, 255, 255, .1); }
.appli-tuile.est-active { border-color: rgba(159, 208, 230, .5); background: rgba(255, 255, 255, .13); }
.appli-tuile .appli-pastille { width: 36px; height: 36px; margin-bottom: 7px; border-radius: 11px; transition: background-color .3s, color .3s; }
.appli-tuile .appli-pastille svg { width: 18px; height: 18px; }
.appli-bloc .appli-tuile.est-active .appli-pastille { background: #9fd0e6; color: var(--bleu-nuit); }
.appli-tuile__titre { font-size: .93rem; font-weight: 600; line-height: 1.25; color: #fff; }
.appli-tuile__texte { font-size: .8rem; line-height: 1.4; color: #bcd3df; }
.appli-tuile::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 8px; height: 2px; border-radius: 2px; background: #9fd0e6; opacity: 0; transform: scaleX(0); transform-origin: left center; }
@media (prefers-reduced-motion: no-preference) {
  .appli-tuile.est-active.avance::after { opacity: .9; transform: scaleX(1); transition: transform var(--appli-duree, 4.4s) linear; }
}
/* La santé connectée, au second plan : une ligne, sous les deux liens. */
.appli-sante { max-width: 56ch; margin: 0 0 14px; font-size: .84rem; line-height: 1.55; color: #cfe1ea; }
@media (min-width: 900px) {
  /* Le texte se centre en hauteur face au téléphone. */
  .appli-bloc--vitrine { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-rows: 1fr auto auto 1fr; grid-template-areas: ". visuel" "tete visuel" "suite visuel" ". visuel"; }
  .appli-bloc__tete { padding: 50px 0 0 54px; }
  .appli-bloc__suite { padding: 28px 0 50px 54px; }
  .appli-bloc__visuel { align-self: center; padding: 46px 24px; }
  .appli-bloc .appli-tel { --appli-l: 278px; }
  .appli-tuile { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 14px; padding: 14px 16px 18px; }
  .appli-tuile .appli-pastille { grid-row: 1 / span 2; margin: 0; }
  .appli-tuile::after { left: 16px; right: 16px; }
}
/* Variante claire du bloc de l'accueil. Dès qu'une vidéo de témoignage est en ligne, la section qui suit le bloc est
   le panneau bleu nuit des témoignages : deux panneaux sombres à la suite s'écraseraient l'un l'autre. Dans ce seul
   cas, le bloc passe sur le lavis de la charte (celui du haut de la page de l'application) et laisse le bleu nuit
   aux témoignages ; les pétales descendent derrière le téléphone, loin du texte. Sans vidéo en ligne, et dans un
   navigateur qui ignore « :has() », le bloc reste bleu nuit. */
.section:has(+ .section .temoignages) .appli-bloc { color: var(--bleu-nuit); background: var(--lavis); box-shadow: none; }
.section:has(+ .section .temoignages) .appli-bloc::after { top: auto; right: -70px; bottom: -110px; width: min(430px, 70vw); filter: none; opacity: .16; transform: rotate(-14deg); }
.section:has(+ .section .temoignages) .appli-bloc h2,
.section:has(+ .section .temoignages) .appli-bloc a:not(.bouton) { color: var(--bleu-nuit); }
.section:has(+ .section .temoignages) .appli-bloc .main { color: var(--bleu); }
.section:has(+ .section .temoignages) .appli-bloc .sous-titre, .section:has(+ .section .temoignages) .appli-gage { color: #33485a; }
.section:has(+ .section .temoignages) .appli-bloc .appli-pastille { background: rgba(255, 255, 255, .75); color: var(--bleu-texte); }
.section:has(+ .section .temoignages) .appli-gage svg { color: var(--bleu-texte); }
.section:has(+ .section .temoignages) .appli-bloc .bouton--blanc { background: var(--bleu-texte); color: #fff; }
.section:has(+ .section .temoignages) .appli-bloc .bouton--blanc:hover { background: var(--bleu-nuit); color: #fff; }
.section:has(+ .section .temoignages) .appli-bloc__visuel::before { background: radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 72%); }
.section:has(+ .section .temoignages) .appli-tuile { border-color: rgba(23, 56, 74, .1); background: rgba(255, 255, 255, .5); color: var(--bleu-nuit); }
.section:has(+ .section .temoignages) .appli-tuile:hover { background: rgba(255, 255, 255, .8); }
.section:has(+ .section .temoignages) .appli-tuile.est-active { border-color: rgba(36, 114, 152, .4); background: #fff; }
.section:has(+ .section .temoignages) .appli-tuile__titre { color: var(--bleu-nuit); }
.section:has(+ .section .temoignages) .appli-tuile__texte, .section:has(+ .section .temoignages) .appli-sante { color: #33485a; }
.section:has(+ .section .temoignages) .appli-bloc .appli-tuile.est-active .appli-pastille { background: var(--bleu-texte); color: #fff; }
.section:has(+ .section .temoignages) .appli-tuile::after { background: var(--bleu-texte); }

/* Haut de la page produit : le bandeau de la charte, le téléphone à droite (dessous sur téléphone). */
.appli-heros > .conteneur { padding-bottom: 0; }
.appli-heros__grille { display: grid; gap: 8px; }
.appli-heros__texte { min-width: 0; padding-bottom: 10px; }
.appli-heros__visuel { position: relative; display: flex; justify-content: center; align-items: flex-start; padding: 18px 0 30px; }
.appli-heros .appli-tel { --appli-l: 226px; }
.appli-heros__note { margin: 14px 0 0; font-size: .88rem; color: #33485a; }
.appli-magasins { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.appli-magasins a { display: inline-flex; border-radius: 8px; transition: transform .35s var(--sortie); }
.appli-magasins a:hover { transform: translateY(-2px); }
.appli-magasins img { display: block; width: auto; height: 44px; }
@media (min-width: 900px) {
  .appli-heros__grille { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; }
  .appli-heros__texte { align-self: center; padding-bottom: clamp(26px, 3.8vw, 46px); }
  .appli-heros__visuel { padding: 6px 0 clamp(26px, 3.8vw, 46px); }
  .appli-heros .appli-tel { --appli-l: 278px; }
}

/* Ce que fait l'application, ce qui protège les données : des lignes séparées d'un filet, pas des cartes. */
.appli-atouts { display: grid; gap: 4px; }
.appli-liste { list-style: none; margin: 0; padding: 0; }
.appli-liste li { display: flex; align-items: flex-start; gap: 18px; padding: 20px 0; border-top: 1px solid var(--trait); }
.appli-liste li:first-child { border-top: 0; padding-top: 4px; }
.appli-liste li:last-child { padding-bottom: 0; }
.appli-liste h3 { margin: 1px 0 .3em; font-size: 1.1rem; }
.appli-liste p { max-width: 62ch; margin: 0; color: var(--encre-douce); }
@media (min-width: 980px) {
  .appli-atouts { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
  .appli-atouts__tete { position: sticky; top: calc(var(--entete) + 28px); }
}

/* Santé connectée, au second plan : une section claire, les deux systèmes, quelques familles de données et une carte
   réelle de l'application (le cœur au repos). Rien sur l'activité physique. */
.appli-sante-tel { display: grid; gap: 26px; }
.appli-sante-tel__texte { min-width: 0; }
.appli-plateformes { margin: 0 0 22px; }
.appli-plateformes div { padding: 14px 0; border-top: 1px solid var(--trait); }
.appli-plateformes div:last-child { border-bottom: 1px solid var(--trait); }
.appli-plateformes dt { margin-bottom: 2px; font-size: .98rem; font-weight: 600; color: var(--bleu-nuit); }
.appli-plateformes dd { max-width: 60ch; margin: 0; font-size: .93rem; line-height: 1.55; color: var(--encre-douce); }
.appli-familles__titre { margin: 0 0 10px; font-size: .9rem; font-weight: 500; color: var(--encre-douce); }
.appli-familles { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.appli-familles li { padding: 6px 13px; border: 1px solid var(--trait); border-radius: 40px; background: #fff; color: var(--bleu-nuit); font-size: .84rem; font-weight: 500; }
.appli-sante-tel__extrait img { max-width: 360px; }
@media (min-width: 900px) {
  .appli-sante-tel { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 72px; align-items: center; }
  .appli-plateformes div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; }
}

/* Protection des données : les garanties à gauche, l'encadré réel de l'application à droite. */
.appli-confiance { display: grid; gap: 28px; }
.appli-liste--garanties li { border-top-color: #eadfd2; }
.appli-confiance__cote { display: grid; gap: 16px; align-content: start; min-width: 0; }
.appli-extrait { margin: 0; }
.appli-extrait img { display: block; width: 100%; max-width: 460px; height: auto; filter: drop-shadow(0 14px 20px rgba(23, 56, 74, .16)); }
.appli-extrait figcaption { margin-top: 8px; font-size: .8rem; color: var(--encre-douce); }
.appli-jamais { margin: 0; font-size: .92rem; color: #3b2e20; }
.appli-liens { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.note-info.appli-confiance__note { max-width: none; margin: 28px 0 0; }
@media (min-width: 980px) {
  .appli-confiance { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 34px 72px; align-items: start; }
  .appli-confiance__cote { position: sticky; top: calc(var(--entete) + 28px); padding-top: 6px; }
  .note-info.appli-confiance__note { margin-top: 36px; }
}

/* Dernière section : le chemin vers un bilan, puis la ligne des marques citées. */
.appli-bilan { display: grid; gap: 26px; align-items: center; }
.appli-bilan__texte { min-width: 0; }
.appli-bilan__texte > p { max-width: 56ch; color: var(--encre-douce); }
.appli-bilan__texte > .appli-bilan__centres { margin: 20px 0 0; }
/* Sur une seule colonne, le formulaire suit le texte : aucun bouton ne s'intercale (même règle que les pages des
   centres) ; la réservation en ligne reste sous le pouce, dans la barre des téléphones. */
@media (max-width: 979.98px) { .appli-bilan .reservation-boutons { display: none; } }
@media (min-width: 980px) { .appli-bilan { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 72px; } }
.appli-marques { margin: 34px 0 0; padding-top: 18px; border-top: 1px solid var(--trait); font-size: .76rem; line-height: 1.6; color: var(--encre-legere); text-wrap: pretty; }

/* ---------- Rangées qui défilent sur téléphone ----------
   Cures, méthodes, centres, articles, équipe : une rangée que le pouce fait glisser, au lieu d'écrans empilés.
   Placé après tous les composants : cette disposition l'emporte sur leur grille. */
@media (max-width: 699px) {
  .defile, .filtres { position: relative; }
  .defile { display: flex; grid-template-columns: none; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--marge)); padding: 6px var(--marge) 22px; scroll-padding-inline: var(--marge); }
  .defile::-webkit-scrollbar { display: none; }
  .defile > * { flex: 0 0 78%; scroll-snap-align: start; min-width: 0; }
  .defile--petit > * { flex-basis: 42%; }
  .defile--2 { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 46%; }
  .methodes.defile > .methode { min-height: 280px; }
}

/* ---------- Mouvement ----------
   Tout est visible par défaut. Le script de tête pose « anime » sur <html> quand le visiteur n'a pas demandé
   moins de mouvement ; un élément attend alors d'entrer à l'écran. S'il manquait le script, il apparaît seul. */
@media (prefers-reduced-motion: no-preference) {
  /* Les mots écrits à la main se tracent de gauche à droite. */
  html.anime .main, html.anime .heros__accroche { clip-path: inset(-20% 100% -40% 0); animation: secours 0s 3s forwards; }
  html.anime .main.vu, html.anime .heros__accroche.vu { clip-path: inset(-20% -5% -40% 0); transition: clip-path 1.1s var(--sortie) .15s; animation: none; }
  /* Les rangées de cartes montent l'une après l'autre. */
  html.anime [data-cascade] > * { opacity: 0; transform: translateY(22px); animation: secours 0s 3s forwards; }
  html.anime [data-cascade].vu > * { opacity: 1; transform: none; animation: none; transition: opacity .7s var(--sortie), transform .9s var(--sortie); transition-delay: calc(var(--rang, 0) * 70ms); }
  html.anime [data-cascade].vu > :nth-child(2) { --rang: 1; }
  html.anime [data-cascade].vu > :nth-child(3) { --rang: 2; }
  html.anime [data-cascade].vu > :nth-child(4) { --rang: 3; }
  html.anime [data-cascade].vu > :nth-child(5) { --rang: 4; }
  html.anime [data-cascade].vu > :nth-child(6) { --rang: 5; }
  html.anime [data-cascade].vu > :nth-child(n+7) { --rang: 6; }
  /* Titres de section, encarts, avis, questions et bandeaux d'appel montent en entrant à l'écran. */
  html.anime :is(.titre-section, .sous-titre, .encart, .appel, .avis-reseau, .questions, .carte-plan) { opacity: 0; transform: translateY(18px); animation: secours 0s 3s forwards; }
  html.anime :is(.titre-section, .sous-titre, .encart, .appel, .avis-reseau, .questions, .carte-plan).vu { opacity: 1; transform: none; animation: none; transition: opacity .7s var(--sortie), transform .9s var(--sortie); }
  html.anime .sous-titre.vu { transition-delay: .08s; }
  /* Les trois étapes : la ligne qui les relie se trace après chaque pastille. */
  html.anime .etapes .etape::after { transform: scaleY(0); transform-origin: 50% 0; animation: secours 0s 3s forwards; }
  html.anime .etapes.vu .etape::after { transform: none; animation: none; transition: transform .9s var(--sortie); transition-delay: calc(var(--rang, 0) * 70ms + 450ms); }
  /* Les étoiles de la note du réseau se remplissent jusqu'à la note relevée (jamais au-delà). */
  html.anime .avis-reseau .note__etoiles { --plein: 0%; animation: secours-note 0s 3s forwards; }
  html.anime .avis-reseau.vu .note__etoiles { --plein: var(--note, 100%); animation: none; transition: --plein 1.4s var(--sortie) .3s; }
  @keyframes secours-note { to { --plein: var(--note, 100%); } }
  /* La carte du formulaire de l'accueil se pose ; l'image d'un bandeau aussi (sans fondu : c'est souvent le plus grand
     élément de la page, il doit être peint tout de suite). */
  html.anime .heros .formulaire { animation: pose 1s var(--sortie) both; }
  html.anime .bandeau__image img, html.anime .pole__photo { animation: pose-image 1.2s var(--sortie) both; }
  @keyframes pose { from { opacity: 0; transform: translateY(26px) scale(.98); } }
  @keyframes pose-image { from { transform: translateY(24px) rotate(-1.5deg) scale(.95); } }
  @keyframes secours { to { clip-path: none; opacity: 1; transform: none; } }
  /* Passage d'une page à l'autre : fondu court, l'en-tête reste en place. */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: sortie-page .18s ease-in both; }
  ::view-transition-new(root) { animation: entree-page .45s var(--sortie) both; }
  @keyframes sortie-page { to { opacity: 0; } }
  @keyframes entree-page { from { opacity: 0; transform: translateY(10px); } }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
  html.anime .etapes .etape::after { transform: scaleX(0); transform-origin: 0 50%; }
}
@media (max-width: 699px) {
  /* Dans une rangée qui défile, les cartes hors de l'écran ne doivent pas rester invisibles. */
  html.anime .defile[data-cascade] > * { opacity: 1; transform: none; animation: none; }
}
/* Mouvements liés au défilement, sans script : seulement dans les navigateurs qui savent les faire (les autres
   affichent la même page, immobile). Rien ne change de place : ce sont des glissements à l'intérieur d'un cadre. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Les pétales du logo, en filigrane, glissent doucement pendant le défilement. */
    .bandeau::after { animation: petales-haut linear both; animation-timeline: scroll(root block); animation-range: 0 560px; }
    .appel { view-timeline: --appel block; }
    .pied { view-timeline: --pied block; }
    .appel::after { animation: petales-bas linear both; animation-timeline: --appel; animation-range: entry 0% exit 100%; }
    .pied::after { animation: petales-bas linear both; animation-timeline: --pied; animation-range: entry 0% cover 60%; }
    @keyframes petales-haut { to { translate: 0 60px; rotate: 12deg; } }
    @keyframes petales-bas { from { translate: 0 -34px; rotate: -10deg; } to { translate: 0 34px; rotate: 10deg; } }
    /* Les tuiles des méthodes : l'image glisse un peu dans son cadre. */
    .methode img { scale: 1.14; animation: glisse linear both; animation-timeline: view(block); animation-range: entry 0% exit 100%; }
    @keyframes glisse { from { translate: 0 -5%; } to { translate: 0 5%; } }
  }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .entete, .pied, .formulaire, .appel, .barre-mobile, .progression, .sommaire, .encadre, .matieres, .bandeau__action, .fil { display: none !important; } .bandeau { margin: 0; background: none; } body { padding: 0 !important; }
  .page__grille--lecture { display: block; } .texte--legale { font-size: 10.5pt; } .texte--legale h2, .texte--legale h3 { break-after: avoid; } .texte details { border: 0; padding: 0; } }
/* Sur papier, les réponses repliées sont imprimées elles aussi. */
@media print { .texte details::details-content { content-visibility: visible !important; block-size: auto !important; } }

/* ---------- Prise de rendez-vous en ligne (lot « réservation ») ----------
   Deux chemins sur chaque page : réserver en ligne (le moteur de réservation, une application à part) et être rappelé
   (le formulaire de bilan). Rien de neuf dans la charte : les boutons, le bandeau d'appel et la barre des téléphones
   de l'accueil, avec l'icône du calendrier pour signaler le moteur. Classes en « reservation ». */
.entete__actions .reservation-entete { gap: 8px; }
@media (max-width: 359.98px) { .entete__actions .reservation-entete { padding-inline: 14px; } .reservation-entete svg { display: none; } }

/* Bandeau « prendre rendez-vous » : le bandeau d'appel vert, avec ses deux chemins (bloc site/blocs/reservation). */
.reservation__actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.appel .reservation__rappel { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); }
.appel .reservation__rappel:hover { background: #fff; border-color: #fff; color: var(--vert-fonce); }
.reservation__appel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; color: #fff; font-weight: 500; font-size: .92rem; text-decoration: none; }
.reservation__appel:hover { color: #fff; text-decoration: underline; }
.reservation__appel svg { width: 17px; height: 17px; flex: none; }
.texte .reservation { margin: 2.2em 0; }
.avertissement + .reservation { margin-top: 26px; }
.texte .reservation h2 { margin-top: 0; font-size: clamp(1.3rem, 2.4vw, 1.6rem); }

/* Les deux boutons seuls, pour un premier écran (page d'un centre). */
.reservation-boutons { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.reservation-boutons .bouton--contour { background: rgba(255, 255, 255, .78); }
.reservation-boutons .bouton--contour:hover { background: var(--bleu-texte); }
/* Sur téléphone, l'un sous l'autre, en pleine largeur, chacun sur une seule ligne : marges resserrées, et sous 375 px
   de large le texte seul, sans l'icône. */
@media (max-width: 479.98px) {
  .reservation-boutons .bouton { flex: 1 1 100%; }
  .reservation-boutons .bouton, .reservation__actions .bouton { padding-inline: 14px; gap: 8px; }
  .reservation__actions .bouton { font-size: .9rem; }
}
@media (max-width: 374.98px) { .reservation-boutons .bouton svg, .reservation__actions .bouton svg { display: none; } }
@media (max-width: 359.98px) { .appel.reservation { padding-inline: 18px; } .reservation__actions .bouton { font-size: .85rem; } }

/* Haut de l'accueil : réserver en ligne d'abord, le concept ensuite ; les boutons passent à la ligne sur téléphone. */
.reservation-heros { flex-wrap: wrap; }
.heros__texte .reservation-heros { max-width: none; }
.reservation-heros .bouton--blanc { box-shadow: var(--ombre-legere); }

/* Les formulaires du premier écran (accueil, centres) ne descendent jamais au profit du moteur : ce sont eux qui
   apportent les demandes de bilan. Sur une seule colonne (téléphone, tablette), aucun bouton ne s'ajoute au-dessus
   d'eux ; la réservation en ligne y reste visible dès le premier écran par le bouton de l'en-tête, puis par la barre
   des téléphones et le bandeau de fin de page. Sur deux colonnes, les deux chemins sont côte à côte. */
@media (max-width: 979.98px) { .pole__texte .reservation-boutons { display: none; } }
@media (max-width: 759.98px) { .reservation-heros [data-reservation] { display: none; } }

/* Barre des téléphones à trois gestes (centre qui réserve en ligne) : appeler (icône seule), réserver, être rappelé. */
.reservation-barre { gap: 6px; }
.reservation-barre .bouton { font-size: .86rem; padding-inline: 8px; }
.barre-mobile .reservation-icone { flex: none; width: 48px; padding: 0; }
.reservation-icone svg { width: 20px; height: 20px; }

/* ---------- Sommaire en tête des pages longues (gabarit page) ---------- */
.texte .sommaire-page { margin: 0 0 2.2em; padding: 18px 20px 10px; border-radius: var(--rayon-grand); background: var(--fond-bleu); }
.texte .sommaire-page__titre { margin: 0 0 4px; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bleu-texte); }
.texte .sommaire-page ol { list-style: none; counter-reset: partie; margin: 0; padding: 0; }
.texte .sommaire-page li { counter-increment: partie; margin: 0; padding: 0; }
.texte .sommaire-page li::before, .texte .sommaire-page li::marker { content: none; }
.texte .sommaire-page a { display: flex; align-items: baseline; gap: 14px; min-height: 44px; padding: 11px 0; box-sizing: border-box; border-top: 1px solid rgba(23, 62, 92, .1); color: var(--bleu-nuit); font-weight: 500; line-height: 1.35; text-decoration: none; }
.texte .sommaire-page li:first-child a { border-top: 0; }
.texte .sommaire-page a::before { content: counter(partie, decimal-leading-zero); flex: none; font-size: .78rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--orange-texte); }
.texte .sommaire-page a:hover { color: var(--bleu-texte); }
.texte h2[id] { scroll-margin-top: 96px; }
/* Titres mis en gras dans les textes de l'ancien site : un titre est déjà gras (700), jamais un gras simulé plus épais. */
h1 strong, h1 b, h2 strong, h2 b, h3 strong, h3 b, h4 strong, h4 b { font-weight: inherit; }
