@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --page-bg: #faf9f7;
  --page-text: #1c1410;
  --page-surface: #fff;
  --accent-primary: #c0392b;
  --accent-secondary: #d97706;
  --accent-warm: #d97706;
  --accent-muted: rgba(192,57,43,0.1);
  --radius: 0.75rem;
}

/* ── demo bar ── */
.demo-bar { background: #c0392b; color: #fff; }
.demo-bar a { color: #fde68a; }

/* ── hero dark panel ── */
.segment-header {
  background: linear-gradient(145deg, #1a0800 0%, #3d1500 65%, #5c2000 100%);
  padding-bottom: 60px;
}

/* ── segment-nav (top bar within hero) ── */
.segment-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 24px;
  gap: 16px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.01em;
}

.menu-toggle {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.18s;
}
.menu-toggle:hover { background: rgba(255,255,255,0.18); }

/* ── hero layout grid ── */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: center;
  padding: 8px 0 0;
}

/* ── hero copy — light text on dark bg ── */
.hero-copy { color: rgba(240,237,232,0.78); }

.hero-copy .eyebrow {
  color: rgba(240,237,232,0.52);
  letter-spacing: 0.14em;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  color: #fff;
  line-height: 1.1;
  margin: 16px 0 20px;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--accent-secondary);
}

.hero-copy > p {
  color: rgba(240,237,232,0.72);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

/* btn overrides for dark bg */
.hero-actions .btn-secondary {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  color: #f0ede8;
}
.hero-actions .btn-secondary:hover {
  background: rgba(255,255,255,0.18);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(240,237,232,0.48);
}

/* ── hero visual card ── */
.restaurante-page .hero-visual .surface-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 28px;
}

/* ── entrega info ── */
.entrega-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16,185,129,0.18);
  color: #6ee7b7;
  padding: 0.45rem 1.1rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.entrega-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}
.entrega-linha {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.84rem;
  color: rgba(240,237,232,0.68);
  gap: 1rem;
}
.entrega-linha:last-of-type { border-bottom: none; }
.entrega-linha strong { color: #f0ede8; }

/* ── stats strip ── */
.stats-strip {
  background: #1c1410;
  padding: 1.75rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: #d97706;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-item span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.58);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── cardápio ── */
.categoria-bloco { margin-bottom: 3.5rem; }
.categoria-bloco:last-child { margin-bottom: 0; }

.categoria-nome {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--page-text);
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--accent-secondary);
  display: inline-block;
}

.prato-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.25rem;
}

