/* Institut Héliane : feuille de style.
   Matières : la pierre de taille d'Arras (fond), le basalte des pierres chaudes (texte,
   sections sombres), le lin des cabines (surfaces claires), le grès émaillé céladon des
   bols à masque (une seule couleur d'action).
   Couleurs : pierre #E6E3DC (fond), basalte #1D201F (texte), lin #F4F2ED (surfaces,
   texte sur sombre), céladon #2E6B5A (action, texte lin dessus), céladon pâle #A9CDBC
   (action sur fond basalte), grès #585B56 (texte secondaire).
   Police : Mona Sans, une seule famille variable : large (125 %) et légère pour les
   titres, normale pour le texte. Ysabeau italique pour l'écriture sur la carte cadeau.
   Angles : 3 px au plus. Signature : la carte cadeau, composée en direct, se retourne
   en 3D au paiement. Mouvement : motion.js (GSAP + Lenis) sous html.js-motion ; tout
   se coupe sous prefers-reduced-motion. */

@font-face {
  font-family: "Mona Sans";
  src: url("fonts/mona-sans-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ysabeau";
  src: url("fonts/ysabeau-italique-latin.woff2") format("woff2");
  font-weight: 380 520;
  font-style: italic;
  font-display: swap;
}

:root {
  --pierre: #E6E3DC;
  --pierre-claire: #EDEAE4;
  --pierre-ombre: #D6D1C7;
  --lin: #F4F2ED;
  --basalte: #1D201F;
  --basalte-2: #272B29;
  --basalte-3: #343936;
  --gres: #585B56;
  --lin-doux: #C3BFB6;
  --celadon: #2E6B5A;
  --celadon-fonce: #23564A;
  --celadon-pale: #A9CDBC;
  --celadon-voile: #DCE6DF;
  --erreur: #9C3327;
  --erreur-clair: #F0B4A8;
  --filet: rgba(29, 32, 31, 0.14);
  --filet-fort: rgba(29, 32, 31, 0.3);
  --filet-clair: rgba(244, 242, 237, 0.16);
  --police: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  --italique: "Ysabeau", Georgia, "Times New Roman", serif;
  --large: 125%;
  --mi-large: 112%;
  --rayon: 3px;
  --ease: cubic-bezier(0.2, 0.7, 0.15, 1);
  --ease-carte: cubic-bezier(0.65, 0, 0.25, 1);
  --gouttiere: clamp(16px, 4vw, 40px);
  --colonne: 1240px;
  --section: clamp(64px, 9vw, 128px);
  --entete-h: 72px;
}

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

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

[hidden] {
  display: none !important;
}

html {
  background: var(--pierre);
  color: var(--basalte);
  font-family: var(--police);
  scrollbar-color: #8E8C84 var(--pierre);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--brnsg-barre, 0px) + var(--entete-h) + 16px);
}

body {
  margin: 0;
  background: var(--pierre);
  color: var(--basalte);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
  overflow-x: clip;
}

/* Défilement bloqué (menu mobile, scène de paiement) : sur <html>, pour que la barre
   BRNSG et l'en-tête restent collés au viewport. */
html.defilement-bloque {
  overflow: hidden;
}

::selection {
  background: var(--celadon);
  color: var(--lin);
}

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

img {
  height: auto;
}

p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 300;
  font-stretch: var(--large);
  line-height: 1.06;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

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

.section--basalte :focus-visible,
.pied :focus-visible,
.paiement :focus-visible,
.composer-scene :focus-visible {
  outline-color: var(--celadon-pale);
}

button {
  font: inherit;
  color: inherit;
}

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

.sans-coupure {
  white-space: nowrap;
}

.lien-evitement {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--basalte);
  color: var(--lin);
  text-decoration: none;
  border-radius: var(--rayon);
}

.lien-evitement:focus {
  top: calc(var(--brnsg-barre, 0px) + 8px);
}

.colonne {
  width: min(100% - 2 * var(--gouttiere), var(--colonne));
  margin-inline: auto;
}

