/* ====================================================
   Centre Médical Martine Rixhon - Styles communs
   ==================================================== */

:root {
  --bleu-marine: #1a3a5c;
  --bleu-profond: #0f2540;
  --bleu-doux: #6b8caf;
  --or-discret: #b08d57;
  --creme: #faf7f2;
  --beige: #f0ebe1;
  --texte: #2a2a2a;
  --gris-doux: #6e6e6e;
  --bordure: #e3ddd0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 400;
  color: var(--texte);
  background: var(--creme);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

a { color: var(--bleu-marine); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--or-discret); }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 16px 0 16px 24px; }
li { margin-bottom: 8px; line-height: 1.65; }

strong { color: var(--bleu-profond); font-weight: 600; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
header {
  background: var(--creme);
  border-bottom: 1px solid var(--bordure);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background-color: rgba(250, 247, 242, 0.96);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  max-width: 1180px;
  margin: 0 auto;
  gap: 24px;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--bleu-profond);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.logo small {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: var(--gris-doux);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 4px;
}

nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
  margin: 0;
}

nav li { margin: 0; }

nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--texte);
  letter-spacing: 0.02em;
}

.btn {
  display: inline-block;
  background: var(--bleu-marine);
  color: white !important;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--bleu-marine);
  transition: all 0.25s;
  cursor: pointer;
}

.btn:hover {
  background: var(--bleu-profond);
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 37, 64, 0.18);
}

.btn-outline {
  background: transparent;
  color: var(--bleu-marine) !important;
  border: 1px solid var(--bleu-marine);
}

.btn-outline:hover {
  background: var(--bleu-marine);
  color: white !important;
}

.btn-or {
  background: var(--or-discret);
  border-color: var(--or-discret);
}

.btn-or:hover {
  background: white;
  color: var(--bleu-profond) !important;
  border-color: white;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--bleu-marine);
}

.lang-switch {
  display: flex;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris-doux);
  font-weight: 600;
}

.lang-switch a {
  color: var(--gris-doux);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.lang-switch a.active,
.lang-switch a:hover {
  color: var(--bleu-marine);
  border-bottom-color: var(--or-discret);
}

/* ===== PAGE TITLE (toutes les pages sauf accueil) ===== */
.page-header {
  background: linear-gradient(135deg, var(--creme) 0%, var(--beige) 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(176, 141, 87, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-header-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--or-discret);
  font-weight: 600;
  margin-bottom: 20px;
}

.page-header-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--or-discret);
}

.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  color: var(--bleu-profond);
  margin-bottom: 24px;
  letter-spacing: -0.015em;
  max-width: 900px;
}

.page-header h1 em {
  font-style: italic;
  color: var(--or-discret);
}

.page-header-lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--gris-doux);
  max-width: 720px;
}

/* ===== SECTIONS DE CONTENU ===== */
section.content {
  padding: 80px 0;
}

section.alt {
  background: white;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--or-discret);
  font-weight: 600;
  margin-bottom: 24px;
}

.section-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--or-discret);
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  color: var(--bleu-profond);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  max-width: 800px;
}

h2 em { font-style: italic; color: var(--or-discret); }

h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  color: var(--bleu-profond);
  margin: 32px 0 14px;
  letter-spacing: -0.005em;
}

h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--bleu-profond);
  margin: 24px 0 10px;
}

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gris-doux);
  max-width: 720px;
  margin-bottom: 24px;
}

article p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 18px;
  color: var(--texte);
}

article ul li,
article ol li {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 12px;
  color: var(--texte);
}

article ul li::marker,
article ol li::marker {
  color: var(--or-discret);
}

/* ===== ENCARTS ===== */
.info-box {
  background: var(--creme);
  border: 1px solid var(--bordure);
  border-left: 3px solid var(--or-discret);
  padding: 28px 32px;
  margin: 32px 0;
}

.info-box h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--bleu-profond);
  margin: 0 0 14px;
}

.info-box p:last-child { margin-bottom: 0; }

.info-box-dark {
  background: var(--bleu-profond);
  color: white;
  border: none;
  padding: 36px 40px;
  margin: 32px 0;
}

