/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --c-primary:      #3F7A9E;
  --c-primary-dk:   #1E3A52;
  --c-primary-lt:   #7AAFC8;
  --c-primary-bg:   #EBF4F9;
  --c-gold:         #C8A050;
  --c-gold-lt:      #E8C878;
  --c-dark:         #182030;
  --c-text:         #374151;
  --c-muted:        #6B7280;
  --c-white:        #FFFFFF;
  --c-offwhite:     #F6FAFE;
  --c-border:       #C2DCE8;
  --c-warn-bg:      #FFF8E6;
  --c-warn-border:  #F0C94A;

  --shadow-sm:  0 2px 8px rgba(50,100,130,.08);
  --shadow-md:  0 4px 24px rgba(50,100,130,.12);
  --shadow-lg:  0 8px 48px rgba(50,100,130,.16);

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-full: 999px;

  --f-head: 'Playfair Display', Georgia, serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;

  --topbar-h:  42px;
  --header-h:  96px;
  --ease:      cubic-bezier(.4,0,.2,1);
  --dur:       .25s;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
address { font-style: normal; }
button { font-family: var(--f-body); cursor: pointer; }
input, textarea, select { font-family: var(--f-body); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow { max-width: 780px; }
.section {
  padding: 100px 0;
  scroll-margin-top: calc(var(--topbar-h) + var(--header-h));
}
.bg-light { background: var(--c-offwhite); }
.bg-dark  { background: var(--c-dark); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 10px;
}
.label-light { color: var(--c-gold-lt); }

.section-title {
  font-family: var(--f-head);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 500;
  color: var(--c-dark);
  line-height: 1.15;
  margin-bottom: 20px;
}
.title-light { color: var(--c-white); }

.body-text {
  font-size: 16px;
  color: var(--c-muted);
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 14px;
}
.text-light { color: rgba(255,255,255,.7); }

.section-head { margin-bottom: 56px; }
.section-head.centered { text-align: center; }
.section-head.centered .body-text { margin-left: auto; margin-right: auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  border: 2px solid transparent;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
}
.btn-primary:hover {
  background: var(--c-primary-dk);
  border-color: var(--c-primary-dk);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--c-white);
  color: var(--c-primary-dk);
  border-color: var(--c-white);
}
.btn-white:hover {
  background: var(--c-primary-bg);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.55);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.85);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--c-dark);
  border-color: var(--c-border);
}
.btn-ghost-dark:hover {
  background: var(--c-primary-bg);
}

.btn-outline-primary {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn-outline-primary:hover {
  background: var(--c-primary);
  color: var(--c-white);
}

.btn-sm { padding: 9px 20px; font-size: 13px; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--c-primary);
  color: var(--c-white);
  height: var(--topbar-h);
  font-size: 13px;
  position: sticky;
  top: 0;
  z-index: 200;
  overflow: hidden;
  transition: height .35s cubic-bezier(.4,0,.2,1), opacity .25s ease;
}
body.tb-hidden .topbar { height: 0; opacity: 0; }
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.85);
  transition: color var(--dur);
}
.topbar-item svg { flex-shrink: 0; }
.topbar-link:hover { color: var(--c-white); }
.topbar-doctolib {
  font-weight: 500;
  color: rgba(255,255,255,.95);
}
.topbar-text-short { display: none; }
.lang-sep { color: rgba(255,255,255,.3); font-size: 11px; }
.lang-switcher { display: flex; align-items: center; gap: 4px; }
.lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.6);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 3px 6px;
  border-radius: 4px;
  transition: all var(--dur);
}
.lang-btn:hover, .lang-btn.active {
  color: var(--c-white);
  background: rgba(255,255,255,.18);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: var(--topbar-h);
  z-index: 100;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  height: var(--header-h);
  transition: box-shadow var(--dur), top .35s cubic-bezier(.4,0,.2,1);
}
body.tb-hidden .header { top: 0; }
.header::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  height: 28px;
  background: linear-gradient(to bottom, rgba(20, 50, 70, .08), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur);
}
.header.scrolled { box-shadow: 0 1px 0 var(--c-border); }
.header.scrolled::after { opacity: 1; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

/* Logo */
.logo { flex-shrink: 0; line-height: 1.2; display: flex; align-items: center; }
.logo-img { height: 90px; max-height: calc(var(--header-h) - 12px); width: auto; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; }
.logo-text-fallback { display: none; }
.logo-name {
  font-family: var(--f-head);
  font-size: 19px;
  font-weight: 500;
  color: var(--c-dark);
  white-space: nowrap;
}
.logo-sub {
  font-size: 11px;
  color: var(--c-primary);
  font-weight: 500;
  letter-spacing: .03em;
  white-space: nowrap;
}
/* Show text fallback only if logo image fails to load */
.logo-img:not([src]) + .logo-text-fallback,
.logo-img[src=""] + .logo-text-fallback { display: flex; }

/* Nav links */
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: color var(--dur), background var(--dur);
  white-space: nowrap;
}
.nav-link:hover { color: var(--c-primary-dk); background: var(--c-primary-bg); }
.nav-link.active {
  color: var(--c-primary-dk);
  background: var(--c-primary-bg);
  box-shadow: inset 0 -2px 0 var(--c-gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  border-radius: var(--r-sm);
  transition: background var(--dur);
}
.hamburger:hover { background: var(--c-primary-bg); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-dark);
  border-radius: 2px;
  transition: transform var(--dur), opacity var(--dur);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: calc(100vh - var(--topbar-h) - var(--header-h));
  min-height: 520px;
  max-height: 860px;
  overflow: hidden;
  margin: 16px clamp(16px, 3vw, 48px) 0;
  border-radius: var(--r-lg);
}
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s var(--ease);
  background-size: cover;
  background-position: center;
}
.slide.active { opacity: 1; }

