/* ==========================================================================
   Barber 2Y — feuille de style
   ========================================================================== */

/* Polices auto-hébergées (pas d'appel à Google Fonts : aucune IP transmise à Google, conforme RGPD) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("fonts/montserrat-latin.woff2") format("woff2");
}

:root {
  /* Couleurs (Charte Graphique) */
  --noir: #0b0b0b;
  --gris-fonce: #333333;
  --gris-moyen: #666666;
  --gris-clair: #d9d9d9;
  --blanc: #ffffff;
  --or: #daaf37;
  --or-clair: #f2c76b;
  --gris-metal: #e6e7ea;
  --chrome: #b9bcc0;

  /* Rôles */
  --bg: var(--blanc);
  --bg-alt: var(--gris-metal);
  --bg-dark: var(--noir);
  --text: var(--gris-fonce);
  --text-muted: var(--gris-moyen);
  --text-on-dark: var(--blanc);
  --accent: var(--or);
  --accent-hover: var(--or-clair);
  --border: var(--gris-clair);

  /* Typo */
  --font-title: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Rythme */
  --radius: 12px;
  --shadow: 0 8px 24px rgba(11, 11, 11, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 11, 11, 0.16);
  --section-pad-y: clamp(3rem, 8vw, 6rem);
  --section-pad-x: clamp(1.25rem, 5vw, 3rem);
  --max-width: 1280px;
  --header-h: 96px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

/* L'attribut hidden doit gagner sur les display: flex des composants */
[hidden] {
  display: none !important;
}

/* <picture> ne sert qu'au choix du format (WebP) : l'<img> garde la mise en page */
picture {
  display: contents;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--noir);
}

h2 {
  font-weight: 700;
}

h3 {
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

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

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--noir);
  color: var(--blanc);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Layout utils ---------- */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--section-pad-x);
}

.section {
  padding-block: var(--section-pad-y);
}

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--gris-clair);
}

