/* ==========================================================================
   Délikat' — Institut de beauté & onglerie, Guéret
   Design inspiré de DESIGN.md (Lovable) : papier crème, gris dérivés de l'encre
   par opacité, bordures chaudes plutôt qu'ombres. Motif signature : la bande
   entre deux filets du monogramme (le « K » fendu par « DELIKAT »).
   ========================================================================== */

/* Polices hébergées sur le site (pas d'appel à Google Fonts : RGPD et rapidité) */
/* latin-ext d'abord : en cas de chevauchement (œ), la dernière règle déclarée est testée en premier */
@font-face { font-family: "Gloock"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/gloock-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Gloock"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/gloock-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Couleurs */
  --paper: #f6f1ea;          /* fond de page */
  --white: #fffdfa;          /* surfaces, cartes */
  --taupe: #a89484;          /* couleur de la maison (fiche tarifaire) */
  --taupe-deep: #6f5d51;     /* texte d'accent sur crème */
  --taupe-soft: #e4d9ce;     /* bordures, survols */
  --champagne: #c9ae7c;      /* filets, étoiles — décoratif */
  --champagne-light: #eadcbc;/* filets sur taupe */
  --champagne-deep: #8f6f36; /* focus, petits accents lisibles */
  --ink: #1f1b18;            /* encre du logo */
  --ink-82: rgba(31, 27, 24, 0.82);
  --ink-64: rgba(31, 27, 24, 0.66);
  --ink-40: rgba(31, 27, 24, 0.4);
  --ink-08: rgba(31, 27, 24, 0.08);
  --ink-04: rgba(31, 27, 24, 0.04);
  --line: #e7dfd4;

  /* Typographie */
  --font-display: "Gloock", "Bodoni Moda", Didot, Georgia, serif;
  --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Échelle (Elements of Typographic Style) */
  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-21: 1.3125rem;
  --fs-24: 1.5rem;
  --fs-36: clamp(1.75rem, 1.2rem + 1.6vw, 2.25rem);
  --fs-48: clamp(2.25rem, 1.4rem + 2.6vw, 3rem);
  --fs-60: clamp(2.5rem, 1.3rem + 3.6vw, 3.75rem);
  --fs-hero: clamp(2.75rem, 1.2rem + 5vw, 5rem);

  /* Espacements (base 8) */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 2.5rem;
  --s-7: 3.5rem;
  --s-10: 5rem;
  --s-12: 6rem;
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 16px;
  --pill: 9999px;

  --container: 1200px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --header-h: 72px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --shadow-inset: rgba(255, 255, 255, 0.2) 0 0.5px 0 0 inset, rgba(0, 0, 0, 0.2) 0 0 0 0.5px inset, rgba(0, 0, 0, 0.05) 0 1px 2px 0;
  --shadow-soft: rgba(31, 27, 24, 0.1) 0 4px 12px;
  --shadow-lift: rgba(31, 27, 24, 0.12) 0 18px 40px -18px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  /* reflet discret au toucher sur les liens ; les commandes ci-dessous ont leur propre retour (fin du fichier) */
  -webkit-tap-highlight-color: rgba(168, 148, 132, 0.2);
}
.btn, .chip, .icon-btn, .choice, .tab, .faq__item summary, .marquee-toggle, .menu-toggle { -webkit-tap-highlight-color: transparent; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.55;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Titres équilibrés et pas de mot isolé en fin de texte (sans effet sur les navigateurs qui l'ignorent) */
.section-title, .panel__title, .price-block__title, .faq__title, .info-block__title, .cta__title, .thanks__title, .legal h2 { text-wrap: balance; }
p, figcaption, .faq__item summary, .price__name, .perk__text { text-wrap: pretty; }
.nowrap { white-space: nowrap; }

::selection { background: var(--champagne-light); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--champagne-deep);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero :focus-visible,
.cta :focus-visible,
.site-header:not(.is-scrolled) :focus-visible { outline-color: var(--ink); }
.mobile-bar :focus-visible { outline-color: var(--champagne-light); }
/* le contenu reçoit le focus à la fermeture d'une fenêtre ouverte depuis l'adresse (main.js) : cible, pas commande */
#contenu:focus { outline: none; }

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

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-s);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}
.skip-link:focus { transform: none; }

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

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 0;
  border-radius: var(--radius-s);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-16);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  box-shadow: var(--shadow-inset);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.25s;
}
/* Reflet champagne qui balaie le bouton au survol */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 20%, rgba(234, 220, 188, 0.55) 45%, rgba(255, 255, 255, 0.15) 55%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease-out);
}
/* Survols décoratifs réservés à la souris : au doigt, un :hover resterait « collé » après le toucher */
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-inset), var(--shadow-lift); }
  .btn:hover::before { transform: translateX(120%); }
}
.btn:active { opacity: 0.85; transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink-40);
}
@media (hover: hover) { .btn--ghost:hover { background: var(--ink-04); box-shadow: inset 0 0 0 1px var(--ink); } }

.btn--light {
  --btn-bg: var(--white);
  --btn-fg: var(--ink);
}
.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 253, 250, 0.55);
}
@media (hover: hover) { .btn--ghost-light:hover { background: rgba(255, 253, 250, 0.08); box-shadow: inset 0 0 0 1px var(--white); } }

.btn--small { min-height: 40px; padding: 0.55rem 1rem; font-size: var(--fs-14); }
@media (pointer: coarse) { .btn--small { min-height: 44px; } }

/* Lien texte avec soulignement qui se dessine */
.link {
  position: relative;
  color: var(--taupe-deep);
  font-weight: 500;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s var(--ease-out), color 0.2s;
}
@media (hover: hover) { .link:hover { color: var(--ink); background-size: 0% 1px; background-position: 100% 100%; } }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.35s, box-shadow 0.35s, height 0.35s var(--ease-out);
}
html.is-scrolled { --header-h: 62px; }
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: rgba(246, 241, 234, 0.9);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  transition: opacity 0.35s;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  height: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand img { width: 48px; height: auto; transition: width 0.35s var(--ease-out); }
.is-scrolled .brand img { width: 42px; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.01em;
}

.nav { display: flex; align-items: center; gap: var(--s-4); }
.nav__list { display: flex; gap: var(--s-3); }
.nav__link {
  position: relative;
  padding-block: 0.4rem;
  font-size: var(--fs-16);
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink-82);
  transition: color 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav__link[aria-current="true"],
.site-header:not(.is-scrolled) .nav__link { color: var(--ink); }
.nav__link[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
@media (hover: hover) {
  .nav__link:hover { color: var(--ink); }
  .nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
}

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border: 0;
  border-radius: var(--radius-s);
  background: transparent;
  cursor: pointer;
}
.menu-toggle__bars { position: relative; width: 22px; height: 12px; }
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute; left: 0;
  width: 100%; height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out);
}
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 5px; transform: rotate(-45deg); }

/* Barre de progression de lecture */
.progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px; width: 100%;
  background: var(--champagne);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  opacity: 0;
  transition: opacity 0.3s;
}
.is-scrolled .progress { opacity: 1; }

/* ---------- Motif « bande » : deux filets autour d'un contenu ---------- */
.band {
  position: relative;
  padding-block: var(--s-2);
}
.band::before,
.band::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--band-line, var(--champagne));
  transform-origin: center;
}
.band::before { top: 0; }
.band::after { bottom: 0; }

