/* =============================================================================
   Anne Lutic — feuille de styles
   Mise en page : colonnes calmes sur fond blanc chaud ; l’arc-en-ciel de la carte
   revient en filets (séparateurs, en-têtes de cartes, bandeaux), jamais en aplat.
   ============================================================================= */
:root {
  /* Couleurs de la carte de visite (décor) */
  --sauge: #D7E3DD;
  --ocre: #C58C38;
  --rose: #F9D5CE;
  --mauve: #AF8B83;
  /* Teintes foncées dérivées, pour le texte et les boutons (contraste AA) */
  --ocre-texte: #8A5A14;
  --sauge-texte: #46655A;
  --mauve-texte: #7A5A52;
  --bouton: #8A5A14;
  --bouton-survol: #6F470E;
  --bouton-texte: #FFFFFF;
  /* Fonds et texte */
  --fond: #FFFEFC;
  --surface: #FFFFFF;
  --teinte: #F6F9F7;
  --teinte-sauge: #EAF1EE;
  --teinte-rose: #FDEFEB;
  --teinte-ocre: #F9EEDD;
  --texte: #3A2E2B;
  --texte-doux: #67554F;
  --filet: #E6DDD8;
  --focus: #8A5A14;
  --a-completer-fond: #FFF4D6;
  --a-completer-texte: #6B4A00;
  --a-valider-fond: #EEF0FA;
  --a-valider-texte: #33407A;
  --ombre: 0 1px 2px rgb(58 46 43 / .05), 0 8px 24px -12px rgb(58 46 43 / .18);

  --f-titre: 'Young Serif', 'Iowan Old Style', Georgia, serif;
  --f-texte: 'Nunito Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --f-etiquette: 'Montserrat', 'Segoe UI', system-ui, sans-serif;

  --t-xs: .8125rem;
  --t-s: .9375rem;
  --t-m: 1.0625rem;
  --t-l: 1.25rem;
  --t-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --t-xxl: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);

  --gouttiere: max(20px, env(safe-area-inset-left, 0px));
  --gouttiere-d: max(20px, env(safe-area-inset-right, 0px));
  --rayon: 14px;
  --rayon-l: 28px;
  --largeur: 1180px;
  --entete-h: 76px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ocre-texte: #E2AD5E; --sauge-texte: #A9CABD; --mauve-texte: #D6B4AC;
    --bouton: #E2AD5E; --bouton-survol: #EDC07A; --bouton-texte: #211A17;
    --fond: #1F1A19; --surface: #29221F; --teinte: #242E2A;
    --teinte-sauge: #24302B; --teinte-rose: #372927; --teinte-ocre: #352A1C;
    --texte: #F3EAE6; --texte-doux: #CBBBB5; --filet: #433935; --focus: #E2AD5E;
    --a-completer-fond: #3D3218; --a-completer-texte: #F5DC9C;
    --a-valider-fond: #262B45; --a-valider-texte: #C9D0F5;
    --ombre: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -12px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ocre-texte: #E2AD5E; --sauge-texte: #A9CABD; --mauve-texte: #D6B4AC;
  --bouton: #E2AD5E; --bouton-survol: #EDC07A; --bouton-texte: #211A17;
  --fond: #1F1A19; --surface: #29221F; --teinte: #242E2A;
  --teinte-sauge: #24302B; --teinte-rose: #372927; --teinte-ocre: #352A1C;
  --texte: #F3EAE6; --texte-doux: #CBBBB5; --filet: #433935; --focus: #E2AD5E;
  --a-completer-fond: #3D3218; --a-completer-texte: #F5DC9C;
  --a-valider-fond: #262B45; --a-valider-texte: #C9D0F5;
  --ombre: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -12px rgb(0 0 0 / .6);
  color-scheme: dark;
}

