@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); }
/* Centre Médical de Philippeville – feuille de style commune
   Mise en page : colonne de 1200 px, bandes pleine largeur alternant blanc et gris clair. */
:root {
  --navy: #172c51;      /* bleu médical du logo : titres */
  --teal: #0e6e73;      /* bleu canard : boutons et liens */
  --teal-dark: #0a5559;
  --teal-tint: #e6f2f2;
  --ink: #1f2937;       /* texte courant */
  --muted: #4b5563;     /* texte secondaire */
  --gray: #f4f6f8;      /* bandes */
  --line: #e3e7ec;
  --line-strong: #9aa5b4;
  --white: #ffffff;
  --alert: #8a1c12;
  --alert-line: #b42318;
  --alert-bg: #fff6f5;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 12px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: var(--white); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.band { padding-block: 72px; }
.band--gray { background: var(--gray); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.lead { font-size: 19px; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.todo { background: #fff4d6; color: #5c4400; padding: 0 4px; border-radius: 3px; font-weight: 600; }

/* En-tête */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 36px; padding-block: 10px; }
.brand img { width: 88px; height: 88px; }
.nav { display: flex; flex-wrap: wrap; gap: 0 28px; flex: 1 1 320px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; padding-block: 12px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--teal); }
.nav a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--teal); font-weight: 600; }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--navy); font-weight: 600; text-decoration: none; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 8px; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-dark); color: var(--white); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: var(--white); }
.btn--ghost:hover { background: var(--gray); color: var(--navy); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Héro */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-block: 64px; }
.hero__text { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero__media { flex: 1 1 380px; min-width: 0; }

/* Emplacement photo */
.photo-slot { aspect-ratio: 4 / 3; max-width: 100%; background: var(--gray); border: 1.5px dashed var(--line-strong); border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); text-align: center; padding: 24px; font-weight: 600; font-size: 15px; }
.photo-slot--round { aspect-ratio: 1; border-radius: 50%; width: 120px; padding: 8px; font-size: 12px; }
.photo-slot--portrait { aspect-ratio: 1; border-radius: var(--radius); }

