/* ============================================================
   CENTRE DENTI-SMILE — Design System (mobile-first)
   Palette : teal sarcelle profond + or chaud + menthe pâle
   Approche : base = mobile (320px+), enhancements via min-width
   ============================================================ */

/* ── Variables ────────────────────────────────────────────── */
:root {
  /* Brand */
  --teal-900: #044949;
  --teal-800: #0A6464;
  --teal: #0E7C7B;
  --teal-600: #149999;
  --teal-500: #2CB7B7;
  --teal-100: #C7EAE9;
  --teal-50: #E8F4F3;

  --gold: #D4A574;
  --gold-dark: #B58957;
  --gold-light: #F4E4D2;

  --mint: #E8F4F3;
  --mint-deep: #D1EAE8;
  --cream: #FAF7F2;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Semantic */
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;

  /* Layout */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --max-w: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(4, 73, 73, 0.04);
  --shadow: 0 4px 12px rgba(4, 73, 73, 0.08);
  --shadow-lg: 0 12px 32px rgba(4, 73, 73, 0.12);
  --shadow-xl: 0 24px 64px rgba(4, 73, 73, 0.15);
  --shadow-gold: 0 8px 24px rgba(212, 165, 116, 0.25);
  --shadow-teal: 0 8px 24px rgba(14, 124, 123, 0.25);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: 72px;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── Typography (mobile base) ────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Fraunces', 'Georgia', serif;
  color: var(--teal-900);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
}
h1 { font-size: 2rem; font-weight: 600; }       /* 32px mobile */
h2 { font-size: 1.6rem; }                        /* 25.6px mobile */
h3 { font-size: 1.2rem; }                        /* 19.2px mobile */
h4 { font-size: 1.05rem; font-weight: 600; }
p { color: var(--gray-600); }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.text-gold { color: var(--gold-dark); }
.text-teal { color: var(--teal); }
.text-cream { color: var(--cream); }

/* ── Layout (mobile base) ────────────────────────────────── */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 56px 0; }
.section--tight { padding: 40px 0; }
.section--cream { background: var(--cream); }
.section--mint { background: var(--mint); }
.section--teal {
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal) 100%);
  color: var(--cream);
}
.section--teal h1, .section--teal h2, .section--teal h3 { color: var(--white); }
.section--teal p { color: rgba(255, 255, 255, 0.85); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}
.section-header p {
  margin-top: 12px;
  font-size: 0.98rem;
  color: var(--gray-500);
}

.grid { display: grid; gap: 20px; }
/* Mobile : tout en 1 colonne par défaut */
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

/* ── Buttons (touch-friendly mobile) ─────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  min-height: 48px;          /* WCAG touch target 44px+ */
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition);
}
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-teal);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--teal-800);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(14, 124, 123, 0.35);
}

.btn-gold {
  background: var(--gold);
  color: var(--teal-900);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-2px); }

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

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover { background: #1DA851; transform: translateY(-2px); }

/* Boutons en stack mobile, plein largeur si dans hero-buttons */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-buttons .btn { width: 100%; }

/* ── Navbar (mobile base : compact, hamburger visible) ───── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--teal-900);
  letter-spacing: -0.02em;
}
.nav-logo .logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-600) 100%);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}
/* Mobile : nav-links et nav-cta cachés, hamburger visible */
.nav-links, .nav-cta { display: none; }

.hamburger {
  display: flex;
  width: 32px;
  height: 28px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 4px 0;
  z-index: 101;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--teal-900);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 60px 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu a {
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
  min-height: 48px;
  display: flex;
  align-items: center;
}
.mobile-menu a:hover, .mobile-menu a.active { background: var(--teal-50); color: var(--teal); }
.mobile-menu .btn { margin-top: 12px; justify-content: center; }

/* ── Hero (mobile base : stack vertical, photo dessous) ──── */
.hero {
  position: relative;
  padding: 100px 0 56px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -25%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--teal-100) 0%, transparent 65%);
  opacity: 0.5;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -25%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--gold-light) 0%, transparent 65%);
  opacity: 0.4;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-800);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  align-self: flex-start;
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}
.hero-title {
  font-size: 2.1rem;            /* mobile */
  margin-bottom: 16px;
  line-height: 1.1;
}
.hero-title .highlight {
  color: var(--teal);
  position: relative;
  white-space: nowrap;
}
.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--gold-light);
  z-index: -1;
  border-radius: 4px;
}
.hero-desc {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 24px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-600);
}
.hero-trust-item strong {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  color: var(--teal-800);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--mint);
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(4, 73, 73, 0.15) 100%);
  z-index: 1;
}
.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-card--rating {
  bottom: 16px;
  left: 12px;
  animation: float 4s ease-in-out infinite;
}
.hero-card--reviews {
  top: 16px;
  right: 12px;
  animation: float 4s ease-in-out infinite 2s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal-50);
  color: var(--teal);
  flex-shrink: 0;
}
.hero-card-icon--gold { background: var(--gold-light); color: var(--gold-dark); }
.hero-card-text strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  color: var(--teal-900);
  font-weight: 600;
}
.hero-card-text span { font-size: 0.72rem; color: var(--gray-500); }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--teal-100);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--teal-50);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  transition: all var(--transition);
}
.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card:hover .card-icon { background: var(--teal); color: var(--white); transform: scale(1.05); }
.card h3 { margin-bottom: 10px; color: var(--teal-900); }
.card p { color: var(--gray-600); margin-bottom: 14px; font-size: 0.95rem; }
.card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.card-link:hover { gap: 10px; }
.card-link::after { content: '→'; transition: transform var(--transition); }

