/* =========================================================================
   Salon de toilettage — feuille de style du site public
   Palette chaude « spa canin » : crème, encre douce, vert profond, ambre.
   Les couleurs d'accent sont injectées par app.js depuis les réglages admin.
   ========================================================================= */

:root {
  --cream: #fbf7f1;
  --paper: #ffffff;
  --sand: #f3ece1;
  --ink: #1a1713;
  --muted: #6f6759;
  --line: #e9e0d2;
  --accent: #2f7d6e;
  --accent-2: #e8863f;
  --accent-soft: color-mix(in srgb, var(--accent) 10%, var(--cream));
  --accent-ink: color-mix(in srgb, var(--accent) 78%, #000);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(26, 23, 19, 0.05), 0 4px 12px rgba(26, 23, 19, 0.04);
  --shadow-md: 0 2px 6px rgba(26, 23, 19, 0.05), 0 14px 34px rgba(26, 23, 19, 0.08);
  --shadow-lg: 0 4px 12px rgba(26, 23, 19, 0.06), 0 30px 70px rgba(26, 23, 19, 0.13);

  --wrap: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-text: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Les modales et sections masquées déclarent un `display`; l'attribut
   `hidden` doit rester prioritaire. */
[hidden] {
  display: none !important;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5.6vw, 4.4rem);
}
h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
}
h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ic {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: currentColor;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: 999;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.78em 1.35em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 26%, transparent);
}
.btn:active {
  transform: translateY(0);
}

.btn--lg {
  padding: 0.95em 1.7em;
  font-size: 1.03rem;
}

.btn--soft {
  --btn-bg: color-mix(in srgb, var(--accent) 9%, var(--paper));
  --btn-fg: var(--accent-ink);
  border-color: color-mix(in srgb, var(--accent) 18%, transparent);
}
.btn--soft:hover {
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  --btn-bg: var(--paper);
  box-shadow: var(--shadow-sm);
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--accent-ink);
}
.btn--light:hover {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

.linkbtn {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

/* ---------- En-tête ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}

.header.is-stuck {
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(26, 23, 19, 0.05);
  height: 66px;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--accent-2)));
  color: #fff;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent);
  transition: transform 0.5s var(--ease);
}
.brand:hover .brand__mark {
  transform: rotate(-8deg) scale(1.05);
}
.brand__mark svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__text strong {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand__text small {
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 0.3rem;
}

.nav a {
  position: relative;
  padding: 0.45rem 0.8rem;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s, background 0.25s;
}
.nav a:hover,
.nav a.is-current {
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn--phone {
  font-variant-numeric: tabular-nums;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 14px;
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.burger[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) 0 5rem;
  overflow: hidden;
}

.hero__blobs {
  position: absolute;
  inset: -20% -10% auto;
  height: 130%;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.55;
}
.blob {
  position: absolute;
  border-radius: 50%;
  animation: drift 22s ease-in-out infinite;
}
.blob--1 {
  width: 46vw;
  height: 46vw;
  left: -12vw;
  top: 4vw;
  background: color-mix(in srgb, var(--accent) 26%, transparent);
}
.blob--2 {
  width: 38vw;
  height: 38vw;
  right: -8vw;
  top: -6vw;
  background: color-mix(in srgb, var(--accent-2) 24%, transparent);
  animation-delay: -7s;
}
.blob--3 {
  width: 30vw;
  height: 30vw;
  right: 22vw;
  bottom: 0;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  animation-delay: -13s;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  33% {
    transform: translate3d(4%, -6%, 0) scale(1.08);
  }
  66% {
    transform: translate3d(-5%, 4%, 0) scale(0.95);
  }
}

.paws {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.paws span {
  position: absolute;
  color: color-mix(in srgb, var(--accent) 20%, transparent);
  animation: floatPaw linear infinite;
}
.paws svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

@keyframes floatPaw {
  from {
    transform: translateY(20px) rotate(0deg);
    opacity: 0;
  }
  10%,
  80% {
    opacity: 1;
  }
  to {
    transform: translateY(-120px) rotate(28deg);
    opacity: 0;
  }
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.95rem;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-ink);
  margin-bottom: 1.4rem;
}
.badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-2) 60%, transparent);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-2) 55%, transparent);
  }
  70% {
    box-shadow: 0 0 0 10px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

.hero__title {
  position: relative;
  z-index: 1;
  margin-bottom: 1.1rem;
}
/* Surlignage du passage mis en avant. Un dégradé en fond plutôt qu'un
   pseudo-élément : sur un titre qui passe à la ligne, le trait suit chaque
   fragment au lieu de n'habiller que le dernier. */
.hero__title em {
  font-style: normal;
  color: var(--accent-ink);
  background-image: linear-gradient(
    color-mix(in srgb, var(--accent-2) 42%, transparent),
    color-mix(in srgb, var(--accent-2) 42%, transparent)
  );
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 0 0.26em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: swipe 1s 0.5s var(--ease) both;
}

@keyframes swipe {
  to {
    background-size: 100% 0.26em;
  }
}

.hero__lead {
  font-size: 1.13rem;
  color: var(--muted);
  max-width: 44ch;
  margin-bottom: 2rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.6rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 1.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: start;
}
.hero__stats li {
  position: relative;
  padding-left: 1.8rem;
}
.hero__stats li:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0.85rem;
  top: 0.35em;
  bottom: 0.35em;
  width: 1px;
  background: var(--line);
}
.hero__stats li:first-child {
  padding-left: 0;
}
.hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.1;
  font-weight: 600;
}
.hero__stats small {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero__media {
  position: relative;
}

.hero__frame {
  position: relative;
  border-radius: 46% 54% 52% 48% / 40% 38% 62% 60%;
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  box-shadow: var(--shadow-lg);
  animation: morph 16s ease-in-out infinite;
  background: var(--sand);
}

@keyframes morph {
  0%,
  100% {
    border-radius: 46% 54% 52% 48% / 40% 38% 62% 60%;
  }
  50% {
    border-radius: 56% 44% 40% 60% / 52% 60% 40% 48%;
  }
}

.hero__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease);
}
.hero__media:hover .hero__img {
  transform: scale(1.09);
}

