/* ==========================================================================
   HKThaï — Feuille de style principale
   Direction : « marché de nuit de Bangkok » — chaleureux, vibrant, appétissant
   Palette de marque conservée : corail #E2574C · orange #FC6C00 · brique #B44848
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Marque — palette drapeau thaï (Trairanga) */
  /* Rouge officiel #EF3340 / Bleu officiel #00247D / Blanc */
  --coral: #ef3340;         /* rouge drapeau (ex-coral) */
  --coral-600: #d11b27;     /* rouge foncé (hover) */
  --coral-700: #a91421;     /* rouge le plus foncé (erreur, contraste fort) */
  --brick: #c8102e;         /* rouge soutenu */
  --orange: #00247d;        /* bleu drapeau (ex-orange — utilisé dans les dégradés rouge→bleu) */
  --orange-soft: #4a6fd0;   /* bleu clair tint (accents soft sur fonds sombres) */
  --gold: #ffffff;          /* blanc drapeau (rubans, badges) */

  /* Drapeau thaïlandais (accents officiels — alias) */
  --flag-red: #ef3340;
  --flag-blue: #00247d;
  --blue: #00247d;

  /* Neutres chauds */
  --ink: #160e0c;
  --ink-soft: #241715;
  --ink-card: #2c1d19;
  --cream: #fbf5ee;
  --cream-2: #f4e9db;
  --paper: #ffffff;
  --text: #2a1b18;
  --muted: #7a655e;
  --line: rgba(42, 27, 24, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Typo */
  --display: "Clash Display", "Trebuchet MS", sans-serif;
  --body: "Switzer", system-ui, -apple-system, sans-serif;

  /* Mesures */
  --container: 1200px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Ombres */
  --shadow-sm: 0 2px 10px rgba(60, 25, 18, 0.08);
  --shadow: 0 18px 50px -18px rgba(110, 40, 28, 0.35);
  --shadow-lg: 0 40px 80px -30px rgba(90, 30, 20, 0.55);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 3px solid #ef3340; outline-offset: 3px; border-radius: 4px; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; }
.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral-600);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--flag-red), var(--blue));
}
.eyebrow.is-light { color: var(--orange-soft); }

.halal-pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(46, 168, 102, 0.16); color: #79d39e;
  border: 1px solid rgba(46, 168, 102, 0.42);
  padding: 0.5rem 1.1rem; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.92rem;
}
.halal-pill svg { width: 1.05em; height: 1.05em; }

.section-title { font-size: clamp(2rem, 1.4rem + 3vw, 3.5rem); }
.lead { font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem); color: var(--muted); }
.accent { color: var(--coral); }
.accent-o { color: var(--orange); }

