/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-family);
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
  color: var(--anthracite);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 80px);
}

/* ============================================================
   BOUTONS & ÉLÉMENTS UI COMMUNS
   ============================================================ */

/* Wrapper d'icône — sizing/alignement uniquement, pas de fond (déjà dans les SVG) */
.btn-arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn-arrow-circle svg { display: block; }
.btn-arrow-circle--sm { width: 20px; height: 20px; }

/* ============================================================
   BOUTONS — specs Figma exactes
   ============================================================ */

/* Base */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border: none;
  border-radius: 30px;
  padding: 7px 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background .18s, color .18s, outline-color .18s;
}

/* btn-arrow-circle / btn-icon — dimensions communes (cercle 30px) */
.btn-arrow-circle,
.btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* === Variant : primary (icône à droite) — SVG inline complet === */
.btn--primary {
  background: var(--bordeaux);
  color: var(--blanc);
  padding: 7px 6px 7px 14px;
}
.btn--primary .btn-arrow-circle {
  width: 30px;
  height: 30px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn--primary .btn-arrow-circle .svg-default { display: inline-block; }
.btn--primary .btn-arrow-circle .svg-hover   { display: none; }
.btn--primary:hover {
  background: var(--blanc);
  color: var(--bordeaux);
  outline: 1px solid var(--bordeaux);
  outline-offset: -1px;
}
.btn--primary:hover .btn-arrow-circle .svg-default { display: none; }
.btn--primary:hover .btn-arrow-circle .svg-hover   { display: inline-block; }

/* === Variant : annuaire (icône à gauche) === */
.btn--annuaire {
  background: var(--jaune-clair);
  color: var(--anthracite);
  padding: 7px 14px 7px 6px;
  outline: 0.8px solid var(--anthracite);
  outline-offset: -0.8px;
}
.btn--annuaire:hover { background: var(--jaune); }

/* Outline bordeaux */
.btn--outline-bordeaux {
  background: transparent;
  color: var(--bordeaux);
  border-color: var(--bordeaux);
  font-size: 13px;
  padding: 8px 16px;
}
.btn--outline-bordeaux:hover { background: var(--bordeaux); color: var(--blanc); }

/* Lien "Voir plus" */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-ui);
  font-weight: var(--fw-ui);
  color: var(--bordeaux);
  border-bottom: 1px solid var(--bordeaux);
  padding-bottom: 2px;
  transition: opacity .18s;
}
.link-more:hover { opacity: .7; }

/* CTA centré */
.section-cta-center { text-align: center; margin-top: 40px; }

/* ============================================================
   SECTION BADGE
   ============================================================ */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.section-badge__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bordeaux);
  flex-shrink: 0;
}
.section-badge__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--bordeaux);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--blanc);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.header-inner {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-mobile-menu {
  display: flex;
  align-items: center;
  gap: 48px;
  flex: 1;
  justify-content: space-between;
  margin-left: 48px;
}
.header-cta-contact { margin-left: auto; }
.header-logo img { width: 96px; height: 76px; display: block; }
/* Header "coming soon" (front-page) : il utilise the_custom_logo() (.custom-logo)
   qui sortait à sa taille naturelle 192×152 → barre d'en-tête énorme (~188px).
   On le ramène à la taille du logo des autres pages (96px) pour un header compact. */
body.home .custom-logo { width: 96px; height: auto; display: block; }

/* Nav */
.header-nav__list {
  display: flex;
  align-items: center;
  gap: 48px;
}
.header-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--anthracite);
  transition: color .18s;
}
.header-nav__link:hover { color: var(--bordeaux); }

/* Sub-menu dropdown (Les CSO) — desktop */
.header-nav__list .menu-item-has-children {
  position: relative;
  /* Étend la hitbox vers le bas pour ne pas perdre le hover en traversant vers le sub-menu */
  padding-bottom: 16px;
  margin-bottom: -16px;
}
.header-nav__list .sub-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 240px;
  margin: 0;
  padding: 12px 0;
  background: var(--blanc);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  z-index: 100;
}
.header-nav__list .menu-item-has-children:hover > .sub-menu,
.header-nav__list .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity .2s ease, transform .2s ease, visibility 0s;
}
.header-nav__list .sub-menu li { list-style: none; }
.header-nav__list .sub-menu a {
  display: block;
  padding: 8px 20px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  color: var(--anthracite);
  transition: color .15s, background .15s;
}
.header-nav__list .sub-menu a:hover { color: var(--bordeaux); background: var(--beige-aplat); }

/* Submenu icon (Les CSO) — 17x17 toggle */
.header-nav__submenu-icon {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.header-nav__submenu-icon .svg-default { display: inline-block; }
.header-nav__submenu-icon .svg-hover   { display: none; }
.header-nav__link--dropdown:hover .header-nav__submenu-icon .svg-default { display: none; }
.header-nav__link--dropdown:hover .header-nav__submenu-icon .svg-hover   { display: inline-block; }

/* CTAs header */
.header-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Burger */
.header-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.header-burger span { display: block; height: 2px; background: var(--anthracite); border-radius: 2px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--beige-aplat);
  padding-top: 60px;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero__content {
  max-width: 55%;
  padding-bottom: 80px;
  position: relative;
}
.hero__visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  max-width: 600px;
  z-index: 1;
  pointer-events: none;
}
.hero__image {
  width: 100%;
  height: auto;
  display: block;
}
.hero__title-row { margin-bottom: 20px; }
.hero__title-row::after { content: ""; display: block; clear: both; }
.hero__title-row .hero__title { margin-bottom: 0; }
.hero__title-icon {
  float: left;
  width: 44px;
  height: 44px;
  margin: 4px 14px 0 0;
}
.hero__overline {
  font-size: 14px;
  font-weight: 500;
  color: var(--textes);
  line-height: normal;
  margin-bottom: 16px;
  max-width: 480px;
}
.hero__title {
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1.44;
  color: var(--bordeaux);
  margin-bottom: 20px;
}
.hero__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--anthracite);
  opacity: .8;
  max-width: 460px;
  margin-bottom: 32px;
}
.hero__ctas {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero__ctas .btn { padding: 11px 16px; flex: 1 1 0; justify-content: space-between; }
.hero__ctas .btn--annuaire { justify-content: flex-start; gap: 12px; }


/* ============================================================
   OUTIL D'ORIENTATION
   ============================================================ */
.section-outil {
  padding: 72px 0 0;
  background: var(--blanc);
  text-align: center;
}
.section-outil__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--anthracite);
  max-width: 760px;
  margin: 0 auto 16px;
  line-height: 1.2;
}
.section-outil__intro {
  font-size: 15px;
  line-height: 1.6;
  color: var(--anthracite);
  opacity: .75;
  max-width: 720px;
  margin: 0 auto 24px;
}
.section-outil__arrow {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.section-outil__arrow img { display: block; width: 70px; height: auto; }
.section-outil__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
  margin-top: 32px;
  padding-right: clamp(24px, 5vw, 80px);
}
.section-outil__visual { margin: 0; }
.section-outil__visual img { display: block; width: 100%; height: auto; }
.section-outil__cards { display: flex; flex-direction: column; gap: 16px; }
.section-outil__sub {
  font-size: 16px;
  font-weight: 600;
  color: var(--anthracite);
  margin: 0 0 8px;
}

/* Cards orientation — empilées verticalement (1 col droite) */
.orientation-cards {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  max-width: none;
  margin: 0;
}
.orientation-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 48px 66px 48px 40px;
  border-radius: 30px;
  width: 100%;
  max-width: none;
  text-align: left;
  box-shadow: 0 4px 36px rgba(0,0,0,.14);
  transition: transform .18s, box-shadow .18s;
}
.orientation-card:hover { transform: translateY(-2px); }
.orientation-card__inner {
  display: flex;
  align-items: center;
  gap: 14px;
}
.orientation-card__icon {
  width: 70px; height: 70px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.orientation-card__icon img { width: 70px; height: 70px; display: block; }
/* Toggle picto default/hover */
.orientation-card__icon .svg-hover { display: none; }
.orientation-card:hover .orientation-card__icon .svg-default { display: none; }
.orientation-card:hover .orientation-card__icon .svg-hover { display: block; }
.orientation-card__label {
  color: var(--anthracite);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}
.orientation-card__arrow {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: inline-flex;
}
.orientation-card__arrow img { width: 44px; height: 44px; display: block; }
.orientation-card__arrow .svg-hover { display: none; }
.orientation-card:hover .orientation-card__arrow .svg-default { display: none; }
.orientation-card:hover .orientation-card__arrow .svg-hover { display: block; }
.orientation-card--patient {
  background: var(--gris-clair);
  outline: 3px solid var(--bordeaux);
  outline-offset: -3px;
  transition: background .18s;
}
/* Hover : inversion des couleurs */
.orientation-card--patient:hover {
  background: var(--bordeaux);
}
.orientation-card--patient:hover .orientation-card__label { color: var(--blanc); }
.orientation-card--pro {
  background: var(--beige-aplat);
  outline: 3px solid var(--jaune);
  outline-offset: -3px;
  box-shadow: 0 4px 36px rgba(0,0,0,.10);
  transition: background .18s;
}
/* Hover : inversion des couleurs */
.orientation-card--pro:hover {
  background: var(--jaune);
}

/* ============================================================
   COMPOSANT : MISSION CARD
   ============================================================ */
.section-apropos {
  position: relative;
  padding: 80px 0 80px;
  background: #fff3e7;
}
.section-apropos__lead {
  font-size: 17px;
  line-height: 1.6;
  max-width: 860px;
  margin: 0 auto 70px;
  font-weight: 500;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Vecteur décoratif bas-droite */
.section-apropos__decor {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 420px;
  height: auto;
  pointer-events: none;
  z-index: 0;
}

/* Bouton "La mission des CSO" à cheval entre les 2 sections */
.section-apropos__cta {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  z-index: 10;
}

/* Section title commune (Missions, Centres, etc.) */
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  color: var(--bordeaux);
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.section-title__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}
.mission-card {
  position: relative;
  z-index: 2;
  background: var(--blanc);
  border: 2px solid var(--bordeaux);
  border-radius: 16px;
  padding: 64px 28px 32px;
  text-align: center;
}
/* Icône qui dépasse en haut */
.mission-card__icon {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 81px; height: 81px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mission-card__icon img { width: 81px; height: 81px; display: block; }
.mission-card__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--anthracite);
  margin-bottom: 14px;
}
.mission-card__sep {
  border: none;
  width: 304px;
  height: 1px;
  opacity: 0.34;
  background: var(--anthracite);
  margin: 0 auto 16px;
}
.mission-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--anthracite);
  opacity: .75;
}

/* ============================================================
   COMPOSANT : CARD CENTRE
   ============================================================ */
.section-centres {
  padding: 120px 0 80px;  /* padding-top large pour laisser la place au bouton à cheval */
  background: #F6F6F6;
}
.section-centres__lead {
  font-size: 16px;
  line-height: 1.6;
  max-width: 760px;
  margin: 0 0 36px;
  color: var(--anthracite);
  opacity: .8;
  text-align: left;
}
.card-centre-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card-centre {
  border: 2px solid #e8e8e8;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--blanc);
  transition: box-shadow .18s, transform .18s;
}
.card-centre:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
/* Bordure colorée par ville */
.card-centre--cso-metz-thionville { border-color: var(--cso-metz-thionville); }
.card-centre--cso-nancy           { border-color: var(--cso-nancy); }
.card-centre--cso-reims           { border-color: var(--cso-reims); }
.card-centre--cso-strasbourg      { border-color: var(--cso-strasbourg); }
.card-centre__logo {
  height: 72px;
  display: flex; align-items: center;
}
.card-centre__logo img { max-height: 100%; width: auto; object-fit: contain; }
.card-centre__title { font-size: 16px; font-weight: 700; }
.card-centre__text { font-size: 14px; line-height: 1.6; color: var(--anthracite); opacity: .7; flex: 1; }
.card-centre__sep { border: none; border-top: 1px solid #e8e8e8; }
.card-centre__footer { display: flex; justify-content: flex-end; }
.card-centre__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--anthracite);
  transition: color .18s;
}
.card-centre__link:hover { color: var(--bordeaux); }
.card-centre__arrow {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
}

/* ============================================================
   COMPRENDRE L'OBÉSITÉ
   ============================================================ */
.section-comprendre {
  padding: 80px 0;
  background: var(--beige-aplat);
  position: relative;
  overflow: hidden;
}
.section-comprendre__bg-circle {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: var(--lilas);
  opacity: .14;
  top: -200px; right: -260px;
  z-index: 0;
}
.section-comprendre__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Titres alignés à gauche (cohérent avec le reste du contenu) */
.section-comprendre__content .section-title,
.section-centres .section-title {
  justify-content: flex-start;
  text-align: left;
}
.section-comprendre__title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-comprendre__lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--anthracite);
  opacity: .8;
  margin-bottom: 28px;
  max-width: 480px;
}

/* Pills */
.pill-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  margin-left: 48px;
}
.pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,.60);
  border-radius: 20px;
  padding: 14px 22px 14px 14px;
  box-shadow: 0 4px 36px rgba(0,0,0,.06);
  border: 1px solid transparent;
  transition: background .18s, border-color .18s, box-shadow .18s;
}
.pill--orange { border-color: #FFE2BC; color: #FF8E00; }
.pill--vert   { border-color: #D6E2B7; color: #8EC200; }
.pill--bleu   { border-color: #D4E7E6; color: #0074BB; }
/* Au hover : on garde border 1px (pas de reflow) + on ajoute 1px de trait via box-shadow inset = 2px visuels */
.pill:hover {
  background: #FFF;
  box-shadow: 0 4px 36px rgba(0,0,0,.06), inset 0 0 0 1px currentColor;
}
.pill--orange:hover { border-color: #FF8E00; }
.pill--vert:hover   { border-color: #8EC200; }
.pill--bleu:hover   { border-color: #0074BB; }
.pill__hover-arrow {
  position: absolute;
  left: -36px;
  top: 50%;
  transform: translate(-6px, -50%);
  width: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .18s, transform .18s;
}
.pill:hover .pill__hover-arrow { opacity: 1; transform: translate(0, -50%); }
.pill__hover-arrow svg { display: block; }
.pill__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pill__icon img { width: 44px; height: 44px; }
.pill__body { display: flex; flex-direction: column; gap: 2px; }
.pill__title { font-size: 15px; font-weight: 700; color: var(--anthracite); }
.pill__text { font-size: 13px; line-height: 1.45; color: var(--anthracite); opacity: .75; }

.section-comprendre__decor {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 460px;
  margin-inline: auto;
}
.section-comprendre__decor svg { width: 100%; height: 100%; display: block; }
/* Variante image masquée dans la forme en quart-de-sphère —
   collée au coin bas-droit de l'écran (full-bleed), agrandie */
.section-comprendre--has-mask { min-height: 680px; }
.section-comprendre--has-mask .section-comprendre__bg-circle { display: none; } /* pas d'ellipse lilas avec une photo */
.section-comprendre__content { position: relative; z-index: 2; } /* texte au-dessus de l'image */
.section-comprendre__decor--mask {
  position: absolute;
  bottom: 0;                /* calée en bas de la section */
  right: 0;                 /* bord droit de la section = bord droit de l'écran */
  top: auto;
  width: min(48vw, 680px);  /* largeur explicite → pas de dépendance circulaire */
  max-width: none;
  margin: 0;
  z-index: 1;
  line-height: 0;
  pointer-events: none;
  display: flex;
  align-items: flex-end;    /* svg collé au bas (sinon 24px de vide sous l'image) */
  justify-content: flex-end;
}
.section-comprendre__decor--mask svg {
  width: 100%;
  height: auto;             /* hauteur déduite du ratio → forme non déformée */
  display: block;
}

/* ============================================================
   COMPOSANT : ACTUALITÉ CARD
   ============================================================ */
.section-actu {
  position: relative;
  padding: 80px 0;
  background: var(--blanc);
}
.section-actu__decor {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 491px;
  height: auto;
  pointer-events: none;
  z-index: 0;
}
.section-actu__title {
  color: var(--bordeaux);
  text-align: center;
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
.section-actu .container { position: relative; z-index: 1; }
.actu-card {
  background: var(--blanc) !important;
}
.actu-carousel { position: relative; }
.actu-carousel__prev,
.actu-carousel__next { display: none; }
.actu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.actu-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-radius: 14px;
  overflow: hidden;
  background: var(--beige-aplat);
  transition: box-shadow .18s;
}
.actu-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.09); }
.actu-card__image { overflow: hidden; }
.actu-card__image img { width: 100%; height: 100%; object-fit: cover; }
.actu-card__body {
  padding: 20px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.actu-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
.actu-card__text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--anthracite);
  opacity: .7;
  flex: 1;
}
.actu-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.actu-card__date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--anthracite);
  opacity: .6;
}
.actu-card__date img { width: 14px; height: 14px; }
.actu-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bordeaux);
  white-space: nowrap;
}
.actu-card__publisher {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--anthracite);
  opacity: .8;
}
.actu-card__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   COMPOSANT : PRISE DE CONTACT (réutilisable)
   ============================================================ */
.prise-contact {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  border: 1.5px solid #e8e8e8;
  border-radius: 16px;
  overflow: hidden;
  background: var(--blanc);
  position: relative;
}
.prise-contact__photo { height: 100%; min-height: 160px; overflow: hidden; }
.prise-contact__photo img { width: 100%; height: 100%; object-fit: cover; }
.prise-contact__body { padding: 28px 32px; }
.prise-contact__title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.prise-contact__text { font-size: 14px; line-height: 1.6; color: var(--anthracite); opacity: .75; margin-bottom: 18px; }
.prise-contact__phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  font-weight: 700;
}
.prise-contact__phone-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bordeaux);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.prise-contact__dots {
  width: 120px;
  align-self: stretch;
  background-image: radial-gradient(circle, var(--beige-aplat) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  background-color: transparent;
  flex-shrink: 0;
}

/* ============================================================
   COMPOSANT : ÉTAPE
   ============================================================ */
.etape {
  text-align: center;
  padding: 16px;
}
.etape__number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--lilas);
  color: var(--blanc);
  font-size: 20px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.etape__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 10px;
}
.etape__text { font-size: 15px; line-height: 1.6; max-width: 280px; margin-inline: auto; }

/* ============================================================
   COMPOSANT : CARD EVENT
   ============================================================ */
.card-event {
  background: var(--jaune-clair);
  border-radius: 14px;
  padding: 20px 24px;
  position: relative;
}
.card-event__date {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}
.card-event__day { font-size: 36px; font-weight: 700; color: var(--nancy); line-height: 1; }
.card-event__month { font-size: 14px; font-weight: 700; color: var(--nancy); text-transform: uppercase; }
.card-event__sep { border: none; border-top: 1px solid rgba(0,0,0,.1); margin-bottom: 12px; }
.card-event__title { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.card-event__details { display: flex; flex-direction: column; gap: 8px; }
.card-event__detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--anthracite);
  opacity: .75;
}
.card-event__detail svg { flex-shrink: 0; color: var(--bordeaux); }
.card-event__arrow {
  position: absolute;
  bottom: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bordeaux);
  color: var(--blanc);
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   COMPOSANT : BUTTON DOWNLOAD
   ============================================================ */
.btn-download {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fef0f0;
  border-radius: 12px;
  padding: 16px 20px;
  border: 1.5px solid #f5d5d5;
}
.btn-download__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #fad5d5;
  display: flex; align-items: center; justify-content: center;
  color: var(--bordeaux);
  flex-shrink: 0;
}
.btn-download__info { flex: 1; }
.btn-download__name { font-size: 14px; font-weight: 700; }
.btn-download__meta { font-size: 12px; color: var(--anthracite); opacity: .6; margin-top: 3px; }
.btn-download__sep {
  width: 1px; height: 40px;
  background: #e8c8c8;
  flex-shrink: 0;
}
.btn-download__action {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bordeaux);
  white-space: nowrap;
}

/* ============================================================
   FOOTER V2
   ============================================================ */
.site-footer {
  position: relative;
  background: linear-gradient(90deg, var(--bordeaux) 0%, var(--bordeaux-end) 100%);
  padding-block: 0 24px;
  padding-inline: max(80px, calc((100% - 1280px) / 2));
  margin-top: 109px;
  color: var(--blanc);
  display: grid;
  grid-template-columns: minmax(280px, 363px) minmax(0, 1fr);
  column-gap: 40px;
  align-items: start;
}

.footer-logo {
  width: 217px;
  height: auto;
  display: block;
  margin-top: -2px;
  margin-bottom: 0;
}

.footer-card {
  position: static;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  max-width: 867px;
  margin-top: 48px;
  justify-self: end;
  padding: 42px 38px 42px 37px;
  background: var(--blanc);
  border-radius: 30px;
  box-shadow: 0 4px 64.3px rgba(0,0,0,0.10);
  display: flex;
  gap: 24px;
}
.footer-card__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.footer-card__logo { width: 89px; height: 62px; object-fit: contain; }
.footer-card__title { color: var(--anthracite); font: 600 14px/1.2 var(--font-family); }
.footer-card__addr {
  color: var(--textes);
  font: 600 13px/1.4 var(--font-family);
  width: 180px;
  font-style: normal;
}
.footer-card__mail {
  color: var(--bordeaux);
  font: 600 14px/1 var(--font-family);
  text-decoration: underline;
}
.footer-card__mail--placeholder { text-decoration: none; }

.footer-tagline-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 363px;
  margin-top: 0;
  grid-column: 1;
  grid-row: 1;
}
.footer-center-nav,
.footer-divider,
.footer-bottom { grid-column: 1 / -1; }
.footer-tagline-block .footer-tagline { margin-top: 8px; }
.footer-tagline-block .footer-tagline-ctas { margin-top: 20px; }
.footer-tagline {
  color: var(--blanc);
  font: 700 18px/1.3 var(--font-family);
  max-width: 300px;
  margin: 0;
}
.footer-tagline-ctas { display: flex; gap: 14px; }