/* Fallback gradient when no image */
.slide:nth-child(1) { background-color: #2E607A; }
.slide:nth-child(2) { background-color: #2A5870; }
.slide:nth-child(3) { background-color: #325E78; }

/* Hide placeholder text once real image is loaded */
.slide[style*="background-image"] .slide-placeholder { display: none; }

.slide-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,.45);
  font-size: 13px;
}
.slide-placeholder svg { opacity: .4; }

.slides-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(15, 30, 42, .72) 0%, rgba(15, 30, 42, 0) 55%),
    linear-gradient(to right, rgba(15, 30, 42, .45) 0%, rgba(15, 30, 42, 0) 60%);
  pointer-events: none;
  z-index: 1;
}

.slide-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  padding: 0;
  transition: all var(--dur);
  cursor: pointer;
}
.dot.active { background: var(--c-white); transform: scale(1.35); }
.dot:hover { background: rgba(255,255,255,.7); }

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 72px;
  z-index: 2;
}
.hero-card {
  max-width: 600px;
  border-left: 3px solid var(--c-gold);
  padding-left: 24px;
}
.hero-title {
  font-family: var(--f-head);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 500;
  color: var(--c-white);
  line-height: 1.08;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.hero-sub {
  font-size: clamp(14px, 1.8vw, 18px);
  color: rgba(255,255,255,.8);
  line-height: 1.55;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.br-desk { display: block; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: center;
}
.about-photo-wrap { position: relative; }
.about-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  background: var(--c-primary-bg);
  border: 2px dashed var(--c-border);
  color: var(--c-muted);
  font-size: 13px;
  border-radius: var(--r-lg);
}
.about-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -16px 16px 16px -16px;
  border: 2px solid var(--c-border);
  border-radius: var(--r-lg);
  z-index: -1;
}
.about-stats {
  display: flex;
  gap: 36px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--c-border);
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
  font-family: var(--f-head);
  font-size: 30px;
  font-weight: 500;
  color: var(--c-primary);
  line-height: 1;
}
.stat-label { font-size: 12px; color: var(--c-muted); }

/* ============================================================
   SPECIALTIES
   ============================================================ */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.spec-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 36px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow var(--dur), transform var(--dur), border-color var(--dur);
}
.spec-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--c-primary-lt);
}
.spec-icon-wrap {
  width: 52px; height: 52px;
  background: var(--c-primary-bg);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-primary);
  flex-shrink: 0;
}
.spec-card h3 {
  font-family: var(--f-head);
  font-size: 20px;
  font-weight: 500;
  color: var(--c-dark);
  line-height: 1.2;
}
.spec-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.spec-list li {
  font-size: 14px;
  color: var(--c-muted);
  padding-left: 16px;
  position: relative;
}
.spec-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px; height: 1px;
  background: var(--c-primary-lt);
}