.info-box-dark h4 {
  color: white;
  font-size: 24px;
  margin-bottom: 16px;
}

.info-box-dark p { color: rgba(255,255,255,0.85); }
.info-box-dark strong { color: var(--or-discret); }

/* ===== BLOCKQUOTE ===== */
blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--bleu-profond);
  padding: 24px 0 24px 32px;
  border-left: 2px solid var(--or-discret);
  margin: 32px 0;
}

blockquote cite {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gris-doux);
  margin-top: 16px;
  font-weight: 600;
}

/* ===== TABLEAUX ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

th, td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--bordure);
}

th {
  background: var(--creme);
  color: var(--bleu-profond);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== ENCART CTA ===== */
.cta-box {
  background: var(--bleu-profond);
  color: white;
  padding: 50px;
  text-align: center;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(176, 141, 87, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-box > * { position: relative; z-index: 1; }

.cta-box h2 {
  color: white;
  margin: 0 auto 16px;
  text-align: center;
}

.cta-box h2 em { color: var(--or-discret); }

.cta-box p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  max-width: 540px;
  margin: 0 auto 28px;
}

/* ===== FAQ (accordéon simple) ===== */
.faq-item {
  border-bottom: 1px solid var(--bordure);
  padding: 24px 0;
}

.faq-item:first-child { border-top: 1px solid var(--bordure); }

.faq-q {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--bleu-profond);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  padding-right: 16px;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
  content: '+';
  font-size: 24px;
  color: var(--or-discret);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.3s;
}

details[open] .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  padding-top: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--texte);
}

.faq-a p:first-child { margin-top: 0; }

/* ===== FOOTER ===== */
footer {
  background: #0a1a2e;
  color: rgba(255,255,255,0.7);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
}

footer h4 {
  color: white;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
}

.footer-logo small {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--or-discret);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 6px;
}

.footer-text {
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
}

.footer-list {
  list-style: none;
  margin: 0;
}

.footer-list li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-list a {
  color: rgba(255,255,255,0.7);
}

.footer-list a:hover { color: var(--or-discret); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.7);
  margin-left: 24px;
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-32 { margin-bottom: 32px; }

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  section.content { padding: 50px 0; }
  .page-header { padding: 50px 0 40px; }
  .nav-toggle { display: block; }
  nav ul { display: none; }
  nav.open ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--creme);
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--bordure);
  }
  .header-inner { flex-wrap: wrap; }
  .lang-switch { order: 3; width: 100%; justify-content: center; padding-top: 12px; border-top: 1px solid var(--bordure); }
  .cta-box { padding: 36px 24px; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; text-align: center; }
}

/* ===== ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease-out forwards;
  }
  .fade-up.d1 { animation-delay: 0.1s; }
  .fade-up.d2 { animation-delay: 0.25s; }
  .fade-up.d3 { animation-delay: 0.4s; }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RTL (arabe) ===== */
html[dir="rtl"] body {
  font-family: 'Cairo', 'Manrope', sans-serif;
}

html[dir="rtl"] .page-header-eyebrow::before,
html[dir="rtl"] .section-eyebrow::before {
  margin-left: 12px;
  margin-right: 0;
}

html[dir="rtl"] blockquote {
  border-left: none;
  border-right: 2px solid var(--or-discret);
  padding-left: 0;
  padding-right: 32px;
}

html[dir="rtl"] .info-box {
  border-left: 1px solid var(--bordure);
  border-right: 3px solid var(--or-discret);
}

/* ====================================================
   AJOUTS V2 — Photos, équipe, consultations
   ==================================================== */

/* ----- PHOTOS d'équipe ----- */
.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border: 1px solid var(--bordure);
}

.team-photo-portrait {
  aspect-ratio: 3 / 4;
}

.team-photo-landscape {
  aspect-ratio: 16 / 10;
}

