/* ==========================================================================
   Dr Camille Denis — feuille de styles unique
   Identité : « L'axone » (fibre nerveuse myélinisée + électrode)
   Polices auto-hébergées (aucune requête vers Google) :
   Source Serif 4 (titres), Atkinson Hyperlegible (texte), IBM Plex Mono (repères)
   ========================================================================== */

@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* Couleurs */
  --encre: #122A33;        /* texte, sections sombres */
  --petrole: #1D5566;      /* couleur principale, liens */
  --petrole-fonce: #163F4C;
  --trace: #177F62;        /* accent EMG, boutons */
  --trace-fonce: #11644D;
  --menthe: #E1F1EB;       /* fonds d'accent */
  --brume: #E7EFF1;        /* fonds pétrole clair */
  --papier: #F4F7F7;       /* fond de page */
  --blanc: #FFFFFF;
  --gris: #51666D;         /* texte secondaire */
  --ligne: #D6E1E2;        /* filets, bordures */
  --clair-sur-fonce: #B9D9E2;

  /* Typographie */
  --f-titre: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-texte: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  /* Mise en page */
  --largeur: 1180px;
  --gouttiere: clamp(20px, 4vw, 40px);
  --espace-section: clamp(64px, 8vw, 112px);
  --rayon: 14px;
  --rayon-petit: 8px;
  --ombre: 0 1px 2px rgba(18, 42, 51, .06), 0 8px 24px rgba(18, 42, 51, .06);
}