/* ============================================================
   TARIFS
   ============================================================ */
.tarif-notice {
  display: flex;
  gap: 16px;
  background: var(--c-warn-bg);
  border: 1px solid var(--c-warn-border);
  border-left: 4px solid var(--c-warn-border);
  border-radius: var(--r-sm);
  padding: 20px 24px;
  margin-bottom: 44px;
  color: #5a4400;
}
.notice-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #b8860b;
}
.tarif-notice > div > strong {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  color: #4a3800;
}
.tarif-notice p strong {
  display: inline;
  font-weight: 600;
}
.tarif-notice p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 0;
  margin-bottom: 0;
}
.tarif-notice p + p { margin-top: 18px; }
.tarif-notice p + p.notice-sub { margin-top: 5px; }
.notice-sub {
  font-size: 13px;
  color: #7a6010;
  margin-top: 8px;
  line-height: 1.6;
}

.tarif-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 28px;
}
.tarif-subtitle {
  font-family: var(--f-head);
  font-size: 17px;
  font-weight: 500;
  color: var(--c-dark);
  margin-bottom: 16px;
}
.tarif-table {
  width: 100%;
  border-collapse: collapse;
}
.tarif-table thead { background: var(--c-primary-bg); }
.tarif-table th {
  padding: 11px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-primary-dk);
  border-bottom: 2px solid var(--c-primary-lt);
}
.tarif-table td {
  padding: 13px 16px;
  font-size: 14px;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
}
.tarif-table td:last-child {
  font-weight: 600;
  color: var(--c-dark);
  white-space: nowrap;
}
.tarif-table tbody tr:last-child td { border-bottom: none; }
.tarif-table tbody tr:hover td { background: var(--c-offwhite); }
.tarif-note {
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 10px;
  font-style: italic;
}
.tarif-disclaimer {
  font-size: 13px;
  color: var(--c-muted);
  padding-top: 20px;
  border-top: 1px solid var(--c-border);
}

/* ============================================================
   DOCTOLIB
   ============================================================ */
.doctolib-section { padding: 80px 0; }
.doctolib-widget { margin-top: 40px; }

.doctolib-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-md);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  backdrop-filter: blur(4px);
}
.doctolib-info {
  display: flex;
  align-items: center;
  gap: 20px;
}
.doctolib-avatar {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
}
.doctolib-name {
  font-family: var(--f-head);
  font-size: 20px;
  color: var(--c-white);
  margin-bottom: 4px;
}
.doctolib-spec {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-bottom: 6px;
}
.doctolib-loc {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.doctolib-loc svg { flex-shrink: 0; }

.btn-doctolib {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #0596DE;
  color: var(--c-white);
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
  flex-shrink: 0;
}
.btn-doctolib:hover {
  background: #0477B2;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5,150,222,.35);
}

.doctolib-note {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.35);
  margin-top: 16px;
  font-style: italic;
}

@media (max-width: 768px) {
  .doctolib-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }
  .doctolib-info { flex-direction: column; }
}

/* ============================================================
   LOCALISATION
   ============================================================ */
.loc-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}
.loc-info { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  display: flex;
  gap: 16px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 22px 24px;
  transition: box-shadow var(--dur);
}
.info-card:hover { box-shadow: var(--shadow-sm); }
.info-card-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--c-primary-bg);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-primary);
  margin-top: 2px;
}
.info-card h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--c-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.info-card address, .info-card p {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.7;
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding: 5px 0;
  font-size: 13.5px;
  color: var(--c-text);
  vertical-align: middle;
}
.hours-table td:first-child {
  width: 100px;
  min-width: 100px;
  padding-right: 16px;
  color: var(--c-muted);
  font-size: 13px;
  white-space: nowrap;
}
.hours-table tr.closed td { color: var(--c-muted); opacity: .6; }

