/* Mozza Gastronomia production v1: static, bilingual, no third-party runtime. */
:root {
  color-scheme: light;
  --ink: #191714;
  --ink-soft: #363029;
  --paper: #fff8ea;
  --cream: #efe0c5;
  --paper-warm: #f8ebd2;
  --wheat: #dfc39b;
  --terracotta: #a94f2e;
  --terracotta-dark: #7b341f;
  --olive: #4f5b3b;
  --olive-dark: #26301f;
  --sage: #8e9a78;
  --clay: #c77a53;
  --rule: rgba(25, 23, 20, 0.14);
  --rule-strong: rgba(25, 23, 20, 0.28);
  --shadow: 0 14px 34px rgba(25, 23, 20, 0.14);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --max: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Diag 2026-07-19 (GAP=0 sur iPhone) : aucun débordement DOM — le « scroll
     après le footer » est la zone d'over-scroll iOS. Sans fond sur <html>, le
     fond papier de <body> se propage au canvas et apparaît crème sous le footer
     encre. On donne à <html> le fond encre (haut = héros encre, bas = footer
     encre : l'over-scroll se fond aux deux bouts) + on amortit l'over-scroll.
     cf. Guidelines/mobile-overflow-checklist.md. */
  background: var(--ink);
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 11%, rgba(169, 79, 46, 0.08) 0 1px, transparent 1.5px) 0 0 / 22px 26px,
    radial-gradient(circle at 72% 38%, rgba(38, 48, 31, 0.055) 0 1px, transparent 1.6px) 0 0 / 31px 29px,
    linear-gradient(90deg, rgba(25, 23, 20, 0.032) 1px, transparent 1px) 0 0 / 54px 54px,
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  /* clip, NOT hidden : `overflow-x: hidden` force `overflow-y` à `auto` (règle
     CSS visible↔non-visible), ce qui faisait de <body> un 2e conteneur de
     scroll imbriqué dans <html> — d'où l'espace vide sous le footer sur mobile
     (aire de scroll de body dimensionnée sur le grand viewport pendant que le
     héros est en 100svh). `clip` coupe l'horizontal sans créer de conteneur de
     scroll. cf. Guidelines/mobile-overflow-checklist.md (une seule aire de scroll). */
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.22), transparent 28%, rgba(25, 23, 20, 0.035) 66%, transparent),
    repeating-linear-gradient(3deg, rgba(25, 23, 20, 0.018) 0 1px, transparent 1px 5px);
  mix-blend-mode: multiply;
}

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

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

a:hover {
  color: var(--terracotta);
}

p,
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

p {
  margin: 0 0 1rem;
}

figure {
  margin: 0;
}

em {
  color: var(--terracotta-dark);
  font-style: italic;
}

::selection {
  background: var(--terracotta);
  color: var(--paper);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  z-index: 1000;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header);
  background: rgba(255, 248, 234, 0.9);
  border-bottom: 1px solid rgba(25, 23, 20, 0.2);
  backdrop-filter: blur(7px) saturate(120%);
}

.site-header__inner {
  max-width: var(--max);
  min-height: var(--header);
  margin: 0 auto;
  padding: 0.7rem var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-height: 48px;
  text-decoration: none;
}

.brand__mark {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 250, 240, 0.7);
  border-radius: 48% 52% 46% 54%;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.brand__logo {
  display: block;
  height: clamp(60px, 8.5vw, 76px);
  width: auto;
}

.brand__word {
  display: grid;
  gap: 0.02rem;
  line-height: 1;
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}

.brand__sub {
  color: var(--olive);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-nav {
  display: none;
  justify-self: center;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a,
.lang-switch a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem;
  border: 1px solid var(--rule);
  background: rgba(255, 250, 240, 0.78);
}

.lang-switch a {
  min-width: 44px;
  padding: 0 0.5rem;
}

.lang-switch a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter);
}

.section--cream {
  background:
    linear-gradient(180deg, rgba(255, 248, 234, 0.36), rgba(239, 224, 197, 0.76)),
    var(--cream);
}

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

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