.footer-center-nav {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 48px;
}
.footer-center-nav li,
.footer-bottom__legal li {
  list-style: none;
  display: block;
}
.footer-center-nav a {
  color: var(--blanc);
  font: 600 16px/1.5 var(--font-family);
}
.footer-center-nav__ext {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.footer-center-nav__ext span:nth-child(2) { text-decoration: underline; }
.footer-center-nav__ext-icon {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
}

.footer-divider {
  height: 0;
  border: none;
  border-top: 1px solid var(--blanc);
  opacity: 0.24;
  margin: 24px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom__copyright {
  color: var(--blanc);
  font: 600 14px/1 var(--font-family);
}
.footer-bottom__copyright a { text-decoration: underline; color: inherit; }
.footer-bottom__legal { display: flex; gap: 40px; }
.footer-bottom__legal a {
  color: var(--blanc);
  font: 600 12px/1 var(--font-family);
}

/* ============================================================
   FOOTER — stack tablette ≤ 1100px (grid passe en 1 colonne)
   ============================================================ */
@media (max-width: 1100px) {
  .site-footer {
    grid-template-columns: 1fr;
    padding: 0 40px 24px;
  }
  .footer-card {
    grid-column: 1;
    grid-row: auto;
    max-width: 100%;
    justify-self: stretch;
    margin-top: 32px;
    flex-wrap: wrap;
  }
  .footer-tagline-block {
    grid-column: 1;
    grid-row: 1;
    max-width: 100%;
  }
}

/* ============================================================
   RESPONSIVE — TABLETTE ≤ 1100px
   ============================================================ */
@media (max-width: 1100px) {
  .card-centre-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-addresses { grid-template-columns: repeat(2, 1fr); }

  /* Hero : visuel plus petit, contenu sur ~60% */
  .hero__content { max-width: 60%; }
  .hero__visual { width: 38%; }

  /* Section outil : layout 1 col (visuel au-dessus) */
  .section-outil__layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-right: 0;
  }
  .section-outil__visual { max-width: 520px; margin: 0 auto; }

  /* Missions : 2 cols */
  .mission-grid { grid-template-columns: repeat(2, 1fr); }

  /* Actus : 2 cols (par défaut) */

  /* Comprendre : l'image full-bleed n'a de sens qu'en desktop large.
     ≤1100 → on la masque et le contenu passe pleine largeur. */
  .section-comprendre--has-mask { min-height: 0; }
  .section-comprendre--has-mask .section-comprendre__inner { grid-template-columns: 1fr; }
  .section-comprendre__decor--mask { display: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE ≤ 768px
   ============================================================ */
@media (max-width: 768px) {
  /* Évite débordements horizontaux */
  body { overflow-x: hidden; }

  /* Header */
  .header-inner { padding-inline: 16px; padding-block: 12px; gap: 12px; }
  .header-logo img { width: 72px; height: auto; }
  .header-burger { display: flex; margin-left: auto; }
  .header-mobile-menu {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blanc);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 20px;
    gap: 10px;
    margin: 0;
    max-height: calc(100vh - 100%);
    overflow-y: auto;
    z-index: -1;
    box-shadow: 0 8px 16px rgba(0,0,0,.08);
    /* État fermé */
    opacity: 0;
    transform: translateY(-12px);
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity .28s ease,
      transform .28s cubic-bezier(.2,.7,.3,1),
      visibility 0s linear .28s;
  }
  body.is-nav-open .header-mobile-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition:
      opacity .28s ease,
      transform .28s cubic-bezier(.2,.7,.3,1),
      visibility 0s;
  }
  /* Stagger sur les items à l'ouverture */
  .header-mobile-menu > * {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .25s ease, transform .25s ease;
  }
  body.is-nav-open .header-mobile-menu > * {
    opacity: 1;
    transform: translateY(0);
  }
  body.is-nav-open .header-mobile-menu > *:nth-child(1) { transition-delay: .10s; }
  body.is-nav-open .header-mobile-menu > *:nth-child(2) { transition-delay: .15s; }
  body.is-nav-open .header-mobile-menu > *:nth-child(3) { transition-delay: .20s; }

  /* Burger qui se transforme en croix */
  .header-burger span {
    transition: transform .25s ease, opacity .2s ease;
    transform-origin: center;
  }
  .header-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .header-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  body.is-nav-open { overflow: hidden; }
  .header-mobile-menu .header-nav__list { flex-direction: column; align-items: flex-start; gap: 8px; }
  .header-mobile-menu .header-nav__list .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    background: transparent;
    box-shadow: none;
    padding: 8px 0 0 16px;
    margin: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: none;
  }
  .header-mobile-menu .header-nav__list .sub-menu a { padding: 4px 0; }
  .header-mobile-menu .header-ctas { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 8px; }
  .header-mobile-menu .btn { width: 100%; justify-content: flex-start; }
  .header-mobile-menu .btn--annuaire { gap: 12px; }
  .header-mobile-menu .header-cta-contact { margin: 0; align-self: stretch; justify-content: space-between; }

  /* ============= HERO ============= */
  .hero { padding-top: 32px; padding-bottom: 0; }
  .hero__content {
    max-width: 100%;
    padding-bottom: 24px;
  }
  /* Le visuel desktop est en absolute 40% width — on le remet dans le flux */
  .hero__visual {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: 8px;
  }
  .hero__image { max-width: 320px; margin: 0 auto; }
  .hero__title { font-size: 24px; line-height: 1.3; }
  .hero__title-icon { width: 36px; height: 36px; margin: 2px 10px 0 0; }
  .hero__text { font-size: 15px; margin-bottom: 24px; }
  .hero__overline { font-size: 13px; }
  .hero__ctas { gap: 10px; }
  .hero__ctas .btn {
    flex: 1 1 100%;
    padding: 10px 14px;
    font-size: 13px;
  }

  /* ============= SECTION OUTIL ============= */
  .section-outil { padding: 48px 0 0; }
  .section-outil__title { font-size: 19px; }
  .section-outil__intro { font-size: 14px; }
  .section-outil__layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-right: 0;
    margin-top: 24px;
  }
  .section-outil__visual { max-width: 100%; }
  .section-outil__visual img { width: 100%; height: auto; }
  .section-outil__cards { padding: 0 20px; }
  .orientation-cards { padding: 0; }
  .orientation-card {
    padding: 24px;
    gap: 12px;
  }
  .orientation-card__icon,
  .orientation-card__icon img { width: 54px; height: 54px; }
  .orientation-card__label { font-size: 17px; }
  .orientation-card__arrow,
  .orientation-card__arrow img { width: 36px; height: 36px; }

  /* ============= SECTION APROPOS / MISSIONS ============= */
  .section-apropos { padding: 56px 0 56px; }
  .section-apropos__lead { font-size: 15px; margin-bottom: 32px; }
  .section-apropos__decor { max-width: 200px; opacity: .5; }
  .mission-grid { grid-template-columns: 1fr; gap: 56px; margin-bottom: 32px; }
  .mission-card { padding: 56px 20px 24px; }
  .mission-card__icon,
  .mission-card__icon img { width: 64px; height: 64px; }
  .mission-card__icon { top: -32px; }
  .mission-card__sep { width: 80%; }

  /* Titres de section */
  .section-title { font-size: 19px; gap: 10px; }
  .section-title__icon { width: 36px; height: 36px; }

  /* ============= SECTION CENTRES ============= */
  .section-centres { padding: 72px 0 56px; }
  .section-centres__lead { font-size: 14px; }
  .card-centre-grid { grid-template-columns: 1fr; gap: 16px; }
  .card-centre { padding: 20px; }
  .card-centre__logo { height: 60px; }

  /* ============= SECTION COMPRENDRE ============= */
  .section-comprendre { padding: 56px 0; }
  .section-comprendre--has-mask { min-height: 0; } /* décor masqué <768 → pas de vide */
  .section-comprendre__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .section-comprendre__title { font-size: 24px; }
  .section-comprendre__lead { font-size: 15px; margin-bottom: 24px; }
  .section-comprendre__bg-circle {
    width: 400px; height: 400px;
    top: -120px; right: -180px;
  }
  .section-comprendre__decor { display: none; }
  .pill-list { margin-left: 0; gap: 12px; margin-bottom: 24px; }
  .pill { padding: 12px 16px 12px 12px; gap: 12px; }
  .pill__icon { width: 40px; height: 40px; }
  .pill__icon img { width: 36px; height: 36px; }
  .pill__title { font-size: 14px; }
  .pill__text { font-size: 12px; }
  /* La flèche hover absolue sortait de l'écran : on la repositionne à droite, interne */
  .pill__hover-arrow {
    left: auto;
    right: 8px;
    width: 18px;
  }
  .pill:hover .pill__hover-arrow { transform: translate(0, -50%); }

  /* ============= SECTION ACTU — carrousel ============= */
  .section-actu { padding: 56px 0; }
  .section-actu__title { font-size: 19px; margin-bottom: 28px; }
  .section-actu__decor { width: 200px; opacity: .5; }
  .actu-carousel { padding: 0 0 16px; }
  .actu-grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    padding: 4px 20px 16px;
    margin: 0 -20px;
    scrollbar-width: none;
  }
  .actu-grid::-webkit-scrollbar { display: none; }
  .actu-card {
    flex: 0 0 calc(100% - 40px);
    grid-template-columns: 110px 1fr;
    scroll-snap-align: start;
  }
  .actu-card__body { padding: 14px 14px 12px; gap: 6px; }
  .actu-card__title { font-size: 14px; }
  .actu-card__text { font-size: 12px; }
  .actu-card__meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  /* Flèches carrousel */
  .actu-carousel__prev,
  .actu-carousel__next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bordeaux);
    color: var(--blanc);
    border: none;
    cursor: pointer;
    position: absolute;
    top: -52px;
    z-index: 2;
  }
  .actu-carousel__prev { right: 56px; transform: rotate(180deg); }
  .actu-carousel__next { right: 8px; }
  .actu-carousel__prev svg,
  .actu-carousel__next svg { display: block; }

  /* ============= PRISE CONTACT ============= */
  .prise-contact {
    grid-template-columns: 1fr;
  }
  .prise-contact__photo { min-height: 200px; }
  .prise-contact__body { padding: 20px; }
  .prise-contact__dots { display: none; }

  /* ============= FOOTER ============= */
  .site-footer {
    padding: 0 16px 24px;
    margin-top: 80px;
  }
  .footer-logo {
    width: 140px;
    margin: 0 0 16px;
  }
  .footer-card {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    padding: 24px 20px;
    gap: 20px;
  }
  .footer-card__addr { width: 100%; }
  .footer-tagline-block {
    margin-top: 32px;
    max-width: 100%;
  }
  .footer-tagline { font-size: 17px; max-width: 100%; }
  .footer-tagline-ctas { flex-direction: column; gap: 10px; }
  .footer-tagline-ctas .btn { width: 100%; justify-content: space-between; }
  .footer-center-nav {
    flex-direction: column;
    gap: 14px;
    align-items: center;
    margin-top: 32px;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .footer-bottom__legal { flex-direction: column; gap: 8px; }
  .footer-addresses { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   RESPONSIVE — TRÈS PETIT MOBILE ≤ 414px (sécurité)
   ============================================================ */
@media (max-width: 414px) {
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { flex: 1 1 auto; width: 100%; }
}

/* ============================================================
   ANNUAIRE — Hero (bandeau rouge + pattern jaune)
   ============================================================ */
.annuaire-hero {
  position: relative;
  width: 100%;
  /* Hauteur = courbe rouge (233) + dépassement dots (30), scale full viewport */
  aspect-ratio: 1439 / 263;
  overflow: hidden;
}

.annuaire-hero__shape svg,
.annuaire-hero__dots svg { display: block; width: 100%; height: auto; }

.annuaire-hero__shape,
.annuaire-hero__dots {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
}

.annuaire-hero__shape {
  top: 0;
  z-index: 2;
}

.annuaire-hero__dots {
  /* Décalage proportionnel : 47.5px / 263px ≈ 18% — visible sous la courbe rouge */
  top: 18%;
  left: 50%;
  width: 90.2%;
  transform: translateX(-50%);
  z-index: 1;
}

.annuaire-hero__content {
  position: absolute;
  top: 22.6%; /* 59.5 / 263 */
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: none;
  padding: 0 16px;
  text-align: center;
}
.annuaire-hero__title { white-space: nowrap; }

.annuaire-hero__title {
  margin: 0;
  color: var(--blanc);
  font-family: var(--font-family);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.44;
}

.annuaire-hero__title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.annuaire-hero__arrow {
  display: block;
  width: 44px;
  height: 44px;
}

.annuaire-hero__divider {
  display: block;
  width: 80px;
  height: 2px;
  background: var(--blanc);
}

.annuaire-hero__subtitle {
  margin: 0;
  color: var(--blanc);
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 1100px) {
  .annuaire-hero__content {
    top: 18%;
    gap: 18px;
  }
  .annuaire-hero__title { font-size: 30px; }
  .annuaire-hero__subtitle { font-size: 20px; }
}

@media (max-width: 768px) {
  /* Sur mobile la courbe SVG devient trop fine — on bascule sur un bandeau
     plein rouge avec une courbe approximée en border-radius. */
  .annuaire-hero {
    aspect-ratio: auto;
    min-height: 0;
    background: var(--bordeaux);
    padding: 48px 16px 56px;
    border-bottom-left-radius: 50% 28px;
    border-bottom-right-radius: 50% 28px;
  }
  .annuaire-hero__shape,
  .annuaire-hero__dots { display: none; }
  .annuaire-hero__content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 auto;
    gap: 18px;
  }
  .annuaire-hero__title-row { gap: 12px; }
  .annuaire-hero__arrow { width: 36px; height: 36px; }
  .annuaire-hero__title { font-size: 26px; line-height: 1.2; white-space: normal; }
  .annuaire-hero__subtitle { font-size: 17px; }
}

@media (max-width: 414px) {
  .annuaire-hero { padding: 40px 16px 48px; }
  .annuaire-hero__arrow { width: 32px; height: 32px; }
  .annuaire-hero__title { font-size: 22px; }
  .annuaire-hero__subtitle { font-size: 15px; }
}

/* Page "coming soon" (front-page) uniquement. Scopé via body.home → n'affecte
   pas les autres héros qui réutilisent .annuaire-hero (annuaire pro/patient,
   espace pro).
   1) HAUTEUR PLAFONNÉE : en aspect-ratio, la bannière grandissait avec la
      largeur de l'écran (énorme sur grand moniteur). On fixe une hauteur bornée
      et on fait remplir la vague rouge à 100 % avec un ancrage en bas
      (preserveAspectRatio="xMidYMax slice" posé dans front-page.php) → on rogne
      seulement le haut plein-rouge, jamais la courbe.
   2) SOUS-TITRE long : contraint en largeur pour s'enrouler sur 2 lignes
      centrées (sinon ses extrémités tombaient sous la vague, sur le blanc). */
body.home .annuaire-hero {
  aspect-ratio: auto;
  height: clamp(220px, 14vw, 280px);
}
body.home svg.annuaire-hero__shape {
  top: 0;
  width: 100%;
  height: 100%;
}
body.home .annuaire-hero__content { top: 13%; gap: 14px; }
body.home .annuaire-hero__subtitle {
  max-width: 720px;
  margin-inline: auto;
  font-size: 20px;
  line-height: 1.3;
}
@media (max-width: 1100px) {
  body.home .annuaire-hero { height: clamp(210px, 20vw, 250px); }
  body.home .annuaire-hero__content { top: 14%; gap: 14px; }
}
@media (max-width: 768px) {
  body.home .annuaire-hero { height: auto; }   /* bandeau mobile = contenu + padding */
  body.home .annuaire-hero__content { top: auto; gap: 18px; }
  body.home .annuaire-hero__subtitle { max-width: none; font-size: 17px; }
}
@media (max-width: 414px) {
  body.home .annuaire-hero__subtitle { font-size: 15px; }
}

/* ============================================================
   ANNUAIRE — Cartes Patient / Professionnel
   ============================================================ */
.annuaire-cards {
  padding: 55px 0 189px;
  background: var(--blanc);
}

.annuaire-cards__intro {
  margin: 0 0 64px;
  text-align: center;
  color: var(--anthracite);
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.annuaire-cards__grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 21px;
}

.annuaire-card {
  position: relative;
  cursor: pointer;
  flex: 0 1 458px;
  max-width: 458px;
  padding: 40px 46px 40px 40px;
  background: var(--gris-clair);
  border-radius: 30px;
  outline: 3px solid var(--bordeaux);
  outline-offset: -3px;
  box-shadow: 0 4px 36px rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Stretched link : le CTA « Consulter l'annuaire » rend toute la card cliquable.
   ⚠ Le CTA reste en position:static, sinon le ::after s'ancre sur le bouton. */
.annuaire-card__cta { position: static; }
.annuaire-card__cta::after {
  content: "";
  position: absolute;
  inset: 0;                /* relatif à .annuaire-card (position:relative) */
  border-radius: inherit;
  z-index: 3;              /* au-dessus du contenu → toute la card navigue */
}
.annuaire-card__head,
.annuaire-card__text { position: relative; z-index: 2; }

.annuaire-card--pro {
  background: var(--beige-aplat);
  outline-color: var(--jaune);
  box-shadow: 0 4px 36px rgba(0, 0, 0, 0.10);
}

.annuaire-card { transition: background .25s ease, color .25s ease; }

/* Hover : inversion des couleurs (même principe que .orientation-card de l'accueil) */
.annuaire-card--patient:hover { background: var(--bordeaux); }
.annuaire-card--patient:hover .annuaire-card__title,
.annuaire-card--patient:hover .annuaire-card__text { color: var(--blanc); }
.annuaire-card--patient:hover .btn--primary {
  background: var(--blanc);
  color: var(--bordeaux);
  outline: 1px solid var(--blanc);
  outline-offset: -1px;
}
.annuaire-card--patient:hover .btn--primary .svg-default { display: none; }
.annuaire-card--patient:hover .btn--primary .svg-hover   { display: inline-block; }

.annuaire-card--pro:hover { background: var(--jaune); }

.annuaire-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.annuaire-card__icon img {
  display: block;
  width: 70px;
  height: 70px;
}
.annuaire-card__icon .svg-hover { display: none; }
.annuaire-card:hover .annuaire-card__icon .svg-default { display: none; }
.annuaire-card:hover .annuaire-card__icon .svg-hover   { display: block; }

.annuaire-card__title {
  margin: 0;
  color: var(--anthracite);
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.annuaire-card__text {
  margin: 0;
  color: var(--textes);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.annuaire-card__cta {
  align-self: flex-start;
}

@media (max-width: 1100px) {
  .annuaire-cards { padding: 48px 0 110px; }
  .annuaire-cards__intro { margin-bottom: 44px; }
  .annuaire-cards__grid { gap: 18px; }
  .annuaire-card { padding: 36px 32px; }
}

@media (max-width: 768px) {
  .annuaire-cards { padding: 40px 0 64px; }
  .annuaire-cards__intro { font-size: 16px; margin-bottom: 28px; }
  .annuaire-cards__grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .annuaire-card {
    flex: 1 1 auto;
    max-width: 100%;
    padding: 28px 24px;
    gap: 20px;
  }
  .annuaire-card__head { gap: 12px; }
  .annuaire-card__icon img { width: 56px; height: 56px; }
  .annuaire-card__title { font-size: 18px; }
  .annuaire-card__text { font-size: 15px; }
}

@media (max-width: 414px) {
  .annuaire-cards { padding: 32px 0 48px; }
  .annuaire-card { padding: 24px 20px; }
  .annuaire-card__icon img { width: 48px; height: 48px; }
}

/* ============================================================
   ANNUAIRE — Fil d'Ariane (parcours)
   ============================================================ */
.annuaire-breadcrumb {
  padding: 28px 0 0;
}
.annuaire-breadcrumb .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.annuaire-breadcrumb__link,
.annuaire-breadcrumb__sep {
  color: var(--textes);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
}
.annuaire-breadcrumb__link { transition: color .18s; }
.annuaire-breadcrumb__link:hover { color: var(--bordeaux); }
.annuaire-breadcrumb__current {
  color: var(--bordeaux);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
}

/* ============================================================
   ANNUAIRE — Switcher (toggle Patient / Pro)
   ============================================================ */
.annuaire-switch-section {
  padding: 32px 0 56px;
}

.annuaire-switcher {
  display: flex;
  justify-content: center;
  align-items: stretch;
  margin: 0 auto;
  max-width: 720px;
  border-radius: 30px;
  overflow: hidden;
}
.annuaire-switcher__btn {
  flex: 1 1 50%;
  padding: 16px 48px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  background: var(--blanc);
  color: var(--bordeaux);
  outline: 1px solid var(--bordeaux);
  outline-offset: -1px;
  border: none;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.annuaire-switcher__btn:first-child  { border-top-left-radius: 30px;  border-bottom-left-radius: 30px; }
.annuaire-switcher__btn:last-child   { border-top-right-radius: 30px; border-bottom-right-radius: 30px; }
.annuaire-switcher__btn.is-active {
  background: var(--bordeaux);
  color: var(--blanc);
  outline-color: var(--bordeaux);
}
.annuaire-switcher__btn:not(.is-active):hover {
  background: #fdf2f3;
}

/* ============================================================
   ANNUAIRE — Bandeau IMC (visible côté Pro)
   ============================================================ */
.annuaire-imc-banner {
  position: relative;
  margin: 40px auto 0;
  max-width: 920px;
  padding: 32px 77px 32px 75px;
  background: var(--jaune);
  border-radius: 30px;
}
.annuaire-imc-banner__pastille-clip {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.annuaire-switch-section[data-active="patient"] .annuaire-imc-banner { display: none; }

.annuaire-imc-banner__picto {
  position: absolute;
  left: -35px;
  top: 63px;
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.annuaire-imc-banner__picto svg { display: block; width: 70px; height: 70px; }

.annuaire-imc-banner__pastille {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 147px;
  height: 154px;
  display: block;
  pointer-events: none;
  z-index: 1;
}

.annuaire-imc-banner__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 694px;
  margin-left: auto;
}
.annuaire-imc-banner__text {
  margin: 0;
  color: var(--anthracite);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}
.annuaire-imc-banner__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.annuaire-imc-banner__note {
  margin: 0;
  max-width: 423px;
  font-family: 'Poppins', var(--font-family);
  font-size: 11px;
  font-style: italic;
  line-height: 16.21px;
}
.annuaire-imc-banner__note .is-muted  { color: var(--textes); font-weight: 400; }
.annuaire-imc-banner__note .is-accent { color: var(--bordeaux); font-weight: 500; }

.annuaire-imc-banner__cta { flex-shrink: 0; }

/* Responsive */
@media (max-width: 900px) {
  .annuaire-imc-banner {
    padding: 28px 32px;
  }
  .annuaire-imc-banner__picto {
    position: relative;
    left: auto;
    top: auto;
    margin-bottom: 16px;
  }
  .annuaire-imc-banner__inner {
    margin-left: 0;
  }
  .annuaire-imc-banner__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .annuaire-imc-banner__pastille { width: 110px; }
}

@media (max-width: 600px) {
  .annuaire-switcher { flex-direction: column; max-width: 100%; }
  .annuaire-switcher__btn:first-child  { border-radius: 30px 30px 0 0; }
  .annuaire-switcher__btn:last-child   { border-radius: 0 0 30px 30px; }
  .annuaire-imc-banner { padding: 24px 20px; }
  .annuaire-imc-banner__text { font-size: 15px; line-height: 22px; }
  .annuaire-imc-banner__pastille { display: none; }
}

/* ============================================================
   ANNUAIRE — Barre de filtres (sous switcher / IMC banner)
   ============================================================ */
.annuaire-filters {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.annuaire-filters__title {
  margin: 0;
  text-align: center;
  color: var(--anthracite);
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 23.4px;
}
.annuaire-filters__bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.annuaire-filters__sep {
  width: 100%;
  height: 0;
  margin: 29px 0 0;
  border: none;
  border-top: 1px solid var(--bordeaux);
  opacity: 0.20;
}
.annuaire-filters__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* === Filtre (dropdown trigger) === */
.annuaire-filter {
  position: relative;
  border-radius: 16px;
  outline: 1px solid var(--bordeaux);
  outline-offset: -1px;
  background: transparent;
  font-family: var(--font-family);
  color: var(--anthracite);
  transition: background .18s, outline-width .18s;
}
.annuaire-filter__head,
.annuaire-filter.annuaire-filter--input {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px 10px 10px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.annuaire-filter__head::-webkit-details-marker { display: none; }
.annuaire-filter__head::marker { content: ''; }

/* Hover / focus / ouvert : fond bordeaux 10% + outline 2px */
.annuaire-filter:hover,
.annuaire-filter:focus-within,
.annuaire-filter[open] {
  background: rgba(189, 24, 36, 0.10);
  outline: 2px solid var(--bordeaux);
  outline-offset: -2px;
}

.annuaire-filter__picto {
  display: block;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.annuaire-filter__label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}
/* Profil patient + Niveau de recours = font-weight 500 (spec Figma) */
.annuaire-filter[data-filter="profil"] .annuaire-filter__label,
.annuaire-filter[data-filter="niveau"] .annuaire-filter__label {
  font-weight: 500;
}
.annuaire-filter__count {
  display: none;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--bordeaux);
  color: var(--blanc);
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  flex-shrink: 0;
}
.annuaire-filter__count.is-on { display: inline-block; }
.annuaire-filter__chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .25s;
}
.annuaire-filter[open] .annuaire-filter__chev { transform: rotate(180deg); }

/* Input texte (Ville ou code postal) */
.annuaire-filter__input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--anthracite);
  padding: 0;
}
.annuaire-filter__input::placeholder { color: var(--anthracite); font-weight: 600; opacity: 1; }

/* Panel du dropdown */
.annuaire-filter__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  min-width: 100%;
  max-width: 320px;
  max-height: 320px;
  overflow-y: auto;
  padding: 12px 14px;
  background: var(--blanc);
  border-radius: 16px;
  outline: 1px solid var(--bordeaux);
  outline-offset: -1px;
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.annuaire-filter__opt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--anthracite);
  line-height: 1.3;
}
.annuaire-filter__opt input {
  accent-color: var(--bordeaux);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.annuaire-filter__opt:hover { color: var(--bordeaux); }
.annuaire-filter__opt-count {
  margin-left: auto;
  padding-left: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--textes, #5a5a5a);
  opacity: .7;
}
.annuaire-filter__opt.is-empty {
  opacity: .4;
}
.annuaire-filter__opt.is-empty:hover { color: var(--anthracite); }
.annuaire-filter__empty {
  margin: 0;
  font-size: 12px;
  font-style: italic;
  color: var(--textes);
}

/* === Options (checkboxes + info) === */
.annuaire-filters__options {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 28px;
}
.annuaire-filter-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: var(--font-family);
}
.annuaire-filter-check__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.annuaire-filter-check__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  aspect-ratio: 1/1;
  border-radius: 4px;
  border: 1px solid currentColor;
  background: transparent;
  flex-shrink: 0;
  color: var(--bordeaux); /* défaut, surchargé par les variantes */
}
.annuaire-filter-check__check {
  display: block;
  opacity: 0;
  transition: opacity .15s;
}
.annuaire-filter-check__input:checked + .annuaire-filter-check__box .annuaire-filter-check__check {
  opacity: 1;
}
.annuaire-filter-check__input:focus-visible + .annuaire-filter-check__box {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Toutes les checkboxes des filtres restent bordeaux (peu importe l'item) */
.annuaire-filter-check__box { color: var(--bordeaux); }
.annuaire-filter-check__label {
  color: var(--anthracite);
  font-size: 14px;
  font-weight: 600;
  margin-left: 0;
}
.annuaire-filter-check__info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: 4px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.annuaire-filter-check__info img { display: block; width: 20px; height: 20px; }

/* Info-bulle */
.annuaire-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: 276px;
  padding: 20px 23px;
  background: var(--blanc);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-style: italic;
  line-height: 16.21px;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s, visibility .18s;
}
.annuaire-tooltip::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: var(--blanc);
}
.annuaire-tooltip .is-muted  { color: var(--textes);  font-weight: 400; }
.annuaire-tooltip .is-accent { color: var(--bordeaux); font-weight: 600; }
.annuaire-filter-check__info:hover .annuaire-tooltip,
.annuaire-filter-check__info:focus-visible .annuaire-tooltip,
.annuaire-filter-check__info:focus .annuaire-tooltip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* La barre est en colonne : liste de filtres en haut, cases (équipements / ETP)
   en ligne juste en dessous. Ainsi l'apparition d'un badge compteur élargit la
   liste sans jamais décaler les cases (elles sont sur leur propre ligne). */

/* Responsive */
@media (max-width: 600px) {
  .annuaire-filters { margin-top: 48px; gap: 24px; }
  .annuaire-filters__list { justify-content: center; }
  .annuaire-filter { width: 100%; justify-content: flex-start; }
}

/* ============================================================
   ANNUAIRE — Résultats / Cartes structures
   ============================================================ */
.annuaire-results {
  margin-top: 24px;
}
.annuaire-results__count {
  margin: 0 0 24px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  font-style: italic;
  color: var(--textes);
}
.annuaire-results__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
}
.annuaire-results__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  max-height: 900px;
  overflow-y: auto;
  padding-right: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(189,24,36,0.4) transparent;
}
.annuaire-results__list::-webkit-scrollbar { width: 6px; }
.annuaire-results__list::-webkit-scrollbar-thumb {
  background: rgba(189,24,36,0.4);
  border-radius: 4px;
}
.annuaire-results__list::-webkit-scrollbar-track { background: transparent; }
.annuaire-results__map {
  height: 900px;
  border-radius: 12px;
  overflow: hidden;
  background: #e9edf2;
  position: sticky;
  top: 100px;
  z-index: 1;
}
.annuaire-results__map .leaflet-popup-content {
  font-family: var(--font-family);
  font-size: 13px;
}