/* --- Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--entete-h) + 16px); }
body {
  margin: 0; background: var(--fond); color: var(--texte);
  font-family: var(--f-texte); font-size: var(--t-m); line-height: 1.65;
  font-optical-sizing: auto; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--f-titre); font-weight: 400; line-height: 1.2; margin: 0 0 .6em; text-wrap: balance; color: var(--texte); }
h1 { font-size: var(--t-xxl); letter-spacing: -.01em; }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-l); }
h4 { font-size: var(--t-m); }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--ocre-texte); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
address { font-style: normal; }
strong { font-weight: 700; }
ul, ol { padding: 0; margin: 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--rose); color: #3A2E2B; }

.visuellement-cache { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lien-evitement { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--bouton); color: var(--bouton-texte); padding: .7em 1.1em; border-radius: 8px; font-weight: 700; }
.lien-evitement:focus { top: 12px; }

.conteneur { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-left: var(--gouttiere); padding-right: var(--gouttiere-d); }
.conteneur--etroit { max-width: 860px; }

.icone { width: 1.1em; height: 1.1em; flex: none; }

/* --- Étiquettes, surtitres -------------------------------------------------- */
.surtitre, .titre-etiquette {
  font-family: var(--f-etiquette); font-weight: 500; font-size: var(--t-xs);
  letter-spacing: .2em; text-transform: uppercase; color: var(--ocre-texte); margin: 0 0 1rem; line-height: 1.5;
}
.titre-etiquette { color: var(--texte-doux); }
.chapeau { font-size: var(--t-l); color: var(--texte-doux); max-width: 38em; line-height: 1.55; }
.intro-section { color: var(--texte-doux); max-width: 44em; }
.note { font-size: var(--t-s); color: var(--texte-doux); }
.citation { font-family: var(--f-titre); font-size: var(--t-l); color: var(--mauve-texte); line-height: 1.45; margin-top: 1.5rem; }

/* --- Arcs (motif de la carte) ---------------------------------------------- */
.arcs path { fill: none; stroke-width: 9; stroke-linecap: round; }
.arcs__ext { stroke: var(--sauge); }
.arcs__mil { stroke: var(--ocre); }
.arcs__int { stroke: var(--rose); }
.arcs--anime path { stroke-dasharray: 1; stroke-dashoffset: 0; animation: tracer 1.4s cubic-bezier(.6, 0, .2, 1) both; }
.arcs--anime .arcs__mil { animation-delay: .15s; }
.arcs--anime .arcs__int { animation-delay: .3s; }
@keyframes tracer { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.separateur { display: flex; justify-content: center; padding-block: 8px; }
.separateur .arcs { width: 64px; }
.separateur .arcs path { stroke-width: 7; }

/* --- 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-family: var(--f-texte); font-weight: 700; font-size: var(--t-s); line-height: 1.25;
  text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.bouton .icone { transition: transform .2s; }
.bouton:hover .icone { transform: translateX(3px); }
.bouton--principal { background: var(--bouton); color: var(--bouton-texte); }
.bouton--principal:hover { background: var(--bouton-survol); }
.bouton--secondaire { border-color: currentColor; color: var(--ocre-texte); background: transparent; }
.bouton--secondaire:hover { background: var(--teinte-ocre); }
.bouton--texte { padding-inline: 0; min-height: 44px; color: var(--ocre-texte); }
.bouton--texte span { text-decoration: underline; text-underline-offset: .2em; }
.bouton--rdv { background: var(--teinte-sauge); color: var(--sauge-texte); border-color: transparent; min-height: 44px; padding: .55em 1.1em; }
.bouton--rdv:hover { background: var(--sauge); color: #2F4840; }
.bouton[disabled] { opacity: .65; cursor: progress; }
.groupe-boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.lien-fort { font-weight: 700; }

/* --- Bandeau de relecture et marqueurs -------------------------------------- */
.bandeau-relecture { background: var(--a-valider-fond); color: var(--a-valider-texte); font-size: var(--t-xs); padding-block: 8px; }
.a-completer {
  display: inline-block; background: var(--a-completer-fond); color: var(--a-completer-texte);
  border: 1px dashed currentColor; border-radius: 6px; padding: .05em .5em; font-size: .92em; font-weight: 600; line-height: 1.5;
}
.a-valider {
  display: block; margin: .6em 0 1em; padding: .55em .8em; border-radius: 8px;
  background: var(--a-valider-fond); color: var(--a-valider-texte); font-size: var(--t-xs); line-height: 1.5;
}
.a-valider__etiquette { font-family: var(--f-etiquette); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-right: .4em; }

/* --- En-tête ------------------------------------------------------------------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--fond); }
.entete {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--fond);
  border-bottom: 1px solid var(--filet);
}
/* Le flou n’est appliqué que sur grand écran : sur mobile il casserait le menu plein écran (position: fixed). */
@media (min-width: 1241px) {
  .entete { background: color-mix(in srgb, var(--fond) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
}
.entete__barre { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--entete-h); }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.marque__arc { width: 46px; }
.marque__texte { display: flex; flex-direction: column; gap: 2px; }
.marque__nom { height: 30px; width: auto; }
.marque__metier { font-family: var(--f-etiquette); font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ocre-texte); font-weight: 500; white-space: nowrap; }

.nav__bouton {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--filet); background: var(--surface); color: var(--texte); font: 600 var(--t-s) var(--f-texte); cursor: pointer;
}
.nav__burger { display: grid; gap: 4px; width: 18px; }
.nav__burger span { height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav__bouton[aria-expanded="true"] .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__bouton[aria-expanded="true"] .nav__burger span:nth-child(2) { opacity: 0; }
.nav__bouton[aria-expanded="true"] .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__panneau { display: flex; align-items: center; gap: 6px; }
.nav__liste { list-style: none; display: flex; gap: 2px; }
.nav__groupe { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 6px 8px 0; border-radius: 12px; }
.nav__groupe--equipes { background: var(--teinte-ocre); }
.nav__groupe--consultations { background: var(--teinte-sauge); }
.nav__titre-groupe { margin: 0 0 -4px 10px; font-family: var(--f-etiquette); font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--texte-doux); line-height: 1.4; }
.nav__titre-long { display: none; }
.nav__lien {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 8px;
  color: var(--texte); text-decoration: none; font-weight: 600; font-size: var(--t-s); position: relative;
}
.nav__lien:hover { color: var(--ocre-texte); }
.nav__lien[aria-current="page"] { color: var(--ocre-texte); }
.nav__lien[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--ocre); }
.nav__panneau > .bouton--rdv { margin-left: 8px; white-space: nowrap; }

