/* Agenda du héros : mêmes couleurs, typographie et angles que DentalBoost. */
.hero-events {
  position: relative; width: 88%; margin-left: auto;
  padding: clamp(1.4rem, 2.3vw, 2.3rem);
  border-radius: 3px 28px 3px 3px;
  background: var(--deep-2); color: var(--white);
}
.hero-events__head { transform-origin: left top; }
.hero-events__label { margin-bottom: .9rem; font-size: .95rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--teal-light); }
.hero-events h2 { font-size: clamp(1.9rem, 2.9vw, 3rem); font-weight: 800; line-height: 1.06; letter-spacing: -.035em; }
.hero-events h2 em { font-style: normal; color: var(--teal-light); }
.hero-events__list { margin-top: 1.8rem; }
.hero-events__list li { border-top: 1px solid rgba(255,255,255,.18); }
.hero-event { display: grid; grid-template-columns: 3.5rem minmax(0,1fr) auto; gap: 1rem; align-items: center; padding: 1.1rem 0; text-decoration: none; }
.hero-event__date { display: grid; gap: .25rem; align-self: start; padding-top: .15rem; }
.hero-event__date b { font-size: 2.1rem; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--teal-light); }
.hero-event__date > span { font-size: .62rem; font-weight: 700; line-height: 1.5; text-transform: uppercase; color: rgba(255,255,255,.72); }
.hero-event__copy { display: grid; gap: .25rem; }
.hero-event__copy > span { font-size: .7rem; color: var(--teal-light); }
.hero-event__copy strong { font-size: .95rem; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.hero-event > i { font-size: .75rem; color: var(--teal-light); transition: transform .3s var(--ease); }
.hero-event:hover strong { color: var(--teal-light); }
.hero-event:hover > i { transform: translate(2px,-2px); }
.hero-events__all { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .8rem; font-weight: 800; text-decoration: none; color: var(--teal-light); }
.hero-events__all:hover { color: var(--white); }
.hero-events a:focus-visible { outline-color: var(--teal-light); }
.hero-events__empty { padding: 2rem 0; font-size: .95rem; color: rgba(255,255,255,.8); }
.hero-traits { width: 100%; padding: 0; background: var(--white); }
.hero-traits .vision__traits { width: 100%; max-width: none; margin: 0; }
.hero-traits .vision__traits-label { padding-left: clamp(1rem, 2vw, 2rem); }
@media (max-width: 1023px) {
  .hero-events { width: 100%; padding: 1.7rem; }
  .hero-events h2 { font-size: clamp(2rem, 5vw, 3rem); }
  .hero-event { grid-template-columns: 3.7rem minmax(0,1fr) auto; }
}
@media (max-width: 560px) {
  .hero-events { padding: 1.4rem; }
  .hero-event { gap: .8rem; }
  .hero-event__copy strong { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .hero-event > i { transition: none; } }

/* Six engagements sous le héros : six colonnes sur grand écran. */
@media (min-width: 1024px) {
  .hero-traits .vision__traits { grid-template-columns: 11rem minmax(0, 1fr); }
  .hero-traits .vision__traits ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-traits .vision__traits li { gap: .6rem; padding: 1.2rem .9rem; font-size: .9rem; }
  .hero-traits .vision__traits li:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (min-width: 1280px) {
  .hero-traits .vision__traits ul { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hero-traits .vision__traits li:nth-child(n+4) { border-top: 0; }
}

/* Notre Vision, sans colonne de texte à droite. */
#apropos .vision__top { grid-template-columns: 1fr; }
#apropos .vision__title { max-width: 30ch; }

/* Le bandeau reste bord à bord sur mobile, avec une marge de lecture intérieure. */
@media (max-width: 1023px) {
  .hero-traits .vision__traits-label { padding: 1.2rem 1.25rem .8rem; }
  .hero-traits .vision__traits li,
  .hero-traits .vision__traits li:nth-child(even) { padding: 1.1rem 1.25rem; }
}

/* Notre Vision : la phrase d'introduction se termine par « nous : », chaque verbe la complète. */
#apropos.vision { padding-top: clamp(3rem, 5vw, 4.5rem); padding-bottom: clamp(3.5rem, 6vw, 5rem); }
#apropos .vision__in { gap: clamp(1.8rem, 3.5vw, 2.8rem); }
#introduction.paths { padding-top: clamp(3.5rem, 6vw, 5rem); }
.vision__how.vpledge { display: block; }
.vpledge__intro { max-width: 54ch; font-size: clamp(1.2rem, 1.9vw, 1.6rem); font-weight: 600; line-height: 1.45; letter-spacing: -.01em; color: var(--deep); }
.vpledge__intro span { color: var(--teal-ink); white-space: nowrap; }
.vpledge__list { margin-top: clamp(1.6rem, 3vw, 2.4rem); border-top: 2px solid var(--deep); }
.vpledge__list li { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: baseline; padding: clamp(1.3rem, 2.4vw, 2rem) 0; border-bottom: 1px solid var(--line); }
.vpledge__list li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.vpledge__list li:hover::after { transform: scaleX(1); }
.vpledge__list h3 { font-size: clamp(2rem, 3.7vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -.045em; color: var(--deep); transition: color .4s var(--ease); }
.vpledge__list li:hover h3 { color: var(--teal); }
.vpledge__list p { max-width: 58ch; font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.65; color: var(--slate); }
.vpledge__list p strong { color: var(--deep); }
.vpledge__paths { text-decoration: none; color: inherit; }
.vpledge__paths b { font-weight: 800; letter-spacing: .04em; color: var(--teal-ink); }
.vpledge__paths:hover b { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  .vpledge__list li { grid-template-columns: 1fr; gap: .6rem; }
  .vpledge__list h3 { font-size: clamp(2rem, 9vw, 2.6rem); }
}
@media (prefers-reduced-motion: reduce) { .vpledge__list li::after, .vpledge__list h3 { transition: none; } }

/* Notre mission : bande vert profond à part, entre la vision (fond blanc) et les parcours (fond ivoire). */
.mission { padding: clamp(3.5rem, 7vw, 6rem) var(--gut); background: var(--deep-2); color: var(--white); }
.mission__in { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(1.2rem, 4vw, 4rem); align-items: baseline; }
.mission .kicker { margin: 0; }
.mission__text { max-width: 30ch; font-size: clamp(1.8rem, 3.4vw, 3.3rem); font-weight: 700; line-height: 1.18; letter-spacing: -.035em; }
.mission__text em { font-style: normal; color: var(--teal-light); }
@media (max-width: 767px) { .mission__in { grid-template-columns: 1fr; } }

/* « À la une » passe sous les boutons du héros : la colonne de gauche n'a plus de vide en bas. */
.hero4__copy .hero-news { width: 100%; max-width: 40rem; margin: clamp(.6rem, 2.5vh, 1.6rem) 0 0; padding: 1.2rem 0 0; background: none; border: 0; border-top: 1px solid rgba(10, 51, 46, .14); border-radius: 0; }
.hero4__copy .hero-news__head h2 { font-size: .85rem; letter-spacing: .14em; }
.hero4__copy .hero-news__article strong { font-size: .95rem; }

/* « Le praticien manager-leader » sur deux lignes au lieu de quatre */
.hero-traits .vision__traits-label { font-size: .85rem; letter-spacing: .12em; line-height: 1.5; }
@media (min-width: 1024px) { .hero-traits .vision__traits { grid-template-columns: 14rem minmax(0, 1fr); } }

/* Agenda du héros : un seul événement mis en avant (le prochain), ou un message d'attente utile s'il n'y en a pas. */
.hero-feat { margin-top: 1.8rem; padding: 1.6rem 0; border-top: 1px solid rgba(255,255,255,.18); display: grid; gap: 1.5rem; }
.hero-feat__main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.1rem, 2vw, 1.8rem); align-items: center; text-decoration: none; }
.hero-feat__date { display: grid; gap: .45rem; padding-right: clamp(1.1rem, 2vw, 1.8rem); border-right: 1px solid rgba(255,255,255,.18); }
.hero-feat__date b { font-size: clamp(4rem, 6.4vw, 6.4rem); font-weight: 800; line-height: .82; letter-spacing: -.06em; color: var(--teal-light); }
.hero-feat__date span { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.hero-feat__copy { display: grid; gap: .45rem; }
.hero-feat__city { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-light); }
.hero-feat__copy strong { font-size: clamp(1.3rem, 1.9vw, 1.7rem); font-weight: 800; line-height: 1.18; letter-spacing: -.02em; }
.hero-feat__copy small { font-size: .88rem; line-height: 1.45; color: rgba(255,255,255,.72); }
.hero-feat__main:hover strong { color: var(--teal-light); }
.hero-feat__cta { justify-self: start; }
.hero-feat--empty p { font-size: .95rem; line-height: 1.6; color: rgba(255,255,255,.78); max-width: 40ch; }
.hero-feat--empty .hero-feat__soon { font-size: clamp(1.2rem, 1.7vw, 1.45rem); font-weight: 800; line-height: 1.3; color: var(--white); }
.hero-feat__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: .4rem; }
.hero-feat__wa { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 700; text-decoration: none; color: var(--teal-light); }
.hero-feat__wa:hover { color: var(--white); }
@media (max-width: 560px) { .hero-feat__date b { font-size: 3.6rem; } }

/* Nos formations : les trois villes en bandeau photo, puis le catalogue (sans dates). */
.regions__lead { max-width: 46ch; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: rgba(255,255,255,.82); }
.regions__themes { display: flex; flex-wrap: wrap; gap: .6rem; }
.regions__themes li { padding: .45rem 1rem; border: 1px solid var(--line-light); border-radius: 999px; font-size: .85rem; font-weight: 700; letter-spacing: .06em; color: var(--teal-light); }
.rtrip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 1.2vw, 1rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.rtrip__city { position: relative; height: clamp(150px, 18vw, 230px); overflow: hidden; border-radius: 3px; }
.rtrip__city:last-child { border-top-right-radius: 26px; }
.rtrip__city img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.rtrip__city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 43, 38, .92) 0%, rgba(6, 43, 38, .25) 60%, rgba(6, 43, 38, 0) 100%); }
.rtrip__city span { position: absolute; left: clamp(1rem, 2vw, 1.5rem); bottom: clamp(.8rem, 1.6vw, 1.2rem); z-index: 1; font-size: clamp(1.4rem, 2.6vw, 2.4rem); font-weight: 800; letter-spacing: -.035em; text-transform: uppercase; color: var(--white); }
.rtrip__city:hover img { transform: scale(1.05); }
@media (max-width: 767px) {
  .rtrip { grid-template-columns: 1fr; }
  .rtrip__city { height: 110px; }
}
@media (prefers-reduced-motion: reduce) { .rtrip__city img { transition: none; } }

