/* Les Bulles · cabinet dentaire · Grenoble. Concept KOSMO Studio, version 2.
   Propriétés logiques partout : le site se retourne en arabe, de droite à gauche. */

@view-transition { navigation: auto; }

:root {
  --blanc: #FFFFFF;
  --gris: #F2F1EE;
  --gris-2: #E7E5E0;
  --trait: #D9D6CF;
  --texte-2: #45474D;
  --texte-3: #66686E;
  --noir: #111214;
  --orange: #FF5B1F;
  --orange-txt: #C23C0A;
  --orange-pale: #FFE3D7;
  --bleu: #1F4FD8;
  --vert: #11773A;
  --vert-pale: #DCF1E3;
  --ciel-haut: #74A6DE;
  --ciel-bas: #FFE1BE;
  --hero-texte: #111214;
  --hero-texte-2: #3C3E44;
  --f: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-titre: "Familjen Grotesk", "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;
  --marge: clamp(1.25rem, 4.2vw, 4rem);
  --gout: clamp(1rem, 2vw, 2rem);
  --e: cubic-bezier(.22, 1, .36, 1);
  --e2: cubic-bezier(.65, 0, .35, 1);
  --vt-x: 64px;
  --vt-y: 96px;
}
html[lang="ar"] { --f: "Readex Pro", system-ui, sans-serif; --f-titre: "Readex Pro", system-ui, sans-serif; }
html.taille-2 { font-size: 112.5%; }
html.taille-3 { font-size: 125%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--blanc); color: var(--noir); font-family: var(--f); font-size: 1.125rem; line-height: 1.6; font-kerning: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, dl, dd, ol, ul, figure, address, fieldset, legend { margin: 0; }
fieldset { border: 0; padding: 0; min-inline-size: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }
ol, ul { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: var(--noir); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.evitement { position: absolute; inset-inline-start: 1rem; top: -5rem; z-index: 100; padding: .8rem 1.1rem; border-radius: .75rem; background: var(--noir); color: #fff; font-weight: 700; text-decoration: none; }
.evitement:focus { top: 1rem; }
.cadre { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--marge); }
[dir="rtl"] .fleche, [dir="rtl"] .ic-sens { transform: scaleX(-1); }

/* ---------- Transitions de navigation : une bulle s'ouvre ---------- */
@keyframes vt-ouvre { from { clip-path: circle(0 at var(--vt-x) var(--vt-y)); } to { clip-path: circle(160vmax at var(--vt-x) var(--vt-y)); } }
@keyframes vt-recule { to { transform: scale(.97); opacity: .6; } }
::view-transition-old(root) { animation: vt-recule .7s var(--e2) both; }
::view-transition-new(root) { animation: vt-ouvre .75s var(--e2) both; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ---------- Boutons et liens ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem; padding: 0 1.35rem; border-radius: 999px; border: 2px solid var(--noir); background: transparent; color: var(--noir); font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--e); }
.bouton:hover { background: var(--noir); color: #fff; }
.bouton:active { transform: scale(.98); }
.bouton.orange { background: var(--orange); border-color: var(--orange); color: var(--noir); }
.bouton.orange:hover { background: var(--noir); border-color: var(--noir); color: #fff; }
.bouton.grand { min-height: 3.75rem; padding: 0 1.75rem; font-size: 1.125rem; }
.bouton.clair { border-color: currentColor; }
.bouton .ic { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.lien { color: var(--bleu); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; }
.lien:hover { text-decoration-color: var(--orange); }
.lien-btn { background: none; border: 0; padding: .3rem 0; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; }
.tel { white-space: nowrap; direction: ltr; unicode-bidi: isolate; }

/* ---------- Barre d'accessibilité et langues ---------- */
.a11y { position: relative; z-index: 70; background: var(--noir); color: #fff; font-size: .9375rem; }
.a11y-in { display: flex; align-items: center; gap: .9rem; min-height: 2.875rem; }
.a11y-urgence { display: flex; align-items: center; gap: .55rem; margin-inline-end: auto; white-space: nowrap; }
.a11y-urgence a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 1px; }
.pastille-urgence { width: .55rem; height: .55rem; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 .25rem rgba(255, 91, 31, .28); }
.a11y-reglages { display: flex; align-items: center; gap: .4rem; }
.a11y-titre { color: rgba(255, 255, 255, .62); margin-inline-end: .45rem; white-space: nowrap; }
.reglage, .a11y-ouvrir, .langue-btn { display: inline-flex; align-items: center; gap: .5rem; height: 2.125rem; padding: 0 .85rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .26); background: transparent; color: #fff; font-size: .875rem; font-weight: 700; white-space: nowrap; transition: background-color .25s, border-color .25s, color .25s; }
.reglage:hover, .a11y-ouvrir:hover, .langue-btn:hover { border-color: #fff; }
.reglage[aria-pressed="true"], .reglage.actif { background: var(--orange); border-color: var(--orange); color: var(--noir); }
.reglage-ic { display: inline-flex; align-items: baseline; font-family: var(--f-titre); font-weight: 700; font-size: .78rem; line-height: 1; }
.reglage-ic span { font-size: 1.06rem; }
.contraste-ic { width: .95rem; height: .95rem; border-radius: 50%; border: 1.5px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.facile-ic { display: inline-grid; gap: 2.5px; width: .95rem; }
.facile-ic i { display: block; height: 2px; border-radius: 2px; background: currentColor; }
.facile-ic i:nth-child(2) { width: 72%; }
.facile-ic i:nth-child(3) { width: 48%; }
.niveau { display: inline-flex; gap: 3px; margin-inline-start: .1rem; }
.niveau i { width: .4rem; height: .4rem; border-radius: 50%; border: 1.5px solid currentColor; }
.niveau i.on { background: currentColor; }
.a11y-ouvrir { display: none; }
.a11y-ouvrir svg, .langue-btn svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.a11y-ouvrir svg circle.p { fill: currentColor; stroke: none; }
.a11y.signal { animation: signal 1.2s var(--e) 2; }
@keyframes signal { 50% { background: #2a2c31; } }
.langue { position: relative; }
.langue-code { display: none; }
.langue-menu { position: absolute; inset-inline-end: 0; top: calc(100% + .5rem); z-index: 80; min-width: 12rem; padding: .4rem; border-radius: 1rem; background: var(--blanc); color: var(--noir); box-shadow: 0 24px 60px -24px rgba(17, 18, 20, .45), 0 0 0 1px var(--trait); }
.langue-menu[hidden] { display: none; }
.langue-menu button { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 2.75rem; padding: 0 .9rem; border: 0; border-radius: .7rem; background: transparent; font-weight: 700; font-size: 1rem; text-align: start; }
.langue-menu button:hover { background: var(--gris); }
.langue-menu button[aria-current="true"] { background: var(--noir); color: #fff; }
.langue-menu button small { font-weight: 400; font-size: .8125rem; opacity: .7; }
.langue-menu button[lang="ar"] { font-family: "Readex Pro", system-ui, sans-serif; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 60; background: var(--blanc); border-bottom: 1px solid transparent; transition: border-color .3s; view-transition-name: entete; }
::view-transition-group(entete) { animation-duration: .01s; }
.entete.replie { border-bottom-color: var(--trait); }
.entete-in { position: relative; display: flex; align-items: center; gap: 2rem; min-height: 4.75rem; }
.logo { display: inline-flex; align-items: center; gap: .7rem; margin-inline-end: auto; text-decoration: none; }
.logo-bulle { width: 2.7rem; height: 2.7rem; overflow: visible; flex: none; }
.logo-cable, .logo-tige { fill: none; stroke: var(--noir); stroke-width: 1.7; stroke-linecap: round; }
.logo-sphere { fill: var(--orange); }
.logo-hublot { fill: var(--blanc); }
.logo-mots { display: grid; line-height: 1; }
.logo-nom { font-family: "Familjen Grotesk", system-ui, sans-serif; font-weight: 700; font-size: 1.55rem; letter-spacing: -.04em; }
.logo-sous { margin-top: .32rem; font-size: .78rem; color: var(--texte-3); letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a { position: relative; padding: .45rem 0; font-weight: 700; font-size: 1rem; text-decoration: none; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--e); }
[dir="rtl"] .nav a::after { transform-origin: right; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav-rdv { display: none; }
.menu-btn { display: none; align-items: center; gap: .6rem; height: 2.75rem; padding-inline: 1rem .4rem; border-radius: 999px; border: 2px solid var(--noir); background: var(--blanc); font-weight: 700; }
.menu-btn-ic { position: relative; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--noir); }
.menu-btn-ic i { position: absolute; left: .55rem; right: .55rem; height: 2px; background: #fff; top: .78rem; transition: transform .3s var(--e); }
.menu-btn-ic i + i { top: 1.08rem; }
.menu-btn[aria-expanded="true"] .menu-btn-ic i { top: .93rem; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-ic i + i { transform: rotate(-45deg); }

/* ---------- Statut et texte géant ---------- */
.statut { display: inline-flex; align-items: center; gap: .6rem; padding-block: .5rem; padding-inline: .8rem 1rem; border-radius: 999px; background: var(--vert-pale); color: var(--vert); font-weight: 700; font-size: 1rem; line-height: 1.2; }
.statut.ferme { background: var(--gris); color: var(--texte-2); }
.statut-pastille { flex: none; width: .66rem; height: .66rem; border-radius: 50%; background: currentColor; animation: pouls 2.4s infinite; }
.statut.ferme .statut-pastille { animation: none; background: var(--texte-3); }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 rgba(17, 119, 58, .45); } 70% { box-shadow: 0 0 0 .6rem rgba(17, 119, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(17, 119, 58, 0); } }
.geant { display: grid; font-family: var(--f-titre); font-weight: 600; font-size: clamp(3.4rem, min(8.4vw, 13vh), 8.75rem); line-height: .9; letter-spacing: -.058em; }
html[lang="ar"] .geant { letter-spacing: 0; line-height: 1.12; font-weight: 600; font-size: clamp(2.9rem, min(6.9vw, 11vh), 7.25rem); }
.geant-ligne { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.geant-mot { display: inline-block; }
.geant-mot.long { font-size: .6em; letter-spacing: -.04em; padding-top: .16em; }
.orange-txt { color: var(--orange); }

/* ---------- Le récit : la carte qui accompagne jusqu'à la porte ---------- */
.recit { position: relative; height: 540vh; }
html.capture-page .recit { height: auto; }
.recit-collant { position: sticky; top: 4.75rem; height: calc(100svh - 4.75rem); overflow: hidden; background: linear-gradient(var(--ciel-haut), var(--ciel-bas)); }
.recit-scene { position: absolute; inset: 0; }
.recit-scene svg { width: 100%; height: 100%; }
.recit-voile { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--voile) 0%, var(--voile) 30%, transparent 62%); transition: opacity .6s; }
[dir="rtl"] .recit-voile { background: linear-gradient(-90deg, var(--voile) 0%, var(--voile) 30%, transparent 62%); }
.recit-intro { position: absolute; inset-inline-start: var(--marge); top: clamp(1.75rem, 6vh, 3.75rem); width: min(44rem, 46vw); color: var(--hero-texte); z-index: 2; transition: opacity .5s, transform .6s var(--e); }
.recit-intro h1 { margin-top: clamp(1.25rem, 3vh, 2rem); font-family: var(--f-titre); font-weight: 600; font-size: clamp(1.5rem, 2.1vw, 2.125rem); line-height: 1.12; letter-spacing: -.025em; max-width: 22ch; }
html[lang="ar"] .recit-intro h1 { letter-spacing: 0; line-height: 1.4; }
.recit-intro .chapeau { margin-top: .9rem; font-size: 1.1875rem; line-height: 1.55; color: var(--hero-texte-2); max-width: 40ch; }
.recit-intro .geant { margin-top: clamp(1rem, 2.4vh, 1.5rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.recit-intro .bouton.clair { color: var(--hero-texte); }
.recit-intro .bouton.clair:hover { background: var(--hero-texte); color: var(--blanc); border-color: var(--hero-texte); }
.heure-note { display: flex; align-items: center; gap: .55rem; margin-top: 1.4rem; font-size: .9375rem; color: var(--hero-texte-2); }
.heure-note::before { content: ""; flex: none; width: .9rem; height: .9rem; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFF6D8, #FFB347 60%, #E07B2E); box-shadow: 0 0 .7rem rgba(255, 179, 71, .7); }
.nuit .heure-note::before { background: radial-gradient(circle at 60% 40%, transparent 42%, #F4EBD0 44%); box-shadow: none; }
.defiler { display: flex; align-items: center; gap: .7rem; margin-top: clamp(1.25rem, 4.5vh, 2.75rem); font-size: .9375rem; font-weight: 700; color: var(--hero-texte); }
.defiler i { position: relative; width: 1.5rem; height: 2.25rem; border-radius: 1rem; border: 2px solid currentColor; }
.defiler i::after { content: ""; position: absolute; inset-inline-start: 50%; top: .4rem; width: .3rem; height: .5rem; margin-inline-start: -.15rem; border-radius: 1rem; background: currentColor; animation: roule 1.8s var(--e) infinite; }
@keyframes roule { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(.7rem); opacity: 0; } 100% { opacity: 0; } }
.recit-etapes { position: absolute; inset-inline-start: var(--marge); bottom: clamp(1.25rem, 5vh, 3rem); width: min(27rem, 36vw); z-index: 3; }
.etape-carte { position: absolute; inset-inline-start: 0; bottom: 0; width: 100%; padding: 1.4rem 1.5rem 1.3rem; border-radius: 1.4rem; background: var(--blanc); color: var(--noir); box-shadow: 0 30px 70px -36px rgba(17, 18, 20, .55); opacity: 0; transform: translateY(1.25rem); pointer-events: none; transition: opacity .45s, transform .6s var(--e); }
.etape-carte.active { opacity: 1; transform: none; pointer-events: auto; }
.etape-num { display: flex; align-items: center; gap: .6rem; font-size: .875rem; font-weight: 700; color: var(--texte-3); }
.etape-num i { width: .7rem; height: .7rem; border-radius: 50%; background: var(--orange); }
.etape-carte h2 { margin-top: .55rem; font-family: var(--f-titre); font-weight: 600; font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.1; letter-spacing: -.025em; }
html[lang="ar"] .etape-carte h2 { letter-spacing: 0; line-height: 1.35; }
.etape-carte p { margin-top: .55rem; color: var(--texte-2); line-height: 1.5; }
.etape-carte .lien { display: inline-block; margin-top: .8rem; }
.recit-nav { position: absolute; inset-inline-end: var(--marge); bottom: clamp(1.25rem, 5vh, 3rem); z-index: 3; display: flex; align-items: center; gap: .6rem; padding: .4rem; border-radius: 999px; background: var(--blanc); box-shadow: 0 20px 50px -28px rgba(17, 18, 20, .55); }
.recit-nav button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0; background: var(--gris); }
.recit-nav button:hover { background: var(--noir); color: #fff; }
.recit-nav button svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.recit-points { display: flex; gap: .4rem; padding-inline: .3rem; }
.recit-points i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--trait); transition: background-color .3s, transform .3s; }
.recit-points i.on { background: var(--orange); transform: scale(1.3); }
.recit-compteur { min-width: 3.4rem; text-align: center; font-weight: 700; font-size: .875rem; }
.recit.etapes-actives .recit-intro { opacity: 0; transform: translateY(-1.5rem); pointer-events: none; }
.recit.etapes-actives .defiler { opacity: 0; }
.recit:not(.etapes-actives) .recit-etapes, .recit:not(.etapes-actives) .recit-nav { opacity: 0; pointer-events: none; }
.recit-etapes, .recit-nav { transition: opacity .5s; }
.recit.etapes-actives .recit-voile { opacity: .35; }

/* Tooltips des repères */
.info-repere { position: absolute; z-index: 5; width: min(19rem, 80vw); padding: 1rem 1.1rem; border-radius: 1.1rem; background: var(--noir); color: #fff; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .6); transform: translate(-50%, calc(-100% - 1.6rem)); pointer-events: auto; }
.info-repere[hidden] { display: none; }
.info-repere h3 { font-family: var(--f-titre); font-weight: 600; font-size: 1.1875rem; letter-spacing: -.015em; line-height: 1.2; padding-inline-end: 1.8rem; }
.info-repere p { margin-top: .35rem; font-size: .9375rem; line-height: 1.5; color: rgba(255, 255, 255, .84); }
.info-repere button { position: absolute; inset-inline-end: .5rem; top: .5rem; width: 2rem; height: 2rem; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.1rem; line-height: 1; }
.info-repere::after { content: ""; position: absolute; left: 50%; bottom: -.45rem; width: .9rem; height: .9rem; margin-left: -.45rem; background: var(--noir); transform: rotate(45deg); border-radius: 0 0 .2rem 0; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 11vh, 8.5rem); }
.surtitre { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; font-weight: 700; font-size: .9375rem; color: var(--texte-2); }
.surtitre::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--orange); }
.titre-section { font-family: var(--f-titre); font-weight: 600; font-size: clamp(2.125rem, 4.5vw, 4.25rem); line-height: 1.02; letter-spacing: -.042em; max-width: 17ch; }
html[lang="ar"] .titre-section { letter-spacing: 0; line-height: 1.3; }
.corps { margin-top: 1.25rem; font-size: 1.1875rem; color: var(--texte-2); max-width: 52ch; }
.petit { font-size: .9375rem; color: var(--texte-3); }
.tete-section { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); align-items: end; margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.tete-section .surtitre { grid-column: 1 / -1; justify-self: start; }
.tete-section .titre-section { grid-column: 1 / 8; }
.tete-section .corps { grid-column: 8 / 13; margin-top: 0; }
.fond-gris { background: var(--gris); }

/* En-tête des pages intérieures */
.tete-page { padding-block: clamp(2.5rem, 7vh, 5rem) clamp(2.5rem, 6vh, 4.5rem); }
.ariane { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; font-size: .9375rem; color: var(--texte-3); }
.ariane a { color: var(--texte-2); }
.tete-page h1 { margin-top: 1.3rem; font-family: var(--f-titre); font-weight: 600; font-size: clamp(2.75rem, 6.6vw, 6.25rem); line-height: .96; letter-spacing: -.052em; max-width: 14ch; }
html[lang="ar"] .tete-page h1 { letter-spacing: 0; line-height: 1.2; }
.tete-page .corps { font-size: 1.25rem; }

/* Notice : page en français seulement */
.notice-langue { display: none; margin-top: 1.25rem; padding: .9rem 1.1rem; border-radius: .9rem; background: var(--orange-pale); color: var(--noir); font-weight: 700; max-width: 52ch; }
html.autre-langue .notice-langue { display: block; }

/* ---------- Tableau du jour ---------- */
.tableau { background: var(--noir); color: #fff; border-radius: 1.5rem; padding: 1.5rem 1.6rem 1.35rem; box-shadow: 0 34px 70px -38px rgba(17, 18, 20, .55); }
.tableau-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.tableau-tete h2, .tableau-tete h3 { font-family: var(--f-titre); font-weight: 600; font-size: 1.5rem; letter-spacing: -.025em; }
.tableau-date { display: flex; align-items: baseline; gap: .8rem; color: rgba(255, 255, 255, .68); font-size: .9375rem; }
.tableau-heure { font-family: "Familjen Grotesk", system-ui, sans-serif; font-weight: 600; color: #fff; font-size: 1.0625rem; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.tableau-lignes { margin-top: .2rem; }
.ligne { position: relative; display: grid; grid-template-columns: 5.6rem minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding-block: .78rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ligne:last-child { border-bottom: 0; }
.l-heure { font-family: "Familjen Grotesk", system-ui, sans-serif; font-weight: 600; font-size: 1.375rem; letter-spacing: -.015em; font-variant-numeric: tabular-nums; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
.ligne.urgence .l-heure { color: var(--orange); }
.l-quoi { color: rgba(255, 255, 255, .86); font-size: 1rem; line-height: 1.3; }
.l-etat { font-size: .8125rem; font-weight: 700; padding: .28rem .65rem; border-radius: 999px; white-space: nowrap; }
.ligne.passe { opacity: .38; }
.ligne.prochain .l-etat { background: var(--orange); color: var(--noir); }
.ligne.maintenant { grid-template-columns: 5.6rem minmax(0, 1fr); padding-block: .25rem; border-bottom: 0; }
.ligne.maintenant .l-heure { font-size: .9375rem; color: var(--orange); }
.ligne.maintenant .l-quoi { display: flex; align-items: center; gap: .6rem; color: var(--orange); font-size: .875rem; font-weight: 700; }
.ligne.maintenant .l-quoi::before { content: ""; flex: none; width: .6rem; height: .6rem; border-radius: 50%; background: var(--orange); }
.ligne.maintenant .l-quoi::after { content: ""; flex: 1; height: 2px; background: var(--orange); border-radius: 2px; }
.tableau-pied { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .72); font-size: .9375rem; line-height: 1.5; }

/* Aujourd'hui au cabinet */
.jour-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); align-items: center; }
.jour-texte { grid-column: 1 / 6; }
.jour-in .tableau { grid-column: 7 / 13; }
.jour-texte .bouton { margin-top: 1.75rem; }

/* Par où commencer */
.chemins { border-top: 2px solid var(--noir); }
.chemin { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 3rem; align-items: center; gap: var(--gout); padding-block: clamp(1.4rem, 3vh, 2.1rem); border-bottom: 1px solid var(--trait); text-decoration: none; transition: padding .45s var(--e), background-color .3s; }
.chemin:hover { padding-inline: 1.25rem; background: var(--gris); }
.chemin b { font-family: var(--f-titre); font-weight: 600; font-size: clamp(1.75rem, 3.4vw, 3rem); letter-spacing: -.035em; line-height: 1.05; }
html[lang="ar"] .chemin b { letter-spacing: 0; line-height: 1.35; }
.chemin span { color: var(--texte-2); }
.chemin svg { justify-self: end; width: 2.6rem; height: 2.6rem; padding: .55rem; border-radius: 50%; background: var(--noir); color: #fff; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: background-color .3s, transform .45s var(--e); }
.chemin:hover svg { background: var(--orange); color: var(--noir); transform: translateX(.3rem); }
[dir="rtl"] .chemin:hover svg { transform: scaleX(-1) translateX(.3rem); }

/* Ce site s'adapte */
.adapte { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); row-gap: 1.5rem; align-items: center; padding: clamp(1.75rem, 4vw, 3.5rem); border-radius: 2rem; background: var(--noir); color: #fff; }
.adapte-titre { grid-column: 1 / 6; font-family: var(--f-titre); font-weight: 600; font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.02; letter-spacing: -.04em; }
html[lang="ar"] .adapte-titre { letter-spacing: 0; line-height: 1.3; }
.adapte-texte { grid-column: 6 / 10; color: rgba(255, 255, 255, .8); }
.adapte-actions { grid-column: 10 / 13; display: grid; gap: .6rem; justify-items: stretch; }
.adapte .bouton { border-color: #fff; color: #fff; }
.adapte .bouton:hover { background: #fff; color: var(--noir); }
.adapte .bouton.orange { border-color: var(--orange); color: var(--noir); }
.langues-liste { display: flex; flex-wrap: wrap; gap: .4rem; grid-column: 1 / -1; }
.langues-liste button { min-height: 2.6rem; padding: 0 1rem; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; font-weight: 700; }
.langues-liste button[aria-current="true"] { background: #fff; color: var(--noir); border-color: #fff; }
.langues-liste button[lang="ar"] { font-family: "Readex Pro", system-ui, sans-serif; }

/* Équipe */
.equipe-rang { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gout); border-top: 2px solid var(--noir); padding-top: 1.75rem; }
.membre { display: grid; gap: .8rem; align-content: start; }
.mono { display: grid; place-items: center; width: 5rem; height: 5rem; border-radius: 50%; background: var(--gris); font-family: "Familjen Grotesk", system-ui, sans-serif; font-weight: 600; font-size: 1.6rem; letter-spacing: -.03em; transition: background-color .35s, transform .5s var(--e); }
.membre:hover .mono { background: var(--orange); transform: translateY(-.25rem); }
.membre h3 { font-family: var(--f-titre); font-weight: 600; font-size: 1.3125rem; letter-spacing: -.02em; line-height: 1.2; }
.membre p { color: var(--texte-2); font-size: .9375rem; line-height: 1.45; }
.membre .langues { color: var(--noir); font-weight: 700; }
.membre .rpps { color: var(--texte-3); font-size: .8125rem; }

/* ---------- Urgences ---------- */
.urg-tete { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); align-items: end; }
.urg-tete-texte { grid-column: 1 / 7; }
.urg-tete .tableau { grid-column: 8 / 13; }
.urg-tete .actions { margin-top: 1.75rem; }
.orientation-zone { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); align-items: start; }
.orientation-intro { grid-column: 1 / 5; }
.orientation { grid-column: 6 / 13; background: var(--blanc); border-radius: 1.75rem; padding: clamp(1.5rem, 3vw, 2.75rem); box-shadow: 0 1px 0 var(--trait), 0 44px 80px -52px rgba(17, 18, 20, .38); }
.orientation-tete { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--trait); }
.orientation-titre { font-family: var(--f-titre); font-weight: 600; font-size: clamp(2rem, 3.3vw, 3rem); letter-spacing: -.04em; line-height: 1; }
html[lang="ar"] .orientation-titre { letter-spacing: 0; line-height: 1.3; }
.orientation-titre:focus, .q-texte:focus, .r-titre:focus { outline: none; }
.orientation-sous { color: var(--texte-2); }
.orientation-points { grid-column: 2; grid-row: 1 / 3; align-self: center; display: flex; gap: .45rem; }
.orientation-points li { width: 1.05rem; height: 1.05rem; border-radius: 50%; border: 2px solid var(--noir); transition: background-color .35s, border-color .35s; }
.orientation-points li.fait { background: var(--noir); }
.orientation-points li.actuel { background: var(--orange); border-color: var(--orange); }
.question, .resultat { padding-top: 1.75rem; }
.question.entre, .resultat.entre { animation: entre .5s var(--e); }
@keyframes entre { from { opacity: 0; transform: translateX(1.25rem); } }
[dir="rtl"] .question.entre, [dir="rtl"] .resultat.entre { animation-name: entre-rtl; }
@keyframes entre-rtl { from { opacity: 0; transform: translateX(-1.25rem); } }
.q-num { font-size: .9375rem; font-weight: 700; color: var(--texte-3); }
.q-texte { margin-top: .6rem; max-width: 26ch; font-family: var(--f-titre); font-weight: 500; font-size: clamp(1.5rem, 2.25vw, 2.125rem); line-height: 1.18; letter-spacing: -.022em; }
html[lang="ar"] .q-texte { letter-spacing: 0; line-height: 1.45; max-width: 30ch; }
.q-choix { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.75rem; }
.choix-btn { min-height: 4.25rem; border-radius: 1.1rem; border: 2px solid var(--noir); background: var(--blanc); font-family: var(--f-titre); font-weight: 600; font-size: 1.375rem; transition: background-color .2s, color .2s, transform .25s var(--e); }
.choix-btn:hover { background: var(--noir); color: #fff; }
.r-etiquette { display: inline-flex; align-items: center; gap: .5rem; padding: .38rem .85rem; border-radius: 999px; background: var(--gris); font-weight: 700; font-size: .9375rem; }
.r-etiquette::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; }
.r-etiquette.urgent { background: var(--orange); color: var(--noir); }
.r-etiquette.calme { background: var(--vert-pale); color: var(--vert); }
.r-titre { margin-top: 1rem; font-family: var(--f-titre); font-weight: 600; font-size: clamp(1.75rem, 2.6vw, 2.375rem); line-height: 1.08; letter-spacing: -.032em; }
html[lang="ar"] .r-titre { letter-spacing: 0; line-height: 1.35; }
.r-texte { margin-top: .85rem; max-width: 46ch; color: var(--texte-2); }
.r-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.orientation-bas { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--trait); }
.orientation-note { max-width: 44ch; font-size: .875rem; color: var(--texte-3); line-height: 1.5; }
.gestes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gout); border-top: 2px solid var(--noir); }
.geste { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1.25rem; padding-block: 1.7rem; border-bottom: 1px solid var(--trait); }
.geste svg { width: 3.75rem; height: 3.75rem; padding: .65rem; border-radius: 50%; background: var(--gris); fill: none; stroke: var(--noir); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: background-color .3s; }
.geste svg .plein { fill: var(--noir); stroke: none; }
.geste:hover svg { background: var(--orange); }
.geste h3 { font-family: var(--f-titre); font-weight: 600; font-size: 1.375rem; letter-spacing: -.018em; line-height: 1.2; }
html[lang="ar"] .geste h3 { letter-spacing: 0; line-height: 1.4; }
.geste p { margin-top: .35rem; color: var(--texte-2); }
.garde { margin-top: 1.75rem; padding-block: 1.1rem; padding-inline: 1.25rem; max-width: 46ch; border-inline-start: 4px solid var(--orange); border-radius: .9rem; background: var(--blanc); font-weight: 700; line-height: 1.5; }
.deroule { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gout); counter-reset: d; }
.deroule li { position: relative; padding-top: 1.6rem; border-top: 2px solid var(--noir); }
.deroule li::before { content: ""; position: absolute; inset-inline-start: 0; top: -.55rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--orange); }
.deroule h3 { font-family: var(--f-titre); font-weight: 600; font-size: 1.375rem; letter-spacing: -.02em; line-height: 1.2; }
html[lang="ar"] .deroule h3 { letter-spacing: 0; line-height: 1.4; }
.deroule p { margin-top: .4rem; color: var(--texte-2); }

/* ---------- FAQ ---------- */
.faq-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); align-items: start; }
.faq-in .tete-section { grid-column: 1 / 5; display: block; margin-bottom: 0; }
.faq-liste { grid-column: 6 / 13; border-top: 2px solid var(--noir); }
details { border-bottom: 1px solid var(--trait); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 1.35rem; cursor: pointer; list-style: none; font-family: var(--f-titre); font-weight: 600; font-size: clamp(1.1875rem, 1.6vw, 1.4375rem); line-height: 1.25; letter-spacing: -.016em; }
html[lang="ar"] summary { letter-spacing: 0; line-height: 1.45; }
summary::-webkit-details-marker { display: none; }
summary i { position: relative; flex: none; width: 2.3rem; height: 2.3rem; border-radius: 50%; border: 1.5px solid var(--noir); transition: background-color .25s, border-color .25s; }
summary i::before, summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: .85rem; height: 2px; margin: -1px 0 0 -.425rem; background: currentColor; }
summary i::after { transform: rotate(90deg); transition: transform .3s var(--e); }
summary:hover i { background: var(--gris); }
details[open] summary i { background: var(--orange); border-color: var(--orange); }
details[open] summary i::after { transform: rotate(0); }
details > div { padding-bottom: 1.5rem; max-width: 60ch; color: var(--texte-2); }

/* ---------- Soins et 100 % Santé ---------- */
.soins-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gout); border-top: 2px solid var(--noir); }
.soin { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem; padding-block: 1.45rem; border-bottom: 1px solid var(--trait); }
.soin dt { font-family: var(--f-titre); font-weight: 600; font-size: 1.375rem; line-height: 1.2; letter-spacing: -.018em; }
.soin dd { color: var(--texte-2); }
.qui-paie { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); row-gap: 2rem; }
.qui-paie-intro { grid-column: 1 / 5; }
.qui-paie-outil { grid-column: 6 / 13; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 1.75rem; background: var(--blanc); box-shadow: 0 1px 0 var(--trait), 0 40px 80px -52px rgba(17, 18, 20, .35); }
.segments { display: flex; flex-wrap: wrap; gap: .4rem; padding: .35rem; border-radius: 999px; background: var(--gris); width: fit-content; }
.segments button { min-height: 2.6rem; padding: 0 1.05rem; border-radius: 999px; border: 0; background: transparent; font-weight: 700; font-size: .9375rem; transition: background-color .25s, color .25s; }
.segments button[aria-pressed="true"] { background: var(--noir); color: #fff; }
.qp-ligne { margin-top: 1.25rem; }
.qp-barre { display: flex; height: 4.25rem; margin-top: 1.75rem; border-radius: 1rem; overflow: hidden; background: var(--gris); }
.qp-barre span { display: flex; align-items: flex-end; padding: .6rem .7rem; min-width: 0; font-size: .8125rem; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; transition: flex-basis .8s var(--e2); }
.qp-am { background: #1F4FD8; color: #fff; }
.qp-comp { background: #7FA2F0; color: var(--noir); }
.qp-vous { background: var(--orange); color: var(--noir); }
.qp-barre span.etroit { color: transparent; }
.qp-legende { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1rem; font-size: .9375rem; }
.qp-legende li { display: inline-flex; align-items: center; gap: .5rem; }
.qp-legende i { width: .85rem; height: .85rem; border-radius: .25rem; }
.qp-texte { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--trait); }
.qp-texte b { font-family: var(--f-titre); font-weight: 600; font-size: 1.375rem; letter-spacing: -.018em; display: block; }
.qp-texte p { margin-top: .4rem; color: var(--texte-2); }
.qp-note { margin-top: 1rem; font-size: .875rem; color: var(--texte-3); }
.honoraires-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); align-items: start; }
.honoraires-intro { grid-column: 1 / 5; position: sticky; top: 7rem; }
.paiements { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1.75rem 1.25rem; }
.paiements li { padding: .5rem .95rem; border-radius: 999px; border: 1.5px solid var(--noir); font-weight: 700; font-size: .9375rem; }
.tarifs-cadre { grid-column: 6 / 13; }
.tarifs th, .tarifs td { padding-block: 1.1rem; padding-inline: 0 .9rem; border-bottom: 1px solid var(--trait); text-align: start; vertical-align: baseline; }
.tarifs thead th { padding-bottom: .8rem; border-bottom: 2px solid var(--noir); font-size: .875rem; color: var(--texte-3); }
.tarifs tbody th { font-weight: 700; font-size: 1.125rem; }
.tarifs .num { font-family: var(--f-titre); font-weight: 600; font-size: 1.375rem; letter-spacing: -.015em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tarifs .num.mot { font-family: var(--f); font-weight: 700; font-size: 1rem; letter-spacing: 0; }
.tarifs thead .num { font-family: var(--f); font-weight: 700; font-size: .875rem; letter-spacing: 0; }
.tarifs .gratuit { color: var(--vert); }
.tarifs td:last-child { color: var(--texte-2); font-size: 1rem; }
.tarifs tbody tr:hover { background: var(--gris); }

/* ---------- Accès ---------- */
.carte-zone { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); row-gap: 1.5rem; align-items: start; }
.carte-cadre { grid-column: 1 / 9; position: relative; height: clamp(26rem, 70vh, 44rem); border-radius: 1.75rem; overflow: hidden; background: linear-gradient(var(--ciel-haut), var(--ciel-bas)); box-shadow: 0 0 0 1px var(--trait); }
.carte-cadre svg { width: 100%; height: 100%; }
.calques { position: absolute; inset-inline-start: 1rem; top: 1rem; z-index: 3; display: flex; flex-wrap: wrap; gap: .4rem; max-width: calc(100% - 2rem); }
.calques button { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.6rem; padding: 0 .95rem; border-radius: 999px; border: 0; background: var(--blanc); font-weight: 700; font-size: .9375rem; box-shadow: 0 10px 30px -18px rgba(17, 18, 20, .6); }
.calques button i { width: .75rem; height: .75rem; border-radius: 50%; border: 2px solid currentColor; }
.calques button[aria-pressed="true"] i { background: currentColor; }
.calques .c-tram { color: #1F4FD8; } .calques .c-voiture { color: #1F4FD8; } .calques .c-velo { color: var(--vert); } .calques .c-accessible { color: var(--vert); }
.calques button.trajet { background: var(--noir); color: #fff; }
.calques button.trajet[aria-pressed="true"] { background: var(--orange); color: var(--noir); }
.carte-infos { grid-column: 9 / 13; }
.adresse { font-style: normal; font-family: var(--f-titre); font-weight: 600; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.25; letter-spacing: -.018em; }
html[lang="ar"] .adresse { letter-spacing: 0; }
.moyens { margin-top: 1.75rem; border-top: 2px solid var(--noir); }
.moyens div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--trait); }
.moyens dt { font-weight: 700; }
.moyens dd { color: var(--texte-2); }
.access-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gout); border-top: 2px solid var(--noir); }
.access-liste li { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); gap: 1.25rem; align-items: start; padding-block: 1.6rem; border-bottom: 1px solid var(--trait); }
.access-ic { width: 3.6rem; height: 3.6rem; padding: .6rem; border-radius: 50%; background: var(--blanc); fill: none; stroke: var(--noir); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: background-color .3s; }
.access-ic .plein { fill: var(--noir); stroke: none; }
.access-liste li:hover .access-ic { background: var(--orange); }
.access-liste h3 { font-family: var(--f-titre); font-weight: 600; font-size: 1.375rem; letter-spacing: -.018em; line-height: 1.2; }
html[lang="ar"] .access-liste h3 { letter-spacing: 0; line-height: 1.4; }
.access-liste p { margin-top: .3rem; color: var(--texte-2); }
.preparer { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); align-items: start; }
.preparer-intro { grid-column: 1 / 5; }
.cases { grid-column: 6 / 13; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.cases label { display: flex; align-items: center; gap: .85rem; min-height: 3.75rem; padding: .7rem 1rem; border-radius: 1rem; background: var(--blanc); box-shadow: 0 0 0 1px var(--trait); font-weight: 700; cursor: pointer; transition: box-shadow .25s; }
.cases input { width: 1.4rem; height: 1.4rem; accent-color: var(--orange); flex: none; }
.cases label:has(input:checked) { box-shadow: 0 0 0 2px var(--noir); }
.horaires { margin-top: 2rem; border-top: 2px solid var(--noir); }
.horaires div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .9rem; border-bottom: 1px solid var(--trait); }
.horaires dt { font-weight: 700; }
.horaires dd { font-family: var(--f-titre); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Rendez-vous en plusieurs étapes ---------- */
.rdv-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); align-items: start; }
.rdv-cote { grid-column: 1 / 5; position: sticky; top: 7rem; }
.reservation { grid-column: 5 / 13; padding: clamp(1.5rem, 3vw, 2.75rem); border-radius: 1.75rem; background: var(--gris); }
.progression { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem; margin-bottom: 2rem; }
.progression li { display: grid; gap: .45rem; font-size: .8125rem; font-weight: 700; color: var(--texte-3); }
.progression li::before { content: ""; height: .35rem; border-radius: 1rem; background: var(--trait); transition: background-color .4s; }
.progression li.fait::before { background: var(--noir); }
.progression li.actuel { color: var(--noir); }
.progression li.actuel::before { background: var(--orange); }
.pas { display: none; }
.pas.actif { display: block; animation: entre .45s var(--e); }
.pas-titre { font-family: var(--f-titre); font-weight: 600; font-size: clamp(1.75rem, 2.6vw, 2.375rem); line-height: 1.08; letter-spacing: -.03em; outline: none; }
.pas-sous { margin-top: .5rem; color: var(--texte-2); }
.choix-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-top: 1.5rem; }
.choix-grille label { position: relative; display: grid; gap: .25rem; min-height: 5.5rem; padding: 1rem 1.05rem; border-radius: 1.1rem; background: var(--blanc); box-shadow: 0 0 0 1.5px var(--trait); cursor: pointer; transition: box-shadow .2s, transform .3s var(--e); }
.choix-grille label:hover { box-shadow: 0 0 0 1.5px var(--noir); }
.choix-grille input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choix-grille b { font-family: var(--f-titre); font-weight: 600; font-size: 1.25rem; letter-spacing: -.015em; }
.choix-grille small { font-size: .875rem; color: var(--texte-2); line-height: 1.4; }
.choix-grille label:has(input:checked) { box-shadow: 0 0 0 2.5px var(--noir); background: var(--blanc); }
.choix-grille label:has(input:checked)::after { content: ""; position: absolute; inset-inline-end: .9rem; top: .9rem; width: .85rem; height: .85rem; border-radius: 50%; background: var(--orange); }
.choix-grille label:has(input:focus-visible) { outline: 3px solid var(--bleu); outline-offset: 3px; }
.puces-choix { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.puces-choix label { position: relative; }
.puces-choix input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.puces-choix span { display: inline-flex; align-items: center; min-height: 2.85rem; padding: 0 1.05rem; border-radius: 999px; border: 1.5px solid var(--noir); background: var(--blanc); font-weight: 700; font-size: 1rem; transition: background-color .2s, color .2s; }
.puces-choix input:checked + span { background: var(--noir); color: #fff; }
.puces-choix input:focus-visible + span { outline: 3px solid var(--bleu); outline-offset: 3px; }
.jours span { flex-direction: column; align-items: flex-start; justify-content: center; min-height: 3.6rem; padding: .45rem 1rem; border-radius: 1rem; line-height: 1.15; }
.jours small { font-weight: 400; font-size: .8125rem; }
.creneaux-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.4rem, 1fr)); gap: .5rem; margin-top: 1rem; }
.creneaux-grille label { position: relative; }
.creneaux-grille input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.creneaux-grille span { display: grid; place-items: center; min-height: 2.85rem; border-radius: .8rem; border: 1.5px solid var(--noir); background: var(--blanc); font-family: "Familjen Grotesk", system-ui, sans-serif; font-weight: 600; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.creneaux-grille input:checked + span { background: var(--orange); border-color: var(--orange); }
.creneaux-grille input:focus-visible + span { outline: 3px solid var(--bleu); outline-offset: 3px; }
.creneaux-grille input:disabled + span { opacity: .34; border-style: dashed; text-decoration: line-through; cursor: not-allowed; }
.sous-titre { margin-top: 1.75rem; font-weight: 700; }
.besoins { display: grid; gap: .6rem; margin-top: 1.25rem; }
.besoins label { display: flex; align-items: center; gap: .9rem; min-height: 3.5rem; padding: .7rem 1rem; border-radius: 1rem; background: var(--blanc); box-shadow: 0 0 0 1.5px var(--trait); font-weight: 700; cursor: pointer; }
.besoins input { width: 1.4rem; height: 1.4rem; accent-color: var(--orange); flex: none; }
.besoins label:has(input:checked) { box-shadow: 0 0 0 2.5px var(--noir); }
.champ { display: grid; gap: .4rem; font-size: .9375rem; font-weight: 700; margin-top: 1rem; }
.champ input, .champ select { height: 3.25rem; padding: 0 1rem; border-radius: .9rem; border: 1.5px solid var(--noir); background: var(--blanc); font: inherit; font-size: 1.0625rem; font-weight: 400; color: var(--noir); }
.champ input:focus, .champ select:focus { outline: 3px solid var(--bleu); outline-offset: 2px; }
.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.pas-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--trait); }
.pas-nav .vide { visibility: hidden; }
.message-pas { margin-top: 1rem; font-weight: 700; color: var(--orange-txt); }
.message-pas:empty { display: none; }
.note-motif { margin-top: 1rem; padding: .9rem 1.05rem; border-radius: .9rem; background: var(--blanc); font-size: .9375rem; line-height: 1.5; }
.note-motif a { font-weight: 700; color: var(--bleu); }
.recap-liste { margin-top: 1.5rem; border-top: 2px solid var(--noir); }
.recap-liste div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding-block: .85rem; border-bottom: 1px solid var(--trait); }
.recap-liste dt { font-weight: 700; color: var(--texte-2); }
.rdv-ok { margin-top: 1.5rem; padding: 1.4rem 1.5rem; border-radius: 1.1rem; background: var(--vert-pale); color: var(--vert); }
.rdv-ok:focus { outline: 3px solid var(--bleu); outline-offset: 3px; }
.rdv-ok-titre { font-family: var(--f-titre); font-weight: 600; font-size: 1.625rem; letter-spacing: -.02em; }
.autres-voies { margin-top: 2rem; border-top: 2px solid var(--noir); }
.autres-voies div { padding-block: 1rem; border-bottom: 1px solid var(--trait); }
.autres-voies b { display: block; font-family: var(--f-titre); font-weight: 600; font-size: 1.25rem; }
.autres-voies p { color: var(--texte-2); margin-top: .2rem; }

