/* ============================================================
   CABINET D'OPHTALMOLOGIE – Mont-Saint-Aignan
   Main Stylesheet
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --teal-50:  #e8f9fa;
  --teal-100: #c5eef2;
  --teal-200: #8ddde6;
  --teal-300: #3dd6e5;
  --teal-400: #2ab4c0;
  --teal-500: #1e96a2;
  --teal-600: #177880;
  --teal-700: #0f5c63;
  --teal-800: #0a4047;
  --teal-900: #052428;

  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --white: #ffffff;
  --black: #0f172a;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 16px rgba(26,154,168,.12), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:  0 12px 40px rgba(26,154,168,.18), 0 4px 16px rgba(0,0,0,.08);
  --shadow-xl:  0 24px 60px rgba(26,154,168,.22), 0 8px 24px rgba(0,0,0,.1);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--slate-800);
}

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--teal-400);
  color: var(--white);
  border-color: var(--teal-400);
}
.btn--primary:hover {
  background: var(--teal-500);
  border-color: var(--teal-500);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(42,180,192,.4);
}

.btn--secondary {
  background: var(--teal-50);
  color: var(--teal-600);
  border-color: var(--teal-200);
}
.btn--secondary:hover {
  background: var(--teal-100);
  border-color: var(--teal-300);
}

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

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}

.btn--lg  { padding: 16px 32px; font-size: 1rem; }
.btn--sm  { padding: 8px 16px; font-size: .8rem; }
.btn--full { width: 100%; justify-content: center; }

.btn-icon { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Section headers ────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header--light .section-title,
.section-header--light .section-desc { color: var(--white); }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--slate-800);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--teal-100);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.nav {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo-img { height: 48px; width: auto; }

.nav__logo-fallback {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon svg { width: 44px; height: 44px; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-title {
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  color: var(--teal-500);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.logo-sub {
  font-size: .62rem;
  color: var(--slate-400);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav__link {
  display: block;
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--slate-600);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav__link:hover,
.nav__link.active {
  color: var(--teal-500);
  background: var(--teal-50);
}

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__submenu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 100;
}
.nav__dropdown:hover .nav__submenu { display: block; }
.nav__submenu li a {
  display: block;
  padding: 10px 16px;
  font-size: .875rem;
  color: var(--slate-600);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.nav__submenu li a:hover {
  background: var(--teal-50);
  color: var(--teal-600);
  padding-left: 20px;
}

.nav__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-50) 0%, var(--white) 50%, var(--teal-100) 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__shapes { position: absolute; inset: 0; }

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}
.shape--1 {
  width: 600px; height: 600px;
  background: var(--teal-400);
  top: -200px; right: -100px;
}
.shape--2 {
  width: 400px; height: 400px;
  background: var(--teal-300);
  bottom: -150px; left: -100px;
}
.shape--3 {
  width: 200px; height: 200px;
  background: var(--teal-500);
  top: 40%; right: 20%;
  opacity: 0.05;
}

.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 80px;
}

.hero__eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.1;
  color: var(--slate-800);
  margin-bottom: 20px;
}
.hero__title span { color: var(--teal-500); }

.hero__desc {
  font-size: 1.1rem;
  color: var(--slate-500);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero__btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero__info { display: flex; flex-direction: column; gap: 10px; }
.hero__info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--slate-500);
}
.hero__info-item svg { width: 18px; height: 18px; color: var(--teal-400); flex-shrink: 0; }

/* Eye graphic */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__eye-graphic {
  width: 100%;
  max-width: 440px;
  animation: floatEye 6s ease-in-out infinite;
}

.eye-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(42,180,192,.2));
}

@keyframes floatEye {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-400);
  opacity: 0.7;
}
.scroll-arrow {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--teal-400), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .7; transform: scaleY(1); }
  50%      { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--teal-600);
  padding: 32px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  border-right: 1px solid rgba(255,255,255,.15);
  text-align: center;
}
.stat-card:last-child { border-right: none; }