/* ----- CARTES CONSULTATIONS / MÉDECINS ----- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.consult-card {
  background: white;
  border: 1px solid var(--bordure);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.consult-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -15px rgba(15, 37, 64, 0.15);
}

.consult-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--or-discret);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.consult-card:hover::before { transform: scaleX(1); }

.consult-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--or-discret);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.consult-card h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.consult-card p {
  color: var(--gris-doux);
  flex-grow: 1;
}

.consult-price {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bleu-marine);
  margin: 20px 0;
  font-weight: 600;
}

.consult-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bleu-marine);
}

.consult-link::after {
  content: '→';
  transition: transform 0.2s;
}
.consult-link:hover::after { transform: translateX(4px); }

/* ----- CARTE MÉDECIN AVEC PHOTO ----- */
.doctor-card {
  background: white;
  border: 1px solid var(--bordure);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.doctor-card-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.doctor-card-body {
  padding: 32px 36px 36px;
}

.doctor-card-body h3 {
  margin-top: 0;
}

.doctor-card-spec {
  color: var(--or-discret);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}

/* ----- HERO AVEC PHOTO ----- */
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bleu-profond);
}

.hero-photo-frame::after {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 4px;
  background: var(--or-discret);
  z-index: 2;
}

/* ----- PROFIL : photo flottante ----- */
.profile-hero {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}

.profile-hero-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--bordure);
}

/* ----- HISTOIRE : photos avec timeline ----- */
.gen-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.gen-card:last-child { border-bottom: none; }

.gen-card-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.15);
}

.gen-card-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--or-discret);
  margin-bottom: 8px;
  font-weight: 600;
}

.gen-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 600;
  color: white;
  margin-bottom: 12px;
  line-height: 1.1;
}

.gen-card-dates {
  display: block;
  font-size: 14px;
  color: var(--or-discret);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
  margin-top: 4px;
}

.gen-card-text {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}

.gen-card-text p { margin-bottom: 14px; }

/* ----- IMAGE FULL-WIDTH ----- */
.full-image {
  width: 100%;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}

.full-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ----- DROPDOWN langue (4 langues) ----- */
.lang-dropdown {
  position: relative;
}

.lang-dropdown-toggle {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris-doux);
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-dropdown-toggle::after {
  content: '▾';
  font-size: 10px;
}

.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid var(--bordure);
  padding: 8px 0;
  min-width: 120px;
  box-shadow: 0 8px 24px rgba(15, 37, 64, 0.12);
  display: none;
  z-index: 200;
}

.lang-dropdown.open .lang-dropdown-menu {
  display: block;
}

.lang-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--texte);
  letter-spacing: 0.04em;
}

.lang-dropdown-menu a:hover {
  background: var(--creme);
  color: var(--bleu-marine);
}

.lang-dropdown-menu a.active {
  color: var(--or-discret);
  font-weight: 600;
}

/* ----- RESPONSIVE supplémentaire ----- */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .profile-hero { grid-template-columns: 1fr; gap: 30px; }
  .gen-card { grid-template-columns: 1fr; gap: 20px; }
  .gen-card-photo { max-width: 200px; }
}

/* ----- RTL spécifique pour Arabe ----- */
html[dir="rtl"] .gen-card-text,
html[dir="rtl"] article p {
  text-align: right;
}

html[dir="rtl"] ul, html[dir="rtl"] ol {
  margin-right: 24px;
  margin-left: 0;
}

/* ====================================================
   AJUSTEMENTS V2.2 — Tailles photos plus discrètes
   ==================================================== */

/* HERO ACCUEIL : photo en fond transparent au lieu de bloc droite */
.hero-bg-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: saturate(0.85);
}

.hero-bg-photo::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(248, 244, 235, 0.65) 0%, rgba(232, 220, 198, 0.55) 100%);
}

.hero-content-centered {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-content-centered .btn-row {
  justify-content: center;
}

/* CARTES MÉDECINS : photo plus petite (au lieu de carré pleine largeur) */
.doctor-card-compact {
  background: white;
  border: 1px solid var(--bordure);
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 32px 36px;
  overflow: hidden;
}

.doctor-card-compact-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--bordure);
  border-radius: 4px;
}

.doctor-card-compact-body {
  flex: 1;
  min-width: 0;
}

.doctor-card-compact-body h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