.section--dark h2,
.section--dark h3 {
  color: var(--blanc);
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: clamp(2rem, 5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-title--left {
  text-align: left;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.grid {
  display: grid;
  gap: clamp(1rem, 3vw, 1.75rem);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

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

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

@media (max-width: 1023px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .grid--4,
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--noir);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  border-color: var(--noir);
  color: var(--noir);
}

.btn-outline:hover {
  background: var(--noir);
  color: var(--blanc);
}

.btn-outline--light {
  background: transparent;
  border-color: var(--blanc);
  color: var(--blanc);
}

.btn-outline--light:hover {
  background: var(--blanc);
  color: var(--noir);
}

.btn-link {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px; /* zone de tap confortable sur mobile */
}

.btn-link:hover {
  color: var(--or-clair);
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 11, 11, var(--header-alpha, 0.97));
  border-bottom: 1px solid rgba(255, 255, 255, calc(var(--header-alpha, 0.97) * 0.1));
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.6rem;
}

.brand {
  --brand-h: 74px;
  position: relative;
  display: flex;
  align-items: center;
  z-index: 2;
}

.brand__wordmark {
  height: var(--brand-h);
  width: auto;
  /* filter/scale (et non opacity/transform) : sinon l'animation d'entrée (fill-mode both) bloque le fondu au scroll */
  transition: filter 0.4s ease, scale 0.4s ease;
  animation: medal-spin-in 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.brand__popout {
  position: absolute;
  left: 0;
  top: 6px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.7);
  transform-origin: top left;
  transition: opacity 0.45s cubic-bezier(0.16, 0.8, 0.24, 1), transform 0.45s cubic-bezier(0.16, 0.8, 0.24, 1);
}

.brand__badge {
  height: 108px;
  width: 108px;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
}

/* Nom à droite du médaillon au scroll (reprend le lettrage du logo : argent + "2Y" or) */
.brand__name {
  /* Centré sur la hauteur du header (et non sur le médaillon qui déborde en bas) */
  align-self: flex-start;
  margin: calc(var(--brand-h) / 2 - 6px) 0 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  white-space: nowrap;
  opacity: 0;
  translate: -10px 0;
  transition: opacity 0.4s ease 0.15s, translate 0.4s cubic-bezier(0.16, 0.8, 0.24, 1) 0.15s;
}

.brand__name-main {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, var(--chrome) 55%, #8d9095 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand__name-accent {
  background: linear-gradient(180deg, var(--or-clair) 0%, var(--or) 60%, #a8841f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand__name-tag {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(0.5rem, 0.7vw, 0.58rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--or);
  padding-top: 0.35rem;
  border-top: 1px solid rgba(218, 175, 55, 0.35);
}

.header.is-scrolled .brand__name {
  opacity: 1;
  translate: 0 0;
}

/* Grand écran : on réserve la place du nom pour qu'il ne passe pas sous la nav */
@media (min-width: 1151px) {
  .brand {
    min-width: 330px;
  }
}

/* Entre tablette et petit desktop, la nav prend la place : on garde le médaillon seul */
@media (min-width: 901px) and (max-width: 1150px) {
  .brand__name {
    display: none;
  }
}

@keyframes medal-spin-in {
  from {
    opacity: 0;
    transform: rotate(-220deg) scale(0.4);
  }
  60% {
    opacity: 1;
  }
  to {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

.header.is-scrolled .brand__wordmark {
  filter: opacity(0);
  scale: 0.85;
}

.header.is-scrolled .brand__popout {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 640px) {
  .brand__badge {
    height: 84px;
    width: 84px;
  }

  .brand__popout {
    gap: 0.6rem;
  }

  .brand__name-main {
    font-size: 0.9rem;
    letter-spacing: 0.24em;
  }
}

@media (max-width: 480px) {
  .brand__badge {
    height: 72px;
    width: 72px;
  }

  .brand__popout {
    gap: 0.5rem;
  }

  .brand__name-main {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
  }

  .brand__name-tag {
    display: none;
  }
}

@media (max-width: 380px) {
  .brand__badge {
    height: 60px;
    width: 60px;
  }

  .brand__name-main {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }
}

@media (max-width: 330px) {
  .brand__name {
    display: none;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.nav__link {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gris-clair);
  padding-block: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--blanc);
  border-color: var(--accent);
}

.nav__link[aria-current="page"] {
  color: var(--blanc);
  border-color: var(--accent);
}

/* Éléments propres au menu mobile, masqués sur grand écran */
.nav__head,
.nav__num,
.nav__foot,
.nav-backdrop {
  display: none;
}

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

@media (max-width: 400px) {
  .brand {
    --brand-h: 52px;
  }

  .header__actions {
    gap: 0.5rem;
  }

  .header__actions .btn {
    padding: 0.65rem 1.1rem;
    font-size: 0.8rem;
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blanc);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle {
  cursor: pointer;
}

/* Burger -> croix */
.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Menu mobile : tiroir à droite + fond assombri ---------- */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .nav-backdrop.is-visible {
    opacity: 1;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: min(86vw, 380px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem clamp(1.25rem, 6vw, 2rem) calc(1.5rem + env(safe-area-inset-bottom, 0px));
    background:
      radial-gradient(circle at 100% 0%, rgba(218, 175, 55, 0.12), transparent 45%),
      #0e0e0e;
    border-left: 1px solid rgba(218, 175, 55, 0.25);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.55);
    overflow-y: auto;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 0.8, 0.24, 1), visibility 0s linear 0.4s;
  }

  .nav[data-open="true"] {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.4s cubic-bezier(0.16, 0.8, 0.24, 1), visibility 0s;
  }

  .nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav__logo {
    width: 56px;
    height: 56px;
  }

  .nav__close {
    margin-left: auto;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: var(--blanc);
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.3s ease;
  }

  .nav__close:hover,
  .nav__close:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
    transform: rotate(90deg);
  }

  .nav__close svg {
    width: 20px;
    height: 20px;
  }

  .nav__link {
    display: flex;
    align-items: baseline;
    gap: 0.9rem;
    padding: 0.95rem 0.25rem;
    font-size: clamp(1.05rem, 4.6vw, 1.25rem);
    letter-spacing: 0.06em;
    color: var(--blanc);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    opacity: 0;
    translate: 18px 0;
    transition: color 0.2s ease, opacity 0.35s ease, translate 0.45s cubic-bezier(0.16, 0.8, 0.24, 1);
  }

  .nav__link:hover,
  .nav__link:focus-visible,
  .nav__link[aria-current="page"] {
    color: var(--accent);
    border-color: rgba(255, 255, 255, 0.07);
  }

  .nav__num {
    display: inline;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--accent);
    opacity: 0.8;
  }

  /* Entrée en cascade des liens à l'ouverture */
  .nav[data-open="true"] .nav__link {
    opacity: 1;
    translate: 0 0;
  }

  .nav[data-open="true"] .nav__link:nth-of-type(1) { transition-delay: 0.08s; }
  .nav[data-open="true"] .nav__link:nth-of-type(2) { transition-delay: 0.13s; }
  .nav[data-open="true"] .nav__link:nth-of-type(3) { transition-delay: 0.18s; }
  .nav[data-open="true"] .nav__link:nth-of-type(4) { transition-delay: 0.23s; }
  .nav[data-open="true"] .nav__link:nth-of-type(5) { transition-delay: 0.28s; }

  .nav__foot {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: auto;
    padding-top: 1.75rem;
  }

  .nav__info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
  }

  .nav__info svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--accent);
  }

  .nav__info--link:hover {
    color: var(--accent);
  }

  html[data-nav-open="true"] {
    overflow: hidden;
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .nav,
  .nav__link,
  .nav-backdrop {
    transition: none !important;
  }
}

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.7s cubic-bezier(0.16, 0.8, 0.24, 1), translate 0.7s cubic-bezier(0.16, 0.8, 0.24, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

@keyframes fade-slide-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__content {
  animation: fade-slide-in 0.8s cubic-bezier(0.16, 0.8, 0.24, 1) 0.2s both;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero__content {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    translate: none !important;
  }

  .card,
  .pricing-card,
  .pricing-card--featured,
  .util-card,
  .product-card,
  .btn {
    transition: none !important;
  }

  .back-to-top {
    animation: none !important;
  }

  .brand__wordmark {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .brand__wordmark,
  .brand__popout {
    transition: none !important;
  }

  .hero__logo {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__scroll-cue {
    animation: none !important;
  }

  .hero__video {
    display: none;
  }
}

/* ---------- Hero (vidéo plein écran) ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--noir);
  padding-inline: var(--section-pad-x);
  padding-top: calc(var(--header-h) + clamp(1.5rem, 5vw, 3rem));
  /* flèche (56px) + son offset bas : ne chevauche jamais les badges */
  padding-bottom: calc(56px + clamp(2.5rem, 7vw, 4.5rem));
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 11, 11, 0.6) 0%, rgba(11, 11, 11, 0.72) 55%, rgba(11, 11, 11, 0.92) 100%);
}

