/* =========================================================
   Marie-Aude Danguel — Infirmière libérale
   Palette : crème chaud, bleu-vert profond, rouge de la carte de visite
   ========================================================= */

:root {
  --cream: #fcf8f2;        /* = crème de la photo du haut de page */
  --cream-deep: #f3ebdf;
  --sand: #e8ddc9;
  --surface: #ffffff;      /* fond des cartes */
  --ink: #3a3530;
  --ink-soft: #6b6459;
  --teal-ink: #23505c;     /* titres */
  --blue-deep: #4a6b76;
  --blue-pale: #c7d9df;
  --blue-wash: #e6eff0;
  --red-card: #e3a5a1;     /* rouge de la carte de visite, version pastel */
  --red-call: #b25550;     /* même rouge, foncé pour rester lisible en texte blanc */
  --red-call-hover: #9c4743;
  --gold: #d9a441;
  --white: #ffffff;
  --footer-bg: #24444b;

  --radius: 20px;
  --shadow: 0 12px 32px rgba(58, 53, 48, 0.08);
  --shadow-lift: 0 18px 40px rgba(58, 53, 48, 0.12);

  --font-script: "Dancing Script", "Segoe Script", cursive;
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --header-h: 84px;
}

html[data-theme='dark'] {
  --cream: #1d292d;
  --cream-deep: #24353a;
  --sand: #405357;
  --surface: #2b3b3e;
  --ink: #f7f1e8;
  --ink-soft: #c9d3cf;
  --teal-ink: #d5ece8;
  --blue-deep: #a8c4c8;
  --blue-pale: #46636a;
  --blue-wash: #31474b;
  --red-card: #d48f8b;
  --footer-bg: #142024;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  --shadow-lift: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.nowrap { white-space: nowrap; }

a { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--red-call);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--teal-ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

/* Icônes au trait : même famille dans tout le site */
.ic {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  background: var(--teal-ink);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus { top: 12px; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: 820px; }

/* Sur-titre de section : petites capitales + trait rouge dessous */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-ink);
  margin: 0 0 0.9em;
}

.eyebrow::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 3px;
  background: var(--red-call);
  margin-top: 12px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  font-family: inherit;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover { transform: translateY(-1px); }

.btn .ic { width: 1.15em; height: 1.15em; }

.btn-lg { padding: 17px 32px; font-size: 1.08rem; }

.btn-ghost {
  background: var(--surface);
  color: var(--teal-ink);
  box-shadow: var(--shadow);
}

.btn-ghost:hover { box-shadow: var(--shadow-lift); }

/* Boutons d'appel : rouge de la carte de visite */
.btn-call {
  background: var(--red-call);
  color: var(--white);
  font-variant-numeric: tabular-nums;
  box-shadow: 0 10px 24px rgba(178, 85, 80, 0.28);
}

.btn-call:hover { background: var(--red-call-hover); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--sand) 70%, transparent);
  transition: box-shadow 0.3s;
}

.site-header.scrolled { box-shadow: 0 6px 24px rgba(58, 53, 48, 0.06); }

.header-inner {
  max-width: 1280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  position: relative;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-logo {
  width: 58px;
  height: 48px;
  fill: none;
  stroke: var(--red-call);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.85rem;
  color: var(--teal-ink);
}

.brand-sub {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.main-nav {
  display: flex;
  align-items: stretch;
  gap: 6px;
  margin: 0 auto;
}

.main-nav a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 14px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--teal-ink);
  transition: color 0.2s;
}

.main-nav a svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -11px;
  height: 3px;
  border-radius: 3px;
  background: var(--red-call);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active { color: var(--red-call); }

.main-nav a.active::after { transform: scaleX(1); }

.nav-ctas { display: flex; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: none;
}

.nav-cta .ic { width: 1.05em; height: 1.05em; }

