/* ==========================================================================
   OSCAR FOOD — ÉDITION 100 % ESCARGOTS (DE PÈRE EN FILS)
   Mobile-First Luxury Catering Parody · Palette Carmin, Or & Persillade
   ========================================================================== */

:root {
  --red: #BC272D;
  --red-d: #961B22;
  --red-dd: #6D1117;
  --cream: #F8F2E9;
  --cream2: #EFE4D4;
  --paper: #FFFDF9;
  --gold: #C8A25A;
  --gold-l: #EAD3A1;
  --herb: #3B7D3B;
  --herb-l: #68B85D;
  --butter: #E4F28A;
  --ink: #231C1A;
  --ink2: #5E534E;
  --dark: #191312;
  --dark2: #261D1B;
  --line: rgba(35, 28, 26, 0.12);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;
  --hand: "Caveat", cursive;
  --r: 22px;
  --r-sm: 14px;
  --shadow: 0 18px 42px -16px rgba(45, 10, 14, 0.32);
  --tabbar: 70px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 74px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.58 var(--sans);
  overflow-x: hidden;
  padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom, 0px));
  -webkit-tap-highlight-color: transparent;
}

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

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button, input, select {
  font: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.45em;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(1.85rem, 6.8vw, 2.95rem);
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ---------- Barre de progression "Trace de Bave" tout en haut ---------- */
.slime-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 90;
  background: rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.slime-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(255,255,255,0.4), var(--gold-l), #b8f29c);
  box-shadow: 0 0 10px rgba(200, 162, 90, 0.8);
  position: relative;
  transition: width 0.08s linear;
}

.slime-progress__snail {
  position: absolute;
  right: -11px;
  top: -7px;
  font-size: 15px;
  line-height: 1;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.35));
  transform: scaleX(-1);
}

/* ---------- Topbar ---------- */
.topbar {
  position: fixed;
  inset: 4px 0 auto;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  padding: 0 14px;
  color: #fff;
  transition: background 0.3s, box-shadow 0.3s, color 0.3s;
}

.topbar.is-solid {
  background: rgba(248, 242, 233, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}

.topbar__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}

.logo-badge {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.22);
  border: 1.5px solid rgba(188, 39, 45, 0.28);
  position: relative;
}

.logo-badge svg {
  width: 34px;
  height: 34px;
}

.topbar__brand {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.topbar__name {
  font: 700 1.12rem/1.05 var(--serif);
  white-space: nowrap;
}

.topbar__sub {
  font: 600 0.6rem/1.3 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.88;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar__nav {
  display: none;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(25, 19, 18, 0.38);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(190px, 44vw);
  white-space: nowrap;
  overflow: hidden;
}

#liveTxt {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar.is-solid .live-pill {
  background: var(--dark);
  color: var(--gold-l);
}

.live-pill i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #69f065;
  box-shadow: 0 0 0 4px rgba(105, 240, 101, 0.24);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  50% { transform: scale(1.3); opacity: 0.65; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font: 700 0.94rem/1.1 var(--sans);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s, background 0.2s, box-shadow 0.2s;
  user-select: none;
}

.btn:active {
  transform: scale(0.96);
}

.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(188, 39, 45, 0.75);
}

.btn--red:hover {
  background: var(--red-d);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  color: #261808;
  box-shadow: 0 12px 26px -10px rgba(200, 162, 90, 0.6);
}

.btn--ghost {
  border-color: currentColor;
  background: transparent;
  color: var(--red);
}

.btn--dark {
  background: var(--dark);
  color: var(--gold-l);
}

.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.82rem;
}

.btn--full {
  width: 100%;
}