.loc-map { border-radius: var(--r-md); overflow: hidden; }
.loc-map iframe { display: block; width: 100%; height: 460px; }
.map-placeholder {
  width: 100%; height: 460px;
  background: var(--c-primary-bg);
  border: 2px dashed var(--c-border);
  border-radius: var(--r-md);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
  color: var(--c-muted);
  font-size: 13px;
  text-align: center;
  padding: 24px;
}
.map-placeholder svg { color: var(--c-primary-lt); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--c-primary-bg);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-primary);
  margin-top: 2px;
}
.contact-icon-red { background: #FEE8E8; color: #c0392b; }
.contact-item-urgent .contact-icon-red { background: #FEE8E8; }
.contact-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-dark);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.contact-item a, .contact-item span {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.6;
}
.contact-item a { display: block; }
.contact-item a:hover { color: var(--c-primary); }
.contact-item small {
  display: block;
  font-size: 12px;
  color: var(--c-muted);
  opacity: .7;
  margin-top: 2px;
  font-style: italic;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-dark);
}
.form-group input,
.form-group textarea {
  padding: 11px 15px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--c-text);
  background: var(--c-white);
  transition: border-color var(--dur), box-shadow var(--dur);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(82,145,173,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: 12px;
  color: var(--c-muted);
  font-style: italic;
  line-height: 1.5;
}
.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #E8F8EF;
  border: 1px solid #6FCF97;
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-size: 14px;
  color: #1a7a40;
}
.form-success svg { color: #27ae60; flex-shrink: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--c-dark);
  color: rgba(255,255,255,.65);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.6fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  font-family: var(--f-head);
  font-size: 20px;
  font-weight: 500;
  color: var(--c-white);
  margin-bottom: 12px;
}
.footer-spec {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.footer-rpps {
  font-size: 11.5px;
  color: rgba(255,255,255,.35);
  font-family: 'Courier New', monospace;
  margin-bottom: 10px;
}
.footer-rpps span { letter-spacing: .08em; }
.footer-sector {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  font-style: italic;
  line-height: 1.5;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  transition: color var(--dur);
  line-height: 1.4;
}
.footer-links a:hover { color: var(--c-white); }
.footer-hours {
  font-size: 12px;
  border-collapse: collapse;
  width: 100%;
}
.footer-hours td { padding: 4px 0; color: rgba(255,255,255,.55); vertical-align: middle; }
.footer-hours td:first-child { width: 90px; min-width: 90px; padding-right: 14px; color: rgba(255,255,255,.35); white-space: nowrap; }
.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(25,44,57,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 500;
  backdrop-filter: blur(4px);
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  background: var(--c-white);
  border-radius: var(--r-lg);
  max-width: 680px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 48px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--c-offwhite);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text);
  transition: background var(--dur);
}
.modal-close:hover { background: var(--c-primary-bg); color: var(--c-primary); }
.modal-box h2 {
  font-family: var(--f-head);
  font-size: 26px;
  color: var(--c-dark);
  margin-bottom: 28px;
}
.modal-box h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin: 24px 0 8px;
}
.modal-box p {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.75;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--c-dark);
  color: rgba(255,255,255,.85);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 400;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { max-width: 700px; line-height: 1.5; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ============================================================
   RESPONSIVE — TABLET 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .loc-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ============================================================
   RESPONSIVE — TABLET 900px
   ============================================================ */
@media (max-width: 900px) {
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .tarif-cols { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   NAV OVERLAY (global — hidden on desktop)
   ============================================================ */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 40, 55, .5);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
  backdrop-filter: blur(3px);
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

.nav-close { display: none; }
.nav-mobile-rdv,
.nav-mobile-info,
.nav-mobile-lang { display: none; }

/* ============================================================
   RESPONSIVE — MOBILE 768px
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --topbar-h: 0px;
    --header-h: 64px;
  }
  .topbar { display: none; }
  .nav-overlay { display: block; }
  .section { padding: 44px 0; }
  .container { padding: 0 16px; }
  .section-head { margin-bottom: 24px; }
  .section-title { font-size: clamp(20px, 6vw, 28px); }
  .body-text { font-size: 14px; }

  /* Logo */
  .logo-img { height: 46px; max-height: calc(var(--header-h) - 14px); }
  .hamburger { display: flex; }

  /* Nav slide panel from right */
  .nav-list {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(300px, 84vw);
    background: var(--c-white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 0 40px;
    gap: 4px;
    box-shadow: -6px 0 40px rgba(0,0,0,.18);
    z-index: 99;
    transform: translateX(110%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    border-top: none;
  }
  .nav-list.open { transform: translateX(0); }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--c-offwhite);
    border: 1px solid var(--c-border);
    color: var(--c-text);
    margin: 0 16px 12px auto;
    flex-shrink: 0;
    transition: background var(--dur);
  }
  .nav-close:hover { background: var(--c-primary-bg); color: var(--c-primary); }

  .nav-link {
    padding: 18px 28px;
    font-size: 16px;
    border-radius: 0;
    letter-spacing: .01em;
  }
  .nav-link:hover { color: var(--c-primary-dk); background: none; }
  .nav-link.active {
    box-shadow: none;
    border-left: none;
    background: none;
    font-weight: 600;
    color: var(--c-primary-dk);
  }

  /* Mobile menu extras */
  .nav-mobile-rdv {
    display: flex;
    padding: 28px 24px 0;
  }
  .nav-mobile-rdv .btn {
    width: 100%;
    justify-content: center;
    border-radius: var(--r-sm);
  }
  .nav-mobile-info {
    display: flex;
    padding: 16px 28px 0;
  }
  .nav-mobile-info a {
    font-size: 12px;
    color: var(--c-muted);
    word-break: break-all;
  }
  .nav-mobile-lang {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 20px 28px 0;
    border-top: 1px solid var(--c-border);
    margin-top: 16px;
  }
  .nav-mobile-lang .lang-btn { color: var(--c-text); font-size: 13px; }
  .nav-mobile-lang .lang-sep { color: var(--c-border); }

  /* Hero */
  .hero {
    height: calc(100svh - var(--header-h));
    max-height: none;
    min-height: 380px;
    margin: 10px 10px 0;
    border-radius: var(--r-md);
  }
  .hero-title { font-size: clamp(24px, 7vw, 36px); }
  .hero-sub { font-size: 13px; margin-bottom: 20px; }
  .br-desk { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-actions .btn { font-size: 13px; padding: 10px 20px; }
  .hero-content { padding-bottom: 44px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-photo-wrap::before { display: none; }
  .about-photo { max-width: 100%; aspect-ratio: 4/3; }
  .about-stats { flex-wrap: wrap; gap: 14px; }
  .stat-number { font-size: 28px; }

  /* Specs */
  .spec-grid { grid-template-columns: 1fr; gap: 10px; }
  .spec-card { padding: 18px 16px; }
  .spec-card h3 { font-size: 15px; }
  .spec-list li { font-size: 13px; }

  /* Tarifs */
  .tarif-cols { grid-template-columns: 1fr; gap: 16px; }
  .tarif-notice { padding: 14px 16px; }
  .tarif-notice p, .notice-sub { font-size: 13px; }
  .tarif-table { font-size: 13px; }

  /* Doctolib */
  .doctolib-card {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
  }
  .doctolib-info { flex-direction: column; }
  .btn-doctolib { width: 100%; justify-content: center; font-size: 14px; }

  /* Location */
  .loc-grid { grid-template-columns: 1fr; }
  .loc-map { order: -1; }
  .loc-map iframe { height: 220px; }
  .map-consent { height: 220px; }
  .info-card { padding: 0; }
  .info-card h3 { font-size: 13px; }

  /* Contact cards */
  .contact-cards { grid-template-columns: 1fr; gap: 10px; }
  .contact-card { padding: 18px 16px; gap: 6px; }
  .contact-card-icon { width: 36px; height: 36px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 4px; }
  .footer { padding: 40px 0 20px; }

  /* Modal */
  .modal-box { padding: 24px 16px; }

  .back-to-top { bottom: 20px; right: 16px; }
}

/* ============================================================
   RESPONSIVE — SMALL 480px
   ============================================================ */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(22px, 6.5vw, 30px); }
  .section-head { margin-bottom: 20px; }
  .container { padding: 0 14px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--c-white);
  transition: box-shadow var(--dur);
}
.faq-item:has(.faq-q.open) { box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-dark);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background var(--dur), color var(--dur);
}
.faq-q:hover { background: var(--c-offwhite); }
.faq-q.open { color: var(--c-primary-dk); background: var(--c-primary-bg); }
.faq-q svg { flex-shrink: 0; transition: transform .3s var(--ease); color: var(--c-muted); }
.faq-q.open svg { transform: rotate(180deg); color: var(--c-primary); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease), padding .3s var(--ease);
  padding: 0 22px;
}
.faq-a.open {
  max-height: 400px;
  padding: 0 22px 18px;
}
.faq-a p {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.75;
}