@media (max-width: 700px) {
  .doctor-card-compact {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .doctor-card-compact-photo {
    width: 160px;
    height: 160px;
  }
}

/* PROFIL : photo plus petite (au lieu de pleine colonne) */
.profile-hero-compact {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 50px;
}

.profile-hero-compact .profile-hero-photo {
  width: 280px;
  height: 280px;
  aspect-ratio: 1 / 1;
}

@media (max-width: 800px) {
  .profile-hero-compact {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .profile-hero-compact .profile-hero-photo {
    max-width: 280px;
    margin: 0 auto;
  }
}

/* GENERATION CARDS (page Histoire) : photos un peu plus petites */
.gen-card {
  grid-template-columns: 160px 1fr;
}

.gen-card-photo {
  width: 160px;
}

@media (max-width: 900px) {
  .gen-card-photo { max-width: 160px; }
}

/* SÉLECTEUR DE LANGUE - codes 2 lettres compacts */
.lang-dropdown-toggle {
  text-transform: uppercase;
  font-weight: 600;
}

/* ====================================================
   V2.4 — Fix dropdown langue : masquer langue active
   ==================================================== */
.lang-dropdown-menu a.active {
  display: none;
}

/* ====================================================
   V2.4 — Logo en 2 lignes alignées
   ==================================================== */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-l1, .logo-l2 {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--bleu-profond);
  letter-spacing: 0.01em;
}

.logo-l1 {
  font-size: 18px;
  font-weight: 500;
  color: var(--bleu-marine);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.logo-l2 {
  font-size: 26px;
  font-weight: 600;
  color: var(--bleu-profond);
  letter-spacing: -0.005em;
}

.logo small {
  margin-top: 4px;
}

/* ====================================================
   V2.4 — Menu : empêcher les retours à la ligne
   ==================================================== */
nav#nav ul li a {
  white-space: nowrap;
}

/* ====================================================
   V2.4 — Page header centré (utilisé sur prise-de-sang)
   ==================================================== */
.page-header-centered .container {
  text-align: center;
}

.page-header-centered .page-header-eyebrow {
  justify-content: center;
  display: inline-flex;
}

.page-header-centered h1 {
  text-align: center;
}

.page-header-centered .page-header-lede {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Photo centrée entre 2 sections */
.section-photo {
  padding: 30px 0 50px;
  background: var(--creme);
}

figure.centered-photo {
  margin: 0 auto;
  max-width: 720px;
  position: relative;
  border: 1px solid var(--bordure);
  background: white;
  padding: 8px;
  box-shadow: 0 16px 40px -16px rgba(15, 37, 64, 0.15);
}

figure.centered-photo::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 4px;
  background: var(--or-discret);
  z-index: 2;
}

figure.centered-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* ====================================================
   V2.4 — Liens externes discrets (page Beckers)
   ==================================================== */
.external-links-list {
  list-style: none;
  padding-left: 0;
  margin: 24px 0;
}

.external-links-list li {
  border-left: 2px solid var(--or-discret);
  padding: 14px 18px;
  margin-bottom: 12px;
  background: var(--creme);
  font-size: 15px;
  line-height: 1.6;
}

.external-links-list li strong {
  color: var(--bleu-profond);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-block;
  margin-right: 6px;
}

.external-links-list li a {
  color: var(--bleu-marine);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(176, 141, 87, 0.4);
  text-underline-offset: 3px;
}

.external-links-list li a:hover {
  text-decoration-color: var(--or-discret);
}

.external-links-list li small {
  display: block;
  font-size: 13px;
  color: var(--gris-doux);
  margin-top: 4px;
  font-style: italic;
}

/* ====================================================
   V2.5 — Fix images sur Android (anciens Chrome)
   Fallback pour aspect-ratio (non supporté < Chrome 88)
   ==================================================== */

/* Fallback générique : forcer max-width et height auto */
img {
  max-width: 100%;
  height: auto;
}

/* Pour les containers à aspect ratio : utiliser le hack padding pour les anciens navigateurs */
@supports not (aspect-ratio: 1 / 1) {
  .hero-photo-frame {
    position: relative;
    padding-bottom: 75%; /* 4:3 */
    height: 0;
    overflow: hidden;
  }
  .hero-photo-frame img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .doctor-card-photo,
  .doctor-card-compact-photo {
    width: 100%;
    height: auto;
  }
  
  .gen-card-photo {
    width: 100%;
    height: auto;
    max-width: 160px;
  }
  
  .profile-hero-photo {
    width: 100%;
    height: auto;
  }
  
  .team-photo {
    width: 100%;
    height: auto;
  }
}

/* S'assurer que les containers avec object-fit fonctionnent même sur vieux mobiles */
.profile-hero-photo,
.doctor-card-photo,
.gen-card-photo,
.team-photo,
.hero-photo {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Fix mobile : si la grille casse, empiler verticalement */
@media (max-width: 768px) {
  .profile-hero,
  .hero-grid-home,
  [class*="hero-grid"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .profile-hero-photo {
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  /* Réduire la padding sur mobile */
  .hero {
    padding: 60px 0 70px !important;
  }
}


/* ====================================================
   V2.5 — Photo de l'infirmière (page prise de sang) : 50% + encadrée
   ==================================================== */
figure.centered-photo {
  max-width: 360px; /* était 720px → réduit de 50% */
}


/* =========================================================
   v6.3 — Photos équipe & profils (mise en page verticale centrée)
   ========================================================= */

/* Cartes compactes de l'équipe (page /equipe.html) :
   photo au-dessus, texte centré en-dessous, le tout dans une carte centrée */
.doctor-card-compact {
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 24px !important;
  padding: 32px 28px !important;
}
.doctor-card-compact-photo {
  width: 300px !important;
  height: 300px !important;
  flex-shrink: 0;
  margin: 0 auto !important;
}
.doctor-card-compact-body {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.doctor-card-compact-body h3 {
  text-align: center;
}
.doctor-card-compact-body .doctor-card-spec {
  text-align: center;
}
.doctor-card-compact-body .btn-row {
  justify-content: center;
}

/* Pages profil médecin (Dr Beckers, Dr Sqalli) : photo 2× et grille adaptée */
.profile-hero-compact {
  grid-template-columns: 560px 1fr !important;
  gap: 60px;
}
.profile-hero-compact .profile-hero-photo {
  width: 560px !important;
  height: 560px !important;
}

/* Page Notre histoire : portraits des 3 générations 320px */
.gen-card {
  grid-template-columns: 320px 1fr !important;
}
.gen-card-photo {
  width: 320px !important;
}

/* Adaptations mobile : laisser respirer en pleine largeur */
@media (max-width: 900px) {
  .doctor-card-compact-photo {
    width: 100% !important;
    max-width: 320px !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
  }
  .profile-hero-compact {
    grid-template-columns: 1fr !important;
  }
  .profile-hero-compact .profile-hero-photo {
    width: 100% !important;
    max-width: 480px !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin-left: auto;
    margin-right: auto;
  }
  .gen-card {
    grid-template-columns: 1fr !important;
  }
  .gen-card-photo {
    width: 100% !important;
    max-width: 320px !important;
  }
}

/* =========================================================
   v6.4 — FIX RESPONSIVE (header desktop + grilles intermédiaires)
   Sans toucher au visuel V2 : ces règles s'activent uniquement
   pour empêcher le wrap inutile et empiler aux bons breakpoints.
   ========================================================= */

/* ---- HEADER (desktop, ≥901px) : pas de cassure de mot ---- */
.header-inner {
  max-width: 1280px;     /* +100px par rapport à V2 (1180) pour laisser respirer la nav */
  gap: 20px;
}

.logo {
  flex-shrink: 0;
}
.logo-l1,
.logo-l2 {
  white-space: nowrap;
}
.logo small {
  white-space: nowrap;
}

@media (min-width: 901px) {
  nav ul { gap: 22px; }
  nav a { white-space: nowrap; }
  nav .btn {
    white-space: nowrap;
    padding: 11px 20px;
    font-size: 13px;
  }
}

.lang-dropdown { flex-shrink: 0; }

/* Le menu mobile ouvert peut wrapper normalement */
@media (max-width: 900px) {
  nav.open ul a,
  nav.open ul .btn { white-space: normal; }
}

/* ---- TIMELINE (3 générations) : empiler dès 900px ---- */
@media (max-width: 900px) {
  .timeline-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* ---- INFO-BAND (4 cases pratiques) : 4 → 2 → 1 colonnes ---- */
@media (max-width: 1024px) {
  .info-band-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}
@media (max-width: 600px) {
  .info-band-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ---- AUTRES grilles 2 colonnes (contact, position) : empiler à 900px ---- */
@media (max-width: 900px) {
  .contact-grid,
  .position-grid,
  .info-box-sqalli {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* ---- HERO h1 : éviter les sauts hideux sur écran étroit ---- */
.hero h1 { text-wrap: balance; }

/* =========================================================
   v6.5 — Photos "Notre histoire" : bords légèrement arrondis
   ========================================================= */
.gen-card-photo {
  border-radius: 8px;
}

/* =========================================================
   v7 — Composants premium : menu coulissant + sticky CTA + phone header
   ========================================================= */

/* ---- 1. ICÔNE TÉLÉPHONE DANS LE HEADER (desktop) ---- */
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bleu-marine);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid var(--bordure);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}
.header-phone:hover {
  background: var(--bleu-marine);
  color: white;
  border-color: var(--bleu-marine);
}
.header-phone svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}
@media (max-width: 900px) {
  .header-phone-text { display: none; }
  .header-phone {
    padding: 8px;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    justify-content: center;
  }
}

/* ---- 2. MENU MOBILE COULISSANT (panel droite) ---- */
@media (max-width: 900px) {
  /* Désactiver l'ancienne logique d'ouverture par flex-column */
  nav.open ul {
    display: flex !important;
    flex-direction: column;
    position: static;
    background: transparent;
    padding: 0;
    gap: 0;
    border: none;
  }

  #nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 340px);
    background: var(--creme);
    box-shadow: -10px 0 40px rgba(15, 37, 64, 0.2);
    transform: translateX(100%);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
    overflow-y: auto;
    padding: 80px 28px 28px;
    display: block;
  }
  #nav.open {
    transform: translateX(0);
  }
  #nav ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  #nav li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--bordure);
  }
  #nav li:last-child {
    border-bottom: none;
    padding-top: 16px;
  }
  #nav a {
    display: block;
    padding: 14px 4px;
    font-size: 16px;
    color: var(--bleu-profond);
    font-weight: 500;
  }
  #nav a:hover { color: var(--or-discret); }
  #nav .btn {
    margin-top: 4px;
    text-align: center;
    padding: 14px 20px !important;
    font-size: 13px !important;
  }

  /* Bouton de fermeture intégré (apparaît dans le panel ouvert) */
  #nav.open::before {
    content: '';
    position: absolute;
    top: 24px;
    right: 24px;
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2540' stroke-width='2'%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3Cline x1='6' y1='18' x2='18' y2='6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    pointer-events: none;
  }

  /* Overlay derrière le panel */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 37, 64, 0.5);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
    z-index: 190;
  }
  .nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Body scroll lock */
  body.nav-locked {
    overflow: hidden;
    /* compense la disparition de la scrollbar pour éviter le shift */
    padding-right: var(--scrollbar-w, 0px);
  }
}