.hero__glow {
  position: absolute;
  inset: auto -20% -30% -20%;
  height: 55%;
  background: linear-gradient(to top, color-mix(in srgb, var(--ink) 45%, transparent), transparent);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  background: var(--paper);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  font-size: 0.86rem;
  animation: bob 6s ease-in-out infinite;
}
.float-card small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
}
.float-card strong {
  font-size: 0.95rem;
}
.float-card--slot {
  left: -1.5rem;
  bottom: 16%;
}
.float-card--rating {
  right: -0.5rem;
  top: 12%;
  animation-delay: -3s;
}
.float-card__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #37b57f;
  box-shadow: 0 0 0 4px rgba(55, 181, 127, 0.18);
}
.float-card .stars {
  display: flex;
  gap: 1px;
  color: var(--accent-2);
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* ---------- Bandeau défilant ---------- */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  padding: 0.9rem 0;
  --marquee-duration: 34s;
}
.marquee__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: scrollX var(--marquee-duration) linear infinite;
}
.marquee__track span {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.marquee__track svg {
  width: 17px;
  height: 17px;
  fill: var(--accent-2);
  flex: none;
}

@keyframes scrollX {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
  position: relative;
}
.section--tint {
  background: var(--sand);
}
.section--book {
  background: linear-gradient(180deg, var(--cream), color-mix(in srgb, var(--accent) 7%, var(--cream)));
}

.section__head {
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.section__head--left {
  margin-inline: 0;
  text-align: left;
}
.section__lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}
.section__head h2 {
  margin-bottom: 0.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

/* ---------- Filtres ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.2rem;
}
.chip {
  padding: 0.5rem 1.05rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.chip:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--ink);
}
.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

/* ---------- Prestations ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.4rem;
}

.card-service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
  animation: fadeUp 0.55s var(--ease) both;
}
.card-service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.card-service.is-hidden {
  display: none;
}

.card-service__top {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.card-service__icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  transition: transform 0.4s var(--ease);
}
.card-service:hover .card-service__icon {
  transform: rotate(-8deg) scale(1.06);
}
.card-service__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.card-service h3 {
  margin: 0 0 0.15rem;
  font-size: 1.24rem;
}
.card-service__tag {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.card-service__desc {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 1rem;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.3rem;
  display: grid;
  gap: 0.45rem;
}
.ticks li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.93rem;
  color: var(--muted);
}
.ticks li::before {
  content: '';
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 0.28em;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7d6e' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 6.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.card-service__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line);
}
.card-service__price {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.card-service__price strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
}
.card-service__price small {
  color: var(--muted);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* La carte mise en avant réserve une bande en haut pour son ruban : le titre
   garde toute la largeur, quel que soit le texte saisi dans l'admin. */
.card-service--popular {
  padding-top: 3.6rem;
}

.ribbon {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  max-width: calc(100% - 2.4rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0.25rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--accent-2);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Étapes ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
  counter-reset: step;
}
.step {
  position: relative;
  counter-increment: step;
  padding-top: 3.6rem;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.step::after {
  content: '';
  position: absolute;
  top: 26px;
  left: 62px;
  right: -1.6rem;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 7px, transparent 7px 14px);
}
.step:last-child::after {
  display: none;
}
.step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.step p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Avant / après ---------- */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.ba {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--sand);
}
.ba__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}
.ba__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}
.ba__after {
  clip-path: inset(0 0 0 var(--pos, 50%));
}
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  pointer-events: none;
}
.ba__handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1713' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: var(--shadow-md);
}
.ba__tag {
  position: absolute;
  bottom: 0.9rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--r-pill);
  background: rgba(26, 23, 19, 0.62);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.ba__tag--before {
  left: 0.9rem;
}
.ba__tag--after {
  right: 0.9rem;
}
.ba__cap {
  padding: 0.9rem 1.1rem;
  background: var(--paper);
  font-size: 0.92rem;
}
.ba__cap strong {
  display: block;
  font-family: var(--font-display);
}
.ba__cap span {
  color: var(--muted);
}