/* ---------- HERO (Parodie Oscar Food + Père & Fils) ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 50% 16%, #d6333a 0%, var(--red) 48%, var(--red-dd) 100%);
  padding: 76px 0 0;
  overflow: hidden;
  color: #fff;
}

.hero__rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__rings span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  left: 50%;
  top: 155px;
  transform: translate(-50%, -50%);
}

.hero__rings span:nth-child(1) { width: 270px; height: 270px; }
.hero__rings span:nth-child(2) { width: 430px; height: 430px; }
.hero__rings span:nth-child(3) { width: 610px; height: 610px; border-color: rgba(255,255,255,0.07); }

.hero__brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  text-align: center;
}

.hero__crest {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 22px 50px -12px rgba(45, 0, 8, 0.6), 0 0 0 9px rgba(255, 255, 255, 0.1);
  animation: floatSlow 6s ease-in-out infinite;
  position: relative;
}

.hero__crest svg {
  width: 98px;
  height: 98px;
}

.crest-ribbon {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(25, 19, 18, 0.42);
  border: 1px solid rgba(234, 211, 161, 0.5);
  color: var(--gold-l);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Bulles rondes iconiques d'Oscar Food */
.bubbles {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 18px 18px 22px;
  width: 100%;
  scrollbar-width: none;
}

.bubbles::-webkit-scrollbar {
  display: none;
}

.bubble {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font: 600 0.74rem/1.12 var(--serif);
  color: #fff;
  text-decoration: none;
  background: rgba(110, 16, 22, 0.72);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 22px -10px rgba(45, 0, 8, 0.65);
  transition: transform 0.22s, background 0.22s;
}

.bubble span {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.bubble:first-child { margin-left: auto; }
.bubble:last-child { margin-right: auto; }
.bubble:active, .bubble:hover { transform: scale(1.07); }

.bubble--gold {
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  color: #261808;
  border-color: #fff;
  font-weight: 700;
}

/* Feuille crème du Hero */
.hero__sheet {
  background: var(--cream);
  color: var(--ink);
  border-radius: 30px 30px 0 0;
  padding: 30px 18px 36px;
  box-shadow: 0 -16px 40px rgba(40, 5, 10, 0.25);
  position: relative;
}

.eyebrow {
  font: 700 0.72rem/1.2 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.eyebrow--gold {
  color: var(--gold);
}

.eyebrow--light {
  color: var(--gold-l);
}

.hero__sheet h1 {
  font-size: clamp(2.05rem, 8.2vw, 3.45rem);
  line-height: 1.05;
  margin-bottom: 14px;
}

.strike-salmon {
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 3px;
  opacity: 0.52;
  font-weight: 500;
}

.hero__lead {
  color: var(--ink2);
  font-size: 1rem;
  margin-bottom: 20px;
}

.hero__lead strong {
  color: var(--ink);
}

/* Carte interactive Chef Steph dans le Hero */
.hero-stage {
  position: relative;
  max-width: 420px;
  margin: 22px auto 24px;
}

.hero-portrait-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--dark);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  position: relative;
  aspect-ratio: 3 / 3.7;
}

.hero-portrait-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.35s ease;
}

.hero-portrait-btn:active img {
  transform: scale(1.03);
}

.hero-portrait-btn::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(20, 12, 11, 0.88), transparent);
  pointer-events: none;
}

.hero-portrait-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  text-align: left;
  color: #fff;
}

.hero-portrait-caption b {
  display: block;
  font: 700 1.15rem/1.15 var(--serif);
}

.hero-portrait-caption small {
  display: block;
  color: var(--gold-l);
  font-size: 0.78rem;
  margin-top: 2px;
}

.tap-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: rgba(25, 19, 18, 0.78);
  backdrop-filter: blur(6px);
  color: var(--gold-l);
  border: 1px solid rgba(234, 211, 161, 0.45);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.72rem;
  font-weight: 700;
}

.speech-bubble {
  position: relative;
  margin-top: -12px;
  margin-left: auto;
  margin-right: auto;
  max-width: 92%;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--gold);
  border-radius: 18px;
  padding: 11px 15px;
  font: 600 0.92rem/1.35 var(--serif);
  font-style: italic;
  box-shadow: 0 12px 26px -12px rgba(0,0,0,0.28);
  z-index: 4;
  text-align: center;
}

