/* ─── Tokens ─────────────────────────────────────────────────── */
:root {
  --fire:    #F04E0A;
  --brasa:   #C0200A;
  --ember:   #F07820;
  --coal:    #1A1A1A;
  --ash:     #2D2D2D;
  --smoke:   #888888;
  --silver:  #F0F0F0;
  --white:   #FFFFFF;
  --tint:    #FFF1EC;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  color: var(--coal);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── NAV ────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  height: 64px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; color: var(--coal); letter-spacing: -0.3px;
}
.nav-logo-img {
  width: 120px; height: 36px; object-fit: contain; flex-shrink: 0;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--smoke); transition: color 0.2s; }
.nav-links a:hover { color: var(--fire); }
.nav-cta {
  background: var(--fire); color: #fff;
  padding: 9px 22px; border-radius: 100px;
  font-size: 0.875rem; font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(240,78,10,0.35);
}
.nav-cta:hover { background: var(--brasa); transform: translateY(-1px); }
.nav-hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--coal); border-radius: 2px; }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--coal);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  position: relative; overflow: hidden;
}

/* Ambient glow behind the flame */
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,78,10,0.25) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  pointer-events: none;
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -55%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -55%) scale(1.08); }
}

/* Hero logo */
.hero-flame {
  width: auto; height: 140px; max-width: min(280px, 70vw);
  margin-bottom: 32px; position: relative; z-index: 1;
  object-fit: contain;
  filter: drop-shadow(0 0 48px rgba(240, 78, 10, 0.4));
  animation: flicker 3s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { transform: scaleX(1) rotate(0deg); }
  25%  { transform: scaleX(1.04) rotate(0.8deg); }
  50%  { transform: scaleX(0.97) rotate(-0.5deg); }
  75%  { transform: scaleX(1.03) rotate(0.3deg); }
}

.hero-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 2.5px;
  color: var(--fire); text-transform: uppercase;
  margin-bottom: 16px; position: relative; z-index: 1;
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 900; line-height: 1.06;
  color: var(--white); letter-spacing: -1.5px;
  margin-bottom: 24px; position: relative; z-index: 1;
}
.hero-title .accent {
  background: linear-gradient(90deg, var(--fire), var(--ember));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255,255,255,0.6); max-width: 560px;
  margin: 0 auto 40px; font-weight: 400; position: relative; z-index: 1;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  position: relative; z-index: 1;
}
.btn-primary {
  background: var(--fire); color: #fff;
  padding: 14px 32px; border-radius: 100px;
  font-size: 1rem; font-weight: 700;
  box-shadow: 0 6px 24px rgba(240,78,10,0.45);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover { background: var(--brasa); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(192,32,10,0.4); }
.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.8);
  padding: 14px 32px; border-radius: 100px;
  font-size: 1rem; font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--fire); color: var(--fire); }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.3); font-size: 0.7rem; letter-spacing: 1.5px;
  text-transform: uppercase; animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* Ember particles */
.particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, var(--ember), transparent);
  animation: rise linear infinite;
  opacity: 0;
}
@keyframes rise {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0.7; }
  100% { transform: translateY(-300px) translateX(var(--dx)) scale(0); opacity: 0; }
}

/* ─── STATS BAR ──────────────────────────────────────────────── */
.stats-bar {
  background: var(--tint);
  padding: 32px 5vw;
  display: flex; justify-content: center; gap: clamp(24px, 6vw, 80px);
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(240,78,10,0.15);
}
.stat { text-align: center; }
.stat-num {
  font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 900;
  color: var(--fire); letter-spacing: -1px; line-height: 1;
}
.stat-label { font-size: 0.8rem; font-weight: 500; color: var(--smoke); margin-top: 4px; }

/* ─── SECTION SHELL ──────────────────────────────────────────── */
section { padding: 80px 5vw; }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2px;
  color: var(--fire); text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
  line-height: 1.12; letter-spacing: -0.8px; color: var(--coal);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem; color: var(--smoke); max-width: 540px; font-weight: 400;
}