.eyebrow {
  margin: 0 0 1rem;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.section--ink .eyebrow,
.hero .eyebrow {
  color: var(--wheat);
}

.section-title {
  margin: 0 0 1.2rem;
  max-width: 14ch;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 7vw, 4.9rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
}

.section-title--wide {
  max-width: 19ch;
}

.section-title--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.lede {
  max-width: 58ch;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  font-style: italic;
  line-height: 1.55;
}

.section--ink .lede {
  color: rgba(255, 250, 240, 0.82);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.55rem;
}

.cta {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.05rem;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.cta--primary {
  background: var(--ink);
  color: var(--paper);
}

.cta--primary:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--paper);
}

.cta--light {
  border-color: rgba(255, 250, 240, 0.68);
  color: var(--paper);
}

.cta--light:hover {
  background: var(--paper);
  color: var(--ink);
}

.cta--block {
  width: 100%;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: grid;
  isolation: isolate;
  background: var(--ink);
  color: var(--paper);
}

.hero__media,
.hero__media img,
.hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media img,
.hero__media video {
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.hero__img {
  z-index: 0;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 42%, rgba(255, 248, 234, 0.06), transparent 30%),
    linear-gradient(90deg, rgba(25, 23, 20, 0.9), rgba(25, 23, 20, 0.54) 45%, rgba(25, 23, 20, 0.22)),
    linear-gradient(0deg, rgba(25, 23, 20, 0.78), rgba(25, 23, 20, 0.08) 45%);
}

.hero__copy {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.4rem) var(--gutter) clamp(1.3rem, 3vw, 2.4rem);
}

.hero__title {
  margin: 0 0 1.15rem;
  max-width: 14ch;
  font-family: var(--serif);
  font-size: clamp(3.05rem, 6.4vw, 5.4rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.9;
}

.hero__baseline {
  max-width: 27ch;
  margin: 0 0 0.85rem;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.22rem, 2.2vw, 1.9rem);
  font-style: italic;
  line-height: 1.12;
}

.hero__text {
  max-width: 28ch;
  color: rgba(255, 250, 240, 0.88);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.hero .cta {
  background: rgba(25, 23, 20, 0.22);
  border-color: rgba(255, 250, 240, 0.7);
  color: var(--paper);
}

.hero .cta--primary {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.hero .cta:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--paper);
}

.hero__stamp {
  display: none;
  position: absolute;
  right: var(--gutter);
  bottom: clamp(1.4rem, 3vw, 2.5rem);
  z-index: 2;
  width: 124px;
  height: 124px;
  border: 1px solid rgba(255, 250, 240, 0.5);
  border-radius: 53% 47% 51% 49%;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  text-align: center;
}

.marquee {
  overflow: hidden;
  max-width: 100vw;
  contain: paint;
  border-top: 1px solid rgba(255, 250, 240, 0.15);
  border-bottom: 1px solid rgba(25, 23, 20, 0.14);
  background: var(--olive-dark);
  color: var(--cream);
}

.marquee__track {
  width: max-content;
  display: flex;
  gap: 2rem;
  padding: 0.82rem 0;
  animation: marquee 34s linear infinite;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__dot {
  color: var(--clay);
}

.story__grid,
.today__grid,
.pickup__grid,
.visit__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.today {
  position: relative;
  background:
    linear-gradient(90deg, rgba(169, 79, 46, 0.08), transparent 36%),
    var(--paper-warm);
  border-top: 1px solid rgba(25, 23, 20, 0.24);
  border-bottom: 1px solid rgba(25, 23, 20, 0.2);
}

.today .section-title {
  max-width: 11ch;
  font-size: clamp(2.8rem, 8vw, 6rem);
}

.today__note {
  max-width: 26ch;
  margin: 1rem 0 0;
  color: var(--terracotta-dark);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-style: italic;
  line-height: 1.25;
}

.today-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

.today-list li {
  position: relative;
  padding: 1rem 1.1rem 0.95rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), transparent),
    var(--paper);
  border: 1px solid rgba(25, 23, 20, 0.28);
  box-shadow: 4px 5px 0 rgba(38, 48, 31, 0.15);
}

.today-list li:nth-child(2) {
  transform: rotate(-0.7deg);
}

.today-list li:nth-child(3) {
  transform: rotate(0.55deg);
}

.today-list li span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1;
}

