/* =========================================================
   OBAOBA CHURRASCO – Carnes & Eventos
   style.css
   Sumário:
   1. Variáveis e reset
   2. Utilitários e botões
   3. Cabeçalho
   4. Hero
   5. Seções (base)
   6. Kits (accordion)
   7. Entrega
   8. Em breve
   9. Contato
   10. Rodapé e WhatsApp flutuante
   11. Responsivo
   12. Acessibilidade / movimento reduzido
   ========================================================= */

/* ---------- 1. Variáveis e reset ---------- */
:root {
  --bg: #111111;
  --bg-2: #1B1B1B;
  --card: #242424;
  --red: #D62828;
  --orange: #F28C28;
  --yellow: #FFC857;
  --text: #FFFFFF;
  --text-2: #BBBBBB;
  --line: rgba(255, 255, 255, 0.08);

  --fire: linear-gradient(135deg, var(--red), var(--orange));
  --radius: 18px;
  --header-h: 76px;
  --font-title: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* ---------- 2. Utilitários e botões ---------- */
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.fire-text {
  background: linear-gradient(90deg, var(--yellow), var(--orange) 45%, var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .kit-toggle:focus-visible, .nav-toggle:focus-visible, a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--fire);
  color: #fff;
  box-shadow: 0 8px 24px rgba(214, 40, 40, .35);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(242, 140, 40, .45); }

.btn-outline { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-outline:hover { border-color: var(--orange); color: var(--yellow); }

.btn-dark { background: #111; color: #fff; }
.btn-dark:hover { background: #000; box-shadow: 0 10px 24px rgba(0,0,0,.4); }

.btn-whats { background: #25D366; color: #07290f; box-shadow: 0 8px 24px rgba(37, 211, 102, .3); }
.btn-whats:hover { box-shadow: 0 12px 30px rgba(37, 211, 102, .45); }

.btn-sm { padding: 11px 22px; font-size: .85rem; }

/* ---------- 3. Cabeçalho ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(17, 17, 17, .75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(17, 17, 17, .95); box-shadow: 0 6px 24px rgba(0,0,0,.45); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-title); font-weight: 400; font-size: 1.25rem; letter-spacing: .06em; }
.brand-text small { font-size: .68rem; letter-spacing: .28em; color: var(--orange); font-weight: 600; margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 26px; }
.main-nav ul a {
  position: relative;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-2);
  padding: 6px 0;
  transition: color .2s;
}
.main-nav ul a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--fire);
  transition: width .25s ease;
}
.main-nav ul a:hover, .main-nav ul a.active { color: #fff; }
.main-nav ul a:hover::after, .main-nav ul a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 4. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 75% 55%, rgba(214, 40, 40, .28), transparent 65%),
    radial-gradient(ellipse 50% 40% at 15% 100%, rgba(242, 140, 40, .18), transparent 70%),
    var(--bg);
}

.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.smoke {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.07), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  animation: smoke 18s ease-in-out infinite;
}
.smoke-1 { left: -120px; bottom: -160px; }
.smoke-2 { right: -100px; top: 10%; animation-delay: -9s; animation-duration: 24s; }
@keyframes smoke {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .6; }
  50% { transform: translate(60px, -80px) scale(1.2); opacity: 1; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 40px;
}

.hero h1 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.hero h1 .fire-text { display: block; }

.hero-sub { margin-top: 22px; font-size: 1.15rem; color: var(--text-2); max-width: 560px; }

.tagline {
  margin-top: 22px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--yellow);
}

.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual .glow {
  position: absolute;
  width: 80%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,140,40,.45), rgba(214,40,40,.15) 55%, transparent 70%);
  filter: blur(30px);
  animation: pulse 4s ease-in-out infinite;
}
.hero-logo {
  position: relative;
  width: min(480px, 100%);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.6));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes pulse { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

.flame { position: absolute; width: 34px; height: 52px; opacity: .9; transform-origin: 50% 100%; animation: flicker 2.2s ease-in-out infinite; }
.flame-a { left: 6%;  top: 18%; }
.flame-b { right: 4%; top: 30%; width: 26px; height: 40px; animation-delay: -.7s; }
.flame-c { left: 14%; bottom: 10%; width: 22px; height: 34px; animation-delay: -1.4s; }
@keyframes flicker {
  0%, 100% { transform: scale(1) rotate(-3deg); opacity: .85; }
  50% { transform: scale(1.18, 1.3) rotate(4deg); opacity: 1; }
}

.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 2; color: var(--text-2);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- 5. Seções (base) ---------- */
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2, .contact-copy h2, .delivery-copy h2 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: .02em;
  line-height: 1.1;
}
.section-lead { margin-top: 14px; color: var(--text-2); font-size: 1.05rem; }

/* ---------- 6. Kits (accordion) ---------- */
.kits { background: var(--bg-2); position: relative; }
.kits::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--fire);
}

.kits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start; /* cards abrem sem esticar o vizinho */
}

.kit-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.kit-card:hover { border-color: rgba(242,140,40,.45); }
.kit-card.open { border-color: var(--orange); box-shadow: 0 18px 50px rgba(214, 40, 40, .2); }
.kit-featured { border-color: rgba(242,140,40,.35); }

.ribbon {
  position: absolute; top: 0; right: 84px;
  background: var(--yellow); color: #111;
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px 6px;
  border-radius: 0 0 10px 10px;
  z-index: 2; pointer-events: none;
}

.kit-heading { margin: 0; font: inherit; }

.kit-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "badge badge"
    "title chevron"
    "summary summary"
    "price price";
  gap: 10px 16px;
  padding: 28px;
  text-align: left;
  background: transparent;
  color: inherit;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
}

