/* =============================================
   TráfegoPro — Landing Page
   style.css
   ============================================= */

/* RESET & BASE */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy:         #0A0F2C;
  --navy-mid:     #111936;
  --navy-light:   #1C2444;
  --electric:     #00E5A0;
  --electric-dim: #00C488;
  --orange-cta:   #FF6B2B;
  --orange-hover: #E55A1F;
  --text-light:   #F0F4FF;
  --text-muted:   #8B95B8;
  --text-body:    #C8D0E8;
  --card-bg:      rgba(28, 36, 68, 0.7);
  --card-border:  rgba(0, 229, 160, 0.15);
  --divider:      rgba(0, 229, 160, 0.08);
  --font:         'Inter', 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* UTILITIES */
.tag-pill {
  display: inline-block;
  background: rgba(0, 229, 160, 0.12);
  color: var(--electric);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0, 229, 160, 0.3);
  margin-bottom: 18px;
}

.btn-primary {
  background: var(--orange-cta);
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.01em;
  font-family: var(--font);
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--orange-hover); }

.btn-ghost {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font);
  transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.4); }

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 15, 44, 0.95);
  position: sticky;
  top: 0;
  z-index: 99;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.02em;
  text-decoration: none;
}

/*
  LOGO: altura máxima recomendada na nav = 40px.
  O width: auto mantém a proporção original.
  Se sua logo tiver fundo escuro ou transparente, fica perfeita aqui.
*/
.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-logo-text { color: var(--text-light); }
.logo-amp { color: var(--electric); }

.nav-cta {
  background: var(--orange-cta);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--orange-hover); }

/* =============================================
   HERO
   ============================================= */
.hero {
  padding: 80px 40px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 229, 160, 0.07) 0%, transparent 65%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 160, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 160, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.hero h1 span { color: var(--electric); }

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 auto 36px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-metrics {
  display: flex;
  justify-content: center;
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card-bg);
  max-width: 480px;
  margin: 0 auto;
}

.metric-item {
  flex: 1;
  padding: 20px 12px;
  text-align: center;
  border-right: 1px solid rgba(0, 229, 160, 0.15);
}
.metric-item:last-child { border-right: none; }

.metric-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--electric);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.metric-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =============================================
   SECTIONS — SHARED
   ============================================= */
.section {
  padding: 80px 40px;
}

.section-inner {
  max-width: 680px;
  margin: 0 auto;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.025em;
  line-height: 1.22;
  margin-bottom: 14px;
}
.section-title span { color: var(--electric); }

.section-lead {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

/* =============================================
   DOR DO CLIENTE
   ============================================= */
.dor-section {
  background: var(--navy-mid);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.dor-block {
  background: rgba(255, 107, 43, 0.06);
  border: 1px solid rgba(255, 107, 43, 0.2);
  border-radius: 14px;
  padding: 28px;
  margin-top: 12px;
}

.dor-block > p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
}
.dor-block strong { color: #FF8C5A; font-weight: 600; }

.dor-items {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dor-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 12px 16px;
}

.dor-item svg { color: #FF6B6B; flex-shrink: 0; margin-top: 3px; }

.dor-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.dor-item strong { color: var(--text-body); }

/* =============================================
   SOLUÇÃO
   ============================================= */
.sol-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sol-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color 0.2s, transform 0.2s;
}
.sol-card:hover {
  border-color: rgba(0, 229, 160, 0.35);
  transform: translateY(-2px);
}

.sol-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sol-icon-wrap svg { width: 22px; height: 22px; }

.sol-icon-blue   { background: rgba(55, 138, 221, 0.15); color: #54A3F4; }
.sol-icon-green  { background: rgba(0, 229, 160, 0.12);  color: var(--electric); }
.sol-icon-purple { background: rgba(127, 119, 221, 0.15); color: #A89EF8; }

.sol-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 7px;
}
.sol-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================
   NÚMEROS / ROI
   ============================================= */
.nums-section {
  background: var(--navy-mid);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.nums-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.num-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
}
.num-big {
  font-size: 32px;
  font-weight: 700;
  color: var(--electric);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  line-height: 1;
}
.num-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
}

.roi-block {
  background: rgba(0, 229, 160, 0.05);
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-radius: 14px;
  padding: 24px 28px;
  margin-top: 12px;
}
.roi-block p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
}
.roi-block strong { color: var(--electric); }

/* =============================================
   PROCESSO
   ============================================= */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding-bottom: 32px;
}
.step:last-child { padding-bottom: 0; }

.step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--electric);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.step-line {
  width: 2px;
  background: rgba(0, 229, 160, 0.2);
  flex: 1;
  margin-top: 8px;
  min-height: 32px;
}
.step:last-child .step-line { display: none; }

.step-body { padding-top: 7px; }

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 7px;
}
.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================
   FAQ
   ============================================= */
.faq-section {
  background: var(--navy-mid);
  border-top: 1px solid var(--divider);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(0, 229, 160, 0.3); }

.faq-q {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
  font-family: var(--font);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-q:hover { background: rgba(255, 255, 255, 0.03); }

.faq-chevron {
  color: var(--electric);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-a {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s;
  padding: 0 22px;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 22px 20px;
}

/* =============================================
   FOOTER CTA
   ============================================= */
.footer-cta {
  padding: 80px 40px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, rgba(0, 229, 160, 0.09) 0%, transparent 70%);
  border-top: 1px solid var(--divider);
}

.footer-cta h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.025em;
  line-height: 1.22;
  margin-bottom: 14px;
}
.footer-cta h2 span { color: var(--electric); }

.footer-cta p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 34px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 17px 34px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font);
  transition: background 0.2s, transform 0.15s;
}
.btn-whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
}
.btn-whatsapp svg { width: 22px; height: 22px; flex-shrink: 0; }

/* =============================================
   FOOTER BOTTOM
   ============================================= */
.footer-bottom {
  background: rgba(0, 0, 0, 0.35);
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.social-btn:hover {
  border-color: var(--electric);
  color: var(--electric);
}
.social-btn svg { width: 18px; height: 18px; }

/* =============================================
   RESPONSIVO
   ============================================= */
@media (max-width: 768px) {
  .nav { padding: 16px 20px; }

  .hero { padding: 60px 20px 64px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 15px; }

  .section { padding: 60px 20px; }
  .section-title { font-size: 24px; }

  .nums-grid { grid-template-columns: 1fr; }

  .footer-cta { padding: 60px 20px; }
  .footer-cta h2 { font-size: 24px; }

  .footer-bottom {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 26px; }
  .hero-metrics { flex-direction: column; }
  .metric-item { border-right: none; border-bottom: 1px solid rgba(0,229,160,0.15); }
  .metric-item:last-child { border-bottom: none; }
}
