/* Dr Iatissam El BELHADJI — ophtalmologie, Casablanca
   Charte : bleu ciel clinique (les noms --navy / --gold sont conservés : --navy = bleu encre, --gold = bleu ciel). Même structure que yourpediatricsurgeon.com
   (attributs data-t pour la future version arabe). */
:root {
  --navy: #12324a;
  --navy-2: #1a4563;
  --navy-3: #22597d;
  --gold: #4fb3d9;
  --gold-dark: #1d7aa3;
  --gold-soft: #e4f2f7;
  --cream: #f5f9fb;
  --white: #ffffff;
  --text: #172633;
  --muted: #566a78;
  --line: #dbe7ee;
  --radius: 16px;
  --shadow: 0 6px 28px rgba(18, 50, 74, .09);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--cream); line-height: 1.7; font-size: 16px; }
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-3); text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- En-tête ---------- */
header { background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.nav { display: flex; align-items: center; gap: 18px; padding: 12px 20px; max-width: 1120px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); margin-right: auto; }
.brand .logo { width: 42px; height: 42px; flex: none; }
.brand b { white-space: nowrap; display: block; font-family: var(--serif); font-size: 1.32rem; font-weight: 700; line-height: 1.1; letter-spacing: .2px; }
.brand small { display: block; font-size: .72rem; font-weight: 600; color: var(--gold-dark); letter-spacing: 1.4px; text-transform: uppercase; }
nav ul { display: flex; gap: 22px; list-style: none; }
nav a { white-space: nowrap; font-weight: 600; font-size: .93rem; color: var(--text); position: relative; padding: 4px 0; }
nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
nav a:hover::after, nav a.active::after { transform: scaleX(1); }
nav a.active { color: var(--navy); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 40px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--navy); margin: 4px auto; border-radius: 2px; }

.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: var(--white); padding: 12px 24px; border-radius: 50px; font-weight: 700; font-size: .95rem; border: 2px solid var(--navy); transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #74c4e3; border-color: #74c4e3; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.hero .btn-outline { border-color: var(--navy); color: var(--navy); }
.hero .btn-outline:hover { background: var(--navy); color: var(--white); }
.btn svg { width: 18px; height: 18px; }

/* Sélecteur de langue */
.lang-sw { display: flex; gap: 4px; }
.lang-sw a { display: inline-flex; align-items: center; gap: 6px; background: var(--cream); color: var(--navy); padding: 6px 11px; border-radius: 50px; font-weight: 700; font-size: .8rem; border: 1px solid var(--line); }
.lang-sw a.on { background: var(--navy); color: var(--white); border-color: var(--navy); }
.lang-sw .flag { width: 20px; height: 14px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.12); line-height: 0; }
.lang-sw .flag svg { width: 100%; height: 100%; }

/* ---------- Accueil : bandeau principal ---------- */
.hero { position: relative; overflow: hidden; color: var(--navy);
  background: radial-gradient(1000px 560px at 85% 35%, rgba(79,179,217,.22), transparent 62%),
              linear-gradient(160deg, #ffffff 0%, #f1f8fb 60%, #e6f3f8 100%);
  border-bottom: 1px solid var(--line);
  padding: 84px 0 92px; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 700; font-size: .8rem; letter-spacing: 2.2px; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: 3.3rem; line-height: 1.08; margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--gold-dark); }
