/* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
   Dr Gilles Chaumanet — Cabinet de chirurgie orale
   Palette : pétrole profond + sable chaud + papier
   ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ */

:root {
  --bg: #f1f6fc;          /* bleu très clair */
  --bg-soft: #e6effb;     /* sections alternées */
  --ink: #0a2348;         /* navy profond */
  --petrol: #14509e;      /* bleu roi (primaire) */
  --petrol-2: #1e6ad4;    /* bleu plus clair */
  --sand: #cca35e;        /* accent or discret (premium) */
  --sand-deep: #b4863a;
  --text: #243b59;
  --muted: #5c7392;
  --line: #d6e3f3;
  --white: #ffffff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 26px 64px -28px rgba(10, 35, 72, 0.34);
  --shadow-sm: 0 12px 32px -18px rgba(10, 35, 72, 0.36);
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Nappe ambiante : profondeur colorée subtile sur toute la page */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 36% at 84% 6%, rgba(30, 106, 212, 0.12), transparent 60%),
    radial-gradient(34% 30% at 6% 18%, rgba(204, 163, 94, 0.09), transparent 60%),
    radial-gradient(48% 42% at 92% 78%, rgba(20, 80, 158, 0.08), transparent 62%),
    radial-gradient(40% 38% at 8% 92%, rgba(30, 106, 212, 0.07), transparent 60%);
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}
h1 em, h2 em { font-style: italic; color: var(--petrol); }

p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }

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

/* ░░░ BOUTONS ░░░ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  letter-spacing: .01em;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-primary { background: var(--petrol); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--petrol-2); transform: translateY(-2px); box-shadow: 0 18px 36px -18px rgba(20,75,158,.65); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--petrol); color: var(--petrol); transform: translateY(-2px); }
.btn-light { background: var(--sand); color: #2b2113; }
.btn-light:hover { background: #d6b58c; transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #f5efe6; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }

/* ░░░ HEADER ░░░ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 238, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10,35,72,.5); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-logo { height: 44px; width: auto; display: block; }
.brand-mark {
  width: 42px; height: 42px; flex: 0 0 42px;
  display: grid; place-items: center;
  background: var(--petrol); color: var(--sand);
  border-radius: 12px;
  font-family: "Fraunces", serif; font-weight: 600; font-size: 1.05rem;
  letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: "Fraunces", serif; font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.brand-sub { font-size: .74rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.nav { display: flex; gap: 30px; }
.nav a { font-size: .92rem; font-weight: 500; color: var(--text); position: relative; padding: 4px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--sand); transition: width .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 6px; padding: 12px 24px 24px; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-nav a { padding: 12px 4px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav a.btn { border: 0; margin-top: 12px; color: #fff; }

/* ░░░ HERO ░░░ */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 4%, rgba(30, 106, 212, 0.16), transparent 62%),
    radial-gradient(48% 60% at 100% 60%, rgba(204, 163, 94, 0.10), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Ccircle cx='2' cy='2' r='1.2' fill='%231e6ad4' opacity='0.07'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 55%, transparent 100%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 55%, transparent 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sand-deep); font-weight: 600; margin-bottom: 20px;
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); margin-bottom: 22px; }
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink); font-weight: 600;
  max-width: 40ch; margin-bottom: 16px;
}
.lede { font-size: 1.04rem; color: var(--muted); max-width: 46ch; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags li {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; color: var(--petrol);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; box-shadow: var(--shadow-sm);
}
.hero-tags li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sand); }

/* Carte praticien (hero) */
.hero-card {
  align-self: center; background: var(--white); border: 1px solid var(--line);
  border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; width: 100%; max-width: 440px;
}
.hero-card-top {
  position: relative; padding: 22px 26px 24px; color: #fff;
  background:
    radial-gradient(120% 140% at 85% 0%, rgba(204,163,94,.30), transparent 55%),
    linear-gradient(150deg, var(--petrol-2), var(--ink));
}
.hc-badge {
  display: inline-block; margin-bottom: 18px;
  background: var(--sand); color: #2b2113; font-size: .72rem; font-weight: 700;
  padding: 6px 13px; border-radius: 999px; letter-spacing: .01em;
}
.hc-id { display: flex; align-items: center; gap: 15px; }
.hc-photo {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 18%;
  border: 2px solid rgba(255,255,255,.35); flex: 0 0 64px;
}
.hc-id strong { font-family: "Fraunces", serif; font-size: 1.18rem; font-weight: 600; display: block; }
.hc-id span { font-size: .8rem; color: rgba(255,255,255,.78); }

