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

:root {
  --bg:      #FDFCF9;
  --surface: #FFFFFF;
  --accent:  #C0482A;
  --accent2: #E05C38;
  --dark:    #1A1816;
  --mid:     #4A4540;
  --muted:   #9A9490;
  --border:  #EAE6DF;
  --price:   #9B6A1E;
  --green:   #25D366;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--dark);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* ====================================================
   NAV
===================================================== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(253,252,249,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 64px;
}
.nav-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--dark); text-decoration: none; letter-spacing: -.01em;
}
.nav-brand span { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: .9rem; }
.nav-menu-link {
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); text-decoration: none;
  transition: color .15s;
}
.nav-menu-link:hover { color: var(--dark); }
.nav-cart-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--dark); color: #fff;
  padding: 8px 18px; border: none;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .15s; white-space: nowrap;
}
.nav-cart-btn:hover { background: var(--accent); }
.cart-badge {
  background: var(--accent); color: #fff;
  border-radius: 50%; width: 18px; height: 18px;
  display: none; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 800;
}

/* ====================================================
   HERO
===================================================== */
.hero {
  padding: 64px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.hero-left {
  display: flex; flex-direction: column;
  justify-content: center; padding: 4rem 3rem 4rem 2.5rem;
  border-right: 1px solid var(--border);
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .68rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.8rem;
}
.hero-tag::before {
  content: ''; display: block;
  width: 24px; height: 1.5px; background: var(--accent);
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 700; line-height: 1.08;
  letter-spacing: -.025em; color: var(--dark);
  margin-bottom: 1.4rem;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: .95rem; color: var(--muted);
  line-height: 1.7; max-width: 340px; margin-bottom: 2.8rem;
}
.hero-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.btn-fill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 13px 28px;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none; border: none;
  cursor: pointer; transition: background .15s;
}
.btn-fill:hover { background: var(--accent2); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; color: var(--dark);
  padding: 12px 24px; border: 1.5px solid var(--border);
  font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: border-color .15s, color .15s;
}
.btn-outline:hover { border-color: var(--dark); }
.hero-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
}
.hero-photo {
  position: relative; overflow: hidden;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hero-photo:nth-child(2) { border-right: none; }
.hero-photo:nth-child(3) { border-bottom: none; }
.hero-photo:nth-child(4) { border-right: none; border-bottom: none; }
.hero-photo-inner { position: absolute; inset: 0; }
.hero-photo-label {
  position: absolute; bottom: 1rem; left: 1rem;
  font-size: .68rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.75);
}

/* ====================================================
   STRIP (chiffres/infos)
===================================================== */
.strip {
  display: flex;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.strip-item {
  flex: 1; padding: 1.8rem 2rem;
  border-right: 1px solid var(--border);
  text-align: center;
}
.strip-item:last-child { border-right: none; }
.strip-item strong {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem; font-weight: 700;
  color: var(--accent); margin-bottom: .2rem;
}
.strip-item span { font-size: .78rem; color: var(--muted); letter-spacing: .05em; }

/* ====================================================
   SECTION
===================================================== */
.section { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; }
.s-tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .8rem;
}
.s-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -.02em;
  margin-bottom: 2.5rem; color: var(--dark);
}

/* ====================================================
   SPÉCIALITÉS (grid)
===================================================== */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.spec-card { background: var(--surface); transition: background .2s; cursor: default; }
.spec-card:hover { background: #FAF8F5; }
.spec-photo { width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.spec-photo-inner { width: 100%; height: 100%; }
.spec-info { padding: 1.3rem 1.4rem; }
.spec-info h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.12rem; font-weight: 700; margin-bottom: .3rem; color: var(--dark);
}
.spec-info p { font-size: .8rem; color: var(--muted); margin-bottom: .7rem; line-height: 1.5; }
.spec-price { font-size: .82rem; font-weight: 700; color: var(--price); }

/* ====================================================
   HORAIRES
===================================================== */
.horaires-block {
  border: 1px solid var(--border);
  overflow: hidden;
}
.h-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 1.6rem;
  border-bottom: 1px solid var(--border);
}
.h-row:last-child { border-bottom: none; }
.h-day { font-size: .88rem; font-weight: 500; }
.h-time { font-size: .88rem; font-weight: 700; color: var(--accent); }