.hero__logo {
  width: clamp(96px, 14vw, 132px);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.6));
  margin-bottom: 1.5rem;
  animation: medal-spin-in 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  text-transform: uppercase;
  color: var(--blanc);
}

.hero__content h1 .accent {
  color: var(--accent);
  display: block;
}

.hero__content p {
  color: var(--gris-clair);
}

.hero__lead {
  display: block; /* placé dans le H1 (SEO) mais garde le style d'accroche */
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--gris-clair);
  margin-bottom: 1.5rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-block: 1.75rem;
}

.hero__badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.hero__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gris-clair);
}

.hero__badge svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

@media (max-width: 500px) {
  .hero__badges {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hero__scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 4vw, 2.5rem);
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: rgba(11, 11, 11, 0.35);
  animation: bounce-arrow 1.8s ease-in-out infinite;
}

.hero__scroll-cue:hover {
  background: var(--accent);
  color: var(--noir);
}

.hero__scroll-cue svg {
  width: 26px;
  height: 26px;
}

@keyframes bounce-arrow {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 10px);
  }
}

/* ---------- Placeholders images ---------- */
.ph {
  --ar: 4 / 3;
  aspect-ratio: var(--ar);
  width: 100%;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gris-metal), var(--chrome));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gris-fonce);
  text-align: center;
  padding: 1rem;
  overflow: hidden;
  transition: transform 0.5s ease;
}

.ph svg {
  width: 32px;
  height: 32px;
  opacity: 0.55;
}

.ph span {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.65;
}

.ph--hero {
  --ar: 4 / 3;
}

.ph--square {
  --ar: 1 / 1;
}

.ph--wide {
  --ar: 16 / 9;
}

