/* ==========================================================================
   Cabinet Bertrand Cézard — Chiropracteur, Lyon 3e
   Couleurs de marque : #4A7272 (sauge profond) · #D4E4E0 (brume)
   ========================================================================== */

:root {
  /* Marque */
  --sage: #4a7272;
  --sage-deep: #355656;   /* texte sur fond brume (contraste 6:1) */
  --sage-ink: #1f3535;    /* titres et texte principal */
  --mist: #d4e4e0;
  --mist-soft: #e8f0ee;
  --paper: #f7faf9;
  --white: #ffffff;

  /* Rôles */
  --text: #2c4242;
  --text-muted: #506666;  /* 5.9:1 sur --paper */
  --line: #c6d8d3;
  --focus: #2f6f6f;

  /* Typo */
  --font: "Poppins", system-ui, sans-serif;
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --fs-h3: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.8vw, 2.75rem);
  --fs-h1: clamp(2.375rem, 1.6rem + 3.6vw, 4.375rem);

  /* Espacement */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --max: 76rem;

  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;

  --shadow: 0 1px 2px rgb(31 53 53 / 0.06), 0 12px 32px -12px rgb(31 53 53 / 0.18);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  scrollbar-color: var(--sage) var(--mist-soft);
  accent-color: var(--sage);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  caret-color: var(--sage);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--sage); color: var(--white); }

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--mist-soft); }
::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 12px; border: 3px solid var(--mist-soft); }

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