/* ---------- Layout ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container-wide { width: min(100% - 2rem, 1440px); margin-inline: auto; }
section { padding: clamp(4rem, 3rem + 6vw, 8rem) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 2rem + 3vw, 4rem); }
.section-head .lead { margin-top: 1.1rem; }
.text-center { text-align: center; }
.center-head { margin-inline: auto; text-align: center; }

/* ---------- Grain & textures ---------- */
.grain::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--body); font-weight: 600; font-size: 1rem;
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary {
  background: linear-gradient(115deg, #ef3340 0%, #00247d 100%);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(239, 51, 64, 0.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(0, 36, 125, 0.55); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: #ef3340; color: #ef3340; transform: translateY(-3px); }
.btn-ghost.is-light { color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost.is-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); color:#fff; }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.075rem; }

/* ---------- Header ---------- */
/* Bande drapeau thaïlandais 🇹🇭 (rouge / blanc / bleu marine) en haut de page */
.flag-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 8px; z-index: 200;
  background: linear-gradient(to bottom,
    var(--flag-red) 0 16.67%,
    #fff 16.67% 33.33%,
    var(--flag-blue) 33.33% 66.67%,
    #fff 66.67% 83.33%,
    var(--flag-red) 83.33% 100%);
}

.site-header {
  position: fixed; top: 8px; left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 1.1rem 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header.scrolled {
  background: rgba(251, 245, 238, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 6px 24px -16px rgba(60,25,18,0.5);
  padding: 0.6rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand img { width: 46px; height: 46px; transition: transform 0.4s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand .brand-name { color: #fff; transition: color 0.4s var(--ease); }
.scrolled .brand .brand-name { color: var(--text); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a {
  font-weight: 500; font-size: 0.98rem; color: rgba(255,255,255,0.92);
  position: relative; padding: 0.3rem 0; transition: color 0.3s;
}
.scrolled .nav-links a { color: var(--text); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--coral), var(--orange));
  transition: width 0.35s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--orange-soft); }
.scrolled .nav-links a[aria-current="page"] { color: var(--coral-600); }

.nav-cta { display: flex; align-items: center; gap: 0.8rem; }
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }
.burger span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: 0.35s var(--ease); }
.scrolled .burger span { background: var(--text); }
.menu-open .burger span { background: var(--text); }
.menu-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  background: radial-gradient(120% 90% at 70% 10%, #3a1f17 0%, var(--ink) 55%, #0d0807 100%);
  color: #fff; overflow: hidden; padding-top: 6rem;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-glow {
  position: absolute; z-index: 0; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  top: -12%; right: -8%;
  background: radial-gradient(circle, rgba(0,36,125,0.42), rgba(0,36,125,0.15) 45%, transparent 70%);
  filter: blur(20px); border-radius: 50%; pointer-events: none;
}
.hero .container { position: relative; z-index: 3; }
.hero-inner { max-width: 880px; }
.hero h1 {
  font-size: clamp(2.8rem, 1.6rem + 6vw, 6.5rem);
  line-height: 0.98; letter-spacing: -0.03em; margin: 1.4rem 0;
  text-shadow: 0 12px 50px rgba(0,0,0,0.35);
}
.hero h1 .stroke {
  background: linear-gradient(100deg, #ef3340 0%, #ff6670 45%, #4a6fd0 60%, #00247d 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(1.05rem, 1rem + 0.6vw, 1.4rem); color: rgba(255,255,255,0.82); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.5rem 2.2rem; margin-top: 3rem; color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-meta svg { width: 1.1em; height: 1.1em; color: var(--orange-soft); }
.scroll-hint {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.6); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-hint .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.4); border-radius: 14px; position: relative; }
.scroll-hint .mouse::after { content:""; position:absolute; left:50%; top:7px; width:4px; height:7px; background:var(--orange-soft); border-radius:2px; transform:translateX(-50%); animation: wheel 1.6s infinite; }
@keyframes wheel { 0%{opacity:1;transform:translate(-50%,0)} 70%{opacity:0;transform:translate(-50%,12px)} 100%{opacity:0} }

/* ---------- Story ---------- */
.story { background: var(--cream); }
.story-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.story-visual { position: relative; }
.story-visual .photo {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5; transform: rotate(-2deg);
}
.story-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.story-badge {
  position: absolute; bottom: -28px; left: -22px;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: #fff; border-radius: var(--radius); padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow); transform: rotate(3deg);
}
.story-badge strong { font-family: var(--display); font-size: 1.7rem; display: block; line-height: 1; }
.story-badge span { font-size: 0.82rem; opacity: 0.92; }
.story p + p { margin-top: 1.1rem; }
.story .signature { margin-top: 1.8rem; font-family: var(--display); font-size: 1.3rem; color: var(--coral-600); }

/* ---------- Piliers ---------- */
.pillars { background: var(--ink); color: #fff; }
.pillars .lead { color: rgba(255,255,255,0.72); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.pillar {
  background: linear-gradient(180deg, var(--ink-card), var(--ink-soft));
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem; transition: transform 0.4s var(--ease), border-color 0.4s; transform-style: preserve-3d;
}
.pillar:hover { border-color: rgba(0,36,125,0.5); }
.pillar .ic {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(239,51,64,0.2), rgba(0,36,125,0.15));
  color: var(--orange-soft); margin-bottom: 1.3rem;
}
.pillar .ic svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.pillar p { color: rgba(255,255,255,0.68); font-size: 0.98rem; }

/* ---------- Plats signature ---------- */
.signatures { background: var(--cream); }
.dish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.dish {
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.dish:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.dish-top {
  position: relative; padding: 1.4rem 1.5rem 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
}
.dish .emoji {
  font-size: 2.6rem; line-height: 1;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.15));
}
.dish .price {
  font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--coral-600);
  background: var(--cream-2); padding: 0.3rem 0.8rem; border-radius: var(--radius-pill);
}
.dish-body { padding: 0.8rem 1.5rem 1.6rem; }
.dish h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.dish p { color: var(--muted); font-size: 0.95rem; }
.dish .tag { display:inline-block; margin-top: 0.9rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); }

