/* ==========================================================================
   Julien — Huîtres Genève — Design tokens & base
   ========================================================================== */

:root {
  /* Palette — blanc coquille, sable, gris pierre, brun très foncé, marine désaturé */
  --shell: #f6f1e8;
  --shell-soft: #efe7d8;
  --sand: #e2d5bd;
  --sand-deep: #cdbd9c;
  --stone: #8d8577;
  --stone-deep: #635c50;
  --bark: #241e19;
  --bark-soft: #362e26;
  --marine: #47575a;
  --marine-deep: #2c3739;
  --navy: #15254a;
  --navy-deep: #0c1731;
  --navy-mist: #9fb4e0;
  --ink: #1c1712;
  --paper: #fbf8f2;

  --font-serif: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --gutter: 20px;
  --radius: 2px;
  --radius-lg: 4px;

  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.3s;
  --dur-med: 0.6s;
  --dur-slow: 1.1s;

  color-scheme: light;
}

@media (min-width: 720px) {
  :root { --gutter: 40px; }
}

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

html {
  scroll-behavior: auto; /* JS handles smooth-scroll so we can offset the sticky header */
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--marine);
  margin: 0 0 14px;
}

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--bark);
  color: var(--shell);
  padding: 10px 16px;
  z-index: 2000;
  transition: top var(--dur-fast) var(--ease-premium);
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

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

/* ==========================================================================
   Buttons
   ========================================================================== */

/* Shell-shaped buttons: an irregular oyster-like oval that ripples on hover, while fine
   scallop ribs fan out from the base and the colour flips. */
.btn {
  --shell-shape: 46% 54% 42% 58% / 64% 58% 42% 36%;
  --shell-shape-hover: 55% 45% 58% 42% / 44% 62% 38% 56%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px 17px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--shell-shape);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-med) var(--ease-premium),
              border-radius 0.7s var(--ease-premium),
              background-color var(--dur-med) var(--ease-premium),
              border-color var(--dur-med) var(--ease-premium),
              color var(--dur-med) var(--ease-premium),
              box-shadow var(--dur-med) var(--ease-premium);
  white-space: nowrap;
}
/* scallop ribs fanning out from below the button, like a shell's hinge */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-conic-gradient(from -90deg at 50% 135%, currentColor 0deg 1.2deg, transparent 1.2deg 7deg);
  opacity: 0;
  transform: scale(0.85);
  transform-origin: 50% 100%;
  transition: opacity var(--dur-med) ease, transform 0.8s var(--ease-premium);
  pointer-events: none;
}
.btn:hover,
.btn:focus-visible {
  border-radius: var(--shell-shape-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -14px rgba(12, 23, 49, 0.55);
}
.btn:hover::after,
.btn:focus-visible::after { opacity: 0.14; transform: scale(1); }
.btn:active { transform: translateY(0) scale(0.97); }

/* cream → navy */
.btn--primary {
  background: var(--shell);
  color: var(--ink);
}
.btn--primary:hover,
.btn--primary:focus-visible { background: var(--navy); color: var(--shell); }

/* outline on photos → filled cream */
.btn--ghost {
  background: transparent;
  color: var(--shell);
  border-color: rgba(246, 241, 232, 0.6);
}
.btn--ghost:hover,
.btn--ghost:focus-visible { background: var(--shell); border-color: var(--shell); color: var(--ink); }

.btn--dark {
  background: var(--bark);
  color: var(--shell);
}
.btn--dark:hover,
.btn--dark:focus-visible { background: var(--navy); }

/* header "Commander": outline → filled navy */
.btn--outline {
  background: transparent;
  color: var(--bark);
  border-color: var(--stone-deep);
}
.btn--outline:hover,
.btn--outline:focus-visible { background: var(--navy); border-color: var(--navy); color: var(--shell); }

.btn--whatsapp::before {
  content: "";
  width: 16px; height: 16px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path d='M16.02 3C9.4 3 4 8.4 4 15.02c0 2.46.71 4.75 1.94 6.68L4 29l7.5-1.9a12.9 12.9 0 0 0 4.52.81h.01c6.62 0 12.02-5.4 12.02-12.02C28.05 8.4 22.65 3 16.02 3zm0 21.9h-.01a9.9 9.9 0 0 1-5.05-1.39l-.36-.21-4.45 1.13 1.19-4.34-.24-.37a9.88 9.88 0 0 1-1.52-5.3c0-5.47 4.45-9.92 9.94-9.92 2.65 0 5.15 1.04 7.02 2.92a9.86 9.86 0 0 1 2.9 7.01c0 5.47-4.45 9.47-9.42 9.47zm5.44-7.39c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.17-.17.2-.35.22-.65.07-.3-.15-1.25-.46-2.38-1.47-.88-.78-1.47-1.75-1.65-2.05-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.07-.15-.67-1.62-.92-2.22-.24-.58-.49-.5-.67-.51-.17-.01-.37-.01-.57-.01-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48s1.07 2.87 1.22 3.07c.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.69.63.71.23 1.36.2 1.87.12.57-.08 1.76-.72 2.01-1.42.25-.7.25-1.29.17-1.42-.07-.12-.27-.2-.57-.35z'/></svg>") center/contain no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path d='M16.02 3C9.4 3 4 8.4 4 15.02c0 2.46.71 4.75 1.94 6.68L4 29l7.5-1.9a12.9 12.9 0 0 0 4.52.81h.01c6.62 0 12.02-5.4 12.02-12.02C28.05 8.4 22.65 3 16.02 3zm0 21.9h-.01a9.9 9.9 0 0 1-5.05-1.39l-.36-.21-4.45 1.13 1.19-4.34-.24-.37a9.88 9.88 0 0 1-1.52-5.3c0-5.47 4.45-9.92 9.94-9.92 2.65 0 5.15 1.04 7.02 2.92a9.86 9.86 0 0 1 2.9 7.01c0 5.47-4.45 9.47-9.42 9.47zm5.44-7.39c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.17-.17.2-.35.22-.65.07-.3-.15-1.25-.46-2.38-1.47-.88-.78-1.47-1.75-1.65-2.05-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.07-.15-.67-1.62-.92-2.22-.24-.58-.49-.5-.67-.51-.17-.01-.37-.01-.57-.01-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48s1.07 2.87 1.22 3.07c.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.69.63.71.23 1.36.2 1.87.12.57-.08 1.76-.72 2.01-1.42.25-.7.25-1.29.17-1.42-.07-.12-.27-.2-.57-.35z'/></svg>") center/contain no-repeat;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 18px 0;
  background: var(--shell);
  box-shadow: 0 1px 0 rgba(36, 30, 25, 0.08);
  transition: padding var(--dur-med) var(--ease-premium),
              box-shadow var(--dur-med) var(--ease-premium);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }

