/* Cabinet d'ophtalmologie de la Dr Jamila El Boudrari — feuille de style
   Palette tirée de l'enseigne du cabinet : bleu nuit, bleu iris, lueur cyan, menthe claire. */

@font-face { font-family: 'Newsreader'; font-style: normal; font-display: swap; font-weight: 200 800; src: url('../fonts/newsreader-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-display: swap; font-weight: 200 800; src: url('../fonts/newsreader-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Public Sans'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('../fonts/public-sans-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Public Sans'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('../fonts/public-sans-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-display: swap; font-weight: 400; src: url('../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-display: swap; font-weight: 500; src: url('../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-display: swap; font-weight: 600; src: url('../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Noto Naskh Arabic'; font-style: normal; font-display: swap; font-weight: 400 700; src: url('../fonts/noto-naskh-arabic-arabic-wght-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  --night: #0a1626;
  --ink: #0e1d30;
  --ink-2: #4a5a6e;
  --iris: #1d4c8a;
  --iris-deep: #143866;
  --iris-soft: #edf2f8;
  --glow: #8fd8f2;
  --cyan: #2a8fc4;
  --mint: #e3f4f1;
  --mint-line: #c4e2dc;
  --mint-ink: #1f6f68;
  --porcelain: #f4f6f8;
  --line: #dde3ea;
  --line-dark: rgb(255 255 255 / 0.16);
  --signal: #ad431e;
  --signal-soft: #fbf1ec;
  --white: #fff;

  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Public Sans', 'Segoe UI', system-ui, sans-serif;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.25rem + 0.9vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.45rem + 1.7vw, 2.75rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.2vw, 4rem);
  --step-hero: clamp(3.1rem, 1.6rem + 5.4vw, 6.6rem);
  --gap: clamp(1.25rem, 4.5vw, 3rem);
  --section: clamp(3rem, 2rem + 4vw, 6rem);
  --radius: 4px;
  --logo-iris: var(--cyan);
}
:lang(ar) {
  --serif: 'Noto Naskh Arabic', 'Amiri', serif;
  --sans: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; font-size: var(--fs, 100%); }
body { margin: 0; font-family: var(--sans); font-size: var(--step-0); line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body:lang(ar) { line-height: 1.9; font-size: 1.1rem; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--iris); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { color: var(--iris-deep); }
h1, h2, h3 { margin: 0; color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 340; letter-spacing: -0.018em; line-height: 1.08; }
:lang(ar) h1, :lang(ar) h2 { font-weight: 500; letter-spacing: 0; line-height: 1.45; }
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.35; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: 77.5rem; margin-inline: auto; padding-inline: var(--gap); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; unicode-bidi: isolate; }
.muted { color: var(--ink-2); }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--white); padding: 0.75rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-lg { width: 2.25rem; height: 2.25rem; color: var(--iris); }
[dir='rtl'] .icon-chevron { transform: scaleX(-1); }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3.25rem; padding: 0.75rem 1.6rem; border-radius: var(--radius); border: 1px solid transparent; font-weight: 500; font-size: 0.98rem; letter-spacing: 0.01em; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.btn .icon { width: 1.1rem; height: 1.1rem; }
.btn-small { min-height: 2.6rem; padding: 0.5rem 1.15rem; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--iris); color: var(--white); }
.btn-primary:hover { background: var(--iris-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #b8c3cf; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--iris-soft); color: var(--ink); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgb(255 255 255 / 0.45); }
.btn-outline-light:hover { border-color: var(--white); color: var(--white); }
.text-link { font-weight: 500; color: var(--iris); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); }
.text-link:hover { text-decoration-color: currentColor; }
.text-button { display: inline-flex; align-items: center; gap: 0.5rem; background: none; border: 0; padding: 0.5rem 0; color: var(--iris); font-weight: 500; cursor: pointer; }

/* ---------- en-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0.96); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); transition: background-color 0.35s, border-color 0.35s; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 0.85rem; color: var(--iris); text-decoration: none; }
.brand:hover { color: var(--iris); }
.logo-mark { flex: none; width: 50px; max-width: none; height: auto; }
.brand-text { display: grid; line-height: 1.2; }
.brand-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 450; color: var(--ink); white-space: nowrap; letter-spacing: -0.005em; }
.brand-sub { font-size: 0.8rem; color: var(--ink-2); letter-spacing: 0.01em; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 1.15rem; list-style: none; }
.main-nav a { color: var(--ink); text-decoration: none; font-size: 0.93rem; white-space: nowrap; padding-block: 0.4rem; border-bottom: 1px solid transparent; }
.main-nav a:hover { color: var(--iris); }
.main-nav a[aria-current] { border-bottom-color: currentColor; }
.header-tools { display: flex; align-items: center; gap: 0.75rem; }
.lang-switch { display: flex; gap: 0.15rem; }
.lang-switch a { min-width: 2rem; padding: 0.15rem 0.45rem; text-align: center; font-size: 0.85rem; font-weight: 500; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid transparent; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current] { color: var(--ink); border-bottom-color: currentColor; }
.lang-switch a:lang(ar) { font-family: 'IBM Plex Sans Arabic', sans-serif; }
.menu-toggle { display: none; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: inherit; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded='true'] .icon-open { display: none; }
.menu-toggle[aria-expanded='true'] .icon-close { display: block; }

/* en-tête transparent au-dessus de la vidéo d'accueil */
.page-home .site-header { position: fixed; inset-inline: 0; background: transparent; backdrop-filter: none; border-bottom-color: transparent; }
.page-home .site-header:not(.is-solid) .brand { color: var(--white); --logo-iris: var(--glow); }
.page-home .site-header:not(.is-solid) .brand-name, .page-home .site-header:not(.is-solid) .main-nav a { color: var(--white); }
.page-home .site-header:not(.is-solid) .brand-sub, .page-home .site-header:not(.is-solid) .lang-switch a { color: rgb(255 255 255 / 0.72); }
.page-home .site-header:not(.is-solid) .lang-switch a[aria-current] { color: var(--white); }
.page-home .site-header:not(.is-solid) .header-cta { background: var(--white); color: var(--ink); }
.page-home .site-header:not(.is-solid) .menu-toggle { color: var(--white); border-color: rgb(255 255 255 / 0.4); }
.page-home .site-header.is-solid { background: rgb(255 255 255 / 0.96); backdrop-filter: saturate(1.4) blur(12px); border-bottom-color: var(--line); }

@media (max-width: 1279px) {
  .main-nav { position: absolute; inset-inline: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); display: none; margin: 0; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 0.5rem var(--gap) 1.5rem; }
  .main-nav a, .page-home .site-header:not(.is-solid) .main-nav a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; color: var(--ink); font-family: var(--serif); }
  .menu-toggle { display: inline-flex; }
  .header-tools { margin-inline-start: auto; }
}
@media (max-width: 640px) {
  .header-cta, .brand-sub { display: none; }
  .logo-mark { width: 42px; }
  .brand-name { font-size: 1.02rem; }
  .header-inner { gap: 0.6rem; min-height: 68px; }
  .header-tools { gap: 0.4rem; }
  .lang-switch a { min-width: 1.7rem; padding-inline: 0.3rem; font-size: 0.82rem; }
  .cv-toggle, .menu-toggle { width: 2.35rem; height: 2.35rem; }
}
@media (max-width: 430px) {
  .logo-mark { width: 36px; }
  .brand { gap: 0.55rem; }
  .brand-name { font-size: 0.95rem; line-height: 1.15; max-width: 8.6rem; white-space: normal; }
  .header-inner { gap: 0.4rem; }
  .header-tools { gap: 0.25rem; }
  .lang-switch { gap: 0; }
  .lang-switch a { min-width: 1.55rem; padding-inline: 0.2rem; }
}

/* ---------- accueil : héros cinéma ---------- */
.hero { position: relative; isolation: isolate; min-height: min(100svh, 940px); display: grid; grid-template-rows: 1fr auto; background: var(--night); color: var(--white); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 22 38 / 0.94) 0%, rgb(10 22 38 / 0.78) 34%, rgb(10 22 38 / 0.25) 70%, rgb(10 22 38 / 0.1) 100%), linear-gradient(0deg, rgb(10 22 38 / 0.85) 0%, rgb(10 22 38 / 0) 38%), linear-gradient(180deg, rgb(10 22 38 / 0.55) 0%, rgb(10 22 38 / 0) 22%); }
[dir='rtl'] .hero-media::after { background: linear-gradient(270deg, rgb(10 22 38 / 0.94) 0%, rgb(10 22 38 / 0.78) 34%, rgb(10 22 38 / 0.25) 70%, rgb(10 22 38 / 0.1) 100%), linear-gradient(0deg, rgb(10 22 38 / 0.85) 0%, rgb(10 22 38 / 0) 38%), linear-gradient(180deg, rgb(10 22 38 / 0.55) 0%, rgb(10 22 38 / 0) 22%); }
.hero-media .video-toggle { top: 7rem; bottom: auto; }
.hero-inner { display: flex; align-items: flex-end; padding-top: 9rem; padding-bottom: 3.5rem; }
.hero-copy { max-width: 40rem; }
.hero-place { color: var(--glow); font-size: 0.95rem; letter-spacing: 0.02em; margin-bottom: 1.5rem; }
.hero-title { color: var(--white); font-size: var(--step-hero); font-weight: 300; line-height: 0.98; letter-spacing: -0.03em; }
:lang(ar) .hero-title { font-weight: 500; line-height: 1.3; letter-spacing: 0; }
.hero-lede { margin-top: 1.75rem; font-family: var(--serif); font-size: var(--step-2); font-weight: 340; line-height: 1.35; color: rgb(255 255 255 / 0.9); max-width: 28ch; }
:lang(ar) .hero-lede { font-weight: 400; line-height: 1.7; }
.hero-note { margin-top: 0.9rem; color: rgb(255 255 255 / 0.62); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding-block: 1.6rem 2.2rem; border-top: 1px solid var(--line-dark); gap: 1.5rem; }
.hero-facts dt { font-size: 0.82rem; letter-spacing: 0.02em; color: var(--glow); margin-bottom: 0.35rem; }
.hero-facts dd { margin: 0; font-size: 0.98rem; color: var(--white); line-height: 1.5; }
.hero-facts .muted { color: rgb(255 255 255 / 0.6); }
.hero-facts a.muted { text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.3); }
.hero-facts .hours-status { color: var(--white); font-size: 0.98rem; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: focus-in 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-facts { animation: focus-in 1.3s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@keyframes focus-in { from { filter: blur(12px); opacity: 0; } to { filter: blur(0); opacity: 1; } }
@media (max-width: 800px) {
  .hero { min-height: 100svh; }
  .hero-video { object-position: 56% 50%; }
  .hero-media::after, [dir='rtl'] .hero-media::after { background: linear-gradient(0deg, rgb(10 22 38 / 0.97) 0%, rgb(10 22 38 / 0.86) 45%, rgb(10 22 38 / 0.35) 75%, rgb(10 22 38 / 0.55) 100%); }
  .hero-inner { padding-top: 12rem; padding-bottom: 2rem; }
  .hero-facts { grid-template-columns: 1fr; gap: 1rem; padding-bottom: 6rem; }
  .hero-media .video-toggle { top: 5.5rem; }
}

.hours-status { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; color: var(--ink-2); min-height: 1.5em; }
.hours-status:empty { display: none; }
.hours-status::before { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #8a97a8; flex: none; }
.hours-status[data-state='open']::before { background: #3cb371; box-shadow: 0 0 0 4px rgb(60 179 113 / 0.18); }

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head h2 { font-size: var(--step-4); }
.section-head p { margin-top: 1.1rem; color: var(--ink-2); font-size: var(--step-1); line-height: 1.55; }
.section-head-row { max-width: none; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }

.needs-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.needs-grid .section-head { position: sticky; top: 120px; margin: 0; }
.needs-list { list-style: none; border-bottom: 1px solid var(--line); }
.needs-list a { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem); font-weight: 350; line-height: 1.3; transition: color 0.2s, padding 0.3s; }
:lang(ar) .needs-list a { font-size: 1.2rem; font-weight: 400; }
.needs-list .icon-chevron { color: var(--iris); flex: none; }
.needs-list a:hover { color: var(--iris); padding-inline-start: 0.6rem; }
@media (max-width: 900px) { .needs-grid { grid-template-columns: 1fr; gap: 1rem; } .needs-grid .section-head { position: static; margin-bottom: 1.5rem; } }

.domains-section { padding-top: 0; }
.domain-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 6vw, 5.5rem); border-bottom: 1px solid var(--line); }
.domain-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: start; padding: 1.75rem 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; height: 100%; }
.domain-icon { width: 1.9rem; height: 1.9rem; color: var(--cyan); margin-top: 0.25rem; }
.domain-text { display: grid; gap: 0.35rem; }
.domain-title { font-family: var(--serif); font-size: var(--step-2); font-weight: 360; line-height: 1.2; }
:lang(ar) .domain-title { font-weight: 500; }
.domain-desc { color: var(--ink-2); font-size: 0.98rem; max-width: 44ch; }
.domain-row .icon-chevron { color: var(--iris); margin-top: 0.45rem; opacity: 0.6; transition: opacity 0.2s, transform 0.3s; }
.domain-row:hover .domain-title { color: var(--iris); }
.domain-row:hover .icon-chevron { opacity: 1; transform: translateX(4px); }
[dir='rtl'] .domain-row:hover .icon-chevron { transform: scaleX(-1) translateX(4px); }
@media (max-width: 860px) { .domain-list { grid-template-columns: 1fr; } }