/* Titres de section en bande */
.section-head {
  display: grid;
  gap: var(--s-3);
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
.section-head .band {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem var(--s-3);
  padding-block: clamp(0.9rem, 0.6rem + 1vw, 1.4rem);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-60);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.section-aside {
  color: var(--ink-64);
  font-size: var(--fs-16);
}
.section-lead {
  max-width: 62ch;
  font-size: var(--fs-18);
  line-height: 1.6;
  color: var(--ink-82);
}

/* ---------- Héros ---------- */
.hero {
  position: relative;
  background: var(--taupe);
  color: var(--ink);
  padding-top: calc(var(--header-base, 72px) + clamp(2rem, 1rem + 4vw, 4.5rem));
  overflow: hidden;
}
/* grain doux pour une matière « papier » */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero__kicker {
  display: block;
  margin-bottom: var(--s-3);
  font-family: var(--font-body);
  font-size: var(--fs-18);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__title .line > span { display: inline-block; }
.hero__lead {
  margin-top: var(--s-4);
  max-width: 44ch;
  font-size: var(--fs-18);
  line-height: 1.6;
  color: var(--ink);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--s-4);
}
.hero .btn--ghost { box-shadow: inset 0 0 0 1px rgba(31, 27, 24, 0.5); }
@media (hover: hover) { .hero .btn--ghost:hover { background: rgba(255, 253, 250, 0.18); } }

.today {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: var(--s-4);
  font-size: var(--fs-14);
  color: var(--ink);
}
.today__dot {
  flex: none;
  width: 8px; height: 8px;
  margin-top: calc((1.55em - 8px) / 2); /* centré sur la première ligne quand le statut passe sur deux */
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 4px rgba(31, 27, 24, 0.12);
}
.today[data-state="open"] .today__dot { background: #3f6b45; box-shadow: 0 0 0 4px rgba(63, 107, 69, 0.18); animation: pulse 2.4s var(--ease-in-out) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(63, 107, 69, 0.04); } }

/* Liens rapides sous les boutons (tarifs, carte cadeau), puis statut du jour et note Google sur une même ligne si elle tient */
.hero .link { color: var(--ink); }
.hero__links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.6rem;
  margin-top: 0.8rem;
  font-size: var(--fs-14);
  line-height: 1.4;
}
.hero__sep { color: var(--ink-64); }
.hero__star { margin-right: 0.35em; color: var(--champagne-light); }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1.5rem;
  margin-top: 0.9rem;
}
.hero__meta .today { margin-top: 0; }
.hero__rating { font-size: var(--fs-14); line-height: 1.4; }
.hero__rating span { color: var(--champagne-light); }

/* Composition photo du héros */
.hero__media {
  position: relative;
  aspect-ratio: 5 / 5.2;
  width: 100%;
  max-width: 560px;
  justify-self: end;
}
.hero__photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: var(--taupe-soft);
  box-shadow: 0 30px 60px -30px rgba(31, 27, 24, 0.45);
  will-change: transform;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .hero__photo:hover img { transform: scale(1.05); } }
.hero__photo--a { left: 0; top: 4%; width: 58%; aspect-ratio: 4 / 5; }
.hero__photo--b { right: 0; top: 0; width: 38%; aspect-ratio: 1; }
.hero__photo--c { right: 6%; bottom: 0; width: 44%; aspect-ratio: 5 / 4; }
.hero__monogram {
  position: absolute;
  left: 12%; bottom: 0;
  width: 21%;
  opacity: 0.9;
  pointer-events: none;
}

/* Bandeau défilant des prestations (le « DELIKAT » du logo) */
.hero__band {
  --band-line: var(--champagne-light);
  position: relative;
  overflow: hidden;
  padding-block: 1.1rem;
  background: rgba(255, 253, 250, 0.08);
}
.marquee {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
}
.marquee__item::after {
  content: "✦";
  content: "✦" / "";
  margin-inline: clamp(1rem, 0.6rem + 1.5vw, 2rem);
  font-family: var(--font-body);
  font-size: 0.6em;
  color: var(--white);
}
.hero__band:has(:focus-visible) .marquee,
.hero__band.is-paused .marquee { animation-play-state: paused; }
.marquee-toggle {
  position: absolute;
  right: max(12px, calc((100vw - var(--container)) / 2 + var(--gutter) - 56px));
  top: 50%;
  z-index: 1;
  width: 44px; height: 44px;
  margin-top: -22px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--pill);
  background: var(--taupe);
  color: var(--ink);
  cursor: pointer;
  opacity: 0.85;
  box-shadow: 0 0 0 1px rgba(31, 27, 24, 0.25) inset, -24px 0 24px 4px var(--taupe);
  transition: opacity 0.2s, background-color 0.2s;
}
@media (hover: hover) {
  .hero__band:hover .marquee { animation-play-state: paused; }
  .marquee-toggle:hover { opacity: 1; background: #b3a092; }
}
.marquee-toggle svg { width: 16px; height: 16px; }
.marquee-toggle .i-play { display: none; }
.hero__band.is-paused .marquee-toggle .i-play { display: block; }
.hero__band.is-paused .marquee-toggle .i-pause { display: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--white { background: var(--white); }
/* Deux sections blanches à la suite : la seconde se lit comme un chapitre de la première, sans long blanc */
.section--white + .section--white { padding-top: calc(var(--section) * 0.4); }

/* ---------- Prestations & tarifs ---------- */
.tabs {
  position: sticky;
  top: calc(var(--header-h) - 1px);
  z-index: 20;
  margin-bottom: var(--s-5);
  background: var(--paper);
  transition: top 0.35s var(--ease-out);
}
.tabs__list {
  position: relative;
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
}
/* Avec le script, le fondu suit le défilement (main.js) : à droite s'il reste des onglets, à gauche si on en a dépassé */
.js .tabs__list { -webkit-mask-image: none; mask-image: none; }
.js .tabs__list.can-right {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
}
.js .tabs__list.can-left {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px);
  mask-image: linear-gradient(90deg, transparent, #000 32px);
}
.js .tabs__list.can-left.can-right {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}
.tabs__list::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 0;
  background: transparent;
  color: var(--ink-64);
  font-size: var(--fs-16);
  cursor: pointer;
  border-radius: var(--radius-s) var(--radius-s) 0 0;
  transition: color 0.25s, background-color 0.25s;
}
@media (hover: hover) { .tab:hover { color: var(--ink); background: var(--ink-04); } }
.tab:focus-visible { outline-offset: -3px; }
.tab[aria-selected="true"] { color: var(--ink); font-weight: 500; }
.tabs__indicator {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: var(--w, 0);
  background: var(--ink);
  transform: translateX(var(--x, 0));
  transition: transform 0.5s var(--ease-out), width 0.5s var(--ease-out);
}

.js .panel { display: none; margin-bottom: 0; }
.js .panel.is-active { display: grid; }
.panel { display: grid; margin-bottom: var(--s-7); scroll-margin-top: 4.5rem; }
.panel[hidden] { display: none; }
/* Sans script (ou s'il échoue), les univers s'affichent les uns sous les autres, chacun avec son titre :
   la barre d'onglets, inutile, n'apparaît qu'une fois pilotée par main.js (classe tabs-ready) */
html:not(.js):not(.tabs-ready) .tabs { display: none; }
.panel {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.panel.is-active > * { animation: panel-in 0.7s var(--ease-out) both; }
.panel.is-active > *:nth-child(2) { animation-delay: 0.08s; }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } }

.panel__intro {
  position: sticky;
  top: calc(var(--header-h) + 90px);
  display: grid;
  gap: var(--s-3);
}
.panel__title {
  font-family: var(--font-display);
  font-size: var(--fs-48);
  line-height: 1.05;
}
.panel__text { color: var(--ink-82); font-size: var(--fs-18); line-height: 1.6; max-width: 40ch; }
.panel__cta { display: flex; flex-wrap: wrap; gap: 0.6rem; }
/* côte à côte s'ils tiennent, sinon l'un sous l'autre à largeur égale */
.panel__cta .btn { flex: 1 1 12rem; }

