/* ═══════════════════════════════════════════
   DCO Pasquier — Theme CSS
   Palette: Cream / Deep Navy / Gold
═══════════════════════════════════════════ */

/* ── Google Fonts fallback (loaded via functions.php) ── */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Montserrat:wght@400;500;600;700&display=swap');

/* ══════════════════════════════════════════
   CSS VARIABLES — LIGHT MODE
══════════════════════════════════════════ */
:root {
  --bg:          #FAF7F2;
  --bg-alt:      #F3EFE8;
  --surface:     #FFFFFF;
  --navy:        #1C2A4A;
  --gold:        #B8963E;
  --gold-light:  #D4AF6A;
  --gold-deep:   #8B6E2A;
  --gold-pale:   rgba(184,150,62,0.08);
  --text:        #2C3B5A;
  --text-muted:  #6B7A99;
  --border:      rgba(28,42,74,0.10);
  --shadow-sm:   rgba(28,42,74,0.06);
  --shadow-lg:   rgba(28,42,74,0.14);
  --radius:      1rem;
  --radius-sm:   0.5rem;
}

/* ── DARK MODE ── */
html.dark {
  --bg:         #0C1524;
  --bg-alt:     #101D30;
  --surface:    #152035;
  --navy:       #E8E3D9;
  --text:       #E8E3D9;
  --text-muted: #8A9BB8;
  --border:     rgba(232,227,217,0.08);
  --shadow-sm:  rgba(0,0,0,0.2);
  --shadow-lg:  rgba(0,0,0,0.4);
  --gold-pale:  rgba(212,175,106,0.10);
  --gold:       #D4AF6A;
  --gold-light: #E8C87A;
  --gold-deep:  #B8963E;
}

/* ══════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ── Typography ── */
.font-serif, h1, h2, h3, h4 {
  font-family: 'EB Garamond', Georgia, serif;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.85; }

/* ── Section label (overline) ── */
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Gold rule ── */
.gold-rule {
  display: block;
  height: 2px;
  width: 3rem;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 1px;
  margin-bottom: 1.5rem;
}
.gold-rule--center { margin-left: auto; margin-right: auto; }

/* ── Container ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

/* ══════════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
#dco-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-bottom 0.4s ease;
}
#dco-navbar.scrolled,
#dco-navbar.not-home {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 2px 24px var(--shadow-sm);
}
.navbar-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
@media (min-width: 1024px) { .navbar-inner { padding: 0 2.5rem; } }

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  z-index: 10;
}
.navbar-logo-text {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.navbar-logo-text span { color: var(--gold); }
.navbar-logo svg { width: 36px; height: 36px; transition: transform 0.3s ease; }
.navbar-logo:hover svg { transform: scale(1.1) rotate(-5deg); }
/* Logo icon wrapper */
.navbar-logo-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.navbar-logo:hover .navbar-logo-icon { transform: scale(1.1) rotate(-5deg); }
.navbar-logo-icon img {
  width: 36px; height: 36px;
  display: block;
}
/* Dark/light logo swap — only one visible at a time */
html:not(.dark) .navbar-logo-img--light { display: none; }
html.dark .navbar-logo-img--dark { display: none; }

/* Desktop nav links */
.navbar-links {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0.375rem 0.5rem;
  border-radius: 9999px;
  transition: background 0.4s, border 0.4s;
}
#dco-navbar.scrolled .navbar-links {
  background: rgba(184,150,62,0.045);
  border: 1px solid rgba(184,150,62,0.14);
}

.navbar-links li { position: relative; }

.nav-link {
  display: block;
  position: relative;
  padding: 0.375rem 0.875rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  border-radius: 9999px;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--gold-pale);
  border: 1px solid rgba(184,150,62,0.2);
  opacity: 0;
  transition: opacity 0.2s;
}
.nav-link:hover::before { opacity: 1; }