.site-header.is-scrolled {
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(36, 30, 25, 0.08);
}

.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 32px; width: auto; display: block; }
@media (min-width: 900px) { .brand__logo { height: 36px; } }

.main-nav { display: none; }
@media (min-width: 900px) {
  .main-nav {
    display: flex;
    gap: 34px;
    list-style: none;
    margin: 0; padding: 0;
  }
  .main-nav a {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bark-soft);
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    transition: color var(--dur-fast), border-color var(--dur-fast);
  }
  .main-nav a:hover { border-color: currentColor; }
}

.header-cta { display: none; }
@media (min-width: 900px) { .header-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(36, 30, 25, 0.2);
  border-radius: var(--radius);
  color: var(--bark);
}
@media (min-width: 900px) { .nav-toggle { display: none; } }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bark);
  z-index: 850; /* under the header (900) so the logo and the menu button stay usable */
  display: flex;
  flex-direction: column;
  padding: 100px var(--gutter) 40px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-premium), transform var(--dur-med) var(--ease-premium);
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--shell);
  padding: 12px 0;
  border-bottom: 1px solid rgba(246,241,232,0.1);
}

/* ==========================================================================
   Mobile sticky order bar
   ========================================================================== */

.mobile-order-bar {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 800;
  display: flex;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(28, 23, 18, 0.35);
  transform: translateY(120%);
  transition: transform var(--dur-med) var(--ease-premium);
}
.mobile-order-bar.is-visible { transform: translateY(0); }
.mobile-order-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 10px;
  background: #25D366;
  color: #08220f;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (min-width: 900px) { .mobile-order-bar { display: none; } }

/* ==========================================================================
   Section scaffolding
   ========================================================================== */

section { position: relative; }

.section-pad { padding-block: 88px; }
@media (min-width: 900px) { .section-pad { padding-block: 140px; } }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head h2 { font-size: clamp(2rem, 5vw, 3.1rem); }
.section-head p { margin-top: 16px; font-size: 1.05rem; color: var(--stone-deep); max-width: 46ch; }
.section-head.center { margin-inline: auto; text-align: center; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-premium), transform 0.9s var(--ease-premium);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-premium), transform 0.8s var(--ease-premium);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.18s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }

/* ==========================================================================
   01 / 02 — Cinematic hero + scroll storytelling
   ========================================================================== */