/* --- Couche superposée « équipements d'imagerie adaptés » (données ARS) --- */
.annuaire-results__mapwrap {
  position: sticky;
  top: 100px;
  z-index: 1;
}
.annuaire-results__mapwrap .annuaire-results__map {
  position: static;
  top: auto;
}
.map-layer {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1000;
  max-width: 300px;
  padding: 12px 14px;
  background: var(--blanc);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}
.map-layer__toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}
.map-layer__toggle input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  border: 1.5px solid #A096DF;
  border-radius: 4px;
  background: var(--blanc);
  transition: background .12s ease;
}
.map-layer__toggle input:checked {
  background-color: #A096DF;
  border-color: #A096DF;
  /* coche blanche sur fond lilas */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M1 4L3.8 6.5L9 1' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.map-layer__toggle input:focus-visible {
  outline: 2px solid #A096DF;
  outline-offset: 2px;
}
.map-layer__label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--noir);
}
.map-layer__hint {
  margin: 6px 0 0;
  padding-left: 25px;
  font-size: 11px;
  line-height: 1.35;
  color: #6b6b6b;
}
.map-layer.is-loading .map-layer__label { opacity: .55; }
.map-layer.is-error .map-layer__hint::after {
  content: " — couche momentanément indisponible.";
  color: var(--bordeaux);
}

/* Popup d'un point imagerie */
.map-pop__title { display: block; font-size: 13px; line-height: 1.3; }
.map-pop__addr {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.35;
  color: #6b6b6b;
}
.map-pop__eq {
  margin: 8px 0 0;
  padding: 8px 0 0;
  list-style: none;
  border-top: 1px solid rgba(160, 150, 223, .45);
}
.map-pop__eq li {
  margin: 0 0 3px;
  font-size: 12px;
  line-height: 1.4;
}
.map-pop__eq li:last-child { margin-bottom: 0; }
.map-pop__eq strong { color: #A096DF; }
.map-pop__nb { color: #6b6b6b; }
.map-pop__src {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  font-style: italic;
  color: #8a8a8a;
}

/* === Carte === */
.result-card {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 18px 18px 18px 24px;
  background: var(--blanc);
  border-radius: 24px;
  box-shadow: 0 4px 26px rgba(0, 0, 0, 0.09);
  outline: 1.5px solid rgba(189, 24, 36, 0.20);
  outline-offset: -1.5px;
  cursor: pointer;
  transition: outline-color .18s, transform .18s, box-shadow .18s;
}
.result-card:hover {
  outline-color: var(--bordeaux);
  box-shadow: 0 6px 30px rgba(189, 24, 36, 0.14);
}
.result-card:focus-within { outline-color: var(--bordeaux); }
.result-card.is-active {
  outline-color: var(--bordeaux);
  outline-width: 2.5px;
  box-shadow: 0 8px 32px rgba(189, 24, 36, 0.22);
  transform: translateY(-1px);
}

/* Stretched link : le CTA Consulter rend toute la card cliquable.
   ⚠ Le CTA doit rester en position:static, sinon le ::after s'ancre sur
   le bouton (nearest positioned ancestor) au lieu de couvrir la card. */
.result-card__cta { position: static; }
.result-card__cta::after {
  content: "";
  position: absolute;
  inset: 0;                /* relatif à .result-card (position:relative) */
  border-radius: inherit;
  z-index: 3;              /* overlay au-dessus du contenu → toute la card navigue */
}
/* Contenu visible sous l'overlay (le clic global reste capté par le link) */
.result-card__title,
.result-card__tags,
.result-card__sep,
.result-card__footer-left,
.result-card__img { position: relative; z-index: 2; }
.result-card__main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 auto;
  min-width: 0;
}
.result-card__title {
  margin: 0;
  color: var(--anthracite);
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
}
.result-card__tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.result-tag-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* === Tag (picto + label) === */
.result-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bordeaux);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.result-tag__picto {
  display: block;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.result-tag--etp { color: #FF8E00; }
.result-tag--equip { color: var(--bordeaux); }

/* Check (SVG inline, hérite la couleur via currentColor) */
.result-check {
  display: inline-block;
  width: 14px;
  height: 11px;
  flex-shrink: 0;
}

/* Séparateur interne */
.result-card__sep {
  width: 100%;
  height: 0;
  margin: 0;
  border: none;
  border-top: 0.6px solid var(--bordeaux);
  opacity: 0.30;
}

/* Footer (niveau + CTA) */
.result-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.result-card__footer-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

/* Niveau de recours */
.result-niveau {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.result-niveau__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.result-niveau.is-niv-1 { color: #74C200; }
.result-niveau.is-niv-2 { color: #FF8E00; }
.result-niveau.is-niv-3 { color: #E23838; }

/* CTA */
.result-card__cta { flex-shrink: 0; }

/* Image */
.result-card__img {
  display: block;
  width: 140px;
  height: 100%;
  min-height: 140px;
  align-self: stretch;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .annuaire-results__grid { grid-template-columns: 1fr; }
  /* le wrapper est l'item de grille depuis l'ajout de la couche imagerie */
  .annuaire-results__mapwrap {
    position: relative;
    top: auto;
    order: -1;
  }
  .annuaire-results__map {
    position: relative;
    top: auto;
    height: 420px;
    order: -1;
  }
  .map-layer {
    max-width: none;
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 10px 12px;
  }
  .annuaire-results__list {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }
}
@media (max-width: 768px) {
  .result-card {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }
  .result-card__img {
    width: 100%;
    height: 180px;
    min-height: 0;
    order: -1;
  }
  .result-card__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ============================================================
   ANNUAIRE — CTA Formulaire (sous résultats)
   ============================================================ */
.annuaire-cta-form {
  padding: 88px 0 64px;
}
.annuaire-cta-form__wrap {
  position: relative;
  max-width: 846px;
  margin: 0 auto;
  padding-top: 50px; /* place pour le picto qui dépasse */
}
.annuaire-cta-form__picto {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.annuaire-cta-form__picto img { display: block; width: 100px; height: 100px; }

.annuaire-cta-form__box {
  position: relative;
  padding: 64px 125px 40px;
  background: var(--jaune);
  border-radius: 30px;
  outline: 1px solid var(--anthracite);
  outline-offset: -1px;
  text-align: center;
  overflow: hidden;
}
.annuaire-cta-form__text {
  margin: 0 0 24px;
  position: relative;
  z-index: 2;
  color: var(--anthracite);
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 23.4px;
}
.annuaire-cta-form__btn {
  position: relative;
  z-index: 2;
}
.annuaire-cta-form__dots {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 175px;
  height: 184px;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .annuaire-cta-form { padding: 64px 0 40px; }
  .annuaire-cta-form__box { padding: 56px 24px 32px; }
  .annuaire-cta-form__picto { width: 80px; height: 80px; }
  .annuaire-cta-form__picto img { width: 80px; height: 80px; }
  .annuaire-cta-form__text { font-size: 16px; line-height: 22px; }
  .annuaire-cta-form__dots { width: 110px; height: 116px; }
}

/* === Variante "question" (annuaire patient) — fond lilas === */
.annuaire-cta-form--question .annuaire-cta-form__box {
  background: #A096DF;
}
.annuaire-cta-form--question .annuaire-cta-form__text {
  color: var(--blanc);
}

/* ============================================================
   Modal IMC pro — popup avec iframe vers calculateur externe
============================================================ */
.imc-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.imc-modal[aria-hidden="false"] {
  display: flex;
}
.imc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 27, 27, 0.55);
  cursor: pointer;
}
.imc-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 24px;
  width: min(1200px, 100%);
  height: min(820px, calc(100vh - 48px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.imc-modal__header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 18px 24px 0;
  flex-shrink: 0;
}
.imc-modal .screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.imc-modal__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  padding: 6px;
  cursor: pointer;
  color: #BD1824;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
.imc-modal__back-text {
  text-decoration: none;
}
.imc-modal__back:hover .imc-modal__back-text {
  text-decoration: underline;
}
.imc-modal__close-icon {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.imc-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 12px 24px 24px;
}
.imc-modal__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  /* L'iframe est ancrée sur #imc-form (voir data-imc-src) → la page IDF se défile
     déjà pile sur le formulaire, l'intro générique est masquée en amont. La valeur
     négative ménage juste un petit blanc au-dessus du form ; le masque bas cache le
     liseré de footer qui affleure en bas de la fenêtre. */
  --imc-iframe-offset-top: -24px;
  --imc-mask-bottom: 56px;
}
.imc-modal__iframe {
  position: absolute;
  top: calc(var(--imc-iframe-offset-top) * -1);
  left: 0;
  width: 100%;
  height: calc(100% + var(--imc-iframe-offset-top));
  border: 0;
  display: block;
}
.imc-modal__mask {
  position: absolute;
  left: 0;
  right: 0;
  background: #fff;
  pointer-events: none;
  z-index: 1;
}
.imc-modal__mask--bottom {
  bottom: 0;
  height: var(--imc-mask-bottom);
}
body.is-imc-modal-open {
  overflow: hidden;
}
@media (max-width: 600px) {
  .imc-modal { padding: 12px; }
  .imc-modal__dialog { border-radius: 16px; height: calc(100vh - 24px); }
  .imc-modal__header { padding: 12px 16px 0; }
  .imc-modal__body { padding: 8px 16px 16px; }
  .imc-modal__back-text { font-size: 13px; }
}

/* ============================================================
   SINGLE — STRUCTURE / PRO  (single-cso_pro.php)
   ============================================================ */
.structure-page { background: var(--blanc); }

/* ---------- HERO ---------- */
.structure-hero {
  position: relative;
  padding-top: 56px;
  padding-bottom: 0;
}
.structure-hero__decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 28vw;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.structure-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
  padding-top: 40px;
}
.structure-hero__intro {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 480px;
  background: var(--blanc);
  padding: 32px;
  border-radius: 16px;
}
.structure-hero__title {
  font-family: var(--font-family);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--anthracite);
  margin: 0;
}
.structure-hero__metas {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.structure-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--bordeaux);
  font-size: 14px;
  font-weight: 600;
}
.structure-meta__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: block;
}
.structure-meta__label--anthracite { color: var(--anthracite); }
.structure-meta__label--anthracite strong { font-weight: 600; }
.structure-chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}
.structure-chip {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 30px;
  outline: 1px solid rgba(189, 24, 36, 0.4);
  outline-offset: -1px;
  color: var(--bordeaux);
  font-size: 13px;
  font-weight: 500;
  background: rgba(189, 24, 36, 0.10);
}
.structure-hero__visual {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--gris-clair);
}
.structure-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Logo de structure : on l'affiche en entier (sans rognage) sur fond blanc,
   avec un peu d'air autour, plutôt que de le couper comme une photo. */
.structure-hero__visual--logo {
  background: #fff;
}
.structure-hero__visual--logo img {
  object-fit: contain;
  padding: 24px;
}

/* ---------- Cartes Hero (coords + ETP) ---------- */
.structure-cards {
  position: relative;
  z-index: 1;
  margin-top: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}
/* Carte « propose » masquée (ex. pro libéral sans ETP/matériel) : coordonnées seule en pleine largeur */
.structure-cards--solo {
  grid-template-columns: 1fr;
}
.structure-card {
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 4px 26px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.structure-card--coords {
  background: var(--beige-aplat);
}
.structure-card--etp {
  background: var(--blanc);
  outline: 1px solid rgba(189, 24, 36, 0.2);
  outline-offset: -1px;
  box-shadow: 0 4px 26px rgba(0, 0, 0, 0.06);
}
.structure-card__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.structure-card__title {
  margin: 0;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--anthracite);
}
.structure-card__divider {
  display: block;
  height: 1px;
  background: var(--bordeaux);
  opacity: 0.1;
}

/* Coords */
.structure-coords__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}
.structure-coords__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.structure-coords__row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--anthracite);
}
.structure-coords__icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.structure-coords__icon img { display: block; width: 100%; height: 100%; }
.structure-coords__text {
  font-size: 14px;
  font-weight: 600;
  color: var(--anthracite);
  line-height: 1.4;
}
.structure-coords__text strong { font-weight: 700; font-size: 12px; }
.structure-coords__phone {
  font-size: 16px;
  font-weight: 700;
}
.structure-coords__address {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
}
.structure-coords__text--bordeaux { color: var(--bordeaux); }
.structure-coords__text--nancy { color: var(--nancy); }
.structure-coords__link-wrap { margin: 0; }
.structure-coords__link {
  color: var(--bordeaux);
  font-weight: 600;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.structure-coords__col--mails { gap: 14px; }
.structure-coords__mails-head { margin-bottom: 0; }
.structure-coords__contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.structure-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.structure-contact__role {
  color: var(--anthracite);
  font-size: 14px;
  font-weight: 600;
}
.structure-contact__name {
  color: var(--textes);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}
.structure-contact__email {
  color: var(--textes);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}
.structure-contact__email:hover { text-decoration: underline; }

/* ETP */
.structure-etp { display: flex; flex-direction: column; gap: 18px; }
.structure-etp__block { display: flex; flex-direction: column; gap: 12px; }
.structure-etp__row { display: flex; align-items: center; gap: 6px; }
.structure-etp__check {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}
.structure-etp__label {
  color: var(--bordeaux);
  font-size: 14px;
  font-weight: 600;
}
.structure-etp__label--nancy { color: var(--nancy); }
.structure-etp__info {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}
.structure-etp__desc {
  margin: 0;
  color: var(--textes);
  font-size: 11px;
  font-style: italic;
  line-height: 1.47;
  font-family: 'Outfit', sans-serif;
}
.structure-etp__desc strong { color: var(--bordeaux); font-weight: 600; }
.structure-etp__chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.structure-etp__chips .structure-chip {
  background: var(--blanc);
}

/* --- Documents / PJ ----------------------------------- */
.structure-docs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.structure-doc__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--blanc);
  border: 1px solid rgba(189, 24, 36, 0.30);
  border-radius: 14px;
  color: var(--bordeaux);
  text-decoration: none;
  font-family: var(--font-family);
  transition: border-color .15s ease, background .15s ease;
}
.structure-doc__link:hover {
  border-color: var(--bordeaux);
  background: rgba(189, 24, 36, 0.04);
}
.structure-doc__icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(189, 24, 36, 0.10);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.structure-doc__icon svg { display: block; }
.structure-doc__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}
.structure-doc__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--bordeaux);
  word-break: break-word;
}
.structure-doc__meta {
  font-size: 12px;
  font-weight: 500;
  color: var(--anthracite);
  opacity: .65;
  text-transform: uppercase;
  letter-spacing: .02em;
}

/* Critères d’inclusion / exclusion */
.structure-criteres {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.structure-criteres__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
  background: var(--blanc);
  border: 1px solid rgba(189, 24, 36, 0.18);
  border-left-width: 3px;
  border-radius: 12px;
}
.structure-criteres__item--inc { border-left-color: var(--cso-metz-thionville); }
.structure-criteres__item--exc { border-left-color: var(--bordeaux); }
.structure-criteres__tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.structure-criteres__item--inc .structure-criteres__tag { color: var(--cso-metz-thionville); }
.structure-criteres__item--exc .structure-criteres__tag { color: var(--bordeaux); }
.structure-criteres__text {
  color: var(--textes);
  font-size: 14px;
  line-height: 1.47;
  font-family: 'Outfit', sans-serif;
}

/* Back link */
.structure-hero__back {
  margin-top: 24px;
  padding-bottom: 60px;
}
.structure-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bordeaux);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.structure-back__icon { width: 30px; height: 30px; display: block; flex-shrink: 0; }
.structure-back:hover span { text-decoration: underline; }

/* ---------- PRÉSENTATION ---------- */
.structure-presentation {
  background: var(--gris-clair);
  padding: 110px 0 80px;
}
.structure-presentation__title {
  margin: 0 0 96px;
  text-align: center;
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 700;
  color: var(--anthracite);
}
.structure-blocks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
/* Peu de blocs remplis → on évite le grand vide : le(s) bloc(s) prennent toute la largeur */
.structure-blocks--1 { grid-template-columns: minmax(0, 1fr); }
.structure-blocks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.structure-block {
  background: var(--blanc);
  border-radius: 24px;
  padding: 24px 24px 49px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  outline: 1.5px solid rgba(189, 24, 36, 0.10);
  outline-offset: -1.5px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.structure-block__head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.structure-block__icon {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}
.structure-block__title {
  margin: 0;
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 700;
  color: var(--bordeaux);
  line-height: 1.3;
}
.structure-block__body {
  color: var(--textes);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.structure-block__body p { margin: 0 0 12px; }
.structure-block__body p:last-child { margin-bottom: 0; }
.structure-block__body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.structure-block__body ul li {
  position: relative;
  padding-left: 22px;
  color: var(--anthracite);
  font-size: 14px;
  font-weight: 500;
}
.structure-block__body ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--bordeaux);
  font-weight: 700;
}
/* Sous-libellé d'un groupe auto-rempli (carte 3 : « Équipe pluridisciplinaire mobilisée », etc.)
   Sélecteur volontairement spécifique (p.…) pour battre `.structure-block__body p{margin:0 0 12px}`. */
.structure-block__body p.structure-block__sublabel {
  margin: 44px 0 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(189, 24, 36, 0.18);
  color: var(--bordeaux);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.structure-block__body > p.structure-block__sublabel:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.structure-modalites {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.structure-modalite {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 4px 6px;
  border-radius: 30px;
  background: rgba(189, 24, 36, 0.10);
  color: var(--bordeaux);
  font-size: 13px;
  font-weight: 500;
}
.structure-modalite__icon {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}

/* ---------- NOUS SITUER ---------- */
.structure-locate {
  background: var(--beige-aplat);
  padding: 62px 0 114px;
}
.structure-locate__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}
.structure-locate__head-icon {
  width: 44px;
  height: 44px;
  display: block;
  flex-shrink: 0;
}
.structure-locate__title {
  margin: 0;
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 700;
  color: var(--anthracite);
}
.structure-locate__panel {
  background: var(--blanc);
  border-radius: 24px;
  outline: 1px solid var(--nancy);
  outline-offset: -1px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 96px;
  align-items: stretch;
}
.structure-locate__map {
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gris-clair);
}
.structure-locate__map--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.structure-locate__map--placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.structure-locate__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.structure-locate__name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.structure-locate__name {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 700;
  color: var(--nancy);
  line-height: 1.3;
}
.structure-locate__address {
  margin: 0;
  color: var(--anthracite);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.structure-locate__maps {
  margin: 0;
}
.structure-locate__maps a {
  color: var(--bordeaux);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.structure-locate__row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

/* Back link (bas de page) */
.structure-back-wrap {
  padding: 101px 0 109px;
}
.structure-link-arrow {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .structure-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .structure-cards { grid-template-columns: 1fr; }
  .structure-coords__grid { grid-template-columns: 1fr; gap: 20px; }
  .structure-blocks { grid-template-columns: 1fr; }
  .structure-locate__panel { grid-template-columns: 1fr; }
  .structure-locate__map { min-height: 280px; }
}
@media (max-width: 600px) {
  .structure-hero { padding-top: 32px; }
  .structure-hero__title { font-size: 26px; }
  .structure-card { padding: 20px; }
  .structure-presentation { padding: 48px 0 56px; }
  .structure-locate { padding: 48px 0 56px; }
  .structure-locate__panel { padding: 16px; }
  .structure-meta { font-size: 13px; }
}

/* ============================================================
   PAGE : SINGLE ACTUALITÉ
   ============================================================ */
.actu-single {
  --accent: var(--bordeaux);
  background: var(--blanc);
}

/* HERO */
.actu-single__hero {
  position: relative;
  padding: 32px 0 56px;
  overflow: hidden;
}
.actu-single__decor {
  position: absolute;
  right: -80px;
  top: -40px;
  width: 420px;
  height: auto;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 0;
}
.actu-single__hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.actu-single__crumbs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--textes);
}
.actu-single__crumbs a {
  color: var(--textes);
  text-decoration: none;
  transition: color .15s;
}
.actu-single__crumbs a:hover { color: var(--bordeaux); }
.actu-single__crumb-sep { color: var(--textes); opacity: .5; }
.actu-single__crumb-current {
  color: var(--anthracite);
  font-weight: 700;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.actu-single__back { margin: 0; }

.actu-single__hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.actu-single__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.actu-single__publisher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--anthracite);
  margin: 0;
}
.actu-single__publisher a {
  color: inherit;
  text-decoration: none;
}
.actu-single__publisher a:hover { color: var(--bordeaux); }
.actu-single__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.actu-single__title {
  color: var(--bordeaux);
  font-family: var(--font-family);
  font-size: var(--fs-h1);
  font-weight: var(--fw-h1);
  line-height: var(--lh-h1);
  margin: 0;
}
.actu-single__metas {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.actu-single__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--anthracite);
  opacity: .75;
}
.actu-single__cats {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
.actu-single__cat {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--jaune-pale);
  color: var(--bordeaux);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s;
}
.actu-single__cat:hover { background: var(--jaune-clair); }
.actu-single__excerpt {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--anthracite);
  margin-top: 4px;
}
.actu-single__visual {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
}
.actu-single__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CORPS */
.actu-single__body {
  padding: 24px 0 56px;
}
.actu-single__content {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--textes);
}
.actu-single__content > * + * { margin-top: 1.2em; }
.actu-single__content h2 {
  color: var(--bordeaux);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 1.8em;
}
.actu-single__content h3 {
  color: var(--bordeaux);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1.6em;
}
.actu-single__content p { margin: 0; }
.actu-single__content a {
  color: var(--bordeaux);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.actu-single__content a:hover { color: var(--bordeaux-dark); }
.actu-single__content strong { color: var(--anthracite); }
.actu-single__content ul,
.actu-single__content ol {
  padding-left: 0;
  margin: 0;
  list-style: none;
}
.actu-single__content ul li,
.actu-single__content ol li {
  position: relative;
  padding-left: 26px;
  margin: 0.5em 0;
}
.actu-single__content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--jaune);
}
/* Reset : pas de bullet jaune sur la liste de partage ni sur la liste de tags */
.actu-single__share-list li,
.actu-single__tags li {
  padding-left: 0;
  margin: 0;
}
.actu-single__share-list li::before,
.actu-single__tags li::before { content: none; }
.actu-single__content ol {
  counter-reset: actu-counter;
}
.actu-single__content ol li {
  counter-increment: actu-counter;
}
.actu-single__content ol li::before {
  content: counter(actu-counter);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bordeaux);
  color: var(--blanc);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.actu-single__content blockquote {
  border-left: 4px solid var(--bordeaux);
  background: var(--jaune-pale);
  padding: 20px 24px;
  margin: 1.5em 0;
  border-radius: 0 12px 12px 0;
  font-size: 17px;
  font-style: italic;
  color: var(--anthracite);
}
.actu-single__content blockquote p { margin: 0; }
.actu-single__content img,
.actu-single__content .wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  margin: 1.6em auto;
}
.actu-single__content figure { margin: 1.6em 0; }
.actu-single__content figcaption {
  font-size: 13px;
  color: var(--textes);
  opacity: .8;
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* Tags */
.actu-single__tags {
  list-style: none;
  padding: 0;
  margin: 2em 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.actu-single__tags a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid #e8e8e8;
  background: var(--blanc);
  color: var(--textes);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.actu-single__tags a:hover {
  border-color: var(--bordeaux);
  color: var(--bordeaux);
}

/* Partage */
.actu-single__share {
  margin-top: 32px;
  padding: 20px 0;
  border-top: 1.5px solid #ececec;
  border-bottom: 1.5px solid #ececec;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.actu-single__share-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--anthracite);
}
.actu-single__share-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 10px;
}
.actu-single__share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gris-clair);
  color: var(--bordeaux);
  transition: background .18s, color .18s, transform .18s;
}
.actu-single__share-link:hover {
  background: var(--bordeaux);
  color: var(--blanc);
  transform: translateY(-2px);
}

