/* ==========================================================================
   LB Physiothérapie — feuille de style principale
   Palette : vert sauge + crème
   ========================================================================== */

:root {
  /* Couleurs */
  --cream:        #FBF9F5;
  --cream-2:      #F3EFE7;
  --sand:         #E7E0D3;
  --sage:         #8FA593;
  --sage-light:   #C9D6C8;
  --sage-pale:    #EAF0E8;
  --forest:       #2F3A33;
  --forest-soft:  #45524A;
  --ink:          #24291F;
  --body:         #55605A;
  --wood:         #C8A98A;
  --white:        #FFFFFF;

  /* Typo */
  --font-title: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Rythme */
  --wrap: 1200px;
  --wrap-narrow: 780px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4.5rem, 11vw, 9rem);

  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;

  --shadow-s: 0 2px 10px rgba(47, 58, 51, .06);
  --shadow-m: 0 18px 50px -18px rgba(47, 58, 51, .28);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------- Reset */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--forest);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0;
  font-variation-settings: "SOFT" 20, "WONK" 0;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

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

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

/* --------------------------------------------------------------- Utilitaires */

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

.wrap--narrow { max-width: var(--wrap-narrow); }

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

.section--cream  { background: var(--cream-2); }
.section--sage   { background: var(--sage-pale); }
.section--forest { background: var(--forest); color: rgba(255,255,255,.78); }
.section--forest h1,
.section--forest h2,
.section--forest h3 { color: var(--white); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: var(--white);
  padding: .75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Œil de chat : petit label en capitales au-dessus des titres */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.section--forest .eyebrow { color: var(--sage-light); }

.title-xl { font-size: clamp(2.6rem, 7vw, 5rem); }
.title-l  { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.title-m  { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.title-s  { font-size: clamp(1.15rem, 2vw, 1.35rem); }

.lead {
  font-size: clamp(1.08rem, 1.9vw, 1.3rem);
  line-height: 1.65;
  color: var(--forest-soft);
}
.section--forest .lead { color: rgba(255,255,255,.82); }

.text-center { text-align: center; }

.divider {
  width: 46px;
  height: 2px;
  background: var(--sage-light);
  border: 0;
  margin: 2rem 0;
}
.text-center .divider { margin-inline: auto; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.9rem;
  border-radius: 100px;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease),
              box-shadow .3s var(--ease);
}

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

.btn--primary {
  background: var(--forest);
  color: var(--white);
  box-shadow: var(--shadow-s);
}
.btn--primary:hover { background: var(--ink); box-shadow: var(--shadow-m); }

.btn--sage {
  background: var(--sage);
  color: var(--white);
}
.btn--sage:hover { background: #7d947f; }

.btn--ghost {
  border-color: rgba(47, 58, 51, .22);
  color: var(--forest);
}
.btn--ghost:hover { border-color: var(--forest); background: rgba(47,58,51,.04); }

.btn--light {
  background: var(--white);
  color: var(--forest);
}
.btn--light:hover { background: var(--cream-2); }

.btn--ghost-light {
  border-color: rgba(255,255,255,.35);
  color: var(--white);
}
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2.2rem;
}
.text-center .btn-row,
.btn-row.text-center,
.cta-band .btn-row { justify-content: center; }

/* Lien fléché discret */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  border-bottom: 1px solid var(--sage-light);
  padding-bottom: .25rem;
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.link-arrow:hover { border-color: var(--forest); gap: .85rem; }
.link-arrow::after { content: "→"; }

/* ------------------------------------------------------------------- Header */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.15rem;
  transition: background-color .4s var(--ease), padding .4s var(--ease),
              box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}
.brand__name {
  font-family: var(--font-title);
  font-size: 1.32rem;
  letter-spacing: .04em;
  color: var(--forest);
  transition: color .4s var(--ease);
}
.brand__tag {
  font-size: .58rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: .42rem;
  transition: color .4s var(--ease);
}

.nav { display: flex; align-items: center; gap: 2rem; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.nav__link {
  position: relative;
  font-size: .87rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--forest-soft);
  padding-block: .35rem;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--forest); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--forest); }