/* --- Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--papier); color: var(--encre); font: 400 1.125rem/1.65 var(--f-texte); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrole); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--petrole-fonce); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--trace); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-titre); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.005em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
h4 { font-size: 1.1rem; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .35em; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--ligne); margin: 2em 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.lien-evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: var(--rayon-petit); }
.lien-evitement:focus { top: 12px; color: #fff; }

/* --- Conteneurs et sections --------------------------------------------- */
.conteneur { max-width: var(--largeur); margin-inline: auto; padding-inline: var(--gouttiere); }
.etroit { max-width: 760px; }
.section { padding-block: var(--espace-section); }
.section--blanc { background: var(--blanc); }
.section--menthe { background: var(--menthe); }
.section--brume { background: var(--brume); }
.section--fonce { background: var(--encre); color: #E4EDEF; }
.section--fonce h2, .section--fonce h3 { color: #fff; }
.section--fonce a { color: var(--clair-sur-fonce); }
.section--serree { padding-block: clamp(40px, 5vw, 64px); }

.surtitre { display: block; font: 500 .78rem/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--petrole); margin-bottom: .9rem; }
.section--fonce .surtitre { color: var(--clair-sur-fonce); }
.chapeau { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--gris); max-width: 62ch; }
.entete-section { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.entete-section--centre { margin-inline: auto; text-align: center; }
.entete-section--centre .chapeau { margin-inline: auto; }
.texte { max-width: 68ch; }

/* --- Boutons ------------------------------------------------------------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.35em; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.2 var(--f-texte); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s; }
.bouton:hover { text-decoration: none; transform: translateY(-1px); }
.bouton--principal { background: var(--trace); color: #fff; }
.bouton--principal:hover { background: var(--trace-fonce); color: #fff; }
.bouton--secondaire { background: transparent; color: var(--petrole); border-color: currentColor; }
.bouton--secondaire:hover { background: var(--petrole); border-color: var(--petrole); color: #fff; }
.bouton--clair { background: #fff; color: var(--encre); }
.bouton--clair:hover { background: var(--menthe); color: var(--encre); }
.bouton--petit { min-height: 40px; padding: .5em 1.05em; font-size: .95rem; }
.bouton svg { width: 1.1em; height: 1.1em; flex: none; }
.groupe-boutons { display: flex; flex-wrap: wrap; gap: 12px; }

.lien-fleche { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.lien-fleche::after { content: "→"; transition: transform .15s; }
.lien-fleche:hover::after { transform: translateX(3px); }

/* --- Bandeau supérieur ---------------------------------------------------- */
.bandeau { background: var(--encre); color: #E4EDEF; font-size: .9rem; }
.bandeau .conteneur { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; min-height: 40px; padding-block: 6px; }
.bandeau a { color: #fff; text-decoration: none; }
.bandeau a:hover { text-decoration: underline; }
.bandeau__centres { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.bandeau__centres span { opacity: .8; }
.bandeau__droite { display: flex; align-items: center; gap: 18px; }
.langues { display: flex; gap: 4px; font: 500 .8rem var(--f-mono); letter-spacing: .06em; }
.langues a, .langues span { padding: 2px 6px; border-radius: 4px; }
.langues [aria-current] { background: rgba(255,255,255,.14); }
.annonce { background: #FFF6DA; color: var(--encre); border-bottom: 1px solid #F0DDA0; font-size: .98rem; }
.annonce .conteneur { padding-block: 10px; }
.annonce[hidden] { display: none; }

/* --- En-tête -------------------------------------------------------------- */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--ligne); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo { display: block; flex: none; }
.logo img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__liste { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__liste li { margin: 0; position: relative; }
.nav__lien { display: inline-flex; align-items: center; gap: .3em; padding: 10px 12px; border-radius: var(--rayon-petit); color: var(--encre); font-weight: 700; font-size: 1rem; text-decoration: none; background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav__lien:hover { background: var(--brume); color: var(--encre); text-decoration: none; }
.nav__lien[aria-current="page"], .nav__lien.est-actif { color: var(--petrole); box-shadow: inset 0 -2px 0 var(--trace); border-radius: 0; }
.nav__lien--emg::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--trace); }
.nav .bouton { margin-left: 10px; }
.chevron { width: 12px; height: 12px; transition: transform .15s; }
.sous-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 8px; list-style: none; margin: 0; display: none; }
.sous-menu a { display: block; padding: 10px 12px; border-radius: var(--rayon-petit); text-decoration: none; color: var(--encre); font-weight: 700; }
.sous-menu a small { display: block; font-weight: 400; color: var(--gris); font-size: .88rem; }
.sous-menu a:hover, .sous-menu a[aria-current="page"] { background: var(--brume); }
.a-sous-menu:hover > .sous-menu, .a-sous-menu:focus-within > .sous-menu, .a-sous-menu.est-ouvert > .sous-menu { display: block; }
.a-sous-menu.est-ouvert .chevron { transform: rotate(180deg); }
.bouton-menu { display: none; }

@media (max-width: 1060px) {
  .bouton-menu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--ligne); border-radius: 999px; background: #fff; font: 700 1rem var(--f-texte); color: var(--encre); cursor: pointer; }
  .bouton-menu svg { width: 20px; height: 20px; }
  .nav { position: fixed; inset: 0 0 0 auto; top: 0; width: min(420px, 100%); height: 100dvh; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 88px 20px 32px; box-shadow: -20px 0 40px rgba(18,42,51,.15); transform: translateX(105%); transition: transform .25s ease; overflow-y: auto; z-index: 60; }
  .nav.est-ouvert { transform: none; }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__liste > li { border-bottom: 1px solid var(--ligne); }
  .nav__lien { width: 100%; justify-content: space-between; padding: 16px 6px; font-size: 1.1rem; border-radius: 0; }
  .nav__lien[aria-current="page"], .nav__lien.est-actif { box-shadow: inset 3px 0 0 var(--trace); padding-left: 14px; }
  .sous-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 10px 10px; min-width: 0; }
  .a-sous-menu:hover > .sous-menu { display: block; }
  .nav .bouton { margin: 24px 0 0; }
  .nav__fermer { position: absolute; top: 20px; right: 20px; }
  body.menu-ouvert { overflow: hidden; }
  .voile { position: fixed; inset: 0; background: rgba(18,42,51,.45); z-index: 55; }
}
@media (min-width: 1061px) { .nav__fermer, .voile { display: none !important; } }
@media (max-width: 560px) { .logo img { height: 42px; } .entete .conteneur { min-height: 66px; } .bandeau__centres { display: none; } }

/* --- Barre d'action mobile ---------------------------------------------- */
.barre-mobile { display: none; }
@media (max-width: 760px) {
  .barre-mobile { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.97); border-top: 1px solid var(--ligne); box-shadow: 0 -6px 20px rgba(18,42,51,.08); }
  .barre-mobile .bouton { flex: 1; min-height: 48px; padding-inline: .8em; font-size: .98rem; }
  body { padding-bottom: 76px; }
}