.speech-bubble.pop {
  animation: popBounce 0.35s cubic-bezier(.2,1.5,.5,1);
}

@keyframes popBounce {
  0% { transform: scale(0.88); }
  60% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.floating-sticker {
  position: absolute;
  z-index: 4;
  padding: 8px 11px;
  border-radius: 14px;
  font-size: 0.72rem;
  line-height: 1.15;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
  pointer-events: none;
}

.sticker--left {
  top: 14px;
  left: -6px;
  background: var(--butter);
  color: #1f2e0d;
  transform: rotate(-7deg);
}

.sticker--right {
  bottom: 84px;
  right: -6px;
  background: var(--red);
  color: #fff;
  border: 1.5px solid var(--gold-l);
  transform: rotate(6deg);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__promises {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero__promises li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  text-align: left;
}

.hero__promises span {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 3px;
}

.hero__promises b {
  display: block;
  font-size: 0.86rem;
  color: var(--ink);
}

.hero__promises small {
  font-size: 0.74rem;
  color: var(--ink2);
}

/* ---------- Bandeau défilant officiel ---------- */
.ticker {
  background: var(--dark);
  color: var(--gold-l);
  overflow: hidden;
  white-space: nowrap;
  padding: 11px 0;
  border-top: 1px solid rgba(200, 162, 90, 0.3);
  border-bottom: 1px solid rgba(200, 162, 90, 0.3);
  font: 700 0.76rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ticker__track {
  display: inline-block;
  animation: marquee 28s linear infinite;
}

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

/* ---------- Sections communes ---------- */
.section {
  padding: 62px 0;
  position: relative;
}

.section--dark {
  background: var(--dark);
  color: #F3EAE0;
}

.section--dark h2 em {
  color: var(--gold-l);
}

.section--cream2 {
  background: var(--cream2);
}

.section--red {
  background: linear-gradient(160deg, var(--red) 0%, var(--red-dd) 100%);
  color: #fff;
}

.section--red h2 em {
  color: var(--gold-l);
}

.sec-head {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 30px;
}

.sec-head__sub {
  color: var(--ink2);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 0;
}

.section--dark .sec-head__sub {
  color: rgba(243, 234, 224, 0.76);
}

.section--red .sec-head__sub {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- SECTION 1 : DYNASTIE FAMILIALE (DE PÈRE EN FILS) ---------- */
.dynasty-card {
  background: var(--dark2);
  border: 1.5px solid rgba(200, 162, 90, 0.38);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.65);
  margin-bottom: 28px;
}

.dynasty-card__media {
  position: relative;
  aspect-ratio: 3 / 3.6;
  background: #120d0c;
}

.dynasty-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.dynasty-seal {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(20, 14, 13, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(200, 162, 90, 0.5);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dynasty-seal span {
  font-size: 1.65rem;
}

.dynasty-seal b {
  display: block;
  font: 700 0.95rem/1.2 var(--serif);
  color: var(--gold-l);
}

.dynasty-seal small {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
}

.dynasty-card__body {
  padding: 24px 20px;
}

.dynasty-quote {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--gold);
  border-radius: 0 14px 14px 0;
  font: italic 1.04rem/1.45 var(--serif);
  color: #fff;
}

.dynasty-quote footer {
  margin-top: 6px;
  font: 600 0.78rem/1.2 var(--sans);
  color: var(--gold-l);
  font-style: normal;
}

.family-timeline {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}

.family-timeline li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: start;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 13px;
  border-radius: 16px;
}

.family-timeline time {
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 5px 6px;
  border-radius: 9px;
  text-align: center;
}

.family-timeline b {
  display: block;
  color: var(--gold-l);
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.family-timeline p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(243, 234, 224, 0.82);
}

/* ---------- SECTION 2 : LES PORTRAITS PÈRE & FILS (CARROUSEL TACTILE) ---------- */
.brigade-deck {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 18px 20px;
  margin: 0 -18px;
  scrollbar-width: none;
}

.brigade-deck::-webkit-scrollbar {
  display: none;
}

.member-card {
  flex: 0 0 84%;
  max-width: 340px;
  scroll-snap-align: center;
  background: var(--paper);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.member-card__pic {
  position: relative;
  aspect-ratio: 3 / 3.65;
  background: var(--dark);
  overflow: hidden;
}

.member-card__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.member-role-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.member-gen-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(25, 19, 18, 0.82);
  color: var(--gold-l);
  border: 1px solid rgba(200,162,90,0.5);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.member-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.member-card__body h3 {
  font-size: 1.28rem;
  margin-bottom: 3px;
}

.member-card__sub {
  color: var(--red);
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.member-card__bio {
  font-size: 0.88rem;
  color: var(--ink2);
  margin-bottom: 14px;
}

.member-stats {
  margin-top: auto;
  display: grid;
  gap: 7px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.77rem;
  gap: 8px;
}

.stat-row span {
  font-weight: 600;
  color: var(--ink);
}

.stat-bar {
  flex: 1;
  max-width: 110px;
  height: 7px;
  background: var(--cream2);
  border-radius: 99px;
  overflow: hidden;
}

.stat-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 99px;
}

.member-quote-hand {
  font: 700 1.08rem/1.15 var(--hand);
  color: var(--red-d);
  margin-top: 10px;
  margin-bottom: 0;
}

.swipe-hint {
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink2);
  font-weight: 600;
  margin-top: 4px;
}

/* ---------- SECTION 3 : LA CARTE 100 % ESCARGOTS ---------- */
.menu-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.menu-showcase figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  position: relative;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,0.35);
}

.menu-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-showcase figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 6px 7px;
  background: linear-gradient(to top, rgba(0,0,0,0.82), transparent);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  text-align: center;
}