/* ---------- bloc opératoire ---------- */
.surgery { background: var(--night); color: var(--white); padding-block: var(--section); }
.surgery-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.surgery h2 { color: var(--white); font-size: var(--step-4); }
.surgery p { color: rgb(255 255 255 / 0.78); margin-top: 1.25rem; font-size: var(--step-1); line-height: 1.6; max-width: 40ch; }
.surgery-stills { position: relative; padding-bottom: 14%; }
.still { display: block; }
.still img { width: 100%; object-fit: cover; border-radius: 2px; }
.still-main img { aspect-ratio: 16 / 10; }
.still-side { position: absolute; inset-inline-end: -6%; bottom: 0; width: 46%; }
.still-side img { aspect-ratio: 4 / 3; outline: 10px solid var(--night); }
.surgery-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.surgery-links a { display: inline-block; color: var(--white); border: 1px solid rgb(255 255 255 / 0.3); border-radius: var(--radius); padding: 0.5rem 1.1rem; text-decoration: none; font-size: 0.95rem; }
.surgery-links a:hover { border-color: var(--glow); color: var(--glow); }
.surgery-media { position: relative; margin: 0; border-radius: 2px; overflow: hidden; background: #0b1a2c; aspect-ratio: 16 / 9; }
.surgery-video { width: 100%; height: 100%; object-fit: cover; }
.video-toggle { position: absolute; inset-inline-end: var(--gap); bottom: 1rem; z-index: 2; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.45); background: rgb(10 22 38 / 0.4); color: var(--white); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); }
.surgery-media .video-toggle { inset-inline-end: 1rem; }
.video-toggle .icon { width: 1rem; height: 1rem; }
.video-toggle .icon-pause { display: none; }
.video-toggle[aria-pressed='true'] .icon-pause { display: block; }
.video-toggle[aria-pressed='true'] .icon-play { display: none; }
.surgery-compact { margin-top: var(--section); }
@media (max-width: 900px) { .surgery-grid { grid-template-columns: 1fr; } .still-side { inset-inline-end: 0; } }

/* ---------- examens ---------- */
.exams-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.exams-copy h2 { font-size: var(--step-4); }
.exams-copy > p { margin-top: 1.1rem; color: var(--ink-2); font-size: var(--step-1); max-width: 40ch; }
.exam-rows { list-style: none; margin: 2rem 0; border-bottom: 1px solid var(--line); }
.exam-rows li { display: flex; align-items: center; gap: 1rem; padding: 0.95rem 0; border-top: 1px solid var(--line); font-size: 1.02rem; }
.exam-rows .icon { color: var(--cyan); }
.still-tall img { aspect-ratio: 4 / 5; object-position: 60% 50%; }
@media (max-width: 860px) { .exams-grid { grid-template-columns: 1fr; } .still-tall img { aspect-ratio: 16 / 10; } }

/* ---------- le cabinet : menthe claire, lumineuse ---------- */
.cabinet { background: linear-gradient(180deg, var(--mint) 0%, #eef8f6 100%); color: var(--ink); padding-block: var(--section); border-block: 1px solid var(--mint-line); }
.cabinet-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.cabinet-photos { display: grid; gap: 1rem; }
.cabinet-photo img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: 35% 50%; box-shadow: 0 18px 40px -24px rgb(31 111 104 / 0.45); }
.cabinet h2 { color: var(--ink); font-size: var(--step-4); }
.cabinet-copy > p { color: var(--ink-2); margin-top: 1.1rem; font-size: var(--step-1); max-width: 42ch; }
.cabinet .contact-lines { margin-top: 2rem; }
.cabinet .contact-lines .icon { color: var(--mint-ink); }
.cabinet .contact-lines a { color: var(--ink); }
.cabinet .hours { margin-top: 1.75rem; color: var(--ink); }
.cabinet .hours th, .cabinet .hours td { border-color: var(--mint-line); }
.cabinet-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
@media (max-width: 860px) { .cabinet-grid { grid-template-columns: 1fr; } .cabinet-photo img { aspect-ratio: 4 / 3; } }

.contact-lines { list-style: none; display: grid; gap: 0.9rem; }
.contact-lines li { display: flex; gap: 0.8rem; align-items: flex-start; }
.contact-lines .icon { margin-top: 0.22em; color: var(--iris); }
.contact-lines a { text-decoration: none; font-weight: 500; }
.contact-lines a:hover { text-decoration: underline; }
.urgent-line .icon { color: var(--signal) !important; }

.hours { width: 100%; max-width: 30rem; border-collapse: collapse; font-size: 0.97rem; }
.hours th, .hours td { text-align: start; padding: 0.6rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours th { font-weight: 400; padding-inline-end: 1.5rem; }
.hours td { text-align: end; }

/* ---------- étapes ---------- */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem clamp(2rem, 5vw, 4rem); }
.steps > li { counter-increment: step; position: relative; padding-top: 5rem; border-top: 1px solid var(--line); }
.steps > li::before { content: counter(step); position: absolute; top: 1.1rem; inset-inline-start: 0; font-family: 'Newsreader', var(--serif); font-size: 3rem; line-height: 1; color: var(--iris); font-weight: 250; }
.steps h3 { margin-bottom: 0.5rem; }
.steps p { color: var(--ink-2); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.steps-long { grid-template-columns: 1fr; gap: 0; }
.steps-long > li { border-top: 0; padding: 0 0 2.75rem; padding-inline-start: 4.5rem; border-inline-start: 1px solid var(--line); margin-inline-start: 1.25rem; }
.steps-long > li:last-child { border-color: transparent; }
.steps-long > li::before { top: 0; inset-inline-start: -1.3rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--white); border: 1px solid var(--iris); font-size: 1.35rem; font-weight: 400; display: grid; place-items: center; }
.steps-long h2 { font-size: var(--step-2); margin-bottom: 0.65rem; padding-top: 0.2rem; }
.steps-long ul { list-style: none; display: grid; gap: 0.45rem; }
.steps-long ul li, .prose ul li { position: relative; padding-inline-start: 1.4rem; }
.steps-long ul li::before, .prose ul li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.75em; width: 0.45rem; height: 0.45rem; border-radius: 50%; border: 1px solid var(--iris); }

/* ---------- bandeau d'appel ---------- */
.cta-band { background: var(--porcelain); padding-block: clamp(3.5rem, 6vw, 5.5rem); border-top: 1px solid var(--line); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-size: var(--step-3); }
.cta-band p { color: var(--ink-2); margin-top: 0.6rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-band .btn-light { background: var(--iris); color: var(--white); }
.cta-band .btn-light:hover { background: var(--iris-deep); }
.cta-band .btn-outline-light { color: var(--ink); border-color: #b8c3cf; }
.cta-band .btn-outline-light:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- pages intérieures ---------- */
.page-head { background: var(--night); color: var(--white); padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; font-size: 0.88rem; color: rgb(255 255 255 / 0.6); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.4rem; }
.breadcrumb a { color: rgb(255 255 255 / 0.75); }
.breadcrumb .icon { width: 0.85rem; height: 0.85rem; }
.page-head-row { display: flex; gap: 1.75rem; align-items: flex-start; margin-top: 2.5rem; }
.page-icon { width: 3.25rem; height: 3.25rem; color: var(--glow); flex: none; margin-top: 0.6rem; }
.page-head h1 { color: var(--white); font-size: var(--step-4); font-weight: 300; max-width: 20ch; }
:lang(ar) .page-head h1 { font-weight: 500; }
.lede { margin-top: 1.25rem; font-size: var(--step-1); color: rgb(255 255 255 / 0.78); max-width: 60ch; line-height: 1.6; }
@media (max-width: 600px) { .page-icon { width: 2.4rem; height: 2.4rem; margin-top: 0.35rem; } .page-head-row { gap: 1rem; } }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2.5rem, 7vw, 6rem); padding-block: clamp(3rem, 6vw, 5.5rem); align-items: start; }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; } }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: none; display: grid; gap: 0.55rem; }
.prose-narrow { padding-block: clamp(3rem, 6vw, 5rem); }
.link-list li::before { display: none; }
.link-list li { padding: 0 !important; }