.stat-card__number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-card__label {
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ============================================================
   SPECIALTIES
   ============================================================ */
.specialties {
  padding: 100px 0;
  background: var(--slate-50);
}

.specialties__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.spec-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
  cursor: pointer;
}
.spec-card:hover {
  border-color: var(--teal-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.spec-card:hover .spec-card__icon { background: var(--teal-400); color: var(--white); }

.spec-card__icon {
  width: 56px;
  height: 56px;
  background: var(--teal-50);
  color: var(--teal-500);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.spec-card__icon svg { width: 28px; height: 28px; }

.spec-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--slate-800);
}

.spec-card__desc {
  font-size: .9rem;
  color: var(--slate-500);
  line-height: 1.65;
  flex: 1;
}

.spec-card__link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--teal-500);
  transition: color var(--transition);
}
.spec-card:hover .spec-card__link { color: var(--teal-400); }

.specialties__cta { text-align: center; margin-top: 48px; }

/* ============================================================
   DOCTORS
   ============================================================ */
.doctors {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-600) 50%, var(--teal-800) 100%);
  position: relative;
  overflow: hidden;
}
.doctors::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(255,255,255,.08), transparent);
}

.doctors .section-eyebrow { color: var(--teal-200); }
.doctors .section-title   { color: var(--white); }

.doctors__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.doctor-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
}
.doctor-card:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.doctor-card__photo {
  height: 200px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.doctor-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.doctor-card__photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  gap: 8px;
  color: var(--white);
}
.doctor-card__photo-placeholder svg { width: 80px; height: 80px; opacity: .6; }
.doctor-card__photo-placeholder span {
  font-size: .8rem;
  font-weight: 600;
  opacity: .8;
  letter-spacing: .05em;
}

.doctor-card__body {
  padding: 24px;
}

.doctor-card__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 4px;
}

.doctor-card__title {
  font-size: .8rem;
  color: var(--teal-200);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.doctor-card__specs {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doctor-card__specs li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: rgba(255,255,255,.8);
}
.doctor-card__specs li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal-300);
  border-radius: 50%;
  flex-shrink: 0;
}

.doctors__cta { text-align: center; margin-top: 48px; }

/* ============================================================
   CABINET
   ============================================================ */
.cabinet {
  padding: 100px 0;
  background: var(--white);
}

.cabinet__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 400px;
  gap: 24px;
}

.cabinet__photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--teal-100);
}

.cabinet__photo--1 { grid-column: 1; }
.cabinet__photo--2 { grid-column: 2; }

.cabinet__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cabinet__photo:hover img { transform: scale(1.03); }

.cabinet__photo--fallback {
  background: linear-gradient(135deg, var(--teal-100), var(--teal-200));
}

.cabinet__photo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(14,66,72,.7));
  padding: 32px 20px 16px;
}
.cabinet__photo-overlay span {
  font-weight: 600;
  font-size: .9rem;
  color: var(--white);
  letter-spacing: .05em;
}

.cabinet__features {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.cabinet__feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--teal-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--teal-100);
}

.cabinet__feature-icon {
  width: 40px;
  height: 40px;
  background: var(--teal-400);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cabinet__feature-icon svg { width: 20px; height: 20px; }

.cabinet__feature h4 {
  font-size: .9rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 4px;
}
.cabinet__feature p {
  font-size: .82rem;
  color: var(--slate-500);
  line-height: 1.5;
}

/* ============================================================
   RDV
   ============================================================ */
.rdv {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--teal-50) 0%, white 100%);
}

.rdv__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.rdv__title {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  color: var(--slate-800);
  margin-bottom: 16px;
}

.rdv__desc {
  font-size: 1rem;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 32px;
}