.cat-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 18px 16px;
  margin: 0 -18px;
  scrollbar-width: none;
}

.cat-tabs::-webkit-scrollbar { display: none; }

.cat-tab {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.2s;
}

.cat-tab.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(188, 39, 45, 0.7);
}

.menu-items {
  display: grid;
  gap: 12px;
}

.dish-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 8px 20px -14px rgba(0,0,0,0.18);
}

.dish-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.dish-card h3 {
  font-size: 1.1rem;
  margin: 0;
}

.dish-badge {
  flex: 0 0 auto;
  background: var(--cream2);
  color: var(--red-d);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
}

.dish-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink2);
}

.dish-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-size: 0.78rem;
}

.garlic-meter {
  font-weight: 700;
  color: var(--herb);
}

.add-snail-btn {
  background: var(--cream2);
  border: 1px solid rgba(188, 39, 45, 0.25);
  color: var(--red-d);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
}

.add-snail-btn:active {
  transform: scale(0.94);
  background: var(--red);
  color: #fff;
}

.tray-bar {
  margin-top: 18px;
  background: var(--dark);
  color: #fff;
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tray-bar b {
  display: block;
  color: var(--gold-l);
  font-size: 0.92rem;
}

.tray-bar small {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* ---------- NOUVEAUTÉ : LA LIMACE ---------- */
.section--slug {
  background: radial-gradient(circle at 20% 10%, #f3f7d8 0%, #e3ecc0 45%, #cfdca3 100%);
}

.section--slug h2 em {
  color: var(--herb);
}

.new-pill {
  display: inline-block;
  background: var(--herb);
  color: #fff;
  border-radius: 999px;
  padding: 3px 9px;
  margin-right: 6px;
  letter-spacing: 0.08em;
  animation: pulseDot 1.6s infinite;
}

.slug-card {
  background: var(--paper);
  border: 2px dashed rgba(59, 125, 59, 0.45);
  border-radius: 26px;
  padding: 22px 18px;
  box-shadow: var(--shadow);
  max-width: 760px;
  margin: 0 auto;
}

.slug-curtain {
  text-align: center;
  padding: 26px 8px;
  background: repeating-linear-gradient(90deg, var(--red) 0 22px, var(--red-d) 22px 44px);
  border-radius: 18px;
  color: #fff;
}

.slug-secret {
  font-weight: 800;
  margin-bottom: 14px;
}

.slug-hero {
  height: 110px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #eef5d6, #d9e7b1);
  border-radius: 18px;
  margin-bottom: 16px;
  overflow: hidden;
}

.slug-emoji {
  font-size: 4rem;
  display: inline-block;
  transition: transform 0.9s ease, opacity 0.9s ease;
}

.slug-emoji.is-leaving {
  transform: translateX(140px) rotate(20deg);
  opacity: 0;
}

.slug-emoji.is-slug {
  animation: slugCrawl 4s ease-in-out infinite;
}

@keyframes slugCrawl {
  0%, 100% { transform: translateX(-30px) scaleX(1); }
  50% { transform: translateX(30px) scaleX(1.15); }
}

.slug-pitch {
  font-size: 0.95rem;
  color: var(--ink2);
}

.slug-perks {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.slug-perks li {
  background: #f4f8e6;
  border: 1px solid rgba(59, 125, 59, 0.2);
  border-radius: 14px;
  padding: 11px;
}

.slug-perks span {
  font-size: 1.2rem;
  display: block;
}

.slug-perks b {
  display: block;
  font-size: 0.85rem;
}

.slug-perks small {
  font-size: 0.74rem;
  color: var(--ink2);
}

.slug-dish {
  background: var(--dark);
  color: #f3eae0;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.slug-dish b {
  color: var(--gold-l);
  font-family: var(--serif);
}

.slug-dish p {
  margin: 6px 0 0;
  font-size: 0.86rem;
}

.slug-poll__q {
  font-weight: 800;
  margin-bottom: 10px;
}

.slug-poll__opts {
  display: grid;
  gap: 8px;
}

.slug-poll__opts button {
  min-height: 46px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--cream);
  font-weight: 700;
  font-size: 0.88rem;
  text-align: left;
  padding: 0 14px;
  cursor: pointer;
  color: var(--ink);
}

.slug-poll__opts button.is-picked {
  border-color: var(--herb);
  background: #e7f3dc;
}

.slug-poll__opts button:disabled:not(.is-picked) {
  opacity: 0.55;
}

.slug-poll__res {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.poll-row {
  display: grid;
  grid-template-columns: 110px 1fr 44px;
  gap: 8px;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.poll-bar {
  height: 10px;
  background: var(--cream2);
  border-radius: 99px;
  overflow: hidden;
}

.poll-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--herb-l), var(--herb));
}

.poll-verdict {
  margin: 6px 0 0;
  font-style: italic;
  font-family: var(--serif);
  color: var(--red-d);
}

/* ---------- SECTION 4 : MINI-JEU "ÉPREUVE DU BEURRE PERSILLÉ" & TRACKER ---------- */
.game-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 26px;
  padding: 20px 16px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.salt-arena {
  position: relative;
  height: 270px;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 35%, #3a2926, #140e0d);
  border: 2px solid var(--gold);
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
}

.salt-hud {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold-l);
  z-index: 3;
}

.salt-hud b {
  font-size: 1.05rem;
  color: #fff;
}

.salt-pan {
  position: relative;
  z-index: 2;
  font-size: 3.4rem;
  line-height: 1;
  transition: transform 0.08s;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.6));
}