.today-list li small {
  display: block;
  margin-top: 0.4rem;
  color: var(--olive-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story__portrait {
  display: grid;
  gap: 0.85rem;
}

.portrait-frame,
.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid rgba(25, 23, 20, 0.26);
  box-shadow: var(--shadow);
}

.portrait-frame {
  aspect-ratio: 4 / 5;
}

.portrait-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.6rem;
  padding: 2rem;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(25, 23, 20, 0.08) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(0deg, rgba(25, 23, 20, 0.08) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(135deg, var(--olive), var(--olive-dark));
  color: var(--paper);
}

.portrait-placeholder span {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 8vw, 4.6rem);
  line-height: 0.92;
}

.portrait-placeholder small {
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.media-frame img,
.media-frame video,
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide {
  aspect-ratio: 16 / 10;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

.media-frame--tall {
  aspect-ratio: 4 / 5;
}

.caption {
  margin: 0;
  color: rgba(54, 48, 41, 0.76);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.story__signature {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.5rem;
  color: var(--terracotta-dark);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
}

.story__signature::before {
  content: "";
  width: 58px;
  height: 1px;
  background: currentColor;
}

.lab__header,
.offer__header,
.visit__header {
  max-width: 860px;
  margin: 0 0 2.8rem;
  text-align: left;
}

.lab__header .eyebrow,
.offer__header .eyebrow,
.visit__header .eyebrow {
  justify-content: flex-start;
}

.lab__header .lede,
.offer__header .lede {
  margin-left: 0;
  margin-right: 0;
}

.lab__header .section-title--center,
.offer__header .section-title--center,
.visit__header .section-title--center {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.lab-gallery {
  display: grid;
  gap: clamp(0.65rem, 1.5vw, 1.1rem);
}

.lab-gallery__item {
  min-height: 0;
}

.lab-gallery__item--caption {
  min-height: 240px;
  padding: 1.5rem;
  display: grid;
  align-content: end;
  background: var(--olive-dark);
  color: var(--paper);
}

.lab-gallery__item--caption p {
  margin: 0;
  color: rgba(255, 250, 240, 0.82);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.38;
}

/* Lab editorial spread — asymmetric hierarchy, not a uniform gallery */
.lab-spread {
  display: grid;
  gap: clamp(0.55rem, 1.4vw, 1rem);
  margin-top: 0.5rem;
}

.lab-spread__feature {
  aspect-ratio: 16 / 10;
}

.lab-spread__tall {
  aspect-ratio: 4 / 5;
}

.lab-spread__ev--a,
.lab-spread__ev--b {
  aspect-ratio: 4 / 3;
}

.lab-spread__ev--c {
  aspect-ratio: 16 / 9;
}

.lab-spread__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1.25rem 1.05rem;
  background: linear-gradient(0deg, rgba(25, 23, 20, 0.88), rgba(25, 23, 20, 0.1) 72%, transparent);
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-style: italic;
  line-height: 1.25;
}

.lab-spread__quote {
  display: grid;
  align-content: center;
  padding: clamp(1.2rem, 2.2vw, 1.95rem);
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.05) 1px, transparent 1px) 0 0 / 30px 30px,
    var(--olive-dark);
  color: var(--paper);
  border: 1px solid rgba(25, 23, 20, 0.26);
  box-shadow: var(--shadow);
}

.lab-spread__quote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-style: italic;
  line-height: 1.3;
  color: rgba(255, 250, 240, 0.92);
}

.lab-spread__quote p::before {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin-bottom: 0.85rem;
  background: var(--wheat);
}

@media (min-width: 760px) {
  .lab-spread {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: minmax(360px, 48vh) minmax(190px, 25vh);
    grid-template-areas:
      "F F F F F F F F R R R R"
      "Q Q Q B B B B C C C D D";
  }

  .lab-spread > * {
    aspect-ratio: auto;
  }

  .lab-spread__feature {
    grid-area: F;
  }

  .lab-spread__quote {
    grid-area: Q;
  }

  .lab-spread__tall {
    grid-area: R;
  }

  .lab-spread__ev--a {
    grid-area: B;
  }

  .lab-spread__ev--b {
    grid-area: C;
  }

  .lab-spread__ev--c {
    grid-area: D;
  }
}

.fact-strip {
  margin-top: 2.2rem;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}

.fact {
  display: grid;
  gap: 0.45rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--rule);
}

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

.fact__key {
  color: var(--terracotta);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.fact__value {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-style: italic;
}

.offer-grid {
  display: grid;
  gap: 1rem;
}

.offer-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 58%),
    var(--paper);
  border: 1px solid rgba(25, 23, 20, 0.28);
  box-shadow: 5px 6px 0 rgba(169, 79, 46, 0.12);
}

