/* ============================================================
   Máquina de Prospecção Automática — page styles
   Extends ../assets/css/global.css tokens
   ============================================================ */

/* ---- Layout base ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

/* ---- Reveal animation (só esconde com JS ativo) ---- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Labels e títulos de seção ---- */
.section-label {
  display: inline-block;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--plas-orange);
  border: 1px solid var(--plas-orange);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.section-title {
  font-family: 'Neue Machina', sans-serif;
  font-weight: 800;
  font-size: var(--fs-h2);
  text-transform: uppercase;
  line-height: 1.0;
  letter-spacing: 0.02em;
  color: var(--plas-white);
  margin: 0 0 20px;
}

.section-sub {
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--plas-grey);
  max-width: 600px;
  margin: 0 0 56px;
}

/* Ajuste específico para .desafio .section-sub */
.desafio .section-sub {
  font-size: 20.8px;
  color: var(--plas-black);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--plas-black);
  padding: 120px 0 96px;
  border-bottom: 1px solid #1a1208;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-visual {
  width: 100%;
  position: relative;
  z-index: 2;
}

/* ============================================================
   PROSPECTING WIDGET (dashboard simulation)
   ============================================================ */
.prospecting-widget {
  background: #161008;
  border: 1px solid #2a1f10;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.6), inset 0 0 20px rgba(250, 66, 0, 0.03);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  max-width: 460px;
  margin: 0 auto;
}

.prospecting-widget::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 70% 30%, rgba(250, 66, 0, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2a1f10;
  padding-bottom: 12px;
  z-index: 2;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #00FF66;
  border-radius: 50%;
  box-shadow: 0 0 8px #00FF66;
  animation: led-blink 1.5s infinite ease-in-out;
}

@keyframes led-blink {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; box-shadow: 0 0 12px #00FF66; }
}

.status-text {
  font-size: 11px;
  font-weight: 700;
  color: #00FF66;
  letter-spacing: 0.05em;
}

.mode-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--plas-orange);
  border: 1px solid rgba(250, 66, 0, 0.3);
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(250, 66, 0, 0.05);
}

.widget-lead-card {
  background: rgba(13, 9, 0, 0.45);
  border: 1px solid rgba(250, 66, 0, 0.1);
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
  transition: all 0.3s ease;
}

.lead-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lead-logo {
  font-size: 20px;
  background: rgba(250, 66, 0, 0.08);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(250, 66, 0, 0.2);
}

.lead-details {
  display: flex;
  flex-direction: column;
}