@media (max-width: 1240px) {
  .nav__bouton { display: inline-flex; }
  .nav__panneau {
    position: fixed; inset: calc(var(--entete-h) + env(safe-area-inset-top, 0px)) 0 0 0; z-index: 19;
    display: flex; flex-direction: column; align-items: stretch; gap: 18px;
    padding: 24px var(--gouttiere-d) calc(32px + env(safe-area-inset-bottom, 0px)) var(--gouttiere);
    background: var(--fond); overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .22s, transform .22s, visibility 0s .22s;
  }
  .nav--ouverte .nav__panneau { visibility: visible; opacity: 1; transform: none; transition: opacity .22s, transform .22s; }
  .nav__liste { flex-direction: column; gap: 0; }
  .nav__groupe { padding: 16px 12px 8px; align-items: stretch; }
  .nav__titre-groupe { margin: 0 0 4px 12px; font-size: var(--t-xs); }
  .nav__titre-long { display: inline; }
  .nav__titre-court { display: none; }
  .nav__lien { min-height: 48px; font-size: var(--t-l); padding: 0 12px; font-family: var(--f-titre); font-weight: 400; }
  .nav__lien[aria-current="page"]::after { left: 12px; right: auto; width: 28px; bottom: 8px; }
  .nav__liste--seule .nav__lien { padding-inline: 24px; }
  .nav__panneau > .bouton--rdv { margin: 8px 0 0; min-height: 52px; }
  body.menu-ouvert { overflow: hidden; }
}
@media (max-width: 420px) {
  .marque__arc { width: 38px; }
  .marque__nom { height: 25px; }
  .nav__bouton-texte { display: none; }
  .nav__bouton { padding: 0 13px; }
}

/* --- Sections ------------------------------------------------------------------- */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section--teinte { background: var(--teinte); }
.section__entete { margin-bottom: 2rem; }
.section__entete--ligne { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 24px; }
.section__entete--ligne h2 { margin-bottom: 0; }
.deux-colonnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.deux-colonnes--large-etroit { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.trois-colonnes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 860px) {
  .deux-colonnes, .deux-colonnes--large-etroit, .trois-colonnes { grid-template-columns: minmax(0, 1fr); }
}

/* --- Accueil : hero -------------------------------------------------------------- */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(48px, 6vw, 80px); overflow: hidden; }
.hero__grille { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); line-height: 1.12; max-width: 14em; }
.hero__rdv { margin-top: 1.5rem; font-size: var(--t-s); color: var(--texte-doux); }
.hero__visuel { position: relative; display: grid; place-items: center; }
/* Cadre en arche : reprend la forme de l’arc-en-ciel, accueille le portrait ou le logo */
.hero__cadre {
  position: relative; z-index: 1; width: min(380px, 100%); aspect-ratio: 7 / 8; max-width: 100%;
  border-radius: 999px 999px var(--rayon-l) var(--rayon-l); background: var(--surface); box-shadow: var(--ombre);
  display: grid; place-items: center; align-content: center; gap: 18px; padding: 48px 32px 32px; overflow: hidden;
}
.hero__cadre--photo { padding: 0; }
.hero__logo { width: 62%; }
.hero__note { font-size: var(--t-xs); color: var(--texte-doux); border: 1px dashed var(--filet); border-radius: 999px; padding: .35em 1em; margin: 0; text-align: center; }
.hero__portrait { width: 100%; height: 100%; object-fit: cover; }
.tache { position: absolute; border-radius: 58% 42% 55% 45% / 48% 60% 40% 52%; z-index: 0; }
.tache--rose { width: 46%; aspect-ratio: 1; background: var(--rose); top: -4%; left: 0; opacity: .8; }
.tache--sauge { width: 40%; aspect-ratio: 1; background: var(--sauge); bottom: -6%; right: 0; opacity: .85; border-radius: 45% 55% 38% 62% / 55% 45% 55% 45%; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tache { opacity: .16; } }
:root[data-theme="dark"] .tache { opacity: .16; }
@media (max-width: 860px) {
  .hero__grille { grid-template-columns: minmax(0, 1fr); }
  .hero__visuel { order: -1; }
  .hero__cadre { width: min(170px, 46%); }
  .hero__visuel .tache--rose { width: 120px; left: calc(50% - 105px); }
  .hero__visuel .tache--sauge { width: 90px; right: calc(50% - 100px); }
  .hero__visuel--sans-portrait { display: none; }
}

