/* =========================================================
   Clinique Barkat — Tindouf — feuille de style du site
   Réalisé par CB Digital
   ========================================================= */

:root {
  --navy: #00236f;
  --navy-700: #264191;
  --navy-100: #dce1ff;
  --navy-50: #eef1ff;
  --teal: #006a61;
  --teal-700: #005049;
  --teal-hover: #004f48;
  --mint: #89f5e7;
  --mint-100: #c9f1ec;
  --mint-50: #e6f7f5;
  --mauve: #5a3a73;
  --mauve-100: #ede4f4;
  --mauve-50: #f4eef8;
  --red: #ba1a1a;
  --red-700: #93000a;
  --red-100: #ffdad6;
  --ink: #191c1e;
  --muted: #444651;
  --muted-2: #757684;
  --line: #c5c5d3;
  --bg: #f7f9fb;
  --bg-alt: #f2f4f6;
  --white: #ffffff;
  --footer: #222a3e;
  --radius: 18px;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, .06);
  --shadow-md: 0 10px 28px rgba(0, 35, 111, .10);
  --font-title: 'Manrope', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
main { overflow-x: clip; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-hover); }
h1, h2, h3 { font-family: var(--font-title); margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; color: #fff; }

/* ---------- Mise en page ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight-top { padding-top: 0; }
.section-head { padding-bottom: 36px; }
.section-head--center { text-align: center; max-width: 680px; margin: 0 auto; }
.section-head--row {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px;
}
.eyebrow {
  font-size: 12px; font-weight: 800; color: var(--teal);
  text-transform: uppercase; letter-spacing: .08em;
}
.h2 {
  margin-top: 8px; font-weight: 700; font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.2; letter-spacing: -.02em; color: var(--navy);
}
.lead { font-size: 16px; line-height: 26px; color: var(--muted); }
.text-muted { color: var(--muted); }
.center { display: flex; justify-content: center; padding-top: 36px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 10px; border: 0;
  font: inherit; font-size: 15px; font-weight: 700; text-decoration: none;
  cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s;
}
.btn svg { flex-shrink: 0; }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 4px 14px -2px rgba(0, 106, 97, .35); }
.btn--primary:hover { background: var(--teal-hover); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: #001a55; color: #fff; }
.btn--white { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.btn--white:hover { color: var(--navy); background: var(--navy-50); }
.btn--outline { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--mint { background: var(--mint); color: #00201d; font-weight: 800; }
.btn--mint:hover { background: #a9fbf0; color: #00201d; }
.btn--lg { min-height: 54px; padding: 0 28px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 700; text-decoration: none;
}
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Icônes ---------- */
.icon-box {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.icon-box--lg { width: 56px; height: 56px; border-radius: 14px; }
.icon-box--sm { width: 40px; height: 40px; border-radius: 10px; }
.icon-box--blue { background: var(--navy-100); color: var(--navy); }
.icon-box--teal { background: var(--mint-100); color: var(--teal-700); }
.icon-box--mauve { background: var(--mauve-100); color: var(--mauve); }
.icon-box--red { background: var(--red-100); color: var(--red-700); }
.icon-box--mint { background: var(--mint); color: #00201d; }
.icon-box--solid-red { background: var(--red); color: #fff; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  box-shadow: 0 1px 8px rgba(0, 0, 0, .05);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo {
  width: 44px; height: 44px; border-radius: 12px; background: var(--navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand__logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.brand__text { display: flex; flex-direction: column; }
.brand__name {
  font-family: var(--font-title); font-weight: 800; font-size: 18px;
  color: var(--navy); letter-spacing: -.01em; line-height: 1.1;
}
.brand__tag {
  font-size: 11px; font-weight: 600; color: var(--teal);
  text-transform: uppercase; letter-spacing: .08em;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none;
  padding: 4px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 700; border-bottom-color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.phone-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  border-radius: 999px; background: var(--bg-alt); color: var(--ink);
  font-size: 14px; font-weight: 600; text-decoration: none;
}
.phone-pill svg { color: var(--red); }
.phone-pill:hover { color: var(--navy); background: var(--navy-50); }
.header-actions .btn { min-height: 44px; padding: 0 20px; font-size: 14px; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: var(--bg-alt); }
.lang-switch__item {
  min-width: 36px; height: 34px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif;
}
.lang-switch__item:hover { color: var(--navy); background: #fff; }
.lang-switch__item.is-active { background: var(--navy); color: #fff; }
.header-mobile { display: none; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--navy); align-items: center; justify-content: center; cursor: pointer;
}
.mobile-menu { display: none; }

@media (max-width: 1100px) {
  .phone-pill { display: none; }
}
@media (max-width: 960px) {
  .nav, .header-actions { display: none; }
  .header-mobile { display: flex; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu {
    display: block; border-top: 1px solid #eceef0; background: #fff;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .mobile-menu.is-open { max-height: 480px; }
  .mobile-menu nav { display: flex; flex-direction: column; padding: 12px 24px 20px; }
  .mobile-menu nav a {
    padding: 14px 0; font-size: 16px; font-weight: 600; color: var(--ink);
    text-decoration: none; border-bottom: 1px solid #eceef0;
  }
  .mobile-menu nav a[aria-current="page"] { color: var(--teal); }
  .mobile-menu .btn { margin-top: 16px; }
  .brand__name { font-size: 15px; }
}

/* ---------- Placeholders photo ---------- */
.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 16px; background: #e6e8ea; border: 2px dashed #a4acc5;
  border-radius: var(--radius); color: var(--navy-700); font-size: 14px; font-weight: 700;
  width: 100%; height: 100%;
}
.placeholder--gradient { background: linear-gradient(160deg, var(--navy-100) 0%, var(--mint-100) 100%); border-color: #8fa0d6; }
.placeholder small { font-size: 13px; font-weight: 500; color: var(--muted); }
.photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

/* ---------- Hero accueil ---------- */
.hero { padding: 64px 0 80px; }
.hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero__content { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__media { flex: 1 1 380px; min-width: 0; position: relative; height: 500px; }
.pill-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--mint-50); width: fit-content;
  font-size: 12px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .06em;
}
.pill-badge::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: var(--teal); }
.h1 {
  font-weight: 700; font-size: clamp(34px, 5vw, 56px); line-height: 1.08;
  letter-spacing: -.03em; color: var(--navy);
}
.hero__text { font-size: 18px; line-height: 28px; color: var(--muted); max-width: 580px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--teal); }
.floating-card {
  position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .95); box-shadow: 0 8px 24px rgba(0, 35, 111, .15);
  display: flex; align-items: center; gap: 14px;
}
.floating-card__title { font-family: var(--font-title); font-weight: 700; font-size: 17px; }
.floating-card__sub { font-size: 13px; font-weight: 600; color: var(--teal); }

/* ---------- Cartes infos pratiques ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.info-card {
  padding: 22px; border-radius: 16px; background: #fff; box-shadow: 0 2px 10px rgba(0, 35, 111, .06);
  display: flex; gap: 14px; align-items: flex-start;
}
.info-card__title { font-family: var(--font-title); font-size: 16px; font-weight: 700; color: var(--navy); }
.info-card__text { font-size: 14px; line-height: 21px; color: var(--muted); padding-top: 2px; }
.info-card--dark { background: var(--navy); }
.info-card--dark .info-card__title { color: #fff; }
.info-card__big { font-family: var(--font-title); font-size: 18px; font-weight: 800; color: var(--mint); padding-top: 2px; }
.info-card--dark a { text-decoration: none; }

/* ---------- Présentation (split) ---------- */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split__media { flex: 1 1 420px; min-width: 0; }
.split__body { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.photo-grid__tall { grid-row: span 2; min-height: 380px; }
.photo-grid__small { min-height: 182px; }
.stat-tile {
  min-height: 182px; border-radius: var(--radius); background: var(--navy); color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 20px;
}
.stat-tile__num { font-family: var(--font-title); font-weight: 800; font-size: 44px; line-height: 1; color: var(--mint); }
.stat-tile__label { font-size: 15px; font-weight: 700; }
.checks--navy .check { color: var(--navy); }
.checks--navy .check svg { color: var(--teal); }

/* ---------- Spécialités (cartes compactes accueil) ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.spec-card {
  padding: 22px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.spec-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 35, 111, .12); }
.spec-card__name { font-family: var(--font-title); font-weight: 700; font-size: 17px; line-height: 23px; color: var(--navy); }
.spec-card__pole {
  font-size: 12px; font-weight: 700; color: var(--teal);
  text-transform: uppercase; letter-spacing: .05em; padding-top: 2px;
}

/* ---------- Plateau technique ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card-grid--240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card-grid--300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card-grid--320 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.media-card { border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.media-card__img { height: 170px; }
.media-card__img .placeholder, .media-card__img .photo { border-radius: 0; border-width: 0 0 2px 0; }
.media-card__body { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.card-title { font-size: 19px; font-weight: 700; color: var(--navy); }
.card-text { font-size: 14px; line-height: 21px; color: var(--muted); }

/* ---------- Parcours ---------- */
.step-card { padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.step-num {
  width: 40px; height: 40px; border-radius: 999px; background: var(--teal); color: #fff;
  font-family: var(--font-title); font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.step-card h3 { margin: 16px 0 6px; font-size: 18px; color: var(--navy); }

/* ---------- FAQ ---------- */
.faq-layout { display: flex; flex-wrap: wrap; gap: 48px; }
.faq-layout__intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.faq-layout__list { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: 14px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); }
.faq-q {
  width: 100%; min-height: 60px; padding: 18px 22px; border: 0; background: transparent;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: start;
  cursor: pointer; font: inherit; font-size: 16px; font-weight: 700; color: var(--navy);
}
.faq-icon {
  width: 34px; height: 34px; border-radius: 999px; background: var(--mint-50); color: var(--teal);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .25s, background .25s, color .25s;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 20px; font-size: 15px; line-height: 24px; color: var(--muted); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ---------- Bandeau contact ---------- */
.cta-band {
  border-radius: 24px; background: var(--navy); padding: 56px 48px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px;
  border-radius: 999px; border: 50px solid rgba(137, 245, 231, .07); pointer-events: none;
}
.cta-band__body { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.cta-band .eyebrow { color: var(--mint); }
.cta-band h2 { font-weight: 700; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; letter-spacing: -.02em; color: #fff; }
.cta-band p { font-size: 16px; line-height: 25px; color: #d4dbf5; }
.cta-band .btn { position: relative; z-index: 1; }
.cta-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 6px; }
.cta-meta span { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: #fff; }
.cta-meta svg { color: var(--mint); }
@media (max-width: 600px) { .cta-band { padding: 40px 24px; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--footer); color: #bec6e0; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-bottom: 36px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col__title { font-family: var(--font-title); font-weight: 700; font-size: 16px; color: #fff; }
.footer-brand { font-family: var(--font-title); font-weight: 800; font-size: 17px; color: #fff; }
.footer-col a { color: #bec6e0; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #384055; padding-top: 20px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px;
}
.footer-bottom a { color: #bec6e0; }

/* ---------- Bannière des pages intérieures ---------- */
.page-banner { background: var(--navy); padding: 72px 0 80px; position: relative; overflow: hidden; }
.page-banner--overlap { padding-bottom: 120px; }
.page-banner::before {
  content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border-radius: 999px; border: 60px solid rgba(137, 245, 231, .08);
}
.page-banner__inner { position: relative; display: flex; flex-direction: column; gap: 16px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.breadcrumb a { color: #bfc9f0; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: '/'; color: #7f8bbf; margin-inline-end: 8px; }
.breadcrumb [aria-current] { color: var(--mint); }
.page-banner h1 { font-weight: 700; font-size: clamp(34px, 5vw, 54px); line-height: 1.1; letter-spacing: -.03em; color: #fff; max-width: 820px; }
.page-banner p { font-size: 18px; line-height: 28px; color: #d4dbf5; max-width: 680px; }

/* ---------- À propos ---------- */
.story-media { position: relative; height: 460px; }
.since-badge {
  position: absolute; inset-inline-end: -12px; bottom: -24px; padding: 20px 24px; border-radius: 16px;
  background: var(--teal); color: #fff; box-shadow: 0 12px 28px rgba(0, 106, 97, .3);
}
.since-badge small { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--mint-100); }
.since-badge strong { font-family: var(--font-title); font-weight: 800; font-size: 34px; line-height: 1.1; }
@media (max-width: 600px) { .since-badge { inset-inline-end: 12px; } .story-media { height: 360px; } }
.stats-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 8px; }
.stat-mini { padding: 16px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.stat-mini strong { display: block; font-family: var(--font-title); font-weight: 800; font-size: 30px; color: var(--navy); }
.stat-mini:nth-child(2) strong { color: var(--teal); }
.stat-mini span { font-size: 13px; font-weight: 600; color: var(--muted); }
.mv-card { padding: 36px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.mv-card h3 { font-size: 24px; color: var(--navy); }
.mv-card p { font-size: 16px; line-height: 26px; color: var(--muted); }
.mv-card--dark { background: var(--navy); }
.mv-card--dark h3 { color: #fff; }
.mv-card--dark p { color: #d4dbf5; }
.value-card { padding: 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.pole-card { padding: 30px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; }
.pole-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pole-card__head h3 { font-size: 22px; color: var(--navy); }
.count-badge { font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.count-badge--consultation { background: var(--mint-50); color: var(--teal-700); }
.count-badge--chirurgie { background: var(--navy-50); color: var(--navy); }
.count-badge--diagnostic { background: var(--mauve-50); color: var(--mauve); }
.dot-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.dot-list li { display: flex; gap: 10px; align-items: center; }
.dot-list li::before { content: ''; width: 7px; height: 7px; border-radius: 99px; background: currentColor; flex-shrink: 0; }
.dot-list--consultation li::before { background: var(--teal); }
.dot-list--chirurgie li::before { background: var(--navy); }
.dot-list--diagnostic li::before { background: var(--mauve); }
.team-card { border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); }
.team-card__img { height: 260px; }
.team-card__img .placeholder, .team-card__img .photo { border-radius: 0; border-width: 0 0 2px 0; }
.team-card__body { padding: 18px 20px; }
.team-card__name { font-family: var(--font-title); font-size: 17px; font-weight: 700; color: var(--navy); }
.team-card__role { font-size: 13px; font-weight: 600; color: var(--teal); padding-top: 2px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.gallery-grid > * { height: 220px; }

/* ---------- Page spécialités ---------- */
.filter-bar {
  margin-top: -56px; position: relative; z-index: 2; padding: 24px; border-radius: 20px; background: #fff;
  box-shadow: 0 12px 32px rgba(0, 35, 111, .10);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.search { flex: 1 1 320px; min-width: 0; position: relative; }
.search svg { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
.search input {
  width: 100%; height: 52px; padding-block: 0; padding-inline: 48px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg); font: inherit; font-size: 15px;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--navy); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .2s, color .2s;
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }
.result-count { margin: 0 0 20px; font-size: 14px; font-weight: 600; color: var(--muted); }
.spec-full-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
@media (max-width: 420px) { .spec-full-grid { grid-template-columns: 1fr; } }
.spec-full {
  padding: 28px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px; transition: transform .25s, box-shadow .25s;
}
.spec-full:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 35, 111, .12); }
.spec-full[hidden] { display: none; }
.spec-full__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.spec-full h3 { font-size: 21px; line-height: 28px; color: var(--navy); }
.spec-full p { font-size: 15px; line-height: 23px; color: var(--muted); flex: 1; }
.spec-full__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 14px; border-top: 1px solid #eceef0;
}
.spec-full__ar { font-size: 14px; font-weight: 600; color: var(--muted-2); }
.btn-soft {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px;
  background: var(--mint-50); color: var(--teal-700); font-size: 14px; font-weight: 700; text-decoration: none;
}
.btn-soft:hover { background: var(--mint-100); color: var(--teal-700); }
.pole-badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 5px 11px; border-radius: 999px; }
.pole-badge--consultation { background: var(--mint-50); color: var(--teal-700); }
.pole-badge--chirurgie { background: var(--navy-50); color: var(--navy); }
.pole-badge--diagnostic { background: var(--mauve-50); color: var(--mauve); }
.empty-state {
  padding: 48px 24px; border-radius: 20px; background: #fff; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.empty-state[hidden] { display: none; }
.empty-state h3 { font-size: 20px; color: var(--navy); }
.mini-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.mini-step { padding: 22px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.mini-step b { font-family: var(--font-title); font-weight: 800; font-size: 15px; color: var(--teal); }
.mini-step strong { display: block; font-family: var(--font-title); font-size: 17px; color: var(--navy); padding-top: 6px; }
.mini-step span { display: block; font-size: 14px; line-height: 21px; color: var(--muted); padding-top: 4px; }

/* ---------- Page contact ---------- */
.contact-cards { margin-top: -72px; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.contact-card {
  padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 10px; text-decoration: none; transition: transform .25s, box-shadow .25s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0, 35, 111, .14); }
.contact-card__label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.contact-card__value { font-family: var(--font-title); font-size: 19px; font-weight: 800; color: var(--navy); word-break: break-word; }
.contact-card__hint { font-size: 13px; color: var(--muted); }
.contact-card--dark { background: var(--navy); }
.contact-card--dark .contact-card__label { color: var(--mint); }
.contact-card--dark .contact-card__value { color: #fff; }
.contact-card--dark .contact-card__hint { color: #d4dbf5; }
.contact-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.form-card { flex: 999 1 560px; min-width: 0; padding: 36px; border-radius: 22px; background: #fff; box-shadow: 0 8px 28px rgba(0, 35, 111, .08); }
@media (max-width: 600px) { .form-card { padding: 24px 18px; } }
.form-card h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.02em; color: var(--navy); }
.form-card__intro { margin: 6px 0 22px; font-size: 15px; line-height: 23px; color: var(--muted); }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 14px; background: var(--bg-alt); margin-bottom: 24px; }
.tab {
  min-height: 44px; padding: 0 18px; border-radius: 10px; border: 0; background: transparent;
  color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.tab[aria-selected="true"] { background: #fff; color: var(--navy); font-weight: 700; box-shadow: 0 1px 4px rgba(0, 0, 0, .10); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.form-grid[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 13px; font-weight: 700; }
.input {
  width: 100%; height: 50px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); font: inherit; font-size: 15px; color: var(--ink);
}
textarea.input { height: auto; padding: 12px 14px; resize: vertical; }
.input:focus { outline: 3px solid var(--mint); outline-offset: 1px; border-color: var(--teal); }
.input.is-invalid { border-color: var(--red); background: #fff8f7; }
.field-error { font-size: 13px; color: var(--red); font-weight: 600; }
fieldset.field { margin: 0; padding: 0; border: 0; }
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); font-size: 14px; font-weight: 600; cursor: pointer;
}
.radio-pill:has(input:checked) { border-color: var(--teal); background: var(--mint-50); color: var(--teal-700); }
.radio-pill input { accent-color: var(--teal); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form-foot small { font-size: 12px; color: var(--muted); }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.alert { padding: 22px; border-radius: 16px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.alert--success { background: var(--mint-50); }
.alert--success strong { color: var(--teal-700); }
.alert--error { background: var(--red-100); }
.alert--error strong { color: var(--red-700); }
.alert strong { display: block; font-family: var(--font-title); font-size: 18px; }
.alert p { font-size: 15px; line-height: 23px; padding-top: 4px; }
.aside { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hours-card { padding: 28px; border-radius: 22px; background: var(--navy); color: #fff; }
.hours-card h2 { font-size: 21px; color: #fff; display: flex; align-items: center; gap: 10px; padding-bottom: 12px; }
.hours-card h2 svg { color: var(--mint); }
.hours-card dl { margin: 0; }
.hours-card dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.hours-card dl > div:last-child { border-bottom: 0; }
.hours-card dt { font-size: 14px; color: #d4dbf5; }
.hours-card dd { margin: 0; font-size: 14px; font-weight: 700; text-align: end; }
.urgence-card { padding: 24px; border-radius: 22px; background: var(--red-100); display: flex; gap: 14px; align-items: flex-start; }
.urgence-card strong { font-family: var(--font-title); font-size: 17px; color: var(--red-700); }
.urgence-card p { font-size: 14px; line-height: 21px; color: #410002; padding-top: 4px; }
.social-card { padding: 24px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.social-card strong { display: block; font-family: var(--font-title); font-size: 17px; color: var(--navy); padding-bottom: 12px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 44px; height: 44px; border-radius: 12px; background: var(--bg-alt); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.social-links a:hover { background: var(--navy); color: #fff; }
.access { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.access__info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.access__list { display: flex; flex-direction: column; gap: 12px; }
.access__item { padding: 18px; border-radius: 14px; background: #fff; display: flex; gap: 14px; align-items: flex-start; }
.access__item strong { display: block; font-size: 15px; color: var(--navy); }
.access__item span { font-size: 14px; line-height: 21px; color: var(--muted); }
.access__map { flex: 2 1 520px; min-width: 0; min-height: 440px; border-radius: 22px; overflow: hidden; }
.access__map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }

/* ---------- Page rendez-vous ---------- */
.rdv-banner {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin-bottom: 24px;
  border-radius: 14px; background: var(--navy); color: #fff; text-decoration: none; transition: background .2s;
}
.rdv-banner:hover { background: #001a55; color: #fff; }
.rdv-banner > svg { margin-inline-start: auto; color: var(--mint); flex-shrink: 0; }
.rdv-banner__text { display: flex; flex-direction: column; }
.rdv-banner__text strong { font-family: var(--font-title); font-size: 16px; }
.rdv-banner__text span { font-size: 14px; color: #d4dbf5; }
.rdv-form { display: flex; flex-direction: column; gap: 28px; }
.rdv-step { margin: 0; padding: 24px 0 0; border: 0; border-top: 1px solid #eceef0; min-width: 0; }
.rdv-step:first-child { border-top: 0; padding-top: 0; }
.rdv-step > .form-grid { clear: both; }
.rdv-step__title {
  float: left; width: 100%;
  display: flex; align-items: center; gap: 12px; padding: 0 0 18px;
  font-family: var(--font-title); font-size: 19px; font-weight: 700; color: var(--navy);
}
.rdv-step__num {
  width: 32px; height: 32px; border-radius: 999px; background: var(--teal); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800;
}
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 21px; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--teal); flex-shrink: 0; }
.rdv-photo { height: 220px; border-radius: 22px; overflow: hidden; }
.rdv-photo .photo { border-radius: 22px; }
.rdv-howto { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.rdv-howto li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 21px; color: var(--muted); }
.rdv-howto b {
  width: 26px; height: 26px; border-radius: 999px; background: var(--mint-50); color: var(--teal);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px;
}
.rdv-call { display: flex; gap: 14px; align-items: center; text-decoration: none; transition: background .2s; }
.rdv-call:hover { background: #001a55; color: #fff; }
.rdv-call > span:last-child { display: flex; flex-direction: column; }
.rdv-call__label { font-size: 14px; color: #d4dbf5; }
.rdv-call__num { font-family: var(--font-title); font-size: 22px; font-weight: 800; color: var(--mint); }
.rdv-call__hint { font-size: 13px; color: #bfc9f0; }
optgroup { font-weight: 700; color: var(--navy); }

/* =========================================================
   Arabe : sens de lecture droite → gauche (RTL) et typographie
   ========================================================= */
[dir="rtl"] {
  --font-title: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
}
[dir="rtl"] body { line-height: 1.75; }
/* L'arabe ne supporte pas l'espacement des lettres ni les majuscules */
[dir="rtl"] body * { letter-spacing: 0 !important; }
[dir="rtl"] .eyebrow, [dir="rtl"] .brand__tag, [dir="rtl"] .pill-badge, [dir="rtl"] .spec-card__pole,
[dir="rtl"] .pole-badge, [dir="rtl"] .contact-card__label, [dir="rtl"] .since-badge small { text-transform: none; font-size: 13px; }
[dir="rtl"] .h1, [dir="rtl"] .page-banner h1 { line-height: 1.3; font-weight: 800; }
[dir="rtl"] .h2, [dir="rtl"] .cta-band h2, [dir="rtl"] .form-card h2 { line-height: 1.4; font-weight: 800; }
[dir="rtl"] h3 { line-height: 1.5; }
[dir="rtl"] .brand__name { font-size: 20px; line-height: 1.3; }
[dir="rtl"] .hero__text, [dir="rtl"] .lead, [dir="rtl"] .page-banner p { line-height: 1.9; }
[dir="rtl"] .field label, [dir="rtl"] .field legend { font-size: 14px; }
/* Flèches orientées dans le sens de lecture */
[dir="rtl"] .icon--arrow { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .rdv-step__title { float: right; }
/* Numéros de téléphone, e-mails : toujours de gauche à droite */
[dir="ltr"] { unicode-bidi: isolate; }
[dir="rtl"] .contact-card__value[dir="ltr"], [dir="rtl"] .rdv-call__num, [dir="rtl"] .info-card__big { text-align: right; }
[dir="rtl"] input[dir="ltr"] { text-align: right; }
[dir="rtl"] input[dir="ltr"]::placeholder { text-align: right; }
/* Décor des bannières en miroir */
[dir="rtl"] .page-banner::before { right: auto; left: -120px; }
[dir="rtl"] .cta-band::after { right: auto; left: -80px; }

/* ---------- Numéros de téléphone (plusieurs lignes) ---------- */
a.info-card__big, a.contact-card__value, a.rdv-call__num, a.cta-meta__tel { display: block; text-decoration: none; }
a.info-card__big:hover, a.rdv-call__num:hover, a.cta-meta__tel:hover { color: #fff; }
a.contact-card__value:hover { color: var(--teal); }
a.cta-meta__tel { color: #fff; }
.cta-meta > span { flex-wrap: wrap; }
a.cta-meta__tel { display: inline; }
a.cta-meta__tel + a.cta-meta__tel { margin-left: 4px; padding-left: 12px; border-left: 1px solid rgba(137, 245, 231, .5); }
/* Le numéro est en dir="ltr" : en arabe, le séparateur doit être placé à sa droite */
[dir="rtl"] a.cta-meta__tel + a.cta-meta__tel { margin-left: 0; padding-left: 0; border-left: 0; margin-right: 4px; padding-right: 12px; border-right: 1px solid rgba(137, 245, 231, .5); }
.footer-col a[dir="ltr"] { text-align: start; }
[dir="rtl"] .footer-col a[dir="ltr"] { text-align: right; }

/* ---------- Animations au défilement ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
  .js [data-reveal="up"] { transform: translateY(40px); }
  .js [data-reveal="left"] { transform: translateX(-60px); }
  .js [data-reveal="right"] { transform: translateX(60px); }
  .js [data-reveal="zoom"] { transform: scale(.92); }
  [dir="rtl"].js [data-reveal="left"] { transform: translateX(60px); }
  [dir="rtl"].js [data-reveal="right"] { transform: translateX(-60px); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
  @media (max-width: 760px) {
    .js [data-reveal="left"], .js [data-reveal="right"],
    [dir="rtl"].js [data-reveal="left"], [dir="rtl"].js [data-reveal="right"] { transform: translateY(40px); }
  }
  .js [data-stagger] > * { opacity: 0; transform: translateY(32px); transition: opacity .6s ease, transform .6s ease; }
  .js [data-stagger].is-visible > * { opacity: 1; transform: none; }
  .js [data-stagger].is-visible > *:nth-child(2) { transition-delay: .08s; }
  .js [data-stagger].is-visible > *:nth-child(3) { transition-delay: .16s; }
  .js [data-stagger].is-visible > *:nth-child(4) { transition-delay: .24s; }
  .js [data-stagger].is-visible > *:nth-child(5) { transition-delay: .32s; }
  .js [data-stagger].is-visible > *:nth-child(6) { transition-delay: .40s; }
  .js [data-stagger].is-visible > *:nth-child(7) { transition-delay: .48s; }
  .js [data-stagger].is-visible > *:nth-child(8) { transition-delay: .56s; }
  .js [data-stagger].is-visible > *:nth-child(n+9) { transition-delay: .6s; }
  /* Les cartes gardent leur effet de survol après l'apparition */
  .js [data-stagger].is-visible > .spec-card:hover,
  .js [data-stagger].is-visible > .spec-full:hover,
  .js [data-stagger].is-visible > .contact-card:hover { transform: translateY(-4px); transition-delay: 0s; }
  .hero-in { animation: heroIn .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-in--2 { animation-delay: .2s; }
  @keyframes heroIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
}