.lead-name {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 800;
  color: var(--plas-white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.lead-location {
  font-size: 11px;
  color: var(--plas-grey);
}

.lead-scrapes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  border-top: 1px solid rgba(250, 66, 0, 0.05);
  padding-top: 12px;
}

.scrape-item {
  font-size: 11px;
  color: var(--plas-grey);
  display: flex;
  align-items: center;
  gap: 6px;
}

.scrape-item .status {
  margin-left: auto;
  font-weight: 700;
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 2px;
}

.scrape-item .status.green {
  background: rgba(0, 255, 102, 0.1);
  color: #00FF66;
}

.scrape-item .status.gray {
  background: rgba(255, 255, 255, 0.05);
  color: #666;
}

.widget-terminal {
  background: #090602;
  border: 1px solid #1e1509;
  border-radius: 6px;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  color: #a49a8d;
  height: 90px;
  overflow-y: auto;
  z-index: 2;
}

.terminal-bar {
  font-size: 9px;
  color: #555;
  border-bottom: 1px solid #1e1509;
  padding-bottom: 6px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.log-line {
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.log-line.green { color: #00FF66; }
.log-line.orange { color: var(--plas-orange); }

.widget-chat {
  background: rgba(13, 9, 0, 0.35);
  border: 1px solid #2a1f10;
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 150px;
  overflow-y: auto;
  z-index: 2;
}

.chat-header {
  font-size: 10px;
  color: var(--plas-grey);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(250, 66, 0, 0.05);
  padding-bottom: 6px;
  margin-bottom: 4px;
  font-weight: 500;
}

.chat-bubble {
  font-size: 11px;
  line-height: 1.4;
  padding: 8px 10px;
  border-radius: 6px;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  animation: chat-fade-in 0.3s ease forwards;
}

@keyframes chat-fade-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-bubble.sent {
  background: #2a1f10;
  border: 1px solid rgba(250, 66, 0, 0.15);
  color: var(--plas-white);
  align-self: flex-start;
  border-top-left-radius: 1px;
}

.chat-bubble.received {
  background: #110c05;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--plas-grey);
  align-self: flex-end;
  border-top-right-radius: 1px;
}

.bubble-sender {
  font-size: 9px;
  font-weight: 700;
  color: var(--plas-orange);
}

.chat-bubble.received .bubble-sender {
  color: #b5a48f;
}

.widget-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.progress-bar-container {
  height: 4px;
  background: #110d05;
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--plas-orange);
  box-shadow: 0 0 8px var(--plas-orange);
  transition: width 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

.widget-step-name {
  font-size: 10px;
  font-weight: 500;
  color: var(--plas-grey);
  text-align: right;
  letter-spacing: 0.02em;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(250,66,0,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* Motif: radar / mira — anéis concêntricos sutis */
.hero::after {
  content: '';
  position: absolute;
  top: -180px;
  right: -180px;
  width: 620px;
  height: 620px;
  background:
    repeating-radial-gradient(circle at center,
      transparent 0 58px,
      rgba(250, 66, 0, 0.06) 58px 59px);
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 68%);
          mask-image: radial-gradient(circle at center, #000 0%, transparent 68%);
  pointer-events: none;
}

.hero-tag {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--plas-orange);
  border: 1px solid var(--plas-orange);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 32px;
}

.hero h1 {
  font-family: 'Neue Machina', sans-serif;
  font-weight: 800;
  font-size: var(--fs-hero);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--plas-white);
  margin: 0 0 32px;
}

.hero h1 em {
  font-style: normal;
  color: var(--plas-orange);
}

.hero-sub {
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: var(--plas-grey);
  max-width: 560px;
  margin: 0 0 40px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-note {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #666;
  margin: 0;
  letter-spacing: 0.04em;
}

/* ---- Botões ---- */
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--plas-orange);
  color: var(--plas-black);
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 36px;
  border: none;
  letter-spacing: 0.02em;
}

.btn-hero {
  font-size: 16px;
  padding: 18px 40px;
}

.btn-pulse {
  animation: pulse-orange 2.4s ease-in-out infinite;
}

@keyframes pulse-orange {
  0%, 100% { box-shadow: 0 0 0 0 rgba(250,66,0,0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(250,66,0,0); }
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ============================================================
   MODULES
   ============================================================ */
.modules {
  background: var(--plas-black);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid #1e1408;
  background: #1e1408;
}

.module-card {
  background: var(--plas-black);
  padding: 36px 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: background 0.2s ease, box-shadow 0.25s var(--ease-out);
  position: relative;
}

.module-card:hover {
  background: #110d04;
  box-shadow: inset 3px 0 0 var(--plas-orange), 0 12px 28px rgba(250, 66, 0, 0.10);
}

.module-num {
  font-family: 'Neue Machina', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--plas-orange);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  padding-top: 3px;
}

.module-body h3 {
  font-family: 'Neue Machina', sans-serif;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--plas-white);
  margin: 0 0 10px;
  line-height: 1.3;
}

.module-body p {
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: var(--plas-grey);
  margin: 0;
}

/* ============================================================
   RESULTADO FINAL
   ============================================================ */
.result {
  background: #080600;
  border-top: 1px solid #1a1208;
  border-bottom: 1px solid #1a1208;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.check-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.check-icon {
  font-family: 'Neue Machina', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--plas-orange);
  flex-shrink: 0;
  line-height: 1.55;
}

.check-item span:last-child {
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  color: var(--plas-white);
}

.result-callout {
  display: flex;
  justify-content: center;
}

.callout-inner {
  background: #161008;
  border: 1px solid #2a1f10;
  border-radius: 8px;
  padding: 48px 40px;
  text-align: center;
  max-width: 320px;
  width: 100%;
}

.callout-label {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--plas-grey);
  text-transform: uppercase;
  margin: 0 0 16px;
}

.callout-stat {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin-bottom: 16px;
}

.stat-big {
  font-family: 'Neue Machina', sans-serif;
  font-weight: 800;
  font-size: 96px;
  color: var(--plas-orange);
  line-height: 0.9;
}

.stat-unit {
  font-family: 'Neue Machina', sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: var(--plas-orange);
  line-height: 1;
  padding-top: 8px;
}

.callout-desc {
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.6;
  color: var(--plas-grey);
  margin: 0;
}

/* ============================================================
   OFERTA / CTA
   ============================================================ */
.offer {
  background: var(--plas-black);
  text-align: center;
}

.offer .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.offer-card {
  background: #0D0900;
  border: 1px solid #2a1f10;
  border-radius: 10px;
  padding: 40px 32px;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 28px;
}

.offer-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid #2a1f10;
}