/* BANDEAU PUBLISHER */
.actu-single__publisher-band {
  background: var(--beige-aplat);
  padding: 32px 0;
  margin-top: 16px;
}
.actu-single__publisher-band-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.actu-single__publisher-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.actu-single__publisher-text {
  flex: 1;
  margin: 0;
  font-size: 16px;
  color: var(--anthracite);
  min-width: 240px;
}
.actu-single__publisher-text strong { color: var(--bordeaux); }
.actu-single__publisher-cta { flex-shrink: 0; }

/* AUTRES ACTUS */
.actu-single__related {
  padding: 64px 0 40px;
  background: var(--blanc);
}
.actu-single__related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.actu-single__related-title {
  color: var(--bordeaux);
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}
.actu-single__related-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--bordeaux);
  text-decoration: none;
}
.actu-single__related-all:hover { color: var(--bordeaux-dark); }
.actu-single__related-grid {
  grid-template-columns: repeat(3, 1fr);
}
.actu-single__related-grid .actu-card {
  grid-template-columns: 1fr;
}
.actu-single__related-grid .actu-card__image {
  aspect-ratio: 16 / 10;
}

.actu-single__back-wrap {
  padding: 24px 0 64px;
}

/* RESPONSIVE — Single actu */
@media (max-width: 980px) {
  .actu-single__hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .actu-single__visual { aspect-ratio: 16 / 10; }
  .actu-single__related-grid { grid-template-columns: 1fr; }
  .actu-single__decor { width: 280px; opacity: .7; }
}
@media (max-width: 600px) {
  .actu-single__hero { padding: 24px 0 40px; }
  .actu-single__title { font-size: 26px; }
  .actu-single__hero-top { flex-direction: column; align-items: flex-start; }
  .actu-single__crumb-current { max-width: 220px; }
  .actu-single__excerpt { font-size: 15px; }
  .actu-single__content { font-size: 15px; }
  .actu-single__content h2 { font-size: 22px; }
  .actu-single__content h3 { font-size: 18px; }
  .actu-single__publisher-band-inner { flex-direction: column; align-items: flex-start; }
  .actu-single__related { padding: 48px 0 24px; }
}

/* ============================================================
   PAGE CSO — HERO (page-cso.php / section .cso-hero)
   ============================================================ */
.cso-page { --cso-accent: var(--nancy); }

/* Le main qui contient le hero clip horizontalement pour éviter
   que la photo ronde (qui déborde à droite) ne pousse un scroll horizontal,
   tout en laissant la photo et la carte contact dépasser VERS LE BAS
   sur la section soins (comportement Figma). */
main.cso-page { overflow-x: clip; }

.cso-hero {
  position: relative;
  background: var(--beige-aplat);
  padding: 64px 0 0;
}

.cso-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 533px) 1fr;
  gap: 40px;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* --- Colonne gauche -------------------------------------- */
.cso-hero__left {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 533px;
}

.cso-hero__breadcrumb {
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  color: var(--textes);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.cso-hero__breadcrumb a {
  color: var(--textes);
  text-decoration: none;
}
.cso-hero__breadcrumb a:hover { color: var(--bordeaux); }
.cso-hero__breadcrumb .sep { color: var(--textes); opacity: .8; }
.cso-hero__breadcrumb .current {
  color: var(--bordeaux);
  font-weight: 700;
}

.cso-hero__title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cso-hero__title-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.cso-hero__title {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--fs-h1);
  font-weight: var(--fw-h1);
  line-height: 1.2;
  color: var(--cso-accent);
}

.cso-hero__desc {
  margin: 0;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--textes);
  max-width: 473px;
}
.cso-hero__desc strong,
.cso-hero__desc b { font-weight: 600; color: var(--textes); }

.cso-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* --- Colonne droite (image ronde + carte contact) ------- */
.cso-hero__right {
  position: relative;
  /* Hauteur calée sur la photo ronde (ratio ~ 912:651 = 1.4).
     min-height = largeur clamp / 1.4 ≈ 614px à largeur max.
     Au-delà, photo et carte contact chevauchent la section soins. */
  min-height: 614px;
}
/* Colonne droite vide (pas de photo + 2 cartes sorties dans une 3e cellule
   du grid) : on supprime la réserve de hauteur pour éviter un gros gap. */
.cso-hero__right--empty {
  min-height: 0;
}

.cso-hero__photo-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(480px, 60vw, 860px);
  z-index: 1;
}
.cso-hero__photo {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Stack des cartes contact (1 ou 2) ------------------ */
.cso-contact-card-stack {
  position: absolute;
  z-index: 3;
  top: clamp(380px, 50%, 460px);
  left: -82px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* Quand 2 cartes : le stack sort du `.cso-hero__right` (1fr ~800px) et se
   place comme une 3e cellule du grid `.cso-hero__inner` qui span les 2
   colonnes (full container 1440px max). Du coup chaque carte a ~50% de la
   largeur container et garde le layout horizontal info + map. */
.cso-contact-card-stack--two {
  grid-column: 1 / -1;
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  margin-top: 56px;
  flex-direction: row;
  align-items: stretch;
  gap: 24px;
}
.cso-contact-card-stack--two .cso-contact-card {
  flex: 1 1 0;
  min-width: 0;
  padding: 20px 20px 20px 32px;
  gap: 32px;
}
.cso-contact-card-stack--two .cso-contact-card__map-wrap {
  width: 240px;
  height: 240px;
  flex-shrink: 0;
}
.cso-contact-card-stack--two .cso-contact-card__address,
.cso-contact-card-stack--two .cso-contact-card__row-label { word-break: break-word; }

/* --- Carte contact ------------------------------------- */
.cso-contact-card {
  background: #fff;
  border-radius: 30px;
  outline: 1px solid rgba(255, 142, 0, 0.30);
  outline-offset: -1px;
  box-shadow: 0 4px 49.5px rgba(0, 0, 0, 0.06);
  padding: 20px 20px 20px 48px;
  display: flex;
  gap: 50px;
  align-items: center;
}
.cso-contact-card__info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cso-contact-card__heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cso-contact-card__pin {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: block;
}
.cso-contact-card__etab {
  color: var(--cso-accent);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  font-family: var(--font-family);
}
.cso-contact-card__address {
  font-family: var(--font-family);
  font-style: normal;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--anthracite);
  margin: 0;
}
.cso-contact-card__maps {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--bordeaux);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font-family);
}
.cso-contact-card__maps:hover { text-decoration: underline; }
.cso-contact-card__maps img { flex-shrink: 0; width: 12px; height: 14px; }

.cso-contact-card__row {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  font-family: var(--font-family);
}
.cso-contact-card__row-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: block;
}
.cso-contact-card__row--phone .cso-contact-card__row-label {
  color: var(--anthracite);
  font-size: 18px;
  font-weight: 700;
  line-height: 23.4px;
}
.cso-contact-card__row--email .cso-contact-card__row-label {
  color: var(--anthracite);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  word-break: break-word;
}
.cso-contact-card__row:hover .cso-contact-card__row-label { color: var(--bordeaux); }

.cso-contact-card__map-wrap {
  flex: 0 0 auto;
  width: 284px;
  height: 280px;
  border-radius: 24px;
  overflow: hidden;
}
.cso-contact-card__map {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* --- Responsive -------------------------------------------- */
@media (max-width: 1100px) {
  .cso-hero { padding: 48px 0 80px; }
  .cso-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .cso-hero__right { min-height: auto; }
  .cso-hero__photo-wrap {
    position: relative;
    width: min(720px, 100%);
    margin: 0 auto;
  }
  .cso-contact-card-stack {
    position: relative;
    top: -64px;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 760px;
    flex-direction: column;
    gap: 24px;
  }
  .cso-contact-card-stack--two {
    top: 0;
    margin-top: 0;
    max-width: 760px;
  }
  .cso-contact-card-stack--two .cso-contact-card {
    flex: 1 1 auto;
    padding: 20px;
    gap: 24px;
  }
  .cso-contact-card-stack--two .cso-contact-card__map-wrap {
    width: 100%;
    height: 240px;
    border-radius: 24px;
  }
  .cso-contact-card {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 20px;
    gap: 24px;
  }
  .cso-contact-card__map-wrap { width: 100%; height: 240px; }
}

@media (max-width: 640px) {
  .cso-hero { padding: 32px 0 64px; }
  .cso-hero__title { font-size: 28px; }
  .cso-hero__title-icon { width: 36px; height: 36px; }
  .cso-hero__ctas { flex-direction: column; align-items: stretch; }
  .cso-hero__ctas .btn { justify-content: space-between; }
  .cso-contact-card { padding: 16px; gap: 16px; }
  .cso-contact-card__row--phone .cso-contact-card__row-label { font-size: 16px; }
}

/* --- Hero sans photo d'équipe (décision client 29/07/2026) ------------
   Sans image hero, la carte contact ne déborde plus sous le hero : elle
   remonte DANS la zone beige, en flux, alignée sur le haut de la colonne
   gauche. Le dégagement de 212px de .cso-soins n'a alors plus de raison
   d'être (sélecteur frère adjacent). Pages avec photo : rien ne change. */
@media (min-width: 1101px) {
  .cso-hero--no-photo { padding-bottom: 56px; }
  .cso-hero--no-photo .cso-hero__right { min-height: 0; }
  .cso-hero--no-photo .cso-contact-card-stack {
    position: relative;
    top: 0;
    left: 0;
    right: auto;
    margin-top: 32px;   /* aligné sur le padding-top de .cso-hero__left */
    margin-left: -82px; /* même élargissement que l'ancien left:-82px */
  }
  /* Cas 2 cartes (stack--two, 3e cellule du grid) : déjà en flux, on ne
     garde que le no-op sur les décalages ci-dessus. */
  .cso-hero--no-photo .cso-contact-card-stack--two {
    margin-left: 0;
    margin-top: 56px;
  }
}
.cso-hero--no-photo + .cso-soins { padding-top: 96px; }

/* ============================================================
   PAGE CSO — SECTION "VOTRE PRISE EN SOINS" (.cso-soins)
   ============================================================ */
.cso-soins {
  position: relative;
  padding: 212px 0 96px;
  background: #fff;
  overflow: visible;
}

/* Ellipse beige qui chevauche la frontière hero/section soins */
.cso-soins__decor-ellipse {
  position: absolute;
  top: -90px;
  left: -78px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #FFE0B8;
  z-index: 1;
  pointer-events: none;
}

.cso-soins__title {
  margin: 0 0 40px;
  text-align: center;
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 700;
  line-height: 26.4px;
  color: var(--anthracite);
}

/* --- Switcher onglets (animation slide) ------------------ */
.cso-soins__tabs {
  display: flex;
  align-items: stretch;
  width: max-content;
  margin: 0 auto 80px;
  border: 1px solid var(--bordeaux);
  border-radius: 30px;
  position: relative;
  isolation: isolate;
  --indicator-x: 0px;
  --indicator-w: 0px;
}
/* Indicateur coulissant (pill bordeaux sous le tab actif) */
.cso-soins__tabs::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--indicator-w);
  transform: translateX(var(--indicator-x));
  background: var(--bordeaux);
  border-radius: 30px;
  transition: transform .4s cubic-bezier(.4,0,.2,1), width .4s cubic-bezier(.4,0,.2,1);
  z-index: 0;
  pointer-events: none;
}
.cso-soins__tabs.no-anim::before { transition: none; }
.cso-soins__tab {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  color: var(--bordeaux);
  height: 48px;
  padding: 0 48px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  border-radius: 30px;
  transition: color .25s ease;
}
.cso-soins__tab.is-active { color: var(--blanc); }
.cso-soins__tab:hover:not(.is-active) {
  color: var(--bordeaux-dark, var(--bordeaux));
}
/* Séparateur 1×32 entre tabs inactifs adjacents */
.cso-soins__tab:not(.is-active) + .cso-soins__tab:not(.is-active)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  background: rgba(189, 24, 36, 0.40);
}

/* --- Panels --------------------------------------------- */
.cso-soins__panel { display: none; }
.cso-soins__panel.is-active { display: block; }
.cso-soins__placeholder {
  text-align: center;
  color: var(--textes);
  font-style: italic;
  padding: 48px 24px;
  background: rgba(189, 24, 36, 0.03);
  border-radius: 24px;
}

/* --- Grid 3 cards --------------------------------------- */
.cso-care-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

/* --- Card commune --------------------------------------- */
.cso-care-card {
  position: relative;
  padding: 70px 24px 32px;
  border-radius: 24px;
  outline-offset: -2px;
  outline-width: 2px;
  outline-style: solid;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cso-care-card__icon {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.cso-care-card__icon img {
  width: 30px;
  height: 30px;
  display: block;
}

.cso-care-card__title {
  margin: 0;
  text-align: center;
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 23.4px;
}

.cso-care-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cso-care-card__list li {
  position: relative;
  padding-left: 18px;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--textes);
}
.cso-care-card__list li::before {
  content: "•";
  position: absolute;
  left: 2px;
  top: 0;
  line-height: 24px;
  font-weight: 700;
  color: currentColor;
}

.cso-care-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.cso-care-card__tag {
  padding: 4px 14px;
  border-radius: 30px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  color: var(--anthracite);
}

/* --- Variant lilas (Activités) -------------------------- */
.cso-care-card--lilas {
  background: rgba(237, 234, 255, 0.28);
  outline-color: rgba(160, 150, 223, 0.40);
}
.cso-care-card--lilas .cso-care-card__title { color: var(--lilas); }
.cso-care-card--lilas .cso-care-card__icon { background: #EDEAFF; }
.cso-care-card--lilas .cso-care-card__tag { background: #EDEAFF; }

/* --- Variant orange (Traitements) ----------------------- */
.cso-care-card--orange {
  background: rgba(255, 142, 0, 0.10);
  outline-color: rgba(255, 142, 0, 0.40);
}
.cso-care-card--orange .cso-care-card__title { color: var(--nancy); }
.cso-care-card--orange .cso-care-card__icon { background: #FFE0B8; }

/* --- Variant bordeaux (Sévère/complexe) ----------------- */
.cso-care-card--bordeaux {
  background: rgba(189, 24, 36, 0.06);
  outline-color: rgba(189, 24, 36, 0.30);
}
.cso-care-card--bordeaux .cso-care-card__title { color: var(--bordeaux); }
.cso-care-card--bordeaux .cso-care-card__icon { background: #FFD1D5; }

/* --- Responsive ----------------------------------------- */
@media (max-width: 1100px) {
  .cso-soins { padding: 96px 0 80px; }
  .cso-care-grid { grid-template-columns: 1fr; gap: 56px; }
  .cso-soins__tabs { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .cso-soins__title { font-size: 20px; }
  .cso-soins__tab { padding: 12px 24px; font-size: 13px; height: 44px; }
  .cso-care-card { padding: 60px 20px 28px; }
}

/* ============================================================
   MODAL — formulaire "Apparaître sur la cartographie" (multi-step)
   ============================================================ */

html.cso-modal-open { overflow: hidden; }

.cso-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cso-modal[hidden] { display: none; }

.cso-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 27, 27, 0.55);
  cursor: pointer;
}

.cso-modal__dialog {
  position: relative;
  z-index: 1;
  background: var(--blanc);
  border-radius: 24px;
  width: 100%;
  max-width: 880px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

/* Header style imc-modal (bouton "Revenir à l'annuaire" + icône close) */
.cso-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px clamp(20px, 4vw, 56px) 12px;
  border-bottom: 1px solid #ece9f5;
  flex-shrink: 0;
}
.cso-modal__heading { min-width: 0; }
.cso-modal__title {
  font-family: var(--font-family);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  color: var(--bordeaux);
  margin: 0;
  line-height: 1.2;
}
.cso-modal__subtitle {
  font-size: 13px;
  color: var(--textes);
  margin: 4px 0 0;
  line-height: 1.4;
}
.cso-modal__subtitle abbr,
.cso-modal__title abbr { text-decoration: none; color: var(--bordeaux); font-weight: 700; }

.cso-modal__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  padding: 6px;
  cursor: pointer;
  color: #BD1824;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  flex-shrink: 0;
}
.cso-modal__back-text { text-decoration: none; }
.cso-modal__back:hover .cso-modal__back-text { text-decoration: underline; }
.cso-modal__close-icon {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.cso-modal__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 24px clamp(20px, 4vw, 56px) 32px;
}

/* ---------- Stepper ---------- */

.annuaire-stepper {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  counter-reset: step;
}
.annuaire-stepper__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #9e9bb1;
  padding: 8px 14px 8px 8px;
  border-radius: 100px;
  background: var(--gris-clair);
  transition: background 0.2s ease, color 0.2s ease;
}
.annuaire-stepper__item.is-done { cursor: pointer; }
.annuaire-stepper__item.is-done:hover { background: #f5d5d8; }
.annuaire-stepper__bullet {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blanc);
  color: var(--bordeaux);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.annuaire-stepper__item.is-current {
  background: var(--bordeaux);
  color: var(--blanc);
}
.annuaire-stepper__item.is-current .annuaire-stepper__bullet {
  background: var(--blanc);
  color: var(--bordeaux);
}
.annuaire-stepper__item.is-done {
  background: #f5d5d8;
  color: var(--anthracite);
}
.annuaire-stepper__item.is-done .annuaire-stepper__bullet {
  background: var(--bordeaux);
  color: var(--blanc);
}

/* ---------- Steps ---------- */

.annuaire-step {
  display: none;
  border: 0;
  padding: 0;
  margin: 0;
}
.annuaire-step.is-active { display: flex; flex-direction: column; gap: 18px; }
.annuaire-step__title {
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 700;
  color: var(--anthracite);
  margin: 0 0 4px;
  padding: 0;
  line-height: 1.3;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}
.annuaire-step__title span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bordeaux);
  font-weight: 700;
}

/* ---------- Nav buttons ---------- */

.annuaire-form__nav {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #ece9f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.annuaire-form__nav-btn {
  background: transparent;
  border: 1px solid #d8d6e5;
  border-radius: 100px;
  padding: 10px 20px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  color: var(--anthracite);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.annuaire-form__nav-btn:hover {
  background: var(--gris-clair);
  border-color: var(--bordeaux);
}
.annuaire-form__next,
.annuaire-form__submit {
  margin-left: auto;
  cursor: pointer;
  border: none;
}
.annuaire-form__submit:disabled,
.annuaire-form__submit.is-loading { opacity: 0.6; cursor: progress; }

/* Force le respect de l'attribut [hidden] sur les boutons .btn
   (sinon .btn { display: inline-flex } gagne contre [hidden] à spécificité égale) */
.annuaire-form__nav [hidden] { display: none !important; }

/* ---------- Form ---------- */

.annuaire-form { display: flex; flex-direction: column; gap: 18px; }

.annuaire-form__hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.annuaire-form__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.annuaire-form__field > label,
.annuaire-form__field > legend,
.annuaire-form__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--anthracite);
  line-height: 1.4;
  margin: 0 0 4px;
}
.annuaire-form__field abbr {
  text-decoration: none;
  color: var(--bordeaux);
  font-weight: 700;
  margin-left: 2px;
}

.annuaire-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 640px) {
  .annuaire-form__row { grid-template-columns: 1fr; }
}

.annuaire-form input[type="text"],
.annuaire-form input[type="email"],
.annuaire-form input[type="url"],
.annuaire-form input[type="tel"],
.annuaire-form select,
.annuaire-form textarea {
  width: 100%;
  font-family: var(--font-family);
  font-size: 15px;
  color: var(--anthracite);
  padding: 12px 14px;
  border: 1px solid #d8d6e5;
  border-radius: 10px;
  background: var(--blanc);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.annuaire-form textarea { resize: vertical; min-height: 90px; }
.annuaire-form input:focus,
.annuaire-form select:focus,
.annuaire-form textarea:focus {
  outline: none;
  border-color: var(--bordeaux);
  box-shadow: 0 0 0 3px rgba(189, 24, 36, 0.20);
}

/* checkboxes / radios groupés */
.annuaire-form__field--checks,
.annuaire-form__field--radios {
  border: none;
  padding: 0;
  margin: 0;
}
.annuaire-form__field--checks > div,
.annuaire-form__field--radios > div { display: contents; }

.annuaire-form__check,
.annuaire-form__radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--anthracite);
  padding: 8px 12px;
  margin: 0 8px 6px 0;
  background: var(--gris-clair);
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  line-height: 1.2;
}
.annuaire-form__check input,
.annuaire-form__radio input {
  accent-color: var(--bordeaux);
  width: 16px;
  height: 16px;
  margin: 0;
}
.annuaire-form__check:hover,
.annuaire-form__radio:hover { background: #f5d5d8; }
.annuaire-form__check:has(input:checked),
.annuaire-form__radio:has(input:checked) {
  background: var(--bordeaux);
  color: var(--blanc);
}

.annuaire-form__autre {
  margin-top: 10px;
  max-width: 380px;
}

/* RGPD */
.annuaire-form__rgpd {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  cursor: pointer;
  font-size: 13px;
  color: var(--textes);
  line-height: 1.5;
}
.annuaire-form__rgpd input { position: absolute; opacity: 0; pointer-events: none; }
.annuaire-form__rgpd-box {
  width: 22px;
  height: 22px;
  border: 1px solid #d6c8ca;
  border-radius: 5px;
  background: var(--blanc);
  display: inline-block;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
  margin-top: 2px;
}
.annuaire-form__rgpd input:checked + .annuaire-form__rgpd-box {
  background: var(--bordeaux);
  border-color: var(--bordeaux);
}
.annuaire-form__rgpd input:checked + .annuaire-form__rgpd-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid var(--blanc);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.annuaire-form__rgpd-text abbr {
  text-decoration: none;
  color: var(--bordeaux);
  font-weight: 700;
}

/* Erreurs */
.annuaire-form__error {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--bordeaux);
  font-weight: 600;
}

/* Notices globales */
.annuaire-form__notice {
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
}
.annuaire-form__notice--ok {
  background: #e9f5e0;
  color: #2e6a18;
  border: 1px solid #b6dca0;
}
.annuaire-form__notice--err {
  background: #fde7e7;
  color: #8a1a23;
  border: 1px solid #f0b9bd;
}
.annuaire-form__notice p { margin: 0; }

/* Altcha widget */
.annuaire-form__field--altcha altcha-widget {
  --altcha-max-width: 100%;
  display: block;
}

@media (max-width: 640px) {
  .cso-modal { padding: 0; }
  .cso-modal__dialog {
    border-radius: 0;
    max-height: 100vh;
    height: 100vh;
  }
  .cso-modal__header { padding: 14px 18px 10px; }
  .cso-modal__body { padding: 18px 18px 32px; }
  .cso-modal__back-text { display: none; }
  .annuaire-stepper { gap: 6px; }
  .annuaire-stepper__item { padding: 6px 10px 6px 6px; font-size: 12px; }
  .annuaire-stepper__label { display: none; }
  .annuaire-form__nav { flex-direction: column-reverse; align-items: stretch; }
  .annuaire-form__nav-btn,
  .annuaire-form__next,
  .annuaire-form__submit { width: 100%; justify-content: center; margin-left: 0; }
}

/* ============================================================
   PAGE CSO — SECTION "UNE ÉQUIPE PLURIDISCIPLINAIRE" (.cso-team)
   ============================================================ */
.cso-team {
  position: relative;
  background: var(--beige-aplat);
  padding: 123px 0 138px;
  overflow: hidden;
}

.cso-team__inner { position: relative; z-index: 2; }

/* --- Intro -------------------------------------------------- */
.cso-team__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 64px;
  text-align: center;
}
.cso-team__title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cso-team__title-icon { width: 44px; height: 44px; display: block; }
.cso-team__title {
  margin: 0;
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 700;
  line-height: 26.4px;
  color: var(--cso-accent);
}
.cso-team__description {
  max-width: 630px;
  margin: 0;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--textes);
}

