/* L&K Events · site public */

:root {
  --night: #0d0c0a;
  --night-2: #18160f;
  --night-3: #221f17;
  --ivory: #f4eee2;
  --ivory-2: #e9e1d0;
  --ivory-3: #ddd2bc;
  --ink: #15130f;
  --ink-2: #4a4337;
  --mist: #c9bfab;
  --gold: #cfa64f;
  --gold-deep: #8a6a22;
  --red: #b3262c;
  --paper: #fbf8f2;
  /* couleurs de marque qui ne changent pas d'une section à l'autre */
  --brand-gold: #cfa64f;
  --brand-night: #0d0c0a;

  --display: "Source Serif 4", Georgia, serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;

  --step-hero: clamp(2.9rem, 7.4vw, 6rem);
  --step-2: clamp(2.3rem, 4.8vw, 4.25rem);
  --step-3: clamp(1.5rem, 2.2vw, 2rem);
  --step-body: 1.125rem;
  --step-small: 0.9375rem;

  --margin: clamp(16px, 3.4vw, 48px);
  --gap-section: clamp(72px, 9vw, 136px);
  --max: 1440px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  scrollbar-color: var(--gold) var(--night);
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ivory);
  font-family: var(--text);
  font-size: var(--step-body);
  line-height: 1.55;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: var(--night);
}

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

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
}

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

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

[hidden] {
  display: none !important;
}

.skip {
  position: absolute;
  left: var(--margin);
  top: -60px;
  background: var(--gold);
  color: var(--night);
  padding: 10px 16px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}

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

/* ——— Barre de navigation ——— */

.bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: var(--night);
  transition: transform 0.5s var(--ease-out);
}
.bar.is-hidden {
  transform: translateY(-100%);
}
.bar .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.brand img {
  width: 44px;
  height: 44px;
}
.brand span {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.nav {
  display: flex;
  gap: 28px;
  font-size: var(--step-small);
}
.nav a {
  text-decoration: none;
  padding: 10px 0;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
}
.nav .nav-extra {
  display: none;
}
.bar.is-open .nav .nav-extra {
  display: block;
}

/* Outils de l'en-tête : Facebook, contact, rappel */
.bar-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: -12px;
}
.bar-icon,
.bar-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 0;
  background: none;
  color: var(--ivory);
  font: 500 var(--step-small) / 1 var(--text);
  text-decoration: none;
  cursor: pointer;
  transition:
    color 0.3s var(--ease-out),
    background-color 0.3s var(--ease-out);
}
.bar-icon svg,
.bar-call svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.bar-icon:hover,
.bar-call:hover {
  color: var(--brand-gold);
  background: var(--night-3);
}
.bar-call {
  padding: 0 14px;
}
.bar-call:hover svg {
  animation: ring 0.6s var(--ease-out);
}
@keyframes ring {
  20%,
  60% {
    transform: rotate(-14deg);
  }
  40%,
  80% {
    transform: rotate(10deg);
  }
}
.foot-call {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Fenêtre « On vous rappelle » */
.callback {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}
.callback::backdrop {
  background: rgba(13, 12, 10, 0.6);
  backdrop-filter: blur(3px);
}
.callback[open] {
  animation: cb-in 0.45s var(--ease-out);
}
@keyframes cb-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
}
.callback-form,
.callback-done {
  position: relative;
  padding: 36px 32px 30px;
}
.callback h2 {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1.05;
  padding-right: 40px;
}
.callback .hint {
  margin-top: 10px;
}
.callback .field,
.callback .field:first-of-type {
  margin-top: 18px;
}
.callback .field input,
.callback .field select {
  background: #fff;
  color: var(--ink);
}
.callback .error {
  min-height: 0;
  margin-top: 12px;
  font-size: var(--step-small);
}
.callback .btn {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}
.callback-legal {
  font-size: 0.8125rem;
}
.callback-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.callback-close svg {
  width: 18px;
  height: 18px;
}
.callback-done p {
  margin: 12px 0 8px;
  color: var(--ink-2);
}

/* ——— Thème clair, au choix du visiteur ———
   Les zones sombres (en-tête, héros, sections sombres, pied de page) passent en papier ;
   les sections déjà claires gardent leurs couleurs d'origine. */
:root[data-theme="light"] body {
  --night: #fbf8f2;
  --night-2: #f1ebdf;
  --night-3: #e4dac7;
  --ivory: #15130f;
  --mist: #5a5244;
  --gold: #8a6a22;
  --ghost-hover: #d9cdb6;
}
:root[data-theme="light"] .section--ivory {
  --night: #0d0c0a;
  --night-2: #18160f;
  --night-3: #221f17;
  --ivory: #f4eee2;
  --mist: #c9bfab;
  --gold: #cfa64f;
  --ghost-hover: #2e2a20;
}
:root[data-theme="light"] .bar {
  box-shadow: 0 1px 0 var(--night-3);
}
:root[data-theme="light"] .foot {
  border-top: 1px solid var(--night-3);
}
:root[data-theme="light"] body :is(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], select, textarea) {
  background: #fff;
  color: var(--ink);
}
.theme-toggle .i-sun {
  display: none;
}
:root[data-theme="light"] .theme-toggle .i-sun {
  display: block;
}
:root[data-theme="light"] .theme-toggle .i-moon {
  display: none;
}

/* ——— Sous-menu « Vos événements » ——— */
.nav {
  align-items: center;
}
.nav-group {
  position: relative;
}
.nav-sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.nav-sub-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s var(--ease-out);
}
.nav-group.is-current > .nav-sub-toggle {
  color: var(--gold);
}
.nav-sub {
  position: absolute;
  top: 100%;
  left: -20px;
  z-index: 60;
  display: grid;
  min-width: 250px;
  padding: 10px 0;
  background: var(--night-2);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.25s var(--ease-out),
    transform 0.25s var(--ease-out),
    visibility 0s 0.25s;
}
.nav-sub a {
  padding: 10px 20px;
  text-decoration: none;
}
.nav-sub a::after {
  display: none;
}
.nav-sub a:hover,
.nav-sub a[aria-current="page"] {
  background: var(--night-3);
  color: var(--gold);
}
.nav-group:hover .nav-sub,
.nav-group.is-open .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.nav-group:hover .nav-sub-toggle svg,
.nav-group.is-open .nav-sub-toggle svg {
  transform: rotate(180deg);
}