/* Dropdown */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.nav-dropdown-btn svg {
  transition: transform 0.22s ease;
  flex-shrink: 0;
}
.nav-dropdown-btn.open svg { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.96);
  width: 260px;
  padding-top: 0.75rem; /* espace visuel sans gap DOM */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-dropdown-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 20px 60px var(--shadow-lg);
  overflow: hidden;
}
.nav-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.nav-dropdown-header {
  padding: 0.625rem 1rem;
  border-bottom: 1px solid var(--border);
}
.nav-dropdown ul { padding: 0.375rem 0; }
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  color: var(--text);
  transition: color 0.15s;
}
.nav-dropdown a:hover { color: var(--gold); }
.nav-dropdown-accent { width: 2px; height: 100%; min-height: 14px; background: var(--gold); border-radius: 1px; opacity: 0; transition: opacity 0.15s; flex-shrink: 0; align-self: stretch; }
.nav-dropdown a:hover .nav-dropdown-accent { opacity: 1; }
.nav-dropdown-topbar { height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 200;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.1s linear;
}

/* Navbar actions */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  z-index: 10;
}

/* RDV button */
.btn-rdv {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--gold);
  border: none;
  box-shadow: 0 4px 16px rgba(184,150,62,0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-rdv:hover { transform: translateY(-1px) scale(1.03); box-shadow: 0 6px 26px rgba(184,150,62,0.5); background: var(--gold-light); }
.btn-rdv:active { transform: scale(0.97); }

/* Dark mode toggle */
.btn-theme {
  width: 36px; height: 36px;
  border-radius: 9999px;
  background: var(--gold-pale);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: background 0.2s, border 0.2s;
}
.btn-theme:hover { background: rgba(184,150,62,0.15); }
.btn-theme svg { width: 18px; height: 18px; }

/* Hide desktop nav on mobile, hide mobile nav on desktop */
@media (max-width: 1023px) {
  #dco-navbar { display: none !important; }
}
@media (min-width: 1024px) {
  #dco-mobile-topbar, #dco-mobile-nav { display: none !important; }
}

/* Mobile top bar */
#dco-mobile-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  transition: background 0.3s, border 0.3s;
}
#dco-mobile-topbar.scrolled {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
}
#dco-mobile-topbar .navbar-logo-text { font-size: 0.875rem; }

/* Mobile bottom pill nav */
#dco-mobile-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-bottom: max(0.875rem, env(safe-area-inset-bottom));
}
.mobile-nav-pill {
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 2rem;
  padding: 0.375rem 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  backdrop-filter: blur(24px) saturate(1.5);
}
.mobile-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  width: 3.5rem;
  padding: 0.375rem 0;
  border-radius: 0.75rem;
  color: var(--text-muted);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  background: none;
  border: none;
  transition: color 0.2s;
  text-decoration: none;
  cursor: pointer;
}
.mobile-nav-btn.active, .mobile-nav-btn:hover { color: var(--gold); }
.mobile-nav-btn svg { width: 19px; height: 19px; }
.mobile-nav-fab {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; border-radius: 9999px; margin: 0 0.25rem;
  background: linear-gradient(145deg, var(--gold-light), var(--gold), var(--gold-deep));
  color: white; font-size: 9px; font-weight: 600; letter-spacing: 0.05em; gap: 2px;
  border: none; cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 16px rgba(184,150,62,0.45);
  transition: transform 0.2s;
}
.mobile-nav-fab:hover { transform: scale(1.06); }
.mobile-nav-fab svg { width: 18px; height: 18px; }

/* ══════════════════════════════════════════
   BANNER SECTION
══════════════════════════════════════════ */
#section-banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
  padding-top: 72px;
}
.banner-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.banner-img-wrap {
  position: absolute;
  top: 0; right: 0;
  width: 55%; height: 100%;
  overflow: hidden;
}
@media (max-width: 1023px) { .banner-img-wrap { display: none; } }
.banner-img-wrap img {
  width: 100%; height: 120%;
  object-fit: cover; object-position: center;
  opacity: 0.85;
}
.banner-overlay-h {
  position: absolute; inset: 0;
  background: linear-gradient(270deg, transparent 25%, var(--bg) 88%);
}
.banner-overlay-v {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 12%, transparent 88%, var(--bg) 100%);
}
.banner-ring {
  position: absolute; border-radius: 9999px;
  border: 1px solid rgba(184,150,62,0.16);
  width: 460px; height: 460px;
  right: 18%; top: 50%;
  transform: translate(50%, -50%);
  animation: ringPulse 9s ease-in-out infinite;
  pointer-events: none;
}
.banner-ring-2 {
  width: 640px; height: 640px;
  border-color: rgba(184,150,62,0.07);
  animation-duration: 12s;
  animation-delay: 1s;
}
@keyframes ringPulse { 0%,100%{transform:translate(50%,-50%) scale(1);opacity:.5} 50%{transform:translate(50%,-50%) scale(1.04);opacity:1} }
@media (max-width: 1023px) { .banner-ring, .banner-ring-2 { display: none; } }