.rdv__hours h4 {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 12px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.hours-table td {
  padding: 10px 12px;
  font-size: .875rem;
  border-bottom: 1px solid var(--teal-100);
  color: var(--slate-600);
}
.hours-table td:first-child { font-weight: 600; color: var(--slate-700); }
.hours-table tr.closed td { color: var(--slate-400); }

.rdv__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal-600);
}
.rdv__phone svg { width: 20px; height: 20px; }
.rdv__phone a { color: var(--teal-600); }
.rdv__phone a:hover { color: var(--teal-400); }

.rdv__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rdv__doctor-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.rdv__doctor-card:hover {
  border-color: var(--teal-300);
  box-shadow: var(--shadow-md);
}

.rdv__doctor-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  color: var(--white);
  flex-shrink: 0;
}
.rdv__doctor-avatar--l   { background: linear-gradient(135deg, var(--teal-400), var(--teal-600)); }
.rdv__doctor-avatar--edf { background: linear-gradient(135deg, var(--teal-300), var(--teal-500)); }

.rdv__doctor-info { flex: 1; }
.rdv__doctor-info h3 { font-size: .95rem; font-family: var(--font-body); font-weight: 600; color: var(--slate-800); margin-bottom: 4px; }
.rdv__doctor-info p  { font-size: .8rem; color: var(--slate-400); }

/* ============================================================
   LOCATION
   ============================================================ */
.location {
  padding: 100px 0;
  background: var(--white);
}

.location__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}

.location__title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--slate-800);
  margin-bottom: 16px;
}

.location__desc {
  font-size: 1rem;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 32px;
}

.location__details { display: flex; flex-direction: column; gap: 16px; }

.location__detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.location__detail svg { width: 24px; height: 24px; color: var(--teal-400); flex-shrink: 0; margin-top: 2px; }
.location__detail strong { font-size: .9rem; color: var(--slate-700); display: block; margin-bottom: 4px; }
.location__detail p { font-size: .85rem; color: var(--slate-500); line-height: 1.5; }

.location__map {
  height: 440px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--teal-100);
}
.location__map iframe { border-radius: var(--radius-xl); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--slate-900);
  color: var(--slate-300);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding: 64px 24px 48px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer__logo-title {
  display: block;
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .04em;
}
.footer__logo-sub {
  display: block;
  font-size: .7rem;
  color: var(--slate-400);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 2px;
}

.footer__tagline {
  font-size: .9rem;
  color: var(--slate-400);
  line-height: 1.6;
  max-width: 260px;
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 16px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 8px; }

.footer__col ul li a {
  font-size: .875rem;
  color: var(--slate-400);
  transition: color var(--transition);
}
.footer__col ul li a:hover { color: var(--teal-300); }

.footer__col address p {
  font-size: .875rem;
  color: var(--slate-400);
  margin-bottom: 8px;
  line-height: 1.5;
}
.footer__col address a { color: var(--teal-300); }

.footer__rdv { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

.footer__bottom {
  border-top: 1px solid var(--slate-800);
  padding: 20px 24px;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom p {
  font-size: .8rem;
  color: var(--slate-500);
}
.footer__bottom a {
  color: var(--slate-400);
  transition: color var(--transition);
}
.footer__bottom a:hover { color: var(--teal-300); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-500) 100%);
  padding: 120px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__eyebrow { color: var(--teal-200); margin-bottom: 12px; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.page-hero__title { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--white); margin-bottom: 16px; }
.page-hero__desc { font-size: 1.1rem; color: rgba(255,255,255,.75); max-width: 560px; line-height: 1.7; }

/* ============================================================
   PATHOLOGIES PAGE
   ============================================================ */
.patho-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--slate-100);
}
.patho-section:nth-child(even) { background: var(--slate-50); }

.patho-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.patho-section__inner--reverse { direction: rtl; }
.patho-section__inner--reverse > * { direction: ltr; }

.patho-illustration {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--teal-50), var(--teal-100));
  display: flex;
  align-items: center;
  justify-content: center;
}
.patho-illustration svg { width: 60%; height: 60%; color: var(--teal-400); opacity: .6; }