/* ——— Choix de la langue ——— */
.lang-switch {
  display: flex;
  margin-right: 4px;
  font: 600 0.8125rem / 1 var(--text);
  letter-spacing: 0.04em;
}
.lang-switch a {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 44px;
  color: var(--mist);
  text-decoration: none;
}
.lang-switch a:hover {
  color: var(--ivory);
}
.lang-switch a[aria-current] {
  color: var(--gold);
}

/* ——— Fil d'Ariane ——— */
.crumbs {
  margin-bottom: 20px;
  font-size: var(--step-small);
  color: var(--mist);
}
.crumbs a {
  color: inherit;
}
.crumbs span[aria-hidden] {
  margin: 0 6px;
}

/* ——— Cartes ——— */
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.cards li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 28px 32px;
  background: var(--night-2);
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}
.section--ivory .cards li {
  background: var(--ivory-2);
}
.cards li:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(21, 19, 15, 0.45);
}
.cards .step-icon {
  margin-bottom: 8px;
}
.cards li .step-icon svg > * {
  stroke-dashoffset: 0;
}
.cards h3 {
  font-family: var(--text);
  font-weight: 600;
  font-size: 1.1875rem;
  letter-spacing: 0;
  line-height: 1.3;
}
.cards p {
  font-size: 1rem;
  color: var(--mist);
}
.section--ivory .cards p {
  color: var(--ink-2);
}
.card-link {
  margin-top: auto;
  padding-top: 8px;
  color: var(--gold);
  font-weight: 600;
  font-size: var(--step-small);
}
.section--ivory .card-link {
  color: var(--gold-deep);
}

/* ——— Galerie de réalisations ——— */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  grid-auto-flow: dense;
  gap: clamp(12px, 1.6vw, 20px);
}
.gallery-item {
  margin: 0;
  overflow: hidden;
  background: var(--night-3);
}
.gallery-item--wide {
  grid-column: span 2;
}
.gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 65%;
  transition: transform 0.8s var(--ease-out);
}
.gallery-item--wide img {
  aspect-ratio: 8 / 5;
}
.gallery-item:hover img {
  transform: scale(1.04);
}
.gallery-item figcaption {
  padding: 12px 16px;
  font-size: var(--step-small);
  color: var(--mist);
}
.section--ivory .gallery-item {
  background: var(--ivory-2);
}
.section--ivory .gallery-item figcaption {
  color: var(--ink-2);
}
.gallery-note {
  margin-top: 24px;
}

/* ——— Bandeau d'appel à l'action ——— */
.cta-band {
  display: grid;
  justify-items: start;
  gap: 18px;
}
.cta-band h2 {
  font-size: var(--step-2);
  max-width: 16em;
}
.cta-band p {
  max-width: 36em;
  font-size: 1.1875rem;
  color: var(--mist);
}
.foot .foot-grid--5 {
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
}

/* ——— Boutons ——— */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 0;
  background: var(--brand-gold);
  color: var(--brand-night);
  font: 600 1rem/1 var(--text);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease-out),
    background-color 0.25s;
}
.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.45s var(--ease-out);
}
.btn:hover {
  background: #e0b95e;
}
.btn:hover svg {
  transform: translateX(4px);
}
.btn:active {
  transform: scale(0.97);
}
.btn--ghost {
  background: var(--night-3);
  color: var(--ivory);
}
.btn--ghost:hover {
  background: var(--ghost-hover, #2e2a20);
}
.btn--ink {
  background: var(--ink);
  color: var(--ivory);
}
.btn--ink:hover {
  background: #2a261d;
}
.btn--small {
  min-height: 44px;
  padding: 0 18px;
  font-size: var(--step-small);
}
.btn[disabled] {
  opacity: 0.5;
  cursor: progress;
}

/* ——— Accueil : premier écran ——— */

.hero {
  padding-top: 76px;
  min-height: 100svh;
  display: grid;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  padding-top: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 72px);
}
.hero h1 {
  font-size: clamp(2.6rem, 5.7vw, 5.75rem);
}
.hero-lead {
  margin-top: 36px;
  max-width: 34em;
  font-size: clamp(1.125rem, 1.4vw, 1.3rem);
  color: var(--ivory);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.hero-figure {
  position: relative;
  margin: 0;
  height: min(calc(100svh - 140px), 820px);
  overflow: hidden;
  background: var(--night-2);
}
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 50% 60%;
}
.hero-figure figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--night);
  padding: 12px 18px 0 0;
  font-size: var(--step-small);
  color: var(--mist);
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: 56px;
  font-size: var(--step-small);
  color: var(--mist);
}
.hero-facts strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--gold);
  line-height: 1.1;
}

/* Services présentés avec le diaporama : un seul visible, les autres empilés au même endroit */
.hero-svcs {
  display: grid;
  margin-top: 36px;
  max-width: 34em;
}
.hero-svc {
  grid-area: 1 / 1;
  visibility: hidden;
}
.hero-svc.is-active {
  visibility: visible;
}
.hero-svc-title {
  overflow: hidden;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.15;
  color: var(--gold);
}
.hero-svc-title span {
  display: inline-block;
}
.hero-svc-text {
  margin-top: 12px;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  color: var(--ivory);
}
.hero-svc .btn {
  margin-top: 28px;
}
/* Entrée : le titre monte, puis le texte, puis le bouton */
.hero-svc.is-active .hero-svc-title span {
  animation: svc-rise 0.9s var(--ease-out) both;
}
.hero-svc.is-active .hero-svc-text {
  animation: svc-fade 0.8s var(--ease-out) 0.12s both;
}
.hero-svc.is-active .btn {
  animation: svc-fade 0.8s var(--ease-out) 0.22s both;
}
/* Sortie : le service précédent s'efface vers le haut */
.hero-svc.is-leaving {
  visibility: visible;
  animation: svc-out 0.45s var(--ease-in-out) both;
  pointer-events: none;
}
@keyframes svc-rise {
  from {
    transform: translateY(105%);
  }
}
@keyframes svc-fade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes svc-out {
  to {
    opacity: 0;
    transform: translateY(-12px);
    visibility: hidden;
  }
}