@media (min-width: 1025px) {
  /* Le bouton d'appel n'apparaît dans l'en-tête qu'une fois le haut de page dépassé */
  .nav-ctas {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
  }

  .site-header.scrolled .nav-ctas {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

.theme-toggle {
  width: 78px;
  height: 42px;
  padding: 5px 10px;
  border: 0;
  border-radius: 999px;
  background: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  flex-shrink: 0;
}

.theme-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme-toggle svg:first-child { color: #ce982f; }
.theme-toggle svg:last-child { fill: var(--teal-ink); stroke: none; opacity: 0.6; }
html[data-theme='dark'] .theme-toggle svg:first-child { opacity: 0.5; }
html[data-theme='dark'] .theme-toggle svg:last-child { fill: #f3d49d; opacity: 1; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--teal-ink);
  border-radius: 2px;
}

/* ---------- Haut de page ---------- */
.rdv-hero {
  position: relative;
  overflow: hidden;
  min-height: min(820px, calc(100svh - var(--header-h)));
  display: flex;
  align-items: flex-end;
  padding: 72px 0 56px;
  background: var(--cream) url("../images/hero-cabinet.jpg") center bottom / cover no-repeat;
}

/* Voile clair à gauche pour garder le texte lisible sur la photo */
.rdv-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(252, 248, 242, 0.7) 0%, rgba(252, 248, 242, 0.35) 45%, rgba(252, 248, 242, 0) 70%);
  pointer-events: none;
}

/* Fondu en bas : la photo se raccorde sans coupure à la section suivante */
.rdv-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(252, 248, 242, 0), var(--cream));
  pointer-events: none;
}

html[data-theme='dark'] .rdv-hero::after { display: none; }

/* Vague de bas de hero : seulement en mode sombre (la photo a déjà la sienne) */
.rdv-wave {
  display: none;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 200px;
  fill: var(--cream);
}

html[data-theme='dark'] .rdv-hero {
  background: linear-gradient(110deg, #26383b, #32464a 55%, #4d443d);
}

html[data-theme='dark'] .rdv-hero::before { display: none; }
html[data-theme='dark'] .rdv-wave { display: block; }

.rdv-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: clamp(32px, 4vw, 56px);
}

.rdv-hero .eyebrow { margin-bottom: 0; }

.rdv-hero h1 {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: clamp(3rem, 5.2vw, 4.8rem);
  line-height: 1.05;
  margin: 0.3em 0 0.2em;
}

.hero-title {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 500;
  color: var(--blue-deep);
  margin: 0 0 0.5em;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  color: var(--blue-deep);
  margin: 0 0 1.5em;
}

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

/* Photo ronde + cœurs dessinés */
.rdv-photo {
  position: relative;
  justify-self: start;
  width: clamp(240px, 19vw, 300px);
  aspect-ratio: 1;
}

.rdv-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid var(--white);
  box-shadow: 0 18px 40px rgba(58, 53, 48, 0.16);
}

.rdv-hearts {
  position: absolute;
  width: 55%;
  right: -26%;
  bottom: -14%;
  fill: none;
  stroke: var(--red-card);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Avis + horaires, centrés sur la vague crème */
.hero-review {
  grid-column: 1 / -1;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--surface);
  border-radius: 999px;
  padding: 16px 64px 18px;
  margin-top: clamp(48px, 7vh, 80px);
  box-shadow: var(--shadow-lift);
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-align: center;
  transition: transform 0.15s;
}

.hero-review:hover { transform: translateY(-2px); }

.hero-review-stars,
.review-stars {
  color: var(--gold);
  letter-spacing: 4px;
  font-size: 1.05rem;
}

.hero-review-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--teal-ink);
}

.rdv-hours {
  grid-column: 1 / -1;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
  color: var(--ink-soft);
}

.rdv-hours .ic { color: var(--teal-ink); }

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: 0 0 clamp(64px, 7vw, 96px);
}

.section-alt { background: var(--cream-deep); }

.wave-divider {
  line-height: 0;
  margin: -1px 0 clamp(40px, 5vw, 64px);
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: clamp(60px, 8vw, 110px);
}

.wave-divider .wave-ribbon { fill: var(--red-card); }

.wave-divider-tight { margin-bottom: 0; }

.section h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }

.section-lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 640px;
  margin: 0 0 2.2em;
}

/* Qui suis-je */
.hero-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(40px, 7vw, 80px);
  align-items: center;
  max-width: 920px;
}

