/* ==========================================================================
   L’Écailler de Genève — direction artistique inspirée du flyer
   Bleu marine · crème · doré, titres en coup de pinceau marine.
   ========================================================================== */

:root {
  --navy: #13284b;
  --navy-deep: #0b1a35;
  --navy-soft: #24406e;
  --cream: #f6f0e4;
  --paper: #fbf8f1;
  --sand: #e9dfcb;
  --line: #ddd0b6;
  --gold: #b88f4f;
  --gold-soft: #d8bb84;
  --orange: #e2611c;
  --ink: #1b2233;
  --muted: #5c6475;

  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-script: "Allura", "Snell Roundhand", cursive;
  --font-sans: "Lato", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --gutter: 20px;
  --radius: 10px;
  --shadow: 0 14px 34px rgba(11, 26, 53, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Marine brush stroke behind every section title (cf. flyer). */
  --brush: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 64' preserveAspectRatio='none'><path fill='%2313284b' d='M7 12C42 5 92 9 142 6s118 2 178-1c32-1 54 2 72 5l-6 5 10 4-9 6 11 6-9 6 7 7-12 6c-44 6-104 4-164 7s-120-1-170 1c-20 1-36-1-46-4l7-6-8-6 8-7-7-7 8-7z'/><path fill='%2313284b' opacity='.75' d='M330 2l62 3-2 3-58-2zM24 59l120 1-1 3-116-1zM350 57l40-3 1 3-40 3z'/></svg>");
  --wa-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path d='M16 3C9.4 3 4 8.4 4 15c0 2.5.7 4.8 1.9 6.7L4 29l7.5-1.9c1.4.5 2.9.8 4.5.8 6.6 0 12-5.4 12-12S22.6 3 16 3zm5.4 14.5c-.3-.1-1.8-.9-2-1-.3-.1-.5-.1-.7.1-.2.3-.8 1-.9 1.2-.2.2-.3.2-.6.1-.3-.1-1.3-.5-2.4-1.5-.9-.8-1.5-1.8-1.6-2-.2-.3 0-.5.1-.6l.5-.5c.1-.2.2-.3.3-.5.1-.2 0-.4 0-.5-.1-.1-.7-1.6-.9-2.2-.2-.6-.5-.5-.7-.5h-.6c-.2 0-.5.1-.8.4-.3.3-1 1-1 2.5s1.1 2.9 1.2 3.1c.2.2 2.1 3.2 5.1 4.5.7.3 1.3.5 1.7.6.7.2 1.4.2 1.9.1.6-.1 1.8-.7 2-1.4.2-.7.2-1.3.2-1.4-.1-.2-.3-.3-.6-.4z'/></svg>");
  --pin-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'><path d='M12 0C5.4 0 0 5.2 0 11.7 0 20.5 12 32 12 32s12-11.5 12-20.3C24 5.2 18.6 0 12 0zm0 16.5a4.8 4.8 0 1 1 0-9.6 4.8 4.8 0 0 1 0 9.6z'/></svg>");
}
@media (min-width: 760px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font-sans); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section-pad { padding-block: clamp(64px, 9vw, 112px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; }
.script { font-family: var(--font-script); font-weight: 400; color: var(--gold); line-height: 1; }

/* ---------- Brush title ---------- */
.brush-title {
  display: inline-block; position: relative;
  padding: 0.5em 1.5em 0.55em 0.9em;
  font-family: var(--font-display); font-size: clamp(1.15rem, 2.6vw, 1.6rem); font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: #fff;
  background: var(--brush) center / 100% 100% no-repeat;
}
.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.section-head.center { text-align: center; }
.section-head p { margin-top: 14px; color: var(--muted); max-width: 640px; }
.section-head.center p { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-sans); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover, .btn--gold:focus-visible { background: #a37b3e; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover, .btn--navy:focus-visible { background: var(--navy-soft); }
.btn--light { border-color: rgba(255,255,255,0.75); color: #fff; }
.btn--light:hover, .btn--light:focus-visible { background: #fff; color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--navy); color: #fff; }
.btn--whatsapp::before {
  content: ""; width: 18px; height: 18px; flex-shrink: 0; background: currentColor;
  -webkit-mask: var(--wa-icon) center / contain no-repeat; mask: var(--wa-icon) center / contain no-repeat;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(246, 240, 228, 0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { width: 52px; height: 52px; border-radius: 50%; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--navy); letter-spacing: 0.04em; line-height: 1.05; }
.brand__name small { display: block; font-family: var(--font-script); font-size: 1.4rem; color: var(--gold); letter-spacing: 0; font-weight: 400; }
@media (min-width: 900px) { .brand__logo { width: 62px; height: 62px; } }

.main-nav { display: none; }
@media (min-width: 1060px) {
  .main-nav { display: flex; gap: 24px; }
  .main-nav a { text-decoration: none; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); }
  .main-nav a:hover { color: var(--gold); }
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { padding: 11px 18px; font-size: 0.75rem; }
@media (max-width: 520px) { .header-cta { display: none; } }
.nav-toggle {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--navy); border-radius: 50%; background: transparent; color: var(--navy); cursor: pointer;
}
@media (min-width: 1060px) { .nav-toggle { display: none; } }
.mobile-nav {
  position: fixed; inset: 0; z-index: 850; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav ul { text-align: center; display: grid; gap: 22px; }
.mobile-nav a { font-family: var(--font-display); font-size: 1.4rem; text-decoration: none; letter-spacing: 0.05em; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy-deep); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
@media (max-width: 759px) { .hero__media img { object-position: 76% 50%; } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,26,53,0.78) 0%, rgba(11,26,53,0.42) 38%, rgba(11,26,53,0) 62%),
    linear-gradient(0deg, rgba(11,26,53,0.35) 0%, rgba(11,26,53,0) 30%);
}
@media (max-width: 759px) {
  .hero__media::after { background: linear-gradient(180deg, rgba(11,26,53,0.2) 0%, rgba(11,26,53,0.55) 40%, rgba(11,26,53,0.7) 100%); }
}
.hero__inner {
  position: relative; min-height: min(86svh, 820px);
  display: flex; flex-direction: column; justify-content: center; padding-block: 64px 56px;
}
.hero__eyebrow { text-shadow: 0 1px 10px rgba(11,26,53,0.6); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft); }
.hero__title { margin-top: 14px; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: 0.03em; line-height: 1; text-shadow: 0 2px 18px rgba(0,0,0,0.25); }
.hero__title .script { display: block; margin-top: 0.06em; font-size: 1.15em; color: var(--gold-soft); }
.hero__lead { text-shadow: 0 1px 12px rgba(11,26,53,0.6); margin-top: 22px; max-width: 520px; font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255,255,255,0.92); }
.hero__lead strong { display: block; font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.hero__tagline { text-shadow: 0 2px 14px rgba(11,26,53,0.6); margin-top: 18px; font-size: clamp(2rem, 4vw, 2.8rem); color: #fff; transform: rotate(-4deg); transform-origin: left; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.stamp {
  position: absolute; right: var(--gutter); bottom: 44px;
  width: 164px; height: 164px; border-radius: 50%;
  background: var(--paper); color: var(--navy);
  display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 0 0 5px rgba(251,248,241,0.35), var(--shadow); transform: rotate(-8deg);
}
.stamp svg { width: 100%; height: 100%; display: block; overflow: visible; }
.stamp__ring { font-family: var(--font-display); font-weight: 700; font-size: 15px; fill: var(--navy); }
@media (min-width: 900px) { .stamp { display: flex; } }

.offer-band { background: var(--navy); color: #fff; border-top: 3px solid var(--gold); }
.offer-band ul { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .offer-band ul { grid-template-columns: repeat(4, 1fr); } }
.offer-band li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 10px; text-align: center; }
.offer-band li + li { border-left: 1px solid rgba(255,255,255,0.18); }
@media (max-width: 759px) {
  .offer-band li:nth-child(3) { border-left: 0; }
  .offer-band li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.18); }
}
.offer-band svg { width: 42px; height: 42px; color: var(--gold-soft); }
.offer-band span { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.35; }

/* ---------- Bienfaits ---------- */
.bienfaits { background: var(--paper); border-bottom: 1px solid var(--line); }
.bienfaits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 12px; }
@media (min-width: 900px) { .bienfaits-grid { grid-template-columns: repeat(6, 1fr); } }
.bienfait { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.bienfait__icon {
  width: 84px; height: 84px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--navy); color: var(--navy); background: #fff;
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line);
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s;
}
.bienfait:hover .bienfait__icon { transform: translateY(-4px); background: var(--navy); color: #fff; }
.bienfait__icon svg { width: 42px; height: 42px; }
.bienfait h3 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 700; color: var(--navy); }
.bienfait p { font-size: 0.82rem; color: var(--muted); line-height: 1.45; }
.bienfaits__note { margin-top: 44px; text-align: center; font-size: clamp(1.7rem, 3vw, 2.3rem); }