.ph--tall {
  --ar: 3 / 4;
}

/* Dans la grille du salon, <picture> doit occuper une seule cellule */
.salon > picture {
  display: block;
}

.salon__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Réservation : boutons masqués tant qu'aucun outil n'est branché (BOOKING_URL vide dans script.js) */
html:not([data-booking="on"]) .js-booking {
  display: none !important;
}

/* ---------- Cartes prestations ---------- */
.card {
  background: var(--blanc);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 0.8, 0.24, 1), box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card:hover .ph,
.product-card:hover .ph,
.card:hover .card__img {
  transform: scale(1.04);
}

.card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card__body {
  padding: 1.25rem;
}

/* Prestations : liens « Réserver » alignés en bas, quelle que soit la longueur du texte */
#prestations .card {
  display: flex;
  flex-direction: column;
}

#prestations .card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#prestations .card .btn-link {
  margin-top: auto;
}

.card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--accent);
  color: var(--noir);
  font-family: var(--font-title);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  z-index: 1;
}

.card__price {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--accent);
  margin: 0.35rem 0 0.5rem;
}

.card__desc {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ---------- Bandeau offre d'ouverture ---------- */
.offer-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--noir) 0%, #1c1810 100%);
  border: 1px solid rgba(218, 175, 55, 0.45);
  color: var(--blanc);
  box-shadow: var(--shadow);
}