.oyster-experience {
  background: var(--bark);
}
/* Animated mode: the hero stays stuck at the top and every following (opaque) section slides
   over it — the carte first, like a sheet coming up. */
.oyster-experience.is-stacked { position: sticky; top: 0; z-index: 0; }
/* every later section paints above the stuck hero */
.oyster-experience.is-stacked ~ section:not(.choisir) { position: relative; z-index: 1; }
.oyster-experience.is-stacked .scene-pin { transform-origin: 50% 50%; will-change: transform; }
.scene-dim {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
}

.scene-pin {
  position: relative;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.scene-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(140, 130, 110, 0.35), transparent 60%),
    linear-gradient(160deg, var(--marine-deep) 0%, var(--bark) 65%);
}

.scene-layer {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  will-change: transform, opacity;
  transform: scale(1.02);
}
/* First frame of the detach sequence, shown until the canvas draws (and as the static fallback). */
.scene-layer--poster { opacity: 1; transform: none; object-position: 50% 50%; }

/* Light wash that takes over once the oyster has left the plate — same colour as the header
   and the next section, so the pin releases seamlessly into the page. */
.scene-wash {
  position: absolute;
  inset: 0;
  background: var(--shell);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}

/* Local-SEO intro revealed on the light wash, framing the oyster: title above it, text below. */
.scene-intro {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: calc(var(--header-h, 88px) + 4vh) var(--gutter) 9vh;
  text-align: center;
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
}
/* The two market days flank the oyster (which sits at the centre of the screen): the middle
   column is exactly the floating oyster's width plus breathing room. */
.scene-markets {
  --oyster-room: calc(min(26vw, 190px) + 56px);
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  translate: 0 -50%; /* separate from `transform`, which the scroll parallax sets inline */
  display: grid;
  grid-template-columns: minmax(0, 196px) var(--oyster-room) minmax(0, 196px);
  justify-content: center;
  align-items: center;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.market-ticket:nth-child(2) { grid-column: 3; }
.market-ticket {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 16px 10px 14px;
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: 999px 999px 10px 10px;
  box-shadow: 0 24px 40px -28px rgba(36,30,25,0.4);
  color: var(--ink);
  text-align: center;
  transition: transform var(--dur-med) var(--ease-premium), box-shadow var(--dur-med) var(--ease-premium), border-color var(--dur-fast);
}
/* pinned-ticket tilt */
.market-ticket:nth-child(1) { transform: rotate(-3deg); }
.market-ticket:nth-child(2) { transform: rotate(3deg); }
.market-ticket:hover,
.market-ticket:focus-visible {
  transform: translateY(-6px) rotate(0deg);
  border-color: var(--sand-deep);
  box-shadow: 0 30px 50px -28px rgba(36,30,25,0.5);
}
.market-ticket:focus-visible { outline: 2px solid var(--marine); outline-offset: 3px; }
.market-ticket__day {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--marine);
  padding-top: 8px;
}
.market-ticket__place {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  line-height: 1.15;
  white-space: nowrap;
}
.market-ticket__hours { font-size: 0.78rem; color: var(--stone); }
.market-ticket__cta {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dotted var(--sand-deep);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-deep);
  white-space: nowrap;
}
.market-ticket__cta::after { content: " →"; transition: margin var(--dur-fast); }
/* Home-delivery ticket: same shape, navy like the delivery section */
.market-ticket--delivery { background: var(--navy); border-color: var(--navy); color: var(--shell); }
.market-ticket--delivery .market-ticket__day { color: var(--navy-mist); }
.market-ticket--delivery .market-ticket__hours { color: rgba(246,241,232,0.75); line-height: 1.25; }
.market-ticket--delivery .market-ticket__cta { color: var(--shell); border-top-color: rgba(159,180,224,0.5); }
.market-ticket--delivery:hover,
.market-ticket--delivery:focus-visible { border-color: var(--navy-mist); }
.market-ticket:hover .market-ticket__cta::after { margin-left: 3px; }

@media (max-width: 759px) {
  .scene-markets { --oyster-room: calc(min(26vw, 190px) + 16px); padding-inline: 12px; grid-template-columns: minmax(0, 150px) var(--oyster-room) minmax(0, 150px); }
  .market-ticket { padding: 10px 6px 9px; }
  .market-ticket__day { font-size: 0.54rem; letter-spacing: 0.14em; padding-top: 4px; }
  .market-ticket__place { font-size: 1.05rem; }
  .market-ticket__hours { font-size: 0.68rem; }
  .market-ticket__cta { margin-top: 5px; padding-top: 5px; font-size: 0.54rem; letter-spacing: 0.08em; }
  .market-ticket__cta-long { display: none; }
}
/* Static fallback (reduced motion): tickets in the flow. */
.scene-intro--static .scene-markets { position: static; translate: none; gap: 16px; margin: 8px 0; }