h1, h2, h3 {
  margin: 0;
  color: var(--sage-ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.01em; }

p { margin: 0; text-wrap: pretty; }

a {
  color: var(--sage-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.2s, text-decoration-color 0.2s;
}
a:hover { color: var(--sage-ink); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.1rem;
  background: var(--sage-ink);
  color: var(--white);
  border-radius: var(--radius-s);
  font-weight: 500;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }

.icon {
  width: 1.5rem; height: 1.5rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 500 1rem/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.btn .icon { width: 1.15rem; height: 1.15rem; transition: transform 0.25s var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 8px 20px -10px rgb(74 114 114 / 0.8);
}
.btn--primary:hover { background: var(--sage-deep); color: var(--white); }

.btn--ghost {
  border-color: var(--sage);
  color: var(--sage-deep);
  background: transparent;
}
.btn--ghost:hover { background: var(--mist); color: var(--sage-ink); }

.btn--light { background: var(--mist); color: var(--sage-ink); }
.btn--light:hover { background: var(--white); color: var(--sage-ink); }

.btn--small { min-height: 2.75rem; padding: 0.6rem 1.2rem; font-size: 0.9375rem; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(247 250 249 / 0.88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgb(31 53 53 / 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
  text-decoration: none;
  color: var(--sage-ink);
}
.brand img { width: 3rem; height: 3rem; }
.brand-name { display: grid; line-height: 1.2; }
.brand-name strong { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }
.brand-name span { font-size: 0.8125rem; color: var(--text-muted); }

.header-cta, .brand-name strong { white-space: nowrap; }

@media (max-width: 480px) {
  .header-inner { gap: 0.75rem; min-height: 4.25rem; }
  .brand { gap: 0.6rem; }
  .brand img { width: 2.5rem; height: 2.5rem; }
  .brand-name strong { font-size: 0.975rem; }
  .brand-name span { font-size: 0.75rem; }
  .header-cta { padding-inline: 1rem; }
}
@media (max-width: 400px) {
  .brand-name span { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(2.5rem, 1rem + 5vw, 5.5rem) clamp(5rem, 1rem + 15vw, 15rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}

.hero h1 {
  font-size: var(--fs-h1);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.hero h1 em {
  font-style: normal;
  color: var(--sage);
}

.hero-symptoms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}
.hero-symptoms li {
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--sage-deep);
  font-size: 0.9375rem;
  font-weight: 500;
}

.hero-sub {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: var(--fs-lead);
  color: var(--text-muted);
}
.hero-sub strong { color: var(--sage-ink); font-weight: 500; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: clamp(22rem, 18rem + 16vw, 34rem);
}
.hero-visual .photo {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-l);
}

/* Colonne vertébrale : la signature graphique */
.spine {
  fill: currentColor;
  color: var(--sage);
  width: 100%;
  height: auto;
}
.hero-spine {
  position: absolute;
  left: 50%;
  bottom: -7vw;
  width: 115vw;
  transform: translateX(-50%);
  color: var(--mist);
  pointer-events: none;
  z-index: -1;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-spine {
    animation: spine-reveal 2.2s var(--ease-out) 0.15s both;
  }
  .hero-copy > * {
    animation: rise 0.9s var(--ease-out) both;
  }
  .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
  .hero-visual { animation: settle 1.2s var(--ease-out) 0.1s both; }
}
@keyframes spine-reveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes rise {
  from { opacity: 0.001; transform: translateY(14px); }
}
@keyframes settle {
  from { opacity: 0.001; transform: scale(0.97); filter: blur(6px); }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; aspect-ratio: 4 / 5; }
}

/* Emplacements photo (à remplacer par les vraies photos) */
.photo {
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 10%, rgb(255 255 255 / 0.55), transparent 55%),
    var(--mist);
  color: var(--sage-deep);
}
.photo { position: relative; }
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.photo-placeholder {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
}
.photo-placeholder .icon { width: 2rem; height: 2rem; stroke-width: 1.5; }

/* ---------- Bandeau de confiance ---------- */

.proof {
  background: var(--sage);
  color: var(--white);
}
.proof ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 2.75rem;
  margin: 0;
  padding: 1.35rem 0;
  list-style: none;
  font-size: 0.975rem;
}
.proof li { display: flex; align-items: center; gap: 0.6rem; }
.proof strong { font-weight: 600; font-size: 1.125rem; }
.proof .stars { display: flex; gap: 2px; color: #f3d98b; }
.proof .stars .icon { width: 1.05rem; height: 1.05rem; fill: currentColor; stroke: none; }
@media (min-width: 761px) {
  .proof li + li::before {
    content: "";
    width: 5px; height: 5px;
    margin-right: 2.15rem;
    border-radius: 50%;
    background: var(--mist);
    opacity: 0.55;
  }
  .proof ul { gap: 0.75rem 2.15rem; }
}

/* ---------- Pourquoi consulter ---------- */

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 1rem + 5vw, 6rem);
  align-items: center;
}
.why-grid .photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-l);
}
.why-copy h2 { max-width: 16ch; }
.why-copy .lead {
  margin-top: 1.75rem;
  font-size: var(--fs-lead);
  color: var(--sage-ink);
  max-width: 34rem;
}
.why-copy p + p { margin-top: 1.1rem; }
.why-copy .body { max-width: 34rem; color: var(--text-muted); }
.why-note {
  display: flex;
  gap: 0.9rem;
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  max-width: 34rem;
  border-radius: var(--radius);
  background: var(--mist-soft);
  color: var(--sage-ink);
}
.why-note .icon { color: var(--sage); margin-top: 0.15rem; }

@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-grid .photo { aspect-ratio: 4 / 5; order: 2; }
}

/* ---------- Motifs de consultation ---------- */

.motifs { background: var(--white); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 1.5rem 4rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.section-head p { color: var(--text-muted); max-width: 32rem; }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; }
}

.motif-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 1rem + 4vw, 5rem);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.motif {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.25rem 1.25rem;
  align-items: start;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.motif-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 3.25rem; height: 3.25rem;
  border-radius: 50%;
  background: var(--mist);
  color: var(--sage-deep);
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease-out);
}
.motif:hover .motif-icon { background: var(--sage); color: var(--white); transform: rotate(-6deg); }
.motif h3 { padding-top: 0.2rem; }
.motif p { color: var(--text-muted); font-size: 0.975rem; }