.icone {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icone-etoile {
  fill: currentColor;
  stroke: none;
}

/* ------------------------------- Boutons et liens ------------------------ */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 50px;
  padding: 0.75em 1.5em;
  border: 1px solid var(--celadon);
  border-radius: var(--rayon);
  background: var(--celadon);
  color: var(--lin);
  font-family: var(--police);
  font-size: 1rem;
  font-weight: 500;
  font-stretch: var(--mi-large);
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.bouton:hover {
  background: var(--celadon-fonce);
  border-color: var(--celadon-fonce);
}

.bouton:active {
  transform: translateY(1px);
}

.bouton[aria-busy="true"] {
  cursor: progress;
  opacity: 0.85;
}

.bouton--petit {
  min-height: 42px;
  padding: 0.5em 1.1em;
  font-size: 0.9375rem;
}

.bouton--large {
  width: 100%;
}

.bouton--clair {
  background: var(--celadon-pale);
  border-color: var(--celadon-pale);
  color: var(--basalte);
}

.bouton--clair:hover {
  background: var(--lin);
  border-color: var(--lin);
}

.bouton-lien {
  padding: 4px 0;
  border: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.bouton-lien:hover {
  text-decoration-thickness: 2px;
}

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-weight: 500;
  font-stretch: var(--mi-large);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.lien-fleche .icone-fleche {
  transition: transform 0.3s var(--ease);
}

.lien-fleche:hover .icone-fleche {
  transform: translateX(4px);
}

.lien-tel {
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.bouton-carre {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon);
  background: var(--lin);
  cursor: pointer;
}

.bouton-carre:hover {
  border-color: var(--celadon);
  color: var(--celadon);
}

.bouton-carre:disabled {
  opacity: 0.35;
  cursor: default;
}

/* ------------------------------- Arcade (logo) ---------------------------- */

.arcade-trait,
.arcade-seuil {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.arcade-soleil {
  fill: var(--celadon);
}

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

.entete {
  position: sticky;
  top: var(--brnsg-barre, 0px);
  z-index: 60;
  background: var(--pierre);
  border-bottom: 1px solid var(--filet);
}

.entete-grille {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--entete-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  flex: none;
}

.logo-arcade {
  width: 34px;
  height: 34px;
}

.logo-textes {
  display: grid;
  gap: 3px;
}

.logo-nom {
  font-size: 1.375rem;
  font-weight: 400;
  font-stretch: var(--large);
  letter-spacing: 0.05em;
  line-height: 1;
}

.logo-metier {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gres);
  line-height: 1.2;
}

.nav {
  margin-left: auto;
}

.nav-liste {
  display: flex;
  gap: clamp(14px, 1.8vw, 28px);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-liste a {
  display: inline-block;
  padding: 8px 0;
  font-size: 0.9375rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}

.nav-liste a:hover,
.nav-liste a[aria-current="page"] {
  border-bottom-color: currentColor;
}

.nav-mobile-infos {
  display: none;
}

.entete-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.entete-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.entete-tel-textes {
  display: grid;
  line-height: 1.2;
}

.entete-tel-numero {
  font-weight: 500;
  font-stretch: var(--mi-large);
  font-size: 0.9375rem;
}

.entete-statut {
  font-size: 0.75rem;
  color: var(--gres);
}

.menu-bouton {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon);
  background: transparent;
  cursor: pointer;
}

.menu-bouton-traits,
.menu-bouton-traits::before,
.menu-bouton-traits::after {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 0 auto;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.menu-bouton-traits {
  position: relative;
}

.menu-bouton-traits::before,
.menu-bouton-traits::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-bouton-traits::before {
  top: -6px;
}

.menu-bouton-traits::after {
  top: 6px;
}

.menu-bouton[aria-expanded="true"] .menu-bouton-traits {
  background: transparent;
}

.menu-bouton[aria-expanded="true"] .menu-bouton-traits::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-bouton[aria-expanded="true"] .menu-bouton-traits::after {
  transform: translateY(-6px) rotate(-45deg);
}

[data-brnsg-horaires][data-etat="ouvert"]::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--celadon);
  vertical-align: 0.08em;
}

.section--basalte [data-brnsg-horaires][data-etat="ouvert"]::before,
.pied [data-brnsg-horaires][data-etat="ouvert"]::before {
  background: var(--celadon-pale);
}

/* ------------------------------- Haut de page (accueil) ------------------- */

.hero-grille {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: min(calc(100svh - var(--entete-h) - var(--brnsg-barre, 0px)), 900px);
}

.hero-texte {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(18px, 2vw, 28px);
  padding: clamp(36px, 4vw, 72px) clamp(24px, 4vw, 64px) clamp(36px, 4vw, 64px) max(var(--gouttiere), calc((100vw - var(--colonne)) / 2));
}

.hero-titre {
  font-size: clamp(2.5rem, 1.2rem + 4.1vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.018em;
  max-width: 11em;
}

.hero-chapo {
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  color: var(--gres);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.direct {
  display: grid;
  gap: 10px;
  max-width: 34rem;
  padding-top: 20px;
  border-top: 1px solid var(--filet-fort);
  font-size: 0.9375rem;
}

.direct-statut {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gres);
}

.direct-creneau {
  display: grid;
  gap: 2px;
}

.direct-libelle {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gres);
}

.direct-valeur {
  font-size: 1.0625rem;
  font-weight: 500;
  font-stretch: var(--mi-large);
}

.direct-valeur a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.hero-image {
  position: relative;
  overflow: hidden;
  background: var(--pierre-ombre);
}

.hero-image picture,
.hero-image img {
  width: 100%;
  height: 100%;
}

.hero-image img {
  object-fit: cover;
  object-position: 45% 50%;
}

/* La lumière entre par la gauche : un voile couleur pierre se retire. */
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pierre);
  transform-origin: 100% 50%;
  transform: scaleX(0);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-titre,
  .hero-chapo,
  .hero-actions,
  .direct {
    animation: monte 0.95s var(--ease) both;
  }

  .hero-chapo {
    animation-delay: 0.1s;
  }

  .hero-actions {
    animation-delay: 0.2s;
  }

  .direct {
    animation-delay: 0.3s;
  }

  .hero-image::after {
    animation: lumiere 1.25s var(--ease) 0.05s both;
  }

  .hero-image img {
    animation: pose 1.8s var(--ease) both;
  }
}

@keyframes monte {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes lumiere {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

@keyframes pose {
  from {
    transform: scale(1.06);
  }
}

/* ------------------------------- Sections --------------------------------- */

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

.section--serre {
  padding-block: clamp(40px, 6vw, 80px);
}

.section--lin {
  background: var(--lin);
}

.section--basalte {
  background: var(--basalte);
  color: var(--lin);
}

.section-tete {
  display: grid;
  gap: 18px;
  max-width: 48rem;
  margin-bottom: clamp(32px, 5vw, 64px);
}

.titre-section {
  font-size: clamp(2rem, 1.25rem + 2.7vw, 3.5rem);
}

.titre-section--petit {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.section-texte {
  max-width: 40rem;
  color: var(--gres);
  font-size: 1.0625rem;
}

.section--basalte .section-texte {
  color: var(--lin-doux);
}

.frise {
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='18' viewBox='0 0 30 18'%3E%3Cpath d='M3 18v-6.5a12 12 0 0 1 24 0V18' fill='none' stroke='%231D201F' stroke-opacity='.28' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center bottom;
}

.frise--claire,
.pied .frise {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='18' viewBox='0 0 30 18'%3E%3Cpath d='M3 18v-6.5a12 12 0 0 1 24 0V18' fill='none' stroke='%23F4F2ED' stroke-opacity='.22' stroke-width='1'/%3E%3C/svg%3E");
}

.section > .frise {
  position: absolute;
  inset: 0 0 auto;
}

/* ------------------------------- Tuiles des soins (accueil) --------------- */

.tuiles {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 28px);
  list-style: none;
  padding: 0;
}

.tuile {
  grid-column: span 5;
}

.tuile--grande {
  grid-column: span 7;
  grid-row: span 2;
}

.tuile--large {
  grid-column: span 7;
}

.tuile-lien {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.tuile-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--pierre-ombre);
}

.tuile--grande .tuile-image {
  aspect-ratio: auto;
  flex: 1 1 auto;
  min-height: 320px;
}

.tuile-image picture,
.tuile-image img {
  width: 100%;
  height: 100%;
}

.tuile-image img {
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.tuile-lien:hover .tuile-image img {
  transform: scale(1.035);
}

.tuile-textes {
  display: grid;
  gap: 4px;
}

.tuile-nom {
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);
  font-weight: 300;
  font-stretch: var(--large);
  line-height: 1.1;
}

.tuile-lien:hover .tuile-nom {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.tuile-info {
  font-weight: 500;
  font-size: 0.9375rem;
}

.tuile-intro {
  color: var(--gres);
  font-size: 0.9375rem;
  max-width: 36rem;
}

/* ------------------------------- Créneaux (accueil) ----------------------- */

.creneaux-grille {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.creneaux-grille .section-tete {
  margin-bottom: 0;
  justify-items: start;
}

.creneaux-liste {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--filet-fort);
}

.creneau-ligne {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--filet);
}

.creneau-soin {
  display: grid;
  gap: 2px;
}

.creneau-nom {
  font-size: 1.125rem;
  font-weight: 500;
  font-stretch: var(--mi-large);
  line-height: 1.25;
}

.creneau-meta {
  color: var(--gres);
  font-size: 0.9375rem;
}

.creneau-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 14px;
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon);
  background: var(--pierre-claire);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.creneau-action:hover {
  border-color: var(--celadon);
  color: var(--celadon);
}