/* ---------- Bande ambiance ---------- */
.ambiance {
  position: relative; color: #fff; text-align: center;
  background: var(--ink); overflow: hidden;
}
.ambiance .bg { position: absolute; inset: 0; z-index: 0; }
.ambiance .bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.ambiance::before { content:""; position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, rgba(11,8,7,0.65), rgba(11,8,7,0.55)); }
.ambiance .container { position: relative; z-index: 2; }
.ambiance blockquote { font-family: var(--display); font-size: clamp(1.6rem, 1rem + 3vw, 3rem); line-height: 1.1; max-width: 900px; margin-inline: auto; }
.ambiance cite { display: block; margin-top: 1.5rem; font-style: normal; color: var(--orange-soft); letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.85rem; font-family: var(--body); }

/* ---------- Teaser commande ---------- */
.order-teaser { background: var(--cream); }
.order-card {
  background: linear-gradient(120deg, var(--ink) 0%, #3a1f17 100%);
  color: #fff; border-radius: var(--radius-lg); padding: clamp(2.2rem, 1.5rem + 3vw, 4rem);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.order-card .glow { position:absolute; width: 420px; height:420px; right:-120px; bottom:-160px; background: radial-gradient(circle, rgba(0,36,125,0.4), transparent 70%); filter: blur(10px); }
.order-card h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); position: relative; }
.order-card p { color: rgba(255,255,255,0.78); margin-top: 1rem; position: relative; }
.order-options { display: flex; flex-direction: column; gap: 0.9rem; position: relative; }
.order-opt {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line-dark); border-radius: var(--radius);
}
.order-opt .ic { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg,var(--coral),var(--orange)); display:grid; place-items:center; flex-shrink:0; }
.order-opt .ic svg { width: 22px; height: 22px; color:#fff; }
.order-opt strong { display:block; font-family: var(--display); font-size: 1.05rem; }
.order-opt span { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.soon { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 0.2rem 0.55rem; border-radius: var(--radius-pill); margin-left: auto; }
.order-opt .soon { color: var(--ink); }  /* surcharge .order-opt span (texte sombre lisible sur le badge blanc) */

/* ---------- Bande infos (accueil/contact) ---------- */
.info-strip { background: var(--ink); color:#fff; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.info-card { background: var(--ink-soft); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 2rem; }
.info-card .ic { color: var(--orange-soft); margin-bottom: 1rem; }
.info-card .ic svg { width: 28px; height: 28px; }
.info-card h3 { font-size: 1.25rem; margin-bottom: 0.7rem; }
.info-card p, .info-card a { color: rgba(255,255,255,0.75); font-size: 0.96rem; }
.info-card a:hover { color: var(--orange-soft); }
.hours-list li { display:flex; justify-content: space-between; gap:1rem; padding: 0.35rem 0; border-bottom: 1px dashed var(--line-dark); font-size: 0.92rem; }
.hours-list li:last-child { border-bottom: 0; }
.hours-list .day { color: rgba(255,255,255,0.9); }
.hours-list .closed { color: var(--coral); }
.hours-list .today { color: var(--orange-soft); font-weight: 600; }
.hours-note { margin-top: 0.8rem; font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.venue-map { margin-top: 1.6rem; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg); }
.venue-map iframe { width: 100%; height: clamp(300px, 38vw, 440px); border: 0; display: block; }
.venue-map .map-link { display: block; text-align: center; background: var(--ink-soft); color: var(--orange-soft); padding: 0.95rem; font-weight: 600; font-size: 0.95rem; border-top: 1px solid var(--line-dark); transition: background 0.3s, color 0.3s; }
.venue-map .map-link:hover { background: rgba(0, 36, 125, 0.12); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #0d0807; color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; }
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(to right,
    var(--flag-red) 0 33.33%, #fff 33.33% 66.66%, var(--flag-blue) 66.66% 100%);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand .brand { color:#fff; margin-bottom: 1rem; }
.footer-brand .brand .brand-name { color:#fff; }
.footer-brand p { font-size: 0.92rem; max-width: 32ch; }
.site-footer h4 { color:#fff; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.1rem; font-family: var(--body); }
.site-footer .f-links li { margin-bottom: 0.6rem; }
.site-footer a:hover { color: var(--orange-soft); }
.socials { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: 0.3s var(--ease); }
.socials a:hover { background: linear-gradient(135deg,var(--coral),var(--orange)); border-color: transparent; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.84rem; color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--orange-soft); }

/* ---------- Page header (sous-pages) ---------- */
.page-hero {
  background: radial-gradient(120% 120% at 80% 0%, #3a1f17, var(--ink) 60%);
  color: #fff; padding: 11rem 0 4.5rem; position: relative; overflow: hidden; text-align: center;
}
.page-hero .hero-glow { top: -20%; right: 10%; opacity: 0.8; }
.page-hero h1 { font-size: clamp(2.4rem, 1.6rem + 4vw, 4.5rem); margin-bottom: 1rem; position: relative; }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 620px; margin-inline: auto; position: relative; }
.breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-bottom: 1.5rem; position: relative; }
.breadcrumb a:hover { color: var(--orange-soft); }
.breadcrumb span { margin: 0 0.4rem; }

/* ---------- Menu ---------- */
.menu-nav {
  position: sticky; top: 72px; z-index: 50;
  background: rgba(251,245,238,0.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); padding: 0.7rem 0;
}
.menu-nav ul { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; }
.menu-nav ul::-webkit-scrollbar { display: none; }
.menu-nav a {
  white-space: nowrap; padding: 0.5rem 1rem; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.9rem; color: var(--muted); transition: 0.3s;
}
.menu-nav a:hover, .menu-nav a.active { background: linear-gradient(115deg, #ef3340 0%, #00247d 100%); color: #fff; }

.menu-section { padding: clamp(3rem, 2rem + 4vw, 5rem) 0; scroll-margin-top: 130px; }
.menu-section:nth-child(even) { background: var(--cream-2); }
.menu-cat-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 2rem; }
.menu-cat-head h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); }
.menu-cat-head .emoji { font-size: 1.8rem; }
.menu-cat-head .note { margin-left: auto; font-size: 0.85rem; color: var(--muted); font-style: italic; }
.menu-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem 3rem; }
.menu-item {
  display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; align-items: baseline;
  padding: 1rem 0; border-bottom: 1px dashed var(--line);
}
.menu-item .mi-name { font-family: var(--display); font-weight: 600; font-size: 1.2rem; }
.menu-item .mi-price { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--coral-600); white-space: nowrap; }
.menu-item .mi-desc { grid-column: 1 / -1; color: var(--muted); font-size: 0.92rem; margin-top: 0.1rem; }
.menu-item .supp { color: var(--orange); font-weight: 600; }

.formules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.4rem; }
.formule {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem;
  box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s;
  position: relative; overflow: hidden;
}
.formule:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.formule .f-price { font-family: var(--display); font-weight: 700; font-size: 2.4rem; color: var(--coral); line-height: 1; }
.formule h3 { font-size: 1.3rem; margin: 0.8rem 0 0.6rem; }
.formule p { color: var(--muted); font-size: 0.92rem; }
.formule .ribbon { position:absolute; top: 14px; right: -34px; transform: rotate(45deg); background: var(--gold); color: var(--ink); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; padding: 0.25rem 2.5rem; text-transform: uppercase; }

.supp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.supp-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.4rem; box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.supp-card:hover { transform: translateY(-5px); border-color: var(--coral); box-shadow: var(--shadow); }
.supp-card .s-name { font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.supp-card .s-price {
  font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--coral-600);
  background: var(--cream-2); padding: 0.2rem 0.7rem; border-radius: var(--radius-pill); white-space: nowrap;
}

.menu-cta { text-align:center; padding: clamp(3rem, 2rem + 4vw, 6rem) 0; background: var(--ink); color:#fff; }
.menu-cta h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); margin-bottom: 1rem; }
.menu-cta p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.contact-grid > * { min-width: 0; } /* évite le débordement de grille (grid blowout) */
.contact-info .info-block { padding: 1.5rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 1.1rem; }
.contact-info .info-block:first-child { padding-top: 0; }
.contact-info .ic { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; background: linear-gradient(135deg, rgba(239,51,64,0.12), rgba(0,36,125,0.12)); color: var(--coral-600); display: grid; place-items: center; }
.contact-info .ic svg { width: 24px; height: 24px; }
.contact-info h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.contact-info a { color: var(--coral-600); font-weight: 600; }
.contact-info a:hover { color: var(--orange); }
.contact-info .muted { color: var(--muted); font-size: 0.95rem; }