.benefits-item {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--plas-white);
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.offer-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.offer-price-installment {
  font-family: 'Neue Machina', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--plas-grey);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.offer-price-installment strong {
  display: block;
  font-size: 3rem;
  line-height: 1.05;
  color: var(--plas-orange);
  letter-spacing: 0;
}

.offer-price-cash {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--plas-grey);
}

.offer-card .btn-hero {
  width: 100%;
}

.cta-note {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: var(--plas-grey);
  margin: 0;
  letter-spacing: 0.04em;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #060400;
  border-top: 1px solid #1a1208;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-copy {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #444;
  margin: 0;
  letter-spacing: 0.04em;
}

/* ============================================================
   O DESAFIO / PROBLEMA (LIGHT SECTION)
   ============================================================ */
.desafio {
  border-top: 1px solid #e1d8cd;
  border-bottom: 1px solid #e1d8cd;
  position: relative;
}

.pain-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.pain-card {
  background: var(--plas-card);
  border: 1px solid var(--plas-card-border);
  padding: 36px 28px;
  border-radius: 6px;
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pain-card:hover {
  transform: translateY(-4px);
  border-color: var(--plas-orange);
  box-shadow: 0 12px 32px rgba(250, 66, 0, 0.12);
}

.pain-icon {
  font-size: 32px;
  margin-bottom: 4px;
}

.pain-card h3 {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 800;
  color: var(--plas-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
  line-height: 1.3;
}

.pain-card p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--plas-grey) !important; /* Force grey inside dark cards in sec-light */
  line-height: 1.6;
  margin: 0;
}

.solution-intro {
  text-align: center;
  max-width: 680px;
  margin: 80px auto 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.solution-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--plas-orange);
  border: 1px solid var(--plas-orange);
  padding: 4px 12px;
  border-radius: 2px;
}

.solution-intro h3 {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  color: var(--plas-black);
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
}

.solution-intro p {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: #4a4137;
  line-height: 1.65;
  margin: 0;
}

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

.phase-item {
  background: rgba(13, 9, 0, 0.03);
  border: 1px solid rgba(13, 9, 0, 0.08);
  padding: 36px 28px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.2s ease;
}

.phase-item:hover {
  background: rgba(13, 9, 0, 0.05);
  border-color: rgba(13, 9, 0, 0.15);
}

.phase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phase-number {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  color: var(--plas-orange);
  line-height: 1;
}

.phase-icon-wrapper {
  color: var(--plas-black);
  opacity: 0.7;
}

.phase-item h4 {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 800;
  color: var(--plas-black);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

.phase-item p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: #4a4137;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-content {
    align-items: center;
    text-align: center;
  }
  
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 80px 0 64px;
  }

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

  .result-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pain-cards,
  .phases-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .solution-intro {
    margin: 48px auto 32px;
  }

  .result-callout {
    justify-content: flex-start;
  }

  .callout-inner {
    max-width: 100%;
    text-align: left;
  }

  .callout-stat {
    justify-content: flex-start;
  }

  .offer .section-title {
    text-align: left;
  }

  .offer .section-sub {
    margin-left: 0;
  }
}

/* ============================================================
   Seções claras (2ª seção + oferta) — contraste sobre branco
   ============================================================ */
.modules.sec-light .section-sub,
.offer.sec-light .section-sub { color: #4a4137; }
/* .module-card já é preto sólido e contrasta sobre o branco */