/* ---------- Galerie ---------- */
.gallery {
  columns: 3 260px;
  column-gap: 1.1rem;
}
.gallery figure {
  break-inside: avoid;
  margin: 0 0 1.1rem;
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--sand);
  box-shadow: var(--shadow-sm);
}
.gallery img {
  width: 100%;
  transition: transform 0.7s var(--ease), filter 0.4s;
}
.gallery figure:hover img {
  transform: scale(1.06);
}
.gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.4rem 1rem 0.9rem;
  color: #fff;
  font-size: 0.9rem;
  background: linear-gradient(to top, rgba(20, 18, 15, 0.78), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s, transform 0.45s var(--ease);
}
.gallery figure:hover figcaption,
.gallery figure:focus-within figcaption {
  opacity: 1;
  transform: none;
}
.gallery figcaption b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
}

/* ---------- À propos ---------- */
.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}
.about__media {
  position: relative;
}
.about__img {
  aspect-ratio: 4 / 4.6;
  border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 90px;
  background: var(--sand) center / cover no-repeat;
  box-shadow: var(--shadow-lg);
}
.about__badge {
  position: absolute;
  right: -1rem;
  bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: var(--shadow-md);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}
.about__badge .ic {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
}
.about__lead {
  font-size: 1.06rem;
  color: var(--muted);
}
.about__text .ticks {
  margin-bottom: 1.8rem;
}
.about__text .ticks li {
  font-size: 1rem;
  color: var(--ink);
}

/* ---------- Avis ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
}
.review {
  padding: 1.9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.review:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.review__stars {
  display: flex;
  gap: 2px;
  color: var(--accent-2);
  margin-bottom: 0.9rem;
}
.review__stars svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.review p {
  font-size: 1.02rem;
  margin-bottom: 1.3rem;
}
.review p::before {
  content: '“';
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 0;
  color: color-mix(in srgb, var(--accent) 45%, transparent);
  margin-right: 0.15rem;
  vertical-align: -0.15em;
}
.review__who {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.review__ava {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}
.review__who strong {
  display: block;
  font-size: 0.95rem;
}
.review__who small {
  color: var(--muted);
  font-size: 0.83rem;
}

/* ---------- Réservation ---------- */
.booking {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.6rem;
  align-items: start;
}

/* Étapes sans récapitulatif (choix de la prestation, confirmation) : la
   colonne de droite disparaît au lieu de laisser un vide. */
.booking--solo {
  grid-template-columns: 1fr;
}
.booking--solo .booking__body {
  max-width: 760px;
  margin-inline: auto;
  width: 100%;
}

.booking__steps {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 0.4rem;
  padding: 0;
  flex-wrap: wrap;
}
.booking__steps li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.3s var(--ease);
}
.booking__steps li span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--muted);
  font-size: 0.82rem;
}
.booking__steps li.is-active {
  border-color: var(--accent);
  color: var(--ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
}
.booking__steps li.is-active span,
.booking__steps li.is-done span {
  background: var(--accent);
  color: #fff;
}
.booking__steps li.is-done {
  color: var(--ink);
}

.booking__body {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.2rem, 2.5vw, 1.9rem);
  min-height: 320px;
}

.bstep {
  display: none;
  animation: stepIn 0.45s var(--ease) both;
}
.bstep.is-active {
  display: block;
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
}