@media (max-width: 760px) {
  .motif-list { grid-template-columns: 1fr; }
}

/* ---------- Déroulé d'une séance ---------- */

.seance-duration {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.duration-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--sage-ink);
  font-size: 0.9375rem;
}
.duration-chip strong { font-weight: 600; }
.duration-chip .icon { width: 1.15rem; height: 1.15rem; color: var(--sage); }

.steps-track {
  position: relative;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 0.5rem + 2vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 1.5rem;
  border-top: 2px solid var(--sage);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.975rem; }

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.1rem;
    padding: 0 0 2rem;
    border-top: 0;
  }
  .step::before {
    content: "";
    position: absolute;
    left: 1.375rem; top: 2.75rem; bottom: 0;
    width: 2px;
    background: var(--mist);
  }
  .step:last-child::before { display: none; }
  .step-num { grid-row: span 2; margin: 0; }
  .step h3 { padding-top: 0.55rem; }
}

/* ---------- Bertrand ---------- */

.about { background: var(--mist-soft); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 1rem + 5vw, 6rem);
  align-items: center;
}
.about .photo {
  aspect-ratio: 1 / 1;
  border-radius: 50% 50% var(--radius-l) var(--radius-l);
  background:
    radial-gradient(120% 90% at 85% 10%, rgb(255 255 255 / 0.5), transparent 55%),
    var(--mist);
}
.about-copy h2 span { display: block; color: var(--sage); font-size: 0.62em; letter-spacing: -0.015em; margin-top: 0.4rem; }
.about-copy p { margin-top: 1.5rem; max-width: 34rem; }
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.25rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  max-width: 34rem;
}
.about-facts dt { font-size: 0.8125rem; color: var(--text-muted); }
.about-facts dd { margin: 0.2rem 0 0; font-weight: 600; color: var(--sage-ink); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 2rem;
  font-weight: 500;
  color: var(--sage-deep);
}
.text-link .icon { width: 1.1rem; height: 1.1rem; transition: transform 0.25s var(--ease-out); }
.text-link:hover .icon { transform: translateX(3px); }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about .photo { max-width: 26rem; }
}
@media (max-width: 420px) {
  .about-facts { grid-template-columns: 1fr 1fr; }
}

/* ---------- Témoignages ---------- */