.salt-pan.shake {
  transform: scale(1.16) rotate(-5deg);
}

.salt-cta-prompt {
  z-index: 3;
  background: var(--gold);
  color: #241606;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
}

.falling-herb {
  position: absolute;
  pointer-events: none;
  font-size: 1.35rem;
  animation: herbDrop 0.75s ease-in forwards;
  z-index: 2;
}

@keyframes herbDrop {
  0% { transform: translateY(-20px) rotate(0deg) scale(1.1); opacity: 1; }
  100% { transform: translateY(185px) rotate(160deg) scale(0.7); opacity: 0; }
}

.butter-gauge {
  height: 12px;
  background: rgba(0,0,0,0.35);
  border-radius: 99px;
  overflow: hidden;
  margin: 10px 0 8px;
}

.butter-gauge i {
  display: block;
  height: 100%;
  width: 8%;
  background: linear-gradient(90deg, #9be15d, var(--gold-l));
  transition: width 0.15s;
}

.rank-badge {
  font-weight: 800;
  color: var(--gold-l);
  font-size: 0.92rem;
  margin: 6px 0 0;
}

/* Tracker GPS UberBave */
.gps-card {
  margin-top: 22px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
  text-align: left;
}

.gps-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.gps-head b {
  font-family: var(--serif);
  font-size: 1.08rem;
}

.gps-speed {
  background: #e7f6e7;
  color: #1f6321;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
}

.gps-track {
  position: relative;
  height: 44px;
  background: var(--cream2);
  border-radius: 999px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 12px;
  overflow: hidden;
}

.gps-track__trail {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 24%;
  background: linear-gradient(90deg, rgba(104, 184, 93, 0.25), rgba(200, 162, 90, 0.45));
  transition: width 0.3s;
}

.gps-track__runner {
  position: absolute;
  left: 22%;
  top: 50%;
  transform: translate(-50%, -50%) scaleX(-1);
  font-size: 1.5rem;
  transition: left 0.3s;
  z-index: 2;
}

.gps-track span {
  position: relative;
  z-index: 2;
}

.gps-eta {
  font-size: 0.84rem;
  color: var(--ink2);
  margin-bottom: 12px;
}

/* ---------- SECTION 5 : AVIS CLIENTS + DROIT DE RÉPONSE DU PÈRE ---------- */
.reviews-grid {
  display: grid;
  gap: 14px;
}

.rev-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 10px 26px -16px rgba(0,0,0,0.2);
}

