/* ── Polices auto-hébergées (assets/fonts/, licence OFL : assets/fonts/OFL.txt) ──
   Mêmes fichiers que Google Fonts (variables, sous-ensembles latin et latin-ext), servis par le
   site : aucune adresse IP de visiteur ne part plus chez Google. Les styles déclarés reproduisent
   l'ancienne feuille Google Fonts : Cormorant Garamond romain 400-700, italique 400 et 600
   seulement (un italique 500 demandé s'affiche en 400, comme avant), Plus Jakarta Sans 400-800. */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-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: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-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: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-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: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-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 {
  /* ── Trattoria Éditoriale palette ────────────────────────── */
  --paper:        #f5ecdc;
  --paper-soft:   #fbf5e9;
  --paper-deep:   #e8d8c0;
  --cream:        #f9f1e2;
  --surface:        rgba(255, 251, 244, 0.84);
  --surface-strong: rgba(255, 251, 244, 0.97);

  --ink:        #1a140f;
  --ink-soft:   #2f261d;
  --muted:      #6d5e4f;
  --line:        rgba(60, 44, 28, 0.16);
  --line-strong: rgba(60, 44, 28, 0.30);
  --rule:        rgba(60, 44, 28, 0.42);

  --olive:       #2b3a2f;
  --olive-deep:  #18221b;
  --olive-soft:  #d8dfd2;
  --wine:        #6a2e35;
  --terracotta:  #b0593a;
  --terracotta-soft: #d68a6c;
  --gold:        #c69859;
  --gold-soft:   #e0c08a;

  /* ── Shadows ───────────────────────────────────────────── */
  --shadow-soft:    0 14px 38px rgba(34, 24, 16, 0.08);
  --shadow:         0 26px 64px rgba(34, 24, 16, 0.12);
  --shadow-strong:  0 34px 86px rgba(18, 14, 10, 0.22);
  --shadow-ring:    inset 0 0 0 1px rgba(255, 245, 226, 0.5);

  /* ── Radius ────────────────────────────────────────────── */
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;

  /* ── Fluid type scale ──────────────────────────────────── */
  --t-display: clamp(3.4rem, 6.4vw, 6rem);
  --t-h1:      clamp(2.6rem, 5vw, 4.4rem);
  --t-h2:      clamp(1.95rem, 3.6vw, 3.1rem);
  --t-h3:      clamp(1.3rem, 1.6vw, 1.55rem);
  --t-lead:    clamp(1.05rem, 1.18vw, 1.18rem);
  --t-body:    1rem;
  --t-small:   0.84rem;
  --t-eyebrow: 0.78rem;

  /* ── Layout ────────────────────────────────────────────── */
  --container: min(1240px, calc(100vw - 2rem));
  --header-height: 84px;

  /* ── Motion ────────────────────────────────────────────── */
  --ease-out: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: var(--t-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(198, 152, 89, 0.22), transparent 22%),
    radial-gradient(circle at 6% 92%, rgba(106, 46, 53, 0.10), transparent 24%),
    linear-gradient(180deg, #faf2e2 0%, #f5ecdc 38%, #f9f1e2 100%);
}

/* Subtle paper grain + horizontal rule texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(112, 86, 56, 0.022) 0,
      rgba(112, 86, 56, 0.022) 1px,
      transparent 1px,
      transparent 10px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(112, 86, 56, 0.018) 0,
      rgba(112, 86, 56, 0.018) 1px,
      transparent 1px,
      transparent 10px
    );
  opacity: 0.45;
  z-index: -2;
  mix-blend-mode: multiply;
}

::selection {
  background: var(--olive);
  color: var(--cream);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(30px);
  z-index: 0;
}

.site-shell::before {
  top: 4rem;
  left: -10rem;
  width: 22rem;
  height: 22rem;
  background: rgba(102, 54, 59, 0.12);
}

.site-shell::after {
  top: 48rem;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  background: rgba(40, 53, 45, 0.1);
}

.container {
  width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  padding: clamp(5rem, 9vw, 8rem) 0;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.section--paper {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.82), rgba(250, 244, 232, 0.97)),
    linear-gradient(90deg, rgba(198, 152, 89, 0.05), transparent 34%);
}

.section--ink {
  background:
    radial-gradient(circle at 12% 8%, rgba(198, 152, 89, 0.18), transparent 22%),
    radial-gradient(circle at 92% 88%, rgba(176, 89, 58, 0.12), transparent 20%),
    linear-gradient(180deg, #1c1916 0%, #14110e 100%);
  color: #f9f1e5;
}

.section--olive {
  background:
    radial-gradient(circle at 88% 12%, rgba(198, 152, 89, 0.18), transparent 22%),
    radial-gradient(circle at 8% 88%, rgba(176, 89, 58, 0.10), transparent 24%),
    linear-gradient(180deg, var(--olive) 0%, var(--olive-deep) 100%);
  color: #f8f1e6;
}

.section--accent {
  background:
    linear-gradient(140deg, rgba(176, 89, 58, 0.08), transparent 42%),
    linear-gradient(180deg, #f1e3cf 0%, #f8efe1 100%);
}

.section--contact {
  padding-top: clamp(4.5rem, 8vw, 7rem);
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(248, 240, 228, 0.68);
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(248, 240, 228, 0.9);
  border-color: var(--line);
  box-shadow: 0 14px 30px rgba(32, 24, 18, 0.08);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  flex: none;
  width: 3.45rem;
  height: 3.45rem;
  display: grid;
  place-items: center;
  padding: 0.2rem;
  border-radius: 1.1rem;
  overflow: hidden;
  background: #12110f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.brand-copy {
  display: grid;
  gap: 0.12rem;
}

.brand-copy strong,
.hero h1,
.section-heading h2,
.feature-card h3,
.signature-card h3,
.timeline-item h3,
.program-card h3,
.journal-note h3,
.contact-copy h2,
.quote-card p {
  font-family: "Cormorant Garamond", serif;
}

.brand-copy strong {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.site-nav a,
.footer-nav a {
  position: relative;
  padding: 0.65rem 0.9rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 220ms var(--ease-out);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0.45rem;
  height: 1px;
  background: var(--terracotta);
  transition: left 280ms var(--ease-out), right 280ms var(--ease-out);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  outline: none;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after,
.site-nav a[aria-current="page"]::after {
  left: 0.9rem;
  right: 0.9rem;
}

.button {
  --btn-bg: var(--olive);
  --btn-fg: var(--cream);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    border-color 220ms var(--ease-out),
    background-color 220ms var(--ease-out),
    color 220ms var(--ease-out);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(32, 24, 18, 0.18);
  outline: none;
}

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

.button--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
}

.button--secondary:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  --btn-bd: var(--ink);
}

.button--ghost {
  --btn-bg: rgba(255, 250, 240, 0.55);
  --btn-fg: var(--ink);
  --btn-bd: var(--line);
  backdrop-filter: blur(8px);
}

.button--ghost:hover {
  --btn-bg: rgba(255, 250, 240, 0.85);
  --btn-bd: var(--line-strong);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.56);
}

.menu-toggle span:not(.sr-only) {
  position: absolute;
  left: 50%;
  width: 1rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span:nth-child(2) {
  transform: translate(-50%, -4px);
}

.menu-toggle span:nth-child(3) {
  transform: translate(-50%, 4px);
}

body.nav-open .menu-toggle span:nth-child(2) {
  transform: translate(-50%, 0) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(3) {
  transform: translate(-50%, 0) rotate(-45deg);
}

.hero {
  padding-top: clamp(3rem, 6vw, 5.4rem);
}

.hero-wash {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.9;
  pointer-events: none;
}

.hero-wash--olive {
  top: 5rem;
  right: -8rem;
  width: 20rem;
  height: 20rem;
  background: rgba(40, 53, 45, 0.14);
}

.hero-wash--wine {
  top: 11rem;
  left: -9rem;
  width: 24rem;
  height: 24rem;
  background: rgba(102, 54, 59, 0.12);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  color: var(--terracotta);
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "✦";
  color: var(--gold);
  font-size: 0.95em;
  letter-spacing: 0;
  transform: translateY(-1px);
}

.section--ink .eyebrow,
.section--olive .eyebrow {
  color: var(--gold-soft);
}

.section--ink .eyebrow::before,
.section--olive .eyebrow::before {
  color: var(--gold);
}

.hero-overline {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: var(--t-display);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.025em;
}

.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 400;
}

.lead,
.maison-copy p,
.feature-card p,
.signature-card p,
.timeline-item p,
.hours-note,
.events-copy p,
.program-card p,
.journal-note p,
.contact-copy p,
.quote-card cite {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.8;
}

.section--ink .signature-card p,
.section--olive .quote-card cite {
  color: rgba(249, 241, 229, 0.78);
}

.lead {
  max-width: 41rem;
  margin-top: 1.5rem;
}

.hero-actions,
.events-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1.5rem 0 0;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.service-pill::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(35, 53, 45, 0.08);
}

.service-pill.is-open {
  color: #30533f;
}

.service-pill.is-closed {
  color: #7b3a39;
}

.hero-facts,
.chip-list,
.detail-list,
.hours-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero-facts li {
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px);
}

.hero-facts span,
.panel-label,
.note-label {
  display: block;
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.feature-card__index,
.signature-card__index {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 500;
  color: var(--terracotta);
  letter-spacing: 0;
  line-height: 1;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
}

.timeline-time {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.85rem;
  font-style: italic;
  font-weight: 500;
  color: var(--terracotta);
  letter-spacing: 0;
  line-height: 1;
}

.section--ink .panel-label,
.section--ink .note-label,
.section--olive .panel-label,
.section--olive .quote-card cite {
  color: var(--gold-soft);
}

.section--ink .signature-card__index,
.section--olive .feature-card__index {
  color: var(--gold);
  border-color: rgba(224, 192, 138, 0.55);
}

.hero-facts strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1rem;
  line-height: 1.45;
}

.hero-scene {
  position: relative;
  min-height: min(72vw, 47rem);
}

.hero-card,
.maison-photo,
.feature-card,
.signature-card,
.rhythm-image,
.hours-card,
.terrace-card,
.quote-card,
.program-card,
.journal-card,
.journal-note,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-ring);
}

.hero-card,
.maison-photo,
.rhythm-image,
.terrace-card,
.journal-card {
  position: relative;
  box-shadow: var(--shadow);
  background: var(--surface-strong);
}

.hero-card img,
.maison-photo img,
.rhythm-image img,
.terrace-card img,
.journal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card--main {
  position: absolute;
  inset: 3rem 0 5rem 4rem;
}

.hero-card--vertical {
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  aspect-ratio: 0.75;
}

.hero-card--sketch {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 33%;
  aspect-ratio: 0.95;
  padding: 0.65rem;
  background: rgba(255, 248, 239, 0.96);
}

.hero-card--sketch img {
  border-radius: calc(var(--radius-lg) - 8px);
}

.hero-card figcaption,
.maison-photo figcaption,
.rhythm-image figcaption,
.terrace-card figcaption,
.journal-card figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 1rem;
  background: rgba(23, 20, 17, 0.74);
  color: #f8f0e4;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.5;
}

.hero-stamp {
  position: absolute;
  top: 3.5rem;
  left: 1rem;
  z-index: 3;
  display: grid;
  gap: 0.18rem;
  width: 8.2rem;
  height: 8.2rem;
  place-items: center;
  border: 1px solid rgba(60, 44, 28, 0.32);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 248, 235, 0.96), rgba(245, 232, 210, 0.85));
  transform: rotate(-9deg);
  box-shadow:
    inset 0 0 0 4px rgba(255, 250, 240, 0.6),
    inset 0 0 0 5px rgba(60, 44, 28, 0.18),
    0 16px 32px rgba(35, 25, 16, 0.12);
  text-align: center;
}

.hero-stamp::before {
  content: "✦";
  position: absolute;
  top: 0.7rem;
  color: var(--terracotta);
  font-size: 0.8rem;
  opacity: 0.7;
}

.hero-stamp span {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 500;
  line-height: 0.92;
  color: var(--ink);
}

.hero-stamp small {
  max-width: 5.2rem;
  margin-top: 0.25rem;
  color: var(--terracotta);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-note {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: min(22rem, 55%);
  padding: 1.55rem 1.55rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 248, 239, 0.95);
  box-shadow:
    var(--shadow-strong),
    inset 0 0 0 1px rgba(255, 245, 226, 0.55);
  backdrop-filter: blur(8px);
}

.hero-note::before {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border: 1px solid rgba(60, 44, 28, 0.10);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}

.hero-note__title {
  margin: 0.5rem 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.005em;
}

.hero-note__text {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.72;
}

.marquee {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.4rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.marquee span::after {
  content: "•";
  color: rgba(142, 82, 54, 0.65);
}

.marquee span:last-child::after {
  content: "";
}

.section-heading {
  max-width: 58rem;
  position: relative;
}

.section-heading h2 {
  margin: 0;
  font-size: var(--t-h2);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.022em;
}

.section-heading h2 em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 400;
}

.section-heading--light h2,
.section-heading--light {
  color: #f8f1e6;
}

.section-heading--light h2 em {
  color: var(--gold-soft);
}

/* ── Decorative ornament dividers ─────────────────────────── */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.4rem auto;
  color: var(--rule);
  font-size: 0.9rem;
  letter-spacing: 0.4em;
}