/* ============================================================
   CONTACT CARDS
   ============================================================ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.contact-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow var(--dur);
}
.contact-card:hover { box-shadow: var(--shadow-sm); }
.contact-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--c-primary-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-primary);
  margin-bottom: 4px;
}
.contact-card-icon-blue { background: #E6F4FC; color: #0596DE; }
.contact-card-icon-red  { background: #FEE8E8; color: #c0392b; }
.contact-card strong {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--c-dark);
}
.contact-card a, .contact-card span {
  font-size: 13.5px;
  color: var(--c-muted);
  line-height: 1.6;
}
.contact-card a:hover { color: var(--c-primary); }
.contact-card small {
  font-size: 11.5px;
  color: var(--c-muted);
  opacity: .7;
  font-style: italic;
}
.contact-card-rdv { border-color: #90CDE8; background: #F0FAFF; }
.contact-card-urgent { border-color: #FBBCBC; background: #FFF5F5; }
.btn-doctolib-sm {
  margin-top: 6px;
  padding: 10px 18px;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .contact-cards { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   PRE-FOOTER CTA
   ============================================================ */
.prefooter {
  background: var(--c-primary-dk);
  padding: 64px 0;
}
.prefooter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.prefooter-title {
  font-family: var(--f-head);
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 500;
  color: var(--c-white);
  margin-bottom: 10px;
}
.prefooter-sub {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  max-width: 520px;
  line-height: 1.6;
}
.prefooter .btn-doctolib {
  flex-shrink: 0;
  padding: 16px 36px;
  font-size: 15px;
}

