/* ==========================================================================
   MENDIAK — Taloa-Burger · Bardos-Bardoze
   ========================================================================== */

:root {
  --green: #0f5d36;
  --green-deep: #08361f;
  --green-ink: #052615;
  --orange: #e8892b;
  --gold: #f3b33d;
  --yellow: #f7d54a;
  --cream: #fbf1de;
  --cream-2: #f3e4c6;
  --ink: #0d0d0b;
  --ink-2: #1a1a17;
  --muted: #6f6a5e;

  --f-display: "Anton", "Impact", sans-serif;
  --f-script: "Yellowtail", "Brush Script MT", cursive;
  --f-body: "DM Sans", system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }

/* Grain overlay — gives the flat colours a printed, poster feel */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

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

.display {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .9;
}
.script { font-family: var(--f-script); text-transform: none; letter-spacing: 0; }
.eyebrow {
  font-size: 13px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
}

.logo {
  border-radius: 50%;
  clip-path: circle(49.4% at 50% 50%);
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  border: 2px solid currentColor;
  transition: transform .3s var(--ease), background .3s, color .3s;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold:hover { background: var(--yellow); border-color: var(--yellow); }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Top bar (inner pages) ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .4s, backdrop-filter .4s, padding .4s;
  padding: 18px 0;
}
.topbar.is-scrolled {
  background: rgba(8, 54, 31, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 0;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); }
.brand img { width: 52px; transition: width .4s var(--ease); }
.topbar.is-scrolled .brand img { width: 42px; }
.brand span { font-family: var(--f-display); font-size: 22px; letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 28px; color: var(--cream); font-weight: 500; font-size: 15px; }
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { padding: 10px 18px; font-size: 13px; }
.burger-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  color: var(--cream); cursor: pointer; padding: 10px;
}
.burger-toggle span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }

@media (max-width: 820px) {
  .burger-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 26px;
    background: var(--green-deep);
    font-family: var(--f-display); font-size: 40px; text-transform: uppercase;
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .nav .btn { font-family: var(--f-body); font-size: 15px; padding: 14px 24px; }
  body.nav-open .nav { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  body.nav-open .burger-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .burger-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .burger-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Mountain ridge divider ---------- */
.ridge { display: block; width: 100%; height: auto; margin-bottom: -1px; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  background: var(--gold); color: var(--ink);
  padding: 14px 0;
  border-block: 2px solid var(--ink);
}
.marquee__track { display: inline-flex; animation: marquee 38s linear infinite; }
.marquee__track span {
  font-family: var(--f-display); font-size: 26px; text-transform: uppercase;
  padding: 0 22px; display: inline-flex; align-items: center; gap: 44px;
}
.marquee__track span::after { content: "✦"; font-size: 16px; color: var(--green); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   HOME — split screen
   ========================================================================== */
.home { background: var(--ink); color: var(--cream); }
.split {
  position: relative;
  display: flex;
  height: 100vh; height: 100svh;
  min-height: 560px;
}
.door {
  position: relative;
  flex: 1;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(28px, 5vw, 72px);
  padding-bottom: clamp(28px, 3.5vh, 88px);
  transition: flex .8s var(--ease);
  isolation: isolate;
}
.door__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transform: scale(1.08);
  transition: transform 1.4s var(--ease), filter 1s;
  filter: saturate(.9);
}
.door::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transition: opacity .8s;
}
.door--truck::before { background: linear-gradient(180deg, rgba(8,54,31,.55) 0%, rgba(5,38,21,.94) 78%); }
.door--event::before { background: linear-gradient(180deg, rgba(13,13,11,.5) 0%, rgba(13,13,11,.95) 78%); }
.door--truck .door__bg { background-image: url("assets/burgers-plancha.jpg"); }
.door--event .door__bg { background-image: url("assets/chef-burgers.jpg"); }

.door__num {
  font-family: var(--f-display); font-size: 15px; letter-spacing: .3em;
  color: var(--gold); margin-bottom: 14px;
}
/* Fixed size, sized so the non-breaking "ON DÉPLACE" still fits the narrow hovered state */
.door__title { font-size: clamp(54px, min(7.4vw, 13.5vh), 136px); }
.door__title .script { display: block; font-size: .5em; color: var(--gold); margin-bottom: -.05em; transform: rotate(-4deg); transform-origin: left; }
.door__text {
  max-width: 560px; margin-top: 18px; font-size: 17px; color: rgba(251,241,222,.82);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .8s var(--ease), opacity .6s, margin .6s;
}
.door__cta {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 14px;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 14px;
}
.door__cta i {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--cream);
  transition: background .4s, color .4s, transform .5s var(--ease), border-color .4s;
}
.door__cta svg { width: 20px; height: 20px; }
.door:hover .door__bg, .door:focus-visible .door__bg { transform: scale(1); filter: saturate(1.1); }
.door:hover .door__cta i, .door:focus-visible .door__cta i { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: rotate(-45deg); }
.door:hover .door__text, .door:focus-visible .door__text { max-height: 140px; opacity: 1; }
.door:focus-visible { outline: 3px solid var(--gold); outline-offset: -6px; }