.contact-hours li { display:flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.contact-hours li:last-child { border:0; }
.contact-hours .closed { color: var(--coral); }
.contact-hours .today { color: var(--orange); font-weight: 700; }

/* ---- Formulaire de contact (reconstruit de zéro : flex colonne, pleine largeur) ---- */
.cf-col { min-width: 0; width: 100%; }
.cf-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.6rem); box-shadow: var(--shadow); width: 100%; max-width: 100%; box-sizing: border-box; }
.cf-card h2 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.cf-intro { color: var(--muted); margin-bottom: 1.6rem; }
.cf-intro a { color: var(--coral-600); font-weight: 600; white-space: nowrap; }
.cf { display: flex; flex-direction: column; gap: 1.1rem; width: 100%; max-width: 100%; }
.cf-field { display: block; width: 100%; max-width: 100%; }
.cf-label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.45rem; }
.cf-control {
  display: block; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box;
  padding: 0.85rem 1.05rem; border-radius: 12px;
  border: 1.5px solid #d6c8b2; background: #f7f1e8; color: var(--text);
  font: inherit; line-height: 1.4; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.cf-control::placeholder { color: #ab9c8f; }
.cf-control:focus { border-color: var(--coral); background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(239,51,64,0.13); }
textarea.cf-control { resize: vertical; min-height: 140px; }
select.cf-control {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c8443b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.05rem center;
}
.cf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.cf-submit { width: 100%; justify-content: center; margin-top: 0.2rem; }
.cf-note { font-size: 0.82rem; color: var(--muted); }
.form-status { padding: 0.9rem 1.1rem; border-radius: 12px; font-size: 0.92rem; display: none; }
.form-status.ok { display:block; background: rgba(34,160,90,0.12); color: #1d7a47; border: 1px solid rgba(34,160,90,0.3); }
.form-status.err { display:block; background: rgba(239,51,64,0.12); color: var(--coral-700); border: 1px solid rgba(239,51,64,0.3); }

.map-wrap { margin-top: 1.5rem; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; filter: saturate(0.9); }

/* ---------- Legal ---------- */
.legal { padding: 10rem 0 5rem; }
.legal-wrap { max-width: 820px; margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.2rem); margin-bottom: 0.5rem; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.5rem; margin: 2.5rem 0 0.9rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal p, .legal li { color: var(--text); }
.legal p { margin-bottom: 0.9rem; }
.legal ul { margin: 0 0 1rem 0; }
.legal li { padding: 0.3rem 0 0.3rem 1.4rem; position: relative; }
.legal li::before { content: "›"; position: absolute; left: 0; color: var(--coral); font-weight: 700; }
.legal a { color: var(--coral-600); font-weight: 600; }
.legal a:hover { color: var(--orange); }
.legal .data-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; }
.legal .data-table th, .legal .data-table td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.legal .data-table th { width: 38%; color: var(--muted); font-weight: 600; }

/* ---------- 404 ---------- */
.nf { min-height: 80vh; display: grid; place-items: center; text-align: center; background: radial-gradient(120% 120% at 50% 0%, #3a1f17, var(--ink)); color:#fff; padding: 8rem 1.5rem 4rem; }
.nf h1 { font-size: clamp(4rem, 3rem + 8vw, 10rem); background: linear-gradient(100deg,var(--coral),var(--orange),var(--gold)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.nf p { color: rgba(255,255,255,0.78); margin: 1rem 0 2rem; }

/* ---------- Reveal (Motion One) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal="left"] { transform: translateX(-30px); }
.js [data-reveal="right"] { transform: translateX(30px); }
.js [data-reveal="scale"] { transform: scale(0.94); }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  #hero-canvas { display: none; }
  .scroll-hint .mouse::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .story-grid, .order-card, .contact-grid { grid-template-columns: 1fr; }
  .pillars-grid, .dish-grid, .info-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .order-card { gap: 2rem; }
  .story-visual { max-width: 460px; margin-inline: auto; }
}
@media (max-width: 720px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px);
    background: var(--cream); flex-direction: column; justify-content: center; gap: 0;
    padding: 5rem 2rem 2rem; transform: translateX(100%); transition: transform 0.45s var(--ease);
    box-shadow: -20px 0 60px -20px rgba(0,0,0,0.4); z-index: 105;
  }
  .menu-open .nav { transform: translateX(0); }
  /* Menu ouvert : on retire le backdrop-filter du header, sinon il devient un
     "bloc conteneur" qui enferme le panneau .nav (position:fixed) dans la hauteur
     du header au lieu de le caler sur tout l'écran (bug menu tronqué au scroll). */
  .menu-open .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
  .nav-links { flex-direction: column; gap: 0; width: 100%; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; color: var(--text) !important; font-family: var(--display); font-size: 1.5rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-links a::after { display: none; }
  .nav .btn-primary { margin-top: 1.5rem; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(11,8,7,0.5); opacity: 0; visibility: hidden; transition: 0.4s; z-index: 90; }
  .menu-open .nav-overlay { opacity: 1; visibility: visible; }
  .pillars-grid, .dish-grid, .info-grid, .footer-grid, .menu-items, .field-row { grid-template-columns: 1fr; }
  .menu-items { gap: 0; }
  .hero { min-height: 92svh; }
}
@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Click & Collect "Bientôt" (commande en ligne pas encore active) ---------- */
.nav-soon {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 500; font-size: 0.98rem; color: rgba(255,255,255,0.55);
  cursor: default; user-select: none;
}
.scrolled .nav-soon { color: var(--muted); }
.nav-soon .soon-tag {
  font-style: normal; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink); background: var(--gold);
  padding: 0.12rem 0.42rem; border-radius: var(--radius-pill);
}
.f-links .nav-soon { color: rgba(255,255,255,0.45); font-size: inherit; }
@media (max-width: 880px) {
  .nav-links .nav-soon { display: flex; padding: 0.9rem 0; font-size: 1.5rem;
    font-family: var(--display); color: var(--text); border-bottom: 1px solid var(--line); width: 100%; }
  .nav-links .nav-soon .soon-tag { font-size: 0.62rem; }
}