.scene-intro__title {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  color: var(--ink);
  text-wrap: balance;
}
.scene-intro__text {
  margin: 0;
  max-width: 54ch;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--stone-deep);
  text-wrap: pretty;
}
.scene-intro__text strong { color: var(--ink); font-weight: 600; }
.scene-intro__body { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.scene-intro__origin {
  margin: 0;
  max-width: 54ch;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}
.scene-intro__origin strong { color: var(--stone-deep); font-weight: 600; }
@media (max-width: 759px) {
  /* Mobile: title, then the markets (with the oyster between them), then the text — stacked in
     the flow with even gaps, so nothing overlaps whatever the screen height. The oyster docks on
     the centre of .scene-markets (see initFloatingOyster). */
  .scene-intro {
    justify-content: center;
    gap: clamp(20px, 4.5vh, 44px);
    padding-top: calc(64px + 2vh);
    padding-bottom: 4vh;
  }
  .scene-markets { position: relative; top: auto; left: auto; right: auto; translate: none; width: 100%; }
  .scene-intro__text { font-size: 0.95rem; }
}
/* Reduced motion / no GSAP: shown as a plain section right after the hero. */
.scene-intro--static {
  position: static;
  opacity: 1;
  gap: 20px;
  padding: 72px var(--gutter);
  background: var(--shell);
}

.scene-layer.is-missing { display: none; }
.media--missing .scene-layer { display: none; }
.media--missing::after {
  content: attr(data-placeholder-label);
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246,241,232,0.35);
  text-align: center;
  width: 80%;
}

.scene-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,23,18,0.55) 0%, rgba(28,23,18,0.05) 32%, rgba(28,23,18,0.15) 60%, rgba(28,23,18,0.85) 100%);
  pointer-events: none;
}

.scene-copy {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 0 var(--gutter) 64px;
  color: var(--shell);
  will-change: opacity, transform;
}
@media (min-width: 900px) {
  .scene-copy { padding: 0 var(--gutter) 96px; max-width: 760px; margin-inline: auto var(--gutter); }
}

.scene-copy h1 {
  font-size: clamp(2.3rem, 7vw, 4.4rem);
  color: var(--shell);
  text-wrap: balance;
}
.scene-subtitle {
  margin: 20px 0 30px;
  font-size: 1.05rem;
  max-width: 42ch;
  color: var(--shell-soft);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.scroll-hint {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246,241,232,0.6);
}
.scroll-hint span {
  width: 1px; height: 34px;
  background: rgba(246,241,232,0.4);
  position: relative;
  overflow: hidden;
}
.scroll-hint span::after {
  content: "";
  position: absolute;
  left: 0; top: -100%;
  width: 100%; height: 100%;
  background: var(--shell);
  animation: scrollhint 1.8s ease-in-out infinite;
}
@media (min-width: 700px) { .scroll-hint { display: flex; } }
@keyframes scrollhint { 0% { top: -100%; } 60%, 100% { top: 100%; } }

/* floating oyster — detaches from the macro shot, then drifts down the page.
   Position, rotation and scale are all set per frame by initFloatingOyster() in main.js. */
.floating-oyster {
  position: fixed;
  left: 0;
  top: 0;
  width: min(26vw, 190px);
  aspect-ratio: 1 / 0.9;
  transform-origin: 50% 50%;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity, top;
  filter: drop-shadow(0 24px 30px rgba(28,23,18,0.35));
}
.floating-oyster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.floating-oyster img.is-missing { display: none; }
.floating-oyster .oyster-fallback {
  /* object-fit:contain on the real photo leaves transparent padding around the oyster's
     silhouette, so this shape only shows once we know the photo failed — otherwise it would
     halo visibly behind the loaded image. */
  display: none;
  position: absolute;
  inset: 0;
  border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%;
  background:
    radial-gradient(120% 140% at 30% 20%, rgba(255,255,255,0.5), transparent 55%),
    linear-gradient(150deg, var(--sand) 0%, var(--stone) 55%, var(--stone-deep) 100%);
  box-shadow: inset 0 0 30px rgba(36,30,25,0.25);
}
.floating-oyster:has(img.is-missing) .oyster-fallback { display: block; }

/* ==========================================================================
   04 — Choisissez vos huîtres
   ========================================================================== */

/* The carte slides up over the intro screen like a sheet: rounded top, soft shadow, and it sits
   above the floating oyster (z-index 40) so the oyster disappears underneath it. */