.offer-card:nth-child(2) {
  transform: translateY(1.2rem) rotate(-0.45deg);
}

.offer-card:nth-child(3) {
  transform: rotate(0.55deg);
}

.offer-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.offer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-card__body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.offer-card__kicker {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--terracotta);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.offer-card h3 {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1;
}

.offer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

.offer-list li {
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(25, 23, 20, 0.24);
  background: rgba(255, 248, 234, 0.62);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pickup__media {
  min-height: 420px;
  transform: rotate(-0.75deg);
}

.pickup .section-title {
  color: var(--paper);
}

.pickup .section-title em {
  color: var(--clay);
}

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

.steps li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 48px;
  border-top: 1px solid rgba(255, 250, 240, 0.14);
  color: rgba(255, 250, 240, 0.86);
}

.step-num {
  width: 34px;
  height: 34px;
  border: 1px solid var(--wheat);
  border-radius: 50%;
  color: var(--wheat);
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  font-family: var(--serif);
}

.visit__map {
  display: grid;
  gap: 1rem;
}

.map-card {
  min-height: 340px;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(25, 23, 20, 0.32);
  background:
    linear-gradient(90deg, rgba(79, 91, 59, 0.13) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(0deg, rgba(79, 91, 59, 0.13) 1px, transparent 1px) 0 0 / 36px 36px,
    var(--cream);
  color: var(--olive-dark);
}

.map-card svg {
  width: 100%;
  height: 100%;
  min-height: 300px;
}

.visit-info {
  display: grid;
  gap: 1.4rem;
}

.info-block {
  border-top: 1px solid var(--rule-strong);
  padding-top: 1.1rem;
}

.info-block h3 {
  margin: 0 0 0.7rem;
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.info-block p {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: 1.17rem;
  font-style: italic;
  line-height: 1.42;
}

.hours {
  margin: 0;
}

.hours div {
  display: grid;
  grid-template-columns: minmax(7rem, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px dotted var(--rule-strong);
}

.hours dt {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.hours dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-style: italic;
}

.final-cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.05) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--olive-dark);
  color: var(--paper);
  text-align: left;
}

.final-cta .section-title {
  max-width: 13ch;
  margin-left: 0;
  margin-right: 0;
  color: var(--paper);
}

.final-cta .lede {
  margin-left: 0;
  margin-right: 0;
}

.final-cta .cta-row {
  justify-content: flex-start;
}

.site-footer {
  padding: 3rem var(--gutter) 2rem;
  background: var(--ink);
  color: rgba(255, 250, 240, 0.76);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.site-footer a {
  color: var(--paper);
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
}

.footer-block h2,
.footer-block h3 {
  margin: 0 0 0.65rem;
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-block p {
  margin: 0 0 0.35rem;
}

.footer-note {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 250, 240, 0.14);
  color: rgba(255, 250, 240, 0.54);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-brand {
  margin: 0 0 1rem;
}

.footer-logo {
  display: block;
  height: clamp(60px, 8.5vw, 76px);
  width: auto;
  filter: brightness(0) invert(1);
}

.sticky-cta {
  display: none;
}

.sticky-cta__btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.55rem 0.6rem;
  border: 1px solid rgba(255, 250, 240, 0.55);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
}

.sticky-cta__btn--primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.error-page,
.redirect-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: var(--cream);
}

.error-card {
  max-width: 680px;
}

.error-card h1 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.9;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 4px;
}

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