/* ─── FEATURES GRID ──────────────────────────────────────────── */
.features-section { background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 56px;
}
.feature-card {
  border: 1.5px solid var(--silver);
  border-radius: 16px; padding: 28px 26px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  background: var(--white);
}
.feature-card:hover {
  border-color: var(--fire);
  box-shadow: 0 8px 32px rgba(240,78,10,0.1);
  transform: translateY(-3px);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--tint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-title { font-size: 1.05rem; font-weight: 700; color: var(--coal); margin-bottom: 8px; }
.feature-desc { font-size: 0.875rem; color: var(--smoke); line-height: 1.6; }

/* ─── BIG FEATURE (alternating) ──────────────────────────────── */
.showcase-section { background: var(--silver); }
.showcase-item {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  margin-bottom: 80px; max-width: 1160px; margin-left: auto; margin-right: auto;
}
.showcase-item:last-child { margin-bottom: 0; }
.showcase-item.reverse { direction: rtl; }
.showcase-item.reverse > * { direction: ltr; }
.showcase-text .section-eyebrow { margin-top: 0; }
.showcase-text h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800;
  letter-spacing: -0.6px; color: var(--coal); margin-bottom: 14px; line-height: 1.15;
}
.showcase-text p { font-size: 0.95rem; color: var(--smoke); margin-bottom: 24px; }
.showcase-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  background: var(--tint); color: var(--fire);
  border: 1.5px solid rgba(240,78,10,0.25);
  border-radius: 100px; padding: 5px 14px;
  font-size: 0.78rem; font-weight: 600;
}
.showcase-visual {
  background: var(--coal); border-radius: 20px;
  padding: 28px 24px; position: relative; overflow: hidden;
  min-height: 320px; display: flex; flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.mock-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.mock-title { font-size: 0.9rem; font-weight: 700; color: #fff; }
.mock-badge {
  background: var(--fire); color: #fff;
  border-radius: 100px; padding: 3px 10px; font-size: 0.7rem; font-weight: 700;
}
.mock-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 14px; margin-bottom: 10px;
}
.mock-card-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.mock-avatar {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--fire), var(--ember));
  flex-shrink: 0;
}
.mock-info { flex: 1; }
.mock-name { font-size: 0.78rem; color: #fff; font-weight: 600; }
.mock-meta { font-size: 0.68rem; color: rgba(255,255,255,0.45); }
.mock-price { font-size: 0.88rem; color: var(--fire); font-weight: 800; }
.mock-tag {
  display: inline-flex; border-radius: 100px; padding: 3px 9px;
  font-size: 0.62rem; font-weight: 700; margin-top: 8px;
}
.tag-active { background: rgba(240,78,10,0.2); color: var(--fire); }
.tag-free  { background: rgba(22,163,74,0.2);  color: #22C55E; }
.mock-progress-wrap { margin-top: 16px; }
.mock-progress-label { display: flex; justify-content: space-between; font-size: 0.68rem; color: rgba(255,255,255,0.45); margin-bottom: 6px; }
.mock-progress-bar { height: 5px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; }
.mock-progress-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--brasa), var(--fire)); }