.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  max-width: 5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section--ink .ornament,
.section--olive .ornament {
  color: rgba(224, 192, 138, 0.6);
}

.maison-layout,
.rhythm-layout,
.events-layout,
.contact-layout {
  display: grid;
  gap: 2rem 2.2rem;
}

.maison-layout {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.88fr);
  align-items: start;
}

.maison-layout .section-heading,
.feature-grid {
  grid-column: 1 / -1;
}

.maison-copy {
  display: grid;
  gap: 1rem;
}

.maison-photo {
  aspect-ratio: 1 / 1;
}

.maison-panel,
.feature-card,
.signature-card,
.hours-card,
.program-card,
.journal-note,
.contact-card {
  background: rgba(255, 251, 245, 0.74);
  backdrop-filter: blur(10px);
}

.maison-panel {
  padding: 1.75rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-ring);
}

.maison-panel p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  padding: 1.85rem 1.6rem 1.65rem;
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}

.feature-card h3,
.signature-card h3,
.timeline-item h3,
.program-card h3,
.journal-note h3 {
  margin: 0.85rem 0 0;
  font-size: var(--t-h3);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.005em;
}

.feature-card p {
  margin-top: 0.75rem;
}

.signature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}

.signature-card {
  padding: 1.85rem 1.6rem 1.65rem;
  background: rgba(255, 251, 245, 0.78);
  border-color: var(--line);
  box-shadow: var(--shadow-ring);
}