/* Diaporama de l'accueil */
.slider .slides {
  position: absolute;
  inset: 0;
}
.slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  overflow: hidden;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide.is-active,
.slide.is-leaving {
  visibility: visible;
}
.slide.is-active {
  z-index: 2;
}
.slide.is-leaving {
  z-index: 1;
}
/* La photo entre en balayage, dans le sens de la navigation */
.slide.is-entering {
  animation: slide-wipe-next 1.2s var(--ease-in-out) both;
}
.slider[data-dir="prev"] .slide.is-entering {
  animation-name: slide-wipe-prev;
}
@keyframes slide-wipe-next {
  from {
    clip-path: inset(0 0 0 100%);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes slide-wipe-prev {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
/* Zoom lent sur la photo affichée */
.slide.is-active img {
  animation: slide-zoom 9s var(--ease-out) both;
}
@keyframes slide-zoom {
  from {
    scale: 1.14;
  }
  to {
    scale: 1;
  }
}
/* La photo qui part recule et s'assombrit sous la nouvelle */
.slide.is-leaving img {
  animation: slide-leave-next 1.2s var(--ease-in-out) both;
}
.slider[data-dir="prev"] .slide.is-leaving img {
  animation-name: slide-leave-prev;
}
@keyframes slide-leave-next {
  to {
    translate: -8% 0;
    filter: brightness(0.45);
  }
}
@keyframes slide-leave-prev {
  to {
    translate: 8% 0;
    filter: brightness(0.45);
  }
}
.slider.is-paused .slide.is-active img {
  animation-play-state: paused;
}
.slide-caption {
  z-index: 3;
  display: grid;
  overflow: hidden;
  max-width: calc(100% - 230px);
}
.slide-caption span {
  grid-area: 1 / 1;
  transition:
    transform 0.6s var(--ease-out),
    opacity 0.6s var(--ease-out);
}
.slide-caption span.is-out {
  transform: translateY(-100%);
  opacity: 0;
}
.slide-caption span.is-in-next {
  transform: translateY(100%);
  opacity: 0;
}
.slider-ui {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0 0 14px;
  background: var(--night);
}
.slider-dots {
  display: flex;
}
.slider-dots button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 40px;
  padding: 0 3px;
  border: 0;
  background: none;
  cursor: pointer;
}
.slider-dots i {
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(var(--gold), var(--gold)) 0 0 / 0% 100% no-repeat, rgba(244, 238, 226, 0.22);
  transition: background-color 0.25s;
}
.slider-dots button:hover i {
  background-color: rgba(244, 238, 226, 0.5);
}
/* La barre de la photo en cours se remplit : à la fin, le diaporama avance */
.slider.is-ready .slider-dots [aria-current] i {
  animation: slide-bar 7.5s linear forwards;
}
.slider.is-paused .slider-dots [aria-current] i {
  animation-play-state: paused;
}
@keyframes slide-bar {
  to {
    background-size: 100% 100%;
  }
}
.slider-pause {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: var(--night-3);
  color: var(--ivory);
  cursor: pointer;
}
.slider-pause:hover {
  background: #2e2a20;
}
.slider-pause svg {
  width: 14px;
  height: 14px;
}
.slider-pause .i-play,
.slider-pause.is-play .i-pause {
  display: none;
}
.slider-pause.is-play .i-play {
  display: block;
}

/* Retour en haut */
.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(244, 238, 226, 0.18);
  background: var(--brand-night);
  color: #f4eee2;
  box-shadow: 0 10px 30px rgba(13, 12, 10, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s var(--ease-out),
    transform 0.4s var(--ease-out),
    visibility 0.3s,
    background-color 0.2s,
    color 0.2s,
    bottom 0.3s var(--ease-out);
}
.to-top.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  background: var(--brand-gold);
  color: var(--brand-night);
}
.to-top:hover svg {
  transform: translateY(-2px);
}
.to-top svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease-out);
}
/* Au-dessus de la barre du total sur téléphone */
body:has(.mobile-total.is-on) .to-top {
  bottom: 88px;
}

/* ——— Sections ——— */

.section {
  padding: var(--gap-section) 0;
}
.section--ivory {
  background: var(--ivory);
  color: var(--ink);
}
.section--ivory ::selection {
  background: var(--ink);
  color: var(--ivory);
}
.section--tight-top {
  padding-top: clamp(56px, 6vw, 88px);
}

/* Section claire : les composants pensés pour le fond nuit y basculent en clair */
.section--paper {
  --night: var(--paper);
  --night-2: #f1ebdf;
  --night-3: #e4dac7;
  --ivory: #15130f;
  --mist: #5a5244;
  --gold: #8a6a22;
  --ghost-hover: #d9cdb6;
  background: var(--paper);
  color: var(--ink);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section-head h2 {
  font-size: var(--step-2);
}
.section-head p {
  font-size: 1.1875rem;
  max-width: 32em;
}

/* ——— Les structures dessinées ——— */

.tents {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
  align-items: end;
}
.tent {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.tent-draw {
  background: var(--ivory-2);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: end center;
  padding: 18% 10% 12%;
  transition: background-color 0.4s;
}
.tent:hover .tent-draw {
  background: var(--ivory-3);
}
.tent-draw svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.tent-draw .roof,
.tent-draw .frame {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.tent-draw .canvas {
  fill: var(--ivory);
}
.tent-draw .ground {
  stroke: var(--gold-deep);
  stroke-width: 3;
}
.tent-draw .people {
  fill: var(--ink);
}
.tent h3 {
  font-size: var(--step-3);
  margin-top: 22px;
}
.tent p {
  margin-top: 8px;
  font-size: 1rem;
  color: var(--ink-2);
}
.tent .from {
  margin-top: 14px;
  font-size: 1rem;
  color: var(--ink);
}
.tent .from b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: clamp(48px, 6vw, 80px);
}
.cta-row p {
  flex: 1 1 20em;
  color: var(--ink-2);
}

/* ——— Organisation ——— */

.services {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.services-figure {
  margin: 0;
  position: sticky;
  top: 108px;
  height: min(76svh, 760px);
  overflow: hidden;
  background: var(--night-2);
}
.services-figure img {
  width: 100%;
  height: 112%;
  object-fit: cover;
}
.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.services-list li {
  padding: 36px 0;
}
.services-list li + li {
  border-top: 0;
  background: none;
}
.services-list h3 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  color: var(--ivory);
}
.services-list p {
  margin-top: 16px;
  max-width: 34em;
}
.services-list .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}
.services-list .tags li {
  padding: 6px 12px;
  background: var(--night-3);
  font-size: var(--step-small);
}

/* ——— Réalisations ——— */

.work {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.work-poster {
  margin: 0;
}
.work-poster img {
  width: 100%;
  height: auto;
}
.work h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}
.work .when {
  margin-top: 24px;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  color: var(--gold);
  line-height: 1.2;
}
.work p.desc {
  margin-top: 24px;
  max-width: 34em;
}
.work dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 24px;
  margin: 32px 0 0;
  font-size: 1rem;
}
.work dt {
  color: var(--mist);
}
.work dd {
  margin: 0;
}