.creneau-quand {
  font-weight: 500;
}

/* ------------------------------- Cartes cadeaux (accueil) ------------------ */

.cadeau-grille {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.cadeau-texte {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.liste-filets {
  list-style: none;
  padding: 0;
  width: 100%;
  border-top: 1px solid var(--filet-clair);
}

.liste-filets li {
  padding: 12px 0;
  border-bottom: 1px solid var(--filet-clair);
  font-size: 0.9375rem;
}

.cadeau-carte {
  display: grid;
  justify-items: center;
  gap: 24px;
}

.bouton-retourner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid currentColor;
  border-radius: var(--rayon);
  background: transparent;
  color: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
}

.bouton-retourner:hover {
  background: rgba(244, 242, 237, 0.08);
}

.bouton-retourner--sombre {
  color: var(--lin);
}

/* ------------------------------- La carte cadeau ---------------------------- */

.carte-scene {
  width: min(100%, 560px);
  margin-inline: auto;
  perspective: 1800px;
  container-type: inline-size;
}

.carte {
  --rx: 0deg;
  --ry: 0deg;
  --retourne: 0deg;
  --encre: var(--basalte);
  --ton: #4E4F48;
  position: relative;
  aspect-ratio: 85.6 / 53.98;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + var(--retourne)));
  transition: transform 1s var(--ease-carte);
  color: var(--encre);
}

.carte.est-retournee {
  --retourne: 180deg;
}

.carte.suit-pointeur {
  transition: transform 0.12s linear;
}

.carte.suit-pointeur.est-retournee,
.carte.suit-pointeur:not(.est-retournee) {
  transition: transform 0.12s linear;
}

.carte-scene.se-retourne {
  animation: souleve 1s var(--ease-carte);
}

@keyframes souleve {
  50% {
    transform: translateY(-3%) scale(1.035);
  }
}

.carte[data-finition="ceramique"] {
  --encre: #13221C;
  --ton: #263B32;
}

.carte[data-finition="basalte"] {
  --encre: var(--lin);
  --ton: var(--lin-doux);
}

.carte-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #CFC8BA;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 1px 2px rgba(10, 12, 11, 0.22), 0 26px 50px -24px rgba(10, 12, 11, 0.6);
}

.carte-face::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  background: linear-gradient(118deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.14) 50%, rgba(255, 255, 255, 0) 62%) no-repeat;
  background-size: 260% 100%;
  background-position: var(--reflet, 120%) 0;
  pointer-events: none;
}

.carte-verso {
  transform: rotateY(180deg);
}

/* Les trois matières sont empilées ; l'active passe dessus avec un fondu. */
.carte-matiere {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.carte-matiere picture,
.carte-matiere img {
  width: 100%;
  height: 100%;
}

.carte-matiere img {
  object-fit: cover;
}

.carte[data-finition="lin"] .carte-matiere--lin,
.carte[data-finition="ceramique"] .carte-matiere--ceramique,
.carte[data-finition="basalte"] .carte-matiere--basalte {
  z-index: 1;
  animation: matiere 0.6s var(--ease);
}

@keyframes matiere {
  from {
    opacity: 0;
  }
}

.carte-verso .carte-matiere::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(244, 242, 237, 0.18), rgba(244, 242, 237, 0));
}

.carte[data-finition="basalte"] .carte-verso .carte-matiere::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
}

.carte-contenu {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6.6cqw 7.4cqw;
  font-family: var(--police);
}

.carte-haut,
.carte-bas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4cqw;
}

.carte-marque {
  display: inline-flex;
  align-items: center;
  gap: 1.6cqw;
  font-size: 4cqw;
  font-weight: 400;
  font-stretch: var(--large);
  letter-spacing: 0.05em;
}

.carte-arcade {
  width: 6.2cqw;
  height: 6.2cqw;
}

.carte .arcade-soleil {
  fill: currentColor;
  opacity: 0.85;
}

.carte-type {
  font-size: max(2.3cqw, 9.5px);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ton);
}

.carte-centre {
  display: grid;
  gap: 1.2cqw;
}

.carte-valeur {
  font-size: 13cqw;
  font-weight: 300;
  font-stretch: var(--large);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.carte-valeur[data-long] {
  font-size: 6.4cqw;
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 88%;
}

.carte-detail {
  font-size: max(2.7cqw, 10.5px);
  color: var(--ton);
}

.carte-pour {
  font-family: var(--italique);
  font-style: italic;
  font-weight: 450;
  font-size: 5.4cqw;
  line-height: 1.1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.carte-validite {
  flex: none;
  font-size: max(2.3cqw, 10px);
  color: var(--ton);
  text-align: right;
}

.carte-message {
  font-family: var(--italique);
  font-style: italic;
  font-weight: 430;
  font-size: 4.3cqw;
  line-height: 1.28;
  max-height: 23cqw;
  overflow: hidden;
  overflow-wrap: anywhere;
}

#carte-composee .carte-message:empty::before {
  content: "Votre mot s'écrira ici.";
  color: var(--ton);
  opacity: 0.8;
}

.carte-de {
  margin-top: -2cqw;
  text-align: right;
  font-family: var(--italique);
  font-style: italic;
  font-weight: 450;
  font-size: 4.2cqw;
  line-height: 1.1;
}

.carte-code-bloc {
  display: grid;
  gap: 0.6cqw;
}

.carte-code-libelle {
  font-size: max(2.1cqw, 9.5px);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ton);
}

.carte-code {
  font-size: 5.2cqw;
  font-weight: 400;
  font-stretch: var(--large);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.carte-code span {
  display: inline-block;
}

.carte .vient-de-changer {
  animation: encre 0.4s var(--ease);
}

@keyframes encre {
  from {
    opacity: 0.2;
    transform: translateY(3px);
  }
}

.carte-adresse {
  font-size: max(2cqw, 9.5px);
  color: var(--ton);
}

/* ------------------------------- Équipe (accueil) ------------------------- */

.equipe-grille {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.equipe-principale {
  display: grid;
  gap: 18px;
}

.equipe-photo {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--pierre-ombre);
}

.equipe-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.equipe-principale figcaption,
.equipe-membre p {
  display: grid;
  gap: 4px;
}

.equipe-nom {
  font-size: 1.375rem;
  font-weight: 300;
  font-stretch: var(--large);
  line-height: 1.15;
}

.equipe-role {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gres);
}

.equipe-citation {
  margin-top: 10px;
  font-family: var(--italique);
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.3;
}

.equipe-court {
  color: var(--gres);
  font-size: 0.9375rem;
}

.equipe-autres {
  display: grid;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin-top: clamp(0px, 8vw, 120px);
}

.equipe-membre {
  display: grid;
  grid-template-columns: minmax(110px, 38%) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--filet);
}