/* ====================================================
   MENU PAGE
===================================================== */
.menu-header {
  padding: 64px 0 0;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.menu-header-inner {
  max-width: 1100px; margin: 0 auto; padding: 3.5rem 2rem 0;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem;
}
.menu-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700; color: #fff; letter-spacing: -.025em; line-height: 1.05;
}
.menu-header h1 em { color: var(--accent2); font-style: italic; }
.menu-header-sub { font-size: .82rem; color: rgba(255,255,255,.45); margin-bottom: .3rem; }
.cat-bar {
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: sticky; top: 64px; z-index: 90;
  overflow-x: auto; scrollbar-width: none;
  display: flex;
}
.cat-bar::-webkit-scrollbar { display: none; }
.cat-btn {
  flex-shrink: 0; background: none; border: none;
  border-bottom: 2px solid transparent;
  padding: 1rem 1.5rem; margin-bottom: -1px;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
  cursor: pointer; white-space: nowrap; transition: all .15s;
}
.cat-btn:hover { color: rgba(255,255,255,.75); }
.cat-btn.active { color: #fff; border-bottom-color: var(--accent2); }

.menu-body { background: var(--bg); }
.menu-section { max-width: 900px; margin: 0 auto; padding: 2.5rem 2rem; }
.menu-cat-title {
  font-size: .68rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
  padding-bottom: 1rem; border-bottom: 1px solid var(--border);
  margin-bottom: .5rem;
}
.menu-item {
  display: flex; align-items: center; gap: 1.4rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  transition: background .12s;
}
.menu-item:last-child { border-bottom: none; }
.mi-photo { width: 82px; height: 64px; flex-shrink: 0; overflow: hidden; }
.mi-inner  { width: 100%; height: 100%; }
.mi-body   { flex: 1; min-width: 0; }
.mi-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: .2rem;
}
.mi-desc { font-size: .78rem; color: var(--muted); line-height: 1.45; }
.mi-right  { display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; flex-shrink: 0; }
.mi-price  { font-size: .88rem; font-weight: 700; color: var(--price); white-space: nowrap; }
.add-btn {
  width: 32px; height: 32px;
  background: none; border: 1.5px solid var(--border);
  color: var(--mid); font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .15s;
}
.add-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.add-btn:active { transform: scale(.9); }

/* float */
.float-cart {
  position: fixed; bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  display: none; align-items: center; gap: 10px;
  background: var(--dark); color: #fff;
  padding: 13px 28px; text-decoration: none;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 8px 36px rgba(26,24,22,.35);
  z-index: 100; transition: background .15s;
}
.float-cart:hover { background: var(--accent); }
.fc-badge {
  background: var(--accent); color: #fff;
  border-radius: 50%; width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 800;
}

/* ====================================================
   COMMANDE PAGE
===================================================== */
.cmd-page {
  max-width: 720px; margin: 0 auto;
  padding: 100px 2rem 4rem;
}
.cmd-head {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.cmd-head h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700; color: var(--dark); letter-spacing: -.02em;
}
.cmd-head p { font-size: .85rem; color: var(--muted); margin-top: .4rem; }

.cart-rows { margin-bottom: 1.5rem; }
.cart-row {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.cart-row:last-child { border-bottom: none; }
.cr-photo { width: 54px; height: 42px; overflow: hidden; flex-shrink: 0; }
.cr-inner  { width: 100%; height: 100%; }
.cr-body   { flex: 1; min-width: 0; }
.cr-name   { font-size: .9rem; font-weight: 600; color: var(--dark); }
.cr-price  { font-size: .78rem; font-weight: 600; color: var(--price); margin-top: 2px; }
.qty-ctrl  { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.qty-btn {
  width: 28px; height: 28px;
  background: none; border: 1px solid var(--border);
  color: var(--mid); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .12s;
}
.qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.qty-val { font-weight: 700; min-width: 18px; text-align: center; font-size: .88rem; }

.total-box {
  border: 1px solid var(--border); padding: 1.4rem 1.6rem; margin: 1.6rem 0;
}
.t-row {
  display: flex; justify-content: space-between;
  font-size: .85rem; color: var(--muted); margin-bottom: .65rem;
}
.t-row.final {
  font-size: .95rem; font-weight: 700; color: var(--dark);
  margin-bottom: 0; padding-top: .9rem; margin-top: .3rem;
  border-top: 1px solid var(--border);
}
.t-row.final span:last-child { color: var(--accent); }

.form-block { margin: 2.5rem 0; }
.form-block-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem; font-weight: 700; color: var(--dark);
  margin-bottom: 1.3rem; padding-bottom: .8rem;
  border-bottom: 1px solid var(--border);
}
.fields { display: flex; flex-direction: column; gap: .95rem; }
.field label {
  display: block; font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .45rem;
}
.field input,
.field textarea,
.field select {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); background: var(--surface);
  font-family: inherit; font-size: .9rem; color: var(--dark);
  transition: border-color .15s; -webkit-appearance: none;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 80px; }