.strip {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(12px, 1.6vw, 24px);
  margin-top: clamp(96px, 11vw, 160px);
}
.strip figure {
  margin: 0;
}
.strip .ph {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--night-2);
}
.strip .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.strip figure:hover img {
  transform: scale(1.04);
}
.strip figcaption {
  margin-top: 12px;
  font-size: var(--step-small);
  color: var(--mist);
}
.strip-head {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.strip-head h3 {
  font-size: var(--step-2);
}
.strip-head p {
  max-width: 30em;
}

/* ——— Déroulé ——— */

.steps {
  --gap: clamp(20px, 2.4vw, 40px);
  --p: 0;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
/* Le fil qui relie les étapes se remplit au fil du défilement */
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 60px;
  left: 56px;
  right: calc((100% - 3 * var(--gap)) / 4 - 56px);
  height: 2px;
  background: var(--ivory-3);
  pointer-events: none;
}
.steps::after {
  background: var(--gold-deep);
  transform: scaleX(var(--p));
  transform-origin: left;
}
.steps li {
  position: relative;
  background: var(--ivory-2);
  padding: 32px 28px 34px;
  display: flex;
  flex-direction: column;
  transition:
    background-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}
.steps li:hover {
  background: #efe7d7;
  box-shadow: 0 18px 40px -24px rgba(21, 19, 15, 0.45);
}
.step-icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--ivory-3);
  color: var(--gold-deep);
  transition:
    background-color 0.5s var(--ease-out),
    color 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}
.step-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Chaque icône se dessine quand le fil atteint son étape */
.js .step-icon svg > * {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.9s var(--ease-in-out);
}
.js .step-icon svg > *:nth-child(2) {
  transition-delay: 0.12s;
}
.js .step-icon svg > *:nth-child(3) {
  transition-delay: 0.24s;
}
.js .step-icon svg > *:nth-child(4) {
  transition-delay: 0.36s;
}
.steps li.is-reached .step-icon {
  background: var(--ink);
  color: var(--brand-gold);
}
.steps li.is-reached .step-icon svg > * {
  stroke-dashoffset: 0;
}
.steps li:hover .step-icon {
  transform: translateY(-3px) rotate(-4deg);
}
.steps .moment {
  margin-top: 24px;
  font-family: var(--display);
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  line-height: 1;
  color: var(--ink-2);
  transition: color 0.5s var(--ease-out);
}
.steps li.is-reached .moment {
  color: var(--gold-deep);
}
.steps h3 {
  font-family: var(--text);
  font-weight: 600;
  font-size: 1.1875rem;
  letter-spacing: 0;
  line-height: 1.3;
  margin-top: 18px;
}
.steps p:not(.moment) {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--ink-2);
}

/* ——— Contact et pied de page ——— */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact h2 {
  font-size: var(--step-2);
}
.contact .lead {
  margin-top: 28px;
  max-width: 30em;
  font-size: 1.1875rem;
}
.contact-ways {
  display: grid;
  gap: 4px;
}
.contact-ways a,
.contact-ways div {
  display: block;
  padding: 26px 28px;
  background: var(--night-2);
  text-decoration: none;
  transition: background-color 0.3s;
}
.contact-ways a:hover {
  background: var(--night-3);
}
.contact-ways span {
  display: block;
  font-size: var(--step-small);
  color: var(--mist);
}
.contact-ways strong {
  display: block;
  margin-top: 4px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.foot {
  padding: clamp(72px, 8vw, 112px) 0 32px;
  background: var(--night);
  color: var(--mist);
  font-size: var(--step-small);
  border-top: 1px solid var(--night-3);
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 48px clamp(32px, 4vw, 64px);
}
.foot-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--ivory);
  text-decoration: none;
}
.foot-logo img {
  border-radius: 50%;
}
.foot-brand p {
  margin-top: 20px;
  max-width: 32em;
  line-height: 1.6;
}
.foot-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.foot-col h2 {
  font-family: var(--text);
  font-size: var(--step-small);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--ivory);
  margin-bottom: 4px;
}
.foot-col a,
.foot-col p {
  color: var(--mist);
  line-height: 1.5;
}
.foot-col a {
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}
.foot-col a:hover,
.foot-logo:hover {
  color: var(--gold);
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: 24px;
  border-top: 1px solid var(--night-3);
  font-size: 0.875rem;
}

/* ——— Page location ——— */

.page-hero {
  padding-top: calc(76px + clamp(48px, 7vw, 104px));
  padding-bottom: clamp(48px, 6vw, 88px);
}
.page-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px clamp(40px, 6vw, 96px);
  align-items: end;
}
.page-hero h1 {
  font-size: var(--step-hero);
}
.page-hero p {
  font-size: 1.1875rem;
  max-width: 30em;
}
.page-hero--short {
  padding-bottom: clamp(32px, 4vw, 56px);
}
.page-hero--short h1 {
  font-size: var(--step-2);
}
.page-hero .hero-actions {
  margin-top: 28px;
}
.page-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px clamp(24px, 3vw, 48px);
  margin-top: clamp(40px, 5vw, 72px);
  padding: clamp(28px, 3vw, 40px) 0 0;
  border-top: 1px solid var(--night-3);
  list-style: none;
  font-size: var(--step-small);
  color: var(--mist);
}
.page-facts strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--gold);
}