.choisir {
  position: relative;
  z-index: 50;
  margin-top: -36px;
  background: var(--paper);
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -30px 60px -34px rgba(36, 30, 25, 0.28);
  /* clip (not hidden): keeps the tide inside without breaking the sticky left column */
  overflow: clip;
}
.choisir > .wrap { position: relative; z-index: 1; }

/* Rising tide — driven by --tide (0 → 1) set from the scroll position in main.js. At 1 the
   water covers the bottom of the carte and melts into the navy of the delivery section. */
.tide {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  z-index: 2;
  pointer-events: none;
  transform: translateY(calc((1 - var(--tide, 0)) * 100%));
  will-change: transform;
}
.tide__wave { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; }
.tide__wave--back path { fill: #2b4178; opacity: 0.55; }
.tide__wave--front path { fill: var(--navy); }
.tide__wave--back { animation: wave-drift 14s linear infinite; bottom: 18px; }
.tide__wave--front { animation: wave-drift 9s linear infinite reverse; }
@media (max-width: 759px) { .tide { height: 150px; } }
@media (max-width: 759px) { .choisir { margin-top: -24px; border-radius: 24px 24px 0 0; } }

/* La carte — intro + photo on the left, a printed-menu card on the right. */
.carte-layout {
  display: grid;
  gap: 48px;
}
@media (min-width: 960px) {
  .carte-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
  .carte-intro { position: sticky; top: 120px; }
}
.carte-menu {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 40px 22px 30px;
  box-shadow: 0 1px 0 rgba(36,30,25,0.04), 0 40px 70px -40px rgba(36,30,25,0.25);
}
/* Fine inner rule, like a printed menu. */
.carte-menu::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(205,189,156,0.45);
  border-radius: 2px;
  pointer-events: none;
}
@media (min-width: 640px) { .carte-menu { padding: 52px 40px 38px; } }

.carte-menu__group + .carte-menu__group { margin-top: 40px; }
.carte-menu__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 0 12px 14px;
  border-bottom: 1px solid var(--ink);
}
.carte-menu__head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--ink);
}
.carte-menu__head > span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}
.carte-menu__hint {
  margin: 28px 12px 0;
  font-size: 0.8rem;
  color: var(--stone);
  text-align: center;
}

.price-list { list-style: none; margin: 0; padding: 0; }
.carte-menu .price-list li {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease-premium), transform 0.7s var(--ease-premium);
  transition-delay: calc(var(--i, 0) * 80ms + 250ms);
}
.carte-menu.is-visible .price-list li { opacity: 1; transform: none; }
.price-list li + li { border-top: 1px solid rgba(205,189,156,0.5); }

/* Each row is the WhatsApp link: label · leader · price · arrow, tagline underneath. */
.price-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: baseline;
  column-gap: 14px;
  padding: 18px 12px 16px;
  margin-inline: -2px;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-premium);
}
.price-row__label {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  white-space: nowrap;
}
.price-row__label small {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--stone);
  margin-left: 4px;
}

/* Oyster list: two price columns (les 6 / les 12) with a small column header. */
.price-list--dual .price-row,
.price-cols {
  grid-template-columns: auto 1fr 4.6em 4.6em 30px;
}
.price-list--dual .price-row__price { text-align: right; font-size: 1.15rem; }
.price-cols {
  display: grid;
  column-gap: 14px;
  padding: 14px 12px 0;
  margin-inline: -2px;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: right;
  color: var(--stone);
}
.price-list li.price-cols + li { border-top: 0; }
.carte-intro, .carte-menu { min-width: 0; }
/* Narrow screens: variety name on its own line, the two prices line up underneath. */
@media (max-width: 560px) {
  .price-list--dual .price-row,
  .price-cols { grid-template-columns: 1fr 4.4em 4.4em 24px; column-gap: 8px; }
  .price-cols span:first-child { display: none; }
  .price-list--dual .price-row__label { grid-column: 1 / -1; margin-bottom: 2px; }
}
.price-row__leader {
  align-self: end;
  margin-bottom: 0.45em;
  border-bottom: 1px dotted var(--sand-deep);
}
.price-row__price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  white-space: nowrap;
}
.price-row__price--tbc {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}
.price-row__go {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  align-self: center;
  border: 1px solid var(--sand-deep);
  border-radius: 50%;
  color: var(--stone-deep);
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-med) var(--ease-premium);
}
.price-row__tagline {
  grid-column: 1 / -1;
  margin-top: 4px;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--stone-deep);
}
.price-row:hover,
.price-row:focus-visible { background: var(--shell); }
.price-row:hover .price-row__go,
.price-row:focus-visible .price-row__go {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--shell);
  transform: translateX(3px);
}
.price-row:focus-visible { outline: 2px solid var(--marine); outline-offset: 2px; }
@media (max-width: 420px) {
  .price-row { column-gap: 10px; padding-inline: 8px; }
  .price-row__label { font-size: 1.05rem; }
  .price-row__price { font-size: 1.05rem; }
  .price-list--dual .price-row__price { font-size: 0.98rem; }
  .price-row__go { width: 24px; height: 24px; }
}