/* ---------- Marchés : semaine cliquable ---------- */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 18px; }
.week__day {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 14px 4px 12px; border-radius: var(--radius);
  border: 1.5px solid var(--line); background: var(--paper); color: var(--navy);
  font: inherit; cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.week__day b { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.05em; }
.week__day small { font-size: 0.72rem; color: var(--muted); line-height: 1.2; text-align: center; }
.week__day i { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--orange); color: #fff; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
button.week__day:hover { border-color: var(--navy); transform: translateY(-2px); }
.week__day[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.week__day[aria-selected="true"] small { color: var(--gold-soft); }
.week__day.is-empty { opacity: 0.45; cursor: default; background: transparent; border-style: dashed; }
@media (max-width: 640px) {
  .week { gap: 4px; }
  .week__day { padding: 12px 2px 10px; }
  .week__day b { font-size: 0.82rem; }
  .week__day small { display: none; }
  .week__day i { font-size: 0.5rem; padding: 2px 5px; }
}

.market-stage {
  display: grid; overflow: hidden; border-radius: calc(var(--radius) * 1.6);
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow);
}
@media (min-width: 820px) { .market-stage { grid-template-columns: 0.9fr 1.1fr; } }
.market-stage.is-switching { animation: stageIn 0.55s var(--ease); }
@keyframes stageIn { from { opacity: 0.2; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.market-stage__visual {
  position: relative; min-height: 220px; padding: 32px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  background: var(--navy); color: #fff; overflow: hidden;
}
.market-stage__visual::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%;
  background: url("../assets/images/logo-ecailler.png") center / cover; opacity: 0.16;
}
.market-stage__bigday { font-family: var(--font-script); font-size: clamp(3.4rem, 7vw, 5rem); color: var(--gold-soft); line-height: 1; }
.market-stage__bighours { margin-top: 8px; font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; letter-spacing: 0.04em; }
.market-stage__bighours i { font-style: normal; margin-inline: 0.25em; color: var(--gold-soft); }
.market-stage__info { padding: 30px clamp(22px, 4vw, 40px); }
.market-stage__info h3 { margin-top: 14px; font-family: var(--font-display); font-size: clamp(1.4rem, 2.8vw, 1.9rem); color: var(--navy); letter-spacing: 0.03em; }
.market-stage__hours { margin-top: 6px; font-weight: 700; }
.market-stage__place { color: var(--muted); }
.market-stage__info .cta-row { margin-top: 22px; }

.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; background: var(--sand); color: var(--navy); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--open { background: #e2f6e8; color: #17803d; }
.status--open::before { animation: pulse 1.6s infinite; }
.status--soon { background: #fff1e6; color: #b5480c; }
.status--closed { color: var(--muted); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(23,128,61,0.5); } 100% { box-shadow: 0 0 0 9px rgba(23,128,61,0); } }

/* ---------- Plateaux : cartes à galons ---------- */
.carte { background: var(--paper); border-block: 1px solid var(--line); }
.ranks { display: grid; gap: 18px; margin-bottom: clamp(56px, 8vw, 96px); }
@media (min-width: 640px) { .ranks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .ranks { grid-template-columns: repeat(4, 1fr); align-items: stretch; } }
.rank {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 34px 22px 26px; border-radius: calc(var(--radius) * 1.6);
  background: #fff; border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.rank:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(11,26,53,0.16); }
.rank--featured { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 24px 50px rgba(11,26,53,0.28); }
@media (min-width: 1040px) { .rank--featured { transform: translateY(-12px); } .rank--featured:hover { transform: translateY(-18px); } }
.rank__flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 999px; background: var(--gold); color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.rank__stripes { display: flex; flex-direction: column; gap: 4px; width: 46px; margin-bottom: 16px; }
.rank__stripes i { display: block; height: 5px; border-radius: 3px; background: linear-gradient(90deg, #b88f4f, #e8cf95, #b88f4f); }
.rank__name { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }
.rank--featured .rank__name { color: #fff; }
.rank__price { margin-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; color: var(--gold); line-height: 1.1; }
.rank--featured .rank__price { color: var(--gold-soft); }
.rank__items { margin: 18px 0 0; display: grid; gap: 6px; font-size: 0.95rem; }
.rank__items li::before { content: "✦ "; color: var(--gold); }
.rank__delivery { margin-top: 14px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #17803d; }
.rank--featured .rank__delivery { color: #8fe0a8; }
.rank__delivery.is-off { color: var(--muted); }
.rank--featured .rank__delivery.is-off { color: rgba(255,255,255,0.6); }
.rank .btn { margin-top: auto; }
.rank__items + .btn { margin-top: 22px; }
.rank--featured .btn--outline { border-color: #fff; color: #fff; }

/* ---------- La carte : menu imprimé ---------- */
.menu-card {
  position: relative; max-width: 1040px; margin-inline: auto;
  padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 64px) clamp(28px, 4vw, 40px);
  background: #fffdf8; border-radius: 6px;
  box-shadow: 0 30px 70px rgba(11,26,53,0.16), 0 2px 0 var(--line);
}
.menu-card::before, .menu-card::after { content: ""; position: absolute; pointer-events: none; border-radius: 3px; }
.menu-card::before { inset: 12px; border: 1.5px solid var(--navy); }
.menu-card::after { inset: 17px; border: 1px solid var(--gold-soft); }
.menu-card__head { position: relative; text-align: center; margin-bottom: clamp(26px, 4vw, 42px); }
.menu-card__logo { width: 84px; height: 84px; margin: 0 auto 6px; border-radius: 50%; }
.menu-card__title { font-family: var(--font-script); font-size: clamp(3.4rem, 8vw, 5rem); color: var(--navy); line-height: 1; }
.menu-card__sub { margin-top: 6px; font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.menu-card__sub::before, .menu-card__sub::after { content: ""; display: inline-block; width: 40px; height: 1px; background: var(--gold-soft); vertical-align: middle; margin-inline: 12px; }
.menu-card__cols { position: relative; display: grid; gap: 10px 64px; }
@media (min-width: 860px) { .menu-card__cols { grid-template-columns: 1fr 1fr; } .menu-card__cols > div + div { border-left: 1px solid var(--line); padding-left: 64px; margin-left: -32px; } }
.menu-sec + .menu-sec { margin-top: 36px; }
.menu-sec .brush-title { font-size: 1.05rem; }
.menu-sec__note { margin-top: 8px; font-style: italic; font-size: 0.9rem; color: var(--muted); }
.mrows { margin-top: 10px; }
.mrow {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; column-gap: 10px;
  padding: 12px 10px; margin-inline: -10px; border-radius: 6px; text-decoration: none;
  transition: background 0.25s;
}
.mrow:hover, .mrow:focus-visible { background: var(--cream); }
.mrow__name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--navy); letter-spacing: 0.02em; }
.mrow__name small { font-family: var(--font-sans); font-weight: 400; font-size: 0.8rem; color: var(--muted); letter-spacing: 0; }
.mrow__dots { border-bottom: 2px dotted var(--line); transform: translateY(-4px); min-width: 20px; }
.mrow__price { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--navy); white-space: nowrap; }
.mrow__desc { grid-column: 1 / -1; font-size: 0.88rem; font-style: italic; color: var(--muted); }
.mrow:hover .mrow__price { color: var(--gold); }
.menu-card__foot { position: relative; margin-top: clamp(28px, 4vw, 40px); padding-top: 18px; border-top: 1px solid var(--line); text-align: center; font-size: 0.82rem; color: var(--muted); }

/* ---------- Livraison ---------- */
.livraison { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.livraison::before {
  content: ""; position: absolute; inset: 0; opacity: 0.08; pointer-events: none;
  background: radial-gradient(circle, #fff 0 1px, transparent 1.5px) 0 0 / 26px 26px;
}
.livraison .wrap { position: relative; z-index: 1; }
.livraison { padding-bottom: 150px; }

/* Marée montante (--tide 0 → 1 piloté par le scroll dans main.js) */
.carte { position: relative; overflow: clip; padding-bottom: 230px; border-bottom: 0; }
@media (max-width: 759px) { .carte { padding-bottom: 170px; } }
.carte > .wrap { position: relative; z-index: 1; }
.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; } }

/* Vagues qui dérivent en bas de la livraison */
.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%); } }
@media (prefers-reduced-motion: reduce) { .tide__wave, .livraison-waves .wave { animation: none; } }
.livraison__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .livraison__grid { grid-template-columns: 1.15fr 1fr; gap: 60px; } }
.livraison__title { display: flex; align-items: center; gap: 18px; }
.livraison__title svg { width: 64px; height: 64px; flex-shrink: 0; color: var(--gold-soft); }
.livraison h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: 0.04em; text-transform: uppercase; }
.livraison__when { margin-top: 4px; color: var(--gold-soft); font-weight: 700; letter-spacing: 0.06em; }
.livraison__lead { margin-top: 22px; color: rgba(255,255,255,0.85); max-width: 520px; }
.livraison .script { display: block; margin-top: 22px; font-size: 2.5rem; color: var(--gold-soft); }

.delivery-card { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
.delivery-card dl { margin: 0; display: grid; gap: 14px; }
.delivery-card dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.delivery-card dt { font-weight: 700; color: var(--navy); }
.delivery-card dd { margin: 0; text-align: right; color: var(--muted); }
.delivery-card dd strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); }
.delivery-card__note { margin-top: 16px; font-size: 0.88rem; color: var(--muted); }
.delivery-card .btn { margin-top: 20px; width: 100%; }

.steps { margin-top: 34px; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 600px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; padding: 18px; border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); }
.steps li::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--gold-soft); color: var(--gold-soft);
  font-family: var(--font-display); font-weight: 700; margin-bottom: 10px;
}
.steps h3 { font-size: 1rem; }
.steps p { margin-top: 4px; font-size: 0.88rem; color: rgba(255,255,255,0.75); }