/* ---- 3. BARRE STICKY MOBILE (Appeler / RDV) ---- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: white;
  border-top: 1px solid var(--bordure);
  padding: 10px 12px;
  gap: 10px;
  box-shadow: 0 -8px 24px rgba(15, 37, 64, 0.08);
}
.mobile-cta-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
}
.mobile-cta-bar .cta-call {
  background: var(--creme);
  color: var(--bleu-profond);
  border: 1px solid var(--bordure);
}
.mobile-cta-bar .cta-book {
  background: var(--bleu-marine);
  color: white;
}
.mobile-cta-bar .cta-book:hover { background: var(--bleu-profond); }
.mobile-cta-bar svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

@media (max-width: 900px) {
  .mobile-cta-bar { display: flex; }
  /* Marge bas pour ne pas que le contenu soit caché par la barre */
  body { padding-bottom: 64px; }
  footer { padding-bottom: 24px; }
}

/* =========================================================
   v7.1 — Info-band SVG cohérent + Bandeau confiance LaboCita
   ========================================================= */

/* Info-band : layout via classes (suppression des inline styles) */
.info-band {
  background: var(--bleu-profond);
  color: white;
  padding: 28px 0;
}
.info-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.info-band-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  min-width: 0;
}
.info-band-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--or-discret);
}
.info-band-icon svg { width: 18px; height: 18px; }
.info-band-text { display: flex; flex-direction: column; min-width: 0; }
.info-band-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 3px;
}
.info-band-item a {
  color: white;
  font-weight: 600;
  text-decoration: none;
}
.info-band-item a:hover { color: var(--or-discret); }
@media (max-width: 1024px) {
  .info-band-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .info-band-grid { grid-template-columns: 1fr; }
}