.field select option { background: var(--surface); }

.wa-note {
  background: #FEF5F2;
  border: 1px solid #F0CFC5;
  padding: 1rem 1.2rem; margin: 1.6rem 0;
  font-size: .82rem; color: var(--accent); line-height: 1.55;
}
.wa-note strong { display: block; margin-bottom: .25rem; }

.wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 15px 24px;
  background: var(--accent); color: #fff; border: none;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; cursor: pointer; text-decoration: none;
  transition: background .15s;
  box-shadow: 0 4px 24px rgba(192,72,42,.22);
}
.wa-btn:hover { background: var(--accent2); }
.wa-btn:active { opacity: .85; }
.wa-btn:disabled { opacity: .6; cursor: default; }

.confirm-screen { text-align: center; padding: 5rem 2rem; }
.confirm-icon { font-size: 3.5rem; margin-bottom: 1.5rem; }
.confirm-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem; font-weight: 700; color: var(--dark); margin-bottom: 1rem;
}
.confirm-msg {
  font-size: .95rem; color: var(--muted); line-height: 1.7; margin-bottom: 2.5rem;
}
.confirm-msg strong { color: var(--dark); }

/* empty */
.empty-state { text-align: center; padding: 5rem 2rem; }
.empty-state h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem; font-weight: 700; color: var(--muted);
  margin-bottom: 1.4rem;
}
.empty-state p { font-size: .88rem; color: var(--muted); margin-bottom: 2rem; }

/* toast */
.kd-toast {
  position: fixed; bottom: 5rem; left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--dark); color: #fff;
  padding: 9px 20px; font-size: .82rem; font-weight: 500;
  opacity: 0; transition: all .25s;
  z-index: 1000; white-space: nowrap; pointer-events: none;
}
.kd-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* footer */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem; text-align: center;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}

/* photo gradients */
.gp1 { background: linear-gradient(140deg, #6B2810 0%, #A83820 100%); }
.gp2 { background: linear-gradient(140deg, #3D2210 0%, #6B3A18 100%); }
.gp3 { background: linear-gradient(140deg, #0F3018 0%, #1A5228 100%); }
.gp4 { background: linear-gradient(140deg, #1A2A50 0%, #2A4480 100%); }
.gp5 { background: linear-gradient(140deg, #3D1825 0%, #6B2840 100%); }
.gp6 { background: linear-gradient(140deg, #2A3A18 0%, #465F28 100%); }

/* ====================================================
   HERO LOGO
===================================================== */
.hero-logo {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  margin-bottom: 2.2rem;
}

/* ====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 720px) {
  /* hero mobile */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: none; }
  .hero-left {
    align-items: center;
    text-align: center;
    padding: 2.8rem 1.4rem 3.5rem;
    border-right: none;
  }
  .hero-logo { max-width: 240px; margin: 0 auto 1.4rem; }
  .btn-outline { display: none; }
  .hero-tag  { margin: 0 auto 1.4rem; }
  .hero h1   { font-size: clamp(1.7rem, 7.5vw, 2.5rem); }
  .hero-sub  { font-size: .88rem; margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }

  /* strip */
  .strip { flex-direction: column; }
  .strip-item { border-right: none; border-bottom: 1px solid var(--border); }
  .strip-item:last-child { border-bottom: none; }

  /* nav */
  nav { padding: 0 1.2rem; }
  .nav-menu-link { display: none; }

  /* menu */
  .menu-header-inner { padding: 2rem 1.4rem 0; }
  .menu-section { padding: 1.8rem 1.4rem; }

  /* commande */
  .cmd-page { padding: 84px 1.4rem 3rem; }

  /* sections */
  .section { padding: 2.8rem 1.4rem; }
}

@media (min-width: 721px) and (max-width: 960px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1   { font-size: clamp(2.2rem, 4vw, 3.5rem); }
  .hero-logo { max-width: 220px; }
}
@media (min-width: 721px) and (max-width: 960px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
}