.hero-photo {
  position: relative;
  width: clamp(190px, 21vw, 260px);
  aspect-ratio: 1;
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: 6% 8% -6% -6%;
  border: 2px solid var(--red-card);
  border-radius: 50%;
}

.hero-photo img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
}

.about-summary {
  color: var(--ink-soft);
  font-size: 1.07rem;
  line-height: 1.8;
  max-width: 540px;
  margin: 0 0 1.3em;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--red-call);
  border-bottom: 2px solid color-mix(in srgb, var(--red-call) 30%, transparent);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.link-more:hover { border-color: var(--red-call); }

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

.card {
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--sand) 70%, transparent);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-wash);
  color: var(--teal-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon .ic { width: 26px; height: 26px; }

.card h3 { font-size: 1.3rem; }

.card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.75;
  margin: 0;
}

/* Infos pratiques */
.contact-inner { text-align: center; }
.contact-inner .eyebrow::after { margin-inline: auto; }

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--sand) 70%, transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: left;
  margin-top: 1.6em;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 26px;
  font-size: 1.02rem;
  font-weight: 500;
  border-bottom: 1px solid var(--cream-deep);
  transition: background 0.15s;
}

.contact-row:nth-child(odd) { border-right: 1px solid var(--cream-deep); }

.contact-row .ic { color: var(--red-call); }

.contact-row span { min-width: 0; overflow-wrap: anywhere; }

a.contact-row:hover { background: var(--cream); }

.contact-row-static { color: var(--ink-soft); }

/* Carte : aperçu dessiné, la vraie carte Google ne se charge qu'au clic */
.map-embed {
  grid-column: 1 / -1;
  position: relative;
  height: 300px;
  overflow: hidden;
  background: var(--blue-wash);
  border-bottom: 1px solid var(--cream-deep);
}

.map-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-water { fill: color-mix(in srgb, var(--blue-pale) 70%, var(--surface)); }
.map-park { fill: color-mix(in srgb, #9fbf9a 45%, var(--surface)); }

.map-road {
  fill: none;
  stroke: var(--surface);
  stroke-width: 14;
  stroke-linecap: round;
}

.map-road-main { stroke-width: 22; }
.map-road-thin { stroke-width: 8; }

.map-facade {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  background: radial-gradient(ellipse 340px 220px at center, color-mix(in srgb, var(--surface) 85%, transparent), transparent 75%);
}

.map-pin {
  width: 52px;
  height: 52px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--red-call);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(178, 85, 80, 0.35);
}

.map-pin .ic { transform: rotate(45deg); width: 24px; height: 24px; }

.map-address {
  margin: 4px 0 2px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--teal-ink);
}

.map-notice {
  margin: 0;
  max-width: 340px;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.info-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  background: color-mix(in srgb, var(--cream-deep) 50%, var(--surface));
}

.info-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 26px;
}

.info-line + .info-line { border-left: 1px solid var(--cream-deep); }

.info-line strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-call);
}

.info-line span {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.contact-note {
  max-width: 680px;
  margin: 1.6em auto 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.75;
}

/* Parcours */
.bio-text {
  margin-top: 1.6em;
  padding: clamp(26px, 5vw, 52px);
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--sand) 70%, transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.bio-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0 0 1.2em;
}

.quote-mark { margin-top: 2.2em; }

.quote-mark svg {
  width: 34px;
  height: 34px;
  fill: var(--red-card);
}

.bio-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--teal-ink) !important;
  border-left: 3px solid var(--red-card);
  padding-left: 1.2em;
  margin: 0.6em 0 0 !important;
}

/* Avis */
.reviews-carousel {
  display: flex;
  align-items: center;
  gap: 18px;
}

.reviews-track {
  display: flex;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius);
}

.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 48px);
}

.review-stars { margin-bottom: 0.7em; }

.review-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.65;
  color: var(--teal-ink);
  margin: 0 0 1.3em;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-name { font-weight: 600; font-size: 0.95rem; }