/* ---------- Événements : devis express ---------- */
.evenements { position: relative; overflow: hidden; color: #fff; background: var(--navy-deep); }
.evenements__bg { position: absolute; inset: 0; }
.evenements__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.evenements__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,26,53,0.95) 0%, rgba(11,26,53,0.75) 55%, rgba(11,26,53,0.55) 100%); }
.evenements__grid { position: relative; display: grid; gap: 36px; align-items: center; }
@media (min-width: 920px) { .evenements__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.evenements .brush-title { background-image: var(--brush); filter: brightness(1.6) saturate(0.8); }
.evenements__text { margin-top: 20px; color: rgba(255,255,255,0.85); max-width: 500px; }
.evenements .script { display: block; margin-top: 18px; font-size: clamp(2.2rem, 4.4vw, 3rem); color: var(--gold-soft); }

.devis { background: var(--paper); color: var(--ink); border-radius: calc(var(--radius) * 1.6); padding: clamp(22px, 4vw, 34px); box-shadow: 0 30px 70px rgba(0,0,0,0.35); display: grid; gap: 18px; }
.devis__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }
.devis__field { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.devis__field legend, .devis__label { padding: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.devis__field legend { margin-bottom: 8px; }
.devis__row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 420px) { .devis__row { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 0.88rem; font-weight: 700; color: var(--navy); transition: all 0.2s; }
.chips label:hover span { border-color: var(--navy); }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.counter { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; height: 46px; }
.counter button { width: 46px; height: 100%; border: 0; background: transparent; font-size: 1.3rem; color: var(--navy); cursor: pointer; }
.counter button:hover { background: var(--cream); }
.counter output { flex: 1; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.devis input[type="date"], .devis select {
  height: 46px; width: 100%; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font: inherit; color: var(--navy); font-weight: 700;
}
.devis input:focus, .devis select:focus { outline: none; border-color: var(--navy); }
.devis__send { width: 100%; padding-block: 16px; }
.devis__hint { margin-top: -8px; text-align: center; font-size: 0.8rem; color: var(--muted); }

/* ---------- Histoire + contact ---------- */
.histoire { background: var(--paper); border-top: 1px solid var(--line); }
.histoire__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .histoire__grid { grid-template-columns: 0.9fr 1.1fr; gap: 70px; } }
.histoire__logo { width: min(340px, 72vw); margin-inline: auto; border-radius: 50%; box-shadow: var(--shadow); }
.histoire h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 2.4rem); color: var(--navy); letter-spacing: 0.03em; }
.histoire h2 .script { display: block; font-size: 1.25em; letter-spacing: 0; }
.histoire__text { margin-top: 18px; color: var(--muted); }
.stats { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats li { text-align: center; padding: 16px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.stats strong { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--navy); line-height: 1.1; }
.stats span { font-size: 0.78rem; color: var(--muted); }

.contact-card { margin-top: 30px; padding: 24px; background: var(--navy); color: #fff; border-radius: var(--radius); }
.contact-card h3 { font-family: var(--font-display); letter-spacing: 0.05em; text-transform: uppercase; font-size: 1.05rem; }
.contact-list { margin-top: 14px; display: grid; gap: 10px; }
.contact-list a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.contact-list a:hover { color: var(--gold-soft); }
.contact-list svg { width: 20px; height: 20px; color: var(--gold-soft); flex-shrink: 0; }
.contact-card .btn { margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); padding: 40px 0; font-size: 0.88rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand__logo { width: 64px; height: 64px; border-radius: 50%; }
.footer-brand .script { font-size: 1.8rem; color: var(--gold-soft); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-legal a, .footer-credit a { color: rgba(255,255,255,0.85); }
.footer-legal a:hover, .footer-credit a:hover { color: var(--gold-soft); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Legal pages ---------- */
.legal-body { background: var(--cream); }
.legal-back { padding: 11px 20px; font-size: 0.72rem; }
.legal-page { padding-block: 56px 80px; max-width: 820px; }
.legal-page .eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.legal-page h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.8rem); color: var(--navy); margin: 8px 0 32px; }
.legal-page h2 { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); margin: 36px 0 10px; }
.legal-page p, .legal-page li { line-height: 1.75; }
.legal-page ul { list-style: disc; padding-left: 1.2em; }
.legal-page a { color: var(--navy); }
mark.todo { background: #fff1c2; color: #6b4f00; padding: 0 4px; border-radius: 3px; }

/* ---------- Bandeau défilant ---------- */
.marquee { overflow: hidden; background: var(--gold); color: #fff; padding: 12px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; padding-inline: 22px; }
.marquee span::after { content: "✦"; margin-left: 44px; color: var(--navy); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Animations d'entrée ---------- */
.hero__media img { animation: kenburns 22s ease-out both; transform-origin: 80% 35%; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero-in { opacity: 0; transform: translateY(26px); }
.is-loaded .hero-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d) * 0.12s + 0.1s); }
.no-js .hero-in { opacity: 1; transform: none; }
.stamp { animation: stampIn 0.9s 0.9s var(--ease) both; }
@keyframes stampIn { from { opacity: 0; transform: rotate(-30deg) scale(0.6); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }

.stagger > * { opacity: 0; transform: translateY(24px) scale(0.96); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.stagger > *:nth-child(2) { transition-delay: 0.08s; } .stagger > *:nth-child(3) { transition-delay: 0.16s; }
.stagger > *:nth-child(4) { transition-delay: 0.24s; } .stagger > *:nth-child(5) { transition-delay: 0.32s; }
.stagger > *:nth-child(6) { transition-delay: 0.4s; }
.stagger.is-visible > * { opacity: 1; transform: none; }
.stagger.is-visible > .rank--featured { transform: translateY(-12px); }
@media (max-width: 1039px) { .stagger.is-visible > .rank--featured { transform: none; } }
.no-js .stagger > * { opacity: 1; transform: none; }

.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11,26,53,0.08); }
.main-nav a.is-active { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .hero__media img, .marquee__track, .stamp { animation: none; }
  .hero-in, .stagger > * { opacity: 1; transform: none; transition: none; }
}
.stagger.is-visible > .rank:hover { transform: translateY(-6px); }
@media (min-width: 1040px) { .stagger.is-visible > .rank--featured:hover { transform: translateY(-18px); } }

/* ---------- Photos de la carte (cf. flyer : photo + titre pinceau qui la chevauche) ---------- */
.menu-photo {
  position: relative; margin: 0 0 -22px; aspect-ratio: 16 / 8; overflow: hidden;
  border-radius: 8px; background: var(--navy);
  box-shadow: 0 14px 30px rgba(11,26,53,0.18);
}
.menu-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.menu-sec:hover .menu-photo img { transform: scale(1.05); }
.menu-photo + .brush-title { position: relative; z-index: 1; margin-left: -6px; }
/* Photo pas encore fournie : emplacement propre plutôt qu'une image floue */
.menu-photo.is-missing img { display: none; }
.menu-photo.is-missing {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background:
    radial-gradient(circle at 85% 120%, rgba(216,187,132,0.25), transparent 55%),
    var(--navy);
}
.menu-photo.is-missing::before {
  content: ""; position: absolute; right: -30px; top: -30px; width: 150px; height: 150px; border-radius: 50%;
  background: url("../assets/images/logo-ecailler.png") center / cover; opacity: 0.14;
}
.menu-photo.is-missing::after {
  content: attr(data-label) " · photo à venir";
  font-family: var(--font-script); font-size: 1.9rem; color: var(--gold-soft);
}

/* Produits de saison sur demande (bas de la carte) */
.menu-extra {
  position: relative; display: grid; gap: 4px; justify-items: center; text-align: center;
  margin-top: clamp(30px, 4vw, 44px); padding: 22px 20px;
  border: 1.5px dashed var(--gold-soft); border-radius: 8px; background: var(--cream);
  text-decoration: none; transition: background 0.25s, border-color 0.25s;
}
.menu-extra:hover { background: #fff; border-color: var(--gold); }
.menu-extra__title { font-family: var(--font-script); font-size: 2rem; color: var(--gold); line-height: 1.1; }
.menu-extra__list { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.03em; color: var(--navy); }
.menu-extra__cta { margin-top: 4px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.menu-extra:hover .menu-extra__cta { color: var(--gold); }

/* Petite vignette produit à gauche d'une ligne de la carte */
.mrow--thumb { grid-template-columns: 56px auto 1fr auto; }
.mrow__thumb { grid-row: 1 / span 2; align-self: center; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 4px 10px rgba(11,26,53,0.1); }
.mrow__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mrow--thumb .mrow__desc { grid-column: 2 / -1; }

/* Prix dépôt (retrait sur place, sur RDV) */
.depot {
  display: grid; gap: 6px; margin-top: 18px; padding: 16px 18px; text-align: center;
  border: 1.5px dashed var(--gold); border-radius: 14px; background: var(--cream); color: var(--navy); text-decoration: none;
  transition: background .2s, border-color .2s;
}
.depot:hover, .depot:focus-visible { background: #fff; border-style: solid; }
.depot__tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.depot__prices { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-family: var(--font-display); font-size: 1rem; }
.depot__prices b { font-size: 1.35rem; }
.depot__note { font-size: 0.85rem; font-style: italic; color: var(--muted); }
.depot__addr { font-size: 0.9rem; font-weight: 700; }
.depot:hover .menu-extra__cta { color: var(--gold); }