@media (min-width: 760px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    display: inline-flex;
  }

  .story__grid,
  .today__grid,
  .pickup__grid,
  .visit__grid {
    grid-template-columns: 0.86fr 1fr;
  }

  .today__grid {
    align-items: end;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .lab-gallery {
    grid-template-columns: 1.1fr 0.85fr 1fr;
  }

  .lab-gallery__item--tall {
    grid-row: span 2;
  }

  .lab-gallery__item--wide {
    grid-column: span 2;
  }

  .offer-grid {
    grid-template-columns: 1fr 0.96fr 1.04fr;
  }

  .fact {
    grid-template-columns: 170px 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media (max-width: 759px) {
  .sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.5rem calc(0.6rem + env(safe-area-inset-right)) calc(0.5rem + env(safe-area-inset-bottom)) calc(0.6rem + env(safe-area-inset-left));
    background: rgba(25, 23, 20, 0.96);
    border-top: 1px solid rgba(255, 250, 240, 0.18);
    backdrop-filter: blur(7px) saturate(120%);
  }

  .site-footer {
    padding-bottom: calc(2rem + 64px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 520px) {
  .marquee {
    display: none;
  }

  .site-header__inner {
    gap: 0.55rem;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .brand__name {
    font-size: 1.2rem;
  }

  .brand__sub {
    font-size: 0.58rem;
  }

  .cta {
    width: 100%;
    white-space: normal;
  }

  .hero__title {
    font-size: clamp(2.75rem, 15vw, 4.2rem);
    max-width: 9.5ch;
  }

  .offer-card:nth-child(2),
  .offer-card:nth-child(3),
  .pickup__media {
    transform: none;
  }

  .today-list li:nth-child(2),
  .today-list li:nth-child(3) {
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   IL FILO (mission 025) — le fil tiré du caillé, colonne vertébrale du scroll.
   FR uniquement : ces classes n'existent que dans /fr/index.html ; /en garde
   l'ancien habillage jusqu'à la mission 026. Sans JS ou en reduced-motion,
   le fil est entièrement dessiné et la page complète (fallback « La Vetrina »).
   ========================================================================== */

/* --- Le voyage chromatique : bandes discrètes, du noir (latte) au papier
       (tavola), interlude encre, retour à l'encre au CTA final. ------------ */
[data-filo] {
  position: relative;
}

[data-filo] > .wrap {
  position: relative;
  z-index: 2;
}

.band--curd {
  background: var(--olive-dark);
}

.band--lab {
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.045) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--olive);
}

.band--wheat {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 42%),
    var(--wheat);
}

.band--interlude {
  background:
    radial-gradient(circle at 78% 18%, rgba(223, 195, 155, 0.07), transparent 42%),
    var(--ink);
}

.final-cta.band--fine {
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.05) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--ink);
}

/* Bookend encre : l'eyebrow terracotta et la lede encre-douce de l'habillage
   par défaut deviennent illisibles sur noir — on repasse en blé/papier. */
.final-cta.band--fine .eyebrow {
  color: var(--wheat);
}

.final-cta.band--fine .lede {
  color: rgba(255, 250, 240, 0.84);
}

/* Bandes sombres : texte papier, accents blé (terracotta illisible sur olive). */
.band--curd,
.band--lab,
.band--interlude {
  color: rgba(255, 250, 240, 0.88);
}

.band--curd .section-title,
.band--lab .section-title,
.band--interlude .section-title {
  color: var(--paper);
}

.band--curd .lede,
.band--lab .lede,
.band--interlude .lede {
  color: rgba(255, 250, 240, 0.84);
}

.band--curd .eyebrow,
.band--lab .eyebrow,
.band--interlude .eyebrow {
  color: var(--wheat);
}

.band--curd .fact-strip {
  border-color: rgba(255, 250, 240, 0.28);
}

.band--curd .fact {
  border-color: rgba(255, 250, 240, 0.16);
}

.band--curd .fact__key {
  color: var(--wheat);
}

.band--curd .fact__value {
  color: var(--paper);
}

.band--curd .cta,
.band--lab .cta,
.band--interlude .cta {
  border-color: rgba(255, 250, 240, 0.68);
  color: var(--paper);
  background: rgba(25, 23, 20, 0.22);
}

.band--curd .cta--primary,
.band--lab .cta--primary,
.band--interlude .cta--primary {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.band--curd .cta:hover,
.band--lab .cta:hover,
.band--interlude .cta:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--paper);
}

/* Bande blé (tavola) : encre sur blé, échelons du parcours en olive sombre. */
.band--wheat .section-title {
  color: var(--ink);
}

.band--wheat .lede {
  color: var(--ink-soft);
}

.band--wheat .eyebrow {
  color: var(--terracotta-dark);
}

.band--wheat .steps li {
  border-top-color: rgba(25, 23, 20, 0.22);
  color: var(--ink-soft);
}

.band--wheat .step-num {
  border-color: var(--olive-dark);
  color: var(--olive-dark);
}

.band--wheat .cta {
  color: var(--ink);
  background: transparent;
}