.section--ink .signature-card,
.section--olive .signature-card {
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.10), rgba(255, 251, 245, 0.04)),
    rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 245, 226, 0.14);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.chip-list li {
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.55);
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section--ink .chip-list li,
.section--olive .chip-list li {
  border-color: rgba(255, 245, 226, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(249, 241, 229, 0.86);
}

.rhythm-layout {
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.92fr);
  align-items: start;
}

.rhythm-layout .section-heading {
  grid-column: 1 / -1;
}

.timeline {
  display: grid;
  gap: 0.9rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.15rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
}

.timeline-item:first-child {
  padding-top: 0;
}

.timeline-time {
  padding-top: 0.35rem;
}

.rhythm-aside {
  display: grid;
  gap: 1rem;
}

.rhythm-image {
  min-height: 20rem;
  background: #0f0d0c;
}

.hours-card,
.program-card,
.journal-note,
.contact-card {
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.hours-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.hours-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.hours-list strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.hours-note {
  margin-top: 1rem;
}

.terrace-layout {
  display: grid;
  gap: 2.3rem;
}

.terrace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(18rem, 0.88fr);
  gap: 1rem;
  align-items: stretch;
}

.terrace-card {
  min-height: 20rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.terrace-card--wide {
  min-height: 36rem;
}

.terrace-stack {
  display: grid;
  gap: 1rem;
}

.terrace-card--sketch {
  padding: 0.6rem;
  background: rgba(255, 250, 243, 0.92);
}

.terrace-card--sketch img {
  border-radius: calc(var(--radius-lg) - 10px);
}

.quote-card {
  grid-column: 1 / -1;
  position: relative;
  padding: 2.2rem 2rem 1.85rem;
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.10), rgba(255, 251, 245, 0.04)),
    rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 245, 226, 0.18);
}