/* ——— Configurateur ——— */

.config {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}
.config-form {
  display: grid;
  gap: 12px;
}
.block {
  background: var(--ivory-2);
  padding: clamp(24px, 3vw, 40px);
  border: 0;
  margin: 0;
  min-width: 0;
}
.block legend,
.block .legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 24px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.block legend + * {
  clear: both;
}
.field {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}
.field:first-of-type {
  margin-top: 0;
}
.field > label,
.field > .label,
.label-row > .label {
  font-weight: 600;
  font-size: 1rem;
}
.hint {
  font-size: var(--step-small);
  color: var(--ink-2);
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--ivory);
  color: var(--ink);
  border: 2px solid transparent;
  border-radius: 0;
  font: 400 1.0625rem/1.3 var(--text);
  transition: border-color 0.2s;
  accent-color: var(--gold-deep);
}
textarea {
  min-height: 120px;
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--ink);
}
input[aria-invalid="true"] {
  border-color: var(--red);
}
.error {
  color: var(--red);
  font-size: var(--step-small);
  min-height: 0;
}

/* Curseur du nombre d'invités */
.guests {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 28px;
  align-items: center;
}
.guests output {
  font-family: var(--display);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  min-width: 2.4ch;
  font-variant-numeric: tabular-nums lining-nums;
}
.guests output small {
  display: block;
  font-family: var(--text);
  font-size: var(--step-small);
  letter-spacing: 0;
  color: var(--ink-2);
  margin-top: 8px;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: linear-gradient(var(--ink), var(--ink)) 0 / var(--fill, 30%) 100% no-repeat, var(--ivory-3);
}
input[type="range"]::-moz-range-track {
  height: 6px;
  background: var(--ivory-3);
}
input[type="range"]::-moz-range-progress {
  height: 6px;
  background: var(--ink);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--gold);
  border: 4px solid var(--ink);
  transition: transform 0.25s var(--ease-out);
}
input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  border: 4px solid var(--ink);
}
input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.18);
}
.guests-steppers {
  display: flex;
  gap: 8px;
  grid-column: 2;
}

/* Choix en tuiles */
.choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.choice span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 56px;
  justify-content: center;
  padding: 12px 16px;
  background: var(--ivory);
  transition:
    background-color 0.25s,
    color 0.25s,
    transform 0.3s var(--ease-out);
}
.choice span b {
  font-weight: 600;
  font-size: 1rem;
}
.choice span i {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.choice input:hover + span {
  background: #fffaf0;
}
.choice input:checked + span {
  background: var(--ink);
  color: var(--ivory);
}
.choice input:checked + span i {
  color: var(--mist);
}
.choice input:active + span {
  transform: scale(0.98);
}
.choice input:focus-visible + span {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}
.choice input:disabled + span {
  opacity: 0.45;
}
.choices--structures {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.choices--structures .choice span {
  min-height: 92px;
}
.badge-reco {
  display: inline-block;
  align-self: flex-start;
  margin-top: 6px;
  padding: 2px 8px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Interrupteurs pour les options */
.toggles {
  display: grid;
  gap: 8px;
}
.toggle {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 10px 16px;
  background: var(--ivory);
  cursor: pointer;
}
.toggle b {
  display: block;
  font-weight: 600;
  font-size: 1rem;
}
.toggle i {
  display: block;
  font-style: normal;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.toggle input {
  -webkit-appearance: none;
  appearance: none;
  width: 52px;
  height: 30px;
  margin: 0;
  border-radius: 30px;
  background: var(--ivory-3);
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s;
}
.toggle input::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ivory);
  transition: transform 0.4s var(--ease-out);
}
.toggle input:checked {
  background: var(--ink);
}
.toggle input:checked::after {
  transform: translateX(22px);
  background: var(--gold);
}
.toggle .price {
  font-variant-numeric: tabular-nums;
  font-size: 0.875rem;
  color: var(--ink-2);
}

/* Quantités du mobilier */
/* Tout cocher, tout le mobilier : petits boutons texte */
.link-btn {
  padding: 6px 0;
  border: 0;
  background: none;
  color: #6b5219;
  font: 600 var(--step-small) / 1.3 var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn:hover {
  color: var(--ink);
}
.qty-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 20px;
  margin: 20px 0 12px;
}
.qty-head .hint {
  flex: 1 1 20em;
}
.qty-all {
  display: flex;
  gap: 18px;
}
.label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
}
.qty-list {
  display: grid;
  gap: 8px;
}
.qty {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 8px 8px 8px 16px;
  background: var(--ivory);
}
.qty b {
  font-weight: 600;
  font-size: 1rem;
  display: block;
}
.qty i {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.stepper {
  display: flex;
  align-items: center;
}
.stepper button {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--ivory-2);
  color: var(--ink);
  font: 500 1.375rem/1 var(--text);
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.2s var(--ease-out);
}
.stepper button:hover {
  background: var(--ivory-3);
}
.stepper button:active {
  transform: scale(0.9);
}
.stepper input {
  width: 64px;
  min-height: 44px;
  text-align: center;
  padding: 0 4px;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.notice {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--ink);
  color: var(--ivory);
  font-size: var(--step-small);
}
.notice:empty {
  display: none;
}

/* Panneau du récapitulatif */
.summary {
  position: sticky;
  top: 96px;
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(24px, 2.6vw, 36px);
}
.summary h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}
.plan {
  margin-top: 20px;
  background: var(--night-2);
  aspect-ratio: 16 / 10;
  position: relative;
}
.plan svg {
  width: 100%;
  height: 100%;
}
.plan .tent-shape {
  fill: var(--ivory);
  transition: all 0.6s var(--ease-out);
}
.plan .zone-piste {
  fill: var(--gold);
}
.plan .zone-scene {
  fill: var(--ink-2);
}
.plan .zone-buffet {
  fill: var(--mist);
}
.plan .item {
  fill: var(--ink);
  transform-box: fill-box;
  transform-origin: center;
  animation: pop 0.5s var(--ease-out) both;
}
.plan .guests {
  fill: var(--gold-deep);
  opacity: 0.75;
}
.plan .label {
  fill: var(--ink);
  font: 600 1.1px var(--text);
}
.plan .dim {
  fill: var(--mist);
  font: 500 1.2px var(--text);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.2);
  }
}
.plan-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  font-size: var(--step-small);
  color: var(--mist);
}
.plan-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--mist);
}
.plan-legend li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  background: var(--c);
  vertical-align: -1px;
}
.plan-legend li.on-ivory::before {
  outline: 2px solid var(--ivory);
  outline-offset: -2px;
  border-radius: 50%;
}