/* En-tête transparent au-dessus d'un hero sombre */
.header--over .brand__name,
.header--over .nav__link { color: rgba(255,255,255,.92); }
.header--over .brand__tag { color: rgba(255,255,255,.6); }
.header--over .btn--primary { background: var(--white); color: var(--forest); }
.header--over .burger span { background: var(--white); }

/* État scrollé */
.header.is-scrolled {
  background: rgba(251, 249, 245, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(47, 58, 51, .08);
  padding-block: .7rem;
}
.header.is-scrolled .brand__name,
.header.is-scrolled .nav__link { color: var(--forest-soft); }
.header.is-scrolled .brand__name { color: var(--forest); }
.header.is-scrolled .brand__tag { color: var(--sage); }
.header.is-scrolled .btn--primary { background: var(--forest); color: var(--white); }
.header.is-scrolled .burger span { background: var(--forest); }

.header__cta { flex-shrink: 0; padding: .72rem 1.35rem; font-size: .84rem; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--forest);
  margin-inline: auto;
  transition: transform .35s var(--ease), opacity .2s var(--ease), background-color .4s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Menu mobile */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--cream);
  padding: 7rem var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }

.mobile-menu__list { display: flex; flex-direction: column; gap: .2rem; }
.mobile-menu__link {
  display: block;
  font-family: var(--font-title);
  font-size: 1.85rem;
  color: var(--forest);
  text-decoration: none;
  padding-block: .55rem;
  border-bottom: 1px solid rgba(47,58,51,.08);
}
.mobile-menu__link[aria-current="page"] { color: var(--sage); }

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

.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: flex-end;
  padding-block: 9rem 4.5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(36,41,31,.52) 0%, rgba(36,41,31,.18) 38%, rgba(36,41,31,.82) 100%);
}

.hero__content { max-width: 46rem; color: var(--white); }
.hero__content .eyebrow { color: rgba(255,255,255,.72); }
.hero__title { color: var(--white); font-size: clamp(2.7rem, 7.2vw, 5.2rem); }
.hero__title em {
  font-style: italic;
  color: var(--sage-light);
}
.hero__text {
  margin-top: 1.6rem;
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  color: rgba(255,255,255,.86);
  max-width: 38rem;
}

/* Hero secondaire (pages internes) */
.hero--page {
  min-height: min(62vh, 620px);
  align-items: center;
  padding-block: 9rem 4rem;
}
.hero--page .hero__content { max-width: 42rem; }

/* Bandeau infos sous le hero */
.hero-facts {
  background: var(--forest);
  color: rgba(255,255,255,.8);
}
.hero-facts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.1);
}
.hero-facts__item {
  background: var(--forest);
  padding: 2.1rem 1.6rem;
  text-align: center;
}
.hero-facts__value {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--white);
  display: block;
  line-height: 1;
}
.hero-facts__label {
  display: block;
  margin-top: .7rem;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-light);
}

/* ------------------------------------------------------------------ Grilles */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }

.split__media { position: relative; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-l) var(--radius-l) var(--radius-s) var(--radius-s);
  box-shadow: var(--shadow-m);
}
.split__media--wide img { aspect-ratio: 4 / 3; }
/* Photo affichée en entier, jamais recadrée (photo d'équipe).
   height/aspect-ratio auto : l'image garde ses proportions d'origine. */
.split__media--photo img {
  aspect-ratio: auto !important;
  height: auto !important;
  object-fit: contain;
  border-radius: var(--radius-m);
}

/* Petite image en surimpression */
.split__inset {
  position: absolute;
  right: -1.5rem;
  bottom: -2rem;
  width: 45%;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-m);
  border: 6px solid var(--cream);
}
.split__inset img { aspect-ratio: 1 / 1; border-radius: 0; box-shadow: none; }
.split--reverse .split__inset { right: auto; left: -1.5rem; border-color: var(--cream); }

