/* ═══════════════════════════════════════════════════
   match+ — Dark Fire Theme
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ── Tokens ── */
:root {
  --color-bg: #1a0508;
  --color-surface: #141414;
  --color-surface-2: #1a1a1a;
  --color-red: #e53e3e;
  --color-red-glow: rgba(229, 62, 62, 0.3);
  --color-green: #38a169;
  --color-green-bright: #48bb78;
  --color-green-glow: rgba(56, 161, 105, 0.3);
  --color-gold: #d4a012;
  --color-gold-bright: #ecc94b;
  --color-white: #f7f7f7;
  --color-muted: #888;
  --color-muted-light: #aaa;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --container-max: 900px;
  --container-padding: 24px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

@media (max-width: 768px) {
  :root {
    --container-padding: 16px;
  }
}

/* ── Reset ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-white);
  background: var(--color-bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 60%, rgba(180, 40, 30, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 30% 30%, rgba(120, 20, 40, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(200, 80, 40, 0.15) 0%, transparent 50%);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ═══════════════════════════════════════════════════
   EMBER PARTICLES (CSS-only background effect)
   ═══════════════════════════════════════════════════ */

.ember-wrap {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ember {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  filter: blur(var(--blur, 1px));
  animation: bokeh-float ease-in-out infinite;
}

@keyframes bokeh-float {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0) scale(1);
  }
  15% {
    opacity: var(--peak-opacity, 0.5);
  }
  50% {
    transform: translateY(calc(var(--drift-y, -30px))) translateX(var(--drift-x, 10px)) scale(1.1);
  }
  85% {
    opacity: var(--peak-opacity, 0.5);
  }
  100% {
    opacity: 0;
    transform: translateY(0) translateX(0) scale(1);
  }
}

/* Individual ember styles are now set inline via JS */

/* ═══════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.navbar-logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-white);
  letter-spacing: 1px;
}

.navbar-cta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: var(--color-red);
  color: #fff;
  transition: all 0.2s;
}
.navbar-cta:hover {
  background: #c53030;
  box-shadow: 0 0 20px var(--color-red-glow);
}

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */

.hero {
  padding: 140px 0 0;
  position: relative;
  overflow: hidden;
  text-align: left;
  z-index: 1;
}

/* Fire glow at top */
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(229, 62, 62, 0.12) 0%, rgba(221, 107, 32, 0.06) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Bottom fire glow */
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 300px;
  background: radial-gradient(ellipse at bottom, rgba(229, 62, 62, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-layout {
  display: flex;
  align-items: flex-end;
  gap: 32px;
}

.hero-content {
  flex: 1;
  min-width: 0;
  padding-bottom: 60px;
}

.hero-image {
  flex-shrink: 0;
  width: 380px;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  mix-blend-mode: lighten;
  filter: contrast(1.05) brightness(0.95);
  margin-bottom: 0;
}

/* subtle fire glow behind the model */
.hero-image::before {
  content: '';
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(ellipse, rgba(229, 62, 62, 0.2) 0%, rgba(221, 107, 32, 0.1) 40%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(40px);
}

@media (max-width: 768px) {
  .hero-layout {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-image {
    order: 2;
    width: 260px;
    margin: 0 auto;
  }

  .hero-cta-group {
    align-items: center;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 0.95;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.hero h1 .highlight {
  color: var(--color-red);
  text-shadow: 0 0 40px var(--color-red-glow), 0 0 80px rgba(229, 62, 62, 0.15);
}

.hero-sub {
  font-size: 15px;
  color: var(--color-muted-light);
  max-width: 500px;
  margin: 0 0 32px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 18px 40px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-green);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-green-bright);
  box-shadow: 0 0 30px var(--color-green-glow);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 20px 48px;
  font-size: 24px;
}

.hero-cta-note {
  font-size: 13px;
  color: var(--color-muted);
}

/* Hide hero badges and overline — replaced by simpler layout */
.hero-overline,
.hero-badges {
  display: none;
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-sub {
    font-size: 14px;
    letter-spacing: 1px;
  }
  .btn-lg {
    padding: 16px 32px;
    font-size: 18px;
  }
}

/* ═══════════════════════════════════════════════════
   SECTION: O PROBLEMA
   ═══════════════════════════════════════════════════ */

.section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section-dark {
  background: rgba(20, 20, 20, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-navy {
  background: rgba(20, 20, 20, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 16px;
  font-size: 28px;
}

.section-icon-red {
  background: rgba(229, 62, 62, 0.15);
  border: 2px solid rgba(229, 62, 62, 0.3);
  color: var(--color-red);
}

.section-icon-green {
  background: rgba(56, 161, 105, 0.15);
  border: 2px solid rgba(56, 161, 105, 0.3);
  color: var(--color-green);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-header p {
  font-size: 15px;
  color: var(--color-muted);
  max-width: 500px;
  margin: 0 auto;
}

.overline {
  display: none;
}

/* Problem cards — 2x2 grid like reference */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 640px;
  margin: 0 auto;
}

.problem-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-surface);
  border: 1px solid rgba(229, 62, 62, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: all 0.2s;
}

.problem-card::before {
  display: none;
}

.problem-card:hover {
  border-color: rgba(229, 62, 62, 0.5);
  box-shadow: 0 0 20px rgba(229, 62, 62, 0.1);
  transform: translateY(-2px);
}

.problem-card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--color-red);
  flex-shrink: 0;
}

.problem-card .icon svg {
  color: #fff;
  width: 16px;
  height: 16px;
}

.problem-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-white);
  margin-bottom: 0;
}

.problem-card p {
  display: none;
}

@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .section-header h2 {
    font-size: 32px;
  }
}

/* ═══════════════════════════════════════════════════
   SECTION: A SOLUÇÃO / COMO FUNCIONA
   ═══════════════════════════════════════════════════ */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  text-align: center;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(56, 161, 105, 0.1);
  border: 2px solid rgba(56, 161, 105, 0.25);
  margin: 0 auto 14px;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--color-green-bright);
}