/* --- Accueil : deux portes ------------------------------------------------------- */
.portes { padding-bottom: clamp(56px, 7vw, 96px); }
.portes__grille { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.porte { border-radius: var(--rayon-l); padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.porte h2 { margin-bottom: 0; }
.porte__entete .surtitre { margin-bottom: .6rem; }
.porte--equipes { background: var(--teinte-ocre); }
.porte--consultations { background: var(--teinte-sauge); }
.porte--consultations .surtitre { color: var(--sauge-texte); }
.porte--consultations p { margin: 0; }
.porte__actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 8px; }
.porte__actions .bouton { flex-basis: 100%; }
.porte__pied { margin: 0; }
@media (max-width: 960px) { .portes__grille { grid-template-columns: minmax(0, 1fr); } }

.cartes-activites { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 720px) { .cartes-activites { grid-template-columns: minmax(0, 1fr); } }
.carte-activite {
  position: relative; background: var(--surface); border-radius: var(--rayon); padding: 22px 22px 20px;
  display: flex; flex-direction: column; gap: 10px; box-shadow: var(--ombre); transition: transform .25s, box-shadow .25s;
}
.carte-activite:hover { transform: translateY(-3px); }
.carte-activite:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.carte-activite h3 { margin: 0; font-size: 1.2rem; }
.carte-activite p { font-size: var(--t-s); color: var(--texte-doux); margin: 0; flex: 1; }
.lien-carte { color: var(--texte); text-decoration: none; }
.lien-carte::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.lien-carte:focus-visible { outline: none; }
.carte-activite__arcs { width: 52px; }
.carte-activite__arcs path { stroke-width: 10; }
.carte-activite--ocre .arcs__ext { stroke: var(--ocre); } .carte-activite--ocre .arcs__mil { stroke: var(--rose); } .carte-activite--ocre .arcs__int { stroke: var(--sauge); }
.carte-activite--sauge .arcs__ext { stroke: var(--sauge); } .carte-activite--sauge .arcs__mil { stroke: var(--ocre); } .carte-activite--sauge .arcs__int { stroke: var(--rose); }
.carte-activite--rose .arcs__ext { stroke: var(--rose); } .carte-activite--rose .arcs__mil { stroke: var(--sauge); } .carte-activite--rose .arcs__int { stroke: var(--ocre); }
.carte-activite__suite { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; font-size: var(--t-s); color: var(--ocre-texte); }
.carte-activite:hover .carte-activite__suite .icone { transform: translateX(3px); }
.carte-activite__suite .icone { transition: transform .2s; }

/* --- Accueil : présentation ------------------------------------------------------ */
.presentation { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.presentation__texte { max-width: 40em; }
.presentation__domaines { padding-top: 2.3rem; }
@media (max-width: 860px) { .presentation { grid-template-columns: minmax(0, 1fr); } .presentation__domaines { padding-top: 0; } }
.pastilles { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pastilles li { padding: .5em 1em; border-radius: 999px; background: var(--surface); border: 1px solid var(--filet); font-size: var(--t-s); font-weight: 600; line-height: 1.3; }
.pastilles li:nth-child(3n+1) { background: var(--teinte-sauge); border-color: transparent; }
.pastilles li:nth-child(3n+2) { background: var(--teinte-rose); border-color: transparent; }
.pastilles li:nth-child(3n) { background: var(--teinte-ocre); border-color: transparent; }

/* --- Frise (accueil) ----------------------------------------------------------- */
.legende { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 1.25rem; font-size: var(--t-xs); color: var(--texte-doux); }
.legende__item { display: inline-flex; align-items: center; gap: 8px; }
.legende__item::before { content: ""; width: 12px; height: 12px; border-radius: 50%; }
.legende__item--clinique::before { background: var(--sauge); box-shadow: inset 0 0 0 2px var(--sauge-texte); }
.legende__item--formation::before { background: var(--ocre); }
.frise { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(136px, 1fr); gap: 0; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; margin-bottom: 1.5rem; }
.frise__item { position: relative; padding: 30px 18px 0 0; display: flex; flex-direction: column; gap: 4px; scroll-snap-align: start; }
.frise__item::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--filet); }
.frise__item::after { content: ""; position: absolute; top: 3px; left: 0; width: 14px; height: 14px; border-radius: 50%; }
.frise__item--clinique::after { background: var(--sauge); box-shadow: inset 0 0 0 2px var(--sauge-texte); }
.frise__item--formation::after { background: var(--ocre); }
.frise__date { font-family: var(--f-etiquette); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ocre-texte); font-weight: 600; }
.frise__titre { font-weight: 700; line-height: 1.35; font-size: var(--t-s); }
.frise__role { font-size: var(--t-xs); color: var(--texte-doux); }
@media (max-width: 720px) {
  .frise { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; }
  .frise__item { padding: 0 0 22px 32px; }
  .frise__item::before { top: 6px; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; }
  .frise__item::after { top: 4px; }
  .frise__item:last-child::before { display: none; }
}