/* Mosaïque de photos */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-m);
  transition: transform .7s var(--ease);
}
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius-m); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery__tall  { grid-row: span 2; }
.gallery__wide  { grid-column: span 2; }
.gallery__big   { grid-column: span 2; grid-row: span 2; }

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

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid rgba(47,58,51,.07);
  border-radius: var(--radius-m);
  padding: 2.2rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
  border-color: transparent;
}
.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage-pale);
  color: var(--sage);
  margin-bottom: 1.4rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: .8rem; }
.card p { font-size: .97rem; }

/* Carte prestation avec badge */
.card__tag {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage);
  background: var(--sage-pale);
  border-radius: 100px;
  padding: .35rem .85rem;
  margin-bottom: 1rem;
}
.card__tag--wood { color: #9a7853; background: #F3E7DA; }

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

.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
}
.team__card {
  background: var(--white);
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid rgba(47,58,51,.07);
  text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.team__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.team__photo {
  aspect-ratio: 3 / 4;
  background: var(--sage-pale);
  display: grid;
  place-items: center;
  color: var(--sage);
  font-family: var(--font-title);
  font-size: 3rem;
}
.team__photo img { width: 100%; height: 100%; object-fit: cover; }
.team__body { padding: 1.5rem 1.3rem 1.9rem; }
.team__name { font-size: 1.18rem; }
.team__role {
  display: block;
  margin-top: .45rem;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
}

/* Portrait long format (page équipe) */
.bio {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid rgba(47,58,51,.09);
}
.bio:first-of-type { border-top: 0; padding-top: 0; }

.bio__photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-m);
  background: var(--sage-pale);
  display: grid;
  place-items: center;
  color: var(--sage);
  font-family: var(--font-title);
  font-size: 4rem;
  overflow: hidden;
  position: sticky;
  top: 6rem;
}
.bio__photo img { width: 100%; height: 100%; object-fit: cover; }

.bio__role {
  display: block;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: .6rem;
  margin-bottom: 1.6rem;
}

.tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.8rem; }
.tag {
  font-size: .78rem;
  font-weight: 500;
  color: var(--forest-soft);
  background: var(--sage-pale);
  border-radius: 100px;
  padding: .4rem 1rem;
}

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

.rate-table {
  background: var(--white);
  border: 1px solid rgba(47,58,51,.08);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.rate-table__head {
  padding: 1.4rem 1.9rem;
  background: var(--sage-pale);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--forest);
}
.rate {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .6rem 1.5rem;
  padding: 1.35rem 1.9rem;
  border-top: 1px solid rgba(47,58,51,.07);
}
.rate:first-of-type { border-top: 0; }
.rate__label { flex: 1 1 16rem; }
.rate__label strong { color: var(--forest); font-weight: 600; display: block; }
.rate__label span { font-size: .88rem; line-height: 1.5; display: block; margin-top: .2rem; }
.rate__price {
  font-family: var(--font-title);
  font-size: 1.45rem;
  color: var(--forest);
  white-space: nowrap;
}
.rate__price sup {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  color: var(--sage);
  letter-spacing: .04em;
  vertical-align: super;
  margin-left: .3rem;
}

.note {
  font-size: .89rem;
  line-height: 1.65;
  background: var(--sage-pale);
  border-left: 3px solid var(--sage);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  padding: 1.2rem 1.4rem;
  margin-top: 1.5rem;
}
.note strong { color: var(--forest); }

/* Planning des cours */
.schedule {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}
.slot {
  background: var(--white);
  border: 1px solid rgba(47,58,51,.08);
  border-radius: var(--radius-m);
  padding: 1.7rem;
}
.slot__day {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
}
.slot__name { font-family: var(--font-title); font-size: 1.35rem; color: var(--forest); margin: .55rem 0 .35rem; }
.slot__meta { font-size: .92rem; }

