/* ==========================================================================
   base.css — cores, fontes, espaçamentos e estilos gerais.
   Para mudar a identidade de outro restaurante, comece pelas variáveis abaixo.
   ========================================================================== */

:root {
  /* Fundo e superfícies (preto quente, não azulado) */
  --bg: #100d0b;
  --bg-deep: #0b0907;
  --surface: #1a1612;
  --surface-2: #231d18;
  --line: rgba(255, 236, 214, 0.08);
  --line-strong: rgba(255, 236, 214, 0.16);

  /* Texto */
  --text: #f4ede5;
  --text-2: #c7bbae;
  --muted: #94887b;

  /* Destaque: âmbar de brasa */
  --accent: #ef9a3c;
  --accent-hover: #f6ad5a;
  --accent-ink: #1c1107;
  --accent-soft: rgba(239, 154, 60, 0.12);

  /* Tipografia */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Medidas */
  --container: 1200px;
  --gutter: 16px;
  --header-h: 64px;
  --catnav-h: 60px;
  --radius: 16px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --header-h: 72px; } }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--catnav-h) + 12px);
  color-scheme: dark;
}
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, dl { margin: 0; padding: 0; }
p { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
  text-wrap: balance;
}

::selection { background: rgba(239, 154, 60, 0.35); color: var(--text); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 999px; font-weight: 700;
}
.skip:focus { left: 16px; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.01em;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--text); height: 46px; padding: 0 22px; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--block { width: 100%; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--text-2);
  transition: color 0.2s, border-color 0.2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--line-strong); }

/* Preço: "R$" menor que o valor */
.price {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.price__cur { font-size: 0.72em; font-weight: 600; color: var(--text-2); margin-right: 0.22em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
