/* =====================================================
   Cabinet Dentaire la Plaine — Feuille de styles
   ===================================================== */

:root {
  --plum-900: #3f1247;
  --plum-700: #6b1f74;
  --plum-600: #7c2585;
  --plum-500: #a345ac;
  --plum-100: #f0ddf2;
  --plum-50:  #f9f1fa;
  --sand-50:  #faf9f7;
  --sand-100: #f3f0ea;
  --gold-500: #c2a061;
  --ink-900:  #251c27;
  --ink-600:  #5c4f5e;
  --ink-400:  #8e8290;
  --white:    #ffffff;

  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", -apple-system, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(63, 18, 71, 0.10);
  --shadow-soft: 0 4px 18px rgba(63, 18, 71, 0.07);
  --container: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--sand-50);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--plum-600); text-decoration: none; }
a:hover { color: var(--plum-900); }

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

/* ---------- Typographie ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.18;
  color: var(--plum-900);
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-500);
  margin-bottom: 14px;
}

.lead {
  font-size: 1.12rem;
  color: var(--ink-600);
  max-width: 640px;
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; color: var(--ink-600); }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: var(--plum-700);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(63, 18, 71, 0.32);
}
.btn-primary:hover { background: var(--plum-900); color: var(--white); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--plum-700);
  border-color: var(--plum-700);
}
.btn-outline:hover { background: var(--plum-700); color: var(--white); transform: translateY(-2px); }

.btn-light {
  background: var(--white);
  color: var(--plum-700);
  box-shadow: var(--shadow-soft);
}
.btn-light:hover { color: var(--plum-900); transform: translateY(-2px); }

/* ---------- Barre supérieure ---------- */

.topbar {
  background: var(--plum-900);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.topbar a { color: var(--white); font-weight: 700; }
.topbar a:hover { color: var(--gold-500); }

.topbar .topbar-items { display: flex; gap: 26px; align-items: center; }
.topbar .topbar-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar svg { width: 14px; height: 14px; opacity: 0.8; }

/* ---------- En-tête / navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(63, 18, 71, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand { display: flex; align-items: center; gap: 14px; }

.brand-mark {
  width: 40px;
  flex: none;
}
.brand-mark img { width: 100%; height: auto; display: block; }

.brand-text { line-height: 1.2; }
.brand-text .brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--plum-900);
  display: block;
}
.brand-text .brand-sub {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ink-900);
  white-space: nowrap;
}

.main-nav a:hover { background: var(--plum-100); color: var(--plum-900); }
.main-nav a.active { background: var(--plum-700); color: var(--white); }
.main-nav a.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(120deg, var(--gold-500), #a9853f);
  color: var(--white);
  margin-left: 6px;
  padding: 11px 18px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(194, 160, 97, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.main-nav a.nav-cta svg { width: 16px; height: 16px; flex: none; }
.main-nav a.nav-cta:hover {
  background: linear-gradient(120deg, #d2ad6c, #93732f);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(194, 160, 97, 0.55);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.6px;
  border-radius: 2px;
  background: var(--plum-900);
  margin: 5.5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Héros ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(163, 69, 172, 0.16), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(194, 160, 97, 0.13), transparent 55%),
    linear-gradient(165deg, #faf5fb 0%, var(--sand-50) 55%, #f2efe8 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 96px;
}

.hero h1 em {
  font-style: italic;
  color: var(--plum-600);
}

.hero .lead { margin: 22px 0 34px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; }

.hero-badge { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; color: var(--ink-600); }
.hero-badge svg { width: 20px; height: 20px; color: var(--plum-600); flex: none; }

.hero-visual { position: relative; }

.hero-card {
  background: var(--white);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-illustration {
  width: 100%;
  height: auto;
  display: block;
}

.hero-floating {
  position: absolute;
  left: -26px;
  bottom: 30px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 300px;
}

.hero-floating .dot {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--plum-100);
  color: var(--plum-700);
}
.hero-floating .dot svg { width: 22px; height: 22px; }
.hero-floating strong { display: block; font-size: 0.95rem; color: var(--plum-900); }
.hero-floating span { font-size: 0.82rem; color: var(--ink-400); }

/* ---------- Sections génériques ---------- */

.section { padding: 90px 0; }
.section.tint { background: var(--white); }
.section.dark {
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(255, 255, 255, 0.06), transparent 55%),
    var(--plum-900);
  color: rgba(255, 255, 255, 0.85);
}
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark .lead { color: rgba(255, 255, 255, 0.75); }

/* ---------- Cartes valeurs ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(63, 18, 71, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.value-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--plum-100);
  color: var(--plum-700);
  margin-bottom: 20px;
}
.value-icon svg { width: 28px; height: 28px; }

.value-card h3 { margin-bottom: 10px; font-size: 1.12rem; }
.value-card p { font-size: 0.94rem; color: var(--ink-600); }

/* ---------- Grille de soins ---------- */