.equipe-photo--petite {
  aspect-ratio: 4 / 5;
}

/* ------------------------------- Avis -------------------------------------- */

.avis-grille {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 5vw, 80px);
}

.avis-note {
  display: grid;
  gap: 12px;
  align-content: start;
}

.avis-note-chiffre {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 10px;
}

.avis-note-chiffre span:first-child {
  font-size: clamp(4rem, 3rem + 4vw, 6.5rem);
  font-weight: 300;
  font-stretch: var(--large);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.avis-note-sur {
  color: var(--gres);
}

.avis-note-texte {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.avis-note-texte .icone-etoile {
  color: var(--celadon);
}

.avis-note-releve {
  font-size: 0.8125rem;
  color: var(--gres);
}

.avis-liste {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--filet-fort);
}

.avis {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 6px 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--filet);
}

.avis-score {
  grid-row: span 2;
  font-weight: 500;
  font-stretch: var(--mi-large);
}

.avis-texte {
  font-size: 1.0625rem;
}

.avis-texte p::before {
  content: "« ";
}

.avis-texte p::after {
  content: " »";
}

.avis-auteur {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 0.875rem;
  color: var(--gres);
}

.avis-nom {
  font-weight: 500;
  color: var(--basalte);
}

/* ------------------------------- Horaires et accès ------------------------- */

.acces-grille {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.acces-texte {
  display: grid;
  gap: 28px;
}

.horaires {
  display: grid;
  gap: 14px;
}

.horaires-statut {
  font-weight: 500;
  font-stretch: var(--mi-large);
}

.horaires-liste {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--filet-fort);
}

.horaires-liste li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--filet);
  font-variant-numeric: tabular-nums;
}

.horaires-note {
  font-size: 0.9375rem;
  color: var(--gres);
}

.acces-lieu {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.acces-photo {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--pierre-ombre);
}

.acces-photo img,
.acces-photo picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.acces-adresse {
  font-style: normal;
  font-size: 1.25rem;
  font-weight: 300;
  font-stretch: var(--large);
  margin-top: 8px;
}

.acces-repere {
  color: var(--gres);
}

/* ------------------------------- Pages intérieures ------------------------ */

.page-tete {
  padding-block: clamp(40px, 6vw, 88px) clamp(28px, 4vw, 56px);
}

.page-tete--simple {
  border-bottom: 1px solid var(--filet);
}

.page-tete-grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.page-tete-texte {
  display: grid;
  gap: 20px;
}

.page-titre {
  font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
}

.page-chapo {
  max-width: 44rem;
  margin-top: 18px;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  color: var(--gres);
}

.page-tete-texte .page-chapo {
  margin-top: 0;
}

.page-tete-image {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--pierre-ombre);
}

.page-tete-image img,
.page-tete-image picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.code-erreur {
  margin-bottom: 14px;
  font-weight: 500;
  color: var(--gres);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 28px;
}

.note {
  margin-top: 20px;
  font-size: 0.9375rem;
  color: var(--gres);
}

.note-encadre {
  padding: 16px 18px;
  border: 1px solid var(--filet-fort);
  background: var(--lin);
}

.texte-grille {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
}

.texte-courant {
  display: grid;
  gap: 18px;
  font-size: 1.125rem;
  max-width: 42rem;
}

/* ------------------------------- Soins et tarifs --------------------------- */

.ancres {
  position: sticky;
  top: calc(var(--brnsg-barre, 0px) + var(--entete-h));
  z-index: 40;
  background: var(--pierre);
  border-bottom: 1px solid var(--filet);
}

.ancres-liste {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  list-style: none;
  padding: 10px 0;
  scrollbar-width: none;
}

.ancres-liste::-webkit-scrollbar {
  display: none;
}

.ancres-liste a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon);
  white-space: nowrap;
  font-size: 0.9375rem;
  text-decoration: none;
}

.ancres-liste a:hover,
.ancres-liste a[aria-current="true"] {
  background: var(--basalte);
  border-color: var(--basalte);
  color: var(--lin);
}

.section--carte {
  scroll-margin-top: calc(var(--brnsg-barre, 0px) + var(--entete-h) + 60px);
}

.carte-soins {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.carte-soins-tete {
  display: grid;
  gap: 18px;
  position: sticky;
  top: calc(var(--brnsg-barre, 0px) + var(--entete-h) + 84px);
}

.carte-soins-photo {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--pierre-ombre);
}

.carte-soins-photo img,
.carte-soins-photo picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bon-a-savoir {
  padding: 16px 18px;
  border-left: 2px solid var(--celadon);
  background: var(--pierre-claire);
  font-size: 0.9375rem;
}

.section--lin .bon-a-savoir {
  background: var(--pierre);
}

.bon-a-savoir-titre {
  margin-bottom: 4px;
  font-weight: 500;
  font-stretch: var(--mi-large);
}

.soins-liste {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--filet-fort);
}

.soin {
  display: grid;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--filet);
  scroll-margin-top: calc(var(--brnsg-barre, 0px) + var(--entete-h) + 72px);
}

.soin-tete {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.soin-nom {
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.35rem);
  font-weight: 400;
  font-stretch: var(--mi-large);
  line-height: 1.25;
  letter-spacing: 0;
}

.soin-prix {
  flex: none;
  font-size: 1.25rem;
  font-weight: 400;
  font-stretch: var(--large);
  font-variant-numeric: tabular-nums;
}

.soin-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  font-size: 0.9375rem;
  color: var(--gres);
}

.soin-meta .icone {
  margin-right: -10px;
}

.soin-texte {
  max-width: 40rem;
}

.soin-detail {
  font-size: 0.9375rem;
  color: var(--gres);
}

.soin-actions {
  display: flex;
  gap: 20px;
  margin-top: 4px;
}