.quote-card::before {
  content: "\201C";
  position: absolute;
  top: 0.15rem;
  left: 1.4rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 5.5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.55;
  pointer-events: none;
}

.quote-card p {
  margin: 0;
  color: #f8f1e6;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.005em;
}

.quote-card cite {
  display: block;
  margin-top: 1.1rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.events-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 1.08fr);
  align-items: start;
}

.events-copy {
  display: grid;
  gap: 1rem;
}

.program-list {
  display: grid;
  gap: 1rem;
}

.program-card {
  position: relative;
  padding-left: 1.6rem;
}

.program-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--terracotta), var(--gold));
}

.journal-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 1rem;
  margin-top: 2.4rem;
  align-items: stretch;
}

.journal-card {
  min-height: 22rem;
}

.journal-card--wide {
  min-height: 30rem;
}

.journal-note {
  display: grid;
  align-content: start;
}

.social-links,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
}

.social-links {
  margin-top: 1rem;
}

.social-links a,
.contact-links a {
  color: var(--olive);
  font-weight: 800;
}

.contact-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 1rem;
}

.contact-card__block + .contact-card__block {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.detail-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.detail-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--terracotta);
}

.site-footer {
  padding: 2rem 0 2.5rem;
  background: #141210;
  color: #f8f0e4;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.brand--footer .brand-copy small,
.footer-note,
.footer-nav a {
  color: rgba(248, 240, 228, 0.7);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #f8f0e4;
}

.footer-note {
  margin: 0;
  max-width: 31rem;
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: right;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1180px) {
  .signature-grid,
  .feature-grid,
  .journal-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journal-card--wide,
  .journal-note {
    grid-column: span 2;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .maison-layout,
  .rhythm-layout,
  .events-layout,
  .contact-layout,
  .terrace-grid {
    grid-template-columns: 1fr;
  }

  .hero-scene {
    min-height: min(90vw, 42rem);
  }

  .maison-layout .section-heading,
  .feature-grid,
  .rhythm-layout .section-heading {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-note {
    text-align: left;
  }
}

@media (max-width: 820px) {
  body.nav-open {
    overflow: hidden;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.2rem;
    margin: 0;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    background: rgba(255, 251, 245, 0.96);
    box-shadow: 0 24px 56px rgba(34, 26, 18, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav a {
    padding: 0.9rem 1rem;
    border-radius: 1rem;
  }

  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero h1 {
    max-width: none;
  }

  .hero-facts,
  .feature-grid,
  .signature-grid,
  .journal-layout {
    grid-template-columns: 1fr;
  }

  .journal-card--wide,
  .journal-note {
    grid-column: auto;
  }

  .hero-card--main {
    inset: 2.6rem 0 4.4rem 1.3rem;
  }

  .hero-card--vertical {
    width: 40%;
  }

  .hero-card--sketch {
    width: 38%;
  }

  .hero-note {
    width: min(21rem, 70%);
  }

  .terrace-card--wide {
    min-height: 28rem;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 1.2rem, 100%);
    --header-height: 78px;
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 18px;
  }

  .section {
    padding: 4.2rem 0;
  }

  .brand-copy small,
  .brand-copy strong {
    white-space: nowrap;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-scene {
    min-height: 30rem;
  }

  .hero-card--main {
    inset: 2.2rem 0 4rem 0.4rem;
  }

  .hero-card--vertical {
    right: 0;
    width: 44%;
  }

  .hero-card--sketch {
    left: -0.2rem;
    width: 42%;
  }

  .hero-stamp {
    top: 1.3rem;
    left: 0.5rem;
    width: 6.4rem;
    height: 6.4rem;
  }

  .hero-note {
    right: 0;
    width: min(17rem, 72%);
    padding: 1rem 1.05rem;
  }

  .hero-note__title {
    font-size: 1.45rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .hours-list li {
    align-items: start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .contact-actions,
  .events-actions,
  .hero-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}

@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;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS KEYFRAMES
═══════════════════════════════════════════════════════════════ */

@keyframes marquee-run {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes float-stamp {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50%       { transform: rotate(-10deg) translateY(-7px); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 currentColor; }
  50%       { opacity: 0.8; box-shadow: 0 0 0 5px rgba(0,0,0,0); }
}

@keyframes cursor-expand {
  from { transform: translate(-50%, -50%) scale(1); }
  to   { transform: translate(-50%, -50%) scale(1.6); }
}

@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-4%, -3%); }
  20%  { transform: translate(3%,  4%); }
  30%  { transform: translate(-3%,  2%); }
  40%  { transform: translate(4%, -4%); }
  50%  { transform: translate(-2%,  3%); }
  60%  { transform: translate(3%, -2%); }
  70%  { transform: translate(-4%,  4%); }
  80%  { transform: translate(2%, -3%); }
  90%  { transform: translate(-3%, -4%); }
  100% { transform: translate(0, 0); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

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

/* ═══════════════════════════════════════════════════════════════
   GRAIN OVERLAY
═══════════════════════════════════════════════════════════════ */

.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grain-shift 0.8s steps(1) infinite;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL PROGRESS BAR
═══════════════════════════════════════════════════════════════ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  z-index: 100;
  transition: width 80ms linear;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   CUSTOM CURSOR (desktop only)
═══════════════════════════════════════════════════════════════ */

@media (hover: hover) and (pointer: fine) {
  body.has-cursor {
    cursor: none;
  }

  body.has-cursor a,
  body.has-cursor button,
  body.has-cursor [role="tab"] {
    cursor: none;
  }

  .cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--terracotta);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: opacity 200ms ease;
    will-change: transform;
  }

  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(142, 82, 54, 0.55);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 200ms ease, height 200ms ease, opacity 200ms ease, border-color 200ms ease;
    will-change: transform;
  }

  .cursor-ring.is-hovering {
    width: 52px;
    height: 52px;
    border-color: rgba(142, 82, 54, 0.85);
    background: rgba(142, 82, 54, 0.06);
  }
}

/* ═══════════════════════════════════════════════════════════════
   MARQUEE ANIMÉ
═══════════════════════════════════════════════════════════════ */

.marquee-wrapper {
  overflow: hidden;
  margin-top: 2.4rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-run 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.marquee-inner span {
  display: inline-flex;
  align-items: center;
  gap: 1.8rem;
  padding: 0 1.4rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-inner span::after {
  content: "✦";
  color: var(--terracotta);
  font-size: 0.7em;
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════════
   HERO — STAMP FLOAT ANIMATION
═══════════════════════════════════════════════════════════════ */

.hero-stamp {
  animation: float-stamp 5s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════
   SERVICE PILL — DOT PULSE
═══════════════════════════════════════════════════════════════ */

.service-pill.is-open::before {
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════
   STAGGER DELAYS FOR REVEAL
═══════════════════════════════════════════════════════════════ */

.js [style*="--stagger: 0"] { transition-delay: 0ms; }
.js [style*="--stagger: 1"] { transition-delay: 80ms; }
.js [style*="--stagger: 2"] { transition-delay: 160ms; }
.js [style*="--stagger: 3"] { transition-delay: 240ms; }

/* ═══════════════════════════════════════════════════════════════
   HOVER ZOOM ON IMAGES
═══════════════════════════════════════════════════════════════ */

.hover-zoom {
  overflow: hidden;
}

.hover-zoom img {
  transition: transform 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-zoom:hover img {
  transform: scale(1.04);
}

/* ═══════════════════════════════════════════════════════════════
   BUTTON SHIMMER EFFECT
═══════════════════════════════════════════════════════════════ */

.button {
  position: relative;
  overflow: hidden;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 200ms ease;
}

.button:hover::after {
  opacity: 1;
  animation: shimmer 600ms ease forwards;
}

/* ═══════════════════════════════════════════════════════════════
   BACK TO TOP BUTTON
═══════════════════════════════════════════════════════════════ */

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.75rem;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(248, 240, 228, 0.92);
  color: var(--ink);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(32, 24, 18, 0.12);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 250ms ease, visibility 250ms ease, transform 250ms ease, box-shadow 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: 0 14px 32px rgba(32, 24, 18, 0.18);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════
   INNER PAGE HEROES
═══════════════════════════════════════════════════════════════ */

.page-hero {
  position: relative;
  overflow: clip;
  padding: clamp(5.5rem, 10vw, 8.5rem) 0 clamp(4.5rem, 8vw, 6.5rem);
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

.page-hero::before {
  width: 20rem;
  height: 20rem;
  top: -4rem;
  right: -7rem;
  background: rgba(184, 142, 93, 0.16);
}

.page-hero::after {
  width: 24rem;
  height: 24rem;
  left: -10rem;
  bottom: -10rem;
  background: rgba(102, 54, 59, 0.12);
}

.page-hero--menu {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.9), transparent 24%),
    radial-gradient(circle at 86% 20%, rgba(184, 142, 93, 0.18), transparent 18%),
    linear-gradient(180deg, #f8f0e4 0%, #f2e4d2 100%);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.78fr);
  gap: 1.4rem 1.6rem;
  align-items: start;
}

.page-hero__copy h1 {
  margin: 0.4rem 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 6vw, 5.3rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.page-hero__copy .lead {
  max-width: 44rem;
}

.page-hero__stack {
  display: grid;
  gap: 1rem;
}

.page-note-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.35rem 1.45rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 245, 0.78);
  border: 1px solid rgba(64, 48, 34, 0.12);
  box-shadow: var(--shadow);
}

.page-note-card--accent {
  background:
    linear-gradient(135deg, rgba(184, 142, 93, 0.16), rgba(255, 255, 255, 0.78)),
    rgba(255, 251, 245, 0.84);
}

.page-note-card--dark {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.08), rgba(255, 250, 244, 0.04)),
    rgba(18, 14, 11, 0.82);
  border-color: rgba(255, 245, 232, 0.1);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.26);
  color: #f8f1e6;
}

.page-note-card--accent-dark {
  background:
    linear-gradient(135deg, rgba(184, 142, 93, 0.18), rgba(102, 54, 59, 0.16)),
    rgba(18, 14, 11, 0.82);
}

.page-note-card__label {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-note-card__title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  line-height: 1.04;
}

.page-note-card p {
  margin: 0;
  color: inherit;
  line-height: 1.7;
}

.page-note-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.page-note-list li {
  position: relative;
  padding-left: 1.1rem;
  line-height: 1.65;
}

.page-note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

/* ═══════════════════════════════════════════════════════════════
   CARTE / MENU SECTION
═══════════════════════════════════════════════════════════════ */

.carte-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2rem;
}

.carte-tab {
  padding: 0.7rem 1.3rem;
  border: 1px solid rgba(255, 245, 226, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(249, 241, 229, 0.7);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 220ms var(--ease-out), color 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

.carte-tab:hover {
  background: rgba(255, 255, 255, 0.09);
  color: rgba(249, 241, 229, 0.95);
  border-color: rgba(255, 245, 226, 0.32);
}

.carte-tab.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1209;
  box-shadow: 0 8px 24px rgba(198, 152, 89, 0.28);
}

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

.carte-panel {
  margin-top: 2rem;
  animation: fade-up-in 360ms ease forwards;
}

.carte-panel[hidden] {
  display: none;
}

.carte-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.carte-item {
  position: relative;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.carte-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.carte-item--featured {
  background:
    linear-gradient(135deg, rgba(184, 142, 93, 0.16), rgba(142, 82, 54, 0.08)),
    rgba(255, 255, 255, 0.04);
  border-color: rgba(184, 142, 93, 0.35);
}

.carte-item--featured:hover {
  border-color: rgba(184, 142, 93, 0.55);
}

.carte-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1209;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.carte-item__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.carte-item h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.38rem;
  font-weight: 600;
  color: #f8f1e6;
  line-height: 1.15;
}

.carte-item p {
  margin: 0;
  color: rgba(249, 241, 229, 0.65);
  font-size: 0.9rem;
  line-height: 1.65;
}

.carte-price {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.carte-note {
  margin: 2rem 0 0;
  color: rgba(249, 241, 229, 0.45);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.menu-intro {
  max-width: 44rem;
  margin: 1rem 0 0;
  color: rgba(249, 241, 229, 0.72);
  font-size: 1rem;
  line-height: 1.7;
}

.menu-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.menu-group {
  padding: 1.7rem 1.65rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 245, 226, 0.10);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 245, 226, 0.03);
  transition: border-color 280ms var(--ease-out), background 280ms var(--ease-out);
}

.menu-group:hover {
  border-color: rgba(198, 152, 89, 0.22);
}

.menu-group--wide {
  grid-column: 1 / -1;
}

.menu-group__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

.menu-group__kicker::before {
  content: "—";
  color: var(--gold);
  opacity: 0.7;
}

.menu-group__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 245, 226, 0.10);
}

.menu-group__header h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.55rem, 2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: #f8f1e6;
}

.menu-group__note,
.menu-callout__text {
  margin: 0 0 1rem;
  color: rgba(249, 241, 229, 0.68);
  line-height: 1.7;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.menu-entry {
  padding: 0.9rem 0;
  border-top: 1px dotted rgba(255, 245, 226, 0.14);
}

.menu-entry:first-child {
  padding-top: 0;
  border-top: 0;
}

.menu-entry:last-child {
  padding-bottom: 0;
}

.menu-entry__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.menu-entry__title {
  margin: 0;
  flex: 1;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.18;
  color: #f8f1e6;
}

.menu-entry__desc {
  margin: 0.32rem 0 0;
  color: rgba(249, 241, 229, 0.66);
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .carte-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero__grid,
  .menu-layout {
    grid-template-columns: 1fr;
  }

  .menu-group--wide {
    grid-column: auto;
  }
}

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

  .carte-tabs {
    gap: 0.45rem;
  }

  .carte-tab {
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
  }

  .page-hero__copy h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .page-note-card,
  .menu-group {
    padding: 1.2rem 1.15rem;
  }

  .menu-group__header,
  .menu-entry__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-entry__title {
    font-size: 1.3rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   AVIS / TESTIMONIALS SECTION
═══════════════════════════════════════════════════════════════ */

.avis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}

.avis-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.8rem 1.65rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 245, 0.78);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 245, 226, 0.5);
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out), border-color 320ms var(--ease-out);
}