.lines {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  font-size: 0.9375rem;
}
.lines li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 7px 0;
}
.lines li span:last-child {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.lines li.fresh {
  animation: fresh 0.9s var(--ease-out);
}
@keyframes fresh {
  from {
    color: var(--gold);
  }
}
.total {
  margin-top: 20px;
  padding-top: 20px;
  background: linear-gradient(var(--night-3), var(--night-3)) top / 100% 2px no-repeat;
}
.total p:first-child {
  font-size: var(--step-small);
  color: var(--mist);
}
.total .amount {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold);
  font-variant-numeric: tabular-nums lining-nums;
  margin-top: 6px;
}
.total .tvac {
  margin-top: 8px;
  font-size: var(--step-small);
  color: var(--mist);
}
.summary .btn {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
}
.summary .fine {
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--mist);
}

/* Barre mobile du total */
.mobile-total {
  display: none;
}

/* Formulaire final */
.request {
  margin-top: clamp(64px, 8vw, 112px);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.request h2 {
  font-size: var(--step-2);
}
.request .lead {
  margin-top: 24px;
  max-width: 28em;
}
.request ol {
  margin: 32px 0 0;
  padding-left: 1.2em;
  display: grid;
  gap: 12px;
}
.request ol li::marker {
  font-family: var(--display);
  color: var(--gold-deep);
}
.sent {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(28px, 4vw, 48px);
}
.sent h3 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  color: var(--gold);
}
.sent p {
  margin-top: 16px;
}
.sent pre {
  margin-top: 20px;
  white-space: pre-wrap;
  font: 400 0.9375rem/1.55 var(--text);
  color: var(--mist);
}

/* Capacités et zone de livraison */
.capacity {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(64px, 8vw, 112px);
  align-items: start;
}
.capacity h3 {
  font-size: var(--step-3);
}
.capacity p {
  margin-top: 16px;
  max-width: 30em;
  color: var(--mist);
}
.table-scroll {
  overflow-x: auto;
}
.capacity-table {
  min-width: 520px;
  font-variant-numeric: tabular-nums;
}
.capacity-table th[scope="row"] {
  font-weight: 600;
  text-align: left;
}
.capacity-table th[scope="row"] span {
  display: block;
  font-weight: 400;
  color: var(--mist);
}
.capacity-table td {
  text-align: right;
}
.capacity-table thead th:not(:first-child) {
  text-align: right;
}
.zone {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.zone h2 {
  font-size: var(--step-2);
}
.zone .lead {
  margin-top: 24px;
  max-width: 30em;
  color: var(--mist);
}
.zone-list {
  display: grid;
  gap: 4px;
  margin: 0;
}
.zone-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 24px;
  padding: 20px 24px;
  background: var(--night-2);
}
.zone-list dt {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
}
.zone-list dd {
  display: contents;
  color: var(--mist);
  font-size: var(--step-small);
}
.zone-list dd strong {
  grid-column: 2;
  grid-row: 1;
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}

/* Listes et questions posées sur une section ivoire : mêmes cartes, en clair */
.section--ivory .zone,
.section--ivory .faq {
  --night-2: var(--ivory-2);
  --night-3: var(--ivory-3);
  --mist: var(--ink-2);
  --gold: var(--gold-deep);
}

/* Formulaires de demande */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.request-form {
  display: grid;
  gap: 0;
}
.request-form .group {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.request-form .group + .group {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--ivory-3);
}
.request-form .group > legend {
  float: left;
  width: 100%;
  margin-bottom: 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.1;
}
.request-form .group > legend + * {
  clear: both;
}
.request-form .field {
  margin-top: 20px;
}
.request-form .group > legend + .field,
.request-form .group > legend + .row2 .field,
.request-form .group > legend + .choices {
  margin-top: 0;
}
.request-form .row2 .field {
  margin-top: 0;
}
.request-form .row2 {
  margin-top: 20px;
}
.request-form .group > legend + .row2 {
  margin-top: 0;
}
.request-form .toggle {
  margin-top: 12px;
}
.field label small,
.field .label small {
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.choices--4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.cond-note {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--ivory);
}
.cond:not([hidden]) {
  animation: cond-in 0.35s var(--ease-out);
}
@keyframes cond-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  margin-top: 24px;
  font-size: var(--step-small);
  color: var(--ink-2);
  cursor: pointer;
}
.consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--ink);
}
.consent .error {
  grid-column: 2;
}
.request-form #e-form,
.request-form #e-orga {
  margin-top: 20px;
}
.request-form [type="submit"] {
  margin-top: 20px;
  justify-self: start;
}
#contact .request {
  margin-top: 0;
}
#contact .request > div:first-child {
  position: sticky;
  top: 110px;
}
#contact .contact-ways {
  margin-top: 40px;
}
.section--ivory .contact-ways a,
.section--ivory .contact-ways div {
  background: var(--ivory-2);
}
.section--ivory .contact-ways a:hover {
  background: var(--ivory-3);
}
.section--ivory .contact-ways span {
  color: var(--ink-2);
}
.section--ivory .contact-ways strong {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

/* Bannière de consentement */
.consent-box {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  width: min(440px, calc(100vw - 32px));
  padding: 24px;
  background: var(--brand-night);
  color: #f4eee2;
  box-shadow: 0 18px 50px rgba(13, 12, 10, 0.35);
}
.consent-box h2 {
  font-size: 1.375rem;
}
.consent-box p {
  margin-top: 8px;
  font-size: var(--step-small);
  color: #c9bfab;
}
.consent-box a {
  color: #f4eee2;
}
.consent-detail {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}
.consent-detail .toggle {
  color: var(--ink);
}
.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.consent-actions .btn {
  flex: 1 1 auto;
  justify-content: center;
}
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.foot-legal a,
.foot-legal button {
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--night-3);
}
.foot-legal a:hover,
.foot-legal button:hover {
  color: var(--gold);
}