/* ============================================================
   FLOATING RDV BUTTON (mobile only by default)
   ============================================================ */
.float-rdv {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: #0596DE;
  color: var(--c-white);
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  align-items: center;
  box-shadow: 0 6px 24px rgba(5,150,222,.4);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), opacity .3s var(--ease);
  white-space: nowrap;
}
.float-rdv:hover { transform: translateX(-50%) translateY(-2px); box-shadow: 0 10px 32px rgba(5,150,222,.5); }
.float-rdv.hidden { opacity: 0; pointer-events: none; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 90;
  width: 44px; height: 44px;
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-primary);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur), transform var(--dur);
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--c-primary-bg); transform: translateY(-2px); }

/* ============================================================
   DOCTOLIB AVATAR PHOTO
   ============================================================ */
.doctolib-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.doctolib-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.2);
  flex-shrink: 0;
}

/* ============================================================
   MOTION PREFERENCES
   ============================================================ */
/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1),
              transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entrance on load */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-card {
  animation: heroIn .9s cubic-bezier(.4,0,.2,1) .2s both;
}

/* ============================================================
   MOTION PREFERENCES
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .slide { transition: none; }
  .reveal { opacity: 1; transform: none; }
  .hero-card { animation: none; }
}

/* ============================================================
   MAP CONSENT PLACEHOLDER
   ============================================================ */