.avis-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong), inset 0 0 0 1px rgba(255, 245, 226, 0.6);
  border-color: var(--line-strong);
}

.avis-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
}

.avis-quote {
  margin: 0;
}

.avis-quote p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.22rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--ink-soft);
}

.avis-author {
  display: grid;
  gap: 0.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.avis-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink);
}

.avis-detail {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.avis-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
  text-align: center;
}

.avis-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.avis-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (max-width: 1080px) {
  .avis-grid {
    grid-template-columns: 1fr;
    max-width: 42rem;
    margin-inline: auto;
  }
}

/* ═══════════════════════════════════════════════════════════════
   HOURS CARD — ACTIONS
═══════════════════════════════════════════════════════════════ */

.hours-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

/* ═══════════════════════════════════════════════════════════════
   MAP BLOCK
═══════════════════════════════════════════════════════════════ */

.map-block {
  margin-top: 2.5rem;
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* Carte Google Maps chargée au clic seulement (script.js, initCarteGoogle) : d'ici là, un plan stylé —
   adresse, bouton, lien — sans aucune requête vers Google. Même hauteur que la carte : rien ne saute. */
.map-consent {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem) 1.25rem;
  background:
    radial-gradient(circle at 50% 46%, rgba(176, 89, 58, 0.16) 0 0.55rem, transparent 0.6rem),
    linear-gradient(115deg, transparent 0 43%, rgba(255, 251, 244, 0.85) 43% 46%, transparent 46%),
    linear-gradient(28deg, transparent 0 58%, rgba(255, 251, 244, 0.7) 58% 60%, transparent 60%),
    repeating-linear-gradient(0deg, rgba(60, 44, 28, 0.06) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(60, 44, 28, 0.06) 0 1px, transparent 1px 34px),
    var(--paper-deep);
}