/* ==========================================================================
   06 — Livraison
   ========================================================================== */

.livraison {
  position: relative;
  overflow: hidden;
  color: var(--shell);
  background:
    radial-gradient(50% 40% at 80% 45%, rgba(80,120,200,0.18), transparent 70%),
    radial-gradient(50% 45% at 10% 100%, rgba(80,120,200,0.14), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding-bottom: 170px;
}
.livraison .wrap { position: relative; z-index: 1; }
.livraison .eyebrow { color: var(--navy-mist); }
.livraison .section-head h2 { color: var(--shell); }
.livraison .section-head p { color: rgba(246,241,232,0.78); margin-inline: auto; }

/* --- Waves --- */
.livraison-waves { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none; }
.livraison-waves .wave { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; }
.wave--back path { fill: rgba(159,180,224,0.10); }
.wave--front path { fill: rgba(159,180,224,0.16); }
.wave--back { animation: wave-drift 26s linear infinite; }
.wave--front { animation: wave-drift 17s linear infinite reverse; }
@keyframes wave-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Route: 3 steps joined by a track that draws itself, an oyster travels along it --- */
.delivery-route {
  --route-time: 2.4s;
  position: relative;
  margin: 12px auto 64px;
  max-width: 980px;
}
.delivery-route.reveal { opacity: 1; transform: none; }
.delivery-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: center;
}
/* Each step lights up as the oyster reaches it. */
.delivery-step {
  position: relative;
  z-index: 1;
  opacity: 0.25;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.8s var(--ease-premium);
  transition-delay: calc(var(--i) * var(--route-time) / 2 + 0.15s);
}
.delivery-step__num {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1px solid rgba(159,180,224,0.45);
  background: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy-mist);
  transition: background 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
  transition-delay: inherit;
}
.delivery-step h3 { font-size: 1.45rem; color: var(--shell); margin-bottom: 8px; }
.delivery-step p { margin: 0 auto; max-width: 26ch; font-size: 0.95rem; color: rgba(246,241,232,0.72); }
.delivery-route.is-visible .delivery-step { opacity: 1; transform: none; }
.delivery-route.is-visible .delivery-step__num {
  background: var(--shell);
  border-color: var(--shell);
  color: var(--navy);
  box-shadow: 0 0 0 8px rgba(159,180,224,0.14);
}

/* The track runs from the centre of the first number to the centre of the last one. */
.delivery-route__track {
  position: absolute;
  top: 28px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 0;
  border-top: 2px dashed rgba(159,180,224,0.3);
}
.delivery-route__track::after {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--navy-mist), var(--shell));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--route-time) cubic-bezier(0.45, 0, 0.25, 1) 0.15s;
}
.delivery-route__oyster {
  position: absolute;
  left: 0;
  top: -54px;
  width: 44px;
  margin-left: -22px;
  opacity: 0;
  transition: left var(--route-time) cubic-bezier(0.45, 0, 0.25, 1) 0.15s, opacity 0.4s ease 0.15s;
}
.delivery-route__oyster img {
  width: 100%;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,0.35));
  animation: oyster-bob 1.1s ease-in-out infinite alternate;
}
@keyframes oyster-bob { from { transform: translateY(0) rotate(-8deg); } to { transform: translateY(-6px) rotate(8deg); } }
.delivery-route.is-visible .delivery-route__track::after { transform: scaleX(1); }
.delivery-route.is-visible .delivery-route__oyster { left: 100%; opacity: 1; }

/* Mobile: vertical route on the left, steps read top to bottom. */
@media (max-width: 759px) {
  .delivery-steps { grid-template-columns: 1fr; gap: 36px; text-align: left; }
  .delivery-step { padding-left: 80px; min-height: 56px; }
  .delivery-step__num { position: absolute; left: 0; top: 0; margin: 0; }
  .delivery-step p { margin: 0; }
  .delivery-route__track {
    top: 28px; bottom: 28px; left: 28px; right: auto;
    width: 0; height: auto;
    border-top: 0; border-left: 2px dashed rgba(159,180,224,0.3);
  }
  .delivery-route__track::after {
    left: -2px; top: 0; width: 2px; height: 100%;
    background: linear-gradient(180deg, var(--navy-mist), var(--shell));
    transform: scaleY(0); transform-origin: top;
  }
  .delivery-route.is-visible .delivery-route__track::after { transform: scaleY(1); }
  .delivery-route__oyster {
    top: 0; left: -44px; width: 30px; margin: -15px 0 0;
    transition: top var(--route-time) cubic-bezier(0.45, 0, 0.25, 1) 0.15s, opacity 0.4s ease 0.15s;
  }
  .delivery-route.is-visible .delivery-route__oyster { top: 100%; left: -44px; }
}