@media (hover: hover) and (min-width: 821px) {
  .split:hover .door { flex: .75; }
  .split:hover .door:hover { flex: 1.25; }

  /* The logo follows the seam, with the same timing as the panels. Each panel's horizontal
     padding is outside the flex ratio, hence the correction: 2 × pad × .25 = .5 × pad */
  .split__center { transition: left .8s var(--ease); }
  .split:has(.door--truck:hover) .split__center { left: calc(62.5% - .5 * clamp(28px, 5vw, 72px)); }
  .split:has(.door--event:hover) .split__center { left: calc(37.5% + .5 * clamp(28px, 5vw, 72px)); }

  .door__title { white-space: nowrap; }
}

.split__center {
  position: absolute; z-index: 5;
  left: 50%; top: clamp(24px, 6vh, 64px);
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  pointer-events: none;
  text-align: center;
}
.split__center img {
  width: clamp(120px, min(14vw, 20vh), 190px);
  filter: drop-shadow(0 16px 40px rgba(0,0,0,.55));
}
@keyframes float { 50% { transform: translateY(-8px) rotate(-2deg); } }

/* Mobile: the split turns vertical and fits one screen. Text is mirrored
   (top panel aligned top, bottom panel aligned bottom) so the seam stays free
   for the logo, which sits on it like on desktop. */
@media (max-width: 820px) {
  .split { flex-direction: column; height: 100vh; height: 100svh; min-height: 560px; }
  .door {
    justify-content: flex-start;
    padding: calc(env(safe-area-inset-top, 0px) + 32px) 24px 0;
  }
  .door--event {
    justify-content: flex-end;
    padding: 0 24px calc(env(safe-area-inset-bottom, 0px) + 32px);
  }
  .door--truck::before { background: linear-gradient(0deg, rgba(8,54,31,.5) 0%, rgba(5,38,21,.94) 80%); }
  .door--event .door__bg { background-position: 30% 20%; }

  .door__num { font-size: 12px; margin-bottom: 10px; }
  .door__title { font-size: clamp(42px, min(13vw, 6.4svh), 80px); }
  .door__text { display: none; }
  .door__cta { margin-top: 16px; font-size: 12px; gap: 12px; }
  .door__cta i { width: 44px; height: 44px; }
  .door__cta svg { width: 18px; height: 18px; }

  /* No hover on touch: a slow drift keeps the photos alive, and a tap gives feedback */
  .door__bg { animation: drift 22s ease-in-out infinite alternate; }
  .door--event .door__bg { animation-delay: -11s; }
  .door:active::before { opacity: .8; transition-duration: .15s; }
  .door:active .door__cta i { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: rotate(-45deg); }

  /* The seam follows the floating logo: same duration, curve and start as `float`.
     At the peak the logo rises 8px and tilts -2deg, so the seam rises 8px and tilts
     by ±(50vw · tan 2°) ≈ ±1.746vw at its edges. The bottom panel's background
     reaches 24px above its box so there is always image behind the raised edge. */
  .door--event {
    z-index: 1; overflow: visible;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    animation: seam 6s ease-in-out infinite;
  }
  .door--event .door__bg, .door--event::before { top: -24px; }

  .split__center { top: 50%; transform: translate(-50%, -50%); }
  .split__center img { width: min(40vw, 19svh, 170px); animation: float 6s ease-in-out infinite; }}
