/* ==========================================================================
   L'Oliveraie — site vitrine
   Mobile d'abord. Points de rupture : 640 / 960 / 1200 px.
   Propriétés logiques (inline-start/end) pour la version arabe (RTL).
   ========================================================================== */

/* ---------- Polices (locales) ---------- */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/dmsans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/dmsans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/tajawal-400-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/tajawal-500-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/tajawal-700-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/tajawal-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/tajawal-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/tajawal-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }

/* ---------- Jetons ---------- */
:root {
  --blue-900: #0f2d4f;
  --blue-700: #17406d;
  --blue-500: #2a5f99;
  --blue-100: #e6eef6;
  --accent: #e9773f;
  --accent-soft: #fde9dd;
  --accent-ink: #a8470f;      /* orange assombri : lisible en petit texte sur fond clair */
  --sage: #5a7048;
  --sage-100: #eaf0e4;
  --bg: #f7f8f5;
  --white: #ffffff;
  --ink: #1d2733;
  --muted: #55616e;
  --line: #dfe4dc;
  --wa: #128c4b;

  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 45, 79, .06), 0 4px 14px rgba(15, 45, 79, .06);
  --shadow-md: 0 2px 6px rgba(15, 45, 79, .07), 0 18px 40px rgba(15, 45, 79, .10);
  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --header-h: 68px;
}
html[lang="ar"] {
  --font-body: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-head: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body);
  font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[lang="ar"] body { line-height: 1.85; font-size: 1.125rem; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 560; line-height: 1.15; letter-spacing: -.01em;
  margin: 0; color: var(--blue-900); text-wrap: balance; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-weight: 700; line-height: 1.4; letter-spacing: 0; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; line-height: 1.3; }
p { margin: 0; }
a { color: var(--blue-700); text-underline-offset: .18em; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue-700); color: #fff; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100; background: var(--blue-900); color: #fff;
  padding: .7rem 1rem; border-radius: var(--radius-sm); transition: top .15s; }
.skip:focus { top: 1rem; }

.icon { width: 1.35em; height: 1.35em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .icon-flip { transform: scaleX(-1); }

.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink);
  margin-bottom: .9rem; }
html[lang="ar"] .kicker { letter-spacing: 0; font-size: 1rem; }
.kicker-light { color: #ffc7a6; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center-text { text-align: center; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px;
  padding: .7rem 1.35rem; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 650;
  line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: .5rem 1.05rem; font-size: .95rem; }