.review-date,
.review-source {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.review-source {
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-source-icon {
  width: 16px;
  height: 16px;
  fill: var(--red-card);
  flex-shrink: 0;
}

.carousel-nav {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 0;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--teal-ink);
  transition: color 0.2s, box-shadow 0.2s;
}

.carousel-nav:hover { color: var(--red-call); box-shadow: var(--shadow-lift); }

.carousel-nav svg { width: 18px; height: 18px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.4em;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sand);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: var(--red-call);
  transform: scale(1.25);
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--footer-bg);
  color: #e9e3d9;
  padding: 0 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px 48px;
  padding-top: 44px;
}

.footer-brand .brand-logo { stroke: var(--red-card); }
.footer-brand .brand-name { color: #fdf9f3; }
.footer-brand .brand-sub { color: #b9c6c4; }

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  font-size: 0.92rem;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.footer-contact .ic { width: 18px; height: 18px; color: var(--red-card); }

.footer-contact a:hover,
.footer-legal a:hover { color: var(--white); }

.footer-legal { margin: 0; font-size: 0.88rem; }
.footer-legal a { color: #cfd8d6; text-decoration: underline; text-underline-offset: 3px; }

.legal-block {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-block h4 {
  color: #fdf9f3;
  font-size: 0.95rem;
  margin-bottom: 0.6em;
}

.legal-block p {
  color: #b9c6c4;
  font-size: 0.82rem;
  margin: 0 0 0.5em;
}

/* ---------- Responsive ---------- */
/* Portables peu hauts : le haut de page doit tenir sans défiler */
@media (min-width: 881px) and (max-height: 800px) {
  .rdv-hero { padding: 40px 0 36px; }
  .rdv-photo { width: 230px; }
  .rdv-hero h1 { font-size: 3.8rem; }
  .hero-review { margin-top: 36px; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-panel {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--sand);
    box-shadow: 0 12px 24px rgba(58, 53, 48, 0.08);
  }
  .nav-panel.open { display: flex; }
  .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    width: 100%;
  }
  .main-nav a {
    flex-direction: row;
    gap: 12px;
    padding: 10px 4px;
    font-size: 1rem;
  }
  .main-nav a::after { display: none; }
}

@media (max-width: 880px) {
  .rdv-hero {
    min-height: 0;
    padding: 40px 0 40px;
    background-image: url("../images/hero-cabinet-sm.jpg");
    background-position: 30% bottom;
  }
  .rdv-hero::before {
    background: linear-gradient(180deg, rgba(252, 248, 242, 0.75) 0%, rgba(252, 248, 242, 0.5) 60%, rgba(252, 248, 242, 0) 85%);
  }
  .rdv-inner { grid-template-columns: 1fr; text-align: center; }
  .rdv-photo { order: -1; justify-self: center; width: 200px; margin-bottom: 24px; }
  .rdv-hero .eyebrow::after { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-review { margin-top: 40px; padding: 14px 28px 16px; border-radius: 28px; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-photo { margin: 0 auto; }
  .section .eyebrow::after { margin-inline: auto; }
  .section h2, .section-lead { text-align: center; margin-inline: auto; }
  .about-summary { margin-inline: auto; }
  .cards-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .section .eyebrow { text-align: center; }

  .info-grid { grid-template-columns: 1fr; }
  .info-line + .info-line { border-left: 0; border-top: 1px solid var(--cream-deep); }

  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .brand-logo { width: 44px; height: 36px; }
  .brand-name { font-size: 1.45rem; }
  .brand-sub { font-size: 0.58rem; letter-spacing: 0.12em; }

  .rdv-hero h1 { font-size: 2.8rem; }
  .rdv-photo { width: 180px; }
  .hero-tagline { font-size: 1.08rem; }
  .btn-lg { padding: 14px 24px; font-size: 1rem; }
  .hero-review { width: 100%; padding-inline: 22px; }

  .contact-card { grid-template-columns: 1fr; }
  .contact-row:nth-child(odd) { border-right: 0; }
  .contact-row, .info-line { padding: 18px 22px; }
  .map-embed { height: 260px; }

  .card { padding: 28px 24px; }
  .bio-text { padding: 26px 22px; }

  .reviews-carousel { position: relative; }
  .carousel-nav { position: absolute; z-index: 2; width: 38px; height: 38px; }
  .carousel-prev { left: -12px; }
  .carousel-next { right: -12px; }

  .footer-contact { flex-direction: column; align-items: center; }
}