/* --- Organismes ------------------------------------------------------------------- */
.organismes { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 40px; }
.organismes .titre-etiquette { margin: 0; }
.organismes__liste { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 32px; font-family: var(--f-titre); font-size: var(--t-l); color: var(--mauve-texte); }

/* --- Appel à l’action ----------------------------------------------------------- */
.appel { padding-block: clamp(56px, 7vw, 96px); }
.appel__interieur {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 48px; align-items: center;
  background: var(--teinte-rose); border-radius: var(--rayon-l); padding-block: clamp(32px, 5vw, 56px);
  padding-left: max(clamp(24px, 5vw, 56px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(24px, 5vw, 56px), env(safe-area-inset-right, 0px));
}
.appel.conteneur, .appel > .conteneur { max-width: var(--largeur); }
.appel > .appel__interieur { margin-inline: auto; width: calc(100% - 40px); max-width: calc(var(--largeur) - 40px); }
.appel h2 { margin-bottom: .4em; }
.appel__texte p { color: var(--texte-doux); max-width: 34em; }
.appel__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.appel__rdv { font-size: var(--t-s); color: var(--texte-doux); margin: 0; }
@media (max-width: 860px) { .appel__interieur { grid-template-columns: minmax(0, 1fr); } }

/* --- Bandeau des pages intérieures ---------------------------------------------- */
.bandeau { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 64px); }
.bandeau--sauge { background: var(--teinte-sauge); }
.bandeau--ocre { background: var(--teinte-ocre); }
.bandeau--rose { background: var(--teinte-rose); }
.bandeau__interieur { position: relative; z-index: 1; }
.bandeau h1 { max-width: 20em; }
.bandeau .chapeau { margin-bottom: 0; }
.bandeau__arcs { position: absolute; right: -40px; bottom: -6px; width: clamp(180px, 26vw, 340px); opacity: .9; }
.bandeau__arcs path { stroke-width: 7; }
.bandeau--sauge .bandeau__arcs .arcs__ext { stroke: var(--surface); }
@media (max-width: 720px) { .bandeau__arcs { width: 150px; right: -36px; opacity: .55; } }
.ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--t-xs); color: var(--texte-doux); margin-bottom: 1.25rem; }
.ariane li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.ariane a { color: var(--texte-doux); }

/* --- Sommaire de page ---------------------------------------------------------- */
.sommaire { padding-top: 24px; }
.sommaire ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.sommaire a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--filet); text-decoration: none; color: var(--texte); font-weight: 600; font-size: var(--t-s); }
.sommaire a:hover { border-color: var(--ocre); color: var(--ocre-texte); }