.step-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-white);
  margin-bottom: 0;
  line-height: 1.4;
}

.step-card p {
  display: none;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ═══════════════════════════════════════════════════
   SECTION: O QUE VOCÊ RECEBE (hidden — merged into solution)
   ═══════════════════════════════════════════════════ */

.deliverables-grid {
  display: none;
}

/* ═══════════════════════════════════════════════════
   SECTION: PREÇO + FORMULÁRIO
   ═══════════════════════════════════════════════════ */

.pricing-form-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
  background: transparent;
}

.pricing-form-section::before {
  display: none;
}

.pricing-form-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
  max-width: 740px;
  margin: 0 auto;
}

/* Left: Price badge */
.pricing-info {
  padding-top: 16px;
  text-align: center;
}

.pricing-info .overline {
  display: none;
}

.pricing-info h2 {
  display: none;
}

.price-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #d4a012 0%, #8b6914 60%, #5a4210 100%);
  border: 4px solid var(--color-gold-bright);
  box-shadow:
    0 0 40px rgba(212, 160, 18, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
  position: relative;
  gap: 0;
}

.price-tag::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 3px dashed rgba(212, 160, 18, 0.4);
}

.price-tag .currency {
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1;
}

.price-tag .currency::before {
  content: 'APENAS';
  display: block;
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 2px;
}

.price-tag .amount {
  font-family: var(--font-display);
  font-size: 56px;
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.price-tag .amount::before {
  content: 'R$';
  font-size: 28px;
}

.price-tag .note {
  font-family: var(--font-display);
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.pricing-perks {
  display: none;
}

/* Right: form */
.form-card {
  background: var(--color-surface-2);
  border: 2px solid rgba(229, 62, 62, 0.4);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.form-card h3 {
  display: none;
}

.form-card .form-subtitle {
  display: none;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: none;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--color-bg);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(136, 136, 136, 0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.12);
}

.form-submit-btn {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  background: var(--color-red);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.form-submit-btn:hover {
  background: #c53030;
  box-shadow: 0 0 30px var(--color-red-glow);
  transform: translateY(-1px);
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-footer {
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form-footer svg {
  color: var(--color-green);
}

@media (max-width: 768px) {
  .pricing-form-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .price-tag {
    width: 170px;
    height: 170px;
    margin: 0 auto;
  }
  .price-tag .amount {
    font-size: 48px;
  }
}

/* Inline success message */
.form-success {
  text-align: center;
  padding: 40px 24px;
}

.form-success .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(56, 161, 105, 0.15);
  margin: 0 auto 24px;
}

.form-success h3 {
  display: block !important;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--color-white);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.form-success p {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════ */

.faq-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
  background: var(--color-bg);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-white);
  text-align: left;
}

.faq-question svg {
  flex-shrink: 0;
  color: var(--color-muted);
  transition: transform 0.2s;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--color-red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 14px;
  color: #e88a8a;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

/* ═══════════════════════════════════════════════════
   CTA FINAL (hidden — design only has one CTA)
   ═══════════════════════════════════════════════════ */

.cta-final {
  display: none;
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */

.footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 1;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-white);
}

.footer-text {
  font-size: 12px;
  color: var(--color-muted);
}

/* ═══════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.stagger-children .animate-on-scroll:nth-child(2) { transition-delay: 80ms; }
.stagger-children .animate-on-scroll:nth-child(3) { transition-delay: 160ms; }
.stagger-children .animate-on-scroll:nth-child(4) { transition-delay: 240ms; }

/* Hero entrance */
.hero h1,
.hero-sub,
.hero-cta-group {
  animation: fadeInUp 0.7s cubic-bezier(0.25, 0.1, 0.25, 1) both;
}
.hero h1 { animation-delay: 0ms; }
.hero-sub { animation-delay: 100ms; }
.hero-cta-group { animation-delay: 200ms; }

/* ═══════════════════════════════════════════════════
   SUCESSO PAGE
   ═══════════════════════════════════════════════════ */

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  padding: 32px;
}

.success-card {
  text-align: center;
  max-width: 480px;
  padding: 64px 32px;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(56, 161, 105, 0.12);
  margin-bottom: 32px;
  animation: fadeInUp 0.5s cubic-bezier(0.25, 0.1, 0.25, 1) both;
}

.success-icon svg {
  color: var(--color-green);
}

.success-card h1 {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--color-white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeInUp 0.5s cubic-bezier(0.25, 0.1, 0.25, 1) 0.1s both;
}

.success-card p {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  animation: fadeInUp 0.5s cubic-bezier(0.25, 0.1, 0.25, 1) 0.2s both;
}

.success-card .btn {
  animation: fadeInUp 0.5s cubic-bezier(0.25, 0.1, 0.25, 1) 0.3s both;
}

.success-card .btn-link {
  display: block;
  margin-top: 16px;
  color: var(--color-muted);
  font-size: 14px;
  animation: fadeInUp 0.5s cubic-bezier(0.25, 0.1, 0.25, 1) 0.4s both;
}

.success-card .btn-link:hover {
  color: var(--color-white);
}

.success-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-green);
  font-weight: 600;
}