.care-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.care-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(63, 18, 71, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.care-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.care-card .care-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--plum-600), var(--plum-900));
  color: var(--white);
  margin-bottom: 18px;
}
.care-card .care-icon svg { width: 26px; height: 26px; }

.care-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.care-card p { font-size: 0.92rem; color: var(--ink-600); flex: 1; }

.care-card .care-link {
  margin-top: 18px;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.care-card .care-link svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.care-card:hover .care-link svg { transform: translateX(4px); }

.care-card.featured { border: 2px solid var(--gold-500); }
.care-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--gold-500);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Bandeau praticien ---------- */

.doctor-band .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.doctor-photo {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.doctor-photo svg { width: 100%; height: auto; display: block; }
.doctor-photo img { width: 100%; height: auto; display: block; }

.doctor-quote {
  margin: 26px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--gold-500);
  background: var(--plum-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--plum-900);
}

.doctor-list { list-style: none; margin: 24px 0 32px; display: grid; gap: 12px; }
.doctor-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-600); }
.doctor-list svg { width: 20px; height: 20px; color: var(--plum-600); flex: none; margin-top: 3px; }

/* ---------- Équipe ---------- */

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

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(63, 18, 71, 0.05);
}

.team-avatar {
  width: 92px;
  height: 92px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--plum-500), var(--plum-900));
}
.team-card:nth-child(2) .team-avatar { background: linear-gradient(135deg, var(--gold-500), #8a6c33); }
.team-card:nth-child(3) .team-avatar { background: linear-gradient(135deg, #b06ab8, var(--plum-700)); }

.team-card h3 { margin-bottom: 4px; }
.team-card .team-role {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-500);
  font-weight: 700;
  display: block;
  margin-bottom: 14px;
}
.team-card p { font-size: 0.92rem; color: var(--ink-600); }

/* ---------- Chiffres clés ---------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--gold-500);
  line-height: 1.1;
}
.stat span { font-size: 0.92rem; }

/* ---------- Bandeau horaires / accès ---------- */

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

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(63, 18, 71, 0.05);
}

.info-card .value-icon { margin-bottom: 18px; }
.info-card h3 { margin-bottom: 14px; }
.info-card p, .info-card li { font-size: 0.95rem; color: var(--ink-600); }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours-table td { padding: 7px 0; color: var(--ink-600); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--plum-900); white-space: nowrap; }
.hours-table tr + tr td { border-top: 1px dashed rgba(63, 18, 71, 0.12); }
.hours-table .closed td:last-child { color: var(--ink-400); font-weight: 500; }

/* ---------- Bande panorama Réunion ---------- */

.panorama-band {
  position: relative;
  background-size: cover;
  background-position: center 65%;
  padding: 120px 0;
}
.panorama-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(63, 18, 71, 0.82) 0%, rgba(63, 18, 71, 0.45) 55%, rgba(63, 18, 71, 0.18) 100%);
}
.panorama-band .container { position: relative; }
.panorama-band h2 { color: var(--white); margin-bottom: 14px; }
.panorama-band p { color: rgba(255, 255, 255, 0.88); max-width: 560px; }
.panorama-band .eyebrow { color: var(--gold-500); }

/* ---------- Galerie photos ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: block;
}

.photo-card {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-top: 26px;
  display: block;
}

/* ---------- Appel à l'action ---------- */

.cta-band {
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(120deg, var(--plum-700), var(--plum-900));
  border-radius: calc(var(--radius) + 10px);
  padding: 64px 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, 0.78); max-width: 520px; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Pages intérieures : héros court ---------- */

.page-hero {
  background:
    radial-gradient(900px 380px at 90% -20%, rgba(163, 69, 172, 0.16), transparent 60%),
    linear-gradient(160deg, #faf5fb, var(--sand-100));
  padding: 70px 0 64px;
}
.page-hero .lead { margin-top: 16px; }

.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-400);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--plum-600); font-weight: 600; }

/* ---------- Détail des soins ---------- */

.care-detail {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 26px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 38px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(63, 18, 71, 0.05);
}
.care-detail + .care-detail { margin-top: 26px; }

.care-detail .care-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--plum-600), var(--plum-900));
  color: var(--white);
}
.care-detail .care-icon svg { width: 32px; height: 32px; }

.care-detail h2 { font-size: 1.5rem; margin-bottom: 12px; }
.care-detail p { color: var(--ink-600); margin-bottom: 12px; }
.care-detail ul { margin: 14px 0 4px 2px; list-style: none; display: grid; gap: 9px; }
.care-detail li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-600); font-size: 0.97rem; }
.care-detail li svg { width: 18px; height: 18px; color: var(--gold-500); flex: none; margin-top: 4px; }

/* ---------- FAQ / accordéon ---------- */