/* ---------- Mentions ---------- */
.mentions { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); }
.mentions-liste { grid-column: 1 / 9; border-top: 2px solid var(--noir); }
.mentions-liste section { padding-block: 1.75rem; border-bottom: 1px solid var(--trait); }
.mentions-liste h2 { font-family: var(--f-titre); font-weight: 600; font-size: 1.625rem; letter-spacing: -.02em; }
.mentions-liste p { margin-top: .5rem; color: var(--texte-2); max-width: 64ch; }

/* ---------- Pied de page ---------- */
.pied { overflow: hidden; padding-top: clamp(4rem, 9vh, 6.5rem); background: var(--noir); color: #fff; }
.pied-haut { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); row-gap: 2.5rem; }
.pied-col { grid-column: span 3; }
.pied-nom { font-family: "Familjen Grotesk", system-ui, sans-serif; font-weight: 700; font-size: 2rem; letter-spacing: -.045em; line-height: 1; }
.pied-col p, .pied-col address { margin-top: .6rem; font-style: normal; color: rgba(255, 255, 255, .76); }
.pied-titre { margin-bottom: .6rem; font-size: .875rem; font-weight: 700; color: rgba(255, 255, 255, .56); }
.pied a { color: #fff; }
.pied-bas { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .9375rem; color: rgba(255, 255, 255, .68); }
.pied-liens { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.pied-kosmo { margin-inline-start: auto; }
.pied-geant { display: flex; align-items: center; gap: .1em; margin-top: clamp(2.5rem, 6vh, 4rem); padding-inline: var(--marge); padding-bottom: .05em; white-space: nowrap; font-family: "Familjen Grotesk", system-ui, sans-serif; font-weight: 700; font-size: clamp(4rem, 14.4vw, 14.5rem); line-height: .82; letter-spacing: -.065em; color: #fff; direction: ltr; }
.pied-geant svg { flex: none; width: .78em; height: .78em; overflow: visible; }
.pied-geant .logo-cable, .pied-geant .logo-tige { stroke: #fff; stroke-width: 1.2; }
.pied-geant .logo-hublot { fill: var(--noir); }

/* ---------- Bandeau KOSMO ---------- */
.kosmo-concept { position: fixed; left: 16px; bottom: 16px; z-index: 9999; font: 500 12.5px/1 system-ui, sans-serif; letter-spacing: .01em; color: #ECEEED; background: #0E1216; padding: 9px 14px; border-radius: 999px; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); text-decoration: none; direction: ltr; }
.kosmo-concept b { font-weight: 700; letter-spacing: .04em; }
html.capture .kosmo-concept { display: none; }

/* ---------- Ouverture orchestrée (première visite) ---------- */
html.premiere:not(.pret) .recit-intro .statut, html.premiere:not(.pret) .recit-intro h1, html.premiere:not(.pret) .recit-intro .chapeau, html.premiere:not(.pret) .recit-intro .actions, html.premiere:not(.pret) .heure-note { opacity: 0; transform: translateY(.7rem); }
html.premiere:not(.pret) .geant-mot { transform: translateY(105%); }
html.premiere.pret .geant-mot { transition: transform .9s var(--e) .3s; }
html.premiere.pret .geant-ligne + .geant-ligne .geant-mot { transition-delay: .4s; }
html.premiere.pret .recit-intro .statut, html.premiere.pret .recit-intro h1, html.premiere.pret .recit-intro .chapeau, html.premiere.pret .recit-intro .actions, html.premiere.pret .heure-note { transition: opacity .6s var(--e), transform .6s var(--e); }
html.premiere.pret .recit-intro .statut { transition-delay: .15s; }
html.premiere.pret .recit-intro h1 { transition-delay: .6s; }
html.premiere.pret .recit-intro .chapeau { transition-delay: .7s; }
html.premiere.pret .recit-intro .actions { transition-delay: .8s; }
html.premiere.pret .heure-note { transition-delay: .9s; }

/* ---------- Réglages : contraste, espacement, lecture facile ---------- */
html.contraste { --texte-2: #111214; --texte-3: #26282C; --trait: #111214; --gris: #FFFFFF; --gris-2: #EDEDED; --orange-pale: #FFFFFF; --vert: #0A5C2B; --vert-pale: #FFFFFF; --hero-texte-2: #111214; }
html.contraste .geant .orange-txt { color: #B83709; }
html.contraste.nuit .geant .orange-txt { color: #FF8A5C; }
html.contraste .statut, html.contraste .r-etiquette.calme, html.contraste .rdv-ok, html.contraste .notice-langue { box-shadow: inset 0 0 0 2px currentColor; }
html.contraste .section { border-top: 2px solid var(--noir); }
html.contraste .orientation, html.contraste .reservation, html.contraste .qui-paie-outil, html.contraste .etape-carte { box-shadow: 0 0 0 2px var(--noir); }
html.contraste .recit-voile { --voile: rgba(255, 255, 255, .94) !important; }
html.contraste.nuit .recit-voile { --voile: rgba(6, 10, 24, .94) !important; }
html.contraste .bouton, html.contraste .puces-choix span, html.contraste .creneaux-grille span, html.contraste .champ input { border-width: 2.5px; }
html.espacement body { letter-spacing: .035em; word-spacing: .16em; }
html.espacement p, html.espacement li, html.espacement dd, html.espacement td { line-height: 1.95; }
html:not(.facile) .facile { display: none; }
html.facile .std { display: none; }
html.facile .corps, html.facile .chapeau { color: var(--noir); font-size: 1.3125rem; line-height: 1.7; }
html.autre-langue .facile { display: none; }
html.autre-langue .std { display: block; }

/* ---------- Écrans moyens ---------- */
@media (max-width: 1240px) {
  .a11y-titre { display: none; }
  .nav { gap: 1.2rem; }
}
@media (max-width: 1160px) {
  .nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--marge) 1.25rem; background: var(--blanc); border-bottom: 1px solid var(--trait); box-shadow: 0 30px 40px -30px rgba(17, 18, 20, .25); }
  .nav.ouvert { display: flex; }
  .nav a { padding-block: .95rem; font-size: 1.25rem; border-bottom: 1px solid var(--trait); }
  .nav a::after { display: none; }
  .nav .nav-rdv { display: block; color: var(--orange-txt); }
  .menu-btn { display: inline-flex; }
  .entete-in { gap: .75rem; }
}

/* ---------- Réglages repliés sous un bouton quand la barre manque de place ---------- */
@media (max-width: 1380px) { .a11y-titre { display: none; } }
@media (max-width: 1180px) {
  .a11y-ouvrir { display: inline-flex; }
  .a11y-reglages { display: none; position: absolute; inset-inline: 0; top: 100%; flex-wrap: wrap; gap: .5rem; padding: 1rem var(--marge) 1.25rem; background: var(--noir); box-shadow: 0 30px 40px -30px rgba(0, 0, 0, .5); }
  .a11y.ouvert .a11y-reglages { display: flex; }
}
@media (max-height: 800px) and (min-width: 901px) { .defiler { display: none; } }

/* ---------- Tablettes et téléphones ---------- */
@media (max-width: 900px) {
  .tete-section .titre-section, .tete-section .corps, .jour-texte, .jour-in .tableau, .adapte-titre, .adapte-texte, .adapte-actions,
  .urg-tete-texte, .urg-tete .tableau, .orientation-intro, .orientation, .qui-paie-intro, .qui-paie-outil, .honoraires-intro, .tarifs-cadre,
  .carte-cadre, .carte-infos, .preparer-intro, .cases, .rdv-cote, .reservation, .mentions-liste, .faq-in .tete-section, .faq-liste { grid-column: 1 / -1; }
  .tete-section .corps { margin-top: 1.25rem; }
  .jour-in .tableau, .urg-tete .tableau, .orientation, .qui-paie-outil, .reservation, .cases, .faq-liste { margin-top: 2rem; }
  .honoraires-intro, .rdv-cote { position: static; margin-bottom: 2rem; }
  .rdv-cote { order: 2; margin: 2.5rem 0 0; }
  .soins-liste, .access-liste, .gestes { grid-template-columns: 1fr; }
  .deroule { grid-template-columns: 1fr; row-gap: 2rem; }
  .equipe-rang { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .pied-col { grid-column: span 6; }
  .pied-kosmo { margin-inline-start: 0; }

  .recit { height: auto; }
  .recit-collant { position: relative; top: 0; height: auto; overflow: visible; background: none; display: flex; flex-direction: column; }
  .recit-intro { position: relative; inset: auto; width: auto; padding: 1.5rem var(--marge) 1.75rem; color: var(--noir); order: -1; }
  .recit-voile, .defiler { display: none; }
  .recit-scene { position: relative; height: 26rem; margin-inline: var(--marge); border-radius: 1.5rem; overflow: hidden; background: linear-gradient(var(--ciel-haut), var(--ciel-bas)); }
  .recit-etapes { position: relative; inset: auto; width: auto; margin: 1rem var(--marge) 0; min-height: 13.5rem; }
  .recit-nav { position: relative; inset: auto; margin: .9rem var(--marge) 0; width: fit-content; }
  .recit.etapes-actives .recit-intro { opacity: 1; transform: none; pointer-events: auto; }
  .recit:not(.etapes-actives) .recit-etapes, .recit:not(.etapes-actives) .recit-nav { opacity: 1; pointer-events: auto; }
  .recit-intro .chapeau, .heure-note { color: var(--texte-2); }
  .recit-intro .bouton.clair { color: var(--noir); }
  html.nuit .recit-intro { color: var(--noir); }
  .carte-cadre { height: 28rem; }
}

@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .a11y-urgence-txt, .pastille-urgence, [data-langue-actuelle] { display: none; }
  .a11y-in { gap: .4rem; }
  .reglage, .a11y-ouvrir, .langue-btn { padding: 0 .65rem; gap: .4rem; }
  .langue-code { display: inline; }
  .calques { flex-wrap: nowrap; overflow-x: auto; inset-inline: 0; top: .85rem; max-width: none; padding: 0 1rem .5rem; scrollbar-width: none; }
  .calques::-webkit-scrollbar { display: none; }
  .calques button { flex: none; }
  .segments { width: 100%; border-radius: 1.4rem; }
  .segments button { flex: 1 1 auto; }
  .logo-sous { display: none; }
  .logo-nom { font-size: 1.4rem; }
  .entete-in { min-height: 4.25rem; }
  .entete-rdv { display: none; }
  .geant-mot.long { font-size: .66em; }
  .actions .bouton { width: 100%; }
  .ligne { grid-template-columns: 4.6rem minmax(0, 1fr); row-gap: .3rem; }
  .ligne .l-etat { grid-column: 2; justify-self: start; }
  .ligne.maintenant { grid-template-columns: 4.6rem minmax(0, 1fr); }
  .tableau { padding: 1.25rem 1.2rem 1.1rem; border-radius: 1.25rem; }
  .tableau-tete { flex-direction: column; gap: .2rem; }
  .chemin { grid-template-columns: minmax(0, 1fr) 2.6rem; }
  .chemin span { grid-column: 1; grid-row: 2; }
  .chemin svg { grid-row: 1 / 3; grid-column: 2; }
  .soin { grid-template-columns: 1fr; gap: .35rem; }
  .tarifs thead { display: none; }
  .tarifs tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--trait); }
  .tarifs th, .tarifs td { padding: 0; border: 0; }
  .tarifs td:last-child { grid-column: 1 / -1; margin-top: .25rem; }
  .tarifs .num { text-align: end; }
  .tarifs .num.mot { max-width: 10rem; white-space: normal; }
  .moyens div, .recap-liste div { grid-template-columns: 1fr; gap: .2rem; }
  .cases { grid-template-columns: 1fr; }
  .choix-grille { grid-template-columns: 1fr 1fr; }
  .champs-2 { grid-template-columns: 1fr; }
  .progression span { display: none; }
  .equipe-rang { grid-template-columns: 1fr 1fr; }
  .pied-col { grid-column: 1 / -1; }
  .pied-geant { font-size: 20.5vw; }
  .orientation-bas { flex-direction: column; align-items: flex-start; }
  .recit-scene { height: 22rem; }
  .kosmo-concept { left: 10px; bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .recit { height: auto; }
  .statut-pastille { animation: none !important; }
}