.kit-badge {
  grid-area: badge;
  justify-self: start;
  background: rgba(242,140,40,.15);
  color: var(--yellow);
  border: 1px solid rgba(242,140,40,.4);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}

.kit-title {
  grid-area: title;
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: .03em;
  line-height: 1.1;
  padding-right: 30px;
}
.kit-title small { display: block; margin-top: 6px; font-family: var(--font-body); font-size: .95rem; letter-spacing: 0; color: var(--text-2); font-weight: 500; }

.kit-summary { grid-area: summary; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--text-2); font-size: .95rem; }
.kit-summary li { position: relative; padding-left: 18px; }
.kit-summary li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--fire); }

.kit-price {
  grid-area: price;
  display: flex; flex-direction: column;
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-top: 6px;
}
.kit-price small { font-family: var(--font-body); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); -webkit-text-fill-color: var(--text-2); margin-bottom: 4px; }

.kit-chevron {
  grid-area: chevron;
  align-self: start;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--fire);
  color: #fff;
  transition: transform .35s ease;
}
.kit-card.open .kit-chevron { transform: rotate(180deg); }

/* Painel: animação suave usando grid-template-rows 0fr -> 1fr */
.kit-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s ease;
}
.kit-card.open .kit-panel { grid-template-rows: 1fr; }
.kit-panel-inner { overflow: hidden; min-height: 0; padding: 0 28px; visibility: hidden; transition: visibility 0s .45s, padding .45s ease; }
.kit-card.open .kit-panel-inner { visibility: visible; padding: 0 28px 28px; transition: visibility 0s, padding .45s ease; }
.kit-panel-inner::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: 24px; }

.kit-tables { display: grid; gap: 24px; }
.kit-table-block h4 {
  font-family: var(--font-title); font-weight: 400;
  letter-spacing: .12em; font-size: 1.05rem;
  color: var(--orange); margin-bottom: 8px;
}
.kit-table-block table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.kit-table-block th, .kit-table-block td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; }
.kit-table-block thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); font-weight: 600; }
.kit-table-block .num { text-align: right; font-weight: 700; white-space: nowrap; }
.kit-table-block tfoot th, .kit-table-block tfoot td { border-bottom: 0; padding-top: 12px; color: var(--yellow); font-weight: 800; }

