/* ============================================
   Estilos por Seção
   ============================================ */

/* --- NAVBAR --- */
.navbar-custom {
  padding: 12px 0;
  transition: all var(--transition-base);
  z-index: 1050;
  background: transparent;
}

.navbar-custom.scrolled {
  background: rgba(10, 15, 13, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  padding: 8px 0;
}

.navbar-custom .navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-custom .navbar-brand i {
  color: var(--whatsapp-green);
  font-size: 1.5rem;
}

.navbar-custom .nav-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  transition: color var(--transition-fast);
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--whatsapp-green);
}

.navbar-custom .navbar-toggler {
  border: 1px solid var(--border-subtle);
  padding: 6px 10px;
}

.navbar-custom .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(37, 211, 102, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- HERO --- */
.hero-section {
  position: relative;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-typed-wrapper {
  min-height: 52px;
  margin-bottom: 16px;
}

.hero-typed-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--whatsapp-green);
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px 0;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

.hero-proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.hero-proof-item i {
  color: var(--whatsapp-green);
  font-size: 1rem;
}

/* Mockup comparativo */
.hero-mockup {
  position: relative;
}

.mockup-phone {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 15px;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

.mockup-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 16px;
}

.mockup-label.label-danger {
  background: rgba(220, 53, 69, 0.15);
  color: var(--danger);
}

.mockup-label.label-success {
  background: rgba(37, 211, 102, 0.15);
  color: var(--whatsapp-green);
}

.mockup-message {
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 8px;
}

.mockup-message p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.mockup-button {
  background: transparent;
  border: 1px solid var(--whatsapp-green);
  border-radius: var(--radius-sm);
  color: var(--whatsapp-green);
  padding: 8px 16px;
  font-size: 0.8rem;
  text-align: center;
  width: 100%;
  margin-top: 6px;
  font-weight: 500;
}

.mockup-no-buttons {
  padding: 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-style: italic;
}

/* --- SEÇÃO PROBLEMA --- */
.problem-section {
  background: var(--bg-primary);
  position: relative;
}

.impact-block {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin: 48px 0;
  position: relative;
}

.impact-block::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--whatsapp-green), transparent, var(--whatsapp-teal));
  z-index: -1;
  opacity: 0.3;
}