/* Planning hebdomadaire (Pilates) */
.week {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 2.6rem;
}
.week__day {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 1.7rem;
}
.week__label {
  display: block;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage);
  padding-bottom: .9rem;
  border-bottom: 1px solid rgba(47,58,51,.09);
}
.week__slots li {
  font-family: var(--font-title);
  font-size: 1.18rem;
  color: var(--forest);
  padding-block: .7rem;
  border-bottom: 1px solid rgba(47,58,51,.06);
}
.week__slots li:last-child { border-bottom: 0; padding-bottom: 0; }

/* Grille de tarifs (abonnements) */
.price-grid {
  overflow-x: auto;
  border-radius: var(--radius-m);
  background: var(--white);
}
.price-grid table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
}
.price-grid th,
.price-grid td {
  padding: 1.15rem 1.3rem;
  text-align: center;
  border-bottom: 1px solid rgba(47,58,51,.07);
}
.price-grid thead th {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage);
  background: var(--sage-pale);
  border-bottom: 0;
}
.price-grid tbody th {
  text-align: left;
  font-weight: 600;
  font-size: .95rem;
  color: var(--forest);
  line-height: 1.4;
}
.price-grid tbody tr:last-child th,
.price-grid tbody tr:last-child td { border-bottom: 0; }
.price-grid td strong {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--forest);
}
.price-grid td span { font-size: .82rem; color: var(--body); }

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

/* Liste à puces vertes */
.list-check li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: .8rem;
  font-size: .99rem;
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sage);
}
.list-check li:last-child { margin-bottom: 0; }

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

.info-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem 2rem;
}
.info-block h3 { font-size: 1.05rem; margin-bottom: .7rem; }
.info-block p { font-size: .97rem; }

.map-frame {
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-m);
  line-height: 0;
  border: 6px solid var(--white);
}
.map-frame iframe { width: 100%; height: 440px; border: 0; }

/* Appel à l'action pleine largeur */
.cta-band {
  position: relative;
  isolation: isolate;
  color: var(--white);
  text-align: center;
  padding-block: clamp(5rem, 11vw, 8rem);
  overflow: hidden;
}
.cta-band img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(36, 41, 31, .68);
  z-index: -1;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.82); }

/* --------------------------------------------------------------------- Footer */

.footer {
  background: var(--forest);
  color: rgba(255,255,255,.62);
  padding-block: clamp(3.5rem, 7vw, 5rem) 2rem;
  font-size: .93rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.footer a { text-decoration: none; transition: color .3s var(--ease); }
.footer a:hover { color: var(--white); }
.footer__list li { margin-bottom: .6rem; }
.footer__brand .brand__name { color: var(--white); font-size: 1.5rem; }
.footer__brand .brand__tag { color: var(--sage-light); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.8rem;
  font-size: .82rem;
  color: rgba(255,255,255,.42);
}

/* ------------------------------------------------------- Apparition au scroll */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

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

/* ---------------------------------------------------- Tablette (≤ 900px) */
@media (max-width: 900px) {
  /* La mosaïque en 4 colonnes rendait les photos minuscules sur tablette */
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__big,
  .gallery__wide { grid-column: span 2; }
  .gallery__tall { grid-row: span 1; }

  /* Évite le vilain « 3 + 1 orphelin » sur les chiffres clés */
  .hero-facts__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .nav__list { display: none; }
  .burger { display: flex; }
  .header__cta { display: none; }

  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__inset { display: none; }

  .bio { grid-template-columns: 1fr; }
  .bio__photo { position: static; max-width: 260px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }

  /* Titres de hero moins écrasants sur petit écran */
  .hero__title { font-size: clamp(2.15rem, 8.5vw, 2.9rem); }
  .hero { min-height: min(88vh, 760px); padding-block: 7.5rem 3.5rem; }
  .hero--page { min-height: auto; padding-block: 8rem 3.5rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 2.2rem; }

  .rate { padding-inline: 1.3rem; }
  .rate-table__head { padding-inline: 1.3rem; }

  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .header__cta, .mobile-menu .btn { width: auto; }
}