.card-service { padding: 28px 22px; }
.card-service .card-icon { background: var(--gold-light); color: var(--gold-dark); }
.card-service:hover .card-icon { background: var(--gold); color: var(--white); }

/* ── Stats (mobile : 2x2 grid) ───────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 32px 24px;
  background: var(--teal-900);
  border-radius: var(--radius-xl);
  color: var(--cream);
}
.stat { text-align: center; }
.stat-value {
  font-family: 'Fraunces', serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ── Reveal animation ────────────────────────────────────── */
/* Fallback : sans JS ou si l'observer n'a pas tiré, le contenu reste lisible */
.reveal {
  opacity: 1;
  transform: none;
}
/* Animation activée seulement quand JS a marqué <html class="js"> */
html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
html.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── Footer (mobile : stack) ─────────────────────────────── */
.footer {
  background: var(--teal-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 28px;
}
.footer h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 36px;
}
.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--teal-900);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
.footer-tagline { font-size: 0.92rem; line-height: 1.65; }
.footer-list { display: flex; flex-direction: column; gap: 8px; }
.footer-list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-list a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a { color: var(--gold); }

/* ── Reviews ──────────────────────────────────────────────── */
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}
.review-stars { display: flex; gap: 2px; margin-bottom: 14px; }
.review-stars svg { width: 16px; height: 16px; fill: var(--gold); }
.review-text {
  font-size: 0.97rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: 'Fraunces', serif;
}
.review-author-info strong {
  display: block;
  color: var(--teal-900);
  font-size: 0.94rem;
}
.review-author-info span { font-size: 0.78rem; color: var(--gray-500); }

/* ── Team member ─────────────────────────────────────────── */
.team-member {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}
.team-member:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-100);
}
.team-photo {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--teal-50) 0%, var(--mint) 100%);
  position: relative;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--teal);
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 600;
}
.team-info { padding: 20px 18px; }
.team-info h3 { color: var(--teal-900); margin-bottom: 4px; }
.team-role {
  font-size: 0.78rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ── FAQ accordion ───────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item.open { border-color: var(--teal-100); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--teal-900);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  min-height: 56px;
}
.faq-question::after {
  content: '+';
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  color: var(--teal);
  font-weight: 300;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner {
  padding: 0 20px 18px;
  color: var(--gray-600);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* ── Contact form ─────────────────────────────────────────── */
.contact-form { display: grid; gap: 14px; }
.form-group { position: relative; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-800);
  transition: all var(--transition);
  min-height: 48px;
  font-size: 16px;            /* 16px sur mobile = pas de zoom auto iOS */
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-50);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ── Map embed ────────────────────────────────────────────── */
.map-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 12;
  border: 1px solid var(--gray-200);
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ── Placeholders ────────────────────────────────────────── */
.placeholder {
  background: var(--gold-light);
  border: 1.5px dashed var(--gold);
  color: var(--gold-dark);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  font-style: italic;
  display: inline-block;
}

/* ── Urgences banner ─────────────────────────────────────── */
.urgences-banner {
  background: linear-gradient(135deg, var(--danger) 0%, #DC2626 100%);
  color: var(--white);
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
}
.urgences-banner a {
  color: var(--white);
  text-decoration: underline;
  font-weight: 700;
  margin-left: 6px;
}

/* ── Sticky WhatsApp button (mobile-first prominent) ─────── */
.fab-whatsapp {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: all var(--transition);
  animation: bounce-in 0.6s 1s both;
}
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-whatsapp svg { width: 28px; height: 28px; fill: currentColor; }
@keyframes bounce-in {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ── Page header (intérieur) ─────────────────────────────── */
.page-header {
  padding: 96px 0 40px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header h1 { margin-bottom: 12px; }
.page-header p { font-size: 1rem; color: var(--gray-500); }
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { color: var(--gray-300); }

.content-prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--gray-700);
}
.content-prose p { margin-bottom: 16px; }
.content-prose h2 { margin: 36px 0 14px; }
.content-prose h3 { margin: 24px 0 10px; }
.content-prose ul {
  margin: 0 0 18px 0;
  padding-left: 22px;
  list-style: disc;
}
.content-prose ul li { margin-bottom: 8px; padding-left: 4px; }
.content-prose ul li::marker { color: var(--gold); }

/* ── Utilities ───────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 28px; }
.mt-6 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 28px; }
.mb-6 { margin-bottom: 40px; }

/* ============================================================
   TABLET (≥640px)
   ============================================================ */
@media (min-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 28px; }
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 48px; }

  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.3rem; }

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

  .hero-buttons { flex-direction: row; flex-wrap: wrap; }
  .hero-buttons .btn { width: auto; }

  .hero-title { font-size: 2.6rem; }
  .hero-desc { font-size: 1.05rem; }

  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat-value { font-size: 2.2rem; }

  .footer-grid { grid-template-columns: 1.5fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }

  .breadcrumb { flex-wrap: nowrap; }
}