/* Vitrine de photos d'un univers : une bande qui défile de côté, photo par photo (défilement natif, aimanté).
   Avec le script : vignettes sur grand écran, compteur sur téléphone (main.js). Sans script : la bande défile
   seule, la photo suivante dépasse pour inviter à faire glisser. Photos en 5:3, en carré pour l'onglerie. */
.showcase { position: relative; display: grid; gap: 0.75rem; min-width: 0; }
/* Dans le code, la vitrine suit les tarifs (lecture et tabulation : texte, boutons, tarifs, puis photos) ;
   sur grand écran, la grille la remonte sous le texte et les boutons, à gauche des tarifs.
   L'introduction ne colle plus au défilement : elle glisserait sur la vitrine. */
.panel > .showcase { grid-column: 1; grid-row: 2; align-self: start; }
.panel:has(> .showcase) { grid-template-rows: auto 1fr; row-gap: var(--s-3); }
.panel:has(> .showcase) > .panel__intro { grid-row: 1; position: static; }
.panel:has(> .showcase) > .price-blocks { grid-column: 2; grid-row: 1 / span 2; }
.showcase__track {
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.js .showcase__track { scrollbar-width: none; }
.js .showcase__track::-webkit-scrollbar { display: none; }
.showcase__track:focus-visible { outline-offset: 2px; }
.showcase__slide { flex: 0 0 84%; min-width: 0; scroll-snap-align: start; }
/* espace après la dernière photo : elle peut venir se caler à gauche comme les autres */
.showcase__track::after { content: ""; flex: 0 0 calc(16% - 0.75rem); }
.showcase__figure { margin: 0; }
.showcase__frame {
  display: block;
  overflow: hidden;
  aspect-ratio: 5 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--taupe-soft);
}
.showcase--square .showcase__frame { aspect-ratio: 1 / 1; }
.showcase__frame img { width: 100%; height: 100%; object-fit: cover; }
.showcase__figure figcaption {
  margin-top: 0.55rem;
  font-size: var(--fs-14);
  line-height: 1.45;
  color: var(--ink-64);
}
.showcase__figure figcaption strong { color: var(--ink); font-weight: 500; }
/* vignettes : une par photo sur une ou deux rangées (--cols posé dans le HTML), la photo affichée est cerclée d'encre */
.showcase__thumbs { display: none; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); gap: 0.5rem; }
.showcase__thumb {
  min-width: 0;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--taupe-soft);
  box-shadow: 0 0 0 1px var(--line);
  opacity: 0.55;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.3s, box-shadow 0.3s;
}
.showcase__thumb img { width: 100%; height: 100%; object-fit: cover; }
.showcase__thumb[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); }
.showcase__thumb:focus-visible { opacity: 1; outline-offset: 4px; }
@media (hover: hover) { .showcase__thumb:hover { opacity: 0.9; } }
/* pastille posée sur la photo affichée : compteur « 2 / 12 », et sur grand écran flèches précédente / suivante */
.showcase__bar {
  display: none;
  position: absolute;
  top: 10px; left: 10px;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border-radius: var(--pill);
  background: rgba(255, 253, 250, 0.92);
  color: var(--ink);
}
.js .showcase__bar { display: flex; }
.showcase__count {
  margin: 0;
  padding: 0.1rem 0.45rem;
  font-size: var(--fs-12);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.showcase__arrow {
  display: none;
  place-items: center;
  width: 2rem; height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.25s, opacity 0.25s;
}
.showcase__arrow svg { width: 1rem; height: 1rem; }
.showcase__arrow:disabled { opacity: 0.3; cursor: default; }
@media (hover: hover) { .showcase__arrow:not(:disabled):hover { background: rgba(31, 27, 24, 0.08); } }
.showcase__arrow:active:not(:disabled) { background: rgba(31, 27, 24, 0.12); }
@media (min-width: 641px) {
  .js .showcase__slide { flex-basis: 100%; }
  .js .showcase__track::after { display: none; }
  .js .showcase__thumbs { display: grid; }
  .js .showcase__arrow { display: grid; }
}
@media (max-width: 640px) {
  /* la bande va jusqu'aux bords de l'écran, comme les avis */
  .showcase__track {
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .showcase__track:focus-visible { outline-offset: -2px; }
}
@media (forced-colors: active) {
  .showcase__thumb[aria-current="true"] { outline: 3px solid Highlight; outline-offset: 2px; }
  .showcase__bar { border: 1px solid CanvasText; }
}

.price-blocks {
  columns: 2 300px;
  column-gap: clamp(2rem, 1rem + 3vw, 3.5rem);
}
.price-block {
  break-inside: avoid;
  margin-bottom: var(--s-5);
  padding: var(--s-3) var(--s-3) var(--s-2);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}
.price-block__title {
  font-family: var(--font-display);
  font-size: var(--fs-24);
  line-height: 1.15;
}
.price-block__desc {
  margin-top: 0.5rem;
  color: var(--ink-64);
  font-size: var(--fs-14);
  line-height: 1.55;
}
.price-block__sub {
  margin-top: var(--s-3);
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--taupe-deep);
}
.price-block__note {
  margin-top: var(--s-2);
  padding-top: var(--s-2);
  border-top: 1px dashed var(--line);
  font-size: var(--fs-14);
  color: var(--ink-64);
}

.prices { margin-top: 0.5rem; }
.price {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  line-height: 1.45;
  gap: 0.5rem;
  padding: 0.55rem 0.5rem;
  margin-inline: -0.5rem;
  border-radius: var(--radius-s);
  transition: background-color 0.25s;
}
.price__name { transition: transform 0.35s var(--ease-out); }
.price__name small {
  display: block;
  margin-top: 0.1rem;
  color: var(--ink-64);
  font-size: var(--fs-12);
  line-height: 1.4;
}
.price__leader {
  height: 2px;
  margin-top: 1.02em;
  background-image: radial-gradient(circle, var(--ink-40) 0.8px, transparent 1.2px);
  background-size: 6px 2px;
  background-repeat: repeat-x;
  background-position: left center;
  min-width: 1.5rem;
  transition: opacity 0.3s;
}
.price__value {
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 500;
  white-space: nowrap;
}
.price--featured .price__name::before {
  content: "✦";
  content: "✦" / "";
  margin-right: 0.4em;
  color: var(--champagne-deep);
  font-size: 0.8em;
}
@media (hover: hover) {
  .price:hover { background: var(--paper); }
  .price:hover .price__name { transform: translateX(4px); }
  .price:hover .price__leader { background-image: radial-gradient(circle, var(--champagne-deep) 0.9px, transparent 1.3px); }
}

.prices-legend {
  margin-top: var(--s-2);
  font-size: var(--fs-14);
  color: var(--ink-64);
}
.prices-legend span { color: var(--champagne-deep); }

/* ---------- Avantages ---------- */
.perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--champagne);
  border-bottom: 1px solid var(--champagne);
}
.perk {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: var(--s-4) var(--s-3);
  background: var(--white);
  transition: background-color 0.4s;
}
@media (hover: hover) { .perk:hover { background: var(--paper); } }
.perk__figure {
  font-family: var(--font-display);
  font-size: var(--fs-48);
  line-height: 1;
  color: var(--taupe-deep);
}
.perk__figure sup { font-size: 0.42em; vertical-align: 0.95em; margin-left: 0.04em; }
.perk__title { font-weight: 600; }
.perk__text { color: var(--ink-64); font-size: var(--fs-14); line-height: 1.55; }