.aside { display: grid; gap: 1.25rem; position: sticky; top: 110px; }
@media (max-width: 960px) { .aside { position: static; } }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: 0.8rem; }
.aside-title { font-weight: 600; display: flex; gap: 0.5rem; align-items: center; }
.aside-urgent { background: var(--signal-soft); border-color: #ecccbc; }
.aside-urgent .aside-title { color: var(--signal); }
.aside-urgent-line { font-size: 0.95rem; }
.aside-urgent a { color: var(--signal); font-weight: 600; }
.aside-related ul { list-style: none; display: grid; margin-top: 0.5rem; }
.aside-related a { display: flex; gap: 0.7rem; align-items: center; padding: 0.7rem 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.aside-related .icon { color: var(--cyan); }
.aside-photo img { aspect-ratio: 4 / 3; border-radius: 2px; object-fit: cover; width: 100%; }

.still-banner img { aspect-ratio: 21 / 8; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.exam-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem clamp(2rem, 6vw, 5.5rem); }
.exam-item { display: flex; gap: 1.4rem; align-items: flex-start; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.exam-item .icon-lg { color: var(--cyan); }
.exam-item h2 { font-size: var(--step-2); margin-bottom: 0.6rem; }
.exam-item p { color: var(--ink-2); max-width: 52ch; }
@media (max-width: 760px) { .exam-list { grid-template-columns: 1fr; } }

.domain-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(2rem, 6vw, 5.5rem); border-bottom: 1px solid var(--line); }
.domain { display: grid; gap: 0.8rem; align-content: start; padding: 2.25rem 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; height: 100%; }
.domain .icon-lg { color: var(--cyan); }
.domain p { color: var(--ink-2); }
.domain-large h2 { font-size: var(--step-3); }
.domain-large p { max-width: 46ch; }
.domain:hover h2 { color: var(--iris); }
@media (max-width: 700px) { .domain-grid { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 7vw, 6rem); padding-block: clamp(3rem, 6vw, 5.5rem); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid h2 { font-size: var(--step-2); margin-bottom: 1.4rem; }
.contact-place h2:not(:first-child) { margin-top: 2.75rem; }
.way-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 520px) { .way-cards { grid-template-columns: 1fr; } }
.way-card { display: grid; gap: 0.4rem; align-content: start; padding: 1.75rem; background: var(--white); text-decoration: none; color: var(--ink); transition: background-color 0.2s; }
.way-card:hover { background: var(--porcelain); color: var(--ink); }
.way-card .icon-lg { margin-bottom: 0.6rem; color: var(--cyan); width: 1.8rem; height: 1.8rem; }
.way-title { font-weight: 600; }
.way-value { font-size: var(--step-2); font-family: 'Newsreader', var(--serif); font-weight: 350; color: var(--ink); }
.way-text { color: var(--ink-2); font-size: 0.95rem; }
.way-num { margin-top: 0.35rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.way-card-wide { grid-column: 1 / -1; }
.urgent-box { display: flex; gap: 0.65rem; align-items: center; margin-top: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--signal-soft); color: var(--ink); }
.urgent-box .icon { color: var(--signal); }
.urgent-box a { color: var(--signal); font-weight: 600; text-decoration: none; }

.callback { margin-top: 3rem; padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--porcelain); border-radius: var(--radius); display: grid; gap: 1.3rem; }
.callback h3 { font-family: var(--serif); font-size: var(--step-2); font-weight: 350; }
:lang(ar) .callback h3 { font-weight: 500; }
.form-help { color: var(--ink-2); font-size: 0.97rem; margin-top: -0.6rem; }
.field { display: grid; gap: 0.4rem; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 500; font-size: 0.95rem; padding: 0; margin-bottom: 0.4rem; }
.field input[type='text'], .field input[type='tel'] { width: 100%; height: 3.2rem; padding: 0 1rem; border: 1px solid #b4c0cd; border-radius: var(--radius); background: var(--white); font: inherit; color: var(--ink); }
[dir='rtl'] .field input[type='tel'] { text-align: right; }
.field input:focus { border-color: var(--iris); outline: 3px solid rgb(42 143 196 / 0.25); outline-offset: 0; }
.field input[aria-invalid='true'] { border-color: var(--signal); }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 0.6rem 1.1rem; border: 1px solid #b4c0cd; border-radius: var(--radius); background: var(--white); font-size: 0.95rem; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.choice input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.92rem; color: var(--ink-2); }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.25rem; accent-color: var(--iris); flex: none; }
.callback .btn { justify-self: start; }
.form-status { font-weight: 500; min-height: 1.4em; }
.form-status[data-state='error'] { color: var(--signal); }
.form-status[data-state='ok'] { color: #22774a; }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

.contact-place address { font-family: var(--serif); font-size: var(--step-2); font-weight: 340; line-height: 1.4; }
:lang(ar) .contact-place address { font-weight: 400; }
.landmark { color: var(--ink-2); margin-block: 0.6rem 1.5rem; }
.contact-place .hours-status { margin-top: 1rem; }
.cover-line { margin-top: 1rem; color: var(--ink-2); }
.map-slot { margin-top: 0.5rem; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--porcelain); border: 1px solid var(--line); display: grid; place-content: center; justify-items: center; gap: 0.75rem; padding: 1.5rem; text-align: center; overflow: hidden; }
.map-slot.is-loaded { padding: 0; display: block; }
.map-slot iframe { width: 100%; height: 100%; border: 0; }
.map-note { font-size: 0.85rem; color: var(--ink-2); max-width: 32ch; }

/* ---------- pied de page ---------- */
.site-footer { background: var(--night); color: rgb(255 255 255 / 0.75); padding-top: clamp(4rem, 7vw, 6rem); font-size: 0.96rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem clamp(2rem, 6vw, 5rem); padding-bottom: 3.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.brand-light { color: var(--white); --logo-iris: var(--glow); }
.brand-light:hover { color: var(--white); }
.brand-light .brand-name { color: var(--white); font-size: 1.5rem; }
.brand-light .brand-sub { color: rgb(255 255 255 / 0.6); }
.footer-note { margin-top: 1.1rem; max-width: 36ch; }
.footer-title { font-family: var(--sans); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em; color: var(--glow); margin-bottom: 1.1rem; }
.site-footer .contact-lines .icon { color: var(--glow); }
.site-footer a { color: var(--white); }
.site-footer .urgent-line .icon { color: #f39a74 !important; }
.site-footer .hours th, .site-footer .hours td { border-color: var(--line-dark); }
.site-footer .hours-status { color: rgb(255 255 255 / 0.75); margin-top: 1rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid var(--line-dark); font-size: 0.88rem; }
.footer-langs { display: flex; gap: 1.25rem; }
.footer-langs a, .footer-bottom > a { color: rgb(255 255 255 / 0.7); }

/* ---------- barre d'action mobile ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(4.4rem + env(safe-area-inset-bottom)); }
  .action-bar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; inset-inline: 0; bottom: 0; z-index: 60; background: rgb(255 255 255 / 0.97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 0.5rem 0.6rem calc(0.5rem + env(safe-area-inset-bottom)); gap: 0.5rem; }
  .action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem; min-height: 3.2rem; border-radius: var(--radius); text-decoration: none; color: var(--ink); font-size: 0.8rem; font-weight: 500; }
  .action-bar .icon { width: 1.25rem; height: 1.25rem; color: var(--iris); }
  .action-bar .action-main { background: var(--iris); color: var(--white); flex-direction: row; gap: 0.5rem; font-size: 0.92rem; }
  .action-bar .action-main .icon { color: var(--white); }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 1rem; color: var(--iris); }
.notfound .logo-mark { width: 90px; }
.notfound h1 { font-size: var(--step-4); }
.notfound p { color: var(--ink-2); }
.notfound-links { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1rem; }

/* ---------- impression ---------- */
@media print {
  .site-header, .site-footer, .action-bar, .cta-band, .breadcrumb, .skip-link, .rdv, .cv { display: none !important; }
  body { padding: 0; }
  .page-head { background: none; color: #000; padding: 0; }
  .page-head h1, .lede { color: #000; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- illustrations médicales ---------- */
.illus { margin: 1.5rem 0 1.75rem; }
.illus img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 2px; background: var(--night); }
.prose .illus { margin-top: 1.25rem; }
.exam-features { list-style: none; display: grid; gap: clamp(3.5rem, 7vw, 6rem); }
.exam-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.exam-feature:nth-child(even) .illus { order: 2; }
.exam-feature .illus { margin: 0; }
.exam-feature-text .icon-lg { color: var(--cyan); margin-bottom: 1rem; width: 2rem; height: 2rem; }
.exam-feature-text h2 { font-size: var(--step-3); margin-bottom: 0.9rem; }
.exam-feature-text p { color: var(--ink-2); font-size: 1.08rem; max-width: 46ch; }
@media (max-width: 860px) { .exam-feature { grid-template-columns: 1fr; } .exam-feature:nth-child(even) .illus { order: 0; } }
.lasers { background: var(--porcelain); padding-block: var(--section); }
.table-scroll { overflow-x: auto; }
[dir='rtl'] .lasers-note { margin-top: 1.5rem; color: var(--ink-2); font-size: 0.95rem; }
.lasers-link { margin-top: 1rem; }

/* ---------- Prendre rendez-vous ---------- */
.rdv { background: var(--porcelain); padding-block: var(--section); }
.rdv-compact { padding-block: clamp(3rem, 6vw, 5rem); }
.rdv-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.rdv-side h2 { font-size: var(--step-4); }
.rdv-intro { margin-top: 1.1rem; color: var(--ink-2); font-size: var(--step-1); max-width: 34ch; }
.rdv-contact { margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); display: grid; gap: 0.6rem; }
.rdv-side-title { font-weight: 600; }
.rdv-phone { display: inline-flex; align-items: center; gap: 0.6rem; font-family: 'Newsreader', var(--serif); font-size: var(--step-3); font-weight: 340; color: var(--ink); text-decoration: none; margin-top: 0.25rem; }
.rdv-phone .icon { width: 1.4rem; height: 1.4rem; color: var(--cyan); }
.rdv-contact .hours { margin-top: 0.5rem; }
.rdv-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: 0 30px 60px -40px rgb(10 22 38 / 0.35); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.25rem; }
.field-full { grid-column: 1 / -1; }
.rdv-form .field input, .rdv-form select, .rdv-form textarea { width: 100%; min-height: 3.2rem; padding: 0.7rem 1rem; border: 1px solid #c3ccd6; border-radius: var(--radius); background: var(--white); font: inherit; color: var(--ink); }
.rdv-form textarea { resize: vertical; min-height: 7rem; line-height: 1.5; }
.rdv-form ::placeholder { color: #8a97a6; }
.rdv-form input:focus, .rdv-form select:focus, .rdv-form textarea:focus { border-color: var(--iris); outline: 3px solid rgb(42 143 196 / 0.22); outline-offset: 0; }
.rdv-form [aria-invalid='true'] { border-color: var(--signal); }
[dir='rtl'] .rdv-form input[type='tel'], [dir='rtl'] .rdv-form input[type='email'], [dir='rtl'] .rdv-form input[type='date'] { text-align: right; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-inline-end: 2.5rem; cursor: pointer; }
.select-wrap::after { content: ''; position: absolute; inset-inline-end: 1rem; top: 50%; width: 0.5rem; height: 0.5rem; border-inline-end: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.form-note { font-size: 0.88rem; color: var(--ink-2); margin-top: -0.4rem; }
.field-hint { font-size: 0.85rem; color: var(--ink-2); margin-top: 0.3rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.btn-large { min-height: 3.5rem; padding-inline: 2rem; font-size: 1.02rem; }
.btn-wa { background: transparent; color: #0b7a3e; border-color: #8fd9ad; }
.btn-wa:hover { background: #effaf3; color: #0e7a3f; border-color: #25d366; }
.rdv-form .form-status { margin-top: 1rem; }
.form-legal { font-size: 0.82rem; color: var(--ink-2); margin-top: 0.75rem; line-height: 1.55; }
@media (max-width: 960px) { .rdv-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-actions .btn { width: 100%; } }
.contact-ways .access-title { margin-top: 2.75rem; }
.contact-ways address { font-family: var(--serif); font-size: var(--step-2); font-weight: 340; line-height: 1.4; }

/* ---------- Suivez-nous ---------- */
.footer-social { padding-bottom: 2.5rem; }
.social-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.social { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; color: #fff !important; transition: transform 0.25s, box-shadow 0.25s; }
.social .icon { width: 1.45rem; height: 1.45rem; }
.social:hover { transform: translateY(-3px); }
.social-instagram { background: radial-gradient(circle at 30% 110%, #fdd65b 0%, #f77737 30%, #e1306c 60%, #833ab4 100%); box-shadow: 0 10px 24px -10px rgb(225 48 108 / 0.7); }
.social-facebook { background: #1877f2; box-shadow: 0 10px 24px -10px rgb(24 119 242 / 0.7); }
.social-whatsapp { background: #25d366; box-shadow: 0 10px 24px -10px rgb(37 211 102 / 0.7); }
.social-phone { background: linear-gradient(135deg, #0e7a6d, #20b39b); box-shadow: 0 10px 24px -10px rgb(32 179 155 / 0.7); }

/* ---------- WhatsApp par sujet ---------- */
.wa-panel { margin-top: 2.25rem; background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.wa-head { display: flex; gap: 0.9rem; align-items: center; padding: 1.1rem 1.25rem; background: linear-gradient(90deg, #eefaf2, #ffffff); border-bottom: 1px solid var(--line); }
.wa-badge { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #25d366; color: #fff; flex: none; box-shadow: 0 8px 18px -8px rgb(37 211 102 / 0.8); }
.wa-badge .icon { width: 1.35rem; height: 1.35rem; }
.wa-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 420; line-height: 1.25; }
:lang(ar) .wa-title { font-weight: 600; }
.wa-subtitle { font-size: 0.88rem; color: var(--ink-2); }
.wa-list { list-style: none; }
.wa-list li + li { border-top: 1px solid var(--line); }
.wa-list a { display: grid; grid-template-columns: auto 1fr auto; gap: 0.9rem; align-items: center; padding: 0.95rem 1.25rem; color: var(--ink); text-decoration: none; transition: background-color 0.2s; }
.wa-list a:hover { background: #f6fbf8; color: var(--ink); }
.wa-ico { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #e7f6ee; color: #128c4a; }
.wa-ico .icon { width: 1.15rem; height: 1.15rem; }
.wa-text { display: grid; gap: 0.1rem; }
.wa-h { font-weight: 500; }
.wa-sub { font-size: 0.86rem; color: var(--ink-2); }
.wa-list .icon-chevron { color: var(--ink-2); width: 1rem; height: 1rem; transition: transform 0.2s; }
.wa-list a:hover .icon-chevron { transform: translateX(3px); }
[dir='rtl'] .wa-list a:hover .icon-chevron { transform: scaleX(-1) translateX(3px); }

/* ---------- carte Google Maps ---------- */
.map-embed { position: relative; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--porcelain); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-open { position: absolute; top: 0.9rem; inset-inline-start: 0.9rem; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.6rem 0.95rem; background: var(--white); color: var(--iris); font-weight: 600; font-size: 0.95rem; text-decoration: none; border-radius: var(--radius); box-shadow: 0 6px 18px -6px rgb(10 22 38 / 0.35); }
.map-open:hover { color: var(--iris-deep); }
.map-open .icon { width: 1rem; height: 1rem; }
.map-embed-dark { border-color: var(--mint-line); aspect-ratio: 16 / 10; }
.contact-place .map-embed { margin-top: 0.5rem; }

/* ---------- identité propre : panneau WhatsApp et réseaux ---------- */
.rdv-side h2 { font-size: var(--step-3); hyphens: none; }
.wa-head { background: var(--white); }
.wa-title { color: var(--ink); }
.wa-ico { background: var(--iris-soft); color: var(--iris); }
.wa-list a:hover { background: var(--porcelain); }
.wa-list a:hover .wa-h { color: var(--iris); }
.social { background: transparent !important; box-shadow: none !important; border: 1px solid rgb(255 255 255 / 0.28); color: var(--white) !important; transition: background-color 0.3s, border-color 0.3s, transform 0.3s; }
.social:hover { transform: none; border-color: transparent; }
.social-instagram:hover { background: radial-gradient(circle at 30% 110%, #fdd65b 0%, #f77737 30%, #e1306c 60%, #833ab4 100%) !important; }
.social-facebook:hover { background: #1877f2 !important; }
.social-whatsapp:hover { background: #25d366 !important; }
.social-phone:hover { background: var(--cyan) !important; }
.footer-social { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-social .footer-title { margin: 0; }

/* Avant-après et témoignages */
.stories { padding-block: var(--section); background: var(--white); }
.stories-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.stories-head h2 { font-size: var(--step-3); margin: 0 0 1rem; }
.stories-head p { color: var(--ink-2); margin: 0; }
.stories-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
.ba, .story-card { margin: 0; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.ba-item { position: relative; aspect-ratio: 4 / 5; }
.ba-item img, .story-media img, .story-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.ba-tag { position: absolute; inset-block-end: 0.75rem; inset-inline-start: 0.75rem; padding: 0.3rem 0.75rem; background: var(--night); color: var(--white); font-size: 0.85rem; font-weight: 600; border-radius: var(--radius); }
.ba-tag-after { background: var(--iris); }
.ba figcaption, .story-card figcaption { margin-top: 0.8rem; font-size: 0.93rem; color: var(--ink-2); line-height: 1.5; }
.story-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.story-media { position: relative; aspect-ratio: 9 / 16; background: var(--night); border-radius: var(--radius); overflow: hidden; }
.story-play { position: absolute; inset: 0; margin: auto; width: 3.6rem; height: 3.6rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.92); color: var(--iris); cursor: pointer; box-shadow: 0 6px 24px rgb(10 22 38 / 0.28); transition: transform 0.2s, background-color 0.2s; }
.story-play .icon { width: 1.4rem; height: 1.4rem; margin-inline-start: 0.15rem; }
.story-play:hover { transform: scale(1.06); background: var(--white); }
.story-play:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; }
.story-media.is-playing .story-play { display: none; }
.stories-note { margin: clamp(1.75rem, 3vw, 2.5rem) 0 0; max-width: 62ch; font-size: 0.88rem; color: var(--ink-2); }
@media (max-width: 1000px) { .stories-grid { grid-template-columns: 1fr; } .ba { max-width: 34rem; } }
@media (max-width: 640px) {
  .story-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
  .story-card { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .story-play { transition: none; } }

/* ---------- Confort visuel : filtre lumière bleue et taille du texte ---------- */
html.txt-1 { font-size: calc(var(--fs, 100%) * 1.125); }
html.txt-2 { font-size: calc(var(--fs, 100%) * 1.25); }
html.bl-1::after, html.bl-2::after { content: ''; position: fixed; inset: 0; z-index: 2147483647; pointer-events: none; mix-blend-mode: multiply; background: #ffd3a0; }
html.bl-1::after { opacity: 0.3; }
html.bl-2::after { opacity: 0.58; background: #ffc98a; }
@media print { html.bl-1::after, html.bl-2::after { display: none; } }
.cv { position: relative; }
.cv-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.cv-toggle:hover, .cv-toggle[aria-expanded='true'] { border-color: var(--cyan); background: var(--iris-soft); }
.cv-toggle .icon { width: 1.25rem; height: 1.25rem; }
html.bl-1 .cv-toggle, html.bl-2 .cv-toggle { border-color: #e0a560; color: #9a5a12; }
.page-home .site-header:not(.is-solid) .cv-toggle { color: var(--white); border-color: rgb(255 255 255 / 0.4); }
.page-home .site-header:not(.is-solid) .cv-toggle:hover, .page-home .site-header:not(.is-solid) .cv-toggle[aria-expanded='true'] { background: rgb(255 255 255 / 0.12); }
.cv-panel { position: absolute; inset-block-start: calc(100% + 0.75rem); inset-inline-end: -0.5rem; width: min(20rem, 88vw); padding: 1.25rem 1.25rem 1.1rem; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 24px 48px -20px rgb(10 22 38 / 0.35); z-index: 60; }
.cv-panel[hidden] { display: none; }
.cv-title { margin: 0 0 0.9rem; font-family: var(--serif); font-size: var(--step-1); }
.cv-label { margin: 0.9rem 0 0.45rem; font-size: 0.85rem; font-weight: 600; color: var(--ink-2); }
.cv-seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; gap: 3px; background: var(--porcelain); border-radius: 6px; }
.cv-seg button { padding: 0.5rem 0.25rem; border: 0; border-radius: 4px; background: transparent; color: var(--ink-2); font: inherit; font-size: 0.88rem; cursor: pointer; }
.cv-seg button:hover { color: var(--ink); }
.cv-seg button[aria-checked='true'] { background: var(--white); color: var(--iris); font-weight: 600; box-shadow: 0 1px 3px rgb(10 22 38 / 0.14); }
.cv-seg button:focus-visible, .cv-toggle:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.cv-note { margin: 1rem 0 0; font-size: 0.8rem; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 1279px) { .cv-panel { position: fixed; inset-block-start: 4.75rem; inset-inline: 1rem; width: auto; max-width: 24rem; margin-inline-start: auto; } }

/* ---------- Les lasers : coupe de l'œil interactive ---------- */
.laser-explorer { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; margin-top: clamp(2rem, 4vw, 3rem); }
.laser-fig { position: sticky; top: 110px; margin: 0; padding: clamp(1rem, 2.5vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 30px 60px -40px rgb(10 22 38 / 0.35); }
.laser-fig figcaption { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.85rem; line-height: 1.5; color: var(--ink-2); }
.laser-eye { display: block; width: 100%; height: auto; overflow: visible; }
[dir='rtl'] .laser-eye { transform: scaleX(-1); }
.eye-globe { stroke: #a9bccd; stroke-width: 1.4; }
.eye-retina { fill: none; stroke: #e0a3a0; stroke-width: 5; stroke-linecap: round; opacity: 0.75; }
.eye-retina-inner { fill: none; stroke: #f0cfcd; stroke-width: 1.2; }
.eye-macula { fill: #c98480; }
.eye-nerve { fill: none; stroke: #a9bccd; stroke-width: 1.4; }
.eye-cornea { fill: none; stroke: var(--iris); stroke-width: 2.2; }
.eye-cornea-in { fill: none; stroke: #7fa2c7; stroke-width: 1.2; }
.eye-chamber { fill: rgb(143 216 242 / 0.22); stroke: none; }
.eye-iris { stroke: #2d5784; stroke-width: 5; stroke-linecap: round; }
.eye-lens { fill: rgb(29 76 138 / 0.08); stroke: #7d97b4; stroke-width: 1.4; }
.eye-zonule { stroke: #b9c8d6; stroke-width: 0.8; stroke-dasharray: 2 3; }
.lz { opacity: 0; transition: opacity 0.4s ease; }
.laser-explorer[data-laser='excimer'] .lz-excimer, .laser-explorer[data-laser='femto'] .lz-femto, .laser-explorer[data-laser='yag'] .lz-yag, .laser-explorer[data-laser='photo'] .lz-photo, .laser-explorer[data-laser='slt'] .lz-slt { opacity: 1; }
.beam { fill: none; stroke-width: 1.8; stroke-linecap: round; }
.beam-thin { stroke-width: 1.3; }
.beam-uv { stroke: #7a5af5; stroke-dasharray: 5 5; }
.beam-ir { stroke: #c43a54; stroke-dasharray: 5 5; }
.beam-green { stroke: #1f9d61; }
.beam-uv, .beam-ir { animation: lz-flow 1.2s linear infinite; }
@keyframes lz-flow { to { stroke-dashoffset: -20; } }
.zone { fill: none; stroke-width: 7; stroke-linecap: round; opacity: 0.5; }
.zone-uv { stroke: #7a5af5; } .zone-ir { stroke: #c43a54; } .zone-green { stroke: #1f9d61; }
.spot-ir { fill: #c43a54; } .spot-green { fill: #1f9d61; }
.mirror { fill: rgb(143 216 242 / 0.45); stroke: #7fa2c7; stroke-width: 1.2; }
.laser-tabs { display: grid; gap: 0.35rem; padding: 0.35rem; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.laser-tab { display: flex; align-items: center; gap: 0.75rem; width: 100%; padding: 0.8rem 1rem; border: 0; border-radius: 7px; background: transparent; color: var(--ink-2); font: inherit; font-size: 1rem; text-align: start; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.laser-tab:hover { background: var(--porcelain); color: var(--ink); }
.laser-tab[aria-selected='true'] { background: var(--iris-soft); color: var(--ink); font-weight: 600; }
.laser-tab:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.laser-dot { flex: none; display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; }
.laser-dot-uv { background: #7a5af5; } .laser-dot-ir { background: #c43a54; } .laser-dot-green { background: #1f9d61; }
.laser-panel { margin-top: 1.5rem; }
.js .laser-panel[data-inactive] { display: none; }
.laser-panel h3 { font-size: var(--step-2); margin: 0; }
.laser-what { margin: 0.6rem 0 0; font-size: var(--step-1); line-height: 1.5; color: var(--ink); max-width: 40ch; }
.laser-facts { margin: 1.4rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.laser-facts > div { padding: 0.95rem 1.1rem; background: var(--white); }
.laser-facts .laser-uses { grid-column: 1 / -1; }
.laser-facts dt { font-size: 0.8rem; font-weight: 600; color: var(--ink-2); }
.laser-facts dd { margin: 0.3rem 0 0; color: var(--ink); line-height: 1.5; display: flex; align-items: baseline; gap: 0.5rem; }
.laser-facts dd .laser-dot { transform: translateY(-0.05rem); }
@media (max-width: 900px) {
  .laser-explorer { grid-template-columns: 1fr; }
  .laser-fig { position: static; }
  .laser-tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scroll-snap-type: x proximity; }
  .laser-tab { white-space: nowrap; scroll-snap-align: start; }
}
@media (max-width: 520px) { .laser-facts { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .beam-uv, .beam-ir { animation: none; } .lz { transition: none; } }
.laser-panel h3 { font-family: var(--serif); font-weight: 400; font-size: var(--step-3); }
.lasers-note { margin-top: clamp(2rem, 4vw, 3rem); }
.laser-explorer > * { min-width: 0; }
@media (max-width: 345px) { .brand-name { font-size: 0.88rem; max-width: 7.2rem; } .lang-switch a { min-width: 1.4rem; padding-inline: 0.12rem; } .cv-toggle, .menu-toggle { width: 2.2rem; height: 2.2rem; } }
.rdv-grid > *, .content-grid > *, .cabinet-grid > *, .contact-grid > *, .stories-grid > * { min-width: 0; }
h1, h2, h3, .prose, .rdv-intro { overflow-wrap: break-word; }
.aside .btn-block { white-space: normal; text-align: center; } .aside > * { min-width: 0; }

/* ---------- Troubles de la vision ---------- */
.vision { padding-block: var(--section); background: var(--white); }
.vision-grid, .tech-grid { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.25rem); }
.vision-card, .tech-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.vision-card .illus, .tech-card .illus, .domain-pic { margin: 0; }
.vision-card .illus img, .tech-card .illus img, .domain-pic img, .illus-lead img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.vision-card h3, .tech-head h3 { font-family: var(--serif); font-weight: 400; font-size: var(--step-2); margin: 0; }
.vision-card h3 { padding: 1.4rem 1.5rem 0; }
.vision-facts, .tech-facts { margin: 0; padding: 1rem 1.5rem 1.5rem; display: grid; gap: 0.9rem; }
.vision-facts dt, .tech-facts dt { font-size: 0.8rem; font-weight: 600; color: var(--ink-2); }
.vision-facts dd, .tech-facts dd { margin: 0.2rem 0 0; color: var(--ink); line-height: 1.55; }
.vision-link { margin-top: 2rem; }
.page-home .vision { border-top: 1px solid var(--line); }

/* ---------- Techniques de chirurgie réfractive ---------- */
.tech { padding-block: var(--section); background: var(--porcelain); }
.tech-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.4rem 0.8rem; padding: 1.4rem 1.5rem 0; }
.tech-sub { font-size: 0.85rem; color: var(--iris); background: var(--iris-soft); padding: 0.2rem 0.6rem; border-radius: 999px; }
.tech-facts { grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
.tech-how, .tech-note { grid-column: 1 / -1; }
.tech-note dd { color: var(--ink-2); }
.tech-foot { margin-top: clamp(2rem, 4vw, 3rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.tech-foot p { margin: 0; max-width: 62ch; color: var(--ink-2); }
@media (max-width: 760px) { .vision-grid, .tech-grid { grid-template-columns: 1fr; } .tech-facts { grid-template-columns: 1fr; } }

/* ---------- Illustration de tête des pathologies et cartes illustrées ---------- */
.illus-lead { margin: 0 0 2rem; border-radius: 10px; overflow: hidden; }
.domain-illus { padding: 0 !important; overflow: hidden; }
.domain-illus h2, .domain-illus p, .domain-illus .text-link { margin-inline: 1.5rem; }
.domain-illus h2 { margin-top: 1.3rem; }
.domain-illus .text-link { margin-bottom: 1.5rem; display: inline-block; }

/* ---------- Questions fréquentes ---------- */
.faq { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); padding-top: 1rem; }
.faq h2 { margin-top: 1rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 1.1rem; height: 1.1rem; color: var(--iris); transform: rotate(90deg); transition: transform 0.25s; }
.faq-item[open] .faq-icon { transform: rotate(-90deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.faq-item p { margin: 0 0 1.2rem; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .faq-icon { transition: none; } }
.tech-foot .btn { white-space: normal; text-align: center; max-width: 100%; }

/* Avant-après : galerie de cas (bandeaux du regard, même format pour tous) */
.stories-grid { grid-template-columns: 1fr; }
.ba-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.ba-case { display: grid; gap: 3px; background: var(--line); border-radius: 8px; overflow: hidden; }
.ba-band { position: relative; aspect-ratio: 2 / 1; }
.ba-band img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ba-caption { margin: 1rem 0 0; font-size: 0.93rem; color: var(--ink-2); }
.story-row { grid-template-columns: repeat(3, minmax(0, 220px)); justify-content: start; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 640px) { .story-row { grid-template-columns: none; } }

/* Pied de page : informations légales */
.footer-grid { grid-template-columns: 1.3fr 1fr 1fr 0.9fr; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-links a { color: inherit; text-decoration: none; opacity: 0.85; }
.footer-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer-copy { margin: 0; opacity: 0.7; font-size: 0.85rem; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

/* Bouton d'appel flottant, présent sur toutes les pages */
.call-fab { position: fixed; z-index: 45; inset-inline-end: clamp(1rem, 2.5vw, 1.75rem); inset-block-end: clamp(1rem, 2.5vw, 1.75rem); display: inline-flex; align-items: center; gap: 0.7rem; height: 3.6rem; min-width: 3.6rem; padding: 0 1.05rem; border-radius: 999px; background: var(--iris); color: var(--white); text-decoration: none; box-shadow: 0 14px 32px -12px rgb(10 22 38 / 0.55), 0 0 0 6px rgb(143 216 242 / 0.22); transition: background-color 0.2s, box-shadow 0.2s; }
.call-fab .icon { width: 1.5rem; height: 1.5rem; flex: none; }
.call-fab:hover { background: #163d70; color: var(--white); box-shadow: 0 16px 36px -12px rgb(10 22 38 / 0.6), 0 0 0 8px rgb(143 216 242 / 0.3); }
.call-fab:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; }
.call-fab-label { display: grid; line-height: 1.15; font-size: 0.78rem; opacity: 0.9; }
.call-fab-label span { font-size: 1rem; font-weight: 600; opacity: 1; }
@media (max-width: 900px) { .call-fab { padding: 0; justify-content: center; } .call-fab-label { display: none; } }
@media (max-width: 760px) {
  .call-fab { z-index: 61; inset-inline-end: 0.75rem; inset-block-end: calc(0.45rem + env(safe-area-inset-bottom, 0px)); width: 3.5rem; height: 3.5rem; min-width: 0; box-shadow: 0 8px 20px -10px rgb(10 22 38 / 0.5), 0 0 0 4px rgb(143 216 242 / 0.25); }
}
@media print { .call-fab { display: none; } }
@media (prefers-reduced-motion: no-preference) { .call-fab::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgb(143 216 242 / 0.5); animation: fab-pulse 2.8s ease-out 3; } }
@keyframes fab-pulse { 70% { box-shadow: 0 0 0 16px rgb(143 216 242 / 0); } 100% { box-shadow: 0 0 0 0 rgb(143 216 242 / 0); } }
.footer-bottom { padding-inline-end: 15rem; }
@media (max-width: 900px) { .footer-bottom { padding-inline-end: 5rem; } }
@media (max-width: 760px) { .footer-bottom { padding-inline-end: 0; } }
/* Bouton d'appel : icône seule, sur toutes les tailles d'écran */
.call-fab { width: 3.75rem; height: 3.75rem; min-width: 0; padding: 0; justify-content: center; }
.call-fab .icon { width: 1.6rem; height: 1.6rem; }
.call-fab-label { display: none; }
@media (max-width: 760px) { .call-fab { width: 3.5rem; height: 3.5rem; } }
.footer-bottom { padding-inline-end: 5.5rem; }
@media (max-width: 760px) { .footer-bottom { padding-inline-end: 0; } }

/* ---------- Le cabinet, version enrichie ---------- */
.cabinet { position: relative; overflow: hidden; background: radial-gradient(60rem 30rem at 12% 20%, rgb(143 216 242 / 0.35), transparent 60%), radial-gradient(50rem 26rem at 95% 90%, rgb(42 143 196 / 0.14), transparent 60%), linear-gradient(180deg, #e4f4f1 0%, #f1faf8 100%); }
.cab-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.cab-photo { position: relative; margin: 0; }
.cab-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 35% 50%; border-radius: 18px; box-shadow: 0 40px 80px -40px rgb(10 22 38 / 0.55), 0 0 0 1px rgb(255 255 255 / 0.6); }
.cab-photo::before { content: ''; position: absolute; inset: auto auto -1.5rem -1.5rem; width: 55%; height: 45%; border-radius: 22px; background: linear-gradient(135deg, rgb(42 143 196 / 0.35), rgb(143 216 242 / 0.15)); z-index: -1; }
[dir='rtl'] .cab-photo::before { inset: auto -1.5rem -1.5rem auto; }
.cab-badge { position: absolute; inset-inline-start: 1.25rem; inset-block-end: 1.25rem; display: grid; gap: 0.35rem; padding: 0.9rem 1.15rem; border-radius: 14px; background: rgb(255 255 255 / 0.82); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 18px 40px -20px rgb(10 22 38 / 0.5); }
.cab-badge p { margin: 0; }
.cab-status { font-weight: 600; color: var(--ink); }
.cab-access { display: flex; align-items: center; gap: 0.45rem; font-size: 0.88rem; color: var(--ink-2); }
.cab-access .icon { width: 1rem; height: 1rem; color: var(--mint-ink); }
.cab-copy h2 { font-size: var(--step-4); margin: 0; }
.cab-lead { margin: 1rem 0 0; font-size: var(--step-1); color: var(--ink-2); max-width: 44ch; }
.cab-cards { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: 1.3fr 1fr; gap: 0.9rem; }
.cab-card { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.1rem 1.2rem; background: rgb(255 255 255 / 0.78); border: 1px solid rgb(196 226 220 / 0.9); border-radius: 14px; box-shadow: 0 12px 30px -24px rgb(10 22 38 / 0.45); }
.cab-card-wide { grid-column: 1 / -1; }
.cab-card-soft { background: rgb(255 255 255 / 0.5); }
.cab-card > div { min-width: 0; flex: 1; }
.cab-ico { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: linear-gradient(135deg, var(--iris), var(--cyan)); color: var(--white); }
.cab-ico .icon { width: 1.15rem; height: 1.15rem; }
.cab-k { margin: 0 0 0.3rem; font-size: 0.78rem; font-weight: 600; color: var(--mint-ink); }
.cab-v { margin: 0; color: var(--ink); line-height: 1.5; font-size: 0.95rem; }
.cab-big { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--ink); text-decoration: none; line-height: 1.2; }
.cab-big:hover { color: var(--iris); }
.cab-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.4rem; font-size: 0.9rem; color: var(--iris); text-decoration: none; }
.cab-link .icon { width: 1rem; height: 1rem; }
.cab-link:hover { text-decoration: underline; }
.cab-hours .hours { margin: 0; width: 100%; }
.cabinet .cab-hours .hours th, .cabinet .cab-hours .hours td { padding-block: 0.4rem; }
.cab-map { margin-top: clamp(2.5rem, 5vw, 4rem); }
.map-wide { aspect-ratio: 21 / 8; border-radius: 18px; overflow: hidden; border: 1px solid var(--mint-line); box-shadow: 0 30px 60px -40px rgb(10 22 38 / 0.45); }
@media (max-width: 960px) {
  .cab-grid { grid-template-columns: 1fr; }
  .cab-photo { max-width: 34rem; }
  .map-wide { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) { .cab-cards { grid-template-columns: 1fr; } }

/* Grands écrans : tout le site grandit avec la largeur de l'écran (texte, marges, largeur utile),
   pour éviter de grands vides à gauche et à droite. */
@media (min-width: 1440px) { :root { --fs: clamp(100%, calc(0.5rem + 0.6vw), 145%); } }

/* Téléphone : bouton « Prendre rendez-vous » compact et flottant, à côté de l'icône d'appel */
@media (max-width: 760px) {
  .action-bar { display: flex !important; justify-content: center; inset-inline: 0; bottom: 0; padding: 0 0 calc(0.85rem + env(safe-area-inset-bottom)) !important; background: none !important; backdrop-filter: none !important; border: 0 !important; pointer-events: none; }
  .action-bar .action-main { pointer-events: auto; flex: none; min-height: 0; height: 2.85rem; padding: 0 1.25rem; gap: 0.45rem; border-radius: 999px; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.01em; box-shadow: 0 10px 24px -10px rgb(10 22 38 / 0.55), 0 0 0 4px rgb(255 255 255 / 0.7); }
  .action-bar .action-main .icon { width: 1.05rem; height: 1.05rem; }
  .call-fab { width: 2.85rem !important; height: 2.85rem !important; inset-block-end: calc(0.85rem + env(safe-area-inset-bottom, 0px)) !important; inset-inline-end: 1rem !important; }
  .call-fab .icon { width: 1.2rem; height: 1.2rem; }
}

/* Accueil : un seul bouton « Rendez-vous » à la fois. Celui de l'en-tête apparaît une fois la photo d'accueil dépassée. */
.header-cta { transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s; }
.page-home .site-header:not(.show-cta) .header-cta { opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .header-cta { transition: none; } }

/* Bandeau d'annonce (fermeture, congés), géré depuis l'espace du cabinet */
.site-notice { background: var(--mint); color: var(--mint-ink); border-bottom: 1px solid var(--mint-line); }
.site-notice p { margin: 0 auto; max-width: 77.5rem; padding: 0.6rem 1.25rem; text-align: center; font-size: 0.95rem; line-height: 1.45; font-weight: 500; }

/* Téléphone : le bouton « Prendre rendez-vous » du bas d’écran suffit, pas de second bouton dans l’accueil */
@media (max-width: 760px) { .hero-actions, .page-home .header-cta { display: none; } }

/* Avant-après : regards anonymisés, alignés, un cas à la fois */
.stories .stories-head { max-width: 46rem; }
.gaze { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
.ba-viewer { background: var(--night); border-radius: calc(var(--radius) + 4px); padding: clamp(0.9rem, 2vw, 1.4rem); color: var(--white); box-shadow: 0 40px 70px -50px rgb(10 22 38 / 0.7); }
.ba-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: clamp(0.8rem, 1.6vw, 1.1rem); }
.ba-controls[hidden] { display: none; }
.ba-tabs { display: flex; gap: 0.35rem; }
.ba-tabs button { min-width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.18); background: transparent; color: rgb(255 255 255 / 0.7); font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.ba-tabs button:hover { color: var(--white); border-color: rgb(255 255 255 / 0.45); }
.ba-tabs button[aria-selected="true"] { background: var(--white); border-color: var(--white); color: var(--night); }
.ba-arrows { display: flex; gap: 0.35rem; }
.ba-arrow { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.18); background: transparent; color: var(--white); cursor: pointer; }
.ba-arrow:hover { border-color: rgb(255 255 255 / 0.5); }
.ba-arrow .icon { width: 1.1rem; height: 1.1rem; transform: rotate(180deg); }
.ba-arrow.ba-next .icon, [dir="rtl"] .ba-arrow .icon { transform: none; }
[dir="rtl"] .ba-arrow.ba-next .icon { transform: rotate(180deg); }
.ba-tabs button:focus-visible, .ba-arrow:focus-visible, .gaze-toggle:focus-visible { outline: 3px solid var(--glow); outline-offset: 2px; }
.stories .ba-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(0.9rem, 2vw, 1.25rem); grid-template-columns: none; }
.stories .ba-case { display: grid; gap: 3px; background: none; border-radius: 0; overflow: visible; }
.stories .ba-case[hidden] { display: none; }
.ba-viewer.is-ready .ba-case { animation: ba-in 0.45s ease both; }
@keyframes ba-in { from { opacity: 0; } to { opacity: 1; } }
.ba-strip { position: relative; aspect-ratio: 3 / 1; overflow: hidden; background: #111c2b; }
.ba-strip:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.ba-strip:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.ba-strip img { display: block; width: 100%; height: 100%; object-fit: cover; }
.stories .ba-tag { position: absolute; inset-block-start: 0.7rem; inset-inline-start: 0.7rem; inset-block-end: auto; padding: 0.28rem 0.7rem; border-radius: 999px; background: rgb(10 22 38 / 0.72); color: var(--white); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em; backdrop-filter: blur(6px); }
.stories .ba-tag-after { background: rgb(29 76 138 / 0.88); }
.stories .ba-caption { margin: clamp(0.8rem, 1.6vw, 1.1rem) 0 0; font-size: 0.9rem; color: rgb(255 255 255 / 0.66); }
.gaze-film { margin: 0; display: grid; gap: 0.9rem; }
.gaze-frame { position: relative; aspect-ratio: 3 / 1; border-radius: var(--radius); overflow: hidden; background: var(--night); box-shadow: 0 30px 60px -45px rgb(10 22 38 / 0.7); }
.gaze-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.gaze-toggle { position: absolute; inset-block-end: 0.6rem; inset-inline-end: 0.6rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 999px; border: 0; background: rgb(10 22 38 / 0.6); color: var(--white); cursor: pointer; backdrop-filter: blur(6px); }
.gaze-toggle[hidden] { display: none; }
.gaze-toggle .icon { width: 1rem; height: 1rem; }
.gaze-toggle .icon-play, .gaze-film.is-paused .gaze-toggle .icon-pause { display: none; }
.gaze-film.is-paused .gaze-toggle .icon-play { display: block; }
.gaze-film figcaption { font-family: var(--serif, Georgia, serif); font-size: var(--step-1, 1.2rem); line-height: 1.35; color: var(--ink); display: grid; gap: 0.3rem; }
.gaze-kicker { font-family: var(--sans, inherit); font-size: 0.82rem; font-weight: 600; color: var(--iris); }
.gaze-film .stories-note { margin: 0.4rem 0 0; }
@media (max-width: 1000px) { .gaze { grid-template-columns: 1fr; } .gaze-film { max-width: 40rem; } }
@media (max-width: 480px) { .ba-tabs button, .ba-arrow { min-width: 2.25rem; width: auto; height: 2.25rem; } .ba-arrow { width: 2.25rem; } .ba-tabs { gap: 0.25rem; } }
@media (prefers-reduced-motion: reduce) { .ba-viewer.is-ready .ba-case { animation: none; } }

/* Examens : écran d'imagerie piloté par la liste */
.exams-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); grid-template-areas: "head viewer" "list viewer"; column-gap: clamp(2.5rem, 6vw, 6rem); row-gap: 0; align-items: center; }
.exams-head { grid-area: head; align-self: end; }
.exams-list { grid-area: list; align-self: start; }
.exam-viewer { grid-area: viewer; }
.exams-list .exam-rows { margin-top: 2rem; }
.exam-rows li { padding: 0; }
.exam-row { display: flex; align-items: center; gap: 1rem; width: calc(100% + 1.5rem); padding: 0.95rem 0.75rem; margin-inline: -0.75rem; background: none; border: 0; border-radius: 10px; font: inherit; font-size: 1.02rem; color: var(--ink); text-align: start; cursor: pointer; transition: background-color 0.25s, color 0.25s; }
.exam-row:hover { background: rgb(42 143 196 / 0.06); }
.exam-row[aria-pressed="true"] { background: rgb(42 143 196 / 0.09); color: var(--iris); }
.exam-row[aria-pressed="true"] .icon { color: var(--iris); }
.exam-row:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.ev-screen { position: relative; aspect-ratio: 16 / 11; border-radius: 24px; overflow: hidden; background: radial-gradient(120% 90% at 30% 20%, #16345a 0%, var(--night) 70%); box-shadow: 0 60px 100px -60px rgb(10 22 38 / 0.75), inset 0 0 0 1px rgb(255 255 255 / 0.06); isolation: isolate; }
.ev-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 0.6s ease; }
.ev-slide.is-on { opacity: 1; }
.ev-slide[hidden] { display: none; }
.ev-slide img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s ease; }
.ev-slide.is-on img { transform: scale(1); }
.ev-slide figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 3.5rem clamp(1.1rem, 2.4vw, 1.75rem) clamp(1rem, 2vw, 1.5rem); background: linear-gradient(180deg, rgb(10 22 38 / 0) 0%, rgb(10 22 38 / 0.78) 50%, rgb(10 22 38 / 0.9) 100%); color: var(--white); display: grid; gap: 0.35rem; }
.ev-name { font-family: var(--serif); font-size: var(--step-2, 1.5rem); line-height: 1.15; }
.ev-text { font-size: 0.95rem; line-height: 1.5; color: rgb(255 255 255 / 0.78); max-width: 46ch; }
.ev-reticle { position: absolute; inset: 1rem; pointer-events: none; z-index: 2; background:
  linear-gradient(var(--glow), var(--glow)) top left / 18px 1.5px, linear-gradient(var(--glow), var(--glow)) top left / 1.5px 18px,
  linear-gradient(var(--glow), var(--glow)) top right / 18px 1.5px, linear-gradient(var(--glow), var(--glow)) top right / 1.5px 18px;
  background-repeat: no-repeat; opacity: 0.55; }
@media (max-width: 860px) {
  .exams-grid { grid-template-columns: 1fr; grid-template-areas: "head" "viewer" "list"; row-gap: 1.75rem; }
  .ev-screen { aspect-ratio: 4 / 3.4; border-radius: 18px; }
  .exams-list .exam-rows { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .ev-slide, .ev-slide img { transition: none; } .ev-slide img { transform: none; } }

/* Vidéos avant-après de la même patiente */
.gaze-pair { position: relative; display: grid; gap: 3px; border-radius: var(--radius); overflow: hidden; background: var(--night); box-shadow: 0 30px 60px -45px rgb(10 22 38 / 0.7); }
.gaze-pair .gaze-frame { border-radius: 0; box-shadow: none; }
.gaze-pair .ba-tag { position: absolute; inset-block-start: 0.6rem; inset-inline-start: 0.6rem; padding: 0.25rem 0.65rem; border-radius: 999px; background: rgb(10 22 38 / 0.72); color: var(--white); font-size: 0.78rem; font-weight: 600; backdrop-filter: blur(6px); }
.gaze-pair .ba-tag-after { background: rgb(29 76 138 / 0.88); }
.gaze-note { margin: 0; font-size: 0.88rem; color: var(--ink-2); padding-inline-start: 0.8rem; border-inline-start: 2px solid var(--mint-line, #c4e2dc); }

/* Carte praticienne */
.doc-card { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(130% 80% at 100% 0%, #17345a 0%, var(--night) 62%); color: var(--white); border-radius: 22px; padding: clamp(1.6rem, 2.6vw, 2.1rem); box-shadow: 0 50px 90px -60px rgb(10 22 38 / 0.85); }
.doc-iris { position: absolute; z-index: -1; width: 14rem; height: 14rem; inset-block-start: -6rem; inset-inline-end: -6rem; opacity: 0.9; }
.doc-iris circle, .doc-iris line { fill: none; stroke: var(--glow); }
.doc-iris .r1 { stroke-opacity: 0.12; stroke-width: 1; }
.doc-iris .r2 { stroke-opacity: 0.22; stroke-width: 1; }
.doc-iris .fib { stroke-opacity: 0.16; stroke-width: 0.8; }
.doc-iris .pupil { fill: var(--night); stroke: none; }
.doc-iris .r3 { stroke-opacity: 0.4; stroke-width: 1.2; }
.doc-role { margin: 0; font-size: 0.9rem; color: var(--glow); font-weight: 500; }
.doc-name { margin: 0.35rem 0 0; font-family: var(--serif); font-size: clamp(1.7rem, 2.3vw, 2.05rem); line-height: 1.1; max-width: 11ch; }
.doc-facts { margin: 1.7rem 0 0; display: grid; }
.doc-facts > div { display: grid; gap: 0.15rem; padding: 0.85rem 0; border-top: 1px solid rgb(255 255 255 / 0.12); }
.doc-facts dt { font-size: 0.8rem; color: rgb(255 255 255 / 0.58); font-weight: 500; }
.doc-facts dd { margin: 0; font-size: 1rem; line-height: 1.45; }
.doc-place { margin: 0; padding-top: 0.95rem; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 0.92rem; line-height: 1.5; color: rgb(255 255 255 / 0.82); display: grid; gap: 0.15rem; }
.doc-place-k { font-size: 0.8rem; color: rgb(255 255 255 / 0.58); font-weight: 500; }

.prose .doc-domains { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.6rem; }
.prose .doc-domains li { margin: 0; padding: 0; }
.prose .doc-domains li::before { content: none; }
.doc-domains a { display: flex; align-items: center; gap: 0.8rem; height: 100%; padding: 0.95rem 1.05rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 500; line-height: 1.3; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.doc-domains a:hover { border-color: var(--cyan); box-shadow: 0 18px 36px -28px rgb(10 22 38 / 0.45); transform: translateY(-1px); }
.doc-domains .icon { flex: none; width: 1.4rem; height: 1.4rem; color: var(--cyan); }
@media (prefers-reduced-motion: reduce) { .doc-domains a { transition: none; } .doc-domains a:hover { transform: none; } }
@media (max-width: 960px) { .about-grid .aside { order: -1; } }

/* Téléphone : en-tête épuré (logo, confort visuel, menu) ; les langues passent dans le menu */
.nav-langs { display: none; }
@media (max-width: 640px) {
  .site-header .header-tools > .lang-switch { display: none; }
  .brand-name, .brand-name { white-space: nowrap; max-width: none; font-size: 1.05rem; line-height: 1.2; }
  .header-tools { gap: 0.5rem; }
  .cv-toggle, .menu-toggle { width: 2.5rem; height: 2.5rem; }
  .nav-langs { display: flex; gap: 0.5rem; padding: 0.25rem var(--gap) 1.5rem; }
  .main-nav .nav-langs a { flex: 1; font-family: var(--sans); font-size: 0.95rem; border-bottom: 1px solid var(--line); text-align: center; padding: 0.65rem 0.5rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: 0.95rem; }
  .main-nav .nav-langs a:lang(ar) { font-family: 'IBM Plex Sans Arabic', sans-serif; }
  .main-nav .nav-langs a[aria-current] { background: var(--night); border-color: var(--night); color: var(--white); }
  .hero-media .video-toggle { top: 11.35rem; width: 2.25rem; height: 2.25rem; border-color: rgb(255 255 255 / 0.3); }
}
@media (max-width: 360px) { .brand-name { font-size: 0.95rem; } .logo-mark { width: 32px; } }
/* Troubles de la vision et techniques : sans cadre, texte aligné sur l'image (comme « Au bloc opératoire ») */
.vision-card, .tech-card { border: 0; border-radius: 0; overflow: visible; background: transparent; }
.vision-card .illus img, .tech-card .illus img { border-radius: 12px; }
.vision-card h3 { padding: 1.3rem 0 0; }
.vision-facts { padding: 0.9rem 0 0; }
.tech-card .tech-head, .tech-card .tech-facts { padding-inline: 0; }
.vision-grid, .tech-grid { row-gap: clamp(2.5rem, 5vw, 3.5rem); }

/* WhatsApp du cabinet, au-dessus de l'icône d'appel (PC et téléphone) */
.wa-fab { position: fixed; z-index: 45; inset-inline-end: calc(clamp(1rem, 2.5vw, 1.75rem) + 0.25rem); inset-block-end: calc(clamp(1rem, 2.5vw, 1.75rem) + 3.75rem + 0.8rem); width: 3.25rem; height: 3.25rem; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: var(--white); box-shadow: 0 12px 28px -12px rgb(10 22 38 / 0.55); transition: transform 0.2s, box-shadow 0.2s; }
.wa-fab .icon { width: 1.5rem; height: 1.5rem; }
.wa-fab:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgb(10 22 38 / 0.6), 0 0 0 6px rgb(37 211 102 / 0.2); }
.wa-fab:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; }
@media (max-width: 760px) {
  .wa-fab { z-index: 61; width: 2.85rem; height: 2.85rem; inset-inline-end: 1rem; inset-block-end: calc(0.85rem + 2.85rem + 0.65rem + env(safe-area-inset-bottom, 0px)); }
  .wa-fab .icon { width: 1.3rem; height: 1.3rem; }
}
.cab-editing .wa-fab { display: none !important; }
@media print { .wa-fab { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-fab { transition: none; } .wa-fab:hover { transform: none; } }

/* Accueil : la phrase d'accroche devient le titre principal (le nom figure déjà dans l'en-tête) */
.hero .hero-lede { margin-top: 0.9rem; font-size: clamp(2rem, 1.3rem + 3.2vw, 3.6rem); font-weight: 300; line-height: 1.12; letter-spacing: -0.015em; color: var(--white); max-width: 20ch; }
:lang(ar) .hero .hero-lede { font-weight: 500; line-height: 1.45; letter-spacing: 0; }
/* En-tête PC : logo plus discret, et le bouton « Rendez-vous » masqué ne réserve plus de place (en-tête bien aligné sur la page) */
@media (min-width: 641px) {
  .header-inner { min-height: 74px; }
  .brand { gap: 0.7rem; }
  .logo-mark { width: 38px; }
  .brand-name { font-size: 1.08rem; }
  .brand-sub { font-size: 0.74rem; }
}
.header-cta { max-width: 14rem; overflow: hidden; white-space: nowrap; transition: opacity 0.35s ease, max-width 0.35s ease, padding 0.35s ease, margin 0.35s ease, visibility 0.35s; }
.page-home .site-header:not(.show-cta) .header-cta { max-width: 0; padding-inline: 0; border-width: 0; margin-inline-start: -0.75rem; transform: none; }
/* Pas de ligne + vide + ligne entre deux sections : on retire les filets de fin de liste et les séparateurs pleine largeur */
.needs-list, .domain-list, .domain-grid { border-bottom: 0; }
.page-home .vision, .cta-band { border-top: 0; }
.page-home .domains-section + .vision { padding-top: 0; }
.page-home .domains-section { padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
/* En-tête PC : logo à gauche, rubriques au centre, confort visuel et langues à droite, sur toute la largeur */
@media (min-width: 1280px) {
  .site-header .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; max-width: none; padding-inline: clamp(1.5rem, 3vw, 3.5rem); }
  .site-header .brand { justify-self: start; }
  .site-header .main-nav { margin: 0; justify-self: center; }
  .site-header .header-tools { justify-self: end; margin: 0; }
}
/* Rien ne dépasse de l'écran sur téléphone : les boutons flottants restent toujours entièrement visibles */
html, body { overflow-x: clip; }
.ba-controls { flex-wrap: wrap; row-gap: 0.6rem; }
/* PC : WhatsApp et appel de la même taille, alignés */
@media (min-width: 761px) {
  .wa-fab { width: 3.75rem; height: 3.75rem; inset-inline-end: clamp(1rem, 2.5vw, 1.75rem); inset-block-end: calc(clamp(1rem, 2.5vw, 1.75rem) + 3.75rem + 0.75rem); }
  .wa-fab .icon { width: 1.6rem; height: 1.6rem; }
}
/* Avant-après → Examens : moins de vide */
.stories + .exams-section { padding-top: 0; }
@media (max-width: 360px) { .action-bar .action-main { padding: 0 0.95rem; font-size: 0.82rem; } .action-bar .action-main .icon { display: none; } }
@media (min-width: 801px) { .hero { min-height: 100vh; min-height: 100svh; } }
/* Pages intérieures : moins de vide entre le bandeau de titre et le début du texte */
.page-head { padding-block-end: clamp(2rem, 3.5vw, 3rem); }
.content-grid { padding-block-start: clamp(1.75rem, 3vw, 2.75rem); }
.content-grid .prose > :first-child { margin-top: 0; }
/* Le même espace réduit sous le bandeau de titre, sur toutes les pages intérieures */
.page-head + .tech, .page-head + .rdv, .page-head + .section-tight, .page-head + .wrap { padding-block-start: clamp(1.75rem, 3vw, 2.75rem); }
.page-head + .tech > .wrap > :first-child, .page-head + .wrap > :first-child { margin-top: 0; }
.page-head + .wrap .prose > :first-child, .page-head + .tech .section-head > :first-child { margin-top: 0; }
.page-head + .wrap > .prose-narrow { padding-block-start: 0; }
/* WhatsApp et appel : une pulsation discrète et régulière (PC et téléphone), décalée entre les deux boutons */
@keyframes fab-ring { 0% { box-shadow: 0 0 0 0 var(--ring); } 70% { box-shadow: 0 0 0 14px rgb(0 0 0 / 0); } 100% { box-shadow: 0 0 0 0 rgb(0 0 0 / 0); } }
@media (prefers-reduced-motion: no-preference) {
  .wa-fab::after, .call-fab::after { content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; animation: fab-ring 2.4s ease-out infinite; }
  .wa-fab::after { --ring: rgb(37 211 102 / 0.55); animation-delay: 1.2s; }
  .call-fab::after { --ring: rgb(143 216 242 / 0.6); }
}

/* Statut d'ouverture : orange quand le cabinet est fermé (plus parlant que le gris) */
.hero .hours-status[data-state='closed']::before { background: #f0a24b; box-shadow: 0 0 0 4px rgb(240 162 75 / 0.2); }
/* Accueil sur téléphone : vidéo plus visible, infos compactes, boutons regroupés */
@media (max-width: 760px) {
  .hero-media::after, [dir='rtl'] .hero-media::after { background: linear-gradient(0deg, rgb(10 22 38 / 0.96) 0%, rgb(10 22 38 / 0.82) 38%, rgb(10 22 38 / 0.25) 70%, rgb(10 22 38 / 0.45) 100%); }
  .hero-inner { padding-top: 0; align-self: end; }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 1rem; padding-bottom: 5.5rem; padding-top: 1.1rem; }
  .hero-facts .hf-address { display: none; }
  .hero-facts dt { font-size: 0.78rem; }
  .hero-facts dd { font-size: 0.92rem; }
  /* barre flottante : [Prendre rendez-vous] [WhatsApp] [Appel] sur une même ligne, centrée */
  .action-bar { justify-content: flex-start !important; padding-inline-start: 1rem !important; }
  .wa-fab { inset-block-end: calc(0.85rem + env(safe-area-inset-bottom, 0px)); inset-inline-end: calc(1rem + 2.85rem + 0.55rem); }
  .action-bar .action-main { max-width: calc(100vw - 2rem - 2 * 2.85rem - 1.1rem); }
}
@media (max-width: 760px) { .action-bar .action-main { width: calc(100vw - 2rem - 2 * 2.85rem - 1.1rem); justify-content: center; } }
/* Téléphone : WhatsApp au-dessus de l'appel (comme sur PC), bouton rendez-vous centré */
@media (max-width: 760px) {
  .action-bar { justify-content: center !important; padding-inline-start: 0 !important; }
  .action-bar .action-main { width: auto; max-width: none; }
  .wa-fab { inset-inline-end: 1rem; inset-block-end: calc(0.85rem + 2.85rem + 0.65rem + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 760px) { .hero-facts { padding-bottom: 8.6rem; } }
/* PC : le texte de l'accueil remonte, moins de vide sous l'en-tête */
@media (min-width: 761px) {
  .hero-inner { align-items: flex-start; padding-top: calc(74px + clamp(2.5rem, 7vh, 4.5rem)); padding-bottom: 2.5rem; }
}
.social-mail:hover, .social-mail:focus-visible { background: linear-gradient(135deg, #e4572e, #f08a4b) !important; border-color: transparent !important; color: var(--white) !important; box-shadow: 0 10px 24px -10px rgb(228 87 46 / 0.7); }
/* Téléphone : pas de bande blanche sous le pied de page ; la place des boutons flottants est prise dans le pied de page sombre */
@media (max-width: 760px) {
  body { padding-bottom: 0 !important; }
  .site-footer { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
}

/* Cabinet : la vidéo remplace la photo */
.cab-film video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; background: var(--night); box-shadow: 0 40px 80px -40px rgb(10 22 38 / 0.55), 0 0 0 1px rgb(10 22 38 / 0.06); }
.cab-tour { position: absolute; z-index: 2; inset-block-start: 1rem; inset-inline-start: 1rem; display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.55rem 1rem 0.55rem 0.6rem; border: 0; border-radius: 999px; background: rgb(255 255 255 / 0.9); color: var(--night); font: inherit; font-weight: 600; font-size: 0.92rem; cursor: pointer; box-shadow: 0 14px 30px -16px rgb(10 22 38 / 0.6); backdrop-filter: blur(8px); transition: background-color 0.2s, transform 0.2s; }
.cab-tour .icon { width: 1.9rem; height: 1.9rem; padding: 0.45rem; border-radius: 50%; background: var(--iris); color: var(--white); }
.cab-tour:hover { background: var(--white); transform: translateY(-1px); }
.cab-tour:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; }
.cab-tour[hidden] { display: none; }
.tour-dialog { padding: 0; border: 0; background: transparent; width: min(92vw, 30rem, calc(86svh * 9 / 16)); max-width: none; max-height: 92svh; overflow: visible; }
.tour-dialog::backdrop { background: rgb(6 14 26 / 0.88); backdrop-filter: blur(4px); }
.tour-dialog video { display: block; width: 100%; height: auto; max-height: 86svh; aspect-ratio: 9 / 16; object-fit: contain; border-radius: 16px; background: #000; }
.tour-close { position: absolute; inset-block-start: -0.8rem; inset-inline-end: -0.8rem; z-index: 2; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--white); color: var(--night); cursor: pointer; box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.6); }
.tour-close .icon { width: 1.1rem; height: 1.1rem; }
.tour-close:focus-visible { outline: 3px solid var(--glow); outline-offset: 2px; }
@media (max-width: 760px) { .tour-close { inset-block-start: 0.6rem; inset-inline-end: 0.6rem; } }
@media (prefers-reduced-motion: reduce) { .cab-tour { transition: none; } .cab-tour:hover { transform: none; } }

@media (max-width: 860px) { .cab-film { max-width: 26rem; margin-inline: auto; } }

/* Page du docteur : photo du cabinet à la place de la carte « parcours » */
.doc-photo { margin: 0; border-radius: 22px; overflow: hidden; background: var(--porcelain); box-shadow: 0 40px 80px -40px rgb(10 22 38 / 0.5), 0 0 0 1px rgb(10 22 38 / 0.06); }
.doc-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; }
@media (max-width: 860px) { .doc-photo { max-width: 34rem; margin-inline: auto; } }
/* Page du docteur : colonne photo plus large (la photo occupe la hauteur du texte) */
/* Téléphone : la photo du cabinet s'affiche après la présentation, avant les domaines d'activité */
.doc-photo-inline { display: none; }
@media (max-width: 960px) {
  .doc-photo-aside { display: none; }
  .doc-photo-inline { display: block; margin-block: 2rem 0.5rem; }
}
/* Pied de page : signature du créateur du site (lien WhatsApp) */
.author-sign { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: rgb(255 255 255 / 0.55); text-decoration: none; transition: color 0.2s ease; }
.author-sign .author-name { color: rgb(255 255 255 / 0.85); font-weight: 500; letter-spacing: 0.01em; }
.author-sign .icon { width: 0.95rem; height: 0.95rem; color: #25d366; opacity: 0.85; transition: opacity 0.2s ease, transform 0.2s ease; }
.author-sign:hover, .author-sign:focus-visible { color: rgb(255 255 255 / 0.8); }
.author-sign:hover .author-name, .author-sign:focus-visible .author-name { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #25d366; }
.author-sign:hover .icon, .author-sign:focus-visible .icon { opacity: 1; transform: scale(1.1); }
/* Page du docteur : portrait en grand à droite (PC) */
@media (min-width: 961px) { .about-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2.5rem, 4.5vw, 4.5rem); } }

/* ---------- Page du docteur : parcours, expertises, engagements ---------- */
.prose .career, .prose .expertise, .prose .commitments { list-style: none; padding: 0; margin: 1.3rem 0 0; }
.prose .career li::before, .prose .expertise li::before, .prose .commitments li::before { content: none; }
.prose .expertise li, .prose .commitments li { margin: 0; padding: 0; }
.prose .career li { margin: 0; }

/* Parcours : frise verticale */
.career { position: relative; display: grid; gap: 0; }
.career li { position: relative; display: grid; gap: 0.15rem; padding-block: 0 1.35rem; padding-inline-start: 2rem; }
.career li:last-child { padding-block-end: 0; }
.career li::after { content: ''; position: absolute; inset-inline-start: calc(0.45rem - 1px); top: 0.95rem; bottom: -0.35rem; width: 2px; background: linear-gradient(var(--line), var(--line)); }
.career li:last-child::after { display: none; }
.prose .career li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.42rem; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--white); border: 2px solid var(--cyan); box-sizing: border-box; z-index: 1; }
.prose .career li.is-current::before { background: var(--cyan); box-shadow: 0 0 0 5px rgb(42 143 196 / 0.14); }
.career-title { font-weight: 600; color: var(--ink); line-height: 1.4; }
.career-place { color: var(--ink-2); font-size: 0.96rem; line-height: 1.45; }

/* Expertises : cartes */
.expertise { display: grid; gap: 0.7rem; }
.expertise-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.1rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, var(--white), var(--porcelain)); color: var(--ink); text-decoration: none; transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s ease; }
.expertise-card:hover, .expertise-card:focus-visible { border-color: var(--cyan); box-shadow: 0 22px 40px -30px rgb(10 22 38 / 0.5); transform: translateY(-2px); }
.expertise-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--iris-soft); color: var(--iris); }
.expertise-icon .icon { width: 1.35rem; height: 1.35rem; }
.expertise-body { display: grid; gap: 0.3rem; min-width: 0; }
.expertise-title { font-weight: 600; line-height: 1.35; }
.expertise-text { color: var(--ink-2); font-size: 0.95rem; line-height: 1.5; }
.expertise-chevron { width: 1.1rem; height: 1.1rem; color: var(--cyan); opacity: 0.55; transition: opacity 0.2s ease, transform 0.2s ease; }
.expertise-card:hover .expertise-chevron { opacity: 1; transform: translateX(2px); }
[dir="rtl"] .expertise-chevron { transform: scaleX(-1); }
[dir="rtl"] .expertise-card:hover .expertise-chevron { transform: scaleX(-1) translateX(2px); }
@media (prefers-reduced-motion: reduce) { .expertise-card, .expertise-chevron { transition: none; } .expertise-card:hover { transform: none; } }

/* Engagements */
.prose .commitments { display: grid; gap: 0.7rem; padding: 1.15rem 1.25rem; border-inline-start: 3px solid var(--cyan); background: var(--iris-soft); border-radius: 0 14px 14px 0; }
[dir="rtl"] .commitments { border-radius: 14px 0 0 14px; }
.commitments li { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; line-height: 1.5; }
.commitments .icon { width: 1.1rem; height: 1.1rem; margin-top: 0.22rem; color: var(--cyan); }
@media (max-width: 640px) {
  .expertise-card { grid-template-columns: auto 1fr; gap: 0.9rem; padding: 1rem 1.05rem; }
  .expertise-chevron { display: none; }
  .expertise-icon { width: 2.4rem; height: 2.4rem; }
}