.picklist {
  display: grid;
  gap: 0.7rem;
}
.pick {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line);
  background: var(--paper);
  text-align: left;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.pick:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 4%, var(--paper));
  transform: translateX(3px);
}
.pick.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.pick__icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.pick.is-selected .pick__icon {
  background: var(--accent);
  color: #fff;
}
.pick__icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.pick__main {
  flex: 1;
  min-width: 0;
}
.pick__main strong {
  display: block;
  font-size: 1.02rem;
}
.pick__main small {
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.pick__price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Calendrier */
.cal {
  display: grid;
  grid-template-columns: minmax(0, 300px) 1fr;
  gap: 1.6rem;
}
.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.cal__head strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: capitalize;
}
.cal__nav {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  transition: all 0.25s;
}
.cal__nav:hover:not([disabled]) {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.cal__nav[disabled] {
  opacity: 0.35;
  cursor: default;
}
#calPrev svg {
  transform: rotate(180deg);
}

.cal__dows,
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal__dows {
  margin-bottom: 4px;
}
.cal__dows span {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
}
/* « vendredi 7 août » → « Vendredi 7 août » : seule la première lettre,
   sinon les mois français se retrouvent capitalisés à tort. */
.cal__day {
  font-weight: 600;
  margin-bottom: 0.9rem;
}
.cal__day::first-letter {
  text-transform: uppercase;
}

.day {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s var(--ease);
}
.day--empty {
  visibility: hidden;
}
.day--closed {
  color: color-mix(in srgb, var(--muted) 55%, transparent);
  cursor: default;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.day--free {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.day--free::after {
  content: '';
  position: absolute;
  bottom: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}
.day--free:hover {
  background: color-mix(in srgb, var(--accent) 22%, var(--paper));
  transform: scale(1.06);
}
.day.is-selected {
  background: var(--accent);
  color: #fff;
}
.day.is-selected::after {
  background: #fff;
}

.cal__legend {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  margin-left: 0.6rem;
}
.dot--free {
  background: var(--accent);
  margin-left: 0;
}
.dot--full {
  background: var(--line);
}

.cal__slots {
  border-left: 1px solid var(--line);
  padding-left: 1.6rem;
  min-height: 240px;
}
.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 0.5rem;
  align-content: start;
}
.slot {
  padding: 0.62rem 0.4rem;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-weight: 600;
  font-size: 0.94rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: all 0.22s var(--ease);
  animation: fadeUp 0.35s var(--ease) both;
}
.slot:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}
.slot.is-selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.empty {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 1.5rem 0;
  grid-column: 1 / -1;
}

/* Récapitulatif */
.booking__summary {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1.5rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.booking__summary h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #fff;
}
.booking__summary dl {
  margin: 0 0 1.2rem;
  display: grid;
  gap: 0.65rem;
}
.booking__summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}
.booking__summary dt {
  color: color-mix(in srgb, var(--cream) 60%, transparent);
}
.booking__summary dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.booking__price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--cream) 60%, transparent);
}
.booking__price strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #fff;
}
.booking__hint {
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--cream) 55%, transparent);
}
.booking__manage {
  text-align: center;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Confirmation */
.done {
  text-align: center;
  padding: 1.5rem 0;
}
.done__mark {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  animation: pop 0.5s var(--ease) both;
}
.done__mark svg {
  width: 38px;
  height: 38px;
}
@keyframes pop {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
}
.done__ref {
  display: inline-block;
  margin: 0.5rem 0 1rem;
  padding: 0.5rem 1.2rem;
  border-radius: var(--r-pill);
  background: var(--sand);
  font-size: 0.9rem;
}
.done__ref strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
}
.done__note {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 46ch;
  margin-inline: auto;
}