.rev-stars {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.rev-card blockquote {
  margin: 0 0 8px;
  font: italic 0.96rem/1.45 var(--serif);
  color: var(--ink);
}

.rev-author {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink2);
  margin-bottom: 12px;
}

.chef-reply {
  background: var(--cream);
  border-left: 3px solid var(--red);
  padding: 10px 12px;
  border-radius: 0 12px 12px 0;
  font-size: 0.82rem;
}

.chef-reply b {
  display: block;
  color: var(--red);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

/* ---------- SECTION 6 : DEVIS FAMILIAL EN 4 GESTES ---------- */
.devis-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 26px;
  padding: 22px 18px;
  box-shadow: 0 24px 50px -18px rgba(0,0,0,0.45);
  border: 1.5px solid rgba(200, 162, 90, 0.45);
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 7px;
}

.field input[type="text"],
.field select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--cream);
  color: var(--ink);
}

.field input[type="range"] {
  width: 100%;
  accent-color: var(--red);
  height: 32px;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.calc-box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  text-align: center;
}

.calc-box span {
  display: block;
  font-size: 1.25rem;
}

.calc-box b {
  display: block;
  font: 700 1.15rem/1.2 var(--serif);
  color: var(--red);
  margin-top: 2px;
}

.calc-box small {
  font-size: 0.72rem;
  color: var(--ink2);
}

/* Ticket / Devis Officiel Généré */
.ticket-wait {
  display: none;
}

.official-ticket {
  margin-top: 22px;
  background: #fffdf7;
  color: var(--ink);
  border: 2px dashed var(--gold);
  border-radius: 22px;
  padding: 20px 16px;
  box-shadow: var(--shadow);
  position: relative;
}

.ticket-stamp {
  display: inline-block;
  border: 2px solid var(--red);
  color: var(--red);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 8px;
  transform: rotate(-3deg);
  margin-bottom: 10px;
}

.official-ticket h3 {
  font-size: 1.32rem;
  margin-bottom: 4px;
}