.hero-card-body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 16px; }
.hc-row { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.hc-row strong { color: var(--ink); font-weight: 600; }
.hc-row a { color: inherit; }
.hc-row a:hover strong { color: var(--petrol); }
.hc-ic { width: 20px; height: 20px; flex: 0 0 20px; color: var(--sand-deep); margin-top: 1px; }
.btn-block { width: 100%; margin-top: 6px; }

.hero-glow {
  position: absolute; z-index: 1; top: -160px; right: 0;
  width: min(680px, 78vw); height: min(680px, 78vw); border-radius: 50%;
  background: radial-gradient(circle at center, rgba(30,106,212,.22), rgba(30,106,212,0) 70%);
  filter: blur(8px); pointer-events: none;
}
/* halo doux derrière la carte praticien */
.hero-card { position: relative; }
.hero-card::after {
  content: ""; position: absolute; inset: -28px -28px -10px; z-index: -1; border-radius: 32px;
  background: radial-gradient(70% 70% at 50% 30%, rgba(20,80,158,.20), transparent 70%);
  filter: blur(18px);
}

/* ░░░ BANDEAU CONFIANCE ░░░ */
.trust { background: var(--petrol); color: #f3ede2; }
.trust-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px;
  padding: 18px 24px; font-size: .85rem; letter-spacing: .02em; text-align: center;
}
.trust .dot { color: var(--sand); }

/* ░░░ SECTIONS ░░░ */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.kicker { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sand-deep); font-weight: 600; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section-intro { margin-top: 18px; font-size: 1.05rem; color: var(--muted); }

/* ░░░ PRATICIEN — image unique (2 photos) + texte ░░░ */
.praticien-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.pm-duo { width: 100%; height: auto; display: block; }
.praticien-copy > p { color: var(--text); }

/* ░░░ STEPS ░░░ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num { font-family: "Fraunces", serif; font-size: 1rem; font-weight: 600; color: var(--sand-deep); letter-spacing: .08em; }
.step h3 { font-size: 1.18rem; margin: 14px 0 10px; }
.step p { font-size: .94rem; color: var(--muted); margin: 0; }

/* ░░░ CARDS ░░░ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d8c7ac; }
.card-ic {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.4rem;
  background: var(--bg-soft); color: var(--petrol); margin-bottom: 18px;
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { font-size: .96rem; color: var(--muted); margin: 0; }

/* ░░░ SPLIT (cabinet/bio) ░░░ */
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(200,164,121,.25), transparent 60%),
    linear-gradient(160deg, var(--petrol), var(--ink));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; color: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.portrait::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px);
}
.portrait-initials { font-family: "Fraunces", serif; font-size: 4.5rem; color: var(--sand); }
.portrait-caption { font-size: .95rem; letter-spacing: .04em; color: rgba(255,255,255,.85); position: relative; z-index: 2; }
.split-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 20px; }
.split-copy p { color: var(--text); }
.checklist { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; color: var(--text); font-weight: 500; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%; background: var(--sand); color: #2b2113;
  display: grid; place-items: center; font-size: .72rem; font-weight: 700;
}
.diplomas-intro { font-weight: 600; color: var(--ink); margin: 6px 0 0; }
.diplomas { margin-top: 14px; gap: 11px; }
.diplomas li { font-weight: 500; font-size: .95rem; color: var(--text); }

/* Portrait praticien (photo réelle) */
.portrait-photo {
  margin: 0; position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(10,35,72,.06);
}
.portrait-photo img {
  width: 100%; height: auto; display: block;
}
.portrait-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 18px;
  color: #fff; font-family: "Fraunces", serif; font-size: 1.05rem; letter-spacing: .01em;
  background: linear-gradient(to top, rgba(10,35,72,.86), rgba(10,35,72,0));
}