/* --- Parcours : chronologie --------------------------------------------------- */
.chrono { list-style: none; display: grid; gap: 0; }
.chrono__item { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 24px; position: relative; padding-bottom: 28px; }
.chrono__item::before { content: ""; position: absolute; left: calc(12rem + 5px); top: 10px; bottom: -6px; width: 2px; background: var(--filet); }
.chrono__item:last-child::before { display: none; }
.chrono__date { margin: 0; font-family: var(--f-etiquette); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--ocre-texte); font-weight: 600; padding-top: 4px; text-align: right; }
.chrono__corps { position: relative; padding-left: 24px; }
.chrono__corps::before { content: ""; position: absolute; left: -24px; top: 5px; width: 14px; height: 14px; border-radius: 50%; transform: translateX(-1px); margin-left: 5px; }
.chrono__item--clinique .chrono__corps::before { background: var(--sauge); box-shadow: inset 0 0 0 2px var(--sauge-texte); }
.chrono__item--formation .chrono__corps::before { background: var(--ocre); }
.chrono__corps h3 { font-size: 1.15rem; margin-bottom: .25em; }
.chrono__corps p { margin: 0; color: var(--texte-doux); }
@media (max-width: 600px) {
  .chrono__item { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-left: 32px; }
  .chrono__item::before { left: 6px; }
  .chrono__date { text-align: left; }
  .chrono__corps { padding-left: 0; }
  .chrono__corps::before { left: -32px; top: -22px; margin-left: 0; transform: none; }
}
.type { display: inline-block; margin-left: .4em; padding: .1em .6em; border-radius: 999px; font-family: var(--f-etiquette); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; vertical-align: .15em; }
.type--clinique { background: var(--teinte-sauge); color: var(--sauge-texte); }
.type--formation { background: var(--teinte-ocre); color: var(--ocre-texte); }
.type--encours { background: var(--teinte-sauge); color: var(--sauge-texte); vertical-align: .1em; }
.type--attente { background: var(--a-completer-fond); color: var(--a-completer-texte); margin: 0; }

.diplomes { list-style: none; }
.pastilles--titres { margin-bottom: 20px; }
.consultations__approches { margin-top: 1.5rem; }
.diplome { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; background: var(--surface); border-radius: var(--rayon); padding: 22px 24px; box-shadow: var(--ombre); }
.diplome__annee { font-family: var(--f-titre); font-size: 2rem; line-height: 1; color: var(--ocre-texte); }
.diplome__titre { font-weight: 700; margin: 0 0 .2em; }
.diplome__etab { margin: 0; color: var(--texte-doux); font-size: var(--t-s); }