.lien-soin {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid var(--celadon);
  border-radius: var(--rayon);
  color: var(--celadon);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.lien-soin:hover {
  background: var(--celadon);
  color: var(--lin);
}

/* « Offrir » reste un lien souligné : un seul bouton par soin. */
.lien-soin--discret {
  padding: 6px 2px;
  border: 0;
  color: var(--basalte);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.lien-soin--discret:hover {
  background: transparent;
  color: var(--celadon);
  text-decoration-thickness: 2px;
}

.regles-grille {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 80px);
}

.regles-textes {
  display: grid;
  gap: 18px;
  color: var(--lin-doux);
}

.regles-textes a,
.regles-liste a {
  color: var(--lin);
}

/* ------------------------------- Réservation -------------------------------- */

.resa-grille {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.resa {
  min-width: 0;
}

.etape {
  min-width: 0;
  padding: 28px 0 32px;
  border-top: 1px solid var(--filet-fort);
  scroll-margin-top: calc(var(--brnsg-barre, 0px) + var(--entete-h) + 16px);
}

.etape-champs {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.etape-legende {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 0;
  margin-bottom: 18px;
}

.etape-numero {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gres);
}

.etape-nom {
  font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.3rem);
  font-weight: 300;
  font-stretch: var(--large);
  line-height: 1.1;
}

.etape-resume {
  font-weight: 500;
  font-stretch: var(--mi-large);
}

.etape-modifier {
  margin-top: 4px;
  font-size: 0.9375rem;
}

.etape[data-etat="attente"] .etape-nom {
  color: var(--gres);
}

.etape-suite {
  margin-top: 18px;
}

.etape-attente {
  color: var(--gres);
  font-size: 0.9375rem;
}

.onglets {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.onglets::-webkit-scrollbar {
  display: none;
}

.onglet {
  flex: none;
  min-height: 42px;
  padding: 6px 14px;
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon);
  background: transparent;
  font-size: 0.9375rem;
  cursor: pointer;
}

.onglet[aria-selected="true"] {
  background: var(--basalte);
  border-color: var(--basalte);
  color: var(--lin);
}

.choix-liste {
  display: grid;
  gap: 8px;
}

.choix {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 4px 18px;
  min-height: 56px;
  padding: 12px 16px;
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  background: var(--lin);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.choix input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.choix:hover {
  border-color: var(--filet-fort);
}

.choix:has(input:checked) {
  border-color: var(--celadon);
  background: var(--celadon-voile);
  box-shadow: inset 0 0 0 1px var(--celadon);
}

.choix:has(input:focus-visible) {
  outline: 2px solid var(--celadon);
  outline-offset: 2px;
}

.choix:has(input:disabled) {
  cursor: not-allowed;
  background: transparent;
}

.choix:has(input:disabled) .choix-nom,
.choix:has(input:disabled) .praticienne-visuel {
  opacity: 0.45;
}

.choix-nom {
  font-weight: 500;
  line-height: 1.3;
}

.choix-meta {
  color: var(--gres);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.choix-prix {
  font-weight: 400;
  font-stretch: var(--large);
  font-variant-numeric: tabular-nums;
  text-align: right;
  min-width: 3.5em;
}

.praticiennes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choix--praticienne {
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 14px;
}

.choix--praticienne .praticienne-visuel {
  grid-row: span 3;
  width: 64px;
  height: 80px;
  overflow: hidden;
  background: var(--pierre-ombre);
}

.praticienne-visuel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.praticienne-visuel--arcade {
  display: grid;
  place-items: center;
  background: var(--basalte) !important;
  color: var(--lin);
}

.praticienne-arcade {
  width: 36px;
  height: 36px;
}

.praticienne-arcade .arcade-soleil {
  fill: var(--celadon-pale);
}

.choix-indispo {
  grid-column: 2;
  font-size: 0.8125rem;
  color: var(--erreur);
}

.jours-tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.jours-titre,
.creneaux-titre {
  font-weight: 500;
  font-stretch: var(--mi-large);
}

.jours-nav {
  display: flex;
  gap: 6px;
}

.jours {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 6 * 8px) / 7);
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.jour {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 2px;
  min-height: 92px;
  padding: 10px 4px;
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  background: var(--lin);
  text-align: center;
  scroll-snap-align: start;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.jour input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.jour-nom {
  font-size: 0.8125rem;
  color: var(--gres);
}

.jour-num {
  font-size: 1.5rem;
  font-weight: 300;
  font-stretch: var(--large);
  line-height: 1.1;
}

.jour-etat {
  font-size: 0.75rem;
  color: var(--celadon);
  font-weight: 500;
}

.jour:hover {
  border-color: var(--filet-fort);
}

.jour:has(input:checked) {
  background: var(--basalte);
  border-color: var(--basalte);
  color: var(--lin);
}

.jour:has(input:checked) .jour-nom,
.jour:has(input:checked) .jour-etat {
  color: var(--celadon-pale);
}

.jour:has(input:focus-visible) {
  outline: 2px solid var(--celadon);
  outline-offset: 2px;
}

.jour:has(input:disabled) {
  background: transparent;
  cursor: not-allowed;
}

.jour:has(input:disabled) .jour-etat {
  color: var(--gres);
  font-weight: 400;
}

.jour:has(input:disabled) .jour-num {
  opacity: 0.5;
}

.creneaux-titre {
  margin: 22px 0 10px;
}

.creneaux {
  display: grid;
  gap: 16px;
}

.creneaux-groupe {
  display: grid;
  gap: 8px;
}

.creneaux-groupe-titre {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gres);
}

.creneaux-boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.heure {
  position: relative;
  cursor: pointer;
}

.heure input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.heure span {
  display: inline-grid;
  place-items: center;
  min-width: 82px;
  min-height: 46px;
  padding: 6px 12px;
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon);
  background: var(--lin);
  font-weight: 500;
  font-stretch: var(--mi-large);
  font-variant-numeric: tabular-nums;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.heure:hover span {
  border-color: var(--celadon);
}

.heure input:checked + span {
  background: var(--celadon);
  border-color: var(--celadon);
  color: var(--lin);
}

.heure input:focus-visible + span {
  outline: 2px solid var(--celadon);
  outline-offset: 2px;
}

.creneaux-vide {
  padding: 16px 18px;
  border: 1px dashed var(--filet-fort);
  color: var(--gres);
}

.resa-aside-collant {
  position: sticky;
  top: calc(var(--brnsg-barre, 0px) + var(--entete-h) + 24px);
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--filet);
  background: var(--lin);
}

.aside-titre {
  font-size: 1.375rem;
  font-weight: 300;
  font-stretch: var(--large);
}

.recap {
  display: grid;
  gap: 2px;
}

.recap-vide {
  color: var(--gres);
}

.recap-liste,
.recap dl {
  display: grid;
  gap: 0;
}

.recap-liste div,
.recap dl div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--filet);
}

.recap dt,
.recap-liste dt {
  color: var(--gres);
  font-size: 0.875rem;
}

.recap dd,
.recap-liste dd {
  font-weight: 500;
}

.recap--formulaire {
  margin-bottom: 22px;
  padding: 16px 18px;
  background: var(--lin);
  border: 1px solid var(--filet);
}

.resa-regles {
  display: grid;
  gap: 8px;
  padding-left: 1.1em;
  margin: 0;
  font-size: 0.875rem;
  color: var(--gres);
}

.resa-tel {
  font-size: 0.9375rem;
}

.resa-succes {
  grid-column: 1;
  display: grid;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--celadon);
  background: var(--lin);
}

.resa-succes-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

/* ------------------------------- Formulaires ------------------------------- */

.formulaire,
.resa,
.composer-form {
  display: block;
}

.champ {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  min-width: 0;
}

.champ label,
.champ legend {
  font-weight: 500;
  font-size: 0.9375rem;
}