/* Galerie cabinet */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; display: block;
  transition: transform .6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { padding: 14px 18px; font-size: .9rem; color: var(--muted); }

/* ░░░ ÉQUIPE ░░░ */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 880px; margin: 0 auto; }
.team-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 24px; text-align: center; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-avatar {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--petrol), var(--ink)); color: var(--sand);
  font-family: "Fraunces", serif; font-size: 1.5rem;
}
.team-photo {
  width: 108px; height: 108px; border-radius: 50%; object-fit: cover; object-position: center 22%;
  margin: 0 auto 18px; display: block;
  border: 3px solid var(--white); box-shadow: var(--shadow-sm);
}
.team-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.team-role { font-size: .9rem; color: var(--muted); margin: 0; }

/* ░░░ AVIS PATIENTS ░░░ */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-sm);
}
.review-stars { color: var(--sand); letter-spacing: 2px; font-size: 1rem; }
.review-text { color: var(--text); font-size: 1rem; margin: 0; }
.review-text::before { content: "“"; font-family: "Fraunces", serif; color: var(--sand); font-size: 1.4rem; margin-right: 2px; }
.review-author { margin-top: auto; font-weight: 600; color: var(--ink); font-size: .92rem; }
.review-author span { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }

.reviews-empty {
  grid-column: 1 / -1; max-width: 560px; margin: 0 auto; text-align: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 48px 36px; box-shadow: var(--shadow-sm);
}
.reviews-stars { color: var(--sand); font-size: 1.6rem; letter-spacing: 4px; margin-bottom: 16px; }
.reviews-empty h3 { font-size: 1.4rem; margin-bottom: 12px; }
.reviews-empty p { color: var(--muted); margin-bottom: 24px; }

/* ░░░ FAQ ░░░ */
.container.narrow { max-width: 820px; }
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 24px; transition: box-shadow .3s, border-color .3s;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: #d8c7ac; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; position: relative; padding-right: 40px;
  font-family: "Fraunces", serif; font-size: 1.12rem; color: var(--ink); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--sand-deep); transition: transform .3s var(--ease);
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }
.faq-a { padding: 0 0 20px; }
.faq-a p { margin: 0; color: var(--muted); }

/* ░░░ RENDEZ-VOUS / DOCTOLIB ░░░ */
.rdv { background: linear-gradient(160deg, var(--petrol-2), var(--ink)); color: #fff; padding: 88px 0; }
.kicker.on-dark { color: var(--sand); }
.rdv-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.rdv-copy h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 16px; }
.rdv-copy > p { color: rgba(255,255,255,.82); max-width: 44ch; margin-bottom: 26px; }
.rdv-points { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.rdv-points li { position: relative; padding-left: 26px; color: rgba(255,255,255,.9); font-size: .96rem; }
.rdv-points li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--sand);
}
.btn-lg { padding: 16px 30px; font-size: 1rem; }