/* Grilles */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.value { display: flex; flex-direction: column; gap: 10px; }
.value svg { width: 32px; height: 32px; stroke: var(--teal); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card--link { text-decoration: none; color: var(--ink); transition: border-color .15s; }
.card--link:hover { border-color: var(--teal); color: var(--ink); }
.card--link .more { margin-top: auto; font-weight: 600; color: var(--teal); }
.card__title { font-size: 24px; font-weight: 700; color: var(--navy); }

/* Qui consulte */
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; max-width: 420px; }
.days button { min-height: 44px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.days button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--white); }
.presence { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.person { display: flex; align-items: center; gap: 12px; }
.initials { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--teal-tint); color: var(--teal); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.hours { font-weight: 600; font-variant-numeric: tabular-nums; }

/* Tableau horaires */
.schedule { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.schedule th, .schedule td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
.schedule th { font-weight: 500; color: var(--muted); padding-right: 16px; }
.schedule td { font-weight: 600; }
.table-scroll { overflow-x: auto; }
.week { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 640px; background: var(--white); }
.week th, .week td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.week thead th { color: var(--muted); font-size: 14px; font-weight: 600; }

/* Étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.steps li { border-top: 3px solid var(--teal); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.steps .num { font-size: 14px; font-weight: 700; color: var(--teal); letter-spacing: 0.08em; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding-block: 16px; }
.faq summary { font-weight: 600; color: var(--navy); cursor: pointer; min-height: 28px; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* Infos et urgences */
.facts { margin: 0; display: grid; gap: 18px; }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.urgent { border: 1.5px solid var(--alert-line); background: var(--alert-bg); border-radius: 16px; padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 48px; }
.urgent h2 { color: var(--alert); font-size: 22px; flex: 1 1 200px; }
.urgent .n { display: block; font-size: 28px; font-weight: 700; color: var(--alert); font-variant-numeric: tabular-nums; }
.urgent .l { font-size: 14px; color: var(--muted); }
.map-slot { min-height: 320px; aspect-ratio: auto; }

/* Formulaire */
.form { display: grid; gap: 18px; }
.form .row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--white); color: var(--ink); min-height: 48px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.notice { background: var(--teal-tint); border-radius: 8px; padding: 14px 16px; font-size: 15px; }
.form-status { font-weight: 600; color: var(--teal); }

/* Fiche médecin */
.profile .wrap { display: flex; flex-wrap: wrap; gap: 48px; padding-block: 64px; }
.profile__side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.profile__main { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.breadcrumb { font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }

/* Pages légales */
.legal { max-width: 760px; }
.legal h2 { font-size: 22px; margin-top: 12px; }
.legal ul { margin: 0; padding-left: 20px; }

/* Pied de page */
.site-footer { background: var(--gray); border-top: 1px solid var(--line); font-size: 15px; }
.site-footer .wrap { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-block: 48px; }
.site-footer h2 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer .bottom { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.slogan { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; color: var(--navy); }

/* Bandeau urgences */
.topline { background: var(--navy); color: #dfe6f2; font-size: 14px; }
.topline .wrap { display: flex; flex-wrap: wrap; gap: 4px 28px; justify-content: flex-end; padding-block: 6px; }
.topline strong { color: var(--white); font-variant-numeric: tabular-nums; margin-left: 4px; }

/* Héro : logo en orbite */
.hero-x { overflow: hidden; }
.hero-x__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: 56px 72px; }
.hero-x__text { display: flex; flex-direction: column; gap: 22px; }
.hero-x h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.04; }
.hero-x h1 em { font-style: normal; color: var(--teal); display: block; }
.orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); inset: 0; }
.orbit__ring--1 { inset: 4%; border-style: dashed; border-color: var(--line-strong); }
.orbit__ring--2 { inset: 20%; background: var(--teal-tint); border: none; }
.orbit__logo { position: absolute; inset: 24%; width: 52%; height: 52%; border-radius: 50%; background: var(--white); box-shadow: 0 18px 40px rgba(23, 44, 81, 0.16); }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px 6px 6px; text-decoration: none; color: var(--ink); box-shadow: 0 6px 18px rgba(23, 44, 81, 0.10); white-space: nowrap; line-height: 1.25; transition: transform .2s, border-color .2s; }
.chip:hover { border-color: var(--teal); color: var(--ink); transform: translateY(-2px); }
.chip strong { display: block; font-size: 15px; color: var(--navy); }
.chip small { display: block; font-size: 13px; color: var(--muted); }
.chip .initials { width: 40px; height: 40px; font-size: 14px; }
.chip--audio .initials { background: var(--navy); color: var(--white); }
.chip--a { top: 4%; left: 2%; }
.chip--b { top: 26%; right: -2%; }
.chip--c { bottom: 18%; left: -4%; }
.chip--d { bottom: 2%; right: 8%; }
@media (prefers-reduced-motion: reduce) { .chip { transition: none; } }