/* --- Bloc 1 : Référents et coordinateurs --------------------- */
.cso-team__refs-block {
  max-width: 1104px;
  margin: 0 auto 32px;
  padding: 40px 46px 48px;
  background: var(--gris-clair);
  border-radius: 30px;
}
.cso-team__refs-title {
  margin: 0 0 40px;
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 700;
  line-height: 26.4px;
  color: var(--anthracite);
}
.cso-team__refs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.cso-ref-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  background: #FFFAF5;
  border-radius: 20px;
  box-shadow: 0 4px 36px rgba(0,0,0,0.06);
  outline-style: solid;
  outline-width: 1px;
  outline-offset: -1px;
}
.cso-ref-card__icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cso-ref-card__icon img { width: 30px; height: auto; display: block; }
.cso-ref-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cso-ref-card__title {
  margin: 0;
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 23.4px;
  color: var(--anthracite);
}
.cso-ref-card__name {
  margin: 0;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--textes);
}
.cso-ref-card--orange  { outline-color: var(--nancy); }
.cso-ref-card--orange .cso-ref-card__icon  { background: #FFDDB3; }
.cso-ref-card--green   { outline-color: var(--cso-metz-thionville); }
.cso-ref-card--green .cso-ref-card__icon   { background: #D6E2B7; }
.cso-ref-card--bordeaux{ outline-color: var(--bordeaux); }
.cso-ref-card--bordeaux .cso-ref-card__icon{ background: #FFD1D5; }
.cso-ref-card--lilas   { outline-color: var(--lilas); }
.cso-ref-card--lilas .cso-ref-card__icon   { background: #EDEAFF; }

/* --- Bloc 2 : Équipes médicales (accordéon) ------------------ */
.cso-team__med-block {
  max-width: 1104px;
  margin: 0 auto;
  padding: 48px 48px 89px;
  background: #FFFAF5;
  border-radius: 30px;
}
.cso-team__med-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}
.cso-team__med-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #FFDDB3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cso-team__med-icon img { width: 30px; height: auto; display: block; }
.cso-team__med-title {
  margin: 0;
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 700;
  line-height: 26.4px;
  color: var(--anthracite);
}
.cso-team__med-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px;
  align-items: start;
}

/* --- Accordion ---------------------------------------------- */
.cso-accordion {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.cso-accordion__item {
  border-bottom: 1px solid rgba(255, 142, 0, 0.40);
  padding: 14px 0;
}
.cso-accordion__item:first-child { padding-top: 0; }
.cso-accordion__header {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 23.4px;
  color: var(--textes);
  text-align: left;
  transition: color .25s;
}
.cso-accordion__item.is-open .cso-accordion__header { color: var(--cso-accent); }
.cso-accordion__header:hover { color: var(--cso-accent); }
.cso-accordion__label { flex: 1; min-width: 0; }
.cso-accordion__icon { flex-shrink: 0; width: 30px; height: 30px; display: block; position: relative; }
.cso-accordion__icon-closed,
.cso-accordion__icon-open {
  position: absolute;
  inset: 0;
  display: block;
  transition: opacity .2s;
}
.cso-accordion__icon img { display: block; width: 30px; height: 30px; }
.cso-accordion__icon-open { opacity: 0; }
.cso-accordion__item.is-open .cso-accordion__icon-closed { opacity: 0; }
.cso-accordion__item.is-open .cso-accordion__icon-open   { opacity: 1; }

.cso-accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
  overflow: hidden;
}
.cso-accordion__item.is-open .cso-accordion__panel { grid-template-rows: 1fr; }
.cso-accordion__panel > * { min-height: 0; }

.cso-accordion__members {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cso-accordion__members li {
  position: relative;
  padding-left: 18px;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--textes);
}
.cso-accordion__members li::before {
  content: "•";
  position: absolute;
  left: 2px;
  top: 0;
  line-height: 24px;
  color: currentColor;
}

/* --- CTA Contactez-nous ------------------------------------- */
.cso-team__cta {
  display: flex;
  justify-content: center;
  margin-top: 72px;
}

/* --- Décor : grand ellipse SVG en bas droite (asset médiathèque par CSO) -- */
.cso-team__decor-circle {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  display: block;
  line-height: 0;
}
.cso-team__decor-circle img {
  display: block;
  width: auto;
  height: auto;
  max-width: 600px;
}

/* --- Responsive --------------------------------------------- */
@media (max-width: 1100px) {
  .cso-team { padding: 80px 0 96px; }
  .cso-team__refs-block,
  .cso-team__med-block { padding: 32px 24px; }
  .cso-team__refs-grid,
  .cso-team__med-grid { grid-template-columns: 1fr; gap: 20px; }
  .cso-team__decor-circle img { max-width: 280px; }
}

@media (max-width: 640px) {
  .cso-team__title { font-size: 20px; }
  .cso-ref-card { flex-wrap: wrap; }
  .cso-team__med-heading { flex-wrap: wrap; }
}

/* ============================================================
   PAGE CSO — SECTION "LES PROCHAINS ÉVÉNEMENTS" (.cso-events)
   ============================================================ */
.cso-events {
  /* flow-root : empêche le margin collapse du 1er enfant (.cso-events__cta-overlap)
     avec le parent. Sans ça, le margin-top négatif tirerait aussi le fond blanc
     vers le haut et mangerait la zone beige de la section précédente. */
  display: flow-root;
  position: relative;
  background: #fff;
  padding: 0 0 96px;
  z-index: 0;
}

/* CTA Contactez-nous : chevauche la frontière .cso-team / .cso-events.
   Le bouton fait 44px de haut → -22px pour que son centre soit pile sur la frontière. */
.cso-events__cta-overlap {
  display: flex;
  justify-content: center;
  margin-top: -22px;
  margin-bottom: 96px;
  position: relative;
  z-index: 5;
}

.cso-events__inner {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

/* --- Intro ---------------------------------------------------- */
.cso-events__intro {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}
.cso-events__title-icon { width: 44px; height: 44px; display: block; }
.cso-events__title {
  margin: 0;
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 700;
  line-height: 26.4px;
  color: var(--cso-accent);
}

/* --- Tabs (sliding indicator) -------------------------------- */
.cso-events__tabs {
  display: flex;
  width: max-content;
  margin: 0 auto;
  align-items: stretch;
  border: 1px solid var(--bordeaux);
  border-radius: 30px;
  position: relative;
  isolation: isolate;
  --indicator-x: 0px;
  --indicator-w: 0px;
}
.cso-events__tabs::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--indicator-w);
  transform: translateX(var(--indicator-x));
  background: var(--bordeaux);
  border-radius: 30px;
  transition: transform .4s cubic-bezier(.4,0,.2,1), width .4s cubic-bezier(.4,0,.2,1);
  z-index: 0;
  pointer-events: none;
}
.cso-events__tabs.no-anim::before { transition: none; }
.cso-events__tab {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  color: var(--bordeaux);
  height: 48px;
  padding: 0 48px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  border-radius: 30px;
  transition: color .25s;
}
.cso-events__tab.is-active { color: var(--blanc); }
.cso-events__tab:not(.is-active) + .cso-events__tab:not(.is-active)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  background: rgba(189, 24, 36, 0.40);
}

/* --- Grid 4 cards -------------------------------------------- */
.cso-events__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* --- Card --------------------------------------------------- */
.cso-event-card {
  position: relative;
  padding: 24px 24px 24px 38px;
  background: var(--blanc);
  border-radius: 30px;
  outline: 1px solid var(--cso-accent);
  outline-offset: -1px;
  box-shadow: 0 4px 24.9px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
}
.cso-event-card.is-hidden { display: none; }

.cso-event-card__top {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cso-event-card__date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  min-width: 41px;
}
.cso-event-card__day {
  font-family: var(--font-family);
  font-size: 36px;
  font-weight: 700;
  line-height: 51.84px;
  color: var(--cso-accent);
}
.cso-event-card__month {
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 23.4px;
  color: var(--cso-accent);
}
.cso-event-card__title {
  margin: 0;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--anthracite);
}
.cso-event-card__sep {
  border: 0;
  border-top: 1px solid var(--cso-accent);
  opacity: 0.30;
  margin: 0;
}
.cso-event-card__details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cso-event-card__detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 500;
  color: var(--textes);
}
/* Le SVG fourni (ID 111/112) n'inclut pas le cercle bg orange — on l'applique via le wrapper. */
.cso-event-card__detail-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cso-accent);
  border-radius: 50%;
}
.cso-event-card__detail-icon img { display: block; width: auto; height: auto; max-width: 14px; max-height: 16px; }

.cso-event-card__arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 30px;
  height: 30px;
  display: block;
  line-height: 0;
  transition: transform .18s;
}
.cso-event-card__arrow:hover { transform: scale(1.08); }
.cso-event-card__arrow img { display: block; width: 30px; height: 30px; }

/* --- Load more ----------------------------------------------- */
.cso-events__load-more {
  margin: 0;
  text-align: center;
}
.cso-events__load-more-btn {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  color: var(--bordeaux);
  padding: 8px 16px;
}
.cso-events__load-more-btn span:first-child {
  text-decoration: underline;
}
.cso-events__placeholder {
  text-align: center;
  color: var(--textes);
  font-style: italic;
  padding: 48px 24px;
}

/* --- Responsive --------------------------------------------- */
@media (max-width: 1200px) {
  .cso-events__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .cso-events { padding: 0 0 80px; }
  .cso-events__cta-overlap { margin-top: -22px; margin-bottom: 64px; }
  .cso-events__grid { grid-template-columns: 1fr; }
  .cso-events__tab { padding: 12px 24px; font-size: 13px; height: 44px; }
}

/* ============================================================
   PAGE : SINGLE ÉVÉNEMENT (.event-single)
   ============================================================ */
.event-single {
  --accent: var(--bordeaux);
  background: var(--blanc);
}

/* HERO */
.event-single__hero {
  position: relative;
  padding: 32px 0 56px;
  overflow: hidden;
}
.event-single__decor {
  position: absolute;
  right: -80px;
  top: -40px;
  width: 420px;
  height: auto;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 0;
}
.event-single__hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.event-single__crumbs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--textes);
}
.event-single__crumbs a {
  color: var(--textes);
  text-decoration: none;
  transition: color .15s;
}
.event-single__crumbs a:hover { color: var(--bordeaux); }
.event-single__crumb-sep { color: var(--textes); opacity: .5; }
.event-single__crumb-current {
  color: var(--anthracite);
  font-weight: 700;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.event-single__back { margin: 0; }

.event-single__hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.event-single__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.event-single__publisher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--anthracite);
  margin: 0;
}
.event-single__publisher a {
  color: inherit;
  text-decoration: none;
}
.event-single__publisher a:hover { color: var(--bordeaux); }
.event-single__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.event-single__type-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--blanc);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.event-single__title {
  color: var(--bordeaux);
  font-family: var(--font-family);
  font-size: var(--fs-h1);
  font-weight: var(--fw-h1);
  line-height: var(--lh-h1);
  margin: 0;
}
.event-single__metas {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.event-single__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--anthracite);
}
.event-single__meta-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--textes);
  opacity: .4;
}
.event-single__excerpt {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--anthracite);
  margin-top: 4px;
}
.event-single__cta { margin-top: 8px; }

.event-single__visual {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
}
.event-single__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Pastille date posée sur l'image */
.event-single__date-chip {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  background: var(--blanc);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  min-width: 84px;
}
.event-single__date-chip-day {
  font-family: var(--font-family);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.event-single__date-chip-month {
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 4px;
  letter-spacing: .04em;
}
.event-single__date-chip-year {
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 600;
  color: var(--textes);
  margin-top: 2px;
}

/* CORPS + ASIDE */
.event-single__body { padding: 24px 0 56px; }
.event-single__body-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 64px;
  align-items: start;
}
.event-single__content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--textes);
}
.event-single__content > * + * { margin-top: 1.2em; }
.event-single__content h2 {
  color: var(--bordeaux);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 1.8em;
}
.event-single__content h3 {
  color: var(--bordeaux);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1.6em;
}
.event-single__content p { margin: 0; }
.event-single__content a {
  color: var(--bordeaux);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.event-single__content ul,
.event-single__content ol {
  padding-left: 0;
  margin: 0;
  list-style: none;
}
.event-single__content ul li,
.event-single__content ol li {
  position: relative;
  padding-left: 26px;
  margin: 0.5em 0;
}
.event-single__content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--jaune);
}
/* Reset : pas de bullet jaune sur la liste de partage */
.event-single__share-list li {
  padding-left: 0;
  margin: 0;
}
.event-single__share-list li::before { content: none; }

/* Carte "Infos pratiques" (aside) */
.event-single__aside { position: sticky; top: 24px; }
.event-single__info-card {
  background: var(--beige-aplat);
  border-radius: 24px;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  outline: 1px solid rgba(0,0,0,.04);
  outline-offset: -1px;
}
.event-single__info-title {
  margin: 0 0 4px;
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 700;
  color: var(--bordeaux);
}
.event-single__info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.event-single__info-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 50%;
  color: var(--blanc);
}
.event-single__info-icon img { display: block; max-width: 16px; max-height: 16px; width: auto; height: auto; }
.event-single__info-icon svg { display: block; width: 16px; height: 16px; }
.event-single__info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  word-break: break-word;
}
.event-single__info-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--textes);
  opacity: .8;
}
.event-single__info-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--anthracite);
  line-height: 1.4;
}
.event-single__info-value--link {
  color: var(--bordeaux);
  text-decoration: none;
}
.event-single__info-value--link:hover { text-decoration: underline; }
.event-single__info-address {
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  color: var(--textes);
  line-height: 1.4;
}
.event-single__info-maps {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bordeaux);
  text-decoration: none;
}
.event-single__info-maps:hover { text-decoration: underline; }
.event-single__info-publisher-dot {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
}
.event-single__info-row--publisher .event-single__info-text { padding-top: 4px; }
.event-single__info-cta {
  margin-top: 6px;
  align-self: stretch;
  justify-content: center;
}

/* Documents à télécharger */
.event-single__docs {
  margin-top: 40px;
}
.event-single__docs-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: var(--bordeaux);
  margin: 0 0 18px;
}
.event-single__docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 14px;
}

.event-doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px 22px 14px;
  background: rgba(189, 24, 36, 0.04);
  border: 1px solid rgba(189, 24, 36, 0.40);
  border-radius: 16px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
  color: var(--bordeaux);
  text-decoration: none;
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.event-doc-btn:hover,
.event-doc-btn:focus-visible {
  background: rgba(189, 24, 36, 0.08);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.10);
  transform: translateY(-1px);
}
.event-doc-btn__icon {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFD1D5;
  border-radius: 10px;
  color: var(--bordeaux);
}
.event-doc-btn__info {
  flex: 1 1 auto;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.event-doc-btn__title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: var(--bordeaux);
  word-wrap: break-word;
}
.event-doc-btn__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.event-doc-btn__meta-item {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--text, #555);
}
.event-doc-btn__meta-sep {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--text, #555);
  opacity: 0.38;
}
.event-doc-btn__divider {
  flex: 0 0 1px;
  align-self: stretch;
  width: 1px;
  background: var(--bordeaux);
  opacity: 0.7;
  margin: 4px 0;
}
.event-doc-btn__action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bordeaux);
}
.event-doc-btn__action-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
}

@media (max-width: 640px) {
  .event-single__docs-grid {
    grid-template-columns: 1fr;
  }
  .event-doc-btn {
    padding: 16px 14px;
    gap: 12px;
  }
  .event-doc-btn__icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }
  .event-doc-btn__icon svg {
    width: 24px;
    height: 28px;
  }
  .event-doc-btn__action-label {
    display: none;
  }
}

/* Partage */
.event-single__share {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1.5px solid #ececec;
  border-bottom: 1.5px solid #ececec;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.event-single__share-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--anthracite);
}
.event-single__share-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 10px;
}
.event-single__share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gris-clair);
  color: var(--bordeaux);
  transition: background .18s, color .18s, transform .18s;
}
.event-single__share-link:hover {
  background: var(--bordeaux);
  color: var(--blanc);
  transform: translateY(-2px);
}

/* AUTRES ÉVÉNEMENTS */
.event-single__related {
  padding: 64px 0 40px;
  background: var(--blanc);
}
.event-single__related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.event-single__related-title {
  color: var(--bordeaux);
  font-family: var(--font-family);
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}
.event-single__related-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bordeaux);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.event-single__related-all:hover { text-decoration: underline; }
.event-single__related-grid {
  /* Hérite de .cso-events__grid (4 col → responsive 2/1) */
}

.event-single__back-wrap { padding: 24px 0 80px; }

/* Responsive */
@media (max-width: 1024px) {
  .event-single__body-inner { grid-template-columns: 1fr; gap: 32px; }
  .event-single__aside { position: static; }
}
@media (max-width: 700px) {
  .event-single__hero { padding: 24px 0 32px; }
  .event-single__hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .event-single__decor { width: 280px; right: -120px; top: -60px; }
  .event-single__title { font-size: 28px; line-height: 1.2; }
  .event-single__date-chip { top: 14px; left: 14px; padding: 10px 14px; min-width: 64px; }
  .event-single__date-chip-day { font-size: 24px; }
  .event-single__date-chip-month { font-size: 11px; }
}

/* ============================================================
   ARCHIVE ÉVÉNEMENTS (.events-archive)
   ============================================================ */
.events-archive {
  background: var(--blanc);
  padding: 0 0 96px;
}
.events-archive__hero {
  padding: 32px 0 40px;
  background: var(--gris-clair);
}
.events-archive__crumbs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--textes);
  margin-bottom: 20px;
}
.events-archive__crumbs a { color: var(--textes); text-decoration: none; }
.events-archive__crumbs a:hover { color: var(--bordeaux); }
.events-archive__crumb-current { color: var(--anthracite); font-weight: 700; }
.events-archive__title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.events-archive__title-icon { width: 44px; height: 44px; display: block; }
.events-archive__title {
  margin: 0;
  color: var(--bordeaux);
  font-family: var(--font-family);
  font-size: var(--fs-h1);
  font-weight: var(--fw-h1);
  line-height: var(--lh-h1);
}
.events-archive__lead {
  max-width: 720px;
  margin: 0;
  font-size: 16px;
  color: var(--textes);
  line-height: 1.55;
}
.events-archive__list { padding: 48px 0 0; }
.events-archive__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: flex-end;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #ececec;
}
.events-archive__filter-group { display: flex; flex-direction: column; gap: 6px; }
.events-archive__filter-group label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--textes);
}
.events-archive__filter-group select {
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid #e0e0e0;
  border-radius: 999px;
  background: var(--blanc);
  padding: 10px 36px 10px 18px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  color: var(--anthracite);
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23bd1824' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  min-width: 220px;
}
.events-archive__filter-group select:focus { outline: 2px solid var(--bordeaux); outline-offset: 1px; }
.events-archive__reset {
  font-size: 13px;
  color: var(--bordeaux);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  padding-bottom: 12px;
}
.events-archive__grid {
  /* Hérite de .cso-events__grid (4 col → responsive 2/1) */
  --cso-accent: var(--bordeaux);
}

/* ============================================================
   PAGE CSO — SECTION "RETROUVEZ L'ACTUALITÉ DU CSO" (.cso-actus)
   ============================================================ */
.cso-actus {
  position: relative;
  background: var(--gris-clair);
  padding: 236px 0 208px;
  overflow: hidden;
}

/* Décor : demi-cercle plein (couleur CSO) chevauchant le haut de la section.
   overflow:hidden sur .cso-actus cache la moitié haute → on voit le demi-cercle. */
.cso-actus__decor {
  position: absolute;
  top: -113px;
  left: 50%;
  transform: translateX(-50%);
  width: 226px;
  height: 226px;
  background: var(--cso-accent);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}
.cso-actus__decor img { display: none; }

.cso-actus .container { position: relative; z-index: 2; }

.cso-actus__title {
  margin: 0 0 64px;
  text-align: center;
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 700;
  line-height: 26.4px;
  color: var(--cso-accent);
}

/* Carrousel pleine largeur viewport — les cards dépassent à droite (preview)
   pour signaler qu'il y a plus de contenu, et boutons centrés EN DESSOUS. */
.cso-actus__carousel {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cso-actus__grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-padding-left: clamp(24px, 5vw, 80px);
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Padding-left seul : la 1ère card s'aligne avec le titre, mais la 3ème déborde
     volontairement à droite (effet "preview" de la 4ème). */
  padding: 4px 0 12px clamp(24px, 5vw, 80px);
  scroll-behavior: smooth;
}
.cso-actus__grid::-webkit-scrollbar { display: none; }
.cso-actus__grid > .actu-card {
  /* 2.5 cards visibles → la 3ème est volontairement coupée par le bord droit
     (preview visuel signifiant "il y en a plus, scroll →"). */
  flex: 0 0 calc((100vw - clamp(24px, 5vw, 80px) - 40px) / 2.5);
  min-width: 0;
  scroll-snap-align: start;
}

/* Nav prev/next : sous le carrousel, centrés, asset ID 27 (cercle bordeaux+flèche) */
.cso-actus__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.cso-actus__nav-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: block;
  line-height: 0;
  transition: transform .18s;
}
.cso-actus__nav-btn:hover { transform: scale(1.08); }
.cso-actus__nav-btn img { width: 44px; height: 44px; display: block; }
.cso-actus__nav-btn--prev img { transform: rotate(180deg); }

/* Override .actu-card pour matcher la maquette CSO (différente du composant
   home : fond beige clair, outline Nancy, border-radius plus large, image 260×280). */
:is(.cso-actus, .section-actu) .actu-card {
  grid-template-columns: 260px 1fr;
  gap: 36px;
  padding: 10px;
  background: var(--beige-aplat) !important;
  border-radius: 30px;
  outline: 2px solid var(--cso-accent);
  outline-offset: -2px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  cursor: pointer;
}
:is(.cso-actus, .section-actu) .actu-card__image {
  width: 260px;
  height: 280px;
  border-radius: 20px;
  background: rgba(0,0,0,0.06);
  display: block;
  overflow: hidden;
}
:is(.cso-actus, .section-actu) .actu-card__image img {
  width: 260px;
  height: 280px;
  object-fit: cover;
}