.reviews-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}
.rating {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.rating strong { font-size: 2rem; color: var(--sage-ink); font-weight: 600; letter-spacing: -0.02em; }
.stars { display: inline-flex; gap: 2px; color: #d9a93a; }
.stars .icon { width: 1.05rem; height: 1.05rem; fill: currentColor; stroke: none; }

.reviews {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.reviews > li { display: flex; }
.review {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.review blockquote { margin: 0; color: var(--sage-ink); }
.reviews > li:first-child .review {
  background: var(--sage);
  box-shadow: 0 24px 48px -24px rgb(53 86 86 / 0.7);
}
.reviews > li:first-child .review blockquote { font-size: var(--fs-lead); color: var(--white); line-height: 1.5; }
.reviews > li:first-child .review figcaption { color: var(--mist); }
.reviews > li:first-child .review .stars { color: #f3d98b; }
.review figcaption { margin-top: auto; font-size: 0.9375rem; color: var(--text-muted); font-weight: 500; }

@media (max-width: 960px) {
  .reviews { grid-template-columns: 1fr 1fr; }
  .reviews > li:first-child .review { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .reviews { grid-template-columns: 1fr; }
}

/* ---------- Tarifs ---------- */

.pricing { background: var(--white); }
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 2.5rem clamp(2.5rem, 1rem + 5vw, 6rem);
  align-items: start;
}
.pricing-grid > div > p { margin-top: 1.25rem; color: var(--text-muted); max-width: 26rem; }
.price-list { margin: 0; padding: 0; list-style: none; }
.price {
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr auto;
  align-items: baseline;
  gap: 1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.price:first-child { border-top: 1px solid var(--line); }
.price h3 { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); }
.price h3 small { display: block; margin-top: 0.3rem; font-size: 0.875rem; font-weight: 400; color: var(--text-muted); letter-spacing: 0; }
.price::after { content: none; }
.price-leader { align-self: center; height: 0; border-bottom: 2px dotted var(--line); margin-top: 0.25rem; }
.price-amount {
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  font-weight: 600;
  color: var(--sage);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.price-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.price-note .icon { width: 1.25rem; height: 1.25rem; color: var(--sage); margin-top: 0.1rem; }

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 2.5rem clamp(2.5rem, 1rem + 5vw, 6rem);
  align-items: start;
}
.faq-grid > div:first-child { position: sticky; top: 7rem; }
.faq-grid > div:first-child p { margin-top: 1.25rem; color: var(--text-muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  font-size: clamp(1.0313rem, 1rem + 0.25vw, 1.125rem);
  color: var(--sage-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--sage); }
.faq-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: var(--mist-soft);
  color: var(--sage-deep);
  transition: transform 0.35s var(--ease-out), background-color 0.25s, color 0.25s;
}
.faq-toggle .icon { width: 1.1rem; height: 1.1rem; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--sage); color: var(--white); }
.faq-answer { padding: 0 3.5rem 1.6rem 0; color: var(--text-muted); max-width: 42rem; }

@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq-item::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.4s var(--ease-out), content-visibility 0.4s allow-discrete;
  }
  .faq-item[open]::details-content { height: auto; }
}

@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid > div:first-child { position: static; }
  .faq-answer { padding-right: 0; }
}

/* ---------- Rendez-vous / contact ---------- */

.contact {
  position: relative;
  overflow: hidden;
  background: var(--sage-ink);
  color: var(--mist);
}
.contact h2 { color: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem clamp(2.5rem, 1rem + 5vw, 6rem);
  align-items: start;
}
.contact-intro p { margin-top: 1.25rem; max-width: 30rem; color: #c5d8d3; }
.contact-intro .btn { margin-top: 2.25rem; }
.contact-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgb(212 228 224 / 0.18);
}
.contact-list li:first-child { border-top: 1px solid rgb(212 228 224 / 0.18); }
.contact-list .icon { color: var(--mist); margin-top: 0.15rem; }
.contact-list .label { display: block; font-size: 0.8125rem; color: #a9c2bc; margin-bottom: 0.15rem; }
.contact-list a { color: var(--white); text-decoration-color: rgb(212 228 224 / 0.4); }
.contact-list a:hover { color: var(--mist); text-decoration-color: currentColor; }
.hours { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 0.2rem 1.5rem; margin: 0; color: var(--white); }
.hours dt { color: #c5d8d3; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.contact-spine {
  position: absolute;
  left: 50%;
  bottom: -1.5rem;
  width: min(110rem, 160vw);
  transform: translateX(-50%);
  color: var(--sage);
  opacity: 0.35;
  pointer-events: none;
}
.contact .wrap { position: relative; z-index: 1; }
.contact :focus-visible { outline-color: var(--mist); }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

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

.site-footer {
  background: #172828;
  color: #a9c2bc;
  font-size: 0.875rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.5rem;
}
.footer-inner ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #d4e4e0; text-decoration-color: rgb(212 228 224 / 0.35); }
.site-footer a:hover { color: var(--white); }

/* ---------- Mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Pages légales ---------- */

.legal {
  padding-block: clamp(3rem, 2rem + 4vw, 6rem) var(--section);
}
.legal-inner { max-width: 46rem; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--sage-deep);
  text-decoration: none;
}
.back-link .icon { width: 1.1rem; height: 1.1rem; transform: scaleX(-1); transition: transform 0.25s var(--ease-out); }
.back-link:hover .icon { transform: scaleX(-1) translateX(3px); }
.legal h1 { font-size: var(--fs-h2); letter-spacing: -0.03em; }
.legal-updated { margin-top: 0.9rem; color: var(--text-muted); font-size: 0.9375rem; }
.legal h2 {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  letter-spacing: -0.015em;
}
.legal h3 { margin-top: 1.75rem; }
.legal p, .legal ul, .legal dl { margin-top: 1rem; }
.legal ul { padding-left: 1.25rem; }
.legal li + li { margin-top: 0.4rem; }
.legal li::marker { color: var(--sage); }
.legal-card {
  display: grid;
  grid-template-columns: minmax(9rem, auto) 1fr;
  gap: 0.6rem 1.5rem;
  margin-top: 1.25rem;
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.legal-card dt { color: var(--text-muted); font-size: 0.9375rem; }
.legal-card dd { margin: 0; color: var(--sage-ink); font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .legal-card { grid-template-columns: 1fr; gap: 0.1rem; }
  .legal-card dd + dt { margin-top: 0.8rem; }
}
.site-footer a[aria-current="page"] { color: var(--white); text-decoration: none; }
.promo {
    --promo-pad: clamp(0.75rem, 3vw, 2rem);
    --promo-ease: cubic-bezier(0.16, 1, 0.3, 1);
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: grid;
    place-items: center;
    padding: var(--promo-pad);
  }
  .promo[hidden] { display: none; }

  .promo-backdrop {
    position: absolute;
    inset: 0;
    background: rgb(23 40 40 / 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
  }

  .promo-dialog { position: relative; max-width: 100%; max-height: 100%; }
  .promo-media { position: relative; line-height: 0; }

  /* Jamais plus grande que l'original, toujours entière à l'écran */
  .promo-media img {
    width: auto;
    height: auto;
    max-width: min(1194px, 100%);
    max-height: min(1696px, calc(100svh - 2 * var(--promo-pad)));
    border-radius: clamp(8px, 1.2vmin, 16px);
    box-shadow: 0 32px 70px -30px rgb(0 0 0 / 0.75);
  }

  /* Bouton calé dans la bande libre du bas de l'image (14 %) */
  .promo-cta {
    position: absolute;
    left: 50%;
    bottom: 3.5%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    height: clamp(2.75rem, 6.4vmin, 3.1rem);
    padding-inline: clamp(1rem, 2.6vmin, 1.75rem);
    border-radius: 999px;
    background: #4a7272;
    color: #fff;
    font: 500 clamp(0.8125rem, 1.9vmin, 1rem)/1 inherit;
    font-family: "Poppins", system-ui, sans-serif;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 10px 24px -8px rgb(0 0 0 / 0.55);
    transition: background-color 0.2s, transform 0.2s var(--promo-ease);
  }
  .promo-cta:hover { background: #355656; color: #fff; transform: translateX(-50%) translateY(-1px); }
  .promo-cta:active { transform: translateX(-50%) translateY(1px); }
  .promo-cta svg { width: 1.15em; height: 1.15em; flex: none; }

  .promo-close {
    position: absolute;
    top: clamp(0.5rem, 1.4vmin, 0.9rem);
    right: clamp(0.5rem, 1.4vmin, 0.9rem);
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgb(23 40 40 / 0.55);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background-color 0.2s, transform 0.25s var(--promo-ease);
  }
  .promo-close:hover { background: #1f3535; transform: rotate(90deg); }
  .promo-close svg { width: 1.35rem; height: 1.35rem; }
  .promo :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

  .promo-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  body.promo-open { overflow: hidden; }

  @media (prefers-reduced-motion: no-preference) {
    .promo-backdrop { animation: promo-fade 0.35s var(--promo-ease) both; }
    .promo-dialog { animation: promo-pop 0.5s var(--promo-ease) both; }
  }
  @keyframes promo-fade { from { opacity: 0; } }
  @keyframes promo-pop { from { opacity: 0; transform: translateY(16px) scale(0.96); } }

  @media (prefers-reduced-motion: reduce) {
    .promo-cta, .promo-close { transition-duration: 0.01ms; }
  }