/* --- Accueil : héros ----------------------------------------------------- */
.heros { position: relative; overflow: hidden; background: var(--papier); padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); }
.heros .conteneur { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.heros h1 { margin-bottom: .25em; }
.heros__specialite { font: 700 clamp(1.05rem, 1.6vw, 1.2rem)/1.4 var(--f-texte); color: var(--petrole); letter-spacing: .01em; margin-bottom: 1.1rem; }
.heros .chapeau { margin-bottom: 1.6rem; }
.pastilles { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.8rem; padding: 0; list-style: none; }
.pastilles li { margin: 0; }
.pastille { display: inline-flex; align-items: center; gap: .45em; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--ligne); font-size: .95rem; font-weight: 700; color: var(--encre); }
.pastille--emg { background: var(--trace); border-color: var(--trace); color: #fff; }
.pastille--emg::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.pastille--douce { background: var(--menthe); border-color: transparent; color: var(--trace-fonce); }

.portrait { position: relative; justify-self: center; width: min(100%, 440px); }
.portrait__cadre { position: relative; z-index: 1; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--ombre); aspect-ratio: 5 / 6; }
.portrait__cadre img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 0; }
.portrait__motif { position: absolute; z-index: 0; width: 125%; left: -20%; top: -12%; color: var(--petrole); opacity: .1; pointer-events: none; }
.portrait__legende { position: absolute; z-index: 2; left: -18px; bottom: 24px; background: #fff; border-radius: var(--rayon); box-shadow: var(--ombre); padding: 12px 16px; font-size: .95rem; line-height: 1.35; max-width: 250px; }
.portrait__legende strong { display: block; font-family: var(--f-titre); font-size: 1.1rem; }
@media (max-width: 880px) {
  .heros .conteneur { grid-template-columns: 1fr; }
  .portrait { order: -1; width: min(100%, 320px); justify-self: start; }
  .portrait__cadre { aspect-ratio: 1 / 1; border-radius: 22px; }
  .portrait__legende { left: auto; right: -10px; bottom: 14px; }
}

/* --- Bloc EMG en vedette ------------------------------------------------ */
.vedette-emg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; background: var(--encre); color: #E4EDEF; border-radius: 24px; overflow: hidden; }
.vedette-emg__texte { padding: clamp(28px, 4vw, 56px); }
.vedette-emg h2 { color: #fff; }
.vedette-emg .surtitre { color: #7FD9B8; }
.vedette-emg__image { position: relative; min-height: 280px; background: #0E1E24; }
.vedette-emg__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.vedette-emg .etapes { margin-block: 1.4em 1.8em; }
@media (max-width: 880px) { .vedette-emg { grid-template-columns: 1fr; } .vedette-emg__image { min-height: 220px; order: -1; } }

/* --- Étapes (Avant / Pendant / Après) ----------------------------------- */
.etapes { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: etape; }
.etapes li { margin: 0; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.etapes li::before { counter-increment: etape; content: counter(etape); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--menthe); color: var(--trace-fonce); font: 500 1rem var(--f-mono); }
.section--fonce .etapes li::before, .vedette-emg .etapes li::before { background: rgba(127, 217, 184, .16); color: #7FD9B8; }
.etapes strong { display: block; font-size: 1.08rem; }
.etapes p { margin: .15em 0 0; }

/* --- Cartes de centres ---------------------------------------------------- */
.grille { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grille--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grille--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 980px) { .grille--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grille--3, .grille--2 { grid-template-columns: 1fr; } }

.carte-centre { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; min-width: 0; }
.carte-centre__image { aspect-ratio: 16 / 10; overflow: hidden; background: var(--brume); }
.carte-centre__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.carte-centre:hover .carte-centre__image img { transform: scale(1.03); }
.carte-centre__corps { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.carte-centre__ville { font: 500 .78rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--trace-fonce); }
.carte-centre h3 { margin: 0; }
.carte-centre h3 a { color: inherit; text-decoration: none; }
.carte-centre h3 a:hover { text-decoration: underline; }
.carte-centre address { font-style: normal; color: var(--gris); }
.carte-centre__actions { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.carte-centre__plateforme { font-size: .88rem; color: var(--gris); }

/* --- Cartes de services ------------------------------------------------- */
.carte { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 26px; min-width: 0; }
.carte h3 { margin: 0; }
.carte p { color: var(--gris); margin: 0; }
.carte .lien-fleche { margin-top: auto; padding-top: 10px; }
.carte--emg { background: var(--menthe); border-color: #BFE2D3; }
.carte__icone { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brume); color: var(--petrole); margin-bottom: 6px; }
.carte--emg .carte__icone { background: #fff; color: var(--trace); }
.carte__icone svg { width: 26px; height: 26px; }

/* --- Informations pratiques ------------------------------------------------ */
.infos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); }
.infos > div { padding: 22px 24px; min-width: 0; }
.infos > div + div { border-left: 1px solid var(--ligne); }
.infos strong { display: block; margin-bottom: 4px; }
.infos p { margin: 0; color: var(--gris); }
@media (max-width: 760px) { .infos { grid-template-columns: 1fr; } .infos > div + div { border-left: 0; border-top: 1px solid var(--ligne); } }

.note { display: flex; gap: 14px; background: var(--brume); border-radius: var(--rayon); padding: 18px 20px; }
.note svg { flex: none; width: 24px; height: 24px; color: var(--petrole); margin-top: 2px; }
.note p { margin: 0; }
.note--menthe { background: var(--menthe); }
.note--menthe svg { color: var(--trace); }
.note--alerte { background: #FDECEA; }
.note--alerte svg { color: #A93F2A; }

/* --- En-tête des pages intérieures -------------------------------------- */
.page-entete { position: relative; overflow: hidden; background: var(--papier); padding-block: clamp(36px, 5vw, 64px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--ligne); }
.page-entete h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); max-width: 20ch; }
.page-entete .chapeau { margin-bottom: 0; }
.page-entete .groupe-boutons { margin-top: 1.6rem; }
.page-entete__motif { position: absolute; right: -80px; top: 50%; width: 420px; transform: translateY(-50%); color: var(--petrole); opacity: .07; pointer-events: none; }
@media (max-width: 760px) { .page-entete__motif { width: 280px; right: -120px; } }
.fil-ariane { font-size: .92rem; color: var(--gris); margin-bottom: 1.2rem; }
.fil-ariane ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.fil-ariane li { margin: 0; }
.fil-ariane li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.fil-ariane a { color: var(--gris); }

/* --- Mise en page article ------------------------------------------------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.article__corps > h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; }
.article__corps > h2:first-child { margin-top: 0; }
.article__corps > h3 { margin-top: 1.6em; }
.article__corps > p, .article__corps > ul, .article__corps > ol { max-width: 68ch; }
.article__lateral { position: sticky; top: 100px; display: grid; gap: 16px; }
@media (max-width: 980px) { .article { grid-template-columns: 1fr; } .article__lateral { position: static; } }
.encadre { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 22px; }
.encadre h2, .encadre h3 { font-size: 1.2rem; margin-bottom: .6em; }
.encadre ul { padding-left: 1.1em; margin-bottom: 0; }
.encadre--fonce { background: var(--encre); border-color: var(--encre); color: #E4EDEF; }
.encadre--fonce h2, .encadre--fonce h3 { color: #fff; }
.encadre--fonce p { color: #C9D6DA; }
.liste-coches { list-style: none; padding: 0; }
.liste-coches li { position: relative; padding-left: 32px; }
.liste-coches li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--menthe) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23177F62' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }

/* --- FAQ ------------------------------------------------------------------ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); }
.faq details[open] { border-color: #B8CDD2; box-shadow: var(--ombre); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 18px 22px; font: 600 1.18rem/1.35 var(--f-titre); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brume); color: var(--petrole); font: 500 1.2rem/1 var(--f-mono); transition: transform .2s; }
.faq details[open] summary::after { content: "−"; background: var(--menthe); color: var(--trace-fonce); }
.faq__reponse { padding: 0 22px 22px; }
.faq__reponse > :last-child { margin-bottom: 0; }
.faq__theme { font: 500 .74rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--trace-fonce); display: block; margin-bottom: 4px; }
.recherche { position: relative; margin-bottom: 20px; }
.recherche input { width: 100%; min-height: 56px; padding: 12px 16px 12px 50px; border: 1px solid #B8CDD2; border-radius: 999px; font: inherit; background: #fff; }
.recherche svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--gris); }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filtre { min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--ligne); background: #fff; font: 700 .95rem var(--f-texte); color: var(--encre); cursor: pointer; }
.filtre[aria-pressed="true"] { background: var(--encre); color: #fff; border-color: var(--encre); }
.faq__vide { display: none; padding: 20px; background: #fff; border: 1px dashed var(--ligne); border-radius: var(--rayon); }

/* --- Choix du centre (page rendez-vous) --------------------------------- */
.choix-centre { display: grid; gap: 16px; }
.option-centre { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 14px 24px 14px 14px; }
.option-centre img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.option-centre h3 { margin-bottom: .2em; }
.option-centre address { font-style: normal; color: var(--gris); }
.option-centre__liens { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: .95rem; }
@media (max-width: 760px) { .option-centre { grid-template-columns: 1fr; padding: 14px; } .option-centre img { aspect-ratio: 16 / 9; } .option-centre .bouton { width: 100%; } }

/* --- Page centre ---------------------------------------------------------- */
.fiche-centre { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.fiche-centre__photo { border-radius: 20px; overflow: hidden; }
@media (max-width: 880px) { .fiche-centre { grid-template-columns: 1fr; } }
.donnees { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--ligne); }
.donnees > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--ligne); }
.donnees dt { font: 500 .78rem/1.6 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.donnees dd { margin: 0; }
@media (max-width: 520px) { .donnees > div { grid-template-columns: 1fr; gap: 2px; } }

/* --- À propos ------------------------------------------------------------- */
.profil { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.profil__photo { border-radius: 24px; overflow: hidden; background: #fff; box-shadow: var(--ombre); }
@media (max-width: 880px) { .profil { grid-template-columns: 1fr; } .profil__photo { max-width: 320px; } }
.chronologie { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--ligne); }
.chronologie li { position: relative; padding: 0 0 20px 24px; margin: 0; }
.chronologie li::before { content: ""; position: absolute; left: -7px; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--trace); box-shadow: 0 0 0 4px var(--papier); }
.chronologie strong { display: block; font-family: var(--f-mono); font-weight: 500; font-size: .85rem; letter-spacing: .06em; color: var(--petrole); }

/* --- Formulaire ----------------------------------------------------------- */
.formulaire { display: grid; gap: 18px; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: clamp(20px, 3vw, 32px); }
.champ { display: grid; gap: 6px; }
.champ label, .champ legend { font-weight: 700; }
.champ .aide { font-size: .92rem; color: var(--gris); }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid #A9BEC4; border-radius: var(--rayon-petit); font: inherit; color: var(--encre); background: #fff; }
.champ textarea { min-height: 160px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 3px solid rgba(23,127,98,.35); border-color: var(--trace); }
.champ--erreur input, .champ--erreur select, .champ--erreur textarea { border-color: #A93F2A; }
.champ__erreur { display: none; color: #A93F2A; font-size: .92rem; font-weight: 700; }
.champ--erreur .champ__erreur { display: block; }
.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .champs-2 { grid-template-columns: 1fr; } }
.case { display: flex; gap: 12px; align-items: flex-start; }
.case input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--trace); flex: none; }
.pot-de-miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Pied de page --------------------------------------------------------- */
.pied { background: var(--encre); color: #C9D6DA; padding-block: clamp(48px, 6vw, 80px) 28px; font-size: 1rem; }
.pied a { color: #fff; text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied__grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.pied__logo img { height: 52px; width: auto; margin-bottom: 18px; }
.pied h2 { font: 500 .78rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--clair-sur-fonce); margin-bottom: 14px; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li + li { margin-top: 8px; }
.pied address { font-style: normal; }
.pied__centre + .pied__centre { margin-top: 14px; }
.pied__centre strong { color: #fff; display: block; }
.pied__bas { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
.pied__urgence { color: #fff; }
.pied__urgence strong { color: #FFB4A3; }
@media (max-width: 980px) { .pied__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pied__grille { grid-template-columns: 1fr; } }

/* --- Informations encore à confirmer (à retirer avant la mise en ligne) - */
.a-confirmer { background: #FFF1C2; box-shadow: 0 0 0 1px #E3C25A inset; color: #5A4300; border-radius: 4px; padding: 0 .35em; font-style: normal; }
.a-confirmer::before { content: "⚑ "; }

/* --- Utilitaires -------------------------------------------------------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.centre { text-align: center; }
.plein { width: 100%; }
.pile { display: grid; gap: 16px; }
.pile--large { gap: clamp(28px, 4vw, 48px); }
.gris { color: var(--gris); }
.petit { font-size: .92rem; }
.coupe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 880px) { .coupe { grid-template-columns: 1fr; } }

/* --- Variantes ajoutées --------------------------------------------------- */
.carte--lien { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.carte--lien:hover { color: inherit; text-decoration: none; border-color: #A9C4CB; box-shadow: var(--ombre); transform: translateY(-2px); }
.carte--lien:hover .lien-fleche::after { transform: translateX(3px); }
.bouton--contour-clair { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.bouton--contour-clair:hover { background: #fff; border-color: #fff; color: var(--encre); }
.coupe--haut { align-items: start; }
.espace-haut { margin-top: 28px; }
.espace-haut-l { margin-top: 40px; }
[hidden] { display: none !important; }
.espace-bas { margin-bottom: 24px; }
.case label { font-weight: 400; }
/* Menu mobile fermé : hors écran, invisible et hors de l'ordre de tabulation */
html, body { overflow-x: clip; }
@media (max-width: 1060px) {
  .nav { visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
  .nav.est-ouvert { visibility: visible; transition: transform .25s ease, visibility 0s; }
}
/* Accueil sur téléphone : le texte d'abord, portrait plus compact ensuite */
@media (max-width: 880px) {
  .portrait { order: 0; width: 100%; max-width: 420px; justify-self: start; }
  .portrait__cadre { aspect-ratio: 4 / 3; }
  .portrait__cadre img { object-position: 30% 12%; }
  .portrait__legende { right: 12px; bottom: 12px; padding: 8px 12px; font-size: .85rem; max-width: 210px; }
  .portrait__legende strong { font-size: .95rem; }
}
/* Boutons posés sur un fond sombre : la couleur des liens ne doit pas s'appliquer */
.section--fonce .bouton--clair, .pied .bouton--clair { color: var(--encre); }
.section--fonce .bouton--contour-clair { color: #fff; }
.section--fonce .bouton--contour-clair:hover { color: var(--encre); }