/* ---------- Réalisations ---------- */
.chip {
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--white);
  color: var(--ink-82);
  font-size: var(--fs-14);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--ease-out);
}
@media (hover: hover) { .chip:hover { border-color: var(--ink-40); transform: translateY(-1px); } }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Albums : une couverture carrée par prestation, toutes les photos s'ouvrent dans la visionneuse (main.js).
   Sans script, la liste des photos de chaque album s'affiche sous sa couverture (liens vers les images). */
.albums {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-4) clamp(0.75rem, 0.5rem + 1vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 700px) { .albums { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.album { position: relative; min-width: 0; }
.album__open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
/* la couverture : une photo posée sur une seconde, décalée, pour dire « album » */
.album__cover {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-l);
  background: var(--taupe-soft);
  box-shadow: 7px -7px 0 -1px var(--white), 7px -7px 0 0 var(--line);
  transition: box-shadow 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
/* l'arrondi est donné à l'image elle-même : entre elle et la couverture, la balise <picture> ne le transmet pas */
.album__cover img {
  width: 100%; height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  object-fit: cover;
}
@media (hover: hover) {
  .album__open:hover .album__cover { transform: translateY(-3px); box-shadow: 10px -10px 0 -1px var(--white), 10px -10px 0 0 var(--taupe-soft), var(--shadow-lift); }
}
.album__open:active .album__cover { transform: scale(0.985); }
.album__open:focus-visible { outline: none; }
.album__open:focus-visible .album__cover { outline: 2px solid var(--champagne-deep); outline-offset: 4px; }
.album__text { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.15rem 0.75rem; margin-top: 0.8rem; }
.album__title { font-family: var(--font-display); font-size: var(--fs-21); line-height: 1.15; color: var(--ink); }
.album__count { font-size: var(--fs-14); color: var(--ink-64); white-space: nowrap; }
/* sans script : la liste des photos, en petits liens */
.album__photos { display: flex; flex-wrap: wrap; gap: 0.2rem 0.9rem; margin: 0.6rem 0 0; padding: 0; list-style: none; font-size: var(--fs-12); }
.js .album__photos { display: none; }
/* téléphone : le neuvième album, seul sur sa ligne, prend toute la largeur */
@media (max-width: 699px) {
  .album:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .album:last-child:nth-child(odd) .album__cover { aspect-ratio: 2 / 1; }
  .album__title { font-size: var(--fs-18); }
}

.gallery-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  margin-top: var(--s-5);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  color: var(--ink-64);
}
.gallery-foot__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Visionneuse */
/* La fenêtre épouse les proportions de la photo (--ar, posé par main.js) : la photo garde des coins arrondis
   visibles, entourée d'une fine marge. --lb-chrome : hauteur de la barre du bas et des marges. */
.lightbox {
  --lb-chrome: 6.5rem;
  width: min(92vw, 900px, calc((92vh - var(--lb-chrome)) * var(--ar, 1) + 1.5rem));
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius-l);
  background: var(--white);
  color: var(--ink);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(31, 27, 24, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lb-in 0.45s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: translateY(20px) scale(0.98); } }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox__img { flex: 0 1 auto; min-height: 0; width: calc(100% - 1.5rem); height: auto; margin: 0.75rem 0.75rem 0; border-radius: var(--radius-m); object-fit: contain; background: var(--paper); touch-action: pan-y; user-select: none; -webkit-user-drag: none; }
.lightbox__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  padding: 0.75rem 1rem;
}
.lightbox__caption { flex: 1 1 12rem; min-width: 0; font-size: var(--fs-14); color: var(--ink-82); }
.lightbox__cta { display: flex; flex-wrap: wrap; gap: 0.4rem; }
/* flèches et fermeture toujours à droite, même quand la barre passe sur deux lignes */
.lightbox__nav { display: flex; gap: 0.4rem; margin-left: auto; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--paper);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.3s var(--ease-out);
}
@media (hover: hover) { .icon-btn:hover { background: var(--taupe-soft); transform: scale(1.05); } }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Infos pratiques ---------- */
.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.info-block + .info-block { margin-top: var(--s-5); }
.info-block__title {
  font-family: var(--font-display);
  font-size: var(--fs-36);
  line-height: 1.1;
  margin-bottom: var(--s-2);
}
/* le tableau déborde de ses marges intérieures : jours et heures s'alignent sur le titre « Horaires » */
.hours { width: calc(100% + 1.5rem); margin-inline: -0.75rem; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.hours th,
.hours td {
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
}
.hours td { text-align: right; }
.hours th, .hours td { transition: background-color 0.3s, border-color 0.3s; }
.hours tr.is-today > * { background: var(--paper); border-bottom-color: transparent; }
.hours tr.is-today th { border-radius: var(--radius-s) 0 0 var(--radius-s); }
.hours tr.is-today td { border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.hours tr.is-today th { font-weight: 600; }
.hours tr.is-today th::after {
  content: "Aujourd'hui";
  margin-left: 0.6rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--white);
  font-size: var(--fs-12);
  font-weight: 500;
  vertical-align: 0.1em;
}
.hours .is-closed { color: var(--ink-64); }
.hours-note { margin-top: 0.75rem; font-size: var(--fs-14); color: var(--ink-64); }

.contact-list { display: grid; gap: 0.25rem; }
.contact-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem;
  margin-inline: -0.6rem;
  border-radius: var(--radius-m);
  text-decoration: none;
  transition: background-color 0.25s;
}
@media (hover: hover) { .contact-item:hover { background: var(--white); } }
.contact-item__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--white);
  transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease-out);
}
.contact-item__icon svg { width: 18px; height: 18px; }
@media (hover: hover) {
  a.contact-item:hover .contact-item__icon { background: var(--ink); border-color: var(--ink); color: var(--white); transform: rotate(-8deg); }
}
.contact-item__label { display: block; font-size: var(--fs-12); color: var(--ink-64); }
.contact-item__value { display: block; font-weight: 500; overflow-wrap: anywhere; }

.map {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--taupe-soft);
  aspect-ratio: 4 / 3.4;
}
.map iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(0.85) sepia(0.28) contrast(0.95) brightness(1.02);
  transition: filter 0.6s;
}
@media (hover: hover) { .map:hover iframe { filter: none; } }
.map__pin {
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 6px rgba(31, 27, 24, 0.18);
  pointer-events: none;
}
.map-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: var(--s-2); }