/* Catalogue compact : une ligne par formation (titre + public en aperçu), le détail s'ouvre dans une fenêtre. */
.fcat { border-top: 1px solid var(--line-light); }
.fcat__row { position: relative; border-bottom: 1px solid var(--line-light); }
.fcat__row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--teal-light); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.fcat__row:hover::after, .fcat__row:focus-within::after { transform: scaleX(1); }
.fcat__open { width: 100%; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) auto; gap: clamp(1rem, 3vw, 3rem); align-items: center; padding: clamp(1.15rem, 2vw, 1.55rem) 0; background: none; border: 0; color: var(--white); font: inherit; text-align: left; cursor: pointer; }
.fcat__title { font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 800; line-height: 1.25; letter-spacing: -.02em; transition: color .4s var(--ease), transform .6s var(--ease); }
.fcat__for { font-size: .92rem; line-height: 1.5; color: rgba(255,255,255,.66); }
.fcat__for > span { margin-right: .35rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-light); }
.fcat__more { display: inline-flex; align-items: center; gap: .8rem; font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.75); }
.fcat__more i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); color: var(--white); transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease); }
.fcat__open:hover .fcat__title, .fcat__open:focus-visible .fcat__title { color: var(--teal-light); transform: translateX(6px); }
.fcat__open:hover .fcat__more i, .fcat__open:focus-visible .fcat__more i { background: var(--teal); border-color: var(--teal); transform: rotate(90deg); }
.fcat__open:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 4px; }
@media (max-width: 1023px) { .fcat__more-txt { display: none; } }
@media (max-width: 767px) {
  .fcat__open { grid-template-columns: minmax(0, 1fr) auto; row-gap: .45rem; }
  .fcat__title { grid-column: 1; }
  .fcat__for { grid-column: 1; grid-row: 2; font-size: .85rem; }
  .fcat__more { grid-column: 2; grid-row: 1 / span 2; }
}