/* ============================================================
   DESKTOP (≥1024px)
   ============================================================ */
@media (min-width: 1024px) {
  html { scroll-padding-top: 88px; }
  body { line-height: 1.7; }

  .container { padding: 0 32px; max-width: var(--max-w); }
  .section { padding: 96px 0; }
  .section-header { margin-bottom: 64px; }
  .section-header p { font-size: 1.08rem; }

  h1 { font-size: 3.4rem; }
  h2 { font-size: 2.4rem; }
  h3 { font-size: 1.5rem; }

  .navbar { padding: 16px 0; }
  .nav-logo { font-size: 1.4rem; }
  .nav-logo .logo-mark { width: 40px; height: 40px; font-size: 1.2rem; }

  /* Desktop : nav-links visible, hamburger caché */
  .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: color var(--transition);
    position: relative;
  }
  .nav-links a:hover, .nav-links a.active { color: var(--teal); }
  .nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
  }
  .nav-dropdown { position: relative; }
  .nav-dropdown > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: color var(--transition);
  }
  .nav-dropdown > span svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform var(--transition);
  }
  .nav-dropdown:hover > span { color: var(--teal); }
  .nav-dropdown:hover > span svg { transform: rotate(180deg); }
  .nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    border: 1px solid var(--gray-100);
  }
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .nav-dropdown-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    white-space: nowrap;
    transition: all var(--transition);
  }
  .nav-dropdown-menu a:hover { background: var(--teal-50); color: var(--teal); }

  .nav-cta { display: block; }
  .hamburger { display: none; }

  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }

  /* Hero : retour au layout 2 colonnes */
  .hero { padding: 140px 0 96px; }
  .hero::before { width: 600px; height: 600px; right: -15%; }
  .hero::after { width: 500px; height: 500px; left: -10%; }
  .hero .container {
    flex-direction: row;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
  }
  .hero-title { font-size: 3.5rem; line-height: 1.05; }
  .hero-desc { font-size: 1.13rem; max-width: 540px; }
  .hero-trust { gap: 24px; padding-top: 28px; }
  .hero-trust-item strong { font-size: 1.5rem; }
  .hero-visual { max-width: none; margin: 0; }
  .hero-card { padding: 18px 22px; gap: 14px; }
  .hero-card--rating { left: -24px; bottom: 24px; }
  .hero-card--reviews { right: -32px; top: 32px; }
  .hero-card-icon { width: 44px; height: 44px; }
  .hero-card-text strong { font-size: 1.3rem; }
  .hero-card-text span { font-size: 0.82rem; }

  .card { padding: 32px; }
  .card-icon { width: 56px; height: 56px; }
  .card-icon svg { width: 28px; height: 28px; }
  .card-service { padding: 36px 32px; }

  .stats { padding: 56px 48px; }
  .stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
  }
  .stat-value { font-size: 3rem; }
  .stat-label { font-size: 0.9rem; }

  .footer { padding: 80px 0 32px; }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
  }
  .footer h4 { font-size: 0.85rem; margin-bottom: 20px; }
  .footer-tagline { max-width: 320px; font-size: 0.94rem; }

  .review-card { padding: 32px; }
  .review-text { font-size: 1.02rem; margin-bottom: 24px; }

  .team-photo-placeholder { font-size: 4rem; }
  .team-info { padding: 28px 24px; }
  .team-role { font-size: 0.88rem; letter-spacing: 0.04em; }

  .faq-question { padding: 22px 26px; font-size: 1.08rem; }
  .faq-answer-inner { padding: 0 26px 22px; font-size: 1rem; }

  .map-container { aspect-ratio: 16 / 10; box-shadow: var(--shadow-lg); }

  .fab-whatsapp { bottom: 24px; right: 24px; width: 60px; height: 60px; }
  .fab-whatsapp svg { width: 30px; height: 30px; }

  .page-header { padding: 140px 0 64px; }
  .page-header p { font-size: 1.08rem; max-width: 640px; margin: 0 auto; }
  .breadcrumb { font-size: 0.85rem; gap: 8px; margin-bottom: 20px; }

  .content-prose { font-size: 1.05rem; }
  .content-prose p { margin-bottom: 20px; }
  .content-prose h2 { margin: 48px 0 20px; }
  .content-prose h3 { margin: 32px 0 14px; }
  .content-prose ul { padding-left: 24px; margin-bottom: 24px; }
  .content-prose ul li { margin-bottom: 10px; padding-left: 6px; }

  .section-header { max-width: 720px; }
  .section-header p { margin-top: 16px; }
}

/* ============================================================
   LARGE DESKTOP (≥1280px) — fine-tuning
   ============================================================ */
@media (min-width: 1280px) {
  h1 { font-size: 3.8rem; }
  .hero-title { font-size: 4rem; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
