/* ================================================================
   Ô'Bien-Être — Petit-Lancy & Chêne-Bourg
   Maquette 2 · direction « Douceur »

   Une page simple et classique : sections empilées, cartes claires,
   boutons évidents. Rien d'expérimental — la douceur vient des
   couleurs chaudes, des angles arrondis et de l'espace, pas de la
   mise en page.

   Aucun aplat sombre, aucune couleur vive : crème et beige rosé en
   fond, brun profond pour le texte, or discret en accent.
   ================================================================ */

:root {
  /* ---- Palette ---- */
  --cream:   #FDFAF7;   /* fond principal, blanc chaud */
  --sand:    #F6EEE7;   /* fond alterné, beige clair */
  --blush:   #F1E3DC;   /* beige rosé, cartes et bandeaux */
  --brown:   #3B2F2A;   /* texte et titres — 12,5:1 sur crème */
  --brown-2: #6F5F58;   /* texte secondaire — 5,2:1 sur crème (AA) */
  --gold:    #C2A17B;   /* accent : filets, ornements, boutons clairs */
  --gold-2:  #9C7C57;   /* or lisible en petit corps — 4,8:1 sur crème */
  --line:    #EADFD6;   /* séparateurs */
  --shadow:  0 2px 18px rgba(59, 47, 42, .06);
  --shadow-2:0 8px 34px rgba(59, 47, 42, .10);

  /* ---- Typographie ---- */
  --f-title: 'Cormorant Garamond', Garamond, 'Times New Roman', Georgia, serif;
  --f-text:  'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Échelle volontairement douce : les titres restent élégants sans
     écraser le texte. */
  --t-h1:    clamp(40px, 5.6vw, 76px);
  --t-h2:    clamp(31px, 3.8vw, 50px);
  --t-h3:    clamp(22px, 2vw, 28px);
  --t-lead:  clamp(16px, 1.25vw, 19px);
  --t-body:  16px;
  --t-small: 14.5px;
  --t-label: 11.5px;

  /* ---- Rythme ---- */
  --gutter:  clamp(20px, 5vw, 56px);
  --section: clamp(64px, 9vh, 112px);
  --max:     1220px;
  --radius:  16px;
  --radius-s: 10px;
  --header:  78px;
}

/* ---------- Socle ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 14px);
}

body {
  font-family: var(--f-text);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--brown);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--blush); color: var(--brown); }

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

.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  z-index: 200;
  padding: 13px 22px;
  background: var(--brown);
  color: var(--cream);
  border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus { left: 0; }

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

h1, h2, h3 {
  font-family: var(--f-title);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.002em;
}

h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }

h1 em, h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-2);
}

p { max-width: 66ch; }
strong { font-weight: 600; }

/* Le surtitre en petites capitales espacées : la seule ornementation
   typographique du site, et elle suffit à poser le registre. */
.eyebrow {
  display: inline-block;
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 14px;
}

.lead {
  font-size: var(--t-lead);
  line-height: 1.75;
  color: var(--brown-2);
}

/* Le petit filet doré sous les titres — discret, jamais large. */
.rule {
  width: 54px;
  height: 2px;
  border: 0;
  background: var(--gold);
  border-radius: 2px;
  margin: 22px 0 0;
}
.rule--center { margin-inline: auto; }

/* ---------- Mise en page ---------- */

.container {
  width: min(var(--max), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

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

.head { margin-bottom: clamp(36px, 5vh, 58px); }
.head--center { text-align: center; }
.head--center p { margin-inline: auto; }
.head p { margin-top: 20px; }

/* ---------- Révélation au défilement ---------- */

.u-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.u-reveal.is-visible { opacity: 1; transform: none; }

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid var(--brown);
  background: var(--brown);
  color: var(--cream);
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--gold-2); border-color: var(--gold-2); transform: translateY(-1px); }

/* Bouton clair : or plein, texte brun. Le brun sur l'or tient 5,5:1,
   là où du blanc sur l'or serait tombé à 2,3:1 — illisible. */
.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--brown);
}
.btn--gold:hover { background: var(--brown); border-color: var(--brown); color: var(--cream); }

.btn--line {
  background: transparent;
  border-color: var(--gold);
  color: var(--brown);
}
.btn--line:hover { background: var(--gold); border-color: var(--gold); color: var(--brown); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--gold-2);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: border-color .25s ease, color .25s ease;
}
.link:hover { color: var(--brown); border-color: var(--gold); }

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

.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(253, 250, 247, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 40px);
  height: var(--header);
}

.nav__brand { margin-right: auto; display: flex; align-items: center; }
.nav__brand img { height: 46px; width: auto; }

.nav__links { display: flex; align-items: center; gap: clamp(12px, 1.7vw, 28px); }