.map-consent {
  height: 460px;
  background: var(--c-offwhite);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--c-muted);
  text-align: center;
  padding: 32px;
}
.map-consent svg { opacity: .4; }
.map-consent p { font-size: 14px; max-width: 280px; line-height: 1.6; }

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  @page { size: A4; margin: 22mm 20mm; }

  /* Hide everything except tarifs + localisation */
  .topbar, .hamburger, .nav-list, .nav-overlay,
  .hero, .about, .specialites, .doctolib-section,
  .contact, .footer, .back-to-top, .cookie-banner,
  .mentions-modal, .loc-map, .section-head { display: none !important; }

  * { box-shadow: none !important; text-shadow: none !important; }
  body { font-family: Georgia, serif; font-size: 10.5pt; color: #111; background: #fff; margin: 0; padding: 0; }
  a { color: #111; text-decoration: none; }

  /* Header — letterhead */
  .header {
    position: static !important;
    height: auto !important;
    border-bottom: 1.5pt solid #111;
    padding: 0 0 10pt;
    margin-bottom: 18pt;
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
  }
  .logo-img { height: 48pt; width: auto; }
  .logo-text-fallback { display: none !important; }
  .nav-list, .hamburger { display: none !important; }

  /* Print-only contact block in header */
  .header::after {
    content: "Centre Médical de Coustellet\A 50 Route d'Avignon\A 84220 Cabrières d'Avignon\A contact@chirurgie-orthopedique-coustellet.fr";
    white-space: pre;
    font-family: Georgia, serif;
    font-size: 8.5pt;
    color: #333;
    line-height: 1.7;
    text-align: right;
    display: block;
    background: none;
    opacity: 1;
    position: static;
    height: auto;
  }

  /* Tarifs */
  .tarifs { display: block !important; padding: 0 !important; }
  .container { max-width: 100% !important; padding: 0 !important; }

  .tarifs .section-head { display: none !important; }

  /* Section label — reused as print h2 */
  .tarifs::before {
    content: "Honoraires";
    display: block;
    font-family: Georgia, serif;
    font-size: 8pt;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #555;
    border-bottom: .5pt solid #ccc;
    padding-bottom: 4pt;
    margin-bottom: 12pt;
  }

  .tarif-notice {
    border: none !important;
    padding: 0 !important;
    margin-bottom: 12pt;
    background: none !important;
  }
  .notice-icon { display: none; }
  .tarif-notice strong { font-size: 9pt; font-family: Georgia, serif; display: inline; margin: 0; font-weight: bold; }
  .tarif-notice p { font-size: 8.5pt; color: #555; margin-bottom: 2pt; font-style: italic; }
  .tarif-notice p:last-child { margin-bottom: 0; }
  .notice-sub { font-size: 8.5pt !important; color: #555 !important; font-style: italic !important; margin-top: 0 !important; }

  .tarif-cols { display: grid !important; grid-template-columns: 1fr 1fr; gap: 20pt; }
  .tarif-subtitle { font-size: 8pt; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #555; border-bottom: .75pt solid #999; padding-bottom: 4pt; margin-bottom: 8pt; }
  .tarif-table { width: 100%; border-collapse: collapse; font-size: 9.5pt; }
  .tarif-table th { text-align: left; font-size: 8pt; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #555; border-bottom: .75pt solid #999; padding: 0 4pt 4pt 0; }
  .tarif-table td { padding: 4pt 4pt 4pt 0; border-bottom: .4pt solid #e0e0e0; }
  .tarif-table td:last-child { text-align: right; white-space: nowrap; }
  .tarif-table tr:last-child td { border-bottom: none; }
  .tarif-note, .tarif-disclaimer { font-size: 7.5pt; color: #666; font-style: italic; margin-top: 6pt; }

  /* Localisation — address + hours, no map */
  .localisation { display: block !important; padding: 20pt 0 0 !important; }
  .localisation .section-head { display: none !important; }
  .localisation::before {
    content: "Horaires & Accès";
    display: block;
    font-family: Georgia, serif;
    font-size: 8pt;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #555;
    border-bottom: .5pt solid #ccc;
    padding-bottom: 4pt;
    margin-bottom: 12pt;
  }
  .loc-grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 20pt; }
  .loc-map { display: none !important; }
  .info-card { margin-bottom: 10pt; }
  .info-card-icon { display: none !important; }
  .info-card h3 { font-size: 8pt; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #555; margin-bottom: 3pt; }
  .info-card address, .info-card p { font-size: 9.5pt; color: #333; line-height: 1.65; }
  .hours-table { font-size: 9.5pt; }
  .hours-table td { border-bottom: .4pt solid #e8e8e8; padding: 3.5pt 0; color: #333; }
  .hours-table td:first-child { width: 72pt; color: #555; padding-right: 10pt; }
  .hours-table tr.closed td { color: #aaa; }

  /* Footer line */
  .localisation::after {
    content: "RPPS : 10112097315  ·  chirurgie-orthopedique-coustellet.fr  ·  Secteur 3 (non conventionné) — Demande Secteur 2 en cours";
    display: block;
    margin-top: 22pt;
    padding-top: 8pt;
    border-top: .5pt solid #ccc;
    font-family: Georgia, serif;
    font-size: 7.5pt;
    color: #777;
  }
}