.champ-optionnel {
  font-weight: 400;
  color: var(--gres);
}

.champ-aide {
  font-size: 0.875rem;
  color: var(--gres);
}

.champ-rangee {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon);
  background: var(--lin);
  color: var(--basalte);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s var(--ease);
}

textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--basalte);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--celadon);
  outline-offset: 1px;
  border-color: var(--celadon);
}

[aria-invalid="true"] {
  border-color: var(--erreur) !important;
}

.select-enveloppe {
  position: relative;
}

.select-enveloppe select {
  appearance: none;
  padding-right: 44px;
}

.select-enveloppe::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.champ-erreur {
  color: var(--erreur);
  font-size: 0.875rem;
  font-weight: 500;
}

.formulaire-erreur:empty {
  display: none;
}

.formulaire-erreur {
  margin-top: 12px;
}

.champ-radios {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.champ-radios legend {
  width: 100%;
  margin-bottom: 6px;
  padding: 0;
}

.radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  cursor: pointer;
}

input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--celadon);
}

.radio input,
.consentement input {
  width: 20px;
  height: 20px;
  margin: 0;
}

.consentement {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 14px 0 6px;
  font-size: 0.875rem;
  color: var(--gres);
  cursor: pointer;
}

.consentement input {
  margin-top: 2px;
}

.champ-piege {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.formulaire-note {
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--gres);
}

.formulaire-grille {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.formulaire-intro {
  display: grid;
  gap: 16px;
}

.formulaire-carte {
  padding: clamp(20px, 3vw, 36px);
  background: var(--pierre);
  border: 1px solid var(--filet);
}

.formulaire-succes {
  display: grid;
  gap: 12px;
}

.formulaire-succes-titre {
  font-size: 1.25rem;
  font-weight: 400;
  font-stretch: var(--mi-large);
}

/* ------------------------------- Composer une carte ----------------------- */

.note-annule {
  margin-top: 20px;
  padding: 14px 18px;
  border-left: 2px solid var(--celadon);
  background: var(--lin);
}

.composer-grille {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}

.composer-scene {
  align-self: stretch;
  background: var(--basalte);
  color: var(--lin);
}

.composer-collant {
  position: sticky;
  top: calc(var(--brnsg-barre, 0px) + var(--entete-h) + 24px);
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: clamp(28px, 5vw, 72px) clamp(20px, 4vw, 56px);
}

.bloc-form {
  min-width: 0;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
}

.bloc-legende {
  width: 100%;
  margin-bottom: 14px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--filet-fort);
  font-size: 1.125rem;
  font-weight: 500;
  font-stretch: var(--mi-large);
}

.bascule {
  display: inline-flex;
  margin-bottom: 16px;
  border: 1px solid var(--basalte);
  border-radius: var(--rayon);
}

.bascule-choix {
  position: relative;
  cursor: pointer;
}

.bascule-choix input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.bascule-choix span {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  padding: 6px 18px;
  font-weight: 500;
}

.bascule-choix input:checked + span {
  background: var(--basalte);
  color: var(--lin);
}

.bascule-choix input:focus-visible + span {
  outline: 2px solid var(--celadon);
  outline-offset: 2px;
}

.montants {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.montant {
  position: relative;
  cursor: pointer;
}

.montant input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.montant span {
  display: inline-grid;
  place-items: center;
  min-width: 78px;
  min-height: 50px;
  padding: 6px 14px;
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon);
  background: var(--lin);
  font-size: 1.0625rem;
  font-stretch: var(--large);
  font-variant-numeric: tabular-nums;
}

.montant:hover span {
  border-color: var(--basalte);
}

.montant input:checked + span {
  background: var(--basalte);
  border-color: var(--basalte);
  color: var(--lin);
}

.montant input:focus-visible + span {
  outline: 2px solid var(--celadon);
  outline-offset: 2px;
}

.champ-euros {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 220px;
}

.champ-compte {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.finitions,
.receptions {
  display: grid;
  gap: 8px;
}

.receptions {
  margin-bottom: 18px;
}

.finition {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 14px;
  padding: 10px 14px;
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  background: var(--lin);
  cursor: pointer;
}

.finition input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.finition-pastille {
  grid-row: span 2;
  width: 44px;
  height: 30px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.finition--lin .finition-pastille {
  background: #CEC8BC;
}

.finition--ceramique .finition-pastille {
  background: #8FB39A;
}

.finition--basalte .finition-pastille {
  background: #2B2E2D;
}

.finition-nom {
  font-weight: 500;
}

.finition-texte {
  font-size: 0.875rem;
  color: var(--gres);
}

.finition:has(input:checked) {
  border-color: var(--celadon);
  box-shadow: inset 0 0 0 1px var(--celadon);
  background: var(--celadon-voile);
}

.finition:has(input:focus-visible) {
  outline: 2px solid var(--celadon);
  outline-offset: 2px;
}

.choix.choix--reception {
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
}

.total {
  display: grid;
  gap: 4px;
  margin: 8px 0 18px;
  padding: 16px 0;
  border-top: 1px solid var(--filet-fort);
  border-bottom: 1px solid var(--filet-fort);
}

.total-ligne {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-weight: 500;
}

.total-montant {
  font-size: 1.75rem;
  font-weight: 300;
  font-stretch: var(--large);
  font-variant-numeric: tabular-nums;
}

.total-validite {
  font-size: 0.875rem;
  color: var(--gres);
}

.usage-grille,
.maison-grille {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.usage-tete,
.maison-tete {
  display: grid;
  gap: 24px;
}

.usage-photo,
.maison-photo {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--pierre-ombre);
}

.maison-photo {
  aspect-ratio: 4 / 5;
}

.usage-photo img,
.usage-photo picture,
.maison-photo img,
.maison-photo picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.usage-liste {
  border-top: 1px solid var(--filet-fort);
}

.usage-liste div {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 8px 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--filet);
}

.usage-liste dt {
  font-weight: 500;
  font-stretch: var(--mi-large);
}

.usage-liste dd {
  color: var(--gres);
}

.usage-liste--serree div {
  grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  padding: 16px 0;
}

.faq-grille {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
}

.faq {
  border-top: 1px solid var(--filet-fort);
}

.faq-question {
  border-bottom: 1px solid var(--filet);
}

.faq-question summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-question summary::-webkit-details-marker {
  display: none;
}

.faq-question summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 300;
}

.faq-question[open] summary::after {
  content: "\2212";
}

.faq-question p {
  padding: 0 0 20px;
  color: var(--gres);
  max-width: 40rem;
}

.faq-lien {
  margin-top: 24px;
}