/* Deux pôles en panneaux */
.poles { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.pole { display: flex; gap: 28px; align-items: flex-start; text-decoration: none; color: var(--ink); padding-block: 48px; padding-inline: max(20px, calc((100vw - 1160px) / 2)) 40px; transition: background .2s; }
.pole + .pole { padding-inline: 40px max(20px, calc((100vw - 1160px) / 2)); }
.pole--med { background: var(--gray); }
.pole--audio { background: var(--teal-tint); }
.pole:hover { color: var(--ink); background: #e9edf1; }
.pole--audio:hover { background: #d8ecec; }
.pole__num { font-size: clamp(72px, 9vw, 120px); font-weight: 700; line-height: .85; color: var(--navy); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.pole__body { display: flex; flex-direction: column; gap: 8px; max-width: 42ch; }
.pole__title { font-size: 24px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.pole .more { font-weight: 600; color: var(--teal); margin-top: 6px; }

/* Frise horaire */
.tl-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.tl-head .days { width: 100%; max-width: 380px; }
.timeline { display: grid; gap: 4px; position: relative; overflow: hidden; }
.tl-row { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr); gap: 20px; align-items: center; }
.tl-row--axis { margin-bottom: 4px; }
.tl-name { text-decoration: none; color: var(--ink); line-height: 1.3; padding-block: 10px; }
.tl-name strong { display: block; color: var(--navy); }
.tl-name span { font-size: 14px; color: var(--muted); }
.tl-name:hover strong { color: var(--teal); }
.tl-axis { position: relative; height: 22px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tl-axis span { position: absolute; transform: translateX(-50%); top: 0; }
.tl-axis span:first-child { transform: none; }
.tl-axis span:last-child { transform: translateX(-100%); }
.tl-now { position: absolute; top: 18px; width: 2px; height: 400px; background: var(--alert-line); pointer-events: none; z-index: 2; }
.tl-now::before { content: "maintenant"; position: absolute; top: -18px; left: 4px; font-style: normal; font-size: 11px; font-weight: 700; color: var(--alert); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.tl-track { position: relative; height: 44px; background: repeating-linear-gradient(90deg, var(--gray) 0 calc(20% - 1px), var(--line) calc(20% - 1px) 20%); border-radius: 8px; }
.tl-bar { position: absolute; top: 6px; bottom: 6px; background: var(--teal); border-radius: 6px; }
.tl-label { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 600; color: var(--navy); background: var(--white); padding: 2px 8px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.tl-track.is-empty .tl-label { right: auto; left: 10px; background: #fff4d6; color: #5c4400; }

/* Valeurs */
.values-x { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.values-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.values-list li { display: grid; grid-template-columns: minmax(160px, 220px) minmax(0, 1fr); gap: 20px; padding-block: 20px; border-top: 1px solid var(--line-strong); }
.values-list li:last-child { border-bottom: 1px solid var(--line-strong); }
.values-list strong { color: var(--navy); font-size: 19px; }
.values-list span { color: var(--muted); }

/* Venir au centre */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.visit__card { background: var(--navy); color: #dfe6f2; padding: 40px; border-radius: 16px 0 0 16px; display: flex; flex-direction: column; gap: 24px; }
.visit__card h2 { color: var(--white); }
.visit__card dt { color: #b8c4d8; }
.visit__card dd, .visit__card a:not(.btn) { color: var(--white); }
.visit__card .btn--ghost { background: transparent; border-color: var(--white); color: var(--white); }
.visit__map { border-radius: 0 16px 16px 0; aspect-ratio: auto; min-height: 340px; }

/* Parcours audiologie */
.steps--path { position: relative; }
.steps--path li { border-top: none; padding-top: 0; position: relative; }
.steps--path li::before { content: ""; display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 3px solid var(--teal); margin-bottom: 12px; position: relative; z-index: 1; }
.steps--path li::after { content: ""; position: absolute; top: 9px; left: 18px; right: -24px; height: 2px; background: var(--teal); }
.steps--path li:last-child::after { display: none; }

@media (max-width: 900px) {
  .hero-x__grid { grid-template-columns: minmax(0, 1fr); }
  .orbit { max-width: 440px; }
  .values-x, .visit { grid-template-columns: minmax(0, 1fr); }
  .visit__card { border-radius: 16px 16px 0 0; }
  .visit__map { border-radius: 0 0 16px 16px; }
  .pole, .pole + .pole { padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
}
@media (max-width: 640px) {
  .orbit { aspect-ratio: auto; display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
  .orbit__ring { display: none; }
  .orbit__logo { position: static; width: 200px; height: 200px; align-self: center; margin-bottom: 12px; }
  .chip { position: static; white-space: normal; }
  .tl-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tl-row--axis > span:first-child { display: none; }
  .values-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .steps--path li::after { display: none; }
  .pole { flex-direction: column; gap: 12px; }
}

/* Barre d'action mobile */
.mobile-bar { display: none; }
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .band { padding-block: 48px; }
  .hero .wrap { padding-block: 40px; }
  .header-actions { display: none; }
  .brand img { width: 64px; height: 64px; }
  .topline__hide { display: none; }
  .nav { gap: 0 20px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--white); border-top: 1px solid var(--line); padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
}

/* Photos */
.media-img { display: block; width: 100%; height: auto; border-radius: 16px; object-fit: cover; }
.hero__media .media-img { aspect-ratio: 4 / 3; box-shadow: 0 18px 40px rgba(23, 44, 81, 0.14); }
.chip__photo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.portrait-round { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; flex: none; border: 6px solid var(--white); box-shadow: 0 10px 28px rgba(23, 44, 81, 0.14); }
.visit__photo { margin: 0; position: relative; border-radius: 0 16px 16px 0; overflow: hidden; min-height: 340px; background: var(--gray); }
.visit__photo img { display: block; width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.visit__photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255, 255, 255, 0.94); color: var(--ink); padding: 10px 14px; border-radius: 10px; font-size: 14px; line-height: 1.4; }
.visit__photo figcaption a { font-weight: 600; }
.visit__photo--contact { border-radius: 16px; aspect-ratio: 4 / 3; min-height: 0; }
.intro-media { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.intro-media__img { aspect-ratio: 4 / 3; max-height: 360px; object-position: center 60%; }
@media (max-width: 900px) {
  .visit__photo { border-radius: 0 0 16px 16px; min-height: 260px; }
  .intro-media { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) { .portrait-round { width: 140px; height: 140px; } }

/* Carte Google Maps (chargée au clic) */
.gmap { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--teal-tint); border: 1px solid var(--line); }
.gmap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gmap__consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; background: repeating-linear-gradient(45deg, var(--teal-tint) 0 14px, #dcecec 14px 28px); }
.gmap__consent p { background: var(--white); padding: 12px 16px; border-radius: 10px; margin: 0; max-width: 34ch; }
.gmap__consent a { font-weight: 600; font-size: 15px; }

/* Animation d'ouverture (accueil). Sans animation, tout reste visible. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes cm-fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes cm-logo-in { 0% { opacity: 0; transform: scale(.6) rotate(-12deg); } 70% { opacity: 1; transform: scale(1.04) rotate(0); } 100% { opacity: 1; transform: scale(1); } }
  @keyframes cm-ring-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
  @keyframes cm-chip-in { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }
  @keyframes cm-pulse { 0% { box-shadow: 0 0 0 0 rgba(14, 110, 115, .35), 0 18px 40px rgba(23, 44, 81, .16); } 100% { box-shadow: 0 0 0 28px rgba(14, 110, 115, 0), 0 18px 40px rgba(23, 44, 81, .16); } }
  .hero-x__text > * { animation: cm-fade-up .7s cubic-bezier(.2, .7, .2, 1) backwards; }
  .hero-x__text > :nth-child(1) { animation-delay: .05s; }
  .hero-x__text > :nth-child(2) { animation-delay: .15s; }
  .hero-x__text > :nth-child(3) { animation-delay: .3s; }
  .hero-x__text > :nth-child(4) { animation-delay: .45s; }
  .orbit__ring { animation: cm-ring-in .9s ease-out backwards; }
  .orbit__ring--2 { animation-delay: .1s; }
  .orbit__ring--1 { animation-delay: .35s; }
  .orbit__logo { animation: cm-logo-in .9s cubic-bezier(.2, .7, .2, 1) .2s backwards, cm-pulse 1.4s ease-out 1.1s 1; }
  .orbit .chip { animation: cm-chip-in .5s cubic-bezier(.2, .7, .2, 1) backwards; }
  .orbit .chip--a { animation-delay: .9s; }
  .orbit .chip--b { animation-delay: 1.05s; }
  .orbit .chip--c { animation-delay: 1.2s; }
  .orbit .chip--d { animation-delay: 1.35s; }
}

/* Avatars à initiales (en attendant les photos des médecins) */
.avatar { display: flex; align-items: center; justify-content: center; background: var(--teal-tint); color: var(--teal); font-weight: 700; border-radius: var(--radius); }
.avatar--card { aspect-ratio: 16 / 9; font-size: 56px; letter-spacing: .02em; }
.avatar--profile { aspect-ratio: 1; font-size: 96px; letter-spacing: .02em; }

/* Photo temporaire de cabinet (en attendant les photos des médecins) */
.avatar-photo { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); background: var(--teal-tint); }
.avatar-photo.avatar--card { aspect-ratio: 16 / 9; }
.avatar-photo.avatar--profile { aspect-ratio: 1; }