/* Mock de comandas */
.comanda-card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 10px;
}
.comanda-num {
  width: 48px; height: 56px; border-radius: 8px;
  background: linear-gradient(145deg, #1a1a1a, #333);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.08);
}
.comanda-num-label { font-size: 8px; color: rgba(255,255,255,0.3); letter-spacing: 1px; }
.comanda-num-val { font-size: 20px; font-weight: 900; color: #fff; line-height: 1; }
.comanda-info { flex: 1; }
.comanda-info .mock-name { font-size: 0.82rem; }
.comanda-status {
  font-size: 0.62rem; font-weight: 700; border-radius: 100px;
  padding: 2px 8px; background: rgba(240,78,10,0.2); color: var(--fire);
}

/* ─── HOW IT WORKS ───────────────────────────────────────────── */
.how-section { background: var(--white); }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin-top: 56px; }
.how-step {
  padding: 32px 28px; position: relative;
  border-right: 1px solid var(--silver);
}
.how-step:last-child { border-right: none; }
.step-num {
  font-size: 3rem; font-weight: 900;
  color: var(--tint); letter-spacing: -2px; line-height: 1;
  margin-bottom: 12px; position: relative;
}
.step-num::after {
  content: attr(data-n);
  position: absolute; top: 4px; left: 2px;
  -webkit-text-stroke: 1.5px var(--fire);
  color: transparent; font-size: inherit; font-weight: inherit;
}
.how-step h4 { font-size: 1rem; font-weight: 700; color: var(--coal); margin-bottom: 8px; }
.how-step p { font-size: 0.875rem; color: var(--smoke); }

/* ─── PRICING ────────────────────────────────────────────────── */
.pricing-section { background: var(--coal); }
.pricing-section .section-title { color: var(--white); }
.pricing-section .section-sub { color: rgba(255,255,255,0.5); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 56px;
}
.pricing-card {
  background: rgba(255,255,255,0.05); border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 32px 28px;
  transition: border-color 0.2s;
}
.pricing-card.featured {
  background: linear-gradient(145deg, rgba(240,78,10,0.15), rgba(192,32,10,0.1));
  border-color: var(--fire);
  position: relative;
}
.pricing-popular {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--fire); color: #fff;
  border-radius: 100px; padding: 3px 16px;
  font-size: 0.72rem; font-weight: 700; white-space: nowrap;
}
.pricing-plan { font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 12px; }
.pricing-price {
  font-size: 2.6rem; font-weight: 900; color: var(--white);
  letter-spacing: -1.5px; line-height: 1; margin-bottom: 4px;
}
.pricing-price sup { font-size: 1rem; font-weight: 600; vertical-align: super; }
.pricing-price .period { font-size: 0.85rem; font-weight: 400; color: rgba(255,255,255,0.4); }
.pricing-desc { font-size: 0.82rem; color: rgba(255,255,255,0.4); margin-bottom: 24px; }
.pricing-divider { height: 1px; background: rgba(255,255,255,0.08); margin-bottom: 24px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.pricing-features li .check {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: rgba(240,78,10,0.2); display: flex; align-items: center; justify-content: center;
}
.pricing-features li .check svg { width: 10px; height: 10px; }
.pricing-btn {
  width: 100%; padding: 13px 0; border-radius: 100px; border: none;
  font-family: 'Poppins', sans-serif; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
  display: block; text-align: center;
}
.pricing-btn-outline {
  background: transparent; color: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.pricing-btn-outline:hover { border-color: var(--fire); color: var(--fire); }
.pricing-btn-solid { background: var(--fire); color: #fff; box-shadow: 0 4px 16px rgba(240,78,10,0.35); }
.pricing-btn-solid:hover { background: var(--brasa); transform: translateY(-2px); }

/* ─── CTA FINAL ──────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--coal) 0%, var(--ash) 100%);
  text-align: center; padding: 100px 5vw;
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,78,10,0.2), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900;
  color: var(--white); letter-spacing: -1.2px; line-height: 1.1;
  margin-bottom: 16px; position: relative; z-index: 1;
}
.cta-section p {
  font-size: 1.05rem; color: rgba(255,255,255,0.5);
  margin-bottom: 40px; position: relative; z-index: 1;
}
.cta-section .btn-primary { font-size: 1.1rem; padding: 16px 40px; position: relative; z-index: 1; display: inline-block; }
.cta-note { font-size: 0.78rem; color: rgba(255,255,255,0.3); margin-top: 16px; position: relative; z-index: 1; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: #111; padding: 48px 5vw 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 32px;
}
.footer-brand .nav-logo { color: var(--white); }
.footer-brand .nav-logo-img { filter: brightness(1.1); }
.footer-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.3); margin-top: 8px; }
.footer-links-col h5 { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 14px; }
.footer-links-col a { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 8px; transition: color 0.2s; }
.footer-links-col a:hover { color: var(--fire); }
.footer-bottom {
  max-width: 1160px; margin: 40px auto 0;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.25); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .showcase-item, .showcase-item.reverse {
    grid-template-columns: 1fr; direction: ltr; gap: 32px;
  }
  .how-step { border-right: none; border-bottom: 1px solid var(--silver); }
  .how-step:last-child { border-bottom: none; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