/* Bandeau de confiance (accréditation) */
.trust-band {
  background: var(--creme);
  border-bottom: 1px solid var(--bordure);
  padding: 16px 0;
}
.trust-band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.trust-band-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(176, 141, 87, 0.12);
  color: var(--or-discret);
  flex-shrink: 0;
}
.trust-band-icon svg { width: 18px; height: 18px; }
.trust-band-text {
  font-size: 13px;
  color: var(--bleu-profond);
  margin: 0;
  letter-spacing: 0.01em;
}
.trust-band-text strong {
  color: var(--bleu-profond);
  font-weight: 600;
}
@media (max-width: 600px) {
  .trust-band-text { font-size: 12px; text-align: center; }
}

/* =========================================================
   v7.2 — Tableau tarifs
   ========================================================= */
.tarifs-table-wrap {
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid var(--bordure);
  border-radius: 6px;
  background: white;
}
.tarifs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.tarifs-table thead th {
  background: var(--bleu-profond);
  color: white;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 18px;
}
.tarifs-table tbody th,
.tarifs-table tbody td {
  padding: 16px 18px;
  border-top: 1px solid var(--bordure);
  vertical-align: top;
  text-align: left;
  font-weight: 400;
}
.tarifs-table tbody th {
  color: var(--bleu-profond);
  font-weight: 500;
  width: 42%;
}
.tarifs-table tbody td:nth-child(2) {
  white-space: nowrap;
  width: 18%;
  color: var(--bleu-profond);
}
.tarifs-table tbody tr:nth-child(odd) {
  background: rgba(176, 141, 87, 0.04);
}
.tarifs-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--gris-doux);
  font-style: italic;
  margin-top: 2px;
}
.tarifs-note {
  font-size: 13px;
  color: var(--gris-doux);
  margin-top: 16px;
  font-style: italic;
}
@media (max-width: 600px) {
  .tarifs-table { font-size: 14px; }
  .tarifs-table thead th,
  .tarifs-table tbody th,
  .tarifs-table tbody td { padding: 12px 14px; }
}