@keyframes seam {
  50% { clip-path: polygon(0 calc(-8px + 1.746vw), 100% calc(-8px - 1.746vw), 100% 100%, 0 100%); }
}
@keyframes drift {
  from { transform: scale(1.06); }
  to { transform: scale(1.16) translate(-2%, -1.5%); }
}

/* ==========================================================================
   INNER PAGES — hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh; min-height: 92svh;
  display: flex; align-items: flex-end;
  color: var(--cream);
  background: var(--green-deep);
  overflow: hidden;
  isolation: isolate;
}
.hero__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
}
.hero__img--chef { transform: scale(1.05) scaleX(-1); object-position: 50% 12%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(5,38,21,.95) 0%, rgba(5,38,21,.7) 45%, rgba(5,38,21,.2) 100%);
}
.hero--dark { background: var(--ink); }
.hero--dark::before { background: linear-gradient(90deg, rgba(13,13,11,.95) 0%, rgba(13,13,11,.72) 50%, rgba(13,13,11,.25) 100%); }
.hero .wrap { padding-top: 140px; padding-bottom: clamp(90px, 14vh, 160px); }
/* Desktop: full-screen hero so the content block, ridge included, fits the viewport
   and the buttons keep clear air above the ridge */
@media (min-width: 821px) {
  /* The hero is one screen + the ridge (viewBox 1440×110 at 100% width ≈ 7.64vw), so the ridge
     sits just below the fold and the buttons keep 60px of air above the bottom of the screen */
  .hero { min-height: calc(100vh + 7.64vw); min-height: calc(100svh + 7.64vw); }
  .hero .wrap { padding-top: 110px; padding-bottom: calc(7.64vw + 60px); }
  /* The title also scales with the screen height so the whole block, buttons included,
     fits in the first screen: block ≈ 2.2 × title size + ~450px of fixed content and air */
  .hero .hero__title { font-size: clamp(56px, min(12vw, 43vh - 172px), 190px); }
  /* Same fit for a 3-line title: block ≈ 3.1 × title size + the same fixed content */
  .hero .hero__title--3lines { font-size: clamp(56px, min(12vw, 32vh - 136px), 190px); }
  /* Lighter lead (3 lines instead of 4) to give that room back to the title */
  .hero .hero__lead { font-size: 17px; line-height: 1.5; max-width: 600px; margin-top: 18px; }
  .hero .hero__actions { margin-top: 28px; }
}
.hero .eyebrow { margin-bottom: 18px; }
.hero__title { font-size: clamp(64px, 12vw, 190px); }
section[id] { scroll-margin-top: 70px; }
.hero__title .script { display: block; font-size: .42em; color: var(--gold); transform: rotate(-4deg); transform-origin: left; margin-bottom: .08em; position: relative; z-index: 1; }
.hero__lead { max-width: 520px; margin-top: 24px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(251,241,222,.85); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__ridge { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; color: var(--gold); }
.hero + .marquee { border-top: 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section--green { background: var(--green); color: var(--cream); }
.section--ink { background: var(--ink); color: var(--cream); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(48px, 8vw, 110px); }
.section-head h2 .script { color: var(--orange); font-size: .55em; display: block; transform: rotate(-3deg); transform-origin: left; }
.section--green .section-head h2 .script, .section--ink .section-head h2 .script { color: var(--gold); }
.section-head p { max-width: 400px; color: var(--muted); }
.section--green .section-head p, .section--ink .section-head p { color: rgba(251,241,222,.75); }

/* ---------- Menu: burgers ---------- */
.peaks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.peak {
  position: relative;
  background: var(--cream);
  padding: 30px 28px 32px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background .4s, color .4s;
  overflow: hidden;
}
@media (hover: hover) and (pointer: fine) { .peak:hover { background: var(--green); color: var(--cream); } }
.peak__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.peak__name { font-family: var(--f-display); font-size: 38px; text-transform: uppercase; line-height: 1; }
.peak__price { font-family: var(--f-display); font-size: 26px; color: var(--green); transition: color .4s; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .peak:hover .peak__price { color: var(--gold); } }
.peak__alt {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange);
}
.peak__alt svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .peak:hover .peak__alt { color: var(--gold); } }
.peak__desc { color: var(--muted); transition: color .4s; }
@media (hover: hover) and (pointer: fine) { .peak:hover .peak__desc { color: rgba(251,241,222,.85); } }
.peak__mtn {
  position: absolute; right: -10px; bottom: -6px; width: 150px; height: auto;
  color: var(--ink); opacity: .05; transition: opacity .4s, transform .6s var(--ease);
  pointer-events: none;
}
.peak__desc a { position: relative; z-index: 1; }
@media (hover: hover) and (pointer: fine) { .peak:hover .peak__mtn { opacity: .14; color: var(--gold); transform: translateY(-6px); } }
.peak--month { background: var(--gold); }
.peak--month .peak__desc { color: var(--ink); }
.peak--custom { background: var(--green); color: var(--cream); }
.peak--custom .peak__alt { color: var(--gold); }
.peak--custom .peak__desc { color: rgba(251,241,222,.85); }
@media (hover: hover) and (pointer: fine) { .peak--custom:hover { background: var(--green-deep); } }
.peak--custom .peak__mtn { color: var(--gold); opacity: .12; }
.peak__plus {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--ink);
  font-family: var(--f-body); font-weight: 500; font-size: 30px; line-height: 1;
  transition: transform .5s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .peak--custom:hover .peak__plus { transform: rotate(90deg); } }