/* ---------- Appel final ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--taupe);
  padding-block: clamp(4.5rem, 3rem + 6vw, 8rem);
}
.cta__mark {
  position: absolute;
  right: -4%;
  top: 50%;
  width: min(46vw, 520px);
  transform: translateY(-50%);
  opacity: 0.14;
  pointer-events: none;
}
.cta__inner { position: relative; max-width: 720px; }
.cta__title {
  font-family: var(--font-display);
  font-size: var(--fs-60);
  line-height: 1.02;
}
.cta__text { margin-top: var(--s-2); font-size: var(--fs-18); color: var(--ink); max-width: 46ch; }
.cta__alt { margin-top: var(--s-3); font-size: var(--fs-14); color: var(--ink); }
.cta__alt a { font-weight: 500; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--s-4); }
.cta .btn--ghost { box-shadow: inset 0 0 0 1px rgba(31, 27, 24, 0.5); }
@media (hover: hover) { .cta .btn--ghost:hover { background: rgba(255, 253, 250, 0.18); } }

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 253, 250, 0.72);
  padding-block: var(--s-10) var(--s-4);
  font-size: var(--fs-14);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: var(--s-5);
}
.footer-brand img { width: 96px; }
.footer-brand p { margin-top: var(--s-2); max-width: 30ch; }
.footer-title { color: var(--white); font-weight: 500; margin-bottom: 0.75rem; font-size: var(--fs-14); }
.footer-links { display: grid; gap: 0; }
.footer-links a,
.footer-links button { display: inline-block; padding-block: 0.45rem; }
.footer-links a,
.footer-links button {
  padding-inline: 0;
  border: 0;
  background: none;
  color: rgba(255, 253, 250, 0.72);
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
@media (hover: hover) { .footer-links a:hover, .footer-links button:hover { color: var(--champagne-light); } }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: var(--s-7);
  padding-top: var(--s-3);
  border-top: 1px solid rgba(255, 253, 250, 0.14);
  color: rgba(255, 253, 250, 0.6);
}
.site-footer :focus-visible { outline-color: var(--champagne-light); }

/* Mentions légales */
.legal {
  width: min(92vw, 640px);
  max-height: 86vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius-l);
  background: var(--white);
  color: var(--ink);
}
.legal::backdrop { background: rgba(31, 27, 24, 0.6); }
.legal__inner { padding: var(--s-4); }
.legal h2 { font-family: var(--font-display); font-size: var(--fs-36); margin-bottom: var(--s-2); }
.legal h3 { font-weight: 600; margin-top: var(--s-3); margin-bottom: 0.3rem; font-size: var(--fs-16); }
.legal p { color: var(--ink-82); font-size: var(--fs-14); }
.legal__close { position: sticky; top: 0; float: right; margin: var(--s-2); }
html:not(.js) dialog.legal:target:not([open]) { display: block; position: static; width: auto; max-width: 640px; max-height: none; margin: var(--s-5) auto; }
html:not(.js) dialog.legal:target:not([open]) .legal__close { display: none; }

/* ---------- Barre d'action mobile ---------- */
.mobile-bar {
  position: fixed;
  left: 12px; right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 90;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(31, 27, 24, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px -12px rgba(31, 27, 24, 0.5);
  transform: translateY(140%);
  transition: transform 0.5s var(--ease-out);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { min-height: 46px; padding-inline: 0.75rem; }
.mobile-bar .btn.has-when { flex-wrap: wrap; align-content: center; gap: 0 0.6em; padding-block: 0.3rem; }
.mobile-bar__when { flex-basis: 100%; font-size: var(--fs-12); font-weight: 400; line-height: 1.15; text-align: center; opacity: 0.75; }
/* institut fermé : Instagram passe en tête, déplacé dans la page par main.js (ordre de tabulation compris) */

/* ---------- Révélations au défilement ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }

/* Les filets des bandes se dessinent depuis le centre */
.js .band[data-reveal] { opacity: 1; transform: none; }
.js .band[data-reveal]::before,
.js .band[data-reveal]::after {
  transform: scaleX(0);
  transition: transform 1.3s var(--ease-out);
}
.js .band[data-reveal]::after { transition-delay: 0.15s; }
.js .band[data-reveal].is-visible::before,
.js .band[data-reveal].is-visible::after { transform: scaleX(1); }
.js .band[data-reveal] > * {
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity 0.9s var(--ease-out) 0.35s, transform 0.9s var(--ease-out) 0.35s;
}
.js .band[data-reveal].is-visible > * { opacity: 1; transform: none; }

/* Séquence d'ouverture du héros (une seule, orchestrée) */
.js .hero__title .line > span { transform: translateY(105%); }
.js .hero__kicker,
.js .hero__actions,
.js .hero__links,
.js .hero__rating,
.js .today { opacity: 0; transform: translateY(14px); }
.js .hero__photo { clip-path: inset(100% 0 0 0 round 12px); }
.js .hero__monogram { opacity: 0; transform: scale(0.92); }
.js .hero__band::before,
.js .hero__band::after { transform: scaleX(0); }
.js .hero__band .marquee { opacity: 0; }

.is-loaded .hero__title .line > span { transform: none; transition: transform 1.1s var(--ease-out); }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: 0.1s; }
.is-loaded .hero__kicker,
.is-loaded .hero__actions,
.is-loaded .hero__links,
.is-loaded .hero__rating,
.is-loaded .today[data-state] { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
/* le paragraphe d'accroche reste visible (c'est le plus grand texte affiché, donc le LCP) : il ne fait que glisser */
.js .hero__lead { transform: translateY(12px); }
.is-loaded .hero__lead { transform: none; transition: transform 0.9s var(--ease-out) 0.35s; }
.is-loaded .hero__actions { transition-delay: 0.45s; }
.is-loaded .hero__links { transition-delay: 0.5s; }
.is-loaded .today[data-state] { transition-delay: 0.55s; }
.is-loaded .hero__rating { transition-delay: 0.6s; }
.is-loaded .hero__photo { clip-path: inset(0 0 0 0 round 12px); transition: clip-path 1.4s var(--ease-in-out); }
.is-loaded .hero__photo--a { transition-delay: 0.2s; }
.is-loaded .hero__photo--b { transition-delay: 0.4s; }
.is-loaded .hero__photo--c { transition-delay: 0.6s; }
.is-loaded .hero__monogram { opacity: 0.9; transform: none; transition: opacity 1.2s ease 1.1s, transform 1.2s var(--ease-out) 1.1s; }
.is-loaded .hero__band::before,
.is-loaded .hero__band::after { transform: scaleX(1); transition: transform 1.6s var(--ease-out) 0.7s; }
.is-loaded .hero__band .marquee { opacity: 1; transition: opacity 1s ease 1.2s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .panel { grid-template-columns: minmax(0, 1fr); }
  .panel__intro { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: center; }
  /* vitrine à droite du texte et des boutons, tarifs dessous sur toute la largeur */
  .panel:has(> .showcase) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    grid-template-rows: auto auto;
    column-gap: var(--s-3);
    row-gap: clamp(2rem, 1rem + 4vw, 5rem);
  }
  .panel:has(> .showcase) > .panel__intro { grid-template-columns: minmax(0, 1fr); }
  .panel:has(> .showcase) > .showcase { grid-column: 2; grid-row: 1; }
  .panel:has(> .showcase) > .price-blocks { grid-column: 1 / -1; grid-row: 2; }
}

/* Entre 1000 et 1180 px, le menu tient sur une ligne en resserrant les espacements */
@media (min-width: 1000px) and (max-width: 1180px) {
  .nav { gap: 1.25rem; }
  .nav__list { gap: 1rem; }
}

/* Sous 1000 px (tablette à l'horizontale comprise), le menu passe en plein écran derrière le bouton « Menu » */
@media (max-width: 999px) {
  :root { --header-h: 64px; --header-base: 64px; }
  .menu-toggle { display: inline-flex; }
  html:not(.js) .menu-toggle { display: none; } /* sans script, le bouton n'ouvrirait rien : les sections se parcourent en défilant */
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: -1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--s-5);
    padding: var(--s-3) var(--gutter) var(--s-5);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0s linear 0.4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease-out); }
  .nav__list { flex-direction: column; gap: 0; margin-top: auto; }
  /* marges automatiques : contenu centré s'il tient, défilement depuis le haut sinon */
  .nav > .btn { margin-bottom: auto; flex: none; }
  .nav__link {
    display: block;
    padding-block: 0.9rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: var(--fs-36);
    white-space: normal;
    color: var(--ink);
  }
  .nav__link::after { display: none; }
  .nav.is-open .nav__list li { animation: menu-in 0.6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms + 80ms); }
  @keyframes menu-in { from { opacity: 0; transform: translateY(12px); } }
  .nav .btn { width: 100%; }
  /* fond plein, comme le menu en dessous (le voile translucide laissait voir le héros) */
  .site-header.menu-open::before { opacity: 1; background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* le bouton d'appel de l'en-tête est dans le menu : la barre d'appel prend le relais */
  .mobile-bar { display: grid; }
  .site-footer { padding-bottom: calc(var(--s-4) + 80px); }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__media { justify-self: center; max-width: 520px; }
  .info-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 999px) and (max-height: 560px) {
  .nav { gap: var(--s-3); }
  .nav__link { font-size: var(--fs-24); padding-block: 0.6rem; }
}