/* =========================================================
   v7.3 — Map statique cliquable (remplace l'iframe Google)
   ========================================================= */
.map-static {
  position: relative;
  border: 1px solid var(--bordure);
  border-radius: 6px;
  overflow: hidden;
  background: var(--beige);
}
.map-static-link {
  display: block;
  position: relative;
  text-decoration: none;
  line-height: 0;
  cursor: pointer;
}
.map-static-link img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.map-static-link:hover img {
  transform: scale(1.02);
}
.map-static-overlay {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(15, 37, 64, 0.92);
  color: white;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  box-shadow: 0 6px 20px rgba(15, 37, 64, 0.25);
  backdrop-filter: blur(4px);
  white-space: nowrap;
  transition: background 0.2s;
}
.map-static-link:hover .map-static-overlay {
  background: var(--bleu-marine);
}
.map-static-overlay svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 600px) {
  .map-static-overlay {
    font-size: 11px;
    padding: 8px 14px;
  }
}

/* =========================================================
   v7.4 — Icônes monochromes or-discret cohérentes
   ========================================================= */
.icon-discret {
  width: 1.1em;
  height: 1.1em;
  display: inline-block;
  vertical-align: -0.18em;
  margin-right: 6px;
  color: var(--or-discret);
}
/* Dans les blocs sombres : couleur or */
.info-box-dark .icon-discret { color: var(--or-discret); }
/* Dans les blocs clairs/info-box : ton or pour cohérence */
.info-box .icon-discret { color: var(--or-discret); }