/* Fenêtre de détail */
.fmodal { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: clamp(1rem, 4vw, 3rem); border: 0; background: transparent; display: none; place-items: center; overflow: hidden; }
.fmodal[open] { display: grid; }
.fmodal::backdrop { background: transparent; }
.fmodal__scrim { position: absolute; inset: 0; background: rgba(4, 28, 25, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .5s var(--ease); }
.fmodal__panel { position: relative; width: min(760px, 100%); max-height: min(88svh, 860px); display: flex; flex-direction: column; overflow: hidden; background: var(--white); color: var(--ink); border-radius: 3px 28px 3px 3px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .55);
  opacity: 0; transform: translateY(46px) scale(.965); clip-path: inset(10% 0 0 0 round 3px 28px 3px 3px);
  transition: opacity .45s var(--ease), transform .8s cubic-bezier(.16, 1, .3, 1), clip-path .8s cubic-bezier(.16, 1, .3, 1); }
.fmodal.is-in .fmodal__scrim { opacity: 1; }
.fmodal.is-in .fmodal__panel { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 3px 28px 3px 3px); }
.fmodal__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1.3rem, 3vw, 2.2rem); background: var(--deep-2); color: var(--white); }
.fmodal__count { display: flex; align-items: baseline; gap: .8rem; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-light); }
.fmodal__count b { font-variant-numeric: tabular-nums; color: rgba(255,255,255,.7); letter-spacing: .08em; }
.fmodal__x { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: none; color: var(--white); cursor: pointer; transition: background-color .3s var(--ease), transform .5s var(--ease); }
.fmodal__x:hover { background: var(--teal); border-color: var(--teal); transform: rotate(90deg); }
.fmodal__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: clamp(1.5rem, 3.5vw, 2.6rem) clamp(1.3rem, 3vw, 2.2rem); display: grid; gap: 1.5rem; align-content: start; transition: opacity .3s var(--ease), transform .45s var(--ease); }
.fmodal__body.is-swap { opacity: 0; transform: translateX(var(--swap, 24px)); }
.fmodal__title { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; color: var(--deep); }
.fmodal__label { margin-bottom: .7rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); }
.fmodal__for ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.fmodal__for li { padding: .42rem .85rem; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--deep); }
.fmodal__intro { font-size: 1.02rem; line-height: 1.65; color: var(--slate); }
.fmodal__intro:empty { display: none; }
.fmodal__goals ul { display: grid; gap: .2rem; border-top: 1px solid var(--line); }
.fmodal__goals li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .6rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; line-height: 1.55; color: var(--ink); }
.fmodal__goals li i { margin-top: .2em; color: var(--teal); }
.fmodal__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1.3rem, 3vw, 2.2rem); border-top: 1px solid var(--line); background: var(--ivory); }
.fmodal__where { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 700; color: var(--slate); }
.fmodal__where i { color: var(--teal); }
.fmodal__actions { display: flex; align-items: center; gap: .5rem; }
.fmodal__nav { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--deep); cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease); }
.fmodal__nav:hover { background: var(--deep); color: var(--white); }
.fmodal__actions .btn { margin-left: .3rem; }
/* Contenu qui monte ligne par ligne à l'ouverture */
.fmodal [data-fm-item] { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .7s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(.18s + var(--i, 0) * .05s); }
.fmodal.is-in [data-fm-item] { opacity: 1; transform: none; }
html.fmodal-open { overflow: hidden; }
@media (max-width: 767px) {
  .fmodal { padding: 0; place-items: end stretch; }
  .fmodal__panel { width: 100%; max-height: 90svh; border-radius: 22px 22px 0 0; transform: translateY(100%); clip-path: none; }
  .fmodal.is-in .fmodal__panel { clip-path: none; }
  .fmodal__foot { padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); }
  .fmodal__where { width: 100%; }
  .fmodal__actions { width: 100%; }
  .fmodal__actions .btn { flex: 1; margin-left: auto; padding: 0 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .fmodal__panel, .fmodal__scrim, .fmodal__body, .fmodal [data-fm-item] { transition: opacity .2s linear !important; transform: none !important; clip-path: none !important; }
}