.peak__link {
  margin-top: auto; padding-top: 6px; position: relative; z-index: 1;
  font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold);
}
.peak__link:hover { color: var(--yellow); }

/* 9 cards: 3×3 on desktop; on 2 columns the last card spans the full row so no cell is left empty */
@media (max-width: 1000px) {
  .peaks { grid-template-columns: repeat(2, 1fr); }
  .peak:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .peaks { grid-template-columns: 1fr; } }

.menu-note { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; font-size: 15px; color: var(--muted); }
.menu-note strong { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 14px; border-radius: 999px; border: 1.5px solid currentColor; font-size: 14px; font-weight: 500; }

/* ---------- Taloa block ---------- */
.taloa { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.taloa__visual { position: relative; }
.taloa__visual img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.taloa__badge {
  position: absolute; right: -18px; top: -18px;
  width: 130px; height: 130px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  display: grid; place-items: center; text-align: center;
  font-family: var(--f-display); font-size: 18px; line-height: 1.05; text-transform: uppercase;
  transform: rotate(10deg);
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
}
.taloa__badge b { display: block; font-size: 44px; }
.taloa h2 { font-size: clamp(56px, 8vw, 110px); }
.taloa h2 .script { display: block; font-size: .5em; color: var(--gold); transform: rotate(-3deg); transform-origin: left; }
.taloa__intro { margin: 18px 0 32px; color: rgba(251,241,222,.8); max-width: 460px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 14px 0; border-bottom: 1px dashed rgba(251,241,222,.28);
}
.list li span:first-child { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.list li i { flex: 1; border-bottom: 1px dotted transparent; }
.list li span:last-child { font-family: var(--f-display); font-size: 22px; color: var(--gold); }
.list small { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; opacity: .7; font-size: 14px; }
.taloa .chips { margin-top: 22px; color: rgba(251,241,222,.85); }

@media (max-width: 860px) {
  .taloa { grid-template-columns: 1fr; }
  .taloa__visual { max-width: 460px; }
  .taloa__badge { right: 8px; top: -22px; width: 110px; height: 110px; font-size: 15px; }
  .taloa__badge b { font-size: 36px; }
}

/* ---------- Extras columns ---------- */
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.extras h3 { font-family: var(--f-script); font-size: 44px; color: var(--green); margin-bottom: 8px; }
.extras .list li { border-bottom-color: rgba(13,13,11,.18); }
.extras .list li span:last-child { color: var(--green); }
@media (max-width: 900px) { .extras { grid-template-columns: 1fr; } }

/* ---------- Formules ---------- */
.formules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .formules { grid-template-columns: repeat(2, 1fr); } .formule:last-child { grid-column: 1 / -1; } }
.formule {
  position: relative; overflow: hidden;
  padding: clamp(30px, 4vw, 48px);
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  background: var(--green);
  display: flex; flex-direction: column; gap: 10px;
}
.formule h3 { font-family: var(--f-display); font-size: clamp(34px, 4vw, 52px); text-transform: uppercase; line-height: 1; }
.formule__price { font-family: var(--f-display); font-size: clamp(72px, 9vw, 120px); color: var(--gold); line-height: .9; }
.formule__price small { font-size: .38em; }
.formule p { color: rgba(251,241,222,.85); font-size: 18px; }
.formule::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px;
  border-radius: 50%; border: 2px dashed rgba(243,179,61,.35);
}
@media (max-width: 720px) { .formules { grid-template-columns: 1fr; } }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 6px; background: var(--ink); padding: 6px; }
.gallery img { width: 100%; height: clamp(220px, 30vw, 420px); object-fit: cover; }
@media (max-width: 820px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img { height: 46vw; }
}