.impact-block p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.impact-block strong {
  color: var(--text-primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.stat-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  transition: all var(--transition-base);
}

.stat-item:hover {
  border-color: var(--border-subtle);
  transform: translateY(-3px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--whatsapp-green);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- SEÇÃO SOLUÇÃO --- */
.solution-section {
  background: var(--bg-secondary);
}

.exclusive-highlight {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(18, 140, 126, 0.08));
  border: 2px solid var(--whatsapp-green);
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  margin-top: 48px;
  text-align: center;
}

.exclusive-highlight h3 {
  color: var(--whatsapp-green);
  margin-bottom: 8px;
}

/* --- SEÇÃO DEMO --- */
.demo-section {
  background: var(--bg-primary);
  position: relative;
}

.demo-form-wrapper {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.demo-preview {
  background: var(--bg-primary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
}

.demo-preview pre {
  margin: 0;
  font-size: 0.85rem;
  max-height: 320px;
  overflow-y: auto;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.demo-preview pre::-webkit-scrollbar {
  width: 6px;
}

.demo-preview pre::-webkit-scrollbar-thumb {
  background: var(--whatsapp-dark);
  border-radius: 3px;
}

.demo-trust {
  margin-top: 20px;
}

.demo-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.demo-trust-item i {
  color: var(--whatsapp-green);
  font-size: 0.85rem;
}

.demo-result {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-result-status {
  text-align: center;
  color: var(--text-muted);
}

/* --- SEÇÃO COMO FUNCIONA --- */
.process-section {
  background: var(--bg-secondary);
}

.timeline {
  position: relative;
  padding-left: 0;
  margin-top: 48px;
}

.timeline-step {
  position: relative;
  padding: 32px;
  padding-left: 80px;
  margin-bottom: 32px;
  background: var(--bg-primary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.timeline-step:hover {
  border-color: var(--border-subtle);
  transform: translateX(5px);
}

.timeline-step-number {
  position: absolute;
  left: 24px;
  top: 32px;
  width: 40px;
  height: 40px;
  background: var(--gradient-cta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}

.timeline-step h3 {
  margin-bottom: 8px;
}

.timeline-step p {
  margin: 0;
  font-size: 0.95rem;
}

.timeline-highlight {
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  margin-top: 32px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.timeline-highlight i {
  color: var(--whatsapp-green);
  margin-right: 8px;
}

/* --- SEÇÃO COMPARATIVO --- */
.comparison-section {
  background: var(--bg-primary);
}

.comparison-table-wrapper {
  position: relative;
  width: 100%;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 40px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
}

.comparison-table thead th {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-card);
  background: var(--bg-tertiary);
}

.comparison-table thead th:first-child {
  text-align: left;
}

.comparison-table thead th:nth-child(2) {
  color: var(--danger);
  text-align: center;
}

.comparison-table thead th:nth-child(3) {
  color: var(--whatsapp-green);
  text-align: center;
}

.comparison-table tbody td {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.comparison-table tbody td:first-child {
  font-weight: 500;
  color: var(--text-primary);
}

.comparison-table tbody td:nth-child(2),
.comparison-table tbody td:nth-child(3) {
  text-align: center;
  font-size: 1.1rem;
}

.comparison-table tbody tr:hover {
  background: rgba(37, 211, 102, 0.03);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-note {
  margin-top: 28px;
  padding: 24px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  text-align: center;
}

.comparison-note p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
}

.comparison-note strong {
  color: var(--whatsapp-green);
}

.comparison-scroll-hint {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 12px;
}

/* --- SEÇÃO DEPOIMENTOS --- */
.testimonials-section {
  background: var(--bg-secondary);
}

.testimonial-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: var(--warning);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.testimonial-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-card);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Swiper customizado */
.swiper-testimonials {
  padding-bottom: 60px;
}

.swiper-testimonials .swiper-pagination-bullet {
  background: var(--text-muted);
  opacity: 0.5;
  width: 10px;
  height: 10px;
}

.swiper-testimonials .swiper-pagination-bullet-active {
  background: var(--whatsapp-green);
  opacity: 1;
}

/* --- SEÇÃO FAQ --- */
.faq-section {
  background: var(--bg-primary);
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--border-subtle);
}

.faq-item.active {
  border-color: var(--whatsapp-green);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
  user-select: none;
}

.faq-question h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
  color: var(--text-primary);
}

.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.1);
  color: var(--whatsapp-green);
  font-size: 0.8rem;
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

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

/* --- SEÇÃO PREÇO --- */
.pricing-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.pricing-card {
  background: var(--bg-primary);
  border: 2px solid var(--whatsapp-green);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: var(--glow-green);
}

.pricing-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-cta);
  color: #fff;
  padding: 6px 24px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-includes {
  text-align: left;
  margin: 32px 0;
}

.pricing-includes-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pricing-includes-item i {
  color: var(--whatsapp-green);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.guarantee-block {
  background: rgba(37, 211, 102, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 32px;
  text-align: center;
}

.guarantee-block i {
  font-size: 2rem;
  color: var(--whatsapp-green);
  margin-bottom: 8px;
}

.guarantee-block h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.guarantee-block p {
  font-size: 0.9rem;
  margin: 0;
}

.scarcity-text {
  margin-top: 20px;
  color: var(--warning);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* --- SEÇÃO URGÊNCIA --- */
.urgency-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-tertiary) 50%, var(--bg-primary) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.urgency-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(37, 211, 102, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.urgency-text {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.urgency-highlight {
  color: var(--text-primary);
  font-weight: 600;
}

/* --- FOOTER --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-card);
  padding: 48px 0 24px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-brand i {
  color: var(--whatsapp-green);
}

.footer-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--whatsapp-green);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-contact-item i {
  color: var(--whatsapp-green);
  font-size: 1rem;
  width: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.1);
  color: var(--whatsapp-green);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--whatsapp-green);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border-card);
  padding-top: 24px;
  margin-top: 40px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 4px 0;
}

/* Prism.js overrides para tema escuro */
code[class*="language-"],
pre[class*="language-"] {
  font-family: var(--font-code);
  font-size: 0.85rem;
  background: transparent !important;
  text-shadow: none !important;
}

.token.property {
  color: #7ec8e3;
}

.token.string {
  color: #a8e6a1;
}

.token.number {
  color: #f0c674;
}

.token.boolean {
  color: #cc99cd;
}

.token.punctuation {
  color: #999;
}