/* Scène de paiement : la carte se retourne avant la page de paiement. */
.paiement {
  position: fixed;
  inset: 0;
  z-index: 9980;
  display: grid;
  place-items: center;
  padding: calc(var(--brnsg-barre, 0px) + 20px) 20px calc(20px + var(--brnsg-onglet, 0px));
  background: rgba(17, 19, 18, 0.97);
  color: var(--lin);
  overflow-y: auto;
}

.paiement-boite {
  display: grid;
  justify-items: center;
  gap: 28px;
  width: min(100%, 640px);
  outline: none;
}

.paiement-carte {
  width: 100%;
}

.paiement-textes {
  display: grid;
  gap: 10px;
  text-align: center;
  max-width: 34rem;
}

.paiement-titre {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
  font-weight: 300;
  font-stretch: var(--large);
  line-height: 1.1;
}

.paiement-texte {
  color: var(--lin-doux);
}

.paiement-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
  margin-top: 10px;
}

.paiement .bouton-lien {
  color: var(--lin);
}

/* ------------------------------- Merci ------------------------------------- */

.merci-section {
  min-height: 60vh;
}

.merci-etat:not(.merci-payee) {
  display: grid;
  gap: 22px;
  justify-items: start;
  max-width: 48rem;
}

.merci-etat:not(.merci-payee) .page-chapo {
  margin-top: 0;
}

.merci-grille {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.merci-carte {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 48px);
  background: var(--basalte);
  color: var(--lin);
}

.merci-textes {
  display: grid;
  gap: 18px;
}

.merci-textes .page-titre {
  outline: none;
}

.merci-code {
  font-size: 1.0625rem;
}

.merci-code strong {
  display: block;
  margin-top: 4px;
  font-size: 1.75rem;
  font-weight: 400;
  font-stretch: var(--large);
  letter-spacing: 0.06em;
}

.merci-email {
  color: var(--gres);
}

.merci-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

/* ------------------------------- L'institut -------------------------------- */

.portraits {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  margin-top: clamp(28px, 4vw, 48px);
}

.portrait {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-bottom: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--filet);
}

.portrait:last-child {
  border-bottom: 0;
}

.portrait--grand {
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
}

.portrait:nth-child(2) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
}

.portrait:nth-child(2) .portrait-photo {
  order: 2;
}

.portrait-photo {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--pierre-ombre);
}

.portrait-photo img,
.portrait-photo picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.portrait-texte {
  display: grid;
  gap: 14px;
  max-width: 40rem;
}

.portrait-nom {
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);
}

.portrait-role {
  font-weight: 500;
  color: var(--gres);
}

.portrait-citation {
  font-family: var(--italique);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.3;
}

.portrait-infos {
  display: grid;
  border-top: 1px solid var(--filet);
}

.portrait-infos div {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--filet);
}

.portrait-infos dt {
  color: var(--gres);
}

.regles-liste {
  margin-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--filet-clair);
}

.regles-liste div {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 10px 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--filet-clair);
}

.regles-liste dt {
  font-weight: 500;
  font-stretch: var(--mi-large);
}

.regles-liste dd {
  color: var(--lin-doux);
}

/* ------------------------------- Infos pratiques --------------------------- */

.infos-grille {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.infos-coordonnees {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--lin);
  border: 1px solid var(--filet);
}

.infos-adresse {
  font-style: normal;
  font-size: 1.25rem;
  font-weight: 300;
  font-stretch: var(--large);
  line-height: 1.3;
}

.infos-nom {
  display: block;
  font-weight: 400;
}

.infos-tel {
  font-size: 1.25rem;
}

.infos-contact {
  font-size: 0.9375rem;
  color: var(--gres);
}

.infos-colonnes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px);
}

.infos-colonnes > div {
  display: grid;
  gap: 22px;
  align-content: start;
}

.infos-cta {
  margin-top: 8px;
}

.plan {
  display: grid;
  gap: 10px;
}

.plan-svg {
  width: 100%;
  height: auto;
  background: var(--lin);
  border: 1px solid var(--filet);
}

.plan-fond {
  fill: var(--lin);
}

.plan-ilots {
  fill: #D7D2C7;
  stroke: #C8C2B6;
  stroke-width: 0.6;
  fill-rule: evenodd;
}

.plan-mairie {
  fill: #8F8B82;
}

.plan-rue {
  fill: none;
  stroke: var(--celadon);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plan-libelles text,
.plan-institut text,
.plan-gare text,
.plan-parking-nom {
  font-family: var(--police);
  font-size: 13px;
  font-weight: 500;
  font-stretch: var(--mi-large);
  fill: var(--basalte);
  paint-order: stroke;
  stroke: var(--lin);
  stroke-width: 3px;
  stroke-linejoin: round;
}

.plan-libelles text {
  font-size: 15px;
  font-weight: 400;
  font-stretch: var(--large);
  letter-spacing: 0.02em;
}

.plan-libelles .plan-petit,
.plan .plan-petit {
  font-size: 11px;
  font-weight: 500;
  font-stretch: 100%;
}

.plan-institut circle {
  fill: var(--celadon);
}

.plan-institut .plan-institut-anneau {
  fill: none;
  stroke: var(--celadon);
  stroke-width: 1.5;
}

.plan-institut text {
  font-size: 14px;
  font-weight: 600;
}

.plan-parking rect {
  fill: var(--basalte);
}

.plan-parking > text:first-of-type {
  font-family: var(--police);
  font-size: 12px;
  font-weight: 600;
  fill: var(--lin);
}

.plan-gare path {
  fill: none;
  stroke: var(--basalte);
  stroke-width: 1.5;
  marker-end: none;
}

.plan-source {
  font-family: var(--police);
  font-size: 9px;
  fill: var(--gres);
}

.plan figcaption {
  font-size: 0.9375rem;
}

/* ------------------------------- Textes légaux ----------------------------- */

.texte-legal {
  max-width: 46rem;
  display: grid;
  gap: 14px;
}

.texte-legal h2 {
  margin-top: 24px;
  font-size: 1.5rem;
  font-weight: 400;
}

.texte-legal p,
.texte-legal li {
  color: #2E322F;
}

.encadre-legal {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid var(--filet-fort);
  background: var(--lin);
  font-size: 0.9375rem;
}

/* ------------------------------- Pied ------------------------------------- */

.pied {
  padding-bottom: calc(28px + var(--brnsg-onglet, 0px));
  background: var(--basalte);
  color: var(--lin);
  font-size: 0.9375rem;
}

.pied .frise {
  margin-bottom: clamp(40px, 6vw, 72px);
  border-top: 0;
}

.pied-grille {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.pied-bloc {
  display: grid;
  gap: 10px;
  align-content: start;
}

.logo--pied {
  margin-bottom: 8px;
}

.logo--pied .logo-metier,
.pied-repere,
.pied-note {
  color: var(--lin-doux);
}

.logo--pied .arcade-soleil {
  fill: var(--celadon-pale);
}

.pied-adresse {
  font-style: normal;
}

.pied-tel {
  font-size: 1.125rem;
}

.pied-titre {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lin-doux);
}

.pied-horaires,
.pied-liens {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 4px;
}

.pied-horaires li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-variant-numeric: tabular-nums;
}