/* Card event aussi cliquable */
.cso-event-card { cursor: pointer; }
:is(.cso-actus, .section-actu) .actu-card__body {
  padding: 14px 14px 14px 0;
  gap: 12px;
  min-width: 0;
}
:is(.cso-actus, .section-actu) .actu-card__title {
  font-size: 18px;
  line-height: 23.4px;
}
:is(.cso-actus, .section-actu) .actu-card__text {
  font-size: 16px;
  line-height: 24px;
  opacity: 1;
  color: var(--textes);
}
:is(.cso-actus, .section-actu) .actu-card__meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.16);
  gap: 12px;
}
:is(.cso-actus, .section-actu) .actu-card__date { font-size: 14px; opacity: 1; color: #838383; }
:is(.cso-actus, .section-actu) .actu-card__link  { font-size: 14px; font-weight: 600; color: var(--anthracite); gap: 8px; }
:is(.cso-actus, .section-actu) .actu-card__link-arrow { width: 24px; height: 24px; display: block; flex-shrink: 0; }
:is(.cso-actus, .section-actu) .actu-card__publisher { font-size: 14px; opacity: 1; }
:is(.cso-actus, .section-actu) .actu-card__dot { width: 10px; height: 10px; }

/* --- Responsive --------------------------------------------- */
/* En dessous de 1366px, la formule 2.5-cards rend les cards trop étroites
   pour la grille interne 260px + 1fr → on stack image au-dessus, body en dessous. */
@media (max-width: 1366px) {
  :is(.cso-actus, .section-actu) .actu-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  :is(.cso-actus, .section-actu) .actu-card__image {
    width: 100%;
    height: 200px;
  }
  :is(.cso-actus, .section-actu) .actu-card__image img {
    width: 100%;
    height: 200px;
  }
  :is(.cso-actus, .section-actu) .actu-card__body {
    padding: 4px 14px 14px;
  }
}
@media (max-width: 1100px) {
  .cso-actus { padding: 160px 0 120px; }
  .cso-actus__grid > .actu-card { flex: 0 0 calc((100% - 20px) / 2); }
  .cso-actus__decor { width: 140px; height: 140px; top: -70px; }
}
@media (max-width: 640px) {
  .cso-actus { padding: 120px 0 96px; }
  .cso-actus__title { font-size: 20px; margin-bottom: 32px; }
  .cso-actus__grid {
    padding-left: 20px;
    padding-right: 20px;
    scroll-padding-left: 20px;
  }
  .cso-actus__grid > .actu-card { flex: 0 0 calc(100% - 40px); }
  :is(.cso-actus, .section-actu) .actu-card__image,
  :is(.cso-actus, .section-actu) .actu-card__image img { height: 180px; }
  :is(.cso-actus, .section-actu) .actu-card__meta {
    flex-wrap: wrap;
    gap: 10px 16px;
  }
  .cso-actus__carousel .actu-carousel__prev,
  .cso-actus__carousel .actu-carousel__next { display: none; }
}

/* =============================================================
   Page Merci (post-soumission formulaire annuaire)
   ============================================================= */
.merci-page { background: #fff; }
.merci-hero {
  padding: 80px 24px 120px;
}
.merci-hero__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.merci-hero__icon {
  display: inline-flex;
  margin-bottom: 28px;
}
.merci-hero__title {
  font-family: var(--font-family);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--anthracite, #1d1d1b);
  margin: 0 0 28px;
  line-height: 1.15;
}
.merci-hero__body {
  font-family: var(--font-family);
  font-size: 17px;
  line-height: 1.6;
  color: #3b3b3b;
  margin-bottom: 40px;
}
.merci-hero__body p { margin: 0 0 14px; }
.merci-hero__body p:last-child { margin-bottom: 0; }
.merci-hero__lead {
  font-size: 19px;
  font-weight: 600;
  color: var(--bordeaux);
}
.merci-hero__small {
  font-size: 14px;
  color: #6e6e6e;
  margin-top: 18px !important;
}
.merci-hero__ctas {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

@media (max-width: 640px) {
  .merci-hero { padding: 56px 20px 80px; }
  .merci-hero__ctas { width: 100%; flex-direction: column; }
  .merci-hero__ctas .btn { width: 100%; justify-content: space-between; }
}

/* ============================================================
   PAGE LÉGALE — Mentions légales / Politique de confidentialité
   ============================================================ */

.page-legal { background: var(--bg, #f6f5f3); }

.page-legal__hero {
  padding: 64px 0 32px;
  background: #fff;
  border-bottom: 1px solid #e6e1d7;
}

.page-legal__crumbs {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: #6e6e6e; margin-bottom: 24px;
}
.page-legal__crumbs a { color: #6e6e6e; text-decoration: none; }
.page-legal__crumbs a:hover { color: var(--bordeaux, #bd1824); }
.page-legal__crumb-current { color: #1d1d1b; }
.page-legal__crumb-sep { color: #b8b8b8; }

.page-legal__title {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1; margin: 0 0 12px; color: #1d1d1b;
}
.page-legal__updated {
  font-size: 14px; color: #6e6e6e; margin: 0;
  font-style: italic;
}

.page-legal__body { padding: 56px 0 96px; }
.page-legal__content {
  max-width: 820px;
  background: #fff;
  border: 1px solid #e6e1d7;
  border-radius: 16px;
  padding: 48px 56px;
  color: #1d1d1b;
  font-size: 16px;
  line-height: 1.7;
}

.page-legal__content h2 {
  font-size: 24px; margin: 40px 0 16px;
  color: var(--bordeaux, #bd1824);
  border-bottom: 2px solid #f0ebe1; padding-bottom: 8px;
}
.page-legal__content h2:first-child { margin-top: 0; }
.page-legal__content h3 {
  font-size: 18px; margin: 28px 0 12px;
  color: #1d1d1b;
}
.page-legal__content p { margin: 0 0 16px; }
.page-legal__content ul,
.page-legal__content ol { margin: 0 0 16px; padding-left: 24px; }
.page-legal__content li { margin-bottom: 6px; }
.page-legal__content a {
  color: var(--bordeaux, #bd1824);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.page-legal__content a:hover { text-decoration-thickness: 2px; }
.page-legal__content strong { font-weight: 700; }
.page-legal__content address {
  font-style: normal;
  background: #f6f5f3;
  border-left: 3px solid var(--bordeaux, #bd1824);
  padding: 12px 16px;
  margin: 0 0 16px;
  border-radius: 0 8px 8px 0;
}

@media (max-width: 768px) {
  .page-legal__hero { padding: 40px 0 24px; }
  .page-legal__body { padding: 32px 0 64px; }
  .page-legal__content { padding: 28px 20px; border-radius: 12px; }
  .page-legal__content h2 { font-size: 20px; }
}

/* ============================================================
   PAGE — TOUT SAVOIR SUR L'OBÉSITÉ  (.tso-*)
   Intégration desktop-first d'après maquette Figma.
   ============================================================ */
.tso { font-family: var(--font-family); color: var(--textes); overflow-x: clip; }
.tso .container { max-width: 1440px; }

/* --- Sections / fonds --- */
.tso-section { position: relative; padding: 96px 0; }
.tso-section--beige { background: var(--beige-aplat); }
.tso-section--gris  { background: #f6f6f6; }

/* --- Heading avec étape numérotée --- */
.tso-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.tso-heading--center { justify-content: center; text-align: center; }
.tso-heading--col { flex-direction: column; gap: 14px; }
.tso-heading__row { display: flex; align-items: center; gap: 18px; }
.tso-heading__title { font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--anthracite); margin: 0; }
.tso-heading__title--lg { color: var(--bordeaux); }

/* Étape numérotée (cercle crème + carré coloré + numéro) */
.tso-step { display: inline-flex; align-items: center; justify-content: center; width: 70px; height: 70px; border-radius: 56px; background: #fff9f3; border: 1.5px solid var(--anthracite); flex-shrink: 0; }
.tso-step__inner { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 22px; font-size: 18px; font-weight: 700; line-height: 1; }
.tso-step--lilas    .tso-step__inner { background: var(--lilas); color: var(--blanc); }
.tso-step--bordeaux .tso-step__inner { background: var(--bordeaux); color: var(--blanc); }
.tso-step--jaune    .tso-step__inner { background: var(--jaune); color: var(--anthracite); }

/* Flèche bordeaux dans cercle (titres de section) */
.tso-arrow-circle svg { display: block; }

/* --- Pictos colorés génériques (ronds pastel) --- */
[class*="tso-ico--"] { position: relative; width: 44px; height: 44px; border-radius: 40px; flex-shrink: 0; }
[class*="tso-ico--"]::after { content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; transform: translate(-50%, -50%) rotate(6deg); }
.tso-ico--lilas    { background: #edeaff; } .tso-ico--lilas::after    { background: var(--lilas); }
.tso-ico--nancy    { background: #ffddb3; } .tso-ico--nancy::after    { background: var(--nancy); }
.tso-ico--bordeaux { background: #ffd1d5; } .tso-ico--bordeaux::after { background: var(--bordeaux); }
.tso-ico--vert     { background: #d6e2b7; } .tso-ico--vert::after     { background: var(--cso-metz-thionville); }

/* --- Layout split (texte + carte stat) --- */
.tso-split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 60px; align-items: start; }
.tso-split--reverse { grid-template-columns: auto minmax(0, 1fr); }
.tso-split__text p { font-size: 16px; line-height: 1.5; margin: 0 0 14px; max-width: 610px; }
.tso-split__text p:last-child { margin-bottom: 0; }
.tso-split__text strong { font-weight: 600; color: var(--textes); }

/* --- Carte statistique (accent lilas) --- */
.tso-stat { position: relative; padding: 48px 24px; background: rgba(237,234,255,.28); border: 1px solid rgba(160,150,223,.4); border-radius: 30px; box-shadow: 0 4px 32.5px rgba(0,0,0,.04); }
.tso-stat__body { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 235px; text-align: center; }
.tso-stat__decor { display: block; width: 40px; height: 40px; margin: 0 auto 8px; border-radius: 8px; background: var(--lilas); }
.tso-stat__label   { font-size: 16px; font-weight: 600; color: var(--textes); }
.tso-stat__number  { font-size: 36px; font-weight: 700; line-height: 1.44; color: var(--lilas); }
.tso-stat__sub     { font-size: 16px; font-weight: 700; color: var(--lilas); margin-top: -10px; }
.tso-stat__caption { font-size: 16px; font-weight: 600; color: var(--textes); }
.tso-stat--inline { display: flex; align-items: center; }
.tso-stat--inline .tso-stat__decor { width: 64px; height: 64px; border-radius: 9999px; }

/* --- Carte IMC --- */
.tso-imc { display: grid; grid-template-columns: auto 1px 1fr; gap: 28px; align-items: center; margin-top: 56px; padding: 56px 24px; background: #fff; border: 1px solid rgba(160,150,223,.4); border-radius: 30px; box-shadow: 0 4px 28px rgba(0,0,0,.04); }
.tso-imc__intro { font-size: 16px; color: var(--anthracite); max-width: 273px; margin: 0 0 32px; }
.tso-imc__eq { display: flex; align-items: center; gap: 24px; color: var(--lilas); }
.tso-imc__eq-label { font-size: 22px; font-weight: 700; }
.tso-imc__frac { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.tso-imc__num, .tso-imc__den { font-size: 18px; font-weight: 700; color: var(--lilas); }
.tso-imc__den sup { font-size: 12px; }
.tso-imc__bar { width: 130px; height: 2px; background: var(--lilas); }
.tso-imc__sep { width: 1px; height: 246px; background: rgba(160,150,223,.26); }
.tso-imc__has-intro { font-size: 16px; font-weight: 600; color: var(--anthracite); margin: 0 0 32px; }
.tso-params { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.tso-param { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; font-size: 16px; color: var(--anthracite); }
.tso-param .tso-param__ico { width: 44px; height: 44px; border-radius: 50px; }

/* --- Carte de téléchargement PDF --- */
.tso-download-row { margin-top: 40px; }
.tso-download-row--center { display: flex; justify-content: center; }
.tso-download { display: inline-flex; align-items: center; gap: 14px; padding: 22px 20px 22px 14px; background: rgba(189,24,36,.04); border: 1px solid rgba(189,24,36,.4); border-radius: 16px; box-shadow: 0 4px 25.3px rgba(0,0,0,.06); text-decoration: none; transition: background .2s; }
.tso-download:hover { background: rgba(189,24,36,.08); }
.tso-download__icon { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; background: #ffd1d5; border-radius: 10px; flex-shrink: 0; }
.tso-download__title { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--bordeaux); max-width: 190px; }
.tso-download__meta { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: var(--textes); }
.tso-download__meta i { width: 1px; height: 14px; background: rgba(85,85,85,.4); }
.tso-download__sep { width: 1px; height: 44px; background: rgba(189,24,36,.5); margin: 0 6px; }
.tso-download__action { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--bordeaux); white-space: nowrap; }

/* --- 02 Causes : grande carte --- */
.tso-causes__intro p { max-width: 360px; }
.tso-causes__card { background: #fffaf5; border-radius: 30px; padding: 47px 40px 64px; }
.tso-causes__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.tso-cause { display: flex; align-items: center; gap: 24px; }
.tso-cause--full { grid-column: 1 / -1; }
.tso-cause--full hr { border: none; height: 1px; background: var(--anthracite); opacity: .16; margin: 0; }
.tso-cause h3 { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--anthracite); margin: 0 0 6px; }
.tso-cause p { font-size: 16px; line-height: 1.5; margin: 0; }

/* --- 03 Conséquences --- */
.tso-consequences__head { text-align: left; margin-bottom: 64px; }
.tso-cta-pill { display: flex; justify-content: center; margin-bottom: 24px; }
.tso-consequences__intro { max-width: 476px; margin: 0; font-size: 16px; }
.tso-conseq-diagram { display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 32px; align-items: center; }
.tso-conseq-col { display: flex; flex-direction: column; gap: 56px; }
.tso-conseq-col--left  { text-align: left; }
.tso-conseq-item { display: flex; align-items: center; gap: 24px; }
.tso-conseq-col--left .tso-conseq-item { flex-direction: row-reverse; text-align: right; }
.tso-conseq-item h3 { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--anthracite); margin: 0 0 6px; }
.tso-conseq-item p { font-size: 16px; line-height: 1.5; margin: 0; max-width: 266px; }
.tso-conseq-center__blob { display: block; width: 160px; height: 380px; border-radius: 9999px; background: linear-gradient(160deg, var(--lilas), #b7afe8); }

/* --- 04 Enfant / encarts jaunes --- */
.tso-enfant__lead, .tso-societe__lead { max-width: 700px; margin: 0 auto; text-align: center; font-size: 16px; }
.tso-enfant__body { max-width: 608px; }
.tso-enfant__body p { font-size: 16px; line-height: 1.5; margin: 0 0 14px; }
.tso-enfant__body strong { font-weight: 600; }
.tso-enfant__body .btn { margin-top: 26px; }

.tso-callout { position: relative; max-width: 846px; margin: 64px auto 0; padding: 64px 124px 40px; background: var(--jaune); border: 1px solid var(--anthracite); border-radius: 30px; text-align: center; }
.tso-callout__icon { position: absolute; top: -50px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; width: 100px; height: 100px; background: #fff9f3; border: 1px solid var(--anthracite); border-radius: 56px; }
.tso-callout__icon span { width: 60px; height: 60px; border-radius: 9999px; background: var(--lilas); }
.tso-callout__title { font-size: 18px; font-weight: 700; color: var(--anthracite); margin: 0 0 24px; }
.tso-callout__text { font-size: 16px; line-height: 1.5; color: var(--anthracite); margin: 0 0 16px; }
.tso-callout__text a { color: var(--bordeaux); font-weight: 600; text-decoration: underline; }
.tso-callout__cta { margin-top: 24px; }

/* --- Société : carte --- */
.tso-societe__card { display: grid; grid-template-columns: 1fr auto; gap: 140px; align-items: center; max-width: 1068px; margin: 56px auto 0; padding: 64px; background: var(--blanc); border: 3px solid var(--bordeaux); border-radius: 30px; box-shadow: 0 4px 22.2px rgba(0,0,0,.08); }
.tso-societe__hl { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--bordeaux); margin: 0 0 14px; max-width: 508px; }
.tso-societe__text p { font-size: 16px; line-height: 1.5; margin: 0; }
.tso-societe__text strong { font-weight: 600; }

/* --- Stigmatisation --- */
.tso-stigma__body { max-width: 864px; margin: 0 auto; text-align: center; font-size: 16px; line-height: 1.5; }
.tso-extlink { text-align: center; margin: 24px 0 0; font-size: 14px; font-weight: 600; color: var(--textes); }
.tso-extlink a { color: var(--bordeaux); text-decoration: underline; }

/* --- Onglets (sliding indicator, repris de .cso-soins__tabs) --- */
.tso-tabs { display: flex; align-items: stretch; width: max-content; margin: 0 auto 64px; border: 1px solid var(--bordeaux); border-radius: 30px; position: relative; isolation: isolate; --indicator-x: 0px; --indicator-w: 0px; }
.tso-tabs::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--indicator-w); transform: translateX(var(--indicator-x)); background: var(--bordeaux); border-radius: 30px; transition: transform .4s cubic-bezier(.4,0,.2,1), width .4s cubic-bezier(.4,0,.2,1); z-index: 0; pointer-events: none; }
.tso-tabs.no-anim::before { transition: none; }
.tso-tab { appearance: none; border: 0; background: transparent; font-family: var(--font-family); font-size: 14px; font-weight: 600; color: var(--bordeaux); height: 50px; padding: 0 48px; cursor: pointer; position: relative; z-index: 1; border-radius: 30px; transition: color .25s ease; white-space: nowrap; }
.tso-tab.is-active { color: var(--blanc); }
.tso-tab:not(.is-active) + .tso-tab:not(.is-active)::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 32px; background: rgba(189,24,36,.4); }
.tso-panel { animation: tso-fade .3s ease; }
.tso-panel[hidden] { display: none; }
.tso-panel__placeholder { text-align: center; color: var(--textes); font-style: italic; padding: 24px 0; }
.tso-panel__content { padding: 8px 0; }
.tso-panel__content > *:first-child { margin-top: 0; }
.tso-panel__content > *:last-child { margin-bottom: 0; }
.tso-panel__content p { margin: 0 0 16px; }
@keyframes tso-fade { from { opacity: 0; } to { opacity: 1; } }

/* --- Décors circulaires --- */
.tso-hero { position: relative; padding: 140px 0 96px; background: var(--beige-aplat); overflow: hidden; }
.tso-hero__decor { position: absolute; top: 40px; right: 220px; width: 100px; height: 100px; border-radius: 9999px; background: var(--lilas); box-shadow: 0 0 0 25px var(--beige-aplat); }
.tso-crumbs { font-size: 14px; font-weight: 600; margin-bottom: 32px; }
.tso-crumbs a { color: var(--textes); text-decoration: none; }
.tso-crumbs__sep { margin: 0 4px; color: var(--bordeaux); }
.tso-crumbs__current { color: var(--bordeaux); font-weight: 700; }
.tso-hero__title { font-size: 36px; font-weight: 700; line-height: 1.44; color: var(--bordeaux); margin: 0 0 24px; }
.tso-hero__text { max-width: 473px; font-size: 16px; line-height: 1.5; margin: 0 0 40px; }
.tso-hero__text strong { font-weight: 600; }
.tso-hero__ctas { display: flex; align-items: center; gap: 14px; }

.tso-enfant__decor { position: absolute; left: -120px; top: 160px; width: 243px; height: 243px; border-radius: 9999px; background: var(--nancy); opacity: .9; z-index: 0; }
.tso-enfant .container { position: relative; z-index: 1; }
.tso-stigma__decor { position: absolute; left: -50px; top: 50px; width: 100px; height: 100px; border-radius: 9999px; background: var(--bordeaux); }

/* --- CTA final sur image --- */
.tso-final { position: relative; padding: 0 0 120px; background: linear-gradient(#f6f6f6 50%, transparent 50%); }
.tso-final .tso-callout { margin-top: 0; }

/* --- Pictos image (médiathèque) dans les ronds pastel --- */
[class*="tso-ico--"] .tso-pic { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 24px; height: 24px; object-fit: contain; }
[class*="tso-ico--"]:has(.tso-pic)::after { display: none; }
.tso-download__icon .tso-pic { width: 30px; height: 36px; object-fit: contain; }
/* Carte de France dans les cartes stat */
.tso-stat__decor--france { width: auto; height: auto; margin: 0; background: none; border-radius: 0; }
.tso-stat__decor--france .tso-pic { display: block; width: 120px; height: auto; }
.tso-stat--france.tso-stat--inline { gap: 24px; }
.tso-stat--france.tso-stat--inline .tso-stat__decor--france .tso-pic { width: 130px; }
/* Fix : éviter le bridage par img{max-width:100%} sur la carte France inline */
.tso-stat__decor--france .tso-pic { max-width: none; }
.tso-stat--france.tso-stat--inline .tso-stat__decor--france { width: auto; height: auto; border-radius: 0; background: none; }
/* Schéma corps humain centré (section conséquences) */
.tso-conseq-center__img { display: block; width: auto; height: 440px; max-width: none; margin: 0 auto; }

/* Conséquences : chaque bloc est calé sur l'extrémité de son trait dans le schéma
   (SVG 314x467 → hauteur rendue 440px ; positions exprimées en % de la hauteur) */
@media (min-width: 1025px) {
  .tso-conseq-col { position: relative; height: 440px; gap: 0; display: block; }
  .tso-conseq-col .tso-conseq-item { position: absolute; left: 0; right: 0; transform: translateY(-50%); }
  .tso-conseq-col--left  .tso-conseq-item:nth-child(1) { top: 24%; }  /* trait → tête (psycho) */
  .tso-conseq-col--left  .tso-conseq-item:nth-child(2) { top: 73%; }  /* trait → abdomen (autres risques) */
  .tso-conseq-col--right .tso-conseq-item:nth-child(1) { top: 23%; }  /* trait → thorax (respi/digestif) */
  .tso-conseq-col--right .tso-conseq-item:nth-child(2) { top: 53%; }  /* trait → cœur (cardio/métabo) */
  .tso-conseq-col--right .tso-conseq-item:nth-child(3) { top: 84%; }  /* trait → genoux (rhumato) */
}

/* --- Hero : 2 colonnes texte + photo --- */
.tso-hero__inner { display: grid; grid-template-columns: 533px 1fr; gap: 60px; align-items: center; }
.tso-hero__text-col { max-width: 533px; }
.tso-hero__media { position: relative; z-index: 1; }
.tso-hero__media img { display: block; width: 100%; height: 420px; object-fit: cover; border-radius: 30px; box-shadow: 0 4px 22px rgba(0,0,0,.1); }

/* --- Causes : colonne gauche (intro + photo) / carte droite --- */
.tso-causes__layout { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(560px, 1.4fr); gap: 48px; align-items: start; }
.tso-causes__left { display: flex; flex-direction: column; }
.tso-causes__left .tso-heading { margin-bottom: 24px; }
.tso-causes__left p { font-size: 16px; line-height: 1.5; max-width: 360px; margin: 0; }

/* --- CTA final : callout jaune au-dessus d'un bandeau photo pleine largeur ---
   (le callout ne chevauche plus la photo : demande client 27/07/2026, elle était
   tronquée par l'encadré — cadrage haut pour garder les visages.) */
.tso-final { position: relative; background: none; padding: 40px 0 0; }
.tso-final .container { position: relative; z-index: 2; }
.tso-final .tso-callout { margin: 0 auto; }
.tso-final__band { position: relative; z-index: 1; margin-top: 40px; line-height: 0; }
.tso-final__band img { display: block; width: 100%; height: 580px; object-fit: cover; }

/* --- Enfant : panneau Définition en 2 colonnes (texte + photo) --- */
.tso-enfant__cols { display: grid; grid-template-columns: 608px 1fr; gap: 60px; align-items: center; }
.tso-enfant__body { max-width: 608px; }
.tso-enfant__media img { display: block; width: 100%; height: 100%; max-height: 520px; object-fit: cover; border-radius: 30px; box-shadow: 0 4px 22px rgba(0,0,0,.1); }

/* ============================================================
   PAGE TOUT SAVOIR — Images full-bleed (collées aux bords, sans ombre)
   Override des réglages précédents (hero/causes/enfant).
   ============================================================ */
.tso-hero { position: relative; overflow: hidden; }
.tso-hero__text-col { position: relative; z-index: 1; max-width: 533px; }
.tso-hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; max-width: 720px; z-index: 0; margin: 0; }
.tso-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; box-shadow: none; }

.tso-causes__layout { position: relative; }

.tso-enfant__cols { position: relative; min-height: 480px; }
.tso-enfant__body { position: relative; z-index: 1; }
.tso-enfant__media { position: absolute; top: 0; bottom: 0; right: calc(50% - 50vw); width: calc(50vw - 40px); max-width: 720px; height: auto; }
.tso-enfant__media img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; box-shadow: none; }

.tso-final__band img { border-radius: 0; box-shadow: none; }

/* Paramètres HAS : largeur naturelle (pas de colonnes égales) pour dé-serrer les libellés */
.tso-params { justify-content: space-between; align-items: flex-start; gap: 16px; }
.tso-param { flex: 0 1 auto; max-width: 200px; }
.tso-param > span:last-child { max-width: 200px; }

/* ============================================================
   Hero — bannière composée pleine largeur (193 = PNG transparent
   2880×1278, photo+décors). Texte superposé sur la zone gauche.
   Override du précédent réglage absolu/cover.
   ============================================================ */
.tso-hero { padding: 0; overflow: hidden; background: var(--beige-aplat); }
.tso-hero__decor { display: none; }
.tso-hero__media { position: relative; inset: auto; width: 100%; max-width: none; height: auto; z-index: 0; }
.tso-hero__media img { display: block; width: 100%; height: auto; object-fit: fill; }
.tso-hero .container { position: absolute; top: 0; left: 0; right: 0; height: 100%; z-index: 1; display: flex; align-items: center; }
.tso-hero__text-col { max-width: 533px; }

/* ============================================================
   PAGE TOUT SAVOIR — Retours Thomas (pictos, encarts, photos, bouton)
   ============================================================ */
/* Cœur sur carte stat « 13 % » */
.tso-stat__decor--coeur { width: auto; height: auto; margin: 0 auto 8px; background: none; border-radius: 0; }
.tso-stat__decor--coeur .tso-pic { width: 40px; height: 40px; }

/* Question blanche dans l'icône des encarts jaunes (cercle lilas) */
.tso-callout__icon span .tso-pic { width: 30px; height: 30px; object-fit: contain; }

/* Photo enfant : afficher en entier (image composée, ne pas cropper) */
.tso-enfant__media { position: absolute; top: 50%; bottom: auto; transform: translateY(-50%); right: calc(50% - 50vw); width: calc(50vw - 20px); max-width: 760px; height: auto; }
.tso-enfant__media img { width: 100%; height: auto; object-fit: contain; }

/* Photo causes : dans la forme Figma (quart-de-sphère + pois), collée au bas
   et au bord gauche de la section. */
.tso-causes { position: relative; }
.tso-causes__layout { position: static; }
.tso-causes__shape { position: absolute; left: 0; bottom: 0; width: min(46vw, 620px); max-width: 620px; margin: 0; line-height: 0; }
.tso-causes__shape svg { display: block; width: 100%; height: auto; }

/* Bouton « Trouver un professionnel » à cheval sur la frontière causes/conséquences */
.tso-consequences { position: relative; }
.tso-cta-pill { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); margin: 0; z-index: 5; }
.tso-consequences__head { margin-top: 24px; }

/* ============================================================
   Retours Thomas — fond enfant beige, flèche média, proportions hero
   ============================================================ */
/* Fond beige derrière l'encart / section enfant */
.tso-enfant { background: var(--beige-aplat); }

/* Flèche de titre = arrow.svg (média) au lieu du SVG inline */
.tso-arrow-circle img { display: block; width: 44px; height: 44px; }

/* Hero 2 colonnes : texte gauche sur beige, photo droite collée au bord (cover) */
.tso-hero { position: relative; overflow: hidden; background: var(--beige-aplat); padding: 0; }
.tso-hero__decor { display: none; }
.tso-hero .container { position: relative; z-index: 1; display: flex; align-items: center; min-height: 560px; }
.tso-hero__text-col { max-width: 533px; padding: 40px 0; }
.tso-hero__media { position: absolute; top: 0; right: 0; bottom: 0; left: auto; width: 48%; max-width: 760px; height: auto; z-index: 0; margin: 0; }
.tso-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Section enfant : contenu BLANC, encart sur bande BEIGE uniquement */
.tso-enfant { background: #fff; padding-bottom: 0; }
.tso-enfant__callout-band { background: var(--beige-aplat); padding: 72px 0 96px; }
.tso-enfant__callout-band .tso-callout { margin-top: 0; }

/* Centrage du picto (question blanche) dans le cercle lilas de l'encart */
.tso-callout__icon span { display: flex; align-items: center; justify-content: center; }

/* ============================================================
   Retours Thomas — picto-question complet, carte 75% verticale, espacements stigma
   ============================================================ */
/* Encart : picto-question.svg (69) contient déjà cercle+bordure+?, on retire le wrapper */
.tso-callout__icon { width: 100px; height: 100px; background: none; border: none; }
.tso-callout__icon .tso-pic { display: block; width: 100px; height: 100px; }

/* Carte stat « 75 % » (Société) : verticale avec picto personnes lilas */
.tso-stat__decor--ico { width: auto; height: auto; margin: 0 auto 8px; background: none; border-radius: 0; }
.tso-stat__decor--ico .tso-pic { width: 64px; height: 64px; }

/* Stigmatisation — espacements (redlines Figma : gap 128, texte→onglets 120 / carte→onglets 70, onglets→texte 64) */
.tso-stigma .tso-split { gap: 128px; align-items: flex-start; }
.tso-stigma .tso-tabs { margin-top: 70px; margin-bottom: 64px; }

/* Hero — bannière entière non recadrée, plafonnée à 1440 (ni coupée, ni étirée) */
.tso-hero { position: relative; overflow: hidden; background: var(--beige-aplat); padding: 0; }
.tso-hero__media { position: relative; top: auto; right: auto; bottom: auto; left: auto; width: 100%; max-width: 1440px; margin: 0 auto; height: auto; }
.tso-hero__media img { display: block; width: 100%; height: auto; object-fit: fill; }
.tso-hero .container { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; height: 100%; z-index: 1; display: flex; align-items: center; }
.tso-hero__text-col { max-width: 533px; padding: 0; }

/* Hero CTAs : proportions Figma — pills compactes, pas de rétrécissement/wrap moche */
.tso-hero__ctas { flex-wrap: wrap; }
.tso-hero__ctas .btn { flex: 0 0 auto; white-space: nowrap; }
.tso-hero__ctas { gap: 12px; }

/* Décor enfant : quart de sphère haut-gauche (média 217) au lieu du demi-cercle orange */
.tso-enfant__decor { position: absolute; left: 0; top: 0; width: 282px; height: auto; background: none; border-radius: 0; opacity: 1; z-index: 0; }

/* CTA final : fond transparent (le callout jaune et le bandeau photo portent
   leur propre identité visuelle, pas besoin de la bande beige derrière). */
.tso-final { background: transparent; }

/* Carte stat verticale (75% société) : centrer l'icône horizontalement */
.tso-stat--ico:not(.tso-stat--inline) .tso-stat__decor--ico { width: 100%; text-align: center; }
.tso-stat--ico:not(.tso-stat--inline) .tso-stat__decor--ico .tso-pic { margin: 0 auto; }

/* Centrage des icônes sur TOUTES les cartes stat verticales (13%, 75%) */
.tso-stat:not(.tso-stat--inline) .tso-stat__decor--coeur,
.tso-stat:not(.tso-stat--inline) .tso-stat__decor--ico { width: 100%; text-align: center; margin-left: 0; margin-right: 0; }
.tso-stat:not(.tso-stat--inline) .tso-stat__decor--coeur .tso-pic,
.tso-stat:not(.tso-stat--inline) .tso-stat__decor--ico .tso-pic { margin: 0 auto; display: block; }

/* ============================================================
   Hero — 2 colonnes franches (texte gauche / image contenue droite),
   sans superposition, sans recadrage, hauteur maîtrisée.
   Override de toutes les versions précédentes du hero.
   ============================================================ */
.tso-hero { position: relative; overflow: hidden; background: var(--beige-aplat); padding: 0; }
.tso-hero__decor { display: none; }
.tso-hero .container { position: static; transform: none; inset: auto; left: auto; top: auto; width: auto; max-width: var(--container-width); height: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 48px; min-height: 0; }
.tso-hero__text-col { max-width: 533px; padding: 56px 0; }
.tso-hero__media { position: static; inset: auto; right: auto; top: auto; bottom: auto; left: auto; width: auto; max-width: none; height: auto; margin: 0; }
.tso-hero__media img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: contain; object-position: center; }

/* Hero : image alignée en haut (supprime l'espace beige au-dessus) */
.tso-hero .container { align-items: start; }
.tso-hero__text-col { padding: 32px 0; }
.tso-hero__media { align-self: start; }

/* Supprime le gap blanc entre le bandeau final et le footer (sur cette page) */
.site-main.tso + .site-footer { margin-top: 0; }
/* Photo enfant calée à droite */
.tso-enfant__media img { object-position: right center; }

/* ============================================================
   RESPONSIVE — Page Tout savoir sur l'obésité
   ============================================================ */
@media (max-width: 1024px) {
  .tso-section { padding: 64px 0; }
  /* Hero : empilé */
  .tso-hero .container { grid-template-columns: 1fr; gap: 0; align-items: stretch; }
  .tso-hero__text-col { max-width: 100%; padding: 40px 0 28px; }
  .tso-hero__media { position: static; align-self: auto; }
  .tso-hero__media img { width: 100%; max-height: 340px; object-position: center; }
  /* Splits (comprendre / stigma) */
  .tso-split, .tso-split--reverse { grid-template-columns: 1fr; gap: 40px; }
  .tso-stat { width: 100%; max-width: 520px; }
  .tso-stat__body { width: auto; }
  /* IMC */
  .tso-imc { grid-template-columns: 1fr; gap: 32px; }
  .tso-imc__sep { display: none; }
  .tso-imc__intro { max-width: none; }
  .tso-params { flex-wrap: wrap; justify-content: center; gap: 24px 28px; }
  .tso-param { flex: 0 0 140px; max-width: 160px; }
  /* Causes */
  .tso-causes__layout { grid-template-columns: 1fr; gap: 32px; }
  .tso-causes__left p { max-width: none; }
  .tso-causes__shape { position: static; width: 100%; max-width: 100%; margin-top: 24px; }
  .tso-causes__grid { grid-template-columns: 1fr 1fr; }
  /* Conséquences : empilé, schéma central masqué */
  .tso-conseq-diagram { grid-template-columns: 1fr; gap: 28px; justify-items: stretch; }
  .tso-conseq-center { display: none; }
  .tso-conseq-col { gap: 28px; display: flex; position: static; height: auto; }
  .tso-conseq-col .tso-conseq-item { position: static; transform: none; }
  .tso-conseq-col--left .tso-conseq-item { flex-direction: row; text-align: left; }
  .tso-conseq-item p { max-width: none; }
  .tso-stat--double { margin: 0 auto; }
  /* Enfant */
  .tso-enfant__cols { grid-template-columns: 1fr; }
  .tso-enfant__body { max-width: 100%; }
  .tso-enfant__media { position: static; transform: none; width: 100%; max-width: 100%; margin-top: 24px; }
  .tso-enfant__media img { object-position: center; }
  /* Société */
  .tso-societe__card { grid-template-columns: 1fr; gap: 36px; padding: 40px 32px; }
  .tso-societe__hl { max-width: none; }
}
@media (max-width: 768px) {
  .tso-section { padding: 44px 0; }
  .tso-hero__title { font-size: 28px; line-height: 1.3; }
  .tso-causes__grid { grid-template-columns: 1fr; }
  .tso-cause--full { display: none; }
  /* Onglets : indicateur off, fond actif direct, scroll horizontal si trop large */
  .tso-tabs { width: 100%; max-width: 100%; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .tso-tabs::before { display: none; }
  .tso-tab { flex: 0 0 auto; padding: 0 22px; height: 46px; }
  .tso-tab.is-active { background: var(--bordeaux); color: var(--blanc); }
  .tso-callout { padding: 48px 24px 32px; }
  .tso-final__band img { height: 320px; }
  .tso-download { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .tso-hero__ctas { flex-direction: column; align-items: stretch; }
  .tso-hero__ctas .btn { width: 100%; white-space: normal; justify-content: space-between; }
  .tso-stat--inline { flex-direction: column; text-align: center; }
  .tso-stat--inline .tso-stat__body { align-items: center; }
  .tso-causes__card { padding: 32px 20px; }
  .tso-imc { padding: 40px 20px; }
  .tso-params { gap: 20px; }
  .tso-param { flex: 1 1 120px; }
}

/* ============================================================
   Template « Hero + blocs Gutenberg » (image mise en avant à gauche)
   ============================================================ */
.tso-hero--media-left .container { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; min-height: 460px; gap: 56px; }
.tso-hero--media-left .tso-hero__media { align-self: stretch; position: static; width: auto; max-width: none; margin: 0; }
.tso-hero--media-left .tso-hero__media img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center; display: block; }
.tso-hero--media-left .tso-hero__text-col { align-self: center; padding: 48px 0; max-width: 560px; }

/* Contenu Gutenberg */
.hgb-content { padding: 72px 0; }
.hgb-content .container { max-width: var(--container-width); }
.hgb-content > .container > * { margin-top: 0; margin-bottom: 30px; }
.hgb-content h2 { font-size: 28px; font-weight: 700; color: var(--bordeaux); line-height: 1.3; margin: 40px 0 16px; }
.hgb-content h3 { font-size: 20px; font-weight: 700; color: var(--anthracite); margin: 28px 0 12px; }
.hgb-content p, .hgb-content li { font-size: 16px; line-height: 1.6; color: var(--textes); }
/* Puce STANDARD des listes éditoriales Gutenberg = puce designée de la charte
   (cercle rosé + point rouge), strictement identique à celle des onglets
   `.tso-panel` → cohérence sur tout le site. Le reset global `ul{list-style:none}`
   reste, on dessine la puce en ::before/::after. `.stig-list` est exclue (composant
   « ressources » avec sa propre puce). Valeurs copiées à l'identique des onglets
   (cf. .cso-tabs-block .tso-panel ul li) pour ne décaler aucun onglet. */
.hgb-content ul.wp-block-list:not(.stig-list) { list-style: none; padding-left: 0; margin: 20px 0; }
.hgb-content ol.wp-block-list { list-style: decimal; padding-left: 1.4em; margin: 20px 0; }
.hgb-content ul.wp-block-list:not(.stig-list) li { position: relative; padding-left: 30px; margin: 0 0 12px; line-height: 1.5; }
.hgb-content ol.wp-block-list li { margin: 8px 0; }
.hgb-content ul.wp-block-list:not(.stig-list) li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: rgba(189, 24, 36, .12); }
.hgb-content ul.wp-block-list:not(.stig-list) li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--bordeaux); }
.hgb-content a { color: var(--bordeaux); text-decoration: underline; }
.hgb-content img { height: auto; border-radius: 12px; }
.hgb-content .alignfull { max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.hgb-content .alignwide { max-width: 1280px; margin-left: calc(50% - 640px); margin-right: calc(50% - 640px); }

@media (max-width: 1024px) {
  .tso-hero--media-left .container { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .tso-hero--media-left .tso-hero__media { order: -1; }
  .tso-hero--media-left .tso-hero__media img { height: 300px; }
  .tso-hero--media-left .tso-hero__text-col { padding: 32px 0; max-width: 100%; }
  .hgb-content { padding: 48px 0; }
  .hgb-content .alignwide { max-width: 100%; margin-left: 0; margin-right: 0; }
}

/* Template hero+blocs : hero EXACTEMENT identique à « Tout savoir » (image contain, collée en haut), juste l'image à gauche */
.tso-hero--media-left .container { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; min-height: 0; gap: 48px; }
.tso-hero--media-left .tso-hero__media { align-self: start; }
.tso-hero--media-left .tso-hero__media img { width: 100%; height: auto; max-height: 460px; object-fit: contain; object-position: center; }
.tso-hero--media-left .tso-hero__text-col { align-self: start; padding: 32px 0; max-width: 533px; }
@media (max-width: 1024px) {
  .tso-hero--media-left .tso-hero__media img { height: auto; max-height: 340px; object-fit: contain; }
}

/* Hero « Tout savoir » : photo alignée à droite (collée au bord droit) */
.tso-hero:not(.tso-hero--media-left) .tso-hero__media { margin-right: calc(50% - 50vw); }
.tso-hero:not(.tso-hero--media-left) .tso-hero__media img { width: auto; max-width: none; margin-left: auto; margin-right: 0; }
@media (max-width: 1024px) {
  .tso-hero:not(.tso-hero--media-left) .tso-hero__media { margin-right: 0; }
  .tso-hero:not(.tso-hero--media-left) .tso-hero__media img { width: 100%; margin-left: 0; }
}

/* Hero « Tout savoir » : photo alignée à droite DANS le conteneur (pas de full-bleed qui déborde) */
.tso-hero:not(.tso-hero--media-left) .tso-hero__media { margin-right: 0; }
.tso-hero:not(.tso-hero--media-left) .tso-hero__media img { width: auto; max-width: 100%; height: auto; max-height: 460px; margin-left: auto; margin-right: 0; display: block; }

/* Blocs CSO dans le contenu Gutenberg */
.hgb-content .cso-block-step { margin: 36px 0 16px; }
.hgb-content .cso-block-step .tso-heading__title { font-size: 22px; color: var(--anthracite); margin: 0; }
.hgb-content .cso-block-btn { margin: 12px 0; }
.cso-block-btn { display: flex; flex-wrap: wrap; gap: 12px; }

/* FIX : hero « Tout savoir » — image contenue NON rognée (annule le right-align cassé) */
.tso-hero:not(.tso-hero--media-left) .tso-hero__media { margin-right: 0; }
.tso-hero:not(.tso-hero--media-left) .tso-hero__media img { width: 100%; max-width: 100%; height: auto; max-height: 460px; object-fit: contain; object-position: center; margin-left: 0; margin-right: 0; }

/* Hero « bannière » (Comprendre / Société / landing Tout savoir, rendus par tso_hero_render)
   → image collée au bord DROIT de l'écran (full-bleed à droite, comme la page 247),
   bannière gardée entière (object-fit:contain, alignée à droite). Le marqueur
   .tso-hero--banner cible UNIQUEMENT ces héros et NE touche PAS « Et chez l'enfant » (247)
   qui utilise object-fit:cover. Spécificité (0,3,x) pour battre les règles ci-dessus. */
@media (min-width: 1025px) {
  .tso-hero.tso-hero--banner .container { grid-template-columns: 1fr; }
  .tso-hero.tso-hero--banner .tso-hero__text-col { position: relative; z-index: 1; max-width: 533px; }
  .tso-hero.tso-hero--banner .tso-hero__media { position: absolute; top: 0; right: 0; bottom: 0; left: auto; width: 48%; max-width: 760px; height: auto; margin: 0; z-index: 0; }
  .tso-hero.tso-hero--banner .tso-hero__media img { width: 100%; height: 100%; max-height: none; object-fit: contain; object-position: right center; margin: 0; }
}

/* ===== Blocs CSO dans le contenu Gutenberg ===== */
.hgb-content .cso-block-highlight { margin: 32px 0; }
.cso-block-highlight.cso-highlight--solo { grid-template-columns: 1fr; }
.hgb-content .cso-block-callout { margin: 78px auto 36px; }
.hgb-content .cso-block-stat { margin: 24px 0; }
.hgb-content .cso-block-download { margin: 24px 0; }
.cso-tabs-block { margin: 36px 0; }
.cso-tabs-block .tso-tabpanels { margin-top: 8px; }
/* FIX : espacer les paragraphes/listes/titres à l'intérieur des panneaux d'onglets
   (le reset global met p{margin:0} et la règle .container>* ne s'applique pas ici) */
.cso-tabs-block .tso-panel > * { margin: 0 0 16px; }
.cso-tabs-block .tso-panel > *:last-child { margin-bottom: 0; }
.cso-tabs-block .tso-panel h2 { margin: 32px 0 12px; }
.cso-tabs-block .tso-panel h3 { margin: 24px 0 10px; }
.cso-tabs-block .tso-panel > *:first-child { margin-top: 0; }
.cso-tabs-block .tso-panel ul.wp-block-list { list-style: none; padding-left: 0; }
.cso-tabs-block .tso-panel ol { padding-left: 1.4em; list-style: decimal; }
.cso-tabs-block .tso-panel ul.wp-block-list li {
  position: relative;
  padding-left: 30px;
  margin: 0 0 12px;
  line-height: 1.5;
}
.cso-tabs-block .tso-panel ul.wp-block-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(189, 24, 36, .12);
}
.cso-tabs-block .tso-panel ul.wp-block-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bordeaux);
}
.cso-tabs-block .tso-panel ol li { margin: 0 0 8px; }

/* FIX : les boutons dans le contenu Gutenberg gardent la couleur du thème (pas le rouge des liens) */
.hgb-content a.btn { text-decoration: none; }
.hgb-content a.btn--primary { color: var(--blanc); }
.hgb-content a.btn--annuaire { color: var(--anthracite); }
.tso-callout a.btn--primary { color: var(--blanc); text-decoration: none; }

/* Cartes stat verticales : centrer l'ensemble du contenu (icône + chiffre + description) */
.tso-stat:not(.tso-stat--inline) { display: flex; flex-direction: column; align-items: center; }

/* Bloc Gutenberg « Stat » (cso/stat-card) : la carte occupe toute la largeur du
   conteneur (.hgb-content ~1000px) et la description peut respirer au lieu
   d'être contrainte à 235px hérités de la page « Tout savoir ». */
.cso-block-stat { width: 100%; box-sizing: border-box; }
.cso-block-stat .tso-stat__body { width: auto; max-width: 640px; }

/* Bloc CSO « Band » — breakout pleine largeur du parent container (.hgb-content
   limite à ~1040px). Utilisé pour alterner les fonds blanc/beige sur les longs
   contenus Gutenberg et casser la linéarité (page 247 notamment). */
.cso-band { position: relative; left: 50%; right: 50%; width: 100vw; margin-left: -50vw; margin-right: -50vw; padding: 64px 0; }
.cso-band--blanc { background: #fff; }
.cso-band--beige { background: var(--beige-aplat); }
.cso-band--gris  { background: var(--gris-clair, #f6f6f6); }
/* Inner aligné sur le .container parent (max 1440 + padding 72px → contenu 1296)
   pour que step-title / paragraphes / cards de la bande s'alignent exactement
   sur le reste du contenu hgb hors bande. */
.cso-band__inner { max-width: var(--container-width, 1440px); margin: 0 auto; padding: 0 72px; box-sizing: border-box; }
.cso-band + .cso-band { padding-top: 64px; }
@media (max-width: 768px) {
  .cso-band { padding: 40px 0; }
  .cso-band__inner { padding: 0 20px; }
}

/* Splits 2 colonnes (wp:columns + classe .cso-split) — utilisé pour casser la
   verticalité des longs contenus Gutenberg (page 247). Aligne le contenu en
   haut (align-items: start) plutôt qu'au centre par défaut, et adapte les
   cards CSO à la largeur réduite d'une colonne. */
.hgb-content .wp-block-columns.cso-split { align-items: start; gap: 48px; margin: 48px 0; }
.hgb-content .wp-block-columns.cso-split > .wp-block-column { padding: 0; }
/* Dans une colonne d'un cso-split, les cards passent en 1 col interne pour ne
   pas se serrer. La grille reste flexible (2-col si vraiment large). */
.hgb-content .wp-block-column .tso-causes__card { padding: 24px; }
.hgb-content .wp-block-column .tso-causes__grid { grid-template-columns: 1fr; gap: 16px; }
.hgb-content .wp-block-column .tso-cause { font-size: 15px; }
.hgb-content .wp-block-column .tso-heading { margin-top: 0; }
@media (max-width: 900px) {
  .hgb-content .wp-block-columns.cso-split { gap: 32px; margin: 32px 0; }
}

/* Textes intros centrés dans la bande beige (intros de §02 + intros de chaque
   onglet) pour matcher visuellement les cards centrées en dessous. Ne touche
   pas les paragraphes hors bande. */
.cso-band__inner > .wp-block-paragraph,
.cso-band__inner .tso-panel > .wp-block-paragraph { text-align: left; }

/* ============================================================
   PAGE 247 « Et chez l'enfant ? » — hero full-bleed photo droite,
   contenu Gutenberg utilise les blocs CSO standards (step-title, cards…).
   ============================================================ */
.page-id-247 .tso-hero .container { grid-template-columns: 1fr; min-height: 460px; align-items: center; }
.page-id-247 .tso-hero__text-col { max-width: 700px; }
.page-id-247 .tso-hero__media { position: absolute; top: 0; right: 0; bottom: 0; left: auto; width: 48%; max-width: 760px; height: auto; margin: 0; z-index: 0; }
.page-id-247 .tso-hero__media img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center; border-radius: 0; box-shadow: none; }
@media (max-width: 900px) {
  .page-id-247 .tso-hero .container { min-height: 0; }
  .page-id-247 .tso-hero__media { position: relative; width: 100%; max-width: none; height: auto; }
  .page-id-247 .tso-hero__media img { height: auto; max-height: 320px; }
}

/* ============================================================
   LANDING « Tout savoir sur l'obésité » (page-tout-savoir-obesite.php)
   3 cartes vers les sous-pages.
   ============================================================ */
.tso-landing { padding: 80px 0 100px; }
.tso-landing__intro { max-width: 820px; margin: 0 auto 56px; text-align: center; font-size: 18px; line-height: 1.55; color: var(--textes); }
.tso-landing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0; padding: 0; list-style: none; }
.tso-landing-card { display: flex; flex-direction: column; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 4px 32px rgba(0,0,0,.06); transition: transform .2s ease, box-shadow .2s ease; }
.tso-landing-card:hover { transform: translateY(-4px); box-shadow: 0 8px 40px rgba(0,0,0,.10); }
.tso-landing-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--beige-aplat); }
.tso-landing-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tso-landing-card__body { display: flex; flex-direction: column; gap: 14px; padding: 28px 26px 32px; flex: 1; }
.tso-landing-card__title { margin: 0; font-size: 22px; line-height: 1.3; color: var(--bordeaux); font-weight: 700; }
.tso-landing-card__title a { color: inherit; text-decoration: none; }
.tso-landing-card__title a:hover { text-decoration: underline; }
.tso-landing-card__text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--textes); flex: 1; }
.tso-landing-card__cta { align-self: flex-start; margin-top: 4px; }
@media (max-width: 980px) {
  .tso-landing-cards { grid-template-columns: 1fr; gap: 24px; }
  .tso-landing { padding: 60px 0 80px; }
}

/* FIX : ne pas arrondir les pictos des blocs dans le contenu Gutenberg (icône PDF, etc.) */
.hgb-content .tso-pic { border-radius: 0; }

/* FIX : label du bouton primaire lisible au hover dans le contenu Gutenberg / encart */
.hgb-content a.btn--primary:hover, .tso-callout a.btn--primary:hover { color: var(--bordeaux); }

/* ============================================================
   PAGE STIGMATISATION (page-stigmatisation.php)
   Enfant de « Tout savoir ». Réutilise les composants .tso-*.
   Préfixe .stig-* pour les éléments propres à cette page.
   ============================================================ */

/* --- Hero (beige, sans bannière image — n'utilise pas .tso-hero) --- */
.stig-hero { position: relative; background: var(--beige-aplat); padding: 140px 0 80px; overflow: hidden; }
.stig-hero__decor { position: absolute; left: -50px; top: 60px; width: 110px; height: 110px; border-radius: 9999px; background: var(--lilas); opacity: .9; }
.stig-hero .container { position: relative; z-index: 1; }
.stig-hero__title { font-size: 36px; font-weight: 700; line-height: 1.3; color: var(--bordeaux); margin: 0 0 24px; max-width: 860px; }
.stig-hero__lead { max-width: 720px; font-size: 16px; line-height: 1.5; margin: 0; }
.stig-hero__lead strong { font-weight: 600; }

/* --- Chapôs de section --- */
.stig-lead { font-size: 16px; line-height: 1.5; margin: 0 0 8px; max-width: 760px; }
.stig-lead strong { font-weight: 600; }
.stig-lead--center { margin-left: auto; margin-right: auto; text-align: center; }

/* --- Cartes (réutilise .tso-causes__card + grille) : centrées, largeur plafonnée --- */
.stig-card { max-width: 1068px; margin: 40px auto 0; }
.stig-card .tso-cause h3 { margin-bottom: 6px; }

/* --- Liste à puces (accès aux soins) --- */
.stig-list { list-style: none; margin: 24px 0 0; padding: 0; max-width: 860px; display: flex; flex-direction: column; gap: 18px; }
.stig-list li { position: relative; padding-left: 38px; font-size: 16px; line-height: 1.5; }
.stig-list li strong { font-weight: 600; }
.stig-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 9999px; background: rgba(189,24,36,.12); }
.stig-list li::after { content: ""; position: absolute; left: 7px; top: 10px; width: 8px; height: 8px; border-radius: 9999px; background: var(--bordeaux); }
.stig-note { margin: 28px 0 0; max-width: 860px; font-size: 16px; font-weight: 600; color: var(--bordeaux); }

/* --- Parcours de soin spécifique --- */
.stig-parcours { max-width: 760px; margin: 0 auto; text-align: center; }
.stig-parcours p { font-size: 16px; line-height: 1.5; margin: 0; }
.stig-parcours p strong { font-weight: 600; }
.stig-parcours__cta { display: flex; justify-content: center; margin: 32px 0 24px; }

/* --- Vidéo (embed YouTube responsive 16:9) --- */
.stig-video { max-width: 860px; margin: 40px auto 0; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; box-shadow: 0 4px 28px rgba(0,0,0,.12); background: #000; }
.stig-video iframe { display: block; width: 100%; height: 100%; border: 0; }

/* --- Ressources / recours (cartes liens externes) --- */
.stig-res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1068px; margin: 48px auto 0; }
.stig-res__card { display: flex; flex-direction: column; gap: 12px; padding: 32px 28px; background: var(--blanc); border: 1px solid rgba(189,24,36,.4); border-radius: 24px; box-shadow: 0 4px 22px rgba(0,0,0,.05); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.stig-res__card:hover { border-color: var(--bordeaux); box-shadow: 0 8px 28px rgba(189,24,36,.1); transform: translateY(-2px); }
.stig-res__title { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--bordeaux); margin: 0; }
.stig-res__text { font-size: 15px; line-height: 1.5; color: var(--textes); margin: 0; flex: 1; }
.stig-res__link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--bordeaux); }
.stig-res__ext { font-size: 13px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .stig-hero { padding: 120px 0 64px; }
  .stig-hero__title { font-size: 30px; }
  .stig-res { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .stig-hero { padding: 100px 0 56px; }
  .stig-hero__title { font-size: 26px; }
  .stig .tso-section { padding: 64px 0; }
  .stig .tso-causes__grid { grid-template-columns: 1fr; gap: 24px; }
  .stig-card { padding: 32px 24px; }
  .stig-res { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stig-hero__title { font-size: 23px; }
  .stig .tso-heading { gap: 12px; }
  .stig .tso-arrow-circle img { width: 36px; height: 36px; }
  .stig-video { border-radius: 16px; }
}

/* ============================================================
   BLOCS STIGMATISATION (rendus dans la page « Hero + blocs »)
   cso/section-title, cso/cards+card, cso/link-cards+link-card
   + neutralisation des styles .hgb-content h2/h3/a sur ces blocs
   ============================================================ */

/* Titre de section (flèche-cercle) */
.hgb-content .cso-block-section-title { margin: 56px 0 20px; }
.hgb-content .cso-block-section-title:first-child { margin-top: 0; }
.hgb-content .cso-block-section-title .tso-heading { margin-bottom: 0; }
.hgb-content .cso-block-section-title .tso-heading__title { margin: 0; font-size: 22px; }
.hgb-content .cso-block-section-title .tso-heading__title--lg { color: var(--bordeaux); }
.hgb-content .cso-block-section-title .stig-lead { margin: 16px 0 0; color: var(--textes); }
.hgb-content .cso-block-section-title .tso-arrow-circle img { border-radius: 0; }
/* Centrage réel : espaceur fantôme symétrique à la flèche (44px) pour que le TITRE
   soit centré sur le conteneur comme le chapô, et non le groupe flèche+titre. */
.cso-block-section-title .tso-heading--center::after { content: ""; flex: 0 0 44px; }

/* core/embed (vidéos YouTube) — le thème ne charge pas le CSS de wp-block-library,
   donc l'iframe reste à sa taille fixe calée à gauche. On centre + responsive 16:9. */
.hgb-content .wp-block-embed { margin: 24px auto; max-width: 760px; }
.hgb-content .wp-block-embed.alignleft { margin-left: 0; }
.hgb-content .wp-block-embed.alignright { margin-right: 0; }
.hgb-content .wp-block-embed__wrapper { position: relative; }
.hgb-content .wp-embed-aspect-16-9 .wp-block-embed__wrapper > iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* Grille de cartes picto */
.hgb-content .cso-block-cards { max-width: 1000px; margin: 8px auto 16px; }
.hgb-content .cso-block-cards .tso-cause h3 { margin: 0 0 6px; font-size: 18px; color: var(--anthracite); }
.hgb-content .cso-block-cards .tso-cause p { margin: 0; }

/* Carte stat (40-60 %) : encadré centré et resserré dans le flux */
.hgb-content .cso-block-stat { max-width: 360px; margin: 24px auto; }

/* Cartes ressources */
.hgb-content .cso-block-linkcards { margin: 24px 0 16px; }
.hgb-content a.stig-res__card { text-decoration: none; color: inherit; }
.hgb-content .stig-res__title { margin: 0; }
.hgb-content .stig-res__text { margin: 0; }
.stig-res__link { display: inline-flex; align-items: center; gap: 6px; }
.stig-res__ext-img { width: 14px; height: 14px; display: inline-block; object-fit: contain; }
.hgb-content .stig-res__ext-img { border-radius: 0; }

/* Liste à puces & note (réutilisent .stig-list / .stig-note) */
.hgb-content .stig-list { margin: 16px 0; }
.hgb-content ul.stig-list { list-style: none; padding-left: 0; }
.hgb-content ul.stig-list li { margin: 0; }
.hgb-content .stig-note { margin: 20px 0; }
.hgb-content .tso-extlink { text-align: left; margin: 12px 0 0; }
.hgb-content .cso-block-btn { justify-content: flex-start; }

/* (Les puces des listes éditoriales sont définies plus haut, juste après les
   styles de base de .hgb-content, à FAIBLE spécificité, pour que les composants
   qui gèrent leur propre puce — onglets, .stig-list… — reprennent le dessus.) */

/* Boutons CSO posés côte à côte dans un Groupe « Ligne » (layout flex Gutenberg) :
   marges verticales des boutons neutralisées + espacement entre boutons et air
   au-dessus/dessous du groupe. */
.hgb-content .wp-block-group.is-layout-flex { gap: 18px; margin-top: 32px; margin-bottom: 32px; }
.hgb-content .wp-block-group.is-layout-flex .cso-block-btn { margin: 0; }

/* ===== Alignement des blocs CSO (réglage « Disposition ») ===== */
.cso-align { display: flex; flex-direction: column; }
.cso-align--left { align-items: flex-start; }
.cso-align--center { align-items: center; }
.cso-align--right { align-items: flex-end; }
/* le bouton est lui-même un flex : on centre aussi son contenu */
.cso-align--center > .cso-block-btn { justify-content: center; }
.cso-align--right > .cso-block-btn { justify-content: flex-end; }

/* Hero « Hero + blocs » SANS image de mise en avant : le titre utilise toute
   la largeur du conteneur (évite le retour à la ligne dû au cap 533px prévu
   pour laisser la place à l'image). N'affecte pas les hero AVEC bannière. */
.tso-hero--no-media .container { grid-template-columns: 1fr; }
.tso-hero--no-media .tso-hero__text-col { max-width: none; }

/* Bloc Gutenberg « Accordéon équipes » : hors .cso-page, --cso-accent n'est
   pas défini → fallback sur l'orange Nancy pour l'état ouvert/hover. */
.cso-block-accordion { --cso-accent: var(--nancy); }

/* ---- Bloc « FAQ CSO » : pleine largeur, 1 colonne, sans picto ---- */
.cso-faq.cso-team__med-block { max-width: none; }
.cso-faq .cso-team__med-heading { margin-bottom: 24px; }
.cso-faq .cso-accordion { width: 100%; }
/* Réponse rich text (remplace la liste de puces forcée) */
.cso-accordion__answer { margin-top: 14px; }
.cso-accordion__answer > :first-child { margin-top: 0; }
.cso-accordion__answer > :last-child { margin-bottom: 0; }
.cso-accordion__answer p,
.cso-accordion__answer li {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--textes);
}
.cso-accordion__answer p { margin: 0 0 12px; }
.cso-accordion__answer ul,
.cso-accordion__answer ol { margin: 0 0 12px; padding-left: 20px; }
.cso-accordion__answer a { color: var(--cso-accent); text-decoration: underline; }
.cso-accordion__answer strong { font-weight: 700; }
/* Chevron CSS (aucune image) : pointe en bas fermé, en haut ouvert */
.cso-faq__toggle { flex-shrink: 0; width: 16px; height: 16px; position: relative; transition: transform .3s ease; }
.cso-faq__toggle::before {
  content: "";
  position: absolute;
  left: 2px; top: 1px;
  width: 9px; height: 9px;
  border-right: 2px solid var(--cso-accent);
  border-bottom: 2px solid var(--cso-accent);
  transform: rotate(45deg);
}
.cso-accordion__item.is-open .cso-faq__toggle { transform: rotate(180deg); }


/* ============================================================
   ESPACE PRO (page-espace-pro.php) — réutilise .annuaire-hero + .stig-res
   ============================================================ */
.espace-pro { padding: 72px 0 96px; }
.espace-pro__intro { max-width: 820px; margin: 0 auto; text-align: center; font-size: 18px; line-height: 1.6; color: var(--textes); }
.espace-pro__intro p { margin: 0 0 14px; }
.espace-pro__grid { margin-top: 48px; }
.espace-pro .stig-res__link svg { transition: transform .2s; }
.espace-pro .stig-res__card:hover .stig-res__link svg { transform: rotate(-90deg) translateX(-2px); }
@media (max-width: 768px){ .espace-pro { padding: 56px 0 72px; } .espace-pro__intro { font-size: 16px; } }

/* ============================================================
   Encadré blanc « Les spécificités du CSO » — hero, colonne gauche
   Carte blanche assortie à la carte contact, placée à sa gauche.
   ============================================================ */
.cso-hero__specs {
  background: #fff;
  border-radius: 30px;
  outline: 1px solid rgba(255, 142, 0, 0.30);
  outline-offset: -1px;
  box-shadow: 0 4px 49.5px rgba(0, 0, 0, 0.06);
  padding: 28px 32px;
  /* plus étroit que la colonne (533px) pour ne pas passer sous la carte
     contact qui déborde à gauche (left:-82px ≈ x491). */
  max-width: 450px;
}
.cso-hero__specs-title {
  margin: 0 0 16px;
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--cso-accent);
}
.cso-hero__specs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cso-hero__specs-item {
  position: relative;
  padding-left: 30px;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  color: var(--textes);
}
.cso-hero__specs-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cso-accent);
}
.cso-hero__specs-item::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--blanc);
  border-bottom: 2px solid var(--blanc);
  transform: rotate(-45deg);
}
@media (max-width: 1100px) {
  .cso-hero__specs { max-width: none; }
}

/* Tableau « Stades de sévérité de l'obésité » (phénotypage HAS) — avant la section Causes (Tout savoir — Comprendre) */
.tso-pheno{padding:40px 0;}
.tso-pheno__heading{font-size:28px;line-height:1.2;color:#1d2327;margin:0 0 4px;}
.tso-pheno__hint{display:none;font-size:13px;color:#777;margin:0 0 12px;}
.tso-pheno__scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:10px;outline:none;}
.tso-pheno__scroll:focus-visible{box-shadow:0 0 0 2px #2271b1;}
.tso-pheno__table{border-collapse:collapse;width:100%;min-width:1180px;background:#fff;font-size:13px;line-height:1.42;}
.tso-pheno__caption{caption-side:top;text-align:left;font-weight:600;color:#555;font-size:13px;margin-bottom:10px;}
.tso-pheno__table th,.tso-pheno__table td{vertical-align:top;text-align:left;padding:10px 12px;border:2px solid #fff;}
.tso-pheno__table thead th{background:#f4f4f4;color:#1d2327;font-weight:700;font-size:12.5px;border-bottom:1px solid #e0e0e0;}
.tso-pheno__corner{min-width:78px;}
.tso-pheno__num{display:inline-block;color:#9aa0a6;font-weight:800;margin-right:5px;}
.tso-pheno__stadecell{font-weight:800;font-size:16px;color:#1d2327;white-space:nowrap;text-align:center;}
.tso-pheno__list{margin:0;padding:0;list-style:none;}
.tso-pheno__list li{position:relative;padding-left:13px;margin:0 0 5px;color:#1d2327;}
.tso-pheno__list li:last-child{margin-bottom:0;}
.tso-pheno__list li::before{content:"–";position:absolute;left:0;}
.tso-pheno__list li.tso-pheno__or,.tso-pheno__list li.tso-pheno__em{padding-left:0;font-style:italic;}
.tso-pheno__list li.tso-pheno__or::before,.tso-pheno__list li.tso-pheno__em::before{content:"";}
/* code couleur par stade (repris de la maquette HAS) */
.tso-pheno tr.is-vert   td,.tso-pheno tr.is-vert   th.tso-pheno__stadecell{background:#86c79b;}
.tso-pheno tr.is-orange td,.tso-pheno tr.is-orange th.tso-pheno__stadecell{background:#f3bd85;}
.tso-pheno tr.is-rose   td,.tso-pheno tr.is-rose   th.tso-pheno__stadecell{background:#eda4ac;}
.tso-pheno tr.is-vert   th.tso-pheno__stadecell{background:#73bd8b;}
.tso-pheno tr.is-orange th.tso-pheno__stadecell{background:#efb070;}
.tso-pheno tr.is-rose   th.tso-pheno__stadecell{background:#e89099;}
.tso-pheno__note{font-size:12px;color:#555;line-height:1.6;margin:12px 0 0;}
@media (max-width:980px){ .tso-pheno__hint{display:block;} .tso-pheno__heading{font-size:24px;} }

/* ============================================================
   Pages ETP (248) & Rôle des patients (428) — rendu cartes
   ============================================================ */

/* ETP — grille « Pour le patient » sur 3 colonnes (3 bénéfices) */
.page-id-248 .hgb-content .cso-block-cards .tso-causes__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.page-id-248 .hgb-content .cso-block-cards .tso-cause { flex-direction: column; align-items: flex-start; gap: 0; }
.page-id-248 .hgb-content .cso-block-cards .tso-cause__ico { margin-bottom: 16px; }
@media (max-width: 980px) { .page-id-248 .hgb-content .cso-block-cards .tso-causes__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .page-id-248 .hgb-content .cso-block-cards .tso-causes__grid { grid-template-columns: 1fr; } }

/* Société & stigmatisation (695) — cartes picto verticales (icône en haut, titre,
   texte, alignés à gauche) : même disposition que l'ETP → l'icône ne « flotte »
   plus au milieu (align-items:center) selon la longueur du texte = cohérence. */
.page-id-695 .hgb-content .cso-block-cards .tso-cause { flex-direction: column; align-items: flex-start; gap: 0; }
.page-id-695 .hgb-content .cso-block-cards .tso-cause__ico { margin-bottom: 16px; }

/* Rôle des patients — cartes « associations » */
.hgb-content .assoc-grid.wp-block-columns { gap: 32px; align-items: stretch; margin: 28px 0 8px; }
.hgb-content .assoc-grid .wp-block-column { display: flex; }
.hgb-content .assoc-card.wp-block-group {
  flex: 1; box-sizing: border-box; background: #fff;
  border: 1px solid rgba(189, 24, 36, .14); border-radius: 22px;
  padding: 30px 32px 32px; box-shadow: 0 8px 36px rgba(0, 0, 0, .05);
}
.hgb-content .assoc-card__logo.wp-block-image { margin: 0 0 18px; }
.hgb-content .assoc-card__logo img { height: 64px; width: auto; max-width: 100%; object-fit: contain; }
.hgb-content .assoc-card .wp-block-heading { margin: 0 0 14px; color: var(--bordeaux); font-size: 19px; line-height: 1.3; }
.hgb-content .assoc-card p { margin: 0 0 12px; }
.hgb-content .assoc-card p:last-child { margin-bottom: 0; }
.hgb-content .assoc-card ol.wp-block-list { margin: 4px 0 12px; }
.hgb-content .assoc-card ul.wp-block-list { margin: 4px 0 12px; }
.hgb-content .assoc-card__addr { font-weight: 600; color: var(--anthracite); }
@media (max-width: 781px) {
  .hgb-content .assoc-grid.wp-block-columns { flex-wrap: wrap; }
  .hgb-content .assoc-grid .wp-block-column { flex-basis: 100% !important; }
}

/* ============================================================
   Retour Thomas — flèche (rond rouge) devant TOUS les titres éditoriaux
   ------------------------------------------------------------
   Reprend le rond rouge + arrow.svg (média 27) du bloc cso/section-title,
   appliqué automatiquement :
   - au titre de hero des pages éditoriales (.tso-hero__title : gabarits
     « Hero + blocs » et « Tout savoir … ») ;
   - aux titres de contenu Gutenberg natifs (.hgb-content h2.wp-block-heading).
   Le bloc cso/section-title rend .tso-heading__title (pas .wp-block-heading)
   → il garde sa propre flèche, aucun doublon ici.
   ============================================================ */
.tso-hero__title,
.hgb-content h2.wp-block-heading {
  display: flex;
  align-items: center;
  gap: 18px;
}
.tso-hero__title::before,
.hgb-content h2.wp-block-heading::before {
  content: "";
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  background: url(/wp-content/uploads/2026/05/arrow.svg) center / contain no-repeat;
}
@media (max-width: 768px) {
  .tso-hero__title,
  .hgb-content h2.wp-block-heading { gap: 12px; }
  .tso-hero__title::before,
  .hgb-content h2.wp-block-heading::before { flex-basis: 36px; width: 36px; height: 36px; }
}

/* ============================================================
   Hero « Hero + blocs » — image dans la forme Figma (quart-de-sphère + pois)
   Marqueur .tso-hero--shape posé quand la page a une image de mise en avant.
   Même géométrie que le décor « Comprendre l'obésité » de la home.
   ============================================================ */
.tso-hero--shape .tso-hero__media--shape svg { display: block; width: 100%; height: auto; }
/* La forme a déjà ses propres décors (pois) → on masque la pastille lilas du banner */
.tso-hero--shape .tso-hero__decor { display: none; }
@media (min-width: 1025px) {
  .tso-hero.tso-hero--shape .container { grid-template-columns: 1fr; min-height: 560px; }
  .tso-hero.tso-hero--shape .tso-hero__text-col { position: relative; z-index: 1; max-width: 533px; padding: 56px 0; }
  .tso-hero.tso-hero--shape .tso-hero__media--shape {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: auto;
    width: 48%; max-width: 760px;
    margin: 0; z-index: 0;
    pointer-events: none;
  }
  .tso-hero.tso-hero--shape .tso-hero__media--shape svg { width: 100%; height: 100%; }
}
@media (max-width: 1024px) {
  .tso-hero.tso-hero--shape .tso-hero__media--shape { position: static; width: 100%; max-width: none; margin: 0; }
}

/* ============================================================
   Clusters de la cartographie (Leaflet.markercluster)
   Pastille ronde avec compteur — pros = bordeaux, imagerie = lilas.
   ============================================================ */
.cso-cluster { background: transparent; border: 0; }
.cso-cluster span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.cso-cluster--pros span {
  background: var(--bordeaux, #BD1824);
  border: 4px solid rgba(189, 24, 36, .30);
}
.cso-cluster--imagerie span {
  background: var(--lilas, #A096DF);
  border: 4px solid rgba(160, 150, 223, .35);
}
/* Trait de « spiderfy » (déploiement au zoom max) aux couleurs du site */
.leaflet-cluster-anim .leaflet-marker-icon,
.leaflet-cluster-anim .leaflet-marker-shadow { transition: all .3s ease-out; }
.marker-cluster-spider-leg { stroke: var(--bordeaux, #BD1824); }

/* ============================================================
   Bloc « Cartes de rubrique » (cso/landing-cards) dans un contenu
   Gutenberg : mêmes cartes que la landing « Tout savoir », mais posées
   dans .hgb-content → neutraliser les styles de titre du flux éditorial.
   ============================================================ */
.hgb-content .cso-block-landing-cards { margin: 0; padding: 0; }
.hgb-content .cso-block-landing-cards .tso-landing-card__title { font-size: 22px; line-height: 1.3; margin: 0; color: var(--bordeaux); font-weight: 700; }
.hgb-content .cso-block-landing-cards .tso-landing-card__title::before { content: none; }
.hgb-content .cso-block-landing-cards .tso-landing-card__text { font-size: 15px; line-height: 1.55; }
.hgb-content .cso-block-landing-cards .tso-landing-card__cta { margin-top: 4px; }

/* ============================================================
   ANNUAIRE PRO — Onglet « Je souhaite trouver un appareil d'imagerie adapté »
   Filtrage du référentiel ARS (ville/CP, appareil, poids, anneau).
   Réutilise la barre de filtres et les cartes résultat de l'annuaire.
   ============================================================ */
.annuaire-switcher--3 { max-width: 1040px; }
.annuaire-switcher--3 .annuaire-switcher__btn { flex: 1 1 0; padding: 16px 26px; }

/* Bascule des vues (annuaire ↔ imagerie) */
.annuaire-filters--imagerie,
.annuaire-results__count--img,
.annuaire-results__list--img { display: none; }

.annuaire-switch-section[data-active="imagerie"] .annuaire-imc-banner,
.annuaire-switch-section[data-active="imagerie"] .annuaire-filters--annuaire,
.annuaire-switch-section[data-active="imagerie"] .annuaire-results__count--annuaire,
.annuaire-switch-section[data-active="imagerie"] .annuaire-results__list--annuaire,
.annuaire-switch-section[data-active="imagerie"] .map-layer { display: none; }

.annuaire-switch-section[data-active="imagerie"] .annuaire-filters--imagerie { display: block; }
.annuaire-switch-section[data-active="imagerie"] .annuaire-results__count--img { display: block; }
.annuaire-switch-section[data-active="imagerie"] .annuaire-results__list--img { display: flex; }

.annuaire-filters__note {
  margin: 14px auto 0;
  max-width: 780px;
  font-family: var(--font-family);
  font-size: 13px;
  line-height: 1.45;
  color: #6B6B6B;
  text-align: center;
}
.annuaire-filters__reset {
  padding: 10px 20px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  color: var(--bordeaux);
  background: var(--blanc);
  border: 1.5px solid rgba(189, 24, 36, 0.35);
  border-radius: 30px;
  cursor: pointer;
  transition: background .18s, border-color .18s;
}
.annuaire-filters__reset:hover { background: #fdf2f3; border-color: var(--bordeaux); }

/* Cartes « site d'imagerie » (rendues en JS) */
.result-card--img.is-active { outline-color: var(--bordeaux); }
.result-card__addr {
  margin: 0;
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 1.45;
  color: #555;
}
.result-card__tags--img {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.result-tag--img { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.result-tag--img span { color: #555; font-weight: 500; }
.result-tag__nb {
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--bordeaux);
  background: rgba(189, 24, 36, 0.08);
  border-radius: 20px;
}
.annuaire-results__empty {
  margin: 0;
  padding: 24px;
  font-family: var(--font-family);
  font-size: 15px;
  color: #555;
  background: var(--blanc);
  border-radius: 24px;
  outline: 1.5px solid rgba(189, 24, 36, 0.20);
  outline-offset: -1.5px;
}

@media (max-width: 1100px) {
  .annuaire-switcher--3 { max-width: 100%; }
  .annuaire-switcher--3 .annuaire-switcher__btn:first-child { border-radius: 30px 30px 0 0; }
  .annuaire-switcher--3 .annuaire-switcher__btn:last-child  { border-radius: 0 0 30px 30px; }
}