.doctolib-card {
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  padding: 38px 34px; text-align: center; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.doctolib-logo {
  font-weight: 700; font-size: 1.5rem; color: #107ACA; letter-spacing: -.02em;
}
.doctolib-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.btn-doctolib { background: #107ACA; color: #fff; width: 100%; }
.btn-doctolib:hover { background: #0e6cb3; transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(16,122,202,.6); }
.doctolib-note { font-size: .82rem; color: var(--muted); }

/* ░░░ CTA BAND ░░░ */
.cta-band { background: linear-gradient(160deg, var(--petrol-2), var(--ink)); color: #fff; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 72px 24px; flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 10px; }
.cta-inner p { color: rgba(255,255,255,.8); max-width: 46ch; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ░░░ INFOS PRATIQUES ░░░ */
.infos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 40px; }
.info-block {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
}
.info-block h3 { font-size: 1.1rem; margin-bottom: 14px; }
.info-block p { font-size: .96rem; color: var(--text); }
.info-block a { color: var(--petrol); font-weight: 500; }
.info-block a:hover { text-decoration: underline; }
.muted { color: var(--muted); font-size: .88rem; }
.link-arrow { display: inline-block; margin-top: 6px; font-weight: 600; }
.hours { list-style: none; padding: 0; margin: 0 0 14px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.hours li:last-child { border-bottom: 0; }
.hours .closed { color: var(--sand-deep); }
.langs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.langs li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .84rem; color: var(--text); }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); height: 360px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.2) contrast(1.02); }

/* ░░░ FOOTER ░░░ */
.site-footer { background: var(--ink); color: #cdd6d2; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand-footer .brand-name, .brand-footer .brand-sub { color: #fff; }
.brand-footer .brand-sub { color: rgba(255,255,255,.6); }
.footer-blurb { margin-top: 18px; max-width: 38ch; font-size: .92rem; color: rgba(255,255,255,.6); }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: rgba(255,255,255,.78); font-size: .94rem; width: fit-content; }
.footer-nav a:hover { color: var(--sand); }
.footer-contact p { font-size: .94rem; color: rgba(255,255,255,.7); }
.footer-contact a:hover { color: var(--sand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-legal-links { display: inline-flex; gap: 10px; align-items: center; }
.footer-legal-links a { color: rgba(255,255,255,.72); }
.footer-legal-links a:hover { color: var(--sand); }

/* ░░░ PAGES LÉGALES ░░░ */
.legal { padding: 132px 0 88px; position: relative; }
.legal .container { max-width: 820px; }
.legal .back-link { display: inline-block; margin-bottom: 18px; font-weight: 600; color: var(--petrol); }
.legal .back-link:hover { text-decoration: underline; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.legal-meta { color: var(--muted); font-size: .92rem; margin-bottom: 44px; }
.legal h2 {
  font-family: "Fraunces", serif; font-size: 1.3rem; color: var(--ink);
  margin: 40px 0 14px; padding-top: 18px; border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal p { color: var(--text); margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; color: var(--text); }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--petrol); text-decoration: underline; }
.legal a:hover { color: var(--petrol-2); }
.legal .todo {
  background: #fff7e6; border: 1px solid #f0dcb0; color: #7a5a16;
  border-radius: 8px; padding: 2px 8px; font-size: .9em; font-weight: 600;
}
.legal address { font-style: normal; }

/* ░░░ CTA FLOTTANT MOBILE ░░░ */
.floating-cta {
  position: fixed; bottom: 18px; right: 18px; z-index: 60; display: none;
  background: var(--petrol); color: #fff; padding: 14px 22px; border-radius: 999px;
  font-weight: 600; box-shadow: 0 16px 30px -12px rgba(20,75,158,.7);
}

/* ░░░ PROFONDEUR — finitions ░░░ */
.card, .step, .team-card, .info-block, .review-card, .doctolib-card {
  background-image: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}
.faq details { background-image: linear-gradient(180deg, #ffffff 0%, #f7fafe 100%); }
/* liseré lumineux en haut des sections sombres */
.trust, .rdv { position: relative; }
.trust::before, .rdv::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
}

/* ░░░ ANTI-DÉBORDEMENT (mobile) ░░░ */
.hero-grid > *, .praticien-grid > *, .rdv-grid > *, .cta-inner > *,
.split > *, .infos-grid > *, .footer-grid > * { min-width: 0; }
img, svg, iframe { max-width: 100%; }

/* ░░░ ANIMATIONS REVEAL ░░░ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

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

/* ░░░ RESPONSIVE ░░░ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-media { max-width: 420px; }
  .infos-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .rdv-grid { grid-template-columns: 1fr; gap: 36px; }
  .praticien-grid { grid-template-columns: 1fr; gap: 46px; }
  .praticien-media { max-width: 470px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .nav, .header-cta { display: none; }
  .brand-logo { height: 36px; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: none; }
  .mobile-nav.open { display: flex; }
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 64px; }
  .cards, .steps, .team, .infos-grid, .gallery { grid-template-columns: 1fr; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-sub, .lede { max-width: none; }
  .trust-inner { font-size: .8rem; padding: 14px 18px; gap: 6px 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-inner { padding: 56px 24px; }
  .floating-cta { display: inline-flex; }
}
@media (max-width: 380px) {
  .hero-stats { grid-template-columns: 1fr; }
}