.offer-banner__tag {
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.offer-banner__text {
  flex: 1 1 280px;
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.offer-banner__text strong {
  color: var(--accent);
}

/* ---------- Abonnements ---------- */
.pricing-card {
  background: var(--blanc);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 0.8, 0.24, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.pricing-card--featured:hover {
  transform: translateY(-13px);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--noir);
  font-family: var(--font-title);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-card__name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pricing-card__price {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--noir);
  margin: 0.5rem 0;
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card__features {
  text-align: left;
  margin: 1.25rem 0;
  flex-grow: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding-block: 0.4rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.pricing-card__features li:last-child {
  border-bottom: none;
}

.pricing-card__features svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Bloc utilitaire (fidélité / file d'attente / réservation rapide) */
.util-card {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.16, 0.8, 0.24, 1), box-shadow 0.35s ease;
}

.util-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.util-card__title {
  font-family: var(--font-title);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.util-card__big {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 2rem;
  color: var(--accent);
  margin: 0.5rem 0;
}

.dots {
  display: flex;
  gap: 0.4rem;
  margin: 0.75rem 0;
}

.dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
}

.dots span[data-filled="true"] {
  background: var(--accent);
}

.progress {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
  margin-block: 0.75rem;
}

.progress__bar {
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
}

.util-card__list {
  text-align: left;
  margin: 1rem 0;
  width: 100%;
}

.util-card__list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-block: 0.3rem;
}

.util-card__list svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---------- Salon ---------- */
.salon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .salon {
    grid-template-columns: 1fr;
  }
}

.salon__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.salon__perk {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.salon__perk svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

/* ---------- Produits ---------- */
.product-card {
  transition: transform 0.35s cubic-bezier(0.16, 0.8, 0.24, 1);
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card__body {
  padding: 1rem 0.25rem 0;
  text-align: center;
}

.product-card__price {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--noir);
  margin: 0.25rem 0 0.6rem;
}

/* ---------- Social ---------- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.social-grid .ph:hover {
  transform: scale(1.04);
}

@media (max-width: 767px) {
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--noir);
  color: var(--gris-clair);
  padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand img {
  height: clamp(64px, 8vw, 88px);
  width: auto;
  margin-bottom: 0.75rem;
}

.footer h4 {
  color: var(--blanc);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer ul li {
  padding-block: 0.1rem;
}

.footer ul a {
  display: inline-block;
  padding-block: 0.4rem;
}

.footer a {
  color: var(--gris-clair);
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.footer a:hover {
  color: var(--accent);
}

.footer a.btn-primary,
.footer a.btn-primary:hover {
  color: var(--noir);
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__social svg {
  width: 16px;
  height: 16px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__bottom a {
  color: var(--text-muted);
}

.footer__bottom a:hover {
  color: var(--accent);
}

.legal-links {
  display: flex;
  gap: 0 1rem;
  flex-wrap: wrap;
}

.legal-links a {
  display: inline-block;
  padding-block: 0.5rem;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
}

@media (max-width: 900px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

.contact__address {
  color: var(--blanc);
  text-decoration: underline;
  text-decoration-color: rgba(218, 175, 55, 0.6);
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact__address:hover,
.contact__address:focus-visible {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.contact__infos li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding-block: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact__infos svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Horaires ---------- */
.hours__title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.hours__list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.hours__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: clamp(0.7rem, 1.6vw, 0.95rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hours__day {
  font-family: var(--font-title);
  font-size: clamp(0.72rem, 1.6vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.hours__time {
  margin-left: auto;
  font-family: var(--font-title);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  text-align: right;
}

@media (max-width: 400px) {
  .hours__time {
    font-size: 0.88rem;
  }

  .hours__day {
    letter-spacing: 0.14em;
  }
}

.hours__list li[data-closed="true"] .hours__day {
  color: rgba(255, 255, 255, 0.3);
}

.hours__list li[data-closed="true"] .hours__time {
  color: rgba(255, 255, 255, 0.25);
}

.hours__badge {
  font-family: var(--font-title);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(218, 175, 55, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.hours__list li.is-today {
  border-bottom-color: rgba(218, 175, 55, 0.45);
}

.hours__list li.is-today .hours__day,
.hours__list li.is-today .hours__time {
  color: var(--accent);
}

/* ---------- Bouton retour en haut ---------- */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 5.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--noir);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  translate: 0 16px;
  box-shadow: 0 0 8px 1px rgba(218, 175, 55, 0.35), 0 0 18px 4px rgba(218, 175, 55, 0.12);
  transition: opacity 0.35s ease, translate 0.35s ease, bottom 0.3s ease, box-shadow 0.3s ease,
    transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  animation: neon-pulse 2.6s ease-in-out infinite;
}

.back-to-top.cookie-dismissed {
  bottom: 1.5rem;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--accent);
  color: var(--noir);
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 0 22px 4px rgba(218, 175, 55, 0.55), 0 0 46px 10px rgba(218, 175, 55, 0.25);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--blanc);
  outline-offset: 3px;
}

@keyframes neon-pulse {
  0%,
  100% {
    box-shadow: 0 0 8px 1px rgba(218, 175, 55, 0.35), 0 0 18px 4px rgba(218, 175, 55, 0.12);
  }
  50% {
    box-shadow: 0 0 14px 3px rgba(218, 175, 55, 0.6), 0 0 30px 8px rgba(218, 175, 55, 0.28);
  }
}

/* ---------- Cookie banner ---------- */
/* ---------- Carte (Google Maps chargée après consentement) ---------- */
.map {
  margin-top: 1.75rem;
}

.map__frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #141414;
}

@media (max-width: 600px) {
  .map__frame {
    aspect-ratio: 4 / 3;
  }
}

.map__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.25rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(218, 175, 55, 0.08), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 22px),
    #141414;
}

.map__placeholder svg {
  width: 34px;
  height: 34px;
  color: var(--accent);
}

.map__address {
  margin: 0;
  color: var(--blanc);
  font-weight: 500;
  line-height: 1.4;
}

.map__note {
  margin: 0;
  max-width: 300px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
}

.map__note a {
  color: var(--accent);
  text-decoration: underline;
}

.map__go {
  margin: 1.25rem auto 0;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
}

.map__go svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* ---------- Choix de l'appli d'itinéraire ---------- */
.directions {
  width: min(420px, calc(100vw - 2rem));
  padding: clamp(1.5rem, 5vw, 2rem);
  border: 1px solid rgba(218, 175, 55, 0.25);
  border-radius: 16px;
  background: #111;
  color: var(--blanc);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.directions::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
}

.directions__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  text-transform: uppercase;
  color: var(--blanc);
}