.pied-liens a {
  text-decoration: none;
}

.pied-liens a:hover {
  text-decoration: underline;
}

.pied-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--filet-clair);
  color: var(--lin-doux);
  font-size: 0.875rem;
}

.barre-actions {
  display: none;
}

/* ------------------------------- Mouvement (motion.js) -------------------- */

.ligne-titre {
  padding-bottom: 0.08em;
}

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

/* ------------------------------- Écrans moyens ----------------------------- */

@media (max-width: 1120px) {
  .nav {
    position: fixed;
    inset: calc(var(--brnsg-barre, 0px) + var(--entete-h)) 0 0;
    z-index: 55;
    display: none;
    padding: 28px var(--gouttiere) 40px;
    background: var(--basalte);
    color: var(--lin);
    overflow-y: auto;
  }

  .nav.est-ouverte {
    display: grid;
    align-content: start;
    gap: 32px;
  }

  .nav-liste {
    flex-direction: column;
    gap: 0;
  }

  .nav-liste a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--filet-clair);
    font-size: 1.5rem;
    font-weight: 300;
    font-stretch: var(--large);
  }

  .nav-liste a[aria-current="page"] {
    border-bottom-color: var(--celadon-pale);
    color: var(--celadon-pale);
  }

  .nav-mobile-infos {
    display: block;
    color: var(--lin-doux);
  }

  .menu-bouton {
    display: inline-grid;
    place-items: center;
  }

  .entete-actions {
    margin-left: auto;
  }
}

@media (max-width: 960px) {
  .hero-grille {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .hero-texte {
    padding: 40px var(--gouttiere) 36px;
  }

  .hero-image {
    aspect-ratio: 4 / 3;
  }

  .tuile,
  .tuile--grande,
  .tuile--large {
    grid-column: span 6;
    grid-row: auto;
  }

  .tuile--grande .tuile-image {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .creneaux-grille,
  .cadeau-grille,
  .equipe-grille,
  .avis-grille,
  .acces-grille,
  .page-tete-grille,
  .texte-grille,
  .carte-soins,
  .regles-grille,
  .resa-grille,
  .composer-grille,
  .usage-grille,
  .maison-grille,
  .faq-grille,
  .merci-grille,
  .formulaire-grille,
  .infos-grille,
  .infos-colonnes {
    grid-template-columns: minmax(0, 1fr);
  }

  .carte-soins-tete {
    position: static;
  }

  .carte-soins-photo {
    aspect-ratio: 16 / 9;
  }

  .equipe-autres {
    margin-top: 0;
  }

  .resa-aside {
    display: none;
  }

  .composer-collant {
    position: static;
  }

  .portrait,
  .portrait--grand {
    grid-template-columns: minmax(0, 1fr);
  }

  .portrait:nth-child(2) .portrait-photo {
    order: 0;
  }

  .portrait-photo {
    max-width: 420px;
  }

  .pied-grille {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .maison-photo {
    aspect-ratio: 3 / 2;
  }
}

/* ------------------------------- Mobiles ----------------------------------- */

@media (max-width: 760px) {
  :root {
    --entete-h: 64px;
  }

  body {
    font-size: 1rem;
  }

  .entete-grille {
    gap: 12px;
  }

  .logo-arcade {
    width: 28px;
    height: 28px;
  }

  .logo-nom {
    font-size: 1.125rem;
  }

  .logo-metier {
    display: none;
  }

  .entete-tel .icone,
  .entete-statut,
  .entete-reserver {
    display: none;
  }

  .entete-tel-numero {
    font-size: 0.9375rem;
  }

  .tuile,
  .tuile--grande,
  .tuile--large {
    grid-column: 1 / -1;
  }

  .creneau-ligne {
    grid-template-columns: minmax(0, 1fr);
  }

  .creneau-action {
    justify-content: space-between;
  }

  .champ-rangee,
  .praticiennes {
    grid-template-columns: minmax(0, 1fr);
  }

  .jours {
    grid-auto-columns: 74px;
  }

  .choix {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .choix--soin .choix-meta {
    grid-column: 1;
    grid-row: 2;
  }

  .choix--soin .choix-prix {
    grid-row: span 2;
  }

  .choix--praticienne {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .choix--praticienne .praticienne-visuel {
    width: 56px;
    height: 70px;
  }

  .usage-liste div,
  .usage-liste--serree div,
  .regles-liste div {
    grid-template-columns: minmax(0, 1fr);
  }

  .avis {
    grid-template-columns: minmax(0, 1fr);
  }

  .avis-score {
    grid-row: auto;
  }

  .equipe-membre {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .pied-grille {
    grid-template-columns: minmax(0, 1fr);
  }

  .pied {
    padding-bottom: calc(96px + var(--brnsg-onglet, 0px));
  }

  .page-merci .pied,
  .page-resa .pied,
  .page-cartes .pied {
    padding-bottom: calc(28px + var(--brnsg-onglet, 0px));
  }

  .barre-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--brnsg-onglet, 0px);
    z-index: 50;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--pierre);
    border-top: 1px solid var(--filet-fort);
  }

  .barre-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: var(--rayon);
    font-weight: 500;
    text-decoration: none;
  }

  .barre-actions-tel {
    border: 1px solid var(--basalte);
  }

  .barre-actions-reserver {
    background: var(--celadon);
    color: var(--lin);
  }

  .soin-tete {
    gap: 12px;
  }

  .recap-liste div,
  .recap dl div {
    grid-template-columns: 6.5rem minmax(0, 1fr);
  }

  .portrait-infos div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

/* ------------------------------- Impression (carte cadeau) ---------------- */

@media print {
  .brnsg-barre,
  .brnsg-onglet,
  .entete,
  .pied,
  .barre-actions,
  .merci-textes,
  .bouton-retourner,
  .lien-evitement,
  [data-etat]:not([data-etat="payee"]) {
    display: none !important;
  }

  html,
  body,
  .section,
  .merci-carte {
    background: #FFFFFF !important;
    padding: 0 !important;
  }

  .merci-grille {
    display: block;
  }

  .carte-scene {
    width: 85.6mm;
    perspective: none;
    container-type: inline-size;
  }

  .carte {
    transform: none !important;
    transition: none !important;
    aspect-ratio: auto;
  }

  .carte-scene {
    animation: none !important;
  }

  .carte-face {
    position: relative;
    aspect-ratio: 85.6 / 53.98;
    margin-bottom: 8mm;
    transform: none !important;
    backface-visibility: visible;
    box-shadow: none;
    border: 0.2mm solid #999999;
    break-inside: avoid;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