.btn-accent { background: var(--accent); color: var(--blue-900); box-shadow: 0 8px 20px rgba(233, 119, 63, .28); }
.btn-accent:hover { background: #f08a56; }
.btn-primary { background: var(--blue-700); color: #fff; }
.btn-primary:hover { background: var(--blue-900); box-shadow: var(--shadow-md); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--blue-900); border-color: #fff; }
.btn-wa { background: #fff; color: #0b6b38; border-color: #bfe3cf; min-height: 44px; padding: .5rem 1rem; font-size: .95rem; }
.btn-wa:hover { background: var(--wa); color: #fff; border-color: var(--wa); }
.btn-wa-solid { background: var(--wa); color: #fff; border-color: var(--wa); min-height: 48px; padding: .7rem 1.35rem; font-size: 1rem; }
.btn-wa-solid:hover { background: #0b6b38; border-color: #0b6b38; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(15, 45, 79, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--blue-900); }
.logo-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-family: "Fraunces", Georgia, serif; font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
.brand-text small { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
html[lang="ar"] .brand-text small { letter-spacing: 0; font-size: .85rem; }
.nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--blue-900); cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: #fff; border-top: 1px solid var(--line);
  box-shadow: var(--shadow-md); padding: 1rem var(--gutter) 1.4rem; flex-direction: column; gap: 1rem; }
.nav.is-open { display: flex; }
.nav-links { display: grid; gap: .15rem; }
.nav-links a { display: block; padding: .8rem .6rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink);
  font-weight: 550; }
.nav-links a:hover { background: var(--blue-100); }
.nav-links a[aria-current="page"] { color: var(--blue-700); background: var(--blue-100); }
.lang { display: inline-flex; align-self: flex-start; padding: 3px; border-radius: 999px; background: var(--blue-100); gap: 2px; }
.lang a { min-width: 40px; padding: .3rem .65rem; border-radius: 999px; text-align: center; text-decoration: none;
  font-size: .82rem; font-weight: 700; color: var(--blue-700); line-height: 1.5; }
.lang a[lang="ar"] { font-family: "Tajawal", "Segoe UI", Tahoma, sans-serif; font-size: .95rem; line-height: 1.3; }
.lang a:hover { background: rgba(255, 255, 255, .7); }
.lang a[aria-current="true"] { background: var(--blue-700); color: #fff; }

@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 1.1rem; padding: 0; border: 0;
    box-shadow: none; background: none; }
  .nav-links { display: flex; gap: .1rem; }
  .nav-links a { padding: .5rem .8rem; font-size: .98rem; position: relative; }
  .nav-links a:hover, .nav-links a[aria-current="page"] { background: none; color: var(--blue-700); }
  .nav-links a::after { content: ""; position: absolute; inset-inline: .8rem; bottom: .2rem; height: 2px; border-radius: 2px;
    background: var(--accent); transform: scaleX(0); transition: transform .2s ease; }
  .nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
  .lang { align-self: center; }
}

/* ---------- Bandeau d'accueil ---------- */
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(540px, 78vh, 720px);
  color: #fff; overflow: hidden; background: var(--blue-900); }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media { z-index: -2; }
.hero-img, .page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img { opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 7s ease-out; }
.hero-img.is-active { opacity: 1; transform: scale(1); }
.hero-overlay { z-index: -1; background:
  linear-gradient(90deg, rgba(15, 45, 79, .94) 0%, rgba(15, 45, 79, .80) 42%, rgba(15, 45, 79, .30) 100%),
  linear-gradient(0deg, rgba(15, 45, 79, .55), rgba(15, 45, 79, 0) 45%); }
[dir="rtl"] .hero-overlay { transform: scaleX(-1); }
.hero-content { padding-block: clamp(3.5rem, 9vw, 6rem) clamp(6rem, 12vw, 8.5rem); }
.hero h1 { color: #fff; max-width: 17ch; }
html[lang="ar"] .hero h1 { max-width: 20ch; }
.hero-messages { display: grid; margin-top: 1.4rem; max-width: 44ch; }
.hero-msg { grid-area: 1 / 1; font-size: clamp(1.1rem, 2vw, 1.35rem); color: #dbe7f3; opacity: 0; transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease; padding-inline-start: 1rem; border-inline-start: 3px solid var(--accent); }
.hero-msg.is-active { opacity: 1; transform: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero-dots { display: flex; gap: .5rem; margin-top: 2.4rem; }
.hero-dot { width: 34px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.hero-dot::before { content: ""; position: absolute; inset-inline: 0; top: 10px; height: 4px; border-radius: 4px;
  background: rgba(255, 255, 255, .35); transition: background-color .3s; }
.hero-dot.is-active::before { background: var(--accent); }

/* ---------- Bandeau des pages intérieures ---------- */
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--blue-900); overflow: hidden; }
.page-hero-img { z-index: -2; }
.page-hero-content { padding-block: clamp(3rem, 8vw, 5.5rem) clamp(4.5rem, 10vw, 7rem); }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #dbe7f3; margin-top: 1rem; font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 48ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .9rem; color: #c3d4e6; margin-bottom: 1.2rem; }
.crumbs a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .45); }
.page-doctors .page-hero-content { padding-bottom: clamp(3rem, 8vw, 5.5rem); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-tint { background: var(--white); }
.section-sage { background: var(--sage-100); }
.section-dark { background: var(--blue-900); color: #dbe7f3; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .kicker { color: #ffc7a6; }
.section-dark .lead { color: #c3d4e6; }
.section-head { margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head .lead { margin-top: 1rem; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }

.grid-3, .grid-4 { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 800px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-3, .grid-4 { gap: 1.4rem; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .25s ease, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cdd8cf; }
.card h2, .card h3 { font-size: 1.25rem; margin-block: 1.1rem .5rem; }
.card p { color: var(--muted); font-size: 1rem; }
.icon-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--blue-100); color: var(--blue-700); }
.icon-badge .icon { width: 26px; height: 26px; }
.card:nth-child(3n + 2) .icon-badge { background: var(--accent-soft); color: var(--accent-ink); }
.card:nth-child(3n) .icon-badge { background: var(--sage-100); color: var(--sage); }

/* Cartes qui chevauchent le bandeau */
.pillars { position: relative; z-index: 2; margin-top: clamp(-5rem, -7vw, -3.2rem); }
.pillars .card { box-shadow: var(--shadow-md); }
a.anchor { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.anchor .more { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: 1.1rem; font-weight: 650;
  color: var(--blue-700); }
.anchor:hover .more .icon { transform: translateX(4px); }
[dir="rtl"] .anchor:hover .more .icon { transform: scaleX(-1) translateX(4px); }
.anchor .more .icon { transition: transform .2s; }

/* Chiffres */
.stats { padding-block: clamp(2.5rem, 6vw, 4rem) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
.stat { display: flex; flex-direction: column; padding-inline-start: 1rem; border-inline-start: 3px solid var(--accent); }
.stat dd { font-family: var(--font-head); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 600; color: var(--blue-700); line-height: 1.05; }
.stat dt { color: var(--muted); font-size: .98rem; margin-top: .35rem; }
@media (min-width: 800px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* Texte + visuel */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1.05fr 1fr; } .split-top { align-items: start; } }
.split .section-head { margin-bottom: 1.6rem; }
.prose { display: grid; gap: 1.1rem; color: #36434f; }
.points { display: grid; gap: 1.15rem; margin-bottom: 2rem; }
.points li { display: flex; gap: .9rem; align-items: flex-start; }
.points strong { display: block; color: var(--blue-900); font-size: 1.05rem; }
.points span { color: var(--muted); font-size: 1rem; }
.tick { flex: none; display: grid; place-items: center; width: 30px; height: 30px; margin-top: .15rem; border-radius: 50%;
  background: var(--sage-100); }
.tick .icon { width: 17px; height: 17px; stroke-width: 2.2; color: var(--sage); }

.mosaic { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: .9rem; aspect-ratio: 1 / .92; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.mosaic-a { grid-row: 1 / 3; }
.mosaic-b { object-position: 75% 50%; }
.framed { position: relative; }
.framed img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-md); }
.framed::before { content: ""; position: absolute; z-index: -1; inset-block: 1.4rem -1.1rem; inset-inline: 1.4rem -1.1rem;
  border-radius: 22px; background: var(--sage-100); }

/* Section sombre */
.sci-card, .section-dark .card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: none; }
.section-dark .card:hover { border-color: rgba(255, 255, 255, .3); box-shadow: none; }
.sci-card h3, .section-dark .card h3 { font-size: 1.15rem; margin-block: 1.1rem .5rem; }
.sci-card p, .section-dark .card p { color: #c3d4e6; font-size: .98rem; }
.section-dark .icon-badge, .section-dark .card:nth-child(n) .icon-badge { background: rgba(233, 119, 63, .18); color: #ffc7a6; }
.gallery { display: grid; gap: .9rem; margin-top: 1.6rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* Équipe */
.roles { display: grid; gap: .7rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); }
.roles li { display: flex; gap: .7rem; align-items: flex-start; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.roles li:last-child { border: 0; padding-bottom: 0; }
.roles .icon { color: var(--sage); stroke-width: 2.2; margin-top: .2rem; width: 1.15em; height: 1.15em; }

/* ---------- Médecins ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { min-height: 44px; padding: .45rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  color: var(--ink); font: inherit; font-weight: 600; font-size: .97rem; cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--blue-500); color: var(--blue-700); }
.chip.is-active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.doc-grid { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .doc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .doc-grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }
.doc-card { display: flex; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .25s; }
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.doc-card[hidden] { display: none; }
.avatar { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 600; margin-bottom: 1.1rem; }
.avatar-0 { background: var(--blue-100); color: var(--blue-700); }
.avatar-1 { background: var(--accent-soft); color: var(--accent-ink); }
.avatar-2 { background: var(--sage-100); color: var(--sage); }
.doc-name { font-size: 1.22rem; }
.doc-title { color: var(--blue-700); font-weight: 650; font-size: .97rem; margin-top: .3rem; }
.doc-focus { color: var(--muted); font-size: .95rem; margin-top: .3rem; margin-bottom: 1.2rem; }
.doc-card .btn { margin-top: auto; }
.center-cta { text-align: center; margin-top: 2.2rem; }
.note { display: flex; gap: .8rem; align-items: flex-start; margin-top: 2.2rem; padding: 1.1rem 1.3rem; border-radius: var(--radius);
  background: var(--sage-100); color: #36434f; font-size: 1rem; }
.note .icon { color: var(--wa); margin-top: .2rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .7rem; }
.faq-item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item[open] { background: #fff; box-shadow: var(--shadow-sm); border-color: #cdd8cf; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem;
  cursor: pointer; font-weight: 650; color: var(--blue-900); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform .25s; color: var(--accent-ink); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-body { padding: 0 1.3rem 1.25rem; color: var(--muted); }

/* ---------- Espace patients ---------- */
.care-grid .card h3 { font-size: 1.2rem; }
.journeys { display: grid; gap: 1.4rem; margin-top: 1.2rem; }
@media (min-width: 960px) { .journeys { grid-template-columns: 1fr 1fr; gap: 1.8rem; } }
.journey { background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.4rem, 3vw, 2.2rem); }
.journey header { display: flex; align-items: center; gap: 1rem; }
.journey h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.journey-lead { color: var(--muted); margin-block: 1rem 1.8rem; }
.steps { counter-reset: step; display: grid; }
.steps li { counter-increment: step; position: relative; padding-inline-start: 3.6rem; padding-bottom: 1.6rem; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: 0; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue-700); color: #fff; font-weight: 700; font-size: 1rem;
  font-family: var(--font-body); z-index: 1; }
.steps li::after { content: ""; position: absolute; inset-inline-start: 19px; top: 40px; bottom: 0; width: 2px; background: #c9d6e4; }
.steps li:last-child::after { display: none; }
.steps li:last-child::before { background: var(--accent); color: var(--blue-900); }
.steps h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; letter-spacing: 0; padding-top: .45rem; }
.steps p { color: var(--muted); font-size: 1rem; margin-top: .3rem; }
.support-list { display: grid; gap: .6rem; margin-top: 1.8rem; }
@media (min-width: 560px) { .support-list { grid-template-columns: 1fr 1fr; } }
.support-list li { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border-radius: 12px; background: #fff;
  border: 1px solid var(--line); font-weight: 600; font-size: .98rem; }
.support-list .icon { color: var(--sage); }
.assoc-item { display: flex; gap: 1rem; align-items: flex-start; }
.assoc-item .icon-badge { flex: none; background: #fff; color: var(--sage); }
.assoc-item h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.assoc-item p { color: #4a5744; font-size: 1rem; }
.disclaimer { max-width: 70ch; margin: 2.6rem auto 0; text-align: center; font-size: .95rem; color: #4a5744;
  padding-top: 1.4rem; border-top: 1px solid #cdd9c2; }

/* ---------- Contact ---------- */
.contact { background: var(--blue-700); color: #e6eef6; padding-block: var(--section); }
.contact h2 { color: #fff; margin-bottom: 1.8rem; }
.contact-grid { display: grid; gap: 2.2rem; align-items: center; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.contact-list { display: grid; gap: 1.3rem; }
@media (min-width: 560px) { .contact-list { grid-template-columns: 1fr 1fr; } }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #ffc7a6; }
.contact-list div { display: grid; }
.contact-list .label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #b9cde2; font-weight: 700; }
html[lang="ar"] .contact-list .label { letter-spacing: 0; font-size: .92rem; }
.contact-list a, .contact-list span:not(.label) { color: #fff; font-weight: 550; text-decoration: none; overflow-wrap: anywhere; }
[dir="rtl"] .contact-list a[dir="ltr"] { text-align: end; }
.contact-list a:hover { text-decoration: underline; }
.contact-note { margin-block: 1.8rem 1.6rem; padding: .9rem 1.1rem; border-radius: 12px; background: rgba(255, 255, 255, .09);
  border-inline-start: 3px solid var(--accent); font-size: .98rem; }
.map { border-radius: 22px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); border: 4px solid rgba(255, 255, 255, .14); }
.map-svg { width: 100%; height: auto; }
.map-label { font-family: var(--font-body); font-size: 15px; font-weight: 600; fill: #4a5744; }
.map-garden { fill: #3f5a2c; }
.map-centre { fill: #fff; font-size: 16px; font-weight: 700; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--blue-900); color: #b9cde2; padding-block: 3.2rem 1.6rem; font-size: .98rem; }
.footer-grid { display: grid; gap: 2.2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; } }
.brand-light { color: #fff; }
.brand-light .brand-text small { color: #b9cde2; }
.brand-light .logo-mark rect { fill: #24558b; }
.footer-blurb { margin-top: 1.1rem; max-width: 44ch; }
.footer-title { font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff;
  font-weight: 700; margin-bottom: 1rem; }
html[lang="ar"] .footer-title { letter-spacing: 0; font-size: 1rem; }
.footer-links { display: grid; gap: .55rem; }
.footer-links a { color: #dbe7f3; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.lang-footer { background: rgba(255, 255, 255, .1); }
.lang-footer a { color: #dbe7f3; }
.lang-footer a:hover { background: rgba(255, 255, 255, .15); }
.lang-footer a[aria-current="true"] { background: #fff; color: var(--blue-900); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; align-items: center;
  margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; }

.wa-float { position: fixed; inset-inline-end: 1.1rem; bottom: 1.1rem; z-index: 40; display: grid; place-items: center; width: 56px;
  height: 56px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 10px 26px rgba(18, 140, 75, .4);
  transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { width: 28px; height: 28px; }

/* ---------- Apparition au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .card[data-reveal].is-visible:hover, .js .doc-card[data-reveal].is-visible:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-img { transform: none; }
}
@media print {
  .site-header, .wa-float, .hero-dots, .nav-toggle { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