.annees { display: grid; gap: 28px; }
.annee { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 20px; padding-top: 20px; border-top: 1px solid var(--filet); }
.annee__titre { font-family: var(--f-titre); font-size: var(--t-l); color: var(--mauve-texte); margin: 0; }
.annee__liste { list-style: none; display: grid; gap: 14px; }
.annee__formation { display: block; font-weight: 600; line-height: 1.45; }
.annee__organisme { display: block; font-size: var(--t-s); color: var(--texte-doux); }
@media (max-width: 520px) { .annee { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
.replie { margin-top: 28px; }
.replie summary { cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--filet); font-weight: 700; color: var(--ocre-texte); list-style: none; }
.replie summary::-webkit-details-marker { display: none; }
.replie summary::before { content: "+"; font-size: 1.2em; line-height: 1; }
.replie[open] summary::before { content: "−"; }
.replie[open] summary { margin-bottom: 28px; }

/* --- Listes ------------------------------------------------------------------- */
.puces { list-style: none; display: grid; gap: .6em; margin-bottom: 1em; }
.puces li { position: relative; padding-left: 1.4em; }
.puces li::before { content: ""; position: absolute; left: 0; top: .62em; width: .55em; height: .55em; border-radius: 50%; background: var(--ocre); }
.puces--arcs li::before { width: .9em; height: .45em; border-radius: .45em .45em 0 0; border: 2px solid var(--ocre); border-bottom: 0; background: none; top: .55em; }
.puces li:last-child { margin-bottom: 0; }

/* --- Encarts ------------------------------------------------------------------- */
.encart { background: var(--surface); border: 1px solid var(--filet); border-radius: var(--rayon-l); padding: clamp(22px, 3vw, 32px); position: relative; overflow: hidden; }
.encart--rdv { background: var(--teinte-sauge); border-color: transparent; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.encart--rdv h2, .encart--rdv h3, .encart--rdv p { margin: 0; }
.encart__arcs { width: 64px; }
.encart__ou { font-size: var(--t-s); color: var(--texte-doux); }
.encart--compact { margin-top: 32px; }

/* --- Formations : fiches ----------------------------------------------------- */
.fiches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 20px; }
.fiche { background: var(--surface); border-radius: var(--rayon-l); box-shadow: var(--ombre); display: flex; flex-direction: column; overflow: hidden; }
.fiche__entete { padding: 28px 28px 20px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; border-bottom: 1px solid var(--filet); }
.fiche__entete h3 { margin: 0; }
.fiche__titre { min-width: 0; }
.fiche__organisme { margin: 0 0 4px; font-family: var(--f-etiquette); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--ocre-texte); }
.fiche__pied .groupe-boutons { margin-top: 12px; }
.format__tarif { font-family: var(--f-titre); color: var(--ocre-texte) !important; margin-top: auto !important; padding-top: 8px; }
.titre-etiquette--espace { margin-top: 2.5rem; }
.fiche__arcs { width: 48px; }
.fiche__tarif { margin: 0; font-family: var(--f-etiquette); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ocre-texte); background: var(--teinte-ocre); padding: .4em .8em; border-radius: 999px; white-space: nowrap; }
.fiche__champs { margin: 0; padding: 20px 28px; display: grid; gap: 14px; }
.fiche__champ { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; }
.fiche__champ dt { font-family: var(--f-etiquette); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); font-weight: 500; padding-top: .2em; }
.fiche__champ dd { margin: 0; }
.fiche__champ .puces { margin: 0; gap: .4em; }
.fiche__pied { padding: 0 28px 28px; margin-top: auto; }
.fiche__vide { padding: 20px 28px; margin: 0; color: var(--texte-doux); }
@media (max-width: 520px) {
  .fiche__entete { grid-template-columns: auto minmax(0, 1fr); }
  .fiche__tarif { grid-column: 1 / -1; justify-self: start; }
  .fiche__champ { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* --- GAPP : étapes --------------------------------------------------------------- */
.etapes { list-style: none; counter-reset: etape; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 1.5rem; }
.etape { counter-increment: etape; background: var(--surface); border-radius: var(--rayon); padding: 24px 22px; box-shadow: var(--ombre); }
.etape::before { content: counter(etape); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ocre); color: var(--ocre-texte); font-family: var(--f-titre); font-size: 1.15rem; margin-bottom: 14px; }
.etape h3 { font-size: 1.1rem; margin-bottom: .4em; }
.etape p { font-size: var(--t-s); color: var(--texte-doux); }
@media (max-width: 960px) { .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .etapes { grid-template-columns: minmax(0, 1fr); } }

.modalites { margin: 0; display: grid; border-top: 1px solid var(--filet); }
.modalites__ligne { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--filet); }
.modalites dt { font-weight: 700; }
.modalites dd { margin: 0; color: var(--texte-doux); }
@media (max-width: 480px) { .modalites__ligne { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* --- Supervision ------------------------------------------------------------------ */
.formats { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.format { background: var(--teinte-rose); border-radius: var(--rayon); padding: 24px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.format h3 { margin: 0; font-size: 1.15rem; }
.format p { margin: 0; color: var(--texte-doux); }
.format--a-confirmer { background: var(--surface); border: 1px dashed var(--filet); }
@media (max-width: 860px) { .formats { grid-template-columns: minmax(0, 1fr); } }

.tableau-defilant { overflow-x: auto; border-radius: var(--rayon); background: var(--surface); box-shadow: var(--ombre); margin-bottom: 1rem; }
.comparaison { min-width: 560px; }
.comparaison th, .comparaison td, .tarifs th, .tarifs td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--filet); }
.comparaison thead th { font-family: var(--f-titre); font-weight: 400; font-size: 1.1rem; }
.comparaison thead th:nth-child(2) { color: var(--sauge-texte); }
.comparaison thead th:nth-child(3) { color: var(--mauve-texte); }
.comparaison tbody th { font-family: var(--f-etiquette); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--texte-doux); width: 22%; }
.comparaison tr:last-child > *, .tarifs tr:last-child > * { border-bottom: 0; }

/* --- Tarifs -------------------------------------------------------------------- */
.tarifs { min-width: 420px; font-variant-numeric: tabular-nums; }
.tarifs thead th { font-family: var(--f-etiquette); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--texte-doux); }
.tarifs tbody th { font-weight: 700; }
.tarifs__detail { display: block; font-weight: 400; font-size: var(--t-s); color: var(--texte-doux); }
.tarifs__prix, .tarifs thead th:last-child { text-align: right !important; white-space: nowrap; }
.tarifs__prix { font-family: var(--f-titre); font-size: 1.15rem; color: var(--ocre-texte); }
.tarifs td:nth-child(2) { white-space: nowrap; color: var(--texte-doux); }

/* --- Consultations ------------------------------------------------------------- */
.accompagnements { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; margin-block: 1.75rem 2rem; }
.accompagnements h3 { font-size: 1.1rem; margin-bottom: .3em; }
.accompagnements p { margin: 0; color: var(--texte-doux); font-size: var(--t-s); }
@media (max-width: 600px) { .accompagnements { grid-template-columns: minmax(0, 1fr); } }
.alerte { padding: 16px 20px; border-radius: var(--rayon); background: var(--teinte-rose); font-size: var(--t-s); }
.alerte--douce { background: var(--teinte-ocre); }