.band--wheat .cta--primary {
  background: var(--ink);
  color: var(--paper);
}

.band--wheat .cta--primary:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
}

/* --- Le fil : un SVG absolu par section, viewBox 0–100 étiré (les
       coordonnées sont des pourcentages), trait constant via
       vector-effect="non-scaling-stroke". z: fond < fil < contenu. -------- */
.filo-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero .filo-svg {
  z-index: 0; /* au-dessus du média (DOM), sous la copie (z-index 1) */
}

.filo-path {
  fill: none;
  stroke: var(--filo, var(--terracotta));
  stroke-width: 2.25;
  stroke-linecap: round;
  opacity: 0.9;
}

/* Couleur du fil par bande : lait/blé dans le noir, terre sur le clair. */
.hero,
.band--curd,
.band--lab,
.band--interlude,
.band--fine {
  --filo: var(--wheat);
}

.section--cream,
.section:not([class*="band--"]) {
  --filo: var(--terracotta);
}

.band--wheat {
  --filo: var(--terracotta-dark);
}

/* Variante mobile : spina gauche fine ; desktop : le tracé qui tisse. */
.filo-path--m {
  display: none;
}

@media (max-width: 759px) {
  .filo-path--d {
    display: none;
  }

  .filo-path--m {
    display: block;
  }
}

/* --- Les cinq repères d'étape : latte · cagliata · filatura · mozzarella ·
       tavola. HTML positionné (le texte SVG se déformerait avec l'étirement). */
.filo-marker {
  position: absolute;
  left: var(--fx);
  top: var(--fy);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transform: translate(-4px, -50%);
  color: var(--filo, var(--terracotta));
  font-family: var(--serif);
  font-size: 0.92rem;
  font-style: italic;
  letter-spacing: 0.05em;
  pointer-events: none;
  white-space: nowrap;
}

.filo-marker::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 20%, transparent);
}

.filo-marker--dot {
  gap: 0;
}

@media (max-width: 759px) {
  .filo-marker {
    left: var(--fxm, 3%);
    top: var(--fym, var(--fy));
  }
}

/* L'origine : le point de lait dans le noir, début du fil au héros. */
.filo-origin {
  position: absolute;
  left: var(--fx);
  top: var(--fy);
  z-index: 1;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow:
    0 0 0 6px rgba(255, 248, 234, 0.16),
    0 0 22px rgba(255, 248, 234, 0.4);
  transform: translate(-50%, -50%);
  animation: filo-pulse 3.2s ease-in-out infinite;
  pointer-events: none;
}

@media (max-width: 759px) {
  .filo-origin {
    left: var(--fxm, 6%);
    top: var(--fym, var(--fy));
  }
}

@keyframes filo-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 6px rgba(255, 248, 234, 0.16),
      0 0 22px rgba(255, 248, 234, 0.4);
  }
  50% {
    box-shadow:
      0 0 0 10px rgba(255, 248, 234, 0.08),
      0 0 30px rgba(255, 248, 234, 0.5);
  }
}

/* Carte vitrine (026) — cadre encre pour le footage réel du lab. */
.vitrine-card {
  border-color: var(--ink);
  background: var(--ink);
}

/* --- États initiaux du dessin : UNIQUEMENT si le scripting est actif ET que
       le mouvement est accepté. Sans JS / reduced-motion : tout est visible,
       rien ne bouge (le « La Vetrina » gratuit). JS pose html.filo-live
       APRÈS avoir mesuré et posé les dashoffsets — aucun flash. ----------- */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .filo-path {
    opacity: 0;
  }

  html.filo-live .filo-path {
    opacity: 0.9;
  }

  .filo-marker {
    opacity: 0;
    transform: translate(-4px, -30%);
    transition:
      opacity 450ms ease,
      transform 450ms ease;
  }

  html.filo-live .filo-marker.is-lit {
    opacity: 1;
    transform: translate(-4px, -50%);
  }
}

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

/* Carte réelle (031) — marqueur terracotta en overlay HTML, centre exact. */
.map-photo .map-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  pointer-events: none;
}
.map-photo .map-marker::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 5px rgba(169, 79, 46, 0.24);
}
.map-photo .map-marker span {
  padding: 0.05rem 0.5rem;
  background: rgba(255, 248, 234, 0.92);
  color: var(--terracotta-dark);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
}