/* ---------- Formulaires ---------- */
.form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.field--full {
  grid-column: 1 / -1;
}
.field span {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.98rem;
  padding: 0.72rem 0.9rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
.field textarea {
  resize: vertical;
  min-height: 84px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
}
.field input:user-invalid {
  border-color: #d1544a;
}

.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.check input {
  margin-top: 0.25em;
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.form__actions--center {
  justify-content: center;
}
.form__error {
  margin: 0 0 0.9rem;
  padding: 0.7rem 0.95rem;
  border-radius: var(--r-sm);
  background: #fdeeed;
  color: #a5342c;
  font-size: 0.9rem;
  border: 1px solid #f4cfcb;
}
.form.card {
  padding: 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.form.card h3 {
  margin-bottom: 1rem;
}

/* ---------- FAQ ---------- */
.faq-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}
.faq {
  display: grid;
  gap: 0.7rem;
}
.qa {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.qa:hover {
  box-shadow: var(--shadow-sm);
}
.qa.is-open {
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: var(--shadow-sm);
}
.qa__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: none;
  border: 0;
  text-align: left;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
}
.qa__q svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--accent);
  transform: rotate(90deg);
  transition: transform 0.35s var(--ease);
}
.qa.is-open .qa__q svg {
  transform: rotate(-90deg);
}
.qa__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.qa.is-open .qa__a {
  grid-template-rows: 1fr;
}
.qa__a > div {
  overflow: hidden;
}
.qa__a p {
  margin: 0;
  padding: 0 1.3rem 1.2rem;
  color: var(--muted);
  font-size: 0.97rem;
}

/* ---------- CTA ---------- */
.cta {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 45%, var(--accent-2)));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before,
.cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
}
.cta::before {
  width: 340px;
  height: 340px;
  top: -140px;
  right: -60px;
}
.cta::after {
  width: 220px;
  height: 220px;
  bottom: -110px;
  left: 8%;
}
.cta__inner {
  position: relative;
  text-align: center;
  max-width: 640px;
}
.cta h2 {
  color: #fff;
}
.cta p {
  font-size: 1.08rem;
  opacity: 0.9;
  margin-bottom: 1.8rem;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}
.contact__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.2rem;
  display: grid;
  gap: 0.85rem;
}
.contact__list li {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  font-size: 1rem;
}
.contact__list .ic {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.6rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  fill: none;
  stroke: currentColor;
}
.contact__list a {
  text-decoration: none;
  font-weight: 600;
}
.contact__list a:hover {
  text-decoration: underline;
}
.contact__sub {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}
.hours {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.8rem;
  font-size: 0.96rem;
}
.hours tr {
  border-bottom: 1px dashed var(--line);
}
.hours tr:last-child {
  border: 0;
}
.hours td {
  padding: 0.55rem 0;
}
.hours td:first-child {
  text-transform: capitalize;
  color: var(--muted);
}
.hours td:last-child {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.hours tr.is-today td {
  color: var(--accent-ink);
}
.hours tr.is-today td:first-child::after {
  content: " · aujourd'hui";
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: none;
}
.hours .closed {
  color: var(--muted);
  font-weight: 500;
}

.socials {
  display: flex;
  gap: 0.6rem;
}
.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: all 0.3s var(--ease);
}
.socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}
.socials svg {
  width: 20px;
  height: 20px;
}

.contact__side {
  display: grid;
  gap: 1.4rem;
}
.map {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  min-height: 260px;
  background: var(--sand);
}
.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
}

/* ---------- Pied de page ---------- */
.footer {
  background: var(--ink);
  color: color-mix(in srgb, var(--cream) 75%, transparent);
  padding: 3.5rem 0 1.6rem;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.brand--footer .brand__text strong {
  color: var(--cream);
}
.brand--footer .brand__text small {
  color: color-mix(in srgb, var(--cream) 55%, transparent);
}
.footer__addr {
  margin: 1rem 0 0;
  font-size: 0.92rem;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
}
.footer__nav a,
.footer__nav .linkbtn {
  color: inherit;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
}
.footer__nav a:hover,
.footer__nav .linkbtn:hover {
  color: #fff;
  text-decoration: underline;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 1.4rem;
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--cream) 45%, transparent);
}
.footer__bottom a {
  color: inherit;
}