/* Écran bas (téléphone à l'horizontale, zoom 200 %) : la barre d'onglets ne suit plus le défilement
   et la barre d'appel s'affine, pour laisser de la hauteur aux tarifs */
@media (max-height: 520px) {
  .tabs { position: static; }
  .mobile-bar { padding: 4px; bottom: max(6px, env(safe-area-inset-bottom)); }
  .mobile-bar .btn { min-height: 40px; }
}

@media (max-width: 640px) {
  /* les tarifs d'abord : une seule colonne, la vitrine de photos à sa place dans le code, sous les tarifs */
  .panel { row-gap: var(--s-3); }
  .panel__intro { grid-template-columns: minmax(0, 1fr); }
  .panel > .price-blocks { margin-top: var(--s-1); }
  .panel > .showcase { grid-column: auto; grid-row: auto; margin-top: calc(var(--s-1) - var(--s-5)); }
  .panel:has(> .showcase) { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: var(--s-3); }
  .panel:has(> .showcase) > .panel__intro,
  .panel:has(> .showcase) > .showcase,
  .panel:has(> .showcase) > .price-blocks { grid-column: auto; grid-row: auto; }
  .panel__cta .btn { flex: 1 1 auto; }
  .lightbox { --lb-chrome: 10.5rem; } /* la barre passe sur deux lignes */
  .lightbox__caption { flex-basis: 0; }
  .lightbox__cta { order: 1; flex: 1 1 100%; }
  .lightbox__cta .btn { flex: 1 1 0; }
  .price-block { padding: var(--s-2) var(--s-2) 0.5rem; }
  .perks { grid-template-columns: minmax(0, 1fr); }
  .perk { padding-inline: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn,
  .cta__actions .btn { flex: 1 1 100%; }
  .thanks__actions { justify-self: stretch; }
  .thanks__actions .btn { flex: 1 1 100%; }
  /* liens et statut resserrés, note Google toujours sous le statut : la composition photo remonte à côté de cette ligne courte,
     et la petite photo du haut reste entière sur un écran de 375 × 812 */
  .hero__grid { row-gap: 0.25rem; }
  .hero__links { margin-top: 0.6rem; }
  .hero__meta { flex-direction: column; align-items: flex-start; row-gap: 0.2rem; margin-top: 0.5rem; }
  .gallery-foot__actions { flex: 1 1 100%; }
  .gallery-foot__actions .btn { flex: 1 1 0; }
  /* le monogramme passe derrière la fin du titre, loin du texte et des boutons */
  .cta__mark { top: -1.5rem; right: -12%; width: min(50vw, 400px); transform: none; opacity: 0.1; }
  .brand__name { display: none; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .marquee { animation: none; width: auto; }
  .marquee__group { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; row-gap: 0.75rem; padding-inline: var(--gutter); }
  .marquee__group[aria-hidden="true"], .marquee-toggle { display: none; }
  .hero__photo { will-change: auto; }
}

/* ---------- Impression ---------- */
@media print {
  .site-header, .mobile-bar, .hero__media, .hero__band, .map, .map-actions, .albums, .gallery-foot,
  .cta, .tabs, .panel__cta, .showcase, .skip-link, #realisations { display: none !important; }
  .panel, .panel[hidden] { display: block !important; break-inside: auto; margin-bottom: var(--s-7) !important; }
  .panel__intro { position: static; }
  .js [data-reveal], .js .band[data-reveal] > * { opacity: 1 !important; transform: none !important; }
  .js .band[data-reveal]::before, .js .band[data-reveal]::after { transform: none !important; }
  .site-footer, .site-footer a, .site-footer button, .footer-title, .footer-bottom { color: #000 !important; background: #fff !important; }
  .footer-brand img { filter: invert(1); }
  .hours tr.is-today th::after { display: none; }
  body, .hero, .section--white { background: #fff !important; }
}

/* Univers à une seule carte : la liste se répartit sur deux colonnes */
.price-blocks--single { columns: auto; }
.price-blocks--single .price-block { padding: var(--s-3) var(--s-4) var(--s-3); }
.price-blocks--single .prices { columns: 2 250px; column-gap: clamp(2rem, 1rem + 2vw, 3rem); }
.price-blocks--single .price,
.price-blocks--single .price-block__sub { break-inside: avoid; }
.price-blocks--single .price-block__sub:first-child { margin-top: 0; }
.price-block > .price-block__sub:first-child { margin-top: 0; }

.price-block__note .star { color: var(--champagne-deep); }

/* Avis client cité mot pour mot à côté des tarifs (copie d'un extrait de la section Avis) */
.panel__quote {
  margin: var(--s-2) 0 0;
  padding-left: var(--s-2);
  border-left: 2px solid var(--champagne);
}
.panel__quote blockquote { margin: 0; }
.panel__quote blockquote p { font-size: var(--fs-14); line-height: 1.55; color: var(--ink-82); }
.panel__quote figcaption { margin-top: 0.4rem; font-size: var(--fs-12); color: var(--ink-64); }
/* citation placée après les cartes de tarifs (maquillage) : équilibre les deux colonnes */
.price-blocks > .panel__quote { break-inside: avoid; margin: 0 0 var(--s-5); }
/* Renvoi vers un autre univers qui traite la même zone (sourcils) */
.see-also {
  margin-top: var(--s-2);
  font-size: var(--fs-14);
  line-height: 1.5;
  color: var(--ink-64);
}
.see-also .link { padding-block: 0.2rem; background-origin: content-box; }

/* Sur ordinateur, le numéro s'affiche dans les boutons d'appel (un lien tel: n'y compose rien) */
.btn__num { display: none; }
@media (hover: hover) and (pointer: fine) {
  .btn__num { display: inline; }
  .btn__label--touch { display: none; }
  /* visionneuse dans une fenêtre étroite : « Réserver au 05… » ne tient pas dans une demi-largeur ;
     chaque bouton prend la largeur de son texte et passe à la ligne s'il le faut */
  .lightbox__cta .btn { flex-basis: auto; }
}
.cta .link { color: var(--ink); }
.menu-open .progress { opacity: 0; }

/* ---------- Avis clients ---------- */
.reviews {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.score {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}
.score__value {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 3rem + 5vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.score__value small { font-size: 0.32em; color: var(--ink-64); letter-spacing: 0; }
.stars {
  position: relative;
  display: inline-block;
  width: 136px;
  height: 24px;
  --fill: 0;
}
.stars svg { position: absolute; inset: 0; width: 136px; height: 24px; }
.stars__base { color: var(--taupe-soft); }
.stars__fill {
  color: var(--champagne-deep);
  clip-path: inset(0 calc(100% - var(--fill) * 100%) 0 0);
  transition: clip-path 1.6s var(--ease-out) 0.2s;
}
.js .score:not(.is-visible) .stars__fill { clip-path: inset(0 100% 0 0); }
.score__count { color: var(--ink-82); }
.score__note { max-width: 36ch; font-size: var(--fs-12); line-height: 1.5; color: var(--ink-64); }
/* Lire / donner un avis : bouton et lien discret côte à côte */
.score__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-3); }
.score__review { padding-block: 0.6rem; font-size: var(--fs-14); background-origin: content-box; }

.quotes {
  columns: 2 280px;
  column-gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.quote {
  position: relative;
  break-inside: avoid;
  margin: 0 0 clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  padding: var(--s-4) 0 0;
  border-top: 1px solid var(--champagne);
}
.quote::before {
  content: "“";
  content: "“" / "";
  position: absolute;
  top: -0.05em;
  right: 0;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--champagne);
  transition: transform 0.6s var(--ease-out), color 0.4s;
}
@media (hover: hover) { .quote:hover::before { transform: translateY(-6px) rotate(-6deg); color: var(--champagne-deep); } }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-size: var(--fs-18);
  line-height: 1.6;
  color: var(--ink);
  max-width: 48ch;
}
.quote figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: var(--s-2);
  font-size: var(--fs-14);
  color: var(--ink-64);
}
.quote figcaption strong { color: var(--ink); font-weight: 600; }
.quote__tag {
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-size: var(--fs-12);
  color: var(--ink-82);
}
.quote__stars { color: var(--champagne-deep); letter-spacing: 0.1em; }

/* ---------- Questions fréquentes ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.faq + .faq { margin-top: var(--s-10); }
.faq__title {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  font-family: var(--font-display);
  font-size: var(--fs-36);
  line-height: 1.1;
}
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: 56px;
  padding: var(--s-3) 0;
  font-size: var(--fs-18);
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  transition: color 0.25s, padding-left 0.4s var(--ease-out);
}
.faq__item summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .faq__item summary:hover { padding-left: 6px; } }
.faq__icon {
  position: relative;
  flex: none;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--white);
  transition: transform 0.45s var(--ease-out), background-color 0.3s, border-color 0.3s;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: var(--ink);
  transition: transform 0.45s var(--ease-out), background-color 0.3s;
}
.faq__icon::after { transform: rotate(90deg); }
@media (hover: hover) { .faq__item summary:hover .faq__icon { border-color: var(--ink-40); } }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: var(--white); }
.faq__answer {
  padding: 0 0 var(--s-3);
  max-width: 62ch;
  color: var(--ink-82);
  line-height: 1.65;
}
.faq__answer p + p { margin-top: 0.75rem; }
/* Ouverture animée là où le navigateur sait animer la hauteur d'un <details> */
@supports (interpolate-size: allow-keywords) {
  .faq__list { interpolate-size: allow-keywords; }
  .faq__item::details-content {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: height 0.5s var(--ease-out), opacity 0.4s, content-visibility 0.5s allow-discrete;
  }
  .faq__item[open]::details-content { height: auto; opacity: 1; }
}
.faq-foot {
  margin-top: var(--s-5);
  color: var(--ink-64);
}

.quotes-hint { display: none; margin-top: var(--s-2); font-size: var(--fs-14); color: var(--ink-64); }
@media (max-width: 860px) {
  .reviews,
  .faq { grid-template-columns: minmax(0, 1fr); }
  .reviews > * { min-width: 0; }
  .score,
  .faq__title { position: static; }
  .score { grid-template-columns: auto 1fr; align-items: center; column-gap: var(--s-3); }
  .score__value { grid-row: span 2; }
  .score__note, .score__actions { grid-column: 1 / -1; }
  /* avis en carrousel à balayer */
  .quotes {
    columns: auto;
    display: flex;
    gap: var(--s-2);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .quotes::-webkit-scrollbar { display: none; }
  .quotes:focus-visible { outline-offset: -2px; }
  .quote {
    flex: 0 0 min(84%, 340px);
    scroll-snap-align: start;
    margin: 0;
    padding: var(--s-4) var(--s-3) var(--s-3);
    border: 1px solid var(--line);
    border-top: 2px solid var(--champagne);
    border-radius: var(--radius-m);
    background: var(--white);
  }
  .quote::before { right: var(--s-2); }
  .quote blockquote p { font-size: var(--fs-16); }
  .quotes-hint { display: block; }
  /* les cartes hors champ du carrousel ne sont jamais « vues » : c'est la bande entière qui apparaît */
  .js .quotes > .quote[data-reveal] { opacity: 1; transform: none; transition: none; }
}
@media (min-width: 861px) {
  .js .quotes[data-reveal] { opacity: 1; transform: none; }
}

/* Compléments : distinction, accès */
.score__award { max-width: 30ch; font-size: var(--fs-14); line-height: 1.45; color: var(--ink); }
.score__award span { color: var(--champagne-deep); margin-right: 0.3em; }
.score__award sup { font-size: 0.7em; }
.access { display: grid; gap: 0.5rem; margin-top: var(--s-2); font-size: var(--fs-14); line-height: 1.55; color: var(--ink-82); }
.access strong { color: var(--ink); font-weight: 600; }

/* ---------- Cartes cadeaux ---------- */
.gift {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.gift__preview {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  min-width: 0;
  display: grid;
  gap: var(--s-2);
  perspective: 1200px;
}
.gift__caption { font-size: var(--fs-14); color: var(--ink-64); max-width: 46ch; }

/* La carte (aussi utilisée sur la page de confirmation) */
.giftcard {
  --gc-bg: var(--taupe);
  --gc-fg: var(--ink);
  --gc-soft: rgba(31, 27, 24, 0.9);
  --gc-line: rgba(255, 253, 250, 0.55);
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  aspect-ratio: 1.586;
  width: 100%;
  min-width: 0;
  max-width: 560px;
  padding: clamp(1rem, 0.6rem + 1.6vw, 1.75rem);
  overflow: hidden;
  overflow: clip;
  border-radius: 18px;
  background: var(--gc-bg);
  color: var(--gc-fg);
  box-shadow: 0 30px 60px -28px rgba(31, 27, 24, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease-out), background-color 0.5s, color 0.5s;
  isolation: isolate;
}
.giftcard::before { /* grain papier */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.giftcard--creme { --gc-bg: var(--paper); --gc-fg: var(--ink); --gc-soft: var(--taupe-deep); --gc-line: var(--champagne); }
.giftcard--noir { --gc-bg: var(--ink); --gc-fg: var(--champagne-light); --gc-soft: rgba(234, 220, 188, 0.75); --gc-line: rgba(201, 174, 124, 0.6); }
.giftcard__sheen {
  position: absolute;
  inset: -40%;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at var(--sx, 30%) var(--sy, 20%), rgba(255, 255, 255, 0.35), transparent 38%);
  mix-blend-mode: soft-light;
  opacity: var(--so, 0.5);
  transition: opacity 0.4s;
}
.giftcard__top { display: flex; justify-content: space-between; align-items: flex-start; }
.giftcard__logo { width: clamp(44px, 12%, 64px); height: auto; }
/* logo servi en AVIF (balise <picture>) : c'est elle qui prend la largeur du logo dans la rangée */
.giftcard__top > picture { flex: none; width: clamp(44px, 12%, 64px); }
.giftcard__top > picture > .giftcard__logo { display: block; width: 100%; }
.giftcard__label {
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.8rem + 0.8vw, 1.35rem);
  line-height: 1;
}
.giftcard__amount {
  align-self: center;
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 4vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.giftcard__amount span { display: inline-block; transition: transform 0.4s var(--ease-out), opacity 0.3s; }
.giftcard__amount.is-bumping span { transform: translateY(-6px); opacity: 0.4; }
.giftcard__band {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.2rem 1rem;
  padding-block: 0.55rem;
  font-size: clamp(0.78rem, 0.7rem + 0.3vw, 0.95rem);
  color: var(--gc-soft);
}
.giftcard__band::before,
.giftcard__band::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--gc-line);
}
.giftcard__band::before { top: 0; }
.giftcard__band::after { bottom: 0; }
.giftcard__band strong { color: var(--gc-fg); font-weight: 600; }
.giftcard__foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.55rem;
  font-size: clamp(0.75rem, 0.68rem + 0.25vw, 0.85rem);
  color: var(--gc-soft);
}
.giftcard__code { white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: 0.06em; color: var(--gc-fg); }
.giftcard__message {
  margin-top: var(--s-2);
  padding: var(--s-2) var(--s-3);
  border-left: 2px solid var(--champagne);
  font-family: var(--font-display);
  font-size: var(--fs-18);
  line-height: 1.45;
  color: var(--ink);
  max-width: 560px;
  overflow-wrap: anywhere;
}
.giftcard__message:empty { display: none; }

/* Formulaire */
.gift__form { display: grid; gap: var(--s-4); }
.gift__form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.gift__form legend,
.field > label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.field { display: grid; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.hint { margin-top: 0.4rem; font-size: var(--fs-12); color: var(--ink-64); }
.input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(31, 27, 24, 0.5);
  border-radius: var(--radius-s);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
@media (hover: hover) { .input:hover { border-color: var(--ink-64); } }
.input:focus { outline: 2px solid var(--champagne-deep); outline-offset: 2px; border-color: var(--ink); background: var(--white); box-shadow: var(--shadow-soft); }
.input[aria-invalid="true"] { border-color: #a4392f; }
textarea.input { min-height: 96px; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--paper);
  font-variant-numeric: tabular-nums;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--ease-out);
}
@media (hover: hover) { .choice:hover span { border-color: var(--ink-40); transform: translateY(-1px); } }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.choice input:focus-visible + span { outline: 2px solid var(--champagne-deep); outline-offset: 3px; }
.custom-amount { display: none; align-items: center; gap: 0.5rem; margin-top: 0.75rem; max-width: 220px; }
.custom-amount.is-shown { display: flex; }
.custom-amount .input { text-align: right; font-variant-numeric: tabular-nums; }
.gift-ideas { margin-top: var(--s-3); }
.gift-ideas__title { margin-bottom: 0.6rem; font-size: var(--fs-14); color: var(--ink-82); }
.gift-ideas__list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.gift-idea {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--white);
  color: var(--ink-82);
  font-size: var(--fs-14);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--ease-out);
}
@media (pointer: coarse) { .gift-idea { min-height: 44px; } }
.gift-idea__price { color: var(--taupe-deep); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (hover: hover) { .gift-idea:hover { border-color: var(--ink-40); transform: translateY(-1px); } }
.gift-idea[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.gift-idea[aria-pressed="true"] .gift-idea__price { color: var(--ink); }
.gift-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-size: var(--fs-14);
  color: var(--ink-82);
}
.gift-facts li { display: inline-flex; align-items: baseline; gap: 0.45rem; }
.gift-facts li::before { content: "✦"; content: "✦" / ""; font-size: 0.75em; color: var(--champagne-deep); }
.swatch { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(31, 27, 24, 0.25); }
.swatch--taupe { background: var(--taupe); }
.swatch--creme { background: var(--paper); }
.swatch--noir { background: var(--ink); box-shadow: inset 0 0 0 2px var(--champagne); }
.check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--fs-14); line-height: 1.5; }
.check input { width: 20px; height: 20px; margin-top: 0.1rem; accent-color: var(--ink); flex: none; }
.linklike { padding: 0; border: 0; background: none; color: var(--taupe-deep); font: inherit; font-weight: 500; text-decoration: underline; cursor: pointer; }
@media (hover: hover) { .linklike:hover { color: var(--ink); } }
.form-error {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-s);
  background: #f6e3df;
  color: #7a2a22;
  font-size: var(--fs-14);
}
.form-error[hidden] { display: none; }
.gift__pay { width: 100%; min-height: 56px; font-size: var(--fs-18); }
.gift__pay[aria-disabled="true"] { opacity: 0.8; cursor: progress; }
.gift__pay:disabled { opacity: 0.6; cursor: not-allowed; }
.gift__secure { display: flex; align-items: center; gap: 0.5rem; justify-content: center; font-size: var(--fs-14); color: var(--ink-64); }
.gift__secure svg { width: 16px; height: 16px; }
.gift__offline { margin-top: 0; justify-self: center; max-width: 46ch; text-align: center; font-size: var(--fs-14); }
.form-error .link { color: inherit; }
.counter { justify-self: end; margin-top: 0.3rem; font-size: var(--fs-12); color: var(--ink-64); font-variant-numeric: tabular-nums; }