.patho-tag {
  display: inline-block;
  background: var(--teal-50);
  color: var(--teal-600);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid var(--teal-200);
}

.patho-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--slate-800);
  margin-bottom: 16px;
}

.patho-desc {
  font-size: 1rem;
  color: var(--slate-500);
  line-height: 1.75;
  margin-bottom: 24px;
}

.patho-details { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.patho-detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--slate-600);
  line-height: 1.5;
}
.patho-detail::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--teal-400);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

.patho-doctors {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.patho-rdv {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--teal-100);
  margin-top: 8px;
}

.btn--outline-teal {
  background: transparent;
  color: var(--teal-600);
  border-color: var(--teal-400);
}
.btn--outline-teal:hover {
  background: var(--teal-50);
  border-color: var(--teal-500);
}
.patho-doctor-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-600);
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}
.patho-doctor-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal-200);
  border-radius: 50%;
}

/* ============================================================
   MEDECINS PAGE
   ============================================================ */
.medecins-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 80px 0;
}

.medecin-profile {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.medecin-profile__header {
  height: 240px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.medecin-profile__avatar {
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,.2);
  border: 3px solid rgba(255,255,255,.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-heading);
}

.medecin-profile__body { padding: 32px; }

.medecin-profile__name {
  font-size: 1.6rem;
  color: var(--slate-800);
  margin-bottom: 6px;
}
.medecin-profile__role {
  font-size: .8rem;
  color: var(--teal-500);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.medecin-profile__specs h4 {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 14px;
}

.medecin-profile__specs ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.medecin-profile__specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--slate-600);
}
.medecin-profile__specs li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--teal-400);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  padding: 80px 0;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 32px; }

.contact-block {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.contact-block h3 {
  font-size: 1.1rem;
  color: var(--slate-800);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-block h3 svg { width: 20px; height: 20px; color: var(--teal-400); }

.contact-map {
  height: 560px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--teal-100);
  position: sticky;
  top: 88px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .specialties__grid { grid-template-columns: repeat(2, 1fr); }
  .cabinet__gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .cabinet__features { grid-column: 1 / -1; grid-row: 2; flex-direction: row; flex-wrap: wrap; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .medecins-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { position: static; height: 400px; }
  .patho-section__inner { grid-template-columns: 1fr; gap: 40px; }
  .patho-section__inner--reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .nav__menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--teal-100);
    padding: 16px;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav__menu.open { display: flex; }
  .nav__burger { display: flex; }
  .nav__link { width: 100%; }

  .hero__content { grid-template-columns: 1fr; }
  .hero__visual { display: none; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(2) { border-right: none; }
  .stat-card { border-bottom: 1px solid rgba(255,255,255,.15); }
  .stat-card:nth-child(3),
  .stat-card:nth-child(4) { border-bottom: none; }

  .specialties__grid { grid-template-columns: 1fr; }

  .doctors__grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }

  .cabinet__gallery { grid-template-columns: 1fr; }
  .cabinet__photo--1, .cabinet__photo--2 { height: 280px; grid-column: 1; }
  .cabinet__features { grid-column: 1; flex-direction: column; }

  .rdv__inner { grid-template-columns: 1fr; gap: 40px; }

  .location__inner { grid-template-columns: 1fr; }
  .location__map { height: 320px; }

  .footer__inner { grid-template-columns: 1fr; }

  .nav__submenu { position: static; box-shadow: none; border: none; padding-left: 16px; background: var(--teal-50); }
  .nav__dropdown:hover .nav__submenu { display: none; }
  .nav__dropdown.open .nav__submenu { display: block; }
}

@media (max-width: 480px) {
  .hero__btns { flex-direction: column; }
  .btn--lg { width: 100%; justify-content: center; }
  .rdv__doctor-card { flex-direction: column; text-align: center; }
  .footer__rdv { align-items: stretch; }
}