.directions__addr {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.directions__apps {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.directions__app {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 56px;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-title);
  font-weight: 600;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.directions__app:hover,
.directions__app:focus-visible {
  border-color: var(--accent);
  background: rgba(218, 175, 55, 0.08);
  transform: translateX(3px);
}

.directions__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
}

.directions__icon svg {
  width: 22px;
  height: 22px;
}

.directions__icon--gmaps {
  background: #fff;
}

.directions__icon--waze {
  background: #33ccff;
}

.directions__icon--apple {
  background: linear-gradient(135deg, #3a9bfc, #1d6fe0);
}

/* Bouton "Gérer les cookies" dans le footer (aspect lien) */
.legal-links__btn {
  padding: 0.5rem 0;
  border: 0;
  background: none;
  color: var(--gris-clair);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.legal-links__btn:hover {
  color: var(--accent);
}

/* ---------- Bandeau cookies : barre pleine largeur en bas d'écran ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: linear-gradient(180deg, rgba(22, 22, 22, 0.97), rgba(11, 11, 11, 0.98));
  backdrop-filter: blur(8px);
  border-top: 2px solid var(--accent);
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.45);
  color: var(--gris-clair);
  padding: clamp(1.1rem, 2.5vw, 1.6rem) var(--section-pad-x);
  padding-bottom: calc(clamp(1.1rem, 2.5vw, 1.6rem) + env(safe-area-inset-bottom, 0px));
  animation: cookie-slide-up 0.5s cubic-bezier(0.16, 0.8, 0.24, 1) both;
}

@keyframes cookie-slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.cookie-banner__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(218, 175, 55, 0.12);
  border: 1px solid rgba(218, 175, 55, 0.4);
  color: var(--accent);
}

.cookie-banner__icon svg {
  width: 26px;
  height: 26px;
}

.cookie-banner__text {
  flex: 1;
  min-width: 0;
}

.cookie-banner__text p {
  margin: 0;
  font-size: clamp(0.82rem, 1.1vw, 0.92rem);
  line-height: 1.55;
}

.cookie-banner .cookie-banner__title {
  margin-bottom: 0.25rem;
  font-family: var(--font-title);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blanc);
}

.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.cookie-banner__actions {
  flex-shrink: 0;
  display: flex;
  gap: 0.75rem;
}

.cookie-banner__actions .btn {
  min-width: 150px;
  justify-content: center;
}

/* Tablette : le texte passe au-dessus des boutons */
@media (max-width: 900px) {
  .cookie-banner__inner {
    flex-wrap: wrap;
  }

  .cookie-banner__text {
    flex: 1 1 0;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    flex: 1;
  }
}

/* Mobile : icône masquée, texte compact, deux boutons côte à côte */
@media (max-width: 480px) {
  .cookie-banner__icon {
    display: none;
  }

  .cookie-banner__text {
    flex-basis: 100%;
  }

  .cookie-banner__text p {
    font-size: 0.8rem;
  }

  .cookie-banner__actions {
    gap: 0.5rem;
  }

  .cookie-banner__actions .btn {
    min-width: 0;
    padding: 0.75rem 0.5rem;
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    animation: none;
  }
}

/* ---------- Pages légales ---------- */
.legal-page {
  padding-block: clamp(3rem, 6vw, 5rem);
  margin-top: var(--header-h);
  max-width: 820px;
  margin-inline: auto;
  padding-inline: var(--section-pad-x);
}

.legal-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.legal-page h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
}

.legal-page ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}

.legal-page li {
  margin-bottom: 0.35rem;
}

.legal-table {
  overflow-x: auto;
  margin: 1rem 0 1.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.legal-table table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.legal-table th,
.legal-table td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.legal-table th {
  background: var(--bg-alt);
  font-family: var(--font-title);
  font-weight: 600;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

/* Mobile : chaque ligne du tableau devient une carte lisible */
@media (max-width: 640px) {
  .legal-table {
    border: 0;
    overflow: visible;
  }

  .legal-table table {
    min-width: 0;
  }

  .legal-table thead {
    display: none;
  }

  .legal-table tr {
    display: block;
    margin-bottom: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
  }

  .legal-table td {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 0.5rem;
  }

  .legal-table td::before {
    content: attr(data-label);
    font-family: var(--font-title);
    font-weight: 600;
  }

  .legal-table tr:last-child td {
    border-bottom: 1px solid var(--border);
  }

  .legal-table tr td:last-child {
    border-bottom: 0;
  }
}

.legal-inline-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
}

.legal-page a {
  color: var(--accent);
  text-decoration: underline;
}

.legal-page .placeholder {
  background: #fff3d6;
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-weight: 600;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--accent);
}