/* --- Contact et formulaire ---------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } .contact__formulaire { order: -1; } }
.coordonnees { list-style: none; display: grid; gap: 18px; }
.coordonnees li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.coordonnees .icone { width: 22px; height: 22px; color: var(--ocre-texte); margin-top: 2px; }
.coordonnees__libelle { display: block; font-family: var(--f-etiquette); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); font-weight: 500; }
.coordonnees a { overflow-wrap: anywhere; }

.formulaire { display: grid; gap: 20px; margin-top: 1.5rem; }
.formulaire__obligatoire { font-size: var(--t-s); color: var(--texte-doux); margin: 0; }
.champ { display: grid; gap: 6px; min-width: 0; }
.champ-ligne { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 560px) { .champ-ligne { grid-template-columns: minmax(0, 1fr); } }
.champ label { font-weight: 700; font-size: var(--t-s); }
.champ__facultatif { font-weight: 400; color: var(--texte-doux); }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--filet);
  background: var(--surface); color: var(--texte); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.champ textarea { resize: vertical; min-height: 160px; line-height: 1.55; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--mauve); }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--ocre-texte); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ocre) 30%, transparent); }
.champ [aria-invalid="true"] { border-color: #B3261E; }
.champ__aide { font-size: var(--t-xs); color: var(--texte-doux); margin: 0; }
.champ__erreur { font-size: var(--t-s); color: #B3261E; font-weight: 700; margin: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .champ__erreur { color: #FFB4AB; } :root:not([data-theme="light"]) .champ [aria-invalid="true"] { border-color: #FFB4AB; } }
:root[data-theme="dark"] .champ__erreur { color: #FFB4AB; }
:root[data-theme="dark"] .champ [aria-invalid="true"] { border-color: #FFB4AB; }
.champ__info { font-size: var(--t-s); background: var(--teinte-sauge); padding: 10px 14px; border-radius: 10px; margin: 0; }
.champ--piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.champ--case { grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 12px; }
.champ--case input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--bouton); }
.champ--case label { font-weight: 400; }
.champ--case .champ__erreur { grid-column: 2; }
.formulaire__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.formulaire__etat:empty { display: none; }
.formulaire__etat { padding: 16px 20px; border-radius: var(--rayon); font-size: var(--t-s); }
.formulaire__etat:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.formulaire__etat--succes { background: var(--teinte-sauge); }
.formulaire__etat--erreur { background: var(--teinte-rose); }
.formulaire__etat--info { background: var(--a-valider-fond); color: var(--a-valider-texte); }
.formulaire__etat p { margin: 0 0 .6em; }
.formulaire__etat .bouton { margin-top: 4px; }
.formulaire__etat textarea { width: 100%; min-height: 140px; margin-top: 8px; font: inherit; font-size: var(--t-xs); padding: 10px; border-radius: 8px; border: 1px solid var(--filet); background: var(--surface); color: var(--texte); }
.chargement { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: tourner .8s linear infinite; }
@keyframes tourner { to { transform: rotate(360deg); } }

/* --- Textes longs ------------------------------------------------------------- */
.texte-long h2 { font-size: 1.35rem; margin-top: 2em; }
.texte-long h2:first-of-type { margin-top: .5em; }

/* --- 404 ----------------------------------------------------------------------- */
.introuvable { text-align: center; }
.introuvable__arcs { width: 160px; margin: 0 auto 24px; }
.introuvable .groupe-boutons { justify-content: center; }

/* --- Pied de page ------------------------------------------------------------ */
.pied { background: var(--teinte); padding-block: 56px calc(24px + env(safe-area-inset-bottom, 0px)); font-size: var(--t-s); border-top: 1px solid var(--filet); }
.pied__grille { display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 960px) { .pied__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pied__grille { grid-template-columns: minmax(0, 1fr); } }
.pied ul { list-style: none; display: grid; gap: 8px; }
.pied a { color: var(--texte); }
.pied a:hover { color: var(--ocre-texte); }
.pied__arc { width: 52px; margin-bottom: 12px; }
.pied__nom { font-family: var(--f-titre); font-size: var(--t-l); margin: 0; }
.pied__marque p:last-child { color: var(--texte-doux); }
.pied__titre { font-family: var(--f-etiquette); font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-doux); font-weight: 600; margin-bottom: 14px; }
.pied .coordonnees { gap: 12px; }
.pied .coordonnees__libelle { display: none; }
.pied .coordonnees .icone { width: 18px; height: 18px; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--filet); color: var(--texte-doux); font-size: var(--t-xs); }
.pied__bas p { margin: 0; }
.pied__bas ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pied__bas a { color: var(--texte-doux); }

/* --- Mouvement réduit --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
