/* =========================================================
   O'Plateau — feuille de style
   Palette : charbon profond + ambre gourmand + crème
   ========================================================= */

:root {
  --charcoal: #1c1410;
  --charcoal-2: #2a1f18;
  --cream: #fbf6ee;
  --cream-2: #f3e9da;
  --amber: #e8843c;       /* orange burger */
  --amber-dark: #cf6a25;
  --gold: #f2b134;
  --green: #6a8d4f;
  --ink: #2b211a;
  --muted: #7a6c5d;
  --line: #e7dccb;
  --shadow: 0 18px 40px -18px rgba(28, 20, 16, .35);
  --radius: 18px;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.1; font-weight: 700; }

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

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

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.3rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: #fff; box-shadow: 0 10px 22px -10px var(--amber-dark); }
.btn-primary:hover { background: var(--amber-dark); }
.btn-ghost { background: transparent; border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: rgba(0,0,0,.05); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.1rem; }
.btn-phone { background: var(--charcoal); color: #fff; }
.btn-phone:hover { background: #000; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, .9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1.2rem; height: 70px; }
.brand { display: inline-flex; align-items: baseline; font-family: "Fraunces", serif; font-weight: 700; font-size: 1.5rem; }
.brand-mark { color: var(--amber); }
.brand-name { color: var(--charcoal); }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a { font-weight: 500; color: var(--ink); position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--amber); transition: width .2s ease; }
.nav-links a:hover::after { width: 100%; }
.btn-phone { margin-left: .4rem; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.burger span { width: 26px; height: 3px; background: var(--charcoal); border-radius: 2px; transition: .25s; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; gap: .2rem; padding: 0 22px; background: var(--cream); border-bottom: 1px solid var(--line); overflow: hidden; max-height: 0; transition: max-height .3s ease, padding .3s ease; }
.mobile-menu.open { max-height: 420px; padding: 14px 22px 22px; }
.mobile-menu a { padding: .7rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-menu a.btn { border-bottom: 0; margin-top: .6rem; }

/* ---------- Héro ---------- */
.hero { position: relative; color: var(--cream); overflow: hidden; min-height: 92vh; display: flex; align-items: center; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(15,10,7,.92) 0%, rgba(15,10,7,.72) 42%, rgba(15,10,7,.32) 100%),
    radial-gradient(1100px 600px at 88% 12%, rgba(242,177,52,.28), transparent 62%),
    url("../assets/hero.webp") right center/cover no-repeat,
    linear-gradient(135deg, #2a1f18, #160f0a);
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
.hero-bg::after { /* vignette + grain léger pour le côté chic */
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 -120px 160px -60px rgba(12,8,5,.95), inset 0 80px 120px -60px rgba(12,8,5,.7);
}
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1.12); } }
.hero-inner { position: relative; padding: 6.5rem 22px 5.5rem; max-width: 820px; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .82rem; font-weight: 600; color: var(--gold); margin-bottom: 1.1rem; display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); display: inline-block; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); margin-bottom: 1.2rem; letter-spacing: -.01em; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.hero h1 .accent { color: var(--gold); font-style: italic; }
.lead { font-size: 1.15rem; max-width: 600px; color: #f0e6d8; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.6rem; }
.hero .btn-ghost { color: #fff; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; }
.badge { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); padding: .35rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 500; }
.badge-link { cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.badge-link:hover { background: rgba(242,177,52,.22); border-color: var(--gold); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--cream-2); }
.section-eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; font-weight: 700; color: var(--amber-dark); margin-bottom: .5rem; }
.section-eyebrow.light { color: var(--gold); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .6rem; }
.section-title.light { color: var(--cream); }
.section-sub { color: var(--muted); max-width: 640px; margin-bottom: 2rem; }
.section-sub a { color: var(--amber-dark); font-weight: 600; }

/* ---------- Cartes spécialités ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); transition: transform .2s ease; }
.card:hover { transform: translateY(-4px); }
.card-icon { font-size: 2.2rem; margin-bottom: .6rem; }
.card h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .96rem; }

/* ---------- Planning ---------- */
.schedule { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.day { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; display: flex; flex-direction: column; gap: .25rem; }
.day-name { font-family: "Fraunces", serif; font-weight: 700; font-size: 1.15rem; color: var(--charcoal); }
.day-place { font-weight: 600; color: var(--amber-dark); }
.day-time { font-size: .9rem; color: var(--muted); }
.day-off { background: var(--cream-2); color: var(--muted); }
.day-off .day-place, .day-off .day-name { color: var(--muted); }
.schedule-note { margin-top: 1.4rem; color: var(--muted); }
.schedule-note a { color: var(--amber-dark); font-weight: 600; }

/* ---------- Menu ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.menu-cat { font-size: 1.2rem; margin: .4rem 0 .8rem; color: var(--charcoal); border-bottom: 2px dashed var(--line); padding-bottom: .4rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.menu-price { font-family: "Inter", sans-serif; font-size: .8rem; font-weight: 700; color: #fff; background: var(--amber); padding: .2rem .6rem; border-radius: 999px; white-space: nowrap; }
.menu-cta { margin-top: 2.2rem; }
.disclaimer { margin-top: 1.6rem; font-size: .9rem; color: var(--muted); background: #fff7ef; border: 1px solid var(--line); border-left: 4px solid var(--gold); padding: .9rem 1.1rem; border-radius: 10px; line-height: 1.5; }
.disclaimer a { color: var(--amber-dark); font-weight: 600; }
.footer-legal a { color: #d8cab8; text-decoration: underline; }
.footer-legal a:hover { color: var(--gold); }
.menu-col .menu-cat:not(:first-child) { margin-top: 1.6rem; }
.menu-list { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.menu-list li { display: flex; flex-direction: column; }
.mi-name { font-weight: 600; }
.mi-price { font-weight: 700; color: var(--amber-dark); white-space: nowrap; }
.mi-name em { font-style: italic; font-weight: 400; color: var(--muted); }
.mi-desc { font-size: .9rem; color: var(--muted); }

/* Bandeau formule */
.formule { margin-top: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--charcoal), var(--charcoal-2)); color: var(--cream);
  border-radius: var(--radius); padding: 1.6rem 1.8rem; box-shadow: var(--shadow); }