.kit-note { margin: 22px 0; padding: 14px 18px; border-left: 4px solid var(--orange); background: rgba(242,140,40,.08); border-radius: 0 10px 10px 0; color: #e6e6e6; font-style: italic; }
.kit-panel .btn { width: 100%; }

/* ---------- 7. Entrega ---------- */
.delivery { padding: 70px 0; background: var(--bg); }
.delivery-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 44px 48px;
  border-radius: 24px;
  background: var(--fire);
  color: #fff;
  box-shadow: 0 24px 60px rgba(214, 40, 40, .3);
  position: relative;
  overflow: hidden;
}
.delivery-box::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(255, 200, 87, .25); filter: blur(10px);
}
.delivery-icon { color: #111; background: var(--yellow); border-radius: 50%; width: 112px; height: 112px; display: grid; place-items: center; position: relative; z-index: 1; }
.delivery-copy { position: relative; z-index: 1; }
.delivery-copy p { margin-top: 12px; font-size: 1.1rem; opacity: .95; max-width: 560px; }
.delivery-box .btn { position: relative; z-index: 1; }

/* ---------- 8. Em breve ---------- */
.soon { background: var(--bg-2); }
.soon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.soon-card {
  position: relative;
  background: var(--card);
  border: 1px dashed rgba(242,140,40,.35);
  border-radius: var(--radius);
  padding: 32px 24px 28px;
  transition: transform .3s, border-color .3s;
}
.soon-card:hover { transform: translateY(-6px); border-color: var(--orange); }
.soon-tag { position: absolute; top: 14px; right: 14px; font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #111; background: var(--yellow); padding: 3px 10px; border-radius: 999px; }
.soon-icon { color: var(--orange); margin-bottom: 16px; }
.soon-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.soon-card p { color: var(--text-2); font-size: .95rem; }
.soon-cta { text-align: center; margin-top: 40px; color: var(--text-2); }
.soon-cta a { color: var(--yellow); font-weight: 700; }

/* ---------- 9. Contato ---------- */
.contact { background: var(--bg); }
.contact-box {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
  padding: 56px;
  background: linear-gradient(135deg, #1f1f1f, #171717);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.contact-copy p:not(.eyebrow):not(.tagline) { margin-top: 14px; color: var(--text-2); font-size: 1.05rem; }
.contact-actions { display: flex; flex-direction: column; gap: 22px; }
.contact-actions .btn { width: 100%; padding-block: 18px; font-size: 1.05rem; }
.contact-list { display: grid; gap: 10px; color: var(--text-2); }
.contact-list li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--orange); font-weight: 700; text-transform: uppercase; font-size: .78rem; letter-spacing: .1em; }

/* ---------- 10. Rodapé e WhatsApp flutuante ---------- */
.site-footer { background: #0b0b0b; border-top: 1px solid var(--line); padding: 36px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-inner .brand img { width: 44px; height: 44px; }
.copy { color: var(--text-2); font-size: .85rem; }
.to-top { color: var(--orange); font-weight: 600; text-decoration: none; font-size: .9rem; }

.whats-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.5);
  transition: transform .2s;
}
.whats-float:hover { transform: scale(1.08); }

/* ---------- 11. Responsivo ---------- */
@media (max-width: 1000px) {
  .soon-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-box { grid-template-columns: 1fr; padding: 40px 32px; }
  .delivery-box { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 40px 28px; }
  .delivery-copy p { margin-inline: auto; }
}

@media (max-width: 900px) {
  .kits-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; max-width: 300px; margin-inline: auto; }
  .hero { padding-top: calc(var(--header-h) + 20px); }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 18px;
    padding: 24px 24px 28px;
    background: rgba(17,17,17,.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s, visibility 0s; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav ul a { display: block; padding: 12px 0; font-size: 1.05rem; }
  .main-nav .btn { width: 100%; }
}

@media (max-width: 560px) {
  .section { padding: 70px 0; }
  .soon-grid { grid-template-columns: 1fr; }
  .kit-toggle { padding: 22px 20px; }
  .kit-panel-inner, .kit-card.open .kit-panel-inner { padding-inline: 20px; }
  .kit-card.open .kit-panel-inner { padding-bottom: 22px; }
  .brand-text strong { font-size: 1.05rem; }
  .brand-text small { font-size: .6rem; letter-spacing: .2em; }
  .brand img { width: 44px; height: 44px; }
  .hero-actions .btn { width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ---------- 12. Acessibilidade / movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .embers { display: none; }
}