.banner-content {
  position: relative; z-index: 10;
  max-width: 1280px; margin: 0 auto;
  padding: 7rem 1.5rem 5rem;
  width: 100%;
}
@media (min-width: 1024px) { .banner-content { padding: 7rem 2.5rem 5rem; } }
.banner-inner { max-width: 38rem; }

.banner-overline {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}
.banner-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--navy);
}
.banner-title .gold { color: var(--gold); font-style: italic; }
.banner-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 2.5rem;
}
.banner-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-secondary {
  display: inline-flex; align-items: center;
  padding: 0.625rem 1.75rem;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--navy);
  background: transparent;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); transform: scale(1.03); }

/* ══════════════════════════════════════════
   ABOUT / HEADER SECTION
══════════════════════════════════════════ */
#section-about {
  padding: 6rem 0;
  background: var(--bg);
  overflow: hidden;
}
@media (min-width: 1024px) { #section-about { padding: 9rem 0; } }

.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1.15fr; gap: 5rem; }
}

.about-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.25rem; }
.about-chip {
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.03em;
  background: var(--gold-pale);
  color: var(--gold-deep);
  border: 1px solid rgba(184,150,62,0.3);
}
.about-body {
  font-size: 0.95rem; line-height: 1.85; color: var(--text-muted);
  margin-bottom: 1.75rem;
}
.about-body ul { list-style: disc; padding-left: 1.5rem; margin-top: 0.5rem; }
.about-body li { margin-bottom: 0.25rem; }

.about-img-wrap {
  position: relative;
  display: none;
}
@media (min-width: 1024px) { .about-img-wrap { display: block; } }