.hero .eyebrow, .page-hero .eyebrow { color: var(--gold-dark); }
.hero .where, .hero .lead { color: var(--muted); }
.hero .who { font-size: 1.12rem; margin-bottom: 4px; }
.hero .who strong { font-weight: 700; }
.hero .where { font-size: 1rem; }
.hero .lead { margin-top: 18px; max-width: 540px; font-size: 1.03rem; }
.hero .cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { position: relative; justify-self: center; width: min(400px, 100%); aspect-ratio: 1; }
.hero-art .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(79,179,217,.45); }
.hero-art .ring.r2 { inset: -26px; border-color: rgba(79,179,217,.18); }
.hero-art .disc { position: absolute; inset: 22px; border-radius: 50%; background: radial-gradient(circle at 50% 42%, #ffffff, #dff0f7 78%); box-shadow: 0 28px 70px rgba(18,50,74,.16), inset 0 0 0 1px rgba(79,179,217,.25); display: grid; place-items: center; }
.hero-art svg { width: 78%; }

/* Bandeau urgence */
.alert-strip { background: var(--gold-soft); border-bottom: 1px solid #c3e0ec; padding: 14px 0; font-size: .96rem; }
.alert-strip .container { display: flex; gap: 6px 12px; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; }
.alert-strip strong { color: var(--gold-dark); }
.alert-strip a { font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.section-head .eyebrow { justify-content: center; color: var(--gold-dark); }
.section-head .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
h2.section-title { font-family: var(--serif); font-weight: 600; font-size: 2.4rem; line-height: 1.15; color: var(--navy); margin-bottom: 10px; }
p.section-sub { color: var(--muted); }
.bg-white { background: var(--white); }

/* Cartes des domaines */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 28px; transition: transform .25s, box-shadow .25s, border-color .25s; display: flex; flex-direction: column; color: var(--text); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #b3d6e5; }
.card .ico { width: 62px; height: 62px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; margin-bottom: 20px; }
.card .ico svg { width: 32px; height: 32px; }
.card h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--navy); line-height: 1.2; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.card .more { margin-top: 18px; font-weight: 700; font-size: .9rem; color: var(--gold-dark); }
.other-act { text-align: center; margin-top: 34px; color: var(--muted); }
.other-act a { font-weight: 700; color: var(--navy); }

/* Déroulement de la consultation */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--gold); line-height: 1; display: block; margin-bottom: 12px; }
.step h3 { font-size: 1.02rem; color: var(--navy); margin-bottom: 6px; }
.step p { font-size: .92rem; color: var(--muted); }

/* À propos (aperçu) */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.portrait { aspect-ratio: 4/5; border-radius: var(--radius); background: linear-gradient(160deg, var(--navy-2), var(--navy)); position: relative; overflow: hidden; display: grid; place-items: center; box-shadow: var(--shadow); }
.portrait::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(79,179,217,.5); border-radius: 10px; }
.portrait .initials { font-family: var(--serif); font-size: 5rem; color: var(--gold); letter-spacing: 4px; }
.portrait .ph { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.6); font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; }
.about h2.section-title { text-align: left; }
.about .eyebrow { color: var(--gold-dark); }
.checklist { list-style: none; margin: 18px 0 26px; }
.checklist li { padding: 11px 0 11px 34px; position: relative; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

/* Contact */
.contact-box { background: var(--navy); color: var(--white); border-radius: 22px; padding: 46px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.contact-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(79,179,217,.3); }
.contact-box h2 { font-family: var(--serif); font-weight: 600; font-size: 2.1rem; line-height: 1.2; margin-bottom: 10px; }
.contact-box p { opacity: .85; }
.contact-box .phone { display: inline-block; font-size: 1.7rem; font-weight: 800; color: var(--gold); margin: 14px 0 6px; letter-spacing: .5px; }
.badge { display: inline-block; border: 1px solid rgba(79,179,217,.6); color: var(--gold); font-weight: 700; font-size: .78rem; letter-spacing: 1.5px; padding: 7px 16px; border-radius: 50px; margin-top: 10px; }
.contact-box .side { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.contact-box .side .hours { font-size: .95rem; opacity: .85; }

/* Pied de page */
footer { background: #0b2436; color: #b6cad6; padding: 52px 0 26px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
footer h4 { color: var(--white); font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
footer a { color: #8fd0ea; }
footer ul { list-style: none; }
footer .copy { text-align: center; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: .84rem; opacity: .7; max-width: 1080px; margin-left: auto; margin-right: auto; }

/* ---------- Mobile ---------- */
@media (max-width: 1100px) {
  .menu-btn { display: block; order: 3; }
  nav { order: 5; flex-basis: 100%; display: none; }
  header.open nav { display: block; }
  nav ul { flex-direction: column; gap: 0; padding: 6px 0 4px; }
  nav li a { display: block; padding: 11px 2px; border-top: 1px solid var(--line); }
  nav a::after { display: none; }
  .nav { flex-wrap: wrap; }
}
@media (max-width: 960px) {
  .nav > .btn { display: none; }
  .hero-grid, .about, .contact-box { grid-template-columns: 1fr; }
  .hero-art { width: min(300px, 80%); order: -1; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  footer .cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 54px 0 64px; }
  .hero h1 { font-size: 2.4rem; }
  h2.section-title { font-size: 2rem; }
  .steps { grid-template-columns: 1fr; }
  .contact-box { padding: 32px 24px; }
  .nav { gap: 8px; padding: 10px 14px; }
  .brand { gap: 8px; min-width: 0; }
  .brand .logo { width: 32px; height: 32px; }
  .brand b { font-size: 1rem; }
  .brand small { font-size: .6rem; letter-spacing: .8px; }
  .lang-sw a { padding: 6px 7px; }
  .lang-sw a span:last-child { display: none; }
  .menu-btn { width: 38px; height: 36px; }
  .hero-art { width: 150px; }
  .hero-art .ring.r2 { display: none; }
  .hero-art .disc { inset: 10px; }
  section { padding: 56px 0; }
}

/* Arabe (droite-à-gauche) — prêt pour la version /ar/ */
html[dir="rtl"] body { font-family: 'Tajawal', var(--sans); }
html[dir="rtl"] .brand { margin-right: 0; margin-left: auto; }
html[dir="rtl"] .about h2.section-title { text-align: right; }
html[dir="rtl"] .checklist li { padding: 11px 34px 11px 0; }
html[dir="rtl"] .checklist li::before { left: auto; right: 4px; }

/* ---------- Pages intérieures ---------- */
.page-hero { position: relative; color: var(--navy); text-align: center; padding: 58px 0 54px; border-bottom: 1px solid var(--line);
  background: radial-gradient(900px 400px at 80% 0%, rgba(79,179,217,.22), transparent 60%), linear-gradient(160deg, #ffffff, #e9f5fa); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
.page-hero h1 { font-family: var(--serif); font-weight: 600; font-size: 2.8rem; line-height: 1.1; margin-bottom: 10px; }
.page-hero p { color: var(--muted); max-width: 620px; margin: 0 auto; }

/* ---------- Prise de rendez-vous ---------- */
.rdv-wrap { max-width: 880px; margin: 0 auto; }
.hours-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.hours-row div { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; text-align: center; }
.hours-row b { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--navy); }
.hours-row span { color: var(--muted); font-size: .92rem; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 28px; margin-bottom: 22px; }
.panel-title { display: flex; align-items: center; gap: 12px; font-size: 1.08rem; color: var(--navy); margin-bottom: 18px; }
.panel-title .num { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.05rem; flex: none; }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.day-chip { border: 1.5px solid var(--line); background: var(--cream); border-radius: 14px; padding: 10px 6px; text-align: center; cursor: pointer; font-family: inherit; color: var(--text); transition: border-color .15s, background .15s, transform .15s; }
.day-chip:hover { border-color: var(--gold); transform: translateY(-2px); }
.day-chip .dn { display: block; font-size: .74rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-dark); }
.day-chip .dd { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1.15; color: var(--navy); }
.day-chip .dm { display: block; font-size: .8rem; color: var(--muted); }
.day-chip .dl { display: block; font-size: .72rem; color: var(--muted); margin-top: 3px; }
.day-chip.sel { background: var(--navy); border-color: var(--navy); }
.day-chip.sel .dd, .day-chip.sel .dm, .day-chip.sel .dl { color: var(--white); }
.day-chip.sel .dn { color: var(--gold); }
.day-chip.off { opacity: .45; cursor: not-allowed; transform: none; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 9px; }
.slot-chip { border: 1.5px solid var(--line); background: var(--cream); border-radius: 10px; padding: 10px 4px; cursor: pointer; font-weight: 700; font-size: .93rem; text-align: center; font-family: inherit; color: var(--navy); transition: all .15s; }
.slot-chip:hover { border-color: var(--gold); }
.slot-chip.sel { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.slot-chip.taken { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.muted-note { color: var(--muted); font-style: italic; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.panel label { font-weight: 700; font-size: .86rem; display: block; margin-bottom: 5px; color: var(--navy); }
.req { color: #b4432f; }
.panel input, .panel textarea, .panel select { width: 100%; padding: 12px 13px; border: 1.5px solid var(--line); border-radius: 11px; font-size: 1rem; font-family: inherit; background: var(--cream); color: var(--text); }
.panel input:focus, .panel textarea:focus, .panel select:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(79,179,217,.18); }
.err { color: #b4432f; font-size: .82rem; margin-top: 4px; display: none; }
.invalid { border-color: #b4432f !important; background: #fdf4f2 !important; }
.recap { display: flex; align-items: center; gap: 10px; background: var(--gold-soft); border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-weight: 700; color: var(--navy); }
.hint { background: #fdf0ec; border-left: 4px solid #c8553d; border-radius: 10px; padding: 10px 14px; margin-top: 10px; font-size: .92rem; color: #7c2f20; display: none; }
.submit-btn { width: 100%; justify-content: center; margin-top: 22px; padding: 15px; font-size: 1.05rem; cursor: pointer; font-family: inherit; }
.submit-btn:disabled { opacity: .55; cursor: wait; }
.msg { padding: 15px 18px; border-radius: 12px; margin-top: 16px; font-weight: 600; display: none; }
.msg.ko { background: #fdf0ec; color: #8f3522; border: 1px solid #efc0b2; }
.done { text-align: center; padding: 38px 28px; }
.done .check { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; margin: 0 auto 16px; }
.done h2 { font-family: var(--serif); font-size: 2rem; color: var(--navy); font-weight: 600; }
.done .when { font-size: 1.15rem; font-weight: 700; color: var(--gold-dark); margin: 6px 0 18px; }
.done ul { list-style: none; text-align: left; max-width: 520px; margin: 0 auto 22px; }
.done li { padding: 9px 0 9px 30px; position: relative; border-bottom: 1px solid var(--line); }
.done li::before { content: ""; position: absolute; left: 6px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.done .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn-light { background: var(--cream); color: var(--navy); border-color: var(--line); }
.btn-light:hover { background: var(--gold-soft); border-color: var(--gold); }
html[dir="rtl"] .done ul { text-align: right; }
html[dir="rtl"] .done li { padding: 9px 30px 9px 0; }
html[dir="rtl"] .done li::before { left: auto; right: 6px; }
html[dir="rtl"] .hint { border-left: none; border-right: 4px solid #c8553d; }
@media (max-width: 640px) {
  .page-hero h1 { font-size: 2.2rem; }
  .hours-row { grid-template-columns: 1fr; gap: 8px; }
  .hours-row div { display: flex; justify-content: space-between; align-items: center; text-align: left; }
  .form-grid { grid-template-columns: 1fr; }
  .days { grid-template-columns: repeat(3, 1fr); }
  .slots { grid-template-columns: repeat(4, 1fr); }
  .panel { padding: 20px 16px 22px; }
}
.panel { scroll-margin-top: 90px; }
@media (max-width: 960px) { .portrait { max-width: 260px; width: 100%; margin: 0 auto; } .portrait .initials { font-size: 3.6rem; } }

/* ---------- Pages des domaines (sécheresse, cataracte, rétine) ---------- */
.patho { max-width: 880px; }
.patho-intro { display: grid; grid-template-columns: 190px 1fr; gap: 32px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 12px; }
.patho-intro .emblem { width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, var(--navy-3), var(--navy) 75%); display: grid; place-items: center; box-shadow: 0 0 0 8px var(--gold-soft), 0 0 0 9px #c3e0ec; margin: 0 auto; }
.patho-intro .emblem svg { width: 84px; height: 84px; }
.patho-intro p { font-size: 1.06rem; }
.patho h2 { font-family: var(--serif); font-weight: 600; font-size: 1.9rem; color: var(--navy); margin: 46px 0 16px; line-height: 1.2; }
.patho-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.patho-list li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px 12px 40px; position: relative; }
.patho-list li::before { content: ""; position: absolute; left: 16px; top: 21px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.patho-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 26px; }
.patho-block .item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.patho-block .item:last-child { border-bottom: none; }
.patho-block .item b { display: block; color: var(--navy); font-size: 1.02rem; margin-bottom: 3px; }
.patho-block .item span { color: var(--text); }
.patho-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: ps; }
.patho-steps > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.patho-steps > div::before { counter-increment: ps; content: "0" counter(ps); display: block; font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.patho-steps b { display: block; color: var(--navy); margin-bottom: 6px; }
.patho-steps span { font-size: .95rem; }
.patho-alert { background: #fdf0ec; border-left: 5px solid #c8553d; border-radius: var(--radius); padding: 20px 24px; margin-top: 40px; }
.patho .patho-alert h2 { font-family: var(--sans); font-size: 1.1rem; font-weight: 800; color: #8f3522; margin: 0 0 6px; }
.patho-alert p { color: #5e2a1e; }
.patho-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 40px 0 12px; }
.disclaimer { text-align: center; color: var(--muted); font-size: .88rem; }
.faq { max-width: 880px; }
.faq h2 { font-family: var(--serif); font-weight: 600; font-size: 1.9rem; color: var(--navy); text-align: center; margin-bottom: 20px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 700; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--gold-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; }
.patho-more { max-width: 880px; text-align: center; }
.patho-more h2 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; color: var(--navy); margin-bottom: 14px; }
.patho-more .links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.patho-more .links a { background: var(--white); border: 1px solid var(--line); border-radius: 50px; padding: 10px 20px; font-weight: 700; color: var(--navy); }
.patho-more .links a:hover { border-color: var(--gold); }
html[dir="rtl"] .patho-list li { padding: 12px 40px 12px 16px; }
html[dir="rtl"] .patho-list li::before { left: auto; right: 16px; }
html[dir="rtl"] .patho-alert { border-left: none; border-right: 5px solid #c8553d; }
html[dir="rtl"] .faq summary { padding: 16px 20px 16px 52px; }
html[dir="rtl"] .faq summary::after { right: auto; left: 20px; }
@media (max-width: 720px) {
  .patho-intro { grid-template-columns: 1fr; text-align: center; padding: 24px 20px; }
  .patho-intro .emblem { width: 130px; height: 130px; }
  .patho-intro .emblem svg { width: 64px; height: 64px; }
  .patho-list, .patho-steps { grid-template-columns: 1fr; }
  .patho h2, .faq h2 { font-size: 1.6rem; }
  .patho-block { padding: 4px 18px; }
}

/* ---------- Fiches conseils ---------- */
.advice { max-width: 800px; }
.tools { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.tools a, .tools button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); font-family: inherit; cursor: pointer; font-weight: 700; font-size: .9rem; padding: 11px 20px; border-radius: 50px; background: var(--white); color: var(--navy); }
.tools .wa { background: #1f8f4e; border-color: #1f8f4e; color: #fff; }
.tools svg { width: 18px; height: 18px; }
.acard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 18px; overflow: hidden; }
.acard .head { padding: 14px 22px; font-weight: 800; font-size: 1.04rem; color: #fff; background: var(--navy); }
.acard.warn .head { background: #a8402c; }
.acard.ok .head { background: var(--gold); color: var(--navy); }
.acard .body { padding: 6px 22px 10px; }
.acard .item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.acard .item:last-child { border-bottom: none; }
.acard .item b { display: block; color: var(--navy); margin-bottom: 2px; }
.acard.warn .item b { color: #8f3522; }
.acard .lead { padding: 14px 0 4px; color: var(--muted); }
.acard.tip { background: var(--gold-soft); border-color: #c3e0ec; }
.acard.tip .head { background: transparent; color: var(--gold-dark); padding-bottom: 0; }
ol.howto { list-style: none; counter-reset: h; padding: 8px 0; }
ol.howto li { counter-increment: h; position: relative; padding: 12px 0 12px 50px; border-bottom: 1px solid var(--line); }
ol.howto li:last-child { border-bottom: none; }
ol.howto li::before { content: counter(h); position: absolute; left: 0; top: 10px; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; }
ol.howto b { display: block; color: var(--navy); }
.cards.fiches .card { padding-top: 26px; }
html[dir="rtl"] ol.howto li { padding: 12px 50px 12px 0; }
html[dir="rtl"] ol.howto li::before { left: auto; right: 0; }
@media print {
  header, footer, .tools, .patho-cta, .patho-more, .faq, .lang-sw { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .page-hero { background: none !important; color: #000; padding: 0 0 10px; }
  .page-hero::after, .page-hero .eyebrow { display: none; }
  .acard { break-inside: avoid; border: 1px solid #999; }
  .acard .head { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  section { padding: 10px 0; }
}
.cards.fiches { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
@media (max-width: 720px) { .cards.fiches { grid-template-columns: 1fr; } }

/* ---------- Version arabe : polices et typographie ---------- */
html[dir="rtl"] { --serif: 'Amiri', 'Cormorant Garamond', serif; --sans: 'Tajawal', 'Manrope', system-ui, sans-serif; }
html[dir="rtl"] body { font-family: var(--sans); line-height: 1.85; }
html[dir="rtl"] * { letter-spacing: 0 !important; }      /* l'espacement casse la liaison des lettres arabes */
html[dir="rtl"] em { font-style: normal; }
html[dir="rtl"] .brand b { font-size: 1.25rem; }
html[dir="rtl"] .hero h1 { font-size: 3rem; line-height: 1.35; }
html[dir="rtl"] h2.section-title, html[dir="rtl"] .page-hero h1 { line-height: 1.4; }
html[dir="rtl"] .card h3 { font-size: 1.45rem; }
html[dir="rtl"] .eyebrow, html[dir="rtl"] .brand small, html[dir="rtl"] .badge { text-transform: none; font-size: .9rem; }
html[dir="rtl"] .contact-box::after { right: auto; left: -80px; }
@media (max-width: 560px) { html[dir="rtl"] .hero h1 { font-size: 2.2rem; } html[dir="rtl"] .brand b { font-size: 1.05rem; } }

/* ============================================================
   INTERRUPTEUR « RENDEZ-VOUS EN LIGNE »
   Actuellement DÉSACTIVÉ : tout ce qui porte la classe rdv-only
   (liens, boutons, module de réservation) est masqué, et les
   remplaçants rdv-alt (boutons « Appeler ») sont affichés.
   POUR RÉACTIVER : remplacer « .rdv-only » par « .rdv-alt »
   dans la règle ci-dessous, puis republier.
   ============================================================ */
.rdv-only { display: none !important; }
.rdv-notice { text-align: center; }
.rdv-notice h2 { font-family: var(--serif); font-size: 1.6rem; color: var(--navy); margin-bottom: 8px; }
.rdv-notice p { color: var(--muted); max-width: 520px; margin: 0 auto 18px; }