/* ---------- Lightbox & modales ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(16, 14, 12, 0.93);
  display: grid;
  place-items: center;
  padding: 3rem 1.2rem;
  animation: fade 0.28s ease both;
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
.lightbox figure {
  margin: 0;
  max-width: min(1100px, 100%);
  text-align: center;
}
.lightbox img {
  max-height: 78vh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--r-md);
  animation: pop 0.35s var(--ease) both;
}
.lightbox figcaption {
  color: #fff;
  margin-top: 1rem;
  font-size: 0.95rem;
  opacity: 0.85;
}
.lightbox__close,
.lightbox__nav,
.modal__close {
  position: absolute;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.3);
}
.lightbox__close {
  top: 1.2rem;
  right: 1.2rem;
}
.lightbox__nav--prev {
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
}
.lightbox__nav--next {
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(16, 14, 12, 0.55);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 1.2rem;
  animation: fade 0.25s ease both;
}
.modal__box {
  position: relative;
  width: min(560px, 100%);
  max-height: 86vh;
  overflow: auto;
  padding: 2rem;
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  animation: pop 0.35s var(--ease) both;
}
.modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 38px;
  height: 38px;
  background: var(--sand);
  color: var(--ink);
}
.modal__close:hover {
  background: var(--line);
}
.modal__lead {
  color: var(--muted);
  font-size: 0.95rem;
}
.prose {
  font-size: 0.95rem;
  color: var(--muted);
}
.prose h4 {
  color: var(--ink);
  margin: 1.2rem 0 0.3rem;
  font-size: 1rem;
}

.rdv-card {
  margin-top: 1.2rem;
  padding: 1.2rem;
  border-radius: var(--r-md);
  background: var(--sand);
}
.rdv-card dl {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 1rem;
}
.rdv-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.93rem;
}
.rdv-card dt {
  color: var(--muted);
}
.rdv-card dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.status {
  display: inline-block;
  padding: 0.18rem 0.65rem;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 700;
}
.status--pending {
  background: #fdf1dd;
  color: #96601a;
}
.status--confirmed {
  background: #e2f4ec;
  color: #1f6b52;
}
.status--cancelled {
  background: #f6e7e6;
  color: #9a3f38;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 300;
  padding: 0.85rem 1.4rem;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--cream);
  font-size: 0.93rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.4s var(--ease) both;
}
.toast--error {
  background: #a5342c;
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translate(-50%, 18px);
  }
}

/* ---------- Révélations au scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner,
  .about,
  .contact,
  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero__media {
    /* `width: 100%` est indispensable : avec des marges auto, l'élément de
       grille passe en largeur « au contenu », or le cadre n'a que des enfants
       en position absolue — sa largeur, et donc sa hauteur via aspect-ratio,
       tomberaient à zéro. */
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
    order: -1;
  }
  .hero__frame {
    aspect-ratio: 4 / 3.4;
  }
  .booking {
    grid-template-columns: 1fr;
  }
  .booking__summary {
    position: static;
    order: -1;
  }
  .cal {
    grid-template-columns: 1fr;
  }
  .cal__slots {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 1.4rem 0 0;
    min-height: 0;
  }
  .cal__side {
    max-width: 340px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.25rem 1.6rem;
    background: color-mix(in srgb, var(--cream) 96%, transparent);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 0.45s var(--ease);
    visibility: hidden;
  }
  .nav.is-open {
    transform: none;
    visibility: visible;
  }
  .nav a {
    padding: 0.85rem 0.6rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav a:last-child {
    border-bottom: 0;
  }
  .burger {
    display: grid;
  }
  .btn--phone {
    display: none;
  }
  .step::after {
    display: none;
  }
  .about__badge {
    right: 0.6rem;
  }
  .gallery {
    columns: 2 180px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }
  .wrap {
    width: min(100% - 1.8rem, var(--wrap));
  }
  .hero {
    padding-top: calc(var(--header-h) + 2rem);
  }
  /* L'accroche du logo prend trop de place à côté du bouton et du menu. */
  .header .brand__text small {
    display: none;
  }
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0.8rem;
    width: 100%;
  }
  .hero__stats li,
  .hero__stats li:first-child {
    padding-left: 0;
  }
  .hero__stats li::before {
    display: none !important;
  }
  .hero__cta .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .float-card--slot {
    left: 0;
    bottom: -1rem;
  }
  .float-card--rating {
    right: 0;
    top: -0.6rem;
  }
  .booking__steps li {
    flex: 1;
    justify-content: center;
    font-size: 0.78rem;
    padding: 0.45rem 0.55rem 0.45rem 0.4rem;
  }
  .booking__body {
    padding: 1.1rem;
  }
  .pick {
    flex-wrap: wrap;
    padding: 0.9rem;
  }
  .pick__price {
    margin-left: auto;
  }
  .modal__box {
    padding: 1.5rem 1.2rem;
  }
  .slots {
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  }
  /* Deux colonnes tiennent encore sur un téléphone : une seule donnerait
     des photos démesurées. */
  .gallery {
    columns: 2 140px;
    column-gap: 0.7rem;
  }
  .gallery figure {
    margin-bottom: 0.7rem;
  }
  .footer__inner {
    flex-direction: column;
  }
  .lightbox__nav {
    display: none;
  }
}

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .paws,
  .hero__blobs {
    display: none;
  }
}

@media print {
  .header,
  .marquee,
  .cta,
  .footer,
  .booking__steps {
    display: none;
  }
}