/* --- Delivery ticket: key info + the WhatsApp action --- */
.delivery-ticket {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 32px;
  padding: 26px 30px;
  border-radius: 18px;
  background: rgba(246,241,232,0.06);
  border: 1px solid rgba(159,180,224,0.28);
  backdrop-filter: blur(6px);
}
/* ticket notches */
.delivery-ticket::before,
.delivery-ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--navy-deep);
  border: 1px solid rgba(159,180,224,0.28);
}
.delivery-ticket::before { left: -12px; clip-path: inset(0 0 0 50%); }
.delivery-ticket::after { right: -12px; clip-path: inset(0 50% 0 0); }
.delivery-ticket__info { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 0; }
.delivery-ticket__info dt {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-mist);
  margin-bottom: 4px;
}
.delivery-ticket__info dd { margin: 0; font-family: var(--font-serif); font-size: 1.2rem; color: var(--shell); }
.delivery-ticket .btn { flex-shrink: 0; }
/* on the navy section the primary button turns sea-blue instead of navy */
.livraison .btn--primary:hover,
.livraison .btn--primary:focus-visible { background: var(--navy-mist); color: var(--navy-deep); }
@media (max-width: 559px) { .delivery-ticket .btn { width: 100%; } .delivery-ticket { padding: 24px 22px; } }
/* ==========================================================================
   07 — Julien
   ========================================================================== */

.julien { background: var(--shell); padding-bottom: 110px; }

/* --- Porthole entrance. --j (0 → 1) is set from the scroll in main.js --- */
.julien-stage { position: relative; height: 230vh; }
.julien-sticky {
  --j: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--shell);
}
/* Giant outlined name behind the porthole; it swells and fades as the porthole opens. */
.julien-word {
  font-family: var(--font-serif);
  font-size: clamp(7rem, 26vw, 24rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--sand-deep);
  transform: scale(calc(1 + var(--j) * 0.35));
  opacity: calc(1 - var(--j) * 1.4);
  user-select: none;
  pointer-events: none;
}
/* Radius of the porthole: 16vmin closed → covers the whole screen open. */
.julien-sticky { --r: calc(16vmin + var(--j) * 80vmax); }
.julien-hero {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: var(--shell);
  display: flex;
  align-items: flex-end;
  background: var(--bark);
  clip-path: circle(var(--r) at 50% 50%);
}
/* Brass-like rim around the porthole while it is small. */
.julien-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: calc(var(--r) * 2 + 18px);
  height: calc(var(--r) * 2 + 18px);
  translate: -50% -50%;
  border-radius: 50%;
  border: 2px solid var(--sand-deep);
  box-shadow: 0 0 0 7px rgba(205,189,156,0.25), 0 30px 60px -20px rgba(36,30,25,0.45);
  opacity: calc(1 - var(--j) * 2.2);
  pointer-events: none;
}
.julien-hero__media { position: absolute; inset: 0; }
.julien-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 65%;
  transform: scale(calc(1.2 - var(--j) * 0.2));
  will-change: transform;
}
.julien-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28,23,18,0) 35%, rgba(28,23,18,0.72) 100%),
    linear-gradient(90deg, rgba(28,23,18,0.45) 0%, rgba(28,23,18,0) 55%);
  opacity: var(--j);
}
.julien-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: clamp(48px, 8vh, 96px);
}
.julien-hero__content .eyebrow { color: var(--sand); }
.julien-hero__content h2 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.02;
  color: var(--shell);
  max-width: 14ch;
}
.julien-quote {
  margin: 22px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: var(--shell-soft);
}
/* Title block rises in once the porthole is fully open. */
.julien-hero__content > * {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.9s var(--ease-premium);
}
.julien-hero__content > :nth-child(2) { transition-delay: 0.1s; }
.julien-hero__content > :nth-child(3) { transition-delay: 0.22s; }
.julien-sticky.is-open .julien-hero__content > * { opacity: 1; transform: none; }
.julien-hero.media--missing .julien-hero__media { display: none; }
/* Reduced motion: no stage, portrait shown open. */
.julien-stage.is-static { height: auto; }
.julien-stage.is-static .julien-sticky { position: relative; }
@media (max-width: 759px) {
  .julien-stage { height: 190vh; }
}