.map-consent.is-loaded {
  display: block;
  min-height: 0;
  padding: 0;
  background: none;
}

.map-consent__panel {
  max-width: 34rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.map-consent__address {
  margin: 0.6rem 0 0.8rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.map-consent__note {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: var(--t-small);
  line-height: 1.55;
}

.map-consent__note a {
  color: inherit;
  text-decoration: underline;
}

.map-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION INK — SIGNATURE CARD HOVER
═══════════════════════════════════════════════════════════════ */

.signature-card {
  transition: transform 320ms var(--ease-out), border-color 320ms var(--ease-out), background 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}

.signature-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.section--ink .signature-card:hover,
.section--olive .signature-card:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.13), rgba(255, 251, 245, 0.06)),
    rgba(255, 255, 255, 0.04);
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE CARD HOVER
═══════════════════════════════════════════════════════════════ */

.feature-card {
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out), border-color 320ms var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

/* ═══════════════════════════════════════════════════════════════
   PROGRAM CARD HOVER
═══════════════════════════════════════════════════════════════ */

.program-card {
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.program-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-strong);
}

/* ═══════════════════════════════════════════════════════════════
   SECTION INK — DARK BUTTON OVERRIDES
═══════════════════════════════════════════════════════════════ */

.section--ink .button--secondary,
.section--ink .button--ghost {
  border-color: rgba(255, 245, 232, 0.22);
  color: rgba(249, 241, 229, 0.9);
  background: rgba(255, 255, 255, 0.06);
}