.nav__links a {
  position: relative;
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--brown-2);
  padding-block: 8px;
  transition: color .25s ease;
}
.nav__links a:hover { color: var(--brown); }

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav .btn { padding: 12px 24px; }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--brown);
  transition: transform .3s ease, opacity .3s ease;
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 8px var(--gutter) 28px;
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.nav__mobile a {
  padding: 15px 2px;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.nav__mobile .btn { margin-top: 20px; }

/* ================================================================
   Hero
   ================================================================ */

.hero {
  background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%);
  padding-block: clamp(48px, 8vh, 92px) clamp(56px, 9vh, 104px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 { margin-bottom: 24px; }
.hero__text > p { margin-bottom: 30px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

/* La preuve sociale, juste sous les boutons : c'est là qu'elle sert. */
.hero__proof {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--t-small);
  color: var(--brown-2);
}
.hero__proof strong { color: var(--brown); font-weight: 700; }
.hero__stars { color: var(--gold); letter-spacing: 0.08em; }

.hero__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  aspect-ratio: 4 / 3;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Bandeau de réassurance ---------- */

.assurance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 34px);
  padding-block: clamp(30px, 4vh, 44px);
  border-bottom: 1px solid var(--line);
}

.assurance__item { text-align: center; }
.assurance__t {
  display: block;
  font-family: var(--f-title);
  font-size: 21px;
  color: var(--brown);
  margin-bottom: 3px;
}
.assurance__d {
  display: block;
  font-size: var(--t-small);
  color: var(--brown-2);
  line-height: 1.5;
}

/* ================================================================
   Les soins — grille de cartes simple
   ================================================================ */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 34px);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--gold);
}

.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.card:hover .card__media img { transform: scale(1.05); }

.card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 26px 28px;
  flex: 1;
}
.card__body p { font-size: var(--t-small); color: var(--brown-2); line-height: 1.65; }

/* Le prix poussé en bas : toutes les cartes alignent leur pied,
   quelle que soit la longueur du texte. */
.card__from {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.section-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(36px, 5vh, 56px);
}

/* ================================================================
   L'institut — texte et image
   ================================================================ */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.about__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }

.about__body p { color: var(--brown-2); }
.about__body p + p { margin-top: 16px; }

.about__claim {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--blush);
  border-radius: var(--radius-s);
  font-family: var(--f-title);
  font-size: 21px;
  font-style: italic;
  line-height: 1.4;
  color: var(--brown);
  max-width: none;
}

/* ================================================================
   Les deux instituts
   ================================================================ */

.salons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.salon {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.salon__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.salon__media img { width: 100%; height: 100%; object-fit: cover; }

.salon__body { padding: clamp(24px, 3vw, 36px); }
.salon__body h3 { margin-bottom: 14px; }
.salon__body > p { font-size: var(--t-small); color: var(--brown-2); }

.salon__addr {
  font-style: normal;
  margin-top: 20px;
  font-size: var(--t-small);
  line-height: 1.8;
}
.salon__addr a { color: var(--gold-2); font-weight: 600; }
.salon__addr a:hover { color: var(--brown); }

/* Les horaires : deux grilles très différentes d'un institut à
   l'autre, affichées côte à côte et jamais fusionnées. */
.hours {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  font-size: var(--t-small);
}
.hours caption {
  text-align: left;
  padding-bottom: 10px;
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.hours th, .hours td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours th { text-align: left; font-weight: 400; color: var(--brown-2); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

.salon .btn { margin-top: 24px; width: 100%; }

/* ================================================================
   Galerie
   ================================================================ */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.4vw, 18px);
}

.gallery__item {
  position: relative;
  padding: 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--sand);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.gallery__item:hover img { transform: scale(1.07); }

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(59, 47, 42, .18);
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery__item:hover::after,
.gallery__item:focus-visible::after { opacity: 1; }

/* ================================================================
   L'équipe
   ================================================================ */

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 44px);
  max-width: 900px;
  margin-inline: auto;
}

.team__member { margin: 0; text-align: center; }

/* `height: auto` est indispensable : l'attribut HTML height="750" pose une
   hauteur utilisée qui l'emporte sur `aspect-ratio`, et le portrait
   s'étirait en ellipse. Ailleurs le ratio est porté par le conteneur,
   le cas ne se présente pas. */
.team__member img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

.team__name {
  display: block;
  font-family: var(--f-title);
  font-size: 25px;
  color: var(--brown);
}
.team__role {
  display: block;
  margin-top: 2px;
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
}

/* ================================================================
   Avis
   ================================================================ */

.avis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 34px);
}

.avis__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.avis__stars { color: var(--gold); letter-spacing: 0.1em; }

.avis__item p {
  font-family: var(--f-title);
  font-size: 21px;
  font-style: italic;
  line-height: 1.45;
  color: var(--brown);
}

.avis__item cite {
  margin-top: auto;
  font-style: normal;
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown-2);
}

.avis__more { text-align: center; margin-top: clamp(30px, 4vh, 44px); }

/* ================================================================
   Bon cadeau
   ================================================================ */

.offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  background: var(--blush);
  border-radius: var(--radius);
}