.about-img-border {
  position: absolute;
  inset: -12px;
  pointer-events: none;
}
.about-img-border span {
  position: absolute;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0.42;
  transition: transform 0.65s ease;
}
.about-img {
  width: 100%; height: clamp(320px, 44vw, 520px);
  object-fit: cover;
  border-radius: 1.25rem;
  display: block;
  box-shadow: 0 16px 56px var(--shadow-lg);
}
.about-badges {
  position: absolute; bottom: 1.5rem; left: 1.25rem; right: 1.25rem;
  display: flex; gap: 0.75rem; z-index: 2;
}
.about-badge {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  flex: 1;
  background: var(--surface);
  box-shadow: 0 8px 32px var(--shadow-lg);
  border: 1px solid var(--border);
}
.about-badge-icon {
  width: 2rem; height: 2rem;
  border-radius: 9999px;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-badge-val { font-family: 'EB Garamond', serif; font-weight: 700; font-size: 0.875rem; color: var(--navy); }
.about-badge-label { font-size: 0.7rem; color: var(--text-muted); }

/* ══════════════════════════════════════════
   STATS SECTION
══════════════════════════════════════════ */
#section-stats {
  padding: 4rem 0;
  background: var(--bg-alt);
}
.stats-divider {
  display: flex; justify-content: center;
  margin-bottom: 3rem;
}
.stats-divider span {
  display: block; width: 3rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2rem 1rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.stat-card:hover { background: var(--surface); }
.stat-card:nth-child(2n) { border-right: none; }
@media (min-width: 1024px) {
  .stat-card:nth-child(2n) { border-right: 1px solid var(--border); }
  .stat-card:last-child { border-right: none; }
  .stat-card { border-bottom: none; }
}

.stat-val {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.stat-val span { color: var(--gold); }
.stat-label { font-weight: 600; font-size: 0.875rem; color: var(--navy); margin-bottom: 0.25rem; }
.stat-sub   { font-size: 0.75rem; color: var(--text-muted); }

/* ══════════════════════════════════════════
   TEAM SECTION
══════════════════════════════════════════ */
#section-team {
  padding: 6rem 0;
  background: var(--bg);
}
@media (min-width: 1024px) { #section-team { padding: 8rem 0; } }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { margin: 1rem 0 1.25rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 768px)  { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }

.doctor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.doctor-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 28px 72px rgba(28,42,74,0.18), 0 0 0 1.5px rgba(184,150,62,0.45), 0 0 32px rgba(184,150,62,0.12);
}
.doctor-avatar {
  display: flex; align-items: center; justify-content: center;
  padding: 2.5rem 1rem;
  position: relative;
}
.doctor-avatar-circle {
  width: 5rem; height: 5rem;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'EB Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1C2A4A;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.doctor-card:hover .doctor-avatar-circle {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 24px rgba(184,150,62,0.25);
}
.doctor-info { padding: 1.25rem; }
.doctor-specialty {
  display: inline-block;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.04em;
  background: var(--gold-pale);
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.doctor-name { font-size: 1rem; font-weight: 600; line-height: 1.3; margin-bottom: 0.25rem; color: var(--navy); }
.doctor-sector { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 1rem; }
.doctor-divider {
  height: 1.5px; background: var(--gold);
  border-radius: 1px;
  width: 2rem;
  transition: width 0.4s ease;
  margin-bottom: 1rem;
}
.doctor-card:hover .doctor-divider { width: 100%; }
.doctor-profile-btn {
  display: flex; align-items: center; gap: 0.375rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--gold);
  background: none; border: none; padding: 0; cursor: pointer;
  transition: gap 0.2s;
}
.doctor-card:hover .doctor-profile-btn { gap: 0.625rem; }

/* Doctor Modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(12,21,36,0.65);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  max-width: 32rem; width: 100%;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
  transform: scale(0.92) translateY(32px);
  transition: transform 0.3s ease;
  overflow: hidden;
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }
.modal-header { padding: 2rem 2rem 1.5rem; border-bottom: 1px solid var(--border); }
.modal-avatar-row { display: flex; align-items: flex-start; gap: 1.25rem; }
.modal-avatar-circle {
  width: 4rem; height: 4rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'EB Garamond', serif; font-size: 1.25rem; font-weight: 600; color: #1C2A4A;
  flex-shrink: 0;
}
.modal-name { font-family: 'EB Garamond', serif; font-size: 1.125rem; font-weight: 700; line-height: 1.3; color: var(--navy); margin-bottom: 0.25rem; }
.modal-job  { font-size: 0.875rem; color: var(--gold); }
.modal-sector { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }
.modal-close {
  width: 2rem; height: 2rem; border-radius: 9999px;
  background: var(--bg-alt); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0; margin-left: auto;
}
.modal-body { padding: 1.5rem 2rem; max-height: 50vh; overflow-y: auto; }
.modal-body p.modal-label { font-family: 'Montserrat', sans-serif; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.modal-diploma { font-size: 0.875rem; line-height: 1.75; color: var(--text-muted); white-space: pre-line; }
.modal-footer { padding: 1rem 2rem 1.5rem; border-top: 1px solid var(--border); }
.modal-footer a { display: block; }
.modal-footer .btn-rdv { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════
   SERVICES SECTION
══════════════════════════════════════════ */
#section-services {
  padding: 6rem 0;
  background: var(--bg-alt);
}
@media (min-width: 1024px) { #section-services { padding: 8rem 0; } }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  display: flex; flex-direction: column;
  padding: 1.75rem;
  border-radius: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  text-decoration: none;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 48px var(--shadow-lg);
}
.service-icon {
  width: 3rem; height: 3rem;
  border-radius: 0.75rem;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.3s;
}
.service-card:hover .service-icon { transform: translateY(-3px) scale(1.08); }
.service-title { font-size: 1.1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.75rem; }
.service-rule {
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 1px;
  width: 2rem; margin-bottom: 1rem;
  transition: width 0.3s;
}
.service-card:hover .service-rule { width: 3rem; }
.service-desc { font-size: 0.875rem; line-height: 1.75; color: var(--text-muted); flex: 1; margin-bottom: 1.5rem; }
.service-cta {
  display: flex; align-items: center; gap: 0.375rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold);
}
.service-cta svg { transition: transform 0.2s; }
.service-card:hover .service-cta svg { transform: translateX(4px); }