/* Page de texte (mentions légales) */
.legal {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.legal-nav {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 10px;
  font-size: var(--step-small);
}
.legal-nav a {
  color: var(--ink-2);
  text-decoration: none;
}
.legal-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.legal-body {
  max-width: 44em;
}
.legal-body h2 {
  font-size: var(--step-3);
  margin-top: 56px;
  scroll-margin-top: 110px;
}
.legal-body h2:first-child {
  margin-top: 0;
}
.legal-body h3 {
  font-size: 1.25rem;
  margin-top: 28px;
}
.legal-body p,
.legal-body ul,
.legal-body dl {
  margin-top: 14px;
}
.legal-body ul {
  padding-left: 1.2em;
}
.legal-body li + li {
  margin-top: 6px;
}
.legal-body dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 24px;
}
.legal-body dt {
  color: var(--ink-2);
}
.legal-body dd {
  margin: 0;
}
.todo {
  background: #f3dfa6;
  color: var(--ink);
  padding: 0 4px;
}

/* Détails des structures */
.specs {
  display: grid;
  gap: clamp(64px, 8vw, 120px);
}
.spec {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.spec:nth-child(even) .tent-draw {
  order: 2;
}
.spec .tent-draw {
  background: var(--night-2);
}
.spec .tent-draw .roof,
.spec .tent-draw .frame {
  stroke: var(--gold);
}
.spec .tent-draw .canvas {
  fill: var(--night-3);
}
.spec .tent-draw .people {
  fill: var(--ivory);
}
.spec .tent-draw .ground {
  stroke: var(--mist);
}
.spec h3 {
  font-size: var(--step-2);
}
.spec p {
  margin-top: 20px;
  max-width: 34em;
}
.spec table,
.price-table {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}
.spec th,
.spec td,
.price-table th,
.price-table td {
  text-align: left;
  padding: 11px 12px 11px 0;
  border-bottom: 1px solid var(--night-3);
}
.spec th,
.price-table th {
  font-weight: 600;
  color: var(--mist);
  font-size: var(--step-small);
}
.spec td:last-child,
.spec th:last-child,
.price-table td:last-child,
.price-table th:last-child {
  text-align: right;
  padding-right: 0;
}
.section--ivory .price-table th,
.section--ivory .price-table td {
  border-color: var(--ivory-3);
}
.section--ivory .price-table th {
  color: var(--ink-2);
}

.gear {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 80px);
}
.gear h3 {
  font-size: var(--step-3);
}

/* Questions fréquentes */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
}
.faq h2 {
  font-size: var(--step-2);
}
.faq details {
  background: var(--night-2);
  margin-bottom: 4px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 56px 22px 24px;
  position: relative;
  font-weight: 600;
  font-size: 1.125rem;
  transition: background-color 0.25s;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  background: var(--night-3);
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -9px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.4s var(--ease-out);
}
.faq details[open] summary::after {
  transform: rotate(225deg);
  margin-top: -3px;
}
.faq details p {
  padding: 0 24px 24px;
  max-width: 40em;
}

/* ——— Mouvement ——— */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.js .split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.js .split .w > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 55ms + 120ms);
}
.js .split.is-in .w > span {
  transform: none;
}
.js .clip {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.4s var(--ease-in-out);
}
.js .clip.is-in {
  clip-path: inset(0 0 0 0);
}
.js .clip img {
  transform: scale(1.18);
  transition: transform 2.2s var(--ease-out);
}
.js .clip.is-in img {
  transform: scale(1);
}

/* Galeries : chaque photo se dévoile à son tour, comme une toile qu'on déroule */
.js .gallery .clip,
.js .gallery .clip img {
  transition-delay: calc(var(--i, 0) * 120ms);
}

/* Les tentes se dressent */
.js .tent-draw .roof,
.js .tent-draw .frame {
  stroke-dasharray: var(--len, 600);
  stroke-dashoffset: var(--len, 600);
  transition: stroke-dashoffset 1.6s var(--ease-in-out);
  transition-delay: calc(var(--i, 0) * 140ms + 200ms);
}
.js .tent-draw .canvas,
.js .tent-draw .people {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 140ms + 1100ms);
}
.js .tent-draw.is-in .roof,
.js .tent-draw.is-in .frame {
  stroke-dashoffset: 0;
}
.js .tent-draw.is-in .canvas,
.js .tent-draw.is-in .people {
  opacity: 1;
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js [data-reveal],
  .js .split .w > span,
  .js .clip,
  .js .clip img,
  .js .tent-draw .roof,
  .js .tent-draw .frame,
  .js .tent-draw .canvas,
  .js .tent-draw .people {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }
  .plan .item,
  .cond,
  .slide.is-entering,
  .hero-svc.is-active .hero-svc-title span,
  .hero-svc.is-active .hero-svc-text,
  .hero-svc.is-active .btn,
  .hero-svc.is-leaving,
  .slide.is-active img,
  .slide.is-leaving img,
  .lines li.fresh {
    animation: none;
  }
  .hero-svc.is-leaving {
    visibility: hidden;
  }
  .js .step-icon svg > * {
    stroke-dashoffset: 0;
    transition: none;
  }
  .callback[open],
  .bar-call:hover svg {
    animation: none;
  }
}

/* ——— Tablette ——— */

@media (max-width: 1520px) {
  .bar-call span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .bar-call {
    padding: 0 10px;
  }
  .nav {
    gap: 22px;
  }
}