.offer__media {
  border-radius: var(--radius-s);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.offer__media img { width: 100%; height: 100%; object-fit: cover; }

.offer p { color: var(--brown-2); margin-top: 18px; }
.offer .btn { margin-top: 26px; }

/* ================================================================
   FAQ
   ================================================================ */

.faq__list { max-width: 820px; margin-inline: auto; }

.faq__item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq__item[open] { border-color: var(--gold); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 24px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  transition: color .25s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold-2); }

/* Le + qui bascule en −, dessiné en CSS : net à toute taille et il
   suit la couleur du texte. */
.faq__item summary::after {
  content: '';
  flex: none;
  width: 13px; height: 13px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  color: var(--gold-2);
  transition: transform .3s ease;
}
.faq__item[open] summary::after { transform: rotate(135deg); }

.faq__item p {
  padding: 0 24px 22px;
  font-size: var(--t-small);
  color: var(--brown-2);
}

/* ================================================================
   Contact
   ================================================================ */

.contact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.contact__col {
  padding: clamp(26px, 3vw, 36px);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact__col h3 { margin-bottom: 14px; }
.contact__col .btn { margin-top: 22px; }
.contact__map { margin-top: 16px; }

/* ================================================================
   Pied de page
   ================================================================ */

.foot {
  background: var(--sand);
  border-top: 1px solid var(--line);
  padding-top: clamp(48px, 7vh, 76px);
}

.foot__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(26px, 3vw, 48px);
  padding-bottom: clamp(36px, 5vh, 56px);
}

.foot__brand img { height: 62px; width: auto; margin-bottom: 14px; }
.foot__brand p { font-size: var(--t-small); color: var(--brown-2); max-width: 32ch; }

.foot__col h4 {
  font-family: var(--f-title);
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 14px;
}

.foot__col a,
.foot__col address {
  display: block;
  font-style: normal;
  font-size: var(--t-small);
  line-height: 1.85;
  color: var(--brown-2);
}
.foot__col a { width: fit-content; transition: color .25s ease; }
.foot__col a:hover { color: var(--gold-2); }

.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: var(--t-small);
  color: var(--brown-2);
}

/* ================================================================
   Modale de réservation
   ================================================================ */

.modal { position: fixed; inset: 0; z-index: 150; }
.modal[hidden] { display: none; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(59, 47, 42, .5);
  backdrop-filter: blur(3px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 24px));
  max-height: min(88vh, 840px);
  margin: max(5vh, 24px) auto 0;
  overflow-y: auto;
  padding: clamp(26px, 4vw, 44px);
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background .25s ease, border-color .25s ease;
}
.modal__close:hover { background: var(--blush); border-color: var(--gold); }

.modal__title { margin-block: 6px 6px; }
.modal__lead { color: var(--brown-2); margin-block: 20px 22px; font-size: var(--t-small); }

.modal__choices { display: grid; gap: 12px; }

.salon-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 22px 24px;
  text-align: left;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  transition: border-color .25s ease, background .25s ease;
}
.salon-card:hover { border-color: var(--gold); background: var(--sand); }

.salon-card__name { font-family: var(--f-title); font-size: 23px; }
.salon-card__addr { font-size: var(--t-small); color: var(--brown-2); }

.modal__back {
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--gold-2);
  margin-bottom: 18px;
}
.modal__back:hover { color: var(--brown); }

.modal__widget { min-height: 280px; }

.modal__pending {
  padding: 26px;
  background: var(--sand);
  border-radius: var(--radius-s);
  color: var(--brown-2);
  font-size: var(--t-small);
}

/* ================================================================
   Visionneuse de la galerie
   ================================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 52px);
  background: rgba(40, 32, 28, .92);
}
.lightbox[hidden] { display: none; }

.lightbox__figure { max-width: 100%; margin: 0; }
.lightbox__figure img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: var(--radius-s);
  margin-inline: auto;
}

.lightbox__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 16px;
  font-size: var(--t-small);
  color: rgba(253, 250, 247, .82);
}
.lightbox__count { font-variant-numeric: tabular-nums; }

.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--cream);
  border: 1px solid rgba(253, 250, 247, .35);
  transition: background .25s ease, color .25s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--cream); color: var(--brown); }

.lightbox__close { top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px); }
.lightbox__nav--prev { left: clamp(10px, 2.5vw, 28px); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: clamp(10px, 2.5vw, 28px); top: 50%; transform: translateY(-50%); }

/* ================================================================
   Adaptation aux petites largeurs
   ================================================================ */

@media (max-width: 1040px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .avis  { grid-template-columns: 1fr; }
  .avis__item { padding: 26px; }
  .foot__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header: 68px; }

  .nav__links,
  .nav__inner > .btn { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile { display: flex; }
  .nav__mobile[hidden] { display: none; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; aspect-ratio: 16 / 11; }

  .assurance { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .about { grid-template-columns: 1fr; }
  .about__media { order: -1; aspect-ratio: 16 / 10; }

  .salons { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }
  .offer__media { order: -1; }

  .gallery { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
  .team  { grid-template-columns: 1fr; max-width: 320px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .foot__inner { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .lightbox__nav { top: auto; bottom: 14px; transform: none; }
}