.formule-label { display: block; font-family: "Fraunces", serif; font-weight: 700; font-size: 1.5rem; color: var(--gold); }
.formule-desc { display: block; color: #e8ddcd; margin-top: .2rem; }
.formule-price { font-family: "Fraunces", serif; font-weight: 700; font-size: 2.2rem; color: #fff;
  background: var(--amber); border-radius: 14px; padding: .4rem 1.1rem; white-space: nowrap; }
.menu-note { margin-top: 2rem; background: #fff7ef; border: 1px solid var(--line); border-left: 4px solid var(--gold); padding: .9rem 1.1rem; border-radius: 10px; font-size: .92rem; color: var(--ink); }

/* ---------- Avis ---------- */
.section-dark {
  position: relative; color: var(--cream); isolation: isolate;
  background:
    linear-gradient(180deg, rgba(18,12,9,.93), rgba(18,12,9,.97)),
    url("../assets/burger-avis.webp") center/cover fixed no-repeat,
    var(--charcoal);
}
.rating-hero { display: inline-flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: 2rem; text-decoration: none; transition: opacity .2s ease; }
a.rating-hero:hover { opacity: .85; }
a.rating-hero:hover .rating-count { color: var(--gold); }
.rating-num { font-family: "Fraunces", serif; font-size: 3rem; font-weight: 700; color: var(--gold); }
.stars { color: var(--gold); font-size: 1.6rem; letter-spacing: .1em; }
.rating-count { color: #cdbfae; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.review { background: var(--charcoal-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 1.5rem; }
.review p { font-style: italic; color: #f0e6d8; }
.review cite { display: block; margin-top: .9rem; color: var(--gold); font-style: normal; font-weight: 600; font-size: .9rem; }
.reviews-cta { margin-top: 1.8rem; }
.reviews-note { margin-top: 1.4rem; font-size: .85rem; color: #a99b8a; }

/* ---------- Infos pratiques ---------- */
.infos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.info-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0; }
.info-list li { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.info-list strong { font-weight: 700; margin-bottom: .15rem; }
.info-list a { color: var(--amber-dark); font-weight: 600; }
.social-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.infos-map iframe { width: 100%; height: 350px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.map-today { margin-bottom: .8rem; font-weight: 600; color: var(--ink); background: #fff7ef; border: 1px solid var(--line); border-left: 4px solid var(--amber); padding: .6rem .9rem; border-radius: 10px; }
.map-today strong { color: var(--amber-dark); }

/* Jour en cours dans le planning */
.day-active { border: 2px solid var(--amber) !important; background: #fff3e6 !important; box-shadow: 0 10px 24px -14px var(--amber-dark); position: relative; }
.day-active::after { content: "Aujourd'hui"; position: absolute; top: -10px; right: 10px; background: var(--amber); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .04em; padding: .15rem .55rem; border-radius: 999px; text-transform: uppercase; }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  position: relative; color: #fff; text-align: center; padding: 6rem 0; isolation: isolate; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(207,106,37,.86), rgba(180,70,18,.78)),
    url("../assets/burger-cta.webp") center 35%/cover fixed no-repeat,
    var(--amber-dark);
}
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: .5rem; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.cta-band p { margin-bottom: 1.6rem; font-size: 1.15rem; opacity: .96; }
.cta-band .btn-primary { background: #fff; color: var(--amber-dark); }
.cta-band .btn-primary:hover { background: var(--cream); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--charcoal); color: var(--cream); padding: 2.5rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.footer-inner .brand-name { color: var(--cream); }
.site-footer p { color: #b6a896; font-size: .92rem; margin-top: .4rem; max-width: 360px; }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-links a { color: #d8cab8; font-size: .92rem; }
.footer-links a:hover { color: var(--gold); }
.footer-legal { width: 100%; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.2rem; font-size: .82rem; color: #8b7d6c !important; }
.footer-credit { display: block; margin-top: .35rem; color: #a99b8a; font-style: italic; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .btn-phone { display: none; }
  .burger { display: flex; }
  .mobile-menu { display: flex; }
  .infos-grid { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; }
  .hero-bg { background-position: 70% center; }
}

/* Le parallax (background fixed) est instable sur mobile/iOS → scroll classique */
@media (max-width: 1024px) {
  .section-dark, .cta-band { background-attachment: scroll, scroll, scroll; }
}

/* Respect des préférences de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; transform: none; }
}