/* =========================================================
   v7.5 — Filet de sécurité : SVG sans dimensions
   ========================================================= */
/* Si un SVG n'a ni width/height attrs ni CSS, le contraindre */
svg:not([width]):not([height]) {
  width: 1em;
  height: 1em;
  max-width: 100%;
}
/* Empêcher tout SVG de dépasser son conteneur (Chrome strict) */
svg {
  max-width: 100%;
}

/* =========================================================
   v8 — Hero split (texte 60% + photo 40% ratio 4:5)
   ========================================================= */
.hero-split {
  background: linear-gradient(135deg, var(--creme) 0%, var(--beige) 100%);
  padding: 80px 0 100px;
  overflow: hidden;
  position: relative;
}
.hero-split::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -180px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(176, 141, 87, 0.10) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-split-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;   /* 60 / 40 */
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-split-text { min-width: 0; }
.hero-split-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.05;
  color: var(--bleu-profond);
  margin: 18px 0 24px;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero-split-title em {
  font-style: italic;
  color: var(--or-discret);
}
.hero-split-lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gris-doux);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-split-photo {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(15, 37, 64, 0.25),
              0 18px 36px -18px rgba(15, 37, 64, 0.18);
}
.hero-split-photo::after {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 4px;
  background: var(--or-discret);
  z-index: 2;
}
.hero-split-photo picture { display: block; height: 100%; }
.hero-split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tablette : empiler verticalement */
@media (max-width: 900px) {
  .hero-split { padding: 60px 0 80px; }
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-split-photo {
    max-width: 420px;
    margin: 0 auto;
  }
}
@media (max-width: 500px) {
  .hero-split { padding: 40px 0 60px; }
  .hero-split-grid { gap: 30px; }
}

/* =========================================================
   v8.1 — Section "Vos médecins" sur la home
   ========================================================= */
.home-doctors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
.home-doctor-card {
  background: white;
  border: 1px solid var(--bordure);
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  align-items: stretch;
  transition: transform 0.3s, box-shadow 0.3s;
}
.home-doctor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -16px rgba(15, 37, 64, 0.18);
}
.home-doctor-card picture {
  display: block;
  width: 200px;
  height: 100%;
}
.home-doctor-card img {
  width: 200px;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
}
.home-doctor-body {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.home-doctor-body h3 {
  margin: 0;
  font-size: 22px;
}
.home-doctor-spec {
  color: var(--or-discret);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.home-doctor-body p {
  font-size: 14px;
  margin: 0;
  color: var(--gris-doux);
  line-height: 1.55;
}
.home-doctor-langs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.lang-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 4px 10px;
  background: rgba(176, 141, 87, 0.12);
  color: var(--or-discret);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 4px;
}
.home-doctor-body .consult-link {
  margin-top: 6px;
}

@media (max-width: 900px) {
  .home-doctors {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .home-doctor-card {
    grid-template-columns: 1fr;
  }
  .home-doctor-card picture,
  .home-doctor-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

/* =========================================================
   v8.2 — FAQ home (4 questions)
   ========================================================= */
.home-faq {
  margin-top: 32px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.home-faq .faq-item {
  background: white;
  border: 1px solid var(--bordure);
  border-radius: 6px;
  margin-bottom: 12px;
  transition: box-shadow 0.2s;
}
.home-faq .faq-item:hover {
  box-shadow: 0 4px 14px rgba(15, 37, 64, 0.06);
}
.home-faq .faq-item[open] {
  border-color: var(--or-discret);
}
.home-faq .faq-q {
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 600;
  color: var(--bleu-profond);
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 50px;
}
.home-faq .faq-q::-webkit-details-marker { display: none; }
.home-faq .faq-q::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--or-discret);
  font-weight: 400;
  transition: transform 0.2s;
}
.home-faq .faq-item[open] .faq-q::after {
  content: '−';
}
.home-faq .faq-a {
  padding: 0 24px 20px;
  color: var(--gris-doux);
  font-size: 15px;
  line-height: 1.65;
}
.home-faq .faq-a p:first-child { margin-top: 0; }
.home-faq .faq-a a { font-weight: 600; }