.prato-card {
  background: var(--page-surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.prato-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(192,57,43,0.14);
}

.prato-foto {
  width: 100%;
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* gradient fallbacks — client replaces with background-image: url(...) on the element */
.prato-foto.entrada-1  { background: linear-gradient(135deg, #7a3500 0%, #c05500 60%, #d4760a 100%); }
.prato-foto.entrada-2  { background: linear-gradient(135deg, #5a2500 0%, #8a4010 60%, #a06030 100%); }
.prato-foto.entrada-3  { background: linear-gradient(135deg, #6b3500 0%, #9a5020 60%, #b87a40 100%); }
.prato-foto.prato-1    { background: linear-gradient(135deg, #3d1500 0%, #7a3010 60%, #9a4a20 100%); }
.prato-foto.prato-2    { background: linear-gradient(135deg, #0d3d3a 0%, #1a6b6a 60%, #2a8a80 100%); }
.prato-foto.prato-3    { background: linear-gradient(135deg, #3d1a00 0%, #7a3800 60%, #c05a00 100%); }
.prato-foto.prato-4    { background: linear-gradient(135deg, #4a1a0a 0%, #8a3010 60%, #b04a20 100%); }
.prato-foto.prato-5    { background: linear-gradient(135deg, #0d3020 0%, #1a5a40 60%, #2a8060 100%); }
.prato-foto.sobremesa-1 { background: linear-gradient(135deg, #3d2000 0%, #7a4500 60%, #a06010 100%); }
.prato-foto.sobremesa-2 { background: linear-gradient(135deg, #2d1500 0%, #5c2d00 60%, #8a4a10 100%); }

.prato-foto-hint {
  position: absolute;
  bottom: 0.4rem;
  left: 0.5rem;
  font-size: 0.62rem;
  color: rgba(255,255,255,0.38);
  font-style: italic;
  pointer-events: none;
}

.prato-badges {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: flex-end;
}
.prato-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.prato-badge.novo        { background: #c0392b; color: #fff; }
.prato-badge.destaque    { background: #d97706; color: #fff; }
.prato-badge.vegetariano { background: #16a34a; color: #fff; }
.prato-badge.popular     { background: #7c3aed; color: #fff; }

.prato-info { padding: 1.25rem; }
.prato-nome {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--page-text);
  line-height: 1.3;
  margin-bottom: 0.35rem;
}
.prato-desc {
  font-size: 0.78rem;
  color: rgba(28,20,16,0.58);
  line-height: 1.55;
  margin-bottom: 0.875rem;
}
.prato-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.prato-preco {
  font-size: 1.15rem;
  font-weight: 700;
  color: #c0392b;
  line-height: 1;
}
.prato-preco small {
  font-size: 0.68rem;
  font-weight: 400;
  color: rgba(28,20,16,0.4);
  margin-left: 0.1rem;
}
.btn-pedir {
  font-size: 0.72rem;
  padding: 0.35rem 0.9rem;
  background: #c0392b;
  color: #fff;
  border-radius: 99px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
  transition: background 0.18s;
}
.btn-pedir:hover { background: #a52d22; color: #fff; }

/* ── destaque do dia ── */
.destaque-section {
  background: linear-gradient(145deg, #1c1410 0%, #3d1500 100%);
}
.destaque-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.destaque-foto {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #5c2000 0%, #7a4010 40%, #a06020 80%, #c08030 100%);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.destaque-foto::after {
  content: 'foto do prato do dia';
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  color: rgba(255,255,255,0.32);
  font-style: italic;
  white-space: nowrap;
  pointer-events: none;
}
.destaque-copy .eyebrow { color: #d97706; }
.destaque-copy h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.2;
  color: #fff;
  margin: 0.5rem 0 1rem;
}
.destaque-copy > p {
  color: rgba(240,237,232,0.78);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}
.destaque-preco {
  font-size: 2.5rem;
  font-weight: 700;
  color: #d97706;
  margin: 1.25rem 0 1.75rem;
  line-height: 1;
}
.destaque-preco small {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(240,237,232,0.42);
  margin-left: 0.25rem;
}

/* ── avaliações ── */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 0.75rem;
}
.review-stars span {
  width: 13px;
  height: 13px;
  border-radius: 2px;
  background: #d97706;
  display: block;
}
.review-text {
  font-style: italic;
  font-size: 0.88rem;
  color: rgba(28,20,16,0.72);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.review-author strong { display: block; font-size: 0.85rem; color: var(--page-text); }
.review-author span { font-size: 0.73rem; color: rgba(28,20,16,0.48); }
.review-plataforma {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.review-plataforma.ifood  { background: rgba(234,29,44,0.1);  color: #ea1d2c; }
.review-plataforma.google { background: rgba(66,133,244,0.1); color: #4285f4; }
.review-plataforma.wpp    { background: rgba(37,211,102,0.1); color: #25d366; }

/* ── como pedir ── */
.pedido-section { background: #1c1410; }
.pedido-section .section-title,
.pedido-section .section-copy { color: rgba(240,237,232,0.9) !important; }
.pedido-section .eyebrow { color: #d97706 !important; }

.pedido-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.5rem;
  max-width: 600px;
  margin: 2rem auto 0;
}
.pedido-card {
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.pedido-card.wpp-card   { background: linear-gradient(145deg, #075e54, #128c7e); }
.pedido-card.ifood-card { background: linear-gradient(145deg, #8c1a15, #ea1d2c); }

.pedido-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  margin-bottom: 0.25rem;
}
.pedido-icon svg { width: 1.6rem; height: 1.6rem; }
.pedido-card strong { font-size: 1.15rem; color: #fff; font-weight: 700; }
.pedido-card p { font-size: 0.82rem; color: rgba(255,255,255,0.78); margin: 0; line-height: 1.4; }
.pedido-card .btn-pedido {
  margin-top: 0.5rem;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 99px;
  padding: 0.6rem 1.75rem;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.18s;
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}
.pedido-card .btn-pedido:hover { background: rgba(255,255,255,0.3); }

/* ── info úteis ── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.info-card { text-align: center; padding: 1.5rem; }
.info-emoji { font-size: 2rem; margin-bottom: 0.5rem; }
.info-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--page-text);
  margin-bottom: 0.3rem;
}
.info-card p {
  font-size: 0.8rem;
  color: rgba(28,20,16,0.58);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 960px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy > p { max-width: 100%; }
}

@media (max-width: 768px) {
  .segment-header { padding-bottom: 40px; }
  .hero-layout { padding: 0; gap: 24px; }
  .hero-copy h1 { font-size: 2.2rem; }
  .stats-grid   { grid-template-columns: repeat(2,1fr); }
  .prato-grid   { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .destaque-grid { grid-template-columns: 1fr; gap: 2rem; }
  .review-grid  { grid-template-columns: 1fr; }
  .pedido-grid  { grid-template-columns: 1fr; max-width: 360px; }
  .info-grid    { grid-template-columns: 1fr; }
  .destaque-copy h2 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
  .prato-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