/* ---------- Fermeture exceptionnelle ---------- */
.notice {
  position: fixed; z-index: 60; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 32px);
  padding: 12px 20px; border-radius: 999px;
  background: var(--orange); color: var(--ink);
  font-weight: 700; font-size: 14px; text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.notice[hidden] { display: none; }
.notice { display: flex; align-items: center; gap: 12px; padding-right: 10px; }
.notice button {
  flex: none; width: 28px; height: 28px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(13,13,11,.15); color: var(--ink); font-size: 18px; line-height: 1;
}
.notice button:hover { background: rgba(13,13,11,.3); }
@media (max-width: 560px) { .notice { border-radius: 14px; } }

/* ---------- Fidélité ---------- */
.loyalty {
  margin-top: 22px;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  padding: 28px clamp(24px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--cream); color: var(--ink);
}
.loyalty h3 { font-family: var(--f-display); font-size: clamp(26px, 3vw, 36px); text-transform: uppercase; line-height: 1.05; }
.loyalty h3 em { font-style: normal; color: var(--orange); }
.dots { display: grid; grid-template-columns: repeat(10, 22px); gap: 8px; }
.dots i { width: 22px; height: 22px; border-radius: 50%; background: var(--cream-2); border: 2px solid var(--ink); }
.dots i:last-child { background: var(--gold); position: relative; }
.dots i.is-on { background: var(--green); }
@media (max-width: 720px) {
  .loyalty { grid-template-columns: 1fr; }
  .dots { grid-template-columns: repeat(10, 1fr); gap: 5px; }
  .dots i { width: 100%; height: auto; aspect-ratio: 1; }
}