/* ══════════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════════ */
#section-contact {
  padding: 6rem 0;
  background: var(--bg-alt);
}
@media (min-width: 1024px) { #section-contact { padding: 8rem 0; } }

.contact-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; gap: 3rem; } }

.contact-info-cards { display: flex; flex-direction: column; gap: 1rem; }

.contact-info-card {
  display: flex; gap: 1rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.contact-info-card:hover { border-color: var(--gold); }
.contact-info-icon {
  width: 2.25rem; height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 0.25rem;
}
.contact-info-text { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

.contact-map-col {
  display: flex;
  flex-direction: column;
}
.contact-map-wrap {
  flex: 1;
  min-height: 280px;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 48px var(--shadow-lg);
}
.contact-rdv-nudge {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-top: 1rem;
}
.contact-rdv-nudge-text { flex: 1; }
.contact-rdv-nudge-text p:first-child { font-size: 0.875rem; font-weight: 500; color: var(--navy); margin-bottom: 0.125rem; }
.contact-rdv-nudge-text p:last-child  { font-size: 0.75rem; color: var(--text-muted); }
.btn-rdv-sm {
  flex-shrink: 0;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em;
  color: #fff; background: var(--gold); border: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-rdv-sm:hover { background: var(--gold-deep); }

/* Transport badges */
.transport-badges { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-top: 0.5rem; }
.transport-badges img { height: 1.25rem; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
#dco-footer {
  background: #0E1C33;
  color: rgba(232,227,217,0.7);
  position: relative;
}
.footer-topbar { height: 2px; background: linear-gradient(90deg, transparent, #D4AF6A, transparent); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 4rem 1.5rem; }
@media (min-width: 1024px) { .footer-inner { padding: 4rem 2.5rem; } }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

.footer-brand-name { font-family: 'EB Garamond', serif; font-size: 1rem; font-weight: 600; color: #E8E3D9; letter-spacing: 0.02em; }
.footer-brand-name span { color: #D4AF6A; }
.footer-brand p { font-size: 0.75rem; line-height: 1.65; margin-top: 1rem; max-width: 20rem; }
.footer-brand .footer-contact-line { font-size: 0.75rem; margin-top: 0.5rem; color: rgba(232,227,217,0.45); }
.footer-brand .footer-contact-line strong { color: rgba(232,227,217,0.7); }

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #D4AF6A;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a {
  font-size: 0.875rem;
  color: rgba(232,227,217,0.7);
  transition: color 0.2s;
}
.footer-col a:hover { color: #D4AF6A; }

.footer-hours { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1.5rem; }
.footer-hour-row { display: flex; justify-content: space-between; font-size: 0.75rem; font-family: 'Montserrat', sans-serif; }
.footer-hour-row span:first-child { color: rgba(232,227,217,0.7); }
.footer-hour-row span:last-child  { color: #E8E3D9; font-weight: 500; }

.btn-rdv-outline {
  display: block; width: 100%;
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em;
  text-align: center;
  color: #D4AF6A;
  border: 1.5px solid #D4AF6A;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.btn-rdv-outline:hover { background: #D4AF6A; color: #0E1C33; }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212,175,106,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(232,227,217,0.45);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-back-top {
  display: flex; align-items: center; gap: 0.375rem;
  color: rgba(232,227,217,0.45);
  background: none; border: none; cursor: pointer;
  font-size: 0.75rem;
  transition: color 0.2s;
}
.footer-back-top:hover { color: #D4AF6A; }

/* ══════════════════════════════════════════
   PAGE INNER (sub-pages)
══════════════════════════════════════════ */
.page-hero {
  padding: 8rem 0 4rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero-label { margin-bottom: 1rem; }
.page-hero h1 { margin: 0.75rem 0 1.25rem; }
.page-hero-subtitle {
  font-size: 1rem; line-height: 1.8;
  color: var(--text-muted);
  max-width: 48rem;
}
.page-content {
  padding: 4rem 0 6rem;
  background: var(--bg);
}
.page-content-inner { max-width: 820px; }

/* FAQ / Accordion */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--surface);
}
.accordion-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem; font-weight: 600;
  color: var(--navy);
  background: none; border: none; cursor: pointer; text-align: left;
  transition: color 0.2s;
}
.accordion-btn:hover, .accordion-btn.open { color: var(--gold); }
.accordion-btn svg { flex-shrink: 0; transition: transform 0.25s ease; }
.accordion-btn.open svg { transform: rotate(180deg); }
.accordion-body { height: 0; overflow: hidden; transition: height 0.3s ease; }
.accordion-body-inner { padding: 0 1.5rem 1.25rem; font-size: 0.9rem; line-height: 1.8; color: var(--text-muted); }

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px)  { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card {
  display: flex; flex-direction: column;
  padding: 1.75rem;
  border-radius: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 12px 40px var(--shadow-lg); }
.pricing-icon { width: 3rem; height: 3rem; border-radius: 0.75rem; background: var(--gold-pale); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.pricing-price { font-family: 'EB Garamond', serif; font-size: 1.5rem; font-weight: 700; color: var(--gold); margin-bottom: 0.5rem; }
.pricing-title { font-size: 0.9375rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }
.pricing-rule { height: 1.5px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 1px; width: 2rem; margin-bottom: 0.75rem; }
.pricing-desc { font-size: 0.8125rem; line-height: 1.7; color: var(--text-muted); flex: 1; }

/* Contact / Pros form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-label { font-size: 0.8125rem; font-weight: 500; color: var(--navy); font-family: 'Montserrat', sans-serif; }
.form-input, .form-textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,150,62,0.12);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-submit {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em;
  color: #fff; background: var(--gold); border: none;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}
.form-submit:hover { background: var(--gold-deep); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.form-message { padding: 0.875rem 1rem; border-radius: 0.625rem; font-size: 0.875rem; margin-top: 0.5rem; }
.form-message.success { background: rgba(22,163,74,0.08); color: #15803d; border: 1px solid rgba(22,163,74,0.2); }
.form-message.error   { background: rgba(220,38,38,0.08);  color: #dc2626; border: 1px solid rgba(220,38,38,0.2); }

/* RDV page info block */
.rdv-info-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.rdv-info-block h3 { font-size: 1rem; margin-bottom: 0.75rem; color: var(--navy); }
.rdv-info-block p  { font-size: 0.9rem; line-height: 1.8; color: var(--text-muted); white-space: pre-line; }

/* Pros layout */
.pros-layout { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .pros-layout { grid-template-columns: 3fr 2fr; align-items: start; } }

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.flex-center { display: flex; justify-content: center; }

/* GDPR banner */
#gdpr-banner {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 999;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 32px var(--shadow-lg);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
  font-size: 0.8125rem; color: var(--text-muted);
  transition: opacity 0.4s, transform 0.4s;
}
@media (min-width: 1024px) { #gdpr-banner { left: 2rem; right: auto; max-width: 480px; } }
#gdpr-banner.hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
#gdpr-banner p { flex: 1; min-width: 200px; }
.gdpr-actions { display: flex; gap: 0.5rem; }
.btn-gdpr-accept, .btn-gdpr-decline {
  padding: 0.5rem 1rem; border-radius: 9999px;
  font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-weight: 500; cursor: pointer; border: none;
}
.btn-gdpr-accept  { background: var(--gold); color: #fff; }
.btn-gdpr-decline { background: var(--bg-alt); color: var(--text-muted); border: 1px solid var(--border); }

/* Shimmer card effect */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* Markdown content */
.wp-content h2, .wp-content h3 { color: var(--navy); margin: 1.5rem 0 0.75rem; }
.wp-content p  { margin-bottom: 1rem; }
.wp-content ul, .wp-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.wp-content li { margin-bottom: 0.375rem; }
.wp-content strong { color: var(--navy); }

/* Admin bar offset */
.admin-bar #dco-navbar,
.admin-bar #dco-mobile-topbar { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar #dco-navbar,
  .admin-bar #dco-mobile-topbar { top: 46px; }
}
