/* ==========================================================================
   SC Audition – feuille de style unique (mobile d'abord)
   Pour changer les couleurs : modifiez uniquement les variables ci-dessous.
   Police : pile système (aucun chargement externe = rapide + conforme RGPD).
   Pour utiliser Inter/Poppins : hébergez le fichier .woff2 sur votre site
   (dossier /fonts) et ajoutez un @font-face + "Inter" en tête de --font.
   ========================================================================== */

:root {
  /* Couleurs – À AJUSTER avec celles de votre vrai logo */
  /* Couleurs relevées sur le logo SC Audition */
  --blue: #3985C6;          /* bleu de l'oreille (décoratif : trop clair pour du texte) */
  --teal: #2FBBA9;          /* vert des ondes sonores (décoratif) */
  --blue-dark: #06487A;     /* bleu foncé du texte du logo : boutons et liens (contraste AA) */
  --navy: #06304F;          /* titres */
  --text: #243B4F;          /* texte courant (contraste > 10:1 sur blanc) */
  --muted: #4A5B6D;         /* texte secondaire (contraste AA) */
  --accent: #0B7A6D;        /* vert foncé du logo pour petits textes (contraste AA) */
  --sand: #E6F7F4;          /* fond vert très clair */
  --sky: #EBF3FA;           /* fond bleu très clair */
  --line: #D3E2EE;
  --white: #fff;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 16px;
  --shadow: 0 8px 28px rgba(15, 42, 67, .10);
  --header-h: 76px;
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;        /* 17 px */
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  padding-bottom: 80px;        /* laisse la place au bouton Doctolib flottant */
}
img, svg { max-width: 100%; height: auto; display: block; }
svg.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 6vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Boutons (grands, faciles à toucher) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 56px; padding: 14px 28px;
  font: inherit; font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; text-align: center;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-primary { background: var(--blue-dark); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-outline { background: #fff; color: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline:hover { background: var(--sky); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn-row .btn { flex: 1 1 280px; }

/* ---------- Header ---------- */
.site-header {
  transition: box-shadow .2s ease;
  position: fixed; inset: 0 0 auto 0; z-index: 900; height: var(--header-h);
  background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; }
.brand img { height: 56px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 48px; height: 48px; border-radius: 999px; border: 2px solid var(--blue-dark);
  background: #fff; color: var(--blue-dark); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.icon-btn svg { width: 24px; height: 24px; flex: none; }
.header-phone .num { display: none; }

.nav-toggle[aria-expanded="true"] .i-open, .nav-toggle[aria-expanded="false"] .i-close { display: none; }

.main-nav { display: none; }
.js .main-nav.open {
  display: block; position: fixed; inset: var(--header-h) 0 auto 0; background: #fff;
  padding: 12px 16px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a:not(.btn) {
  display: block; padding: 16px 8px; font-weight: 600; color: var(--navy); text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.main-nav a:not(.btn):hover { color: var(--blue-dark); }
.main-nav li:last-child { padding-top: 16px; }
.main-nav .btn { width: 100%; }
html:not(.js) .main-nav { display: block; position: static; }
html:not(.js) .site-header { position: static; height: auto; }
html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 8px; }

.site-header.scrolled { box-shadow: 0 2px 14px rgba(15, 42, 67, .12); }
.main-nav a[aria-current="true"]:not(.btn) { color: var(--blue-dark); box-shadow: inset 0 -3px 0 var(--teal); }

/* ---------- Sections ---------- */
section { padding: 64px 0; scroll-margin-top: var(--header-h); }
main { padding-top: var(--header-h); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.eyebrow {
  display: inline-block; margin-bottom: 10px; font-size: .9rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.lead { font-size: 1.2rem; color: var(--muted); }
.bg-sky { background: var(--sky); }
.bg-sand { background: var(--sand); }

/* ---------- Hero ---------- */
.hero { padding: 36px 0 56px; background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero h1 span { color: var(--blue-dark); }
.hero-media img { width: 100%; border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 5 / 4; object-fit: cover; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; font-weight: 600; color: var(--navy); }
.hero-points li { display: flex; gap: 10px; align-items: center; }
.hero-points svg { width: 22px; height: 22px; color: var(--blue-dark); flex: none; }

/* ---------- Engagements ---------- */
.cards { display: grid; gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: 0 2px 10px rgba(15, 42, 67, .05);
}
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.icon-badge {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--sand); color: var(--accent); margin-bottom: 16px;
}
.icon-badge svg { width: 30px; height: 30px; }

/* ---------- Services ---------- */
.services { display: grid; gap: 16px; }
.service { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.service .icon-badge { margin: 0; flex: none; background: var(--sky); color: var(--blue-dark); }
.service h3 { margin-bottom: .3em; font-size: 1.15rem; }
.service p { margin: 0; color: var(--muted); }

/* ---------- Photos ---------- */
.photo { margin: 0; }
.photo img { width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow); object-fit: cover; }
.banner { margin-bottom: 36px; }
.banner img { aspect-ratio: 1200 / 525; min-height: 190px; object-position: 50% 40%; }
.split { display: grid; gap: 28px; align-items: center; margin-bottom: 40px; }
.split .section-head { margin-bottom: 0; }

/* ---------- Étapes ---------- */
.steps-grid { display: grid; gap: 32px; align-items: center; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 20px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.steps li::before {
  content: counter(step); width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue-dark); color: #fff; font-weight: 700; font-size: 1.25rem;
}
.steps h3 { margin-bottom: .2em; }
.steps p { margin: 0; }
.steps-media img, .about-media img, .place-media img { width: 100%; border-radius: 24px; box-shadow: var(--shadow); object-fit: cover; }

/* ---------- Bandeau RDV ---------- */
.rdv { background: var(--blue-dark); color: #fff; text-align: center; }
.rdv h2 { color: #fff; }
.rdv p { color: #E6F1FB; max-width: 640px; margin-inline: auto; }
.rdv a:not(.doctolib-big) { color: #fff; }
.doctolib-big {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background-color: #107ACA; color: #ffffff; font-size: 18px; font-family: Roboto, system-ui, sans-serif; font-weight: 500;
  padding: 0 24px; height: 64px; border-radius: 32px; text-decoration: none; margin: 12px 0 24px; white-space: nowrap;
  border: 2px solid #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}
.doctolib-big:hover { background-color: #0E6BB3; color: #fff; }
.doctolib-big img { height: 24px; width: auto; }
.rdv-phone { font-size: 1.15rem; margin: 0; }
.rdv-phone a { font-size: 1.6rem; font-weight: 700; display: inline-block; padding: 6px 4px; }

/* ---------- À propos / Avis ---------- */
.about-grid { display: grid; gap: 32px; align-items: center; }
.about-media img { max-width: 420px; margin-inline: auto; aspect-ratio: 5 / 6; }
.facts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.facts li { display: flex; gap: 10px; }
.facts svg { width: 22px; height: 22px; color: var(--blue-dark); flex: none; margin-top: 4px; }

.reviews-box {
  border: 2px dashed var(--blue-dark); border-radius: var(--radius); background: #fff;
  padding: 28px 24px; text-align: center; max-width: 760px;
}
.reviews-box p { margin-bottom: 0; }
.todo { background: #FFF3B8; color: #5A4300; padding: 2px 8px; border-radius: 6px; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 700; color: var(--navy); font-size: 1.1rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.8rem; font-weight: 400; color: var(--blue-dark);
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 20px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 28px; }
.info-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list svg { width: 26px; height: 26px; color: var(--blue-dark); flex: none; margin-top: 3px; }
.info-list a { font-weight: 600; }
.hours { width: 100%; border-collapse: collapse; margin: 8px 0 20px; }
.hours th, .hours td { text-align: left; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; color: var(--navy); width: 40%; }
.map-box { position: relative; overflow: hidden; width: 100%; min-height: 360px; border-radius: var(--radius); background: linear-gradient(135deg, #DCEBF8, var(--sand)); border: 1px solid var(--line); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade { min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; }
.map-facade > svg { width: 44px; height: 44px; color: var(--blue-dark); }
.map-facade p { margin: 0; }
.map-note { font-size: .92rem; color: var(--muted); max-width: 340px; }
.zone { margin-top: 40px; padding: 24px; border-radius: var(--radius); background: var(--sky); }
.zone h3 { margin-bottom: .4em; }
.zone p:last-child { margin-bottom: 0; }

/* ---------- Bouton d'appel flottant (mobile) ---------- */
.call-fab {
  position: fixed; left: 16px; bottom: 16px; z-index: 1000; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue-dark); color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.call-fab svg { width: 24px; height: 24px; }
.call-fab:hover { color: #fff; background: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #D5E2EF; padding: 48px 0 32px; font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 1.1rem; color: #fff; margin-bottom: .6em; }
.footer-grid { display: grid; gap: 28px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-logo { background: #fff; padding: 10px 14px; border-radius: 12px; display: inline-block; margin-bottom: 14px; }
.footer-logo img { height: 64px; width: auto; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: .92rem; }

/* ---------- Pages légales ---------- */
.legal { max-width: 820px; padding: 48px 0 24px; }
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal address { font-style: normal; }

/* ---------- Tablette / Desktop ---------- */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 960px) {
  :root { --header-h: 88px; }
  section { padding: 88px 0; }
  .brand img { height: 66px; }
  .nav-toggle { display: none; }
  .call-fab { display: none; }
  .main-nav a[aria-current="true"]:not(.btn) { border-radius: 8px 8px 0 0; }
  .main-nav, .js .main-nav { display: block; position: static; padding: 0; border: 0; box-shadow: none; background: none; }
  .main-nav ul { display: flex; align-items: center; gap: 4px; }
  .main-nav a:not(.btn) { padding: 10px 14px; border: 0; border-radius: 8px; }
  .main-nav a:not(.btn):hover { background: var(--sky); }
  .main-nav li:last-child { padding: 0 0 0 8px; }
  .main-nav .btn { width: auto; min-height: 48px; padding: 10px 22px; white-space: nowrap; }
  .header-actions { order: 3; }
  .header-inner { gap: 20px; }
  .hero { padding: 56px 0 88px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .cards { grid-template-columns: repeat(6, 1fr); }
  .cards .card { grid-column: span 2; }
  .cards .card:nth-child(4) { grid-column: 2 / span 2; }
  .cards .card:nth-child(5) { grid-column: 4 / span 2; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .service { flex-direction: column; }
  .steps-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .split { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .about-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .map-box, .map-facade { min-height: 420px; }
}
@media (min-width: 1360px) {
  .header-phone .num { display: inline; }
  .header-phone { padding: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn:hover { transition: none; transform: none; }
}
@media print {
  .site-header, .nav-toggle { display: none; }
  main { padding-top: 0; }
}

/* ==========================================================================
   Ajouts : confort de lecture, horaires, préparer le RDV, pages de contenu
   ========================================================================== */

/* ---------- Confort de lecture (taille du texte + contraste) ---------- */
html.fs1 { font-size: 112.5%; }
html.fs2 { font-size: 125%; }
.a11y { position: relative; }
.a11y-toggle span { font-weight: 700; font-size: 1.05rem; line-height: 1; }
.a11y-panel {
  position: absolute; right: 0; top: calc(100% + 14px); z-index: 950;
  width: min(300px, calc(100vw - 32px)); padding: 16px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.a11y-panel[hidden] { display: none; }
.a11y-title { margin: 0 0 10px; font-weight: 700; color: var(--navy); }
.a11y-label { display: block; margin-bottom: 6px; font-size: .95rem; color: var(--muted); }
.a11y-sizes { display: flex; gap: 8px; margin-bottom: 14px; }
.a11y-sizes button, .a11y-contrast {
  flex: 1; min-height: 48px; padding: 6px 10px; font: inherit; font-weight: 700; cursor: pointer;
  color: var(--blue-dark); background: #fff; border: 2px solid var(--blue-dark); border-radius: 12px;
}
.a11y-contrast { width: 100%; }
.a11y button[aria-pressed="true"] { color: #fff; background: var(--blue-dark); }
html:not(.js) .a11y { display: none; }

html.hc {
  --text: #000; --muted: #1c2b3a; --navy: #001a30; --blue-dark: #00406F; --accent: #005A4F;
  --line: #2b4257; --sky: #fff; --sand: #fff;
}
html.hc .hero { background: #fff; }
html.hc .bg-sky, html.hc .bg-sand { background: #fff; border-block: 2px solid var(--line); }
html.hc .card, html.hc .service, html.hc .faq details, html.hc .checklist li { border: 2px solid var(--line); }
html.hc a:not(.btn):not(.doctolib-big) { text-decoration: underline; }
html.hc .site-header { border-bottom: 2px solid var(--line); }

/* ---------- Horaires ---------- */
.open-badge { display: inline-block; margin: 0 0 8px; padding: 6px 14px; border-radius: 999px; font-weight: 700; background: var(--sand); color: var(--accent); }
.open-badge.closed { background: #EEF2F6; color: var(--muted); }
.open-badge[hidden] { display: none; }
.hours-note { margin: -8px 0 20px; font-size: .92rem; color: var(--muted); }
.info-list li > span { min-width: 0; }

/* ---------- Préparer votre rendez-vous ---------- */
.prep-grid { display: grid; gap: 28px; align-items: start; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.checklist svg { width: 26px; height: 26px; flex: none; margin-top: 2px; color: var(--accent); }

/* ---------- Pages de contenu (bilan auditif, guide 100 % Santé) ---------- */
.page-hero { padding: 36px 0 12px; background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); }
.breadcrumb { margin: 0 0 14px; font-size: .95rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.prose { max-width: 820px; padding-bottom: 24px; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 3.5vw, 1.8rem); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.callout { margin: 22px 0; padding: 16px 20px; background: var(--sand); border-left: 5px solid var(--accent); border-radius: 12px; }
.callout p:last-child { margin-bottom: 0; }
.data { width: 100%; margin: 16px 0; border-collapse: collapse; }
.data th, .data td { padding: 12px 14px; text-align: left; border: 1px solid var(--line); }
.data th { background: var(--sky); color: var(--navy); }
.source { font-size: .95rem; color: var(--muted); }
.cta-band { margin-top: 40px; padding: 32px 24px; text-align: center; background: var(--blue-dark); color: #fff; border-radius: var(--radius); }
.cta-band h2 { margin-top: 0; color: #fff; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-outline { border-color: #fff; }

@media (min-width: 960px) {
  .prep-grid { grid-template-columns: .85fr 1.15fr; gap: 56px; }
  html.fs2 .main-nav a:not(.btn) { padding-inline: 8px; font-size: .95rem; }
  html.fs2 .main-nav .btn { padding-inline: 16px; }
}

/* ---------- Avis Google ---------- */
.reviews { display: grid; gap: 18px; }
.review { margin: 0; padding: 24px 22px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 10px rgba(15, 42, 67, .05); }
.review p { margin: 0 0 12px; }
.review .stars { margin-bottom: 10px; font-size: 1.25rem; letter-spacing: .12em; color: #B7791F; line-height: 1; }
.review footer { margin-top: auto; font-weight: 700; color: var(--navy); font-size: .95rem; }
.reviews-note { margin: 22px 0 0; text-align: center; color: var(--muted); font-size: .95rem; }
html.hc .review { border: 2px solid var(--line); }
@media (min-width: 640px) and (max-width: 959px) {
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .review:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 520px; justify-self: center; }
}
@media (min-width: 960px) {
  .reviews { grid-template-columns: repeat(6, 1fr); }
  .review { grid-column: span 2; }
  .review:nth-child(4) { grid-column: 2 / span 2; }
  .review:nth-child(5) { grid-column: 4 / span 2; }
}
.reviews-note + .btn-row .btn { flex: 0 1 340px; }

/* ---------- Galerie du centre ---------- */
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.gallery figure { margin: 0; flex: 0 0 calc((100% - 14px) / 2); }
.gallery img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.gallery figcaption { margin-top: 8px; font-size: .95rem; font-weight: 600; color: var(--navy); }
@media (min-width: 760px) {
  .gallery { gap: 20px; }
  .gallery figure { flex-basis: calc((100% - 40px) / 3); }
}

/* ---------- Offre de parrainage (accueil) ---------- */
.duo { display: grid; gap: 20px; margin-bottom: 28px; }
@media (min-width: 640px) { .duo { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Page « Conseils et guides » ---------- */
.guide-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 12px; }
.guide-list li { padding: 0; }
.guide-list a { display: block; padding: 16px 18px 0; text-decoration: none; background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; font-size: 1.1rem; }
.guide-list span { display: block; padding: 4px 18px 16px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
.guide-list a:hover strong { text-decoration: underline; }
html.hc .guide-list a, html.hc .guide-list span { border-color: var(--line); border-width: 2px; }
@media (max-width: 520px) {
  .data th, .data td { padding: 8px 8px; font-size: .95rem; line-height: 1.45; }
  .data th:first-child { width: 28%; }
}

/* ==========================================================================
   Sélecteur de langue et version arabe (écriture de droite à gauche)
   ========================================================================== */
.lang { position: relative; }
.lang-toggle { gap: 6px; padding: 0 12px; }
.lang-toggle svg { width: 22px; height: 22px; }
.lang-code { font-weight: 700; font-size: .95rem; line-height: 1; }
.lang-panel {
  position: absolute; right: 0; top: calc(100% + 14px); z-index: 950; margin: 0; padding: 8px; list-style: none;
  min-width: 170px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.lang-panel[hidden] { display: none; }
.lang-panel a {
  display: block; padding: 12px 14px; border-radius: 10px; font-weight: 600; color: var(--navy); text-decoration: none;
}
.lang-panel a:hover { background: var(--sky); }
.lang-panel a[aria-current="true"] { background: var(--blue-dark); color: #fff; }
html:not(.js) .lang-panel { display: block; }
html:not(.js) .lang-toggle { display: none; }
html:not(.js) .lang { position: static; }

html[dir="rtl"] body { font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans Arabic", "Geeza Pro", Tahoma, Arial, sans-serif; line-height: 1.85; }
html[dir="rtl"] .skip-link { left: auto; right: 16px; }
html[dir="rtl"] .faq summary { padding: 20px 22px 20px 56px; }
html[dir="rtl"] .faq summary::after { right: auto; left: 20px; }
html[dir="rtl"] .hours th, html[dir="rtl"] .hours td, html[dir="rtl"] .data th, html[dir="rtl"] .data td { text-align: right; }
.num { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .a11y-panel, html[dir="rtl"] .lang-panel { right: auto; left: 0; }
html[dir="rtl"] .prose ul, html[dir="rtl"] .prose ol { padding-left: 0; padding-right: 1.3em; }
html[dir="rtl"] .callout { border-left: 0; border-right: 5px solid var(--accent); }
html[dir="rtl"] .eyebrow { letter-spacing: 0; }
html[dir="rtl"] h1, html[dir="rtl"] h2 { letter-spacing: 0; }
html[dir="rtl"] .review .stars { letter-spacing: .05em; }
html[dir="rtl"] .review[lang="fr"] { direction: ltr; text-align: left; }
html[dir="rtl"] .main-nav a[aria-current="true"]:not(.btn) { border-radius: 8px 8px 0 0; }
@media (max-width: 959px) {
  html[dir="rtl"] .js .main-nav.open { text-align: right; }
}
.prose .guide-list, html[dir="rtl"] .prose .guide-list { padding: 0; }

@media (min-width: 960px) { .main-nav a:not(.btn) { white-space: nowrap; } }
