/* Variáveis de cor */
:root {
  --primaria: #d9630f;
  --primaria-escura: #3b0d0f;
  --botao: #b34a00;
  --botao-hover: #8c3a00;
  --texto: #16213a;
  --suave: #55607a;
  --card: rgba(255, 255, 255, 0.94);
  --raio: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; color: var(--texto); background: var(--primaria-escura); }
img { max-width: 100%; height: auto; display: block; }
.bg, .bg img { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; }
.bg img { object-fit: cover; object-position: center top; filter: blur(3px); transform: scale(1.06); }
.bg-tint { position: fixed; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 20, 40, 0.10), rgba(10, 20, 40, 0.30)); }
body.is-locked { overflow: hidden; }
body.is-locked .page { filter: blur(1.5px); }

/* Popup de cookies */
.cookie { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(8, 20, 50, 0.30); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s ease; }
.cookie.is-open { opacity: 1; visibility: visible; }
.cookie__box { position: relative; width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow-y: auto; outline: none; background: #fff; border-radius: 20px; padding: 32px 24px 22px; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); opacity: 0; transform: translateY(24px) scale(0.96); transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 0.35s ease; }
.cookie.is-open .cookie__box { opacity: 1; transform: none; transition-delay: 0.1s; }
.cookie__close { position: absolute; top: 10px; inset-inline-end: 10px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #f1f4f9; color: #4a5570; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.cookie__icon { display: flex; justify-content: center; margin-bottom: 8px; }
.cookie__title { margin: 0 0 8px; font-size: 22px; line-height: 1.3; }
.cookie__text { margin: 0 0 10px; font-size: 15px; color: var(--suave); }
.cookie__text a { color: var(--botao); }
.cookie__note { margin: 0 0 16px; font-size: 14px; font-weight: 600; }
.cookie__decline { display: inline-block; margin-top: 14px; padding: 8px; border: 0; background: none; font: inherit; font-size: 14px; color: #6b7388; text-decoration: underline; cursor: pointer; }

/* Layout */
.page { max-width: 920px; margin: 0 auto; padding: 16px; }
.top { margin: 4px 0 16px; text-align: center; }
.pill { display: inline-block; padding: 8px 18px; border-radius: 999px; background: rgba(40, 10, 10, 0.76); color: #fff; font-weight: 700; font-size: 15px; }
.card { background: var(--card); border-radius: var(--raio); padding: 24px 20px; margin-bottom: 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); }
h1, h2 { font-family: "Bebas Neue", "Inter", sans-serif; font-weight: 400; letter-spacing: 0.02em; line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: 44px; color: var(--primaria-escura); }
h2 { font-size: 30px; color: var(--primaria-escura); }
.tag { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--botao); }
.hero__img { margin-top: 16px; display: flex; justify-content: center; }
.hero__img img { width: 100%; max-width: 320px; }
.lead { margin: 0 0 16px; font-size: 17px; }
.checks, .ingr { list-style: none; margin: 0 0 20px; padding: 0; }
.checks li { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.checks svg { flex: none; }

/* Botões */
.btn { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 28px; border-radius: 999px; background: var(--botao); color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; width: 100%; border: 0; }
.btn:hover { background: var(--botao-hover); }
.btn--accept { width: 100%; }
.card .btn { margin-top: 18px; }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #f5a623; outline-offset: 3px; }

/* Passos e ingredientes */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding-inline-start: 50px; margin-bottom: 14px; min-height: 40px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; inset-inline-start: 0; top: 2px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--primaria); color: #fff; font-weight: 700; }
.steps strong, .ingr strong { display: block; color: var(--primaria-escura); }
.steps span, .ingr span { color: var(--suave); }
.ingr li { padding: 10px 0; border-bottom: 1px solid #f0e3da; }
.ingr li:last-child { border-bottom: 0; }

/* FAQ */
details { border-bottom: 1px solid #f0e3da; padding: 4px 0; }
summary { cursor: pointer; font-weight: 700; padding: 10px 0; }
details p { margin: 0 0 10px; color: var(--suave); }

/* Rodapé */
.foot { padding: 8px 4px 24px; text-align: center; font-size: 13px; line-height: 1.7; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.foot a { color: #fff; }

/* Páginas legais */
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 26px; margin-top: 20px; }
.legal p { margin: 0 0 12px; }
.back { display: inline-block; margin-top: 12px; color: var(--botao); font-weight: 700; }

/* Desktop */
@media (min-width: 768px) {
  .page { padding: 24px 16px; }
  .card { padding: 32px 36px; }
  h1 { font-size: 52px; }
  h2 { font-size: 36px; }
  .btn { width: auto; min-width: 280px; }
  .btn--accept { width: 100%; }
  .legal h1 { font-size: 48px; }
  .hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
  .hero__img { margin-top: 0; }
}