@media (max-width: 1080px) {
  .foot-grid,
  .foot .foot-grid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
  .page-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tents {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 48px;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps::before,
  .steps::after {
    display: none;
  }
  .config {
    grid-template-columns: minmax(0, 1fr);
  }
  .summary {
    position: static;
  }
}

/* ——— Téléphone ——— */

@media (max-width: 820px) {
  .slide-caption {
    max-width: calc(100% - 196px);
    font-size: 0.8125rem;
  }
  .slider-dots button {
    width: 28px;
  }
  .capacity,
  .zone {
    grid-template-columns: minmax(0, 1fr);
  }
  .legal {
    grid-template-columns: minmax(0, 1fr);
  }
  .legal-nav {
    position: static;
  }
  .legal-body dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .legal-body dd {
    margin-bottom: 10px;
  }
  #contact .request > div:first-child {
    position: static;
  }
  .nav {
    display: none;
  }
  .bar .wrap {
    gap: 12px;
  }
  .bar-tools {
    margin-right: 0;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    background: var(--night-3);
    color: var(--ivory);
    cursor: pointer;
  }
  .bar.is-open .nav-sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    padding: 0 0 8px 16px;
    background: none;
    box-shadow: none;
    font-family: var(--text);
    font-size: 1.0625rem;
  }
  .bar.is-open .nav-sub a {
    padding: 8px 0;
  }
  .bar.is-open .nav-sub-toggle svg {
    display: none;
  }
  .bar.is-open .nav {
    align-items: stretch;
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
  }
  .gallery-item--wide {
    grid-column: 1 / -1;
  }
  .bar.is-open .nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--night);
    padding: 8px var(--margin) 24px;
    font-size: 1.5rem;
    font-family: var(--display);
  }
  .bar .btn--small {
    display: none;
  }
  .hero .wrap,
  .page-hero .wrap,
  .section-head,
  .services,
  .work,
  .contact,
  .request,
  .spec,
  .gear,
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    min-height: 0;
  }
  .hero .wrap {
    padding-top: 32px;
  }
  .hero-figure {
    height: 50svh;
    order: -1;
  }
  .hero-lead {
    margin-top: 24px;
  }
  .services-figure {
    position: relative;
    top: 0;
    height: 56svh;
  }
  .spec:nth-child(even) .tent-draw {
    order: 0;
  }
  .strip {
    grid-template-columns: 1fr 1fr;
  }
  .strip figure:first-of-type {
    grid-column: 1 / -1;
  }
  .strip figure:first-of-type .ph {
    aspect-ratio: 4 / 3;
  }
  .row2 {
    grid-template-columns: 1fr;
  }
  .guests {
    grid-template-columns: 1fr;
  }
  .guests-steppers {
    grid-column: 1;
  }
  .mobile-total {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px var(--margin) calc(12px + env(safe-area-inset-bottom));
    background: var(--ink);
    color: var(--ivory);
    transform: translateY(110%);
    transition: transform 0.5s var(--ease-out);
  }
  .mobile-total.is-on {
    transform: none;
  }
  .mobile-total span {
    display: block;
    font-size: 0.8125rem;
    color: var(--mist);
  }
  .mobile-total strong {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
  }
}

@media (max-width: 560px) {
  .bar-tools .bar-icon:not(.theme-toggle) {
    display: none;
  }
  .brand span {
    white-space: nowrap;
  }
  .menu-toggle {
    flex: none;
  }
  .page-facts strong {
    font-size: 1.25rem;
  }
  .foot-grid,
  .foot .foot-grid--5 {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .tents,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .choices {
    grid-template-columns: 1fr 1fr;
  }
  .choices--structures {
    grid-template-columns: 1fr;
  }
  .brand span {
    font-size: 1.25rem;
  }
}

/* Visuels sous les fiches des structures et du matériel */
.gallery--inline {
  margin-top: clamp(32px, 4vw, 56px);
}

/* Petits téléphones : l'en-tête tient sur une ligne, le tableau des capacités sans défilement */
.work-poster {
  overflow: hidden;
}
.brand {
  flex: none;
}
@media (max-width: 560px) {
  .table-scroll .capacity-table {
    min-width: 0;
    font-size: 0.8125rem;
  }
  .capacity-table th,
  .capacity-table td {
    padding-inline: 4px;
  }
}
@media (max-width: 420px) {
  .bar .wrap {
    gap: 10px;
  }
  .brand {
    gap: 8px;
  }
  .brand span {
    display: none;
  }
  .lang-switch {
    margin-right: 0;
  }
  .lang-switch a {
    min-width: 28px;
  }
  .bar-tools {
    gap: 0;
  }
  .bar-icon,
  .bar-call {
    min-width: 40px;
    padding: 0 8px;
  }
}

/* Bouton principal : un reflet de lumière passe au survol */
.btn:not(.btn--ghost):not(.btn--ink) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn:not(.btn--ghost):not(.btn--ink)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgb(255 246 220 / 0.55) 50%, transparent 70%);
  transform: translateX(-110%);
  pointer-events: none;
}
.btn:not(.btn--ghost):not(.btn--ink):hover::after {
  transform: translateX(110%);
  transition: transform 0.9s var(--ease-out);
}

/* Avancement dans la page : un trait doré sous l'en-tête */
@supports (animation-timeline: scroll()) {
  .bar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--gold);
    transform-origin: 0 50%;
    transform: scaleX(0);
    animation: read-progress linear both;
    animation-timeline: scroll(root block);
    pointer-events: none;
  }
}
@keyframes read-progress {
  to {
    transform: scaleX(1);
  }
}

/* D'une page à l'autre : l'en-tête reste, le contenu se renouvelle */
@view-transition {
  navigation: auto;
}
.bar {
  view-transition-name: site-bar;
}
::view-transition-old(root) {
  animation: vt-out 0.28s var(--ease-out) both;
}
::view-transition-new(root) {
  animation: vt-in 0.6s var(--ease-out) both;
}
@keyframes vt-out {
  to {
    opacity: 0;
    filter: blur(4px);
  }
}
@keyframes vt-in {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn::after,
  .bar::after {
    display: none;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.2s;
    transform: none;
    filter: none;
  }
}

/* Sans légende, chaque photo remplit toute la hauteur de sa ligne */
.gallery-item {
  display: grid;
}
.gallery-item img {
  height: 100%;
}

/* Crédit du site */
.foot-credit {
  flex-basis: 100%;
}
.foot-credit a {
  color: inherit;
  text-underline-offset: 3px;
}
.foot-credit a:hover {
  color: var(--gold);
}