.faq { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(63, 18, 71, 0.08);
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  color: var(--plum-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .faq-chevron {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--plum-600);
  transition: transform 0.25s ease;
}
.faq-item[open] summary .faq-chevron { transform: rotate(180deg); }

.faq-item .faq-body { padding: 0 24px 22px; color: var(--ink-600); font-size: 0.97rem; }

/* ---------- Urgences ---------- */

.emergency-banner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fdf3ee;
  border: 1px solid #f3cdbb;
  border-radius: var(--radius);
  padding: 28px 30px;
  margin-bottom: 40px;
}
.emergency-banner .value-icon { background: #fbe0d3; color: #b04a23; margin: 0; flex: none; }
.emergency-banner h3 { color: #8c3a1b; margin-bottom: 6px; }
.emergency-banner p { color: #7d564a; font-size: 0.97rem; }
.emergency-banner a { color: #b04a23; font-weight: 700; }

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

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(63, 18, 71, 0.05);
}
.step-card .step-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--plum-100);
  -webkit-text-stroke: 1.5px var(--plum-600);
  display: block;
  margin-bottom: 10px;
}
.step-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step-card p { font-size: 0.93rem; color: var(--ink-600); }

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(63, 18, 71, 0.05);
}

.contact-form h2 { margin-bottom: 8px; font-size: 1.5rem; }
.contact-form > p { color: var(--ink-600); font-size: 0.95rem; margin-bottom: 26px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 7px;
  color: var(--plum-900);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(63, 18, 71, 0.16);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--ink-900);
  background: var(--sand-50);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--plum-600);
  box-shadow: 0 0 0 4px rgba(163, 69, 172, 0.14);
  background: var(--white);
}

.form-note { font-size: 0.8rem; color: var(--ink-400); margin-top: 14px; }

.form-success {
  display: none;
  background: var(--plum-50);
  border: 1px solid var(--plum-100);
  color: var(--plum-900);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 18px;
  font-weight: 600;
}
.form-success.visible { display: block; }

.form-error {
  display: none;
  background: #fdf0ee;
  border: 1px solid #f3c4bb;
  color: #8c2a1b;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 18px;
  font-weight: 600;
}
.form-error.visible { display: block; }
.form-error a { color: #b04a23; }

.form-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.map-frame {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-top: 26px;
}

/* ---------- Pied de page ---------- */

.site-footer {
  background: var(--plum-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 0;
  margin-top: 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.site-footer h4 {
  color: var(--white);
  font-size: 1.02rem;
  margin-bottom: 18px;
}

.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.75); font-size: 0.94rem; }
.site-footer a:hover { color: var(--gold-500); }
.site-footer p { font-size: 0.94rem; }

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .brand-mark { background: #ffffff; border-radius: 10px; padding: 5px; width: 44px; }
.footer-brand .brand-name { color: var(--white); font-family: var(--font-heading); font-weight: 700; }

.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--gold-500); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.65); }

/* ---------- Animations d'apparition ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Bouton retour en haut ---------- */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--plum-700);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Blog / Conseils ---------- */

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

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(63, 18, 71, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.post-card .post-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.post-card .post-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-meta {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-500);
  font-weight: 800;
  margin-bottom: 10px;
}

.post-card h2, .post-card h3 { font-size: 1.16rem; line-height: 1.3; margin-bottom: 10px; }
.post-card p { font-size: 0.94rem; color: var(--ink-600); flex: 1; }
.post-card .care-link { margin-top: 16px; font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.post-card .care-link svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.post-card:hover .care-link svg { transform: translateX(4px); }

/* ---------- Article ---------- */

.article { max-width: 760px; margin: 0 auto; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--ink-400);
  margin-bottom: 26px;
}
.article-meta .cat {
  color: var(--gold-500);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 36px;
}

.prose > p { color: var(--ink-600); margin-bottom: 18px; font-size: 1.04rem; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.18rem; margin: 28px 0 10px; }
.prose ul { list-style: none; margin: 0 0 22px; display: grid; gap: 11px; }
.prose ul li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-600); }
.prose ul li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  flex: none;
  margin-top: 9px;
}
.prose blockquote {
  margin: 26px 0;
  padding: 20px 26px;
  border-left: 4px solid var(--gold-500);
  background: var(--plum-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--plum-900);
}
.prose blockquote p { margin: 0; }

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-weight: 700;
  font-size: 0.95rem;
}
.article-back svg { width: 18px; height: 18px; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .values-grid, .care-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .container, .doctor-band .container { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 560px; }
  .info-grid, .team-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .main-nav ul { gap: 0; }
  .main-nav a { padding: 9px 9px; font-size: 0.9rem; }
}

@media (max-width: 720px) {
  .topbar .topbar-items .hide-mobile { display: none; }

  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid rgba(63, 18, 71, 0.08);
    box-shadow: var(--shadow);
    display: none;
    padding: 18px 24px 24px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 13px 16px; border-radius: var(--radius-sm); }
  .main-nav a.nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }

  .section { padding: 64px 0; }
  .hero .container { padding-top: 56px; padding-bottom: 64px; }
  .hero-floating { position: static; margin-top: 16px; max-width: none; }

  .values-grid, .care-grid, .info-grid, .team-grid, .steps-grid, .stats-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 30px; }
  .care-detail { grid-template-columns: 1fr; padding: 30px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
}