/* ---------- Infos (hours + map) ---------- */
.infos { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: grid; grid-template-columns: 11.5em 1fr; gap: 16px; padding: 16px 0; border-bottom: 2px solid var(--ink); }
.hours li:first-child { border-top: 2px solid var(--ink); }
.hours b { font-family: var(--f-display); font-size: 24px; text-transform: uppercase; font-weight: 400; line-height: 1.2; }
.hours span { font-size: 18px; align-self: center; }
.hours .closed { color: var(--muted); }
.hours li.is-today { background: var(--gold); margin: 0 -14px; padding-inline: 14px; border-radius: 8px; border-bottom-color: transparent; }
/* The highlight replaces the separators around it: no line above or below the yellow block */
.hours li:has(+ li.is-today) { border-bottom-color: transparent; }
.hours li.is-today:first-child { border-top-color: transparent; }
.address { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.address .big { font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 40px); text-transform: uppercase; line-height: 1.05; }
.address .row { display: flex; flex-wrap: wrap; gap: 12px; }
.address .btn { color: var(--ink); }
.address .btn--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.map { border-radius: var(--radius); overflow: hidden; border: 2px solid var(--ink); min-height: 380px; background: var(--cream-2); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }
.pay { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .infos { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .hours b { font-size: 20px; } .hours span { font-size: 16px; } .hours li { gap: 10px; } }

/* ---------- Cross-link banner ---------- */
.crosslink {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  padding: clamp(60px, 10vw, 120px) 0;
  color: var(--cream); background: var(--ink);
}
.crosslink img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .45; transition: transform 1.2s var(--ease), opacity .6s; }
.crosslink::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,13,11,.9), rgba(13,13,11,.3)); }
.crosslink:hover img { transform: scale(1.05); opacity: .6; }
.crosslink .eyebrow { color: var(--gold); }
.crosslink h2 { font-size: clamp(44px, 7.5vw, 104px); margin-top: 28px; }
.crosslink .door__cta { margin-top: 24px; }
.crosslink:hover .door__cta i { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: rotate(-45deg); }