/* Conditions de vente */
.cgv h3 { margin-top: var(--s-3); }
.cgv ul { list-style: disc; padding-left: 1.2rem; margin: 0.3rem 0 0; }
.cgv li { color: var(--ink-82); font-size: var(--fs-14); margin-top: 0.25rem; }

@media (max-width: 860px) {
  .gift { grid-template-columns: minmax(0, 1fr); }
  .gift__preview { position: static; }
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: minmax(0, 1fr); }
}

/* Page de confirmation */
.thanks { padding-top: calc(var(--header-base, 72px) + var(--s-7)); padding-bottom: var(--s-12); min-height: 100vh; }
.thanks__inner { display: grid; gap: var(--s-4); justify-items: start; max-width: 640px; }
.thanks__title { font-family: var(--font-display); font-size: var(--fs-48); line-height: 1.05; }
.thanks__text { font-size: var(--fs-18); color: var(--ink-82); max-width: 52ch; }
.thanks__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.thanks__meta { font-size: var(--fs-14); color: var(--ink-64); }
.thanks__slow { animation: thanks-slow 0.4s ease 8s both; }
@keyframes thanks-slow { from { opacity: 0; visibility: hidden; } }
.thanks .giftcard { transform: none; }
@media print {
  body.thanks-page * { visibility: hidden; }
  body.thanks-page .print-area, body.thanks-page .print-area * { visibility: visible; }
  body.thanks-page .print-area { position: absolute; left: 0; top: 0; width: 15cm; }
  body.thanks-page .giftcard { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Carte cadeau : compléments d'accessibilité */
@media (forced-colors: active) {
  .choice input:checked + span { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
  .choice input:focus-visible + span { outline-color: CanvasText; }
  .tabs__indicator { forced-color-adjust: none; background: Highlight; height: 3px; }
  .tab[aria-selected="true"] { text-decoration: underline 2px; text-underline-offset: 6px; }
  .chip[aria-pressed="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
  .gift-idea[aria-pressed="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; box-shadow: none; }
  .gift-idea[aria-pressed="true"] .gift-idea__price { color: HighlightText; }
  /* fonds et ombres disparaissent : un contour garde la forme des boutons */
  .btn { border: 1px solid; }
}
@media (max-width: 999px) {
  html { scroll-padding-bottom: 96px; }
}
.check label { cursor: pointer; }
.thanks__code { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; font-size: var(--fs-18); }
.thanks__code strong { font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
@media print { #copy-code, .thanks__hint { display: none !important; } }

/* ---------- Écrans tactiles : retour au toucher ---------- */
/* Sans survol, les commandes s'enfoncent légèrement sous le doigt (le reflet gris du navigateur est retiré en haut du fichier) */
@media (hover: none) {
  .btn:active, .chip:active, .icon-btn:active { transform: scale(0.97); transition-duration: 0.12s; }
  .choice input:active + span { transform: scale(0.97); }
  .faq__item summary:active { color: var(--taupe-deep); }
}