/* --- Intro + animated figures --- */
.julien-facts {
  display: grid;
  gap: 40px;
  padding-top: 72px;
  align-items: center;
}
@media (min-width: 900px) { .julien-facts { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.julien-intro { margin: 0; font-size: 1.12rem; line-height: 1.7; color: var(--stone-deep); max-width: 52ch; }
.julien-intro strong { color: var(--ink); font-weight: 600; }
.julien-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.julien-stats li { padding: 4px 18px; border-left: 1px solid var(--sand-deep); }
.julien-stats li:first-child { border-left: 0; padding-left: 0; }
.julien-stats strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.julien-stats span {
  display: block;
  margin-top: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}
@media (max-width: 759px) {
  .julien-stats li { padding: 4px 12px; }
}

/* ==========================================================================
   08 — CTA final
   ========================================================================== */

.final-cta {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--shell);
  overflow: hidden;
}
.final-cta__media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(140,130,110,0.3), transparent 60%),
    linear-gradient(160deg, var(--marine-deep) 0%, var(--bark) 70%);
}
.final-cta__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.final-cta__media::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,23,18,0.35) 0%, rgba(28,23,18,0.25) 40%, rgba(28,23,18,0.9) 100%);
  z-index: 1;
}
.final-cta.media--missing::after { color: rgba(246,241,232,0.4); z-index: 2; }

.final-cta__body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 72px var(--gutter) 56px;
}
.final-cta__body h2 { font-size: clamp(2.1rem, 6vw, 3.6rem); max-width: 14ch; }
.final-cta__body p { margin: 18px 0 32px; max-width: 44ch; color: var(--shell-soft); font-size: 1.05rem; }
.final-cta .cta-row { margin-bottom: 40px; }

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding-top: 26px;
  border-top: 1px solid rgba(246,241,232,0.18);
}
.contact-row a {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--shell-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.contact-row a:hover { color: var(--shell); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--bark);
  color: var(--shell);
  padding: 26px var(--gutter) 110px;
  font-size: 0.78rem;
}
@media (min-width: 900px) { .site-footer { padding-bottom: 26px; } }
.site-footer .wrap { display: flex; flex-direction: column; gap: 18px; }
.footer-top,
.footer-bottom { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 640px) {
  .footer-top,
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
}
.footer-bottom {
  padding-top: 16px;
  border-top: 1px solid rgba(246, 241, 232, 0.14);
  color: rgba(246, 241, 232, 0.7);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-legal a,
.footer-credit a {
  color: var(--shell);
  text-decoration: underline;
  text-decoration-color: rgba(246, 241, 232, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--dur-fast);
}
.footer-legal a:hover,
.footer-credit a:hover { text-decoration-color: var(--shell); }
.footer-credit { margin: 0; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* The navy logo, recoloured to the cream of the site: the PNG is used as a mask. */
.footer-brand__logo {
  display: block;
  flex-shrink: 0;
  width: 96px;
  aspect-ratio: 3 / 1;
  background: var(--shell);
  -webkit-mask: url("../assets/images/logo-navy.png") center / contain no-repeat;
  mask: url("../assets/images/logo-navy.png") center / contain no-repeat;
}

/* ==========================================================================
   Reduced motion & small-screen safety
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .scene-layer { transition: opacity 0.4s ease !important; }
}

@media (max-width: 480px) {
  .scene-copy h1 { font-size: 2.1rem; }
}

/* ==========================================================================
   Legal pages (mentions légales, confidentialité)
   ========================================================================== */

.legal-body { background: var(--shell); }
.legal-body .site-header .wrap { gap: 16px; }
.legal-back { padding: 11px 22px 12px; font-size: 0.72rem; }
.legal-page {
  max-width: 780px;
  padding-top: 150px;
  padding-bottom: 110px;
  color: var(--stone-deep);
}
.legal-page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--ink); margin-bottom: 36px; }
.legal-page h2 { font-size: 1.35rem; color: var(--ink); margin: 40px 0 12px; }
.legal-page p,
.legal-page li { font-size: 1rem; line-height: 1.75; }
.legal-page ul { padding-left: 20px; }
.legal-page li + li { margin-top: 8px; }
.legal-page a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { font-size: 0.85rem; color: var(--stone); }
/* Visible placeholders for the information still missing — remove before going live. */
.todo { background: #fff3a8; color: var(--ink); padding: 1px 5px; border-radius: 3px; }