.ticket-dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.83rem;
}

.ticket-dl dt {
  color: var(--ink2);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.ticket-dl dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.ticket-signs {
  display: flex;
  justify-content: space-around;
  text-align: center;
  font-family: var(--hand);
  font-size: 1.18rem;
  color: var(--red-d);
  margin: 12px 0 16px;
}

.ticket-signs small {
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem;
  color: var(--ink2);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #130e0d;
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 40px 18px 46px;
  font-size: 0.82rem;
}

.site-footer__sign {
  font: 700 1.7rem/1.1 var(--hand);
  color: var(--gold-l);
  margin-bottom: 8px;
}

/* ---------- Tabbar Mobile Fixe ---------- */
.mobile-tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  height: calc(var(--tabbar) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(25, 19, 18, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(200, 162, 90, 0.28);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.mobile-tabs a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: rgba(255,255,255,0.72);
  font-size: 0.66rem;
  font-weight: 700;
}

.mobile-tabs a span {
  font-size: 1.2rem;
  line-height: 1;
}

.mobile-tabs a.is-cta {
  color: var(--gold-l);
}

/* Toast & Particules */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabbar) + 16px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 24px);
  background: var(--dark);
  color: var(--gold-l);
  border: 1.5px solid var(--gold);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 95;
  max-width: 92vw;
  text-align: center;
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

#fxCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 85;
}

/* ==========================================================================
   RESPONSIVE DESKTOP (>= 860px) : Élégant sur grand écran aussi !
   ========================================================================== */
@media (min-width: 860px) {
  body {
    padding-bottom: 0;
  }

  .mobile-tabs {
    display: none;
  }

  .toast {
    bottom: 28px;
  }

  .topbar {
    height: 70px;
    padding: 0 32px;
  }

  .topbar__nav {
    display: flex;
    gap: 22px;
    margin-right: 20px;
    font-size: 0.88rem;
    font-weight: 600;
  }

  .topbar__nav a {
    text-decoration: none;
    opacity: 0.88;
  }

  .topbar__nav a:hover {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 5px;
  }

  .hero__sheet {
    max-width: 1120px;
    margin: 0 auto;
    border-radius: 36px 36px 0 0;
    padding: 48px 48px 54px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 42px;
    align-items: center;
  }

  .hero-stage {
    margin: 0;
    grid-column: 2;
    grid-row: 1 / 5;
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero__actions .btn {
    white-space: nowrap;
  }

  .hero__promises {
    grid-template-columns: repeat(4, 1fr);
    grid-column: 1 / -1;
  }

  .dynasty-card {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: stretch;
  }

  .dynasty-card {
    align-items: center;
  }

  .dynasty-card__media {
    aspect-ratio: 3 / 4;
  }

  .dynasty-card__body {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .brigade-deck {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    margin: 0;
    padding: 0;
    gap: 22px;
  }

  .member-card {
    max-width: none;
  }

  .swipe-hint {
    display: none;
  }

  .menu-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .game-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start;
  }

  .gps-card {
    margin-top: 0;
  }

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

  .devis-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
  }

  .official-ticket {
    margin-top: 0;
  }

  .ticket-wait:not([hidden]) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 420px;
    padding: 32px;
    text-align: center;
    color: #fff;
    border: 2px dashed rgba(255, 255, 255, 0.45);
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.12);
  }

  .ticket-wait b {
    font: 700 1.5rem/1.2 var(--serif);
  }

  .ticket-wait p {
    max-width: 32ch;
    margin: 0;
    opacity: 0.9;
  }

  .ticket-wait small {
    opacity: 0.7;
    font-size: 0.78rem;
  }

  .ticket-wait__snail {
    font-size: 3rem;
    display: inline-block;
    animation: waitCrawl 6s ease-in-out infinite alternate;
  }

  @keyframes waitCrawl {
    from { transform: translateX(-60px) scaleX(-1); }
    to { transform: translateX(60px) scaleX(-1); }
  }
}

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