/* ---------- Footer ---------- */
.footer { background: var(--green-ink); color: rgba(251,241,222,.75); padding: 64px 0 28px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.footer img { width: 92px; margin-bottom: 14px; }
.footer__title { margin: 0 0 12px; font-weight: 700; color: var(--gold); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer__bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(251,241,222,.15); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13px; }
.footer__bottom .script { font-size: 22px; color: var(--gold); }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* ==========================================================================
   EVENTS page
   ========================================================================== */
.occasions { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.occasion {
  position: relative; overflow: hidden;
  grid-column: span 4;
  min-height: 300px;
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  background: var(--ink-2); color: var(--cream);
  border: 1px solid rgba(251,241,222,.1);
  transition: transform .5s var(--ease), background .5s;
}
.occasion:nth-child(1) { grid-column: span 7; background: var(--green); }
.occasion:nth-child(2) { grid-column: span 5; background: var(--cream); color: var(--ink); }
.occasion:nth-child(3) { background: var(--gold); color: var(--ink); }
.occasion:nth-child(5) { background: var(--orange); color: var(--ink); }
.occasion:hover { transform: translateY(-6px); }
.occasion__icon { position: absolute; top: 24px; right: 24px; width: 64px; height: 64px; opacity: .9; }
.occasion h3 { font-family: var(--f-display); font-size: clamp(36px, 4vw, 56px); text-transform: uppercase; line-height: .95; }
.occasion p { opacity: .82; max-width: 380px; }
.occasion .num { font-family: var(--f-display); font-size: 14px; letter-spacing: .3em; opacity: .6; }
@media (max-width: 900px) {
  .occasion, .occasion:nth-child(n) { grid-column: span 6; }
  .occasion:nth-child(1) { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .occasion, .occasion:nth-child(n) { grid-column: 1 / -1; min-height: 240px; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--ink); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--f-display); font-size: 92px; line-height: 1; color: var(--orange);
  display: block; margin-bottom: 14px;
}
.step h3 { font-family: var(--f-display); font-size: 32px; text-transform: uppercase; line-height: 1; margin-bottom: 10px; }
.step p { color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.offer { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.offer img { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; }
.offer h2 { font-size: clamp(48px, 7vw, 96px); }
.offer h2 .script { display: block; font-size: .5em; color: var(--gold); transform: rotate(-3deg); transform-origin: left; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; }
.checks li::before {
  content: ""; flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0d0b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center / 15px no-repeat;
}
@media (max-width: 860px) { .offer { grid-template-columns: 1fr; } .offer img { aspect-ratio: 4/3; } }

/* ---------- Quote form ---------- */
.quote { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); }
.quote h2 { font-size: clamp(52px, 8vw, 110px); }
.quote h2 .script { display: block; font-size: .5em; color: var(--gold); transform: rotate(-3deg); transform-origin: left; }
.quote__side p { margin-top: 20px; color: rgba(251,241,222,.78); max-width: 420px; }
.quote__phone { display: inline-block; margin-top: 30px; font-family: var(--f-display); font-size: clamp(36px, 4.4vw, 56px); color: var(--gold); line-height: 1; }
.quote__phone:hover { color: var(--yellow); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 17px; color: var(--cream);
  background: rgba(251,241,222,.06);
  border: 1.5px solid rgba(251,241,222,.22);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color .25s, background .25s;
  width: 100%;
  min-width: 0;
}
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3b33d' stroke-width='2.5'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field select option { color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(251,241,222,.1); }
.field input::placeholder, .field textarea::placeholder { color: rgba(251,241,222,.4); }
.form .btn { justify-self: start; }
.form__msg { grid-column: 1 / -1; font-size: 14px; color: rgba(251,241,222,.65); }
@media (max-width: 860px) { .quote { grid-template-columns: 1fr; } }

/* Desktop call card: replaces the SMS form on mouse-driven devices */
.callcard {
  display: none;
  grid-template-columns: auto 1fr; gap: clamp(24px, 3vw, 44px); align-items: center;
  padding: clamp(24px, 3vw, 40px);
  border: 1.5px solid rgba(251,241,222,.22); border-radius: var(--radius);
  background: rgba(251,241,222,.04);
}
.callcard__qr { width: 180px; text-align: center; }
.callcard__qr img { width: 180px; height: 180px; border-radius: 14px; border: 6px solid var(--cream); }
.callcard__qr p { margin-top: 12px; font-size: 13px; color: rgba(251,241,222,.7); }
.callcard .eyebrow { color: var(--gold); }
.callcard__phone { display: block; margin-top: 10px; font-family: var(--f-display); font-size: clamp(30px, 2.8vw, 44px); line-height: 1; color: var(--cream); white-space: nowrap; }
.callcard__phone:hover { color: var(--gold); }
.callcard__hint { margin-top: 22px; color: rgba(251,241,222,.78); }
.callcard__list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.callcard__list li { padding: 6px 14px; border-radius: 999px; border: 1.5px solid rgba(243,179,61,.6); font-size: 14px; }
@media (hover: hover) and (pointer: fine) {
  .quote .form { display: none; }
  .callcard { display: grid; }
  .quote__phone { display: none; }
}
@media (hover: hover) and (pointer: fine) and (max-width: 640px) {
  .callcard { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .callcard__list { justify-content: center; }
}
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Cookie consent ---------- */
.consent {
  position: fixed; z-index: 90; right: 12px; bottom: 12px;
  display: flex; align-items: center; gap: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(13,13,11,.82); color: rgba(251,241,222,.8);
  font-size: 12px; line-height: 1.4; white-space: nowrap;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.consent[hidden] { display: none; }
.consent button {
  padding: 2px 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--cream); text-decoration: underline; text-underline-offset: 2px;
}
.consent button:hover { color: var(--gold); }
@media (max-width: 640px) { .consent { right: 8px; bottom: 8px; padding: 4px 12px; gap: 10px; font-size: 11px; } }
.footer__cookies {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: inherit; text-decoration: underline;
}
.footer__cookies:hover { color: var(--gold); }