.section--ink .button--secondary:hover,
.section--ink .button--ghost:hover {
  border-color: rgba(255, 245, 232, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER LINK STYLE
═══════════════════════════════════════════════════════════════ */

.footer-note a {
  color: rgba(248, 240, 228, 0.8);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-note a:hover {
  color: #f8f0e4;
}

/* Liens « Mentions légales · Confidentialité » du pied de page (site et Regalo). */
.footer-legal {
  display: block;
  margin-top: 0.2rem;
}

/* ═══════════════════════════════════════════════════════════════
   PAGES LÉGALES (mentions-legales.html, confidentialite.html, reglement.html)
═══════════════════════════════════════════════════════════════ */

.page-hero--legal {
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.page-hero--legal .page-hero__copy h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1;
}

.legal-updated {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: var(--t-small);
}

.legal {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 15rem) minmax(0, 48rem);
  justify-content: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 251, 245, 0.78);
  border: 1px solid var(--line);
  font-size: 0.9rem;
}

.legal-toc p {
  margin: 0 0 0.6rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
}

.legal-toc a {
  color: var(--ink-soft);
  text-decoration: none;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-body {
  min-width: 0;
  overflow-wrap: break-word;
  line-height: 1.7;
}

.legal-body > :first-child {
  margin-top: 0;
}

.legal-body h2 {
  margin: 2.6rem 0 0.8rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 600;
  line-height: 1.1;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.legal-body h3 {
  margin: 1.8rem 0 0.5rem;
  font-size: 1.02rem;
  font-weight: 700;
}

.legal-body p,
.legal-body ul,
.legal-body ol {
  margin: 0 0 1rem;
}

.legal-body ul,
.legal-body ol {
  padding-left: 1.3rem;
}

.legal-body li + li {
  margin-top: 0.35rem;
}

.legal-body a {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-body address {
  font-style: normal;
}

.legal-card {
  margin: 0 0 1.4rem;
  padding: 1.2rem 1.35rem;
  border-radius: var(--radius-md);
  background: rgba(255, 251, 245, 0.84);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.legal-card > :last-child {
  margin-bottom: 0;
}

.legal-card--accent {
  background:
    linear-gradient(135deg, rgba(198, 152, 89, 0.14), rgba(255, 255, 255, 0.7)),
    rgba(255, 251, 245, 0.9);
}

.legal-card__label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-table {
  width: 100%;
  margin: 0 0 1.4rem;
  border-collapse: collapse;
  font-size: 0.94rem;
}

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

.legal-table thead th {
  border-bottom-color: var(--line-strong);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-table tbody th {
  font-weight: 700;
}

.legal-table code,
.legal-body code {
  font-size: 0.88em;
  padding: 0.05rem 0.3rem;
  border-radius: 6px;
  background: rgba(60, 44, 28, 0.07);
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-toc {
    position: static;
  }
}

@media (max-width: 640px) {
  /* Tableaux empilés : chaque ligne devient une fiche, chaque cellule porte son intitulé. */
  .legal-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
  }

  .legal-table tr {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .legal-table th,
  .legal-table td {
    padding: 0.25rem 0;
    border: 0;
  }

  .legal-table td[data-label]::before {
    content: attr(data-label) " : ";
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
  }
}

/* Tableau de chiffres courts (reglement.html, chances de la roue) : reste une grille sur téléphone,
   au lieu de s'empiler en fiches ; le conteneur ne défile que si l'écran est vraiment trop étroit. */
.legal-table-scroll {
  margin: 0 0 1.4rem;
  overflow-x: auto;
}

.legal-table-scroll .legal-table {
  margin: 0;
}

.legal-table--grid td {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .legal-table.legal-table--grid {
    display: table;
    font-size: 0.86rem;
  }

  .legal-table--grid thead {
    position: static;
    display: table-header-group;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }

  .legal-table--grid tbody {
    display: table-row-group;
  }

  .legal-table--grid tr {
    display: table-row;
    padding: 0;
    border-bottom: 0;
  }

  .legal-table--grid th,
  .legal-table--grid td {
    display: table-cell;
    padding: 0.45rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .legal-table--grid thead th {
    font-size: 0.66rem;
    letter-spacing: 0.02em;
  }

  .legal-table--grid td[data-label]::before {
    content: none;
  }
}

