* { 
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #25D366;
  --color-primary-dark: #1FA752;
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-text-secondary: #475569;
  --color-border: #e2e8f0;
  --color-accent: #0284c7;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   HEADER (NOVO / LIMPO)
   ========================= */

.header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  padding: 45px 0 35px; /* antes era 70px 0 55px */
  text-align: center;
  margin-bottom: 40px; /* opcional: reduz o espaço abaixo do header */
  position: relative;
  overflow: hidden;
}

.header::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 55%);
  transform: rotate(12deg);
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px; /* Antes era 14px */
  justify-items: center;
}

.hero-logo {
  width: min(650px, 92vw); /* Antes era 520px, 88vw */
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.18));
  margin-bottom: 6px;
}

.hero-title {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.05;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  opacity: 0.95;
  max-width: 820px;
}

.hero-nav {
  margin-top: 6px; /* Antes era 18px */
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.30);
  background: rgba(255,255,255,0.10);
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.nav-link:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  background: rgba(255,255,255,0.16);
}

.nav-primary {
  background: #fff;
  color: var(--color-primary-dark);
  border-color: rgba(255,255,255,0.45);
}

.nav-primary:hover {
  background: #ffffff;
  opacity: 1;
}

.nav-wa {
  border-color: rgba(255,255,255,0.40);
}

/* =========================
   FEATURES
   ========================= */

.features-section {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
  color: var(--color-text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--color-primary);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--color-text);
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* =========================
   PRICING
   ========================= */

.pricing-section {
  background: var(--color-surface);
  border-radius: 16px;
  padding: 60px 30px;
  margin-bottom: 60px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.plan-card {
  border: 2px solid var(--color-border);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.plan-card.featured {
  border-color: var(--color-primary);
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.15);
}

.plan-card.featured::before {
  content: "MAIS POPULAR";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--color-text);
}

.plan-price {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.plan-price-period {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.plan-features {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}

.plan-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: bold;
  margin-right: 12px;
  font-size: 1.1rem;
}

.plan-button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.plan-button.primary {
  background: var(--color-primary);
  color: white;
}

.plan-button.primary:hover {
  background: var(--color-primary-dark);
  transform: scale(1.02);
}

.plan-button.secondary {
  background: var(--color-bg);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.plan-button.secondary:hover {
  background: var(--color-primary);
  color: white;
}

/* =========================
   SETUP INFO
   ========================= */

.setup-info {
  background: #f0fdf4;
  border-left: 4px solid var(--color-primary);
  padding: 20px;
  border-radius: 8px;
  margin: 40px 0;
  color: var(--color-text-secondary);
}

.setup-info strong {
  color: var(--color-text);
}

/* =========================
   FAQ
   ========================= */

.faq-section {
  margin-bottom: 60px;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--color-text);
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--color-bg);
}

.faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--color-text-secondary);
  display: none;
  animation: slideDown 0.3s ease forwards;
}

.faq-answer.active {
  display: block;
}

@keyframes slideDown {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 500px; }
}

.faq-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-toggle.active {
  transform: rotate(180deg);
}

/* =========================
   CTA
   ========================= */

.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  padding: 50px;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 60px;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.cta-button {
  background: white;
  color: var(--color-primary);
  padding: 15px 40px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* =========================
   FOOTER
   ========================= */

.footer {
  background: var(--color-text);
  color: white;
  padding: 40px 20px;
  text-align: center;
  border-radius: 12px;
  margin-top: 60px;
}

.footer p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
  }

  .plan-card.featured {
    transform: scale(1);
  }

  .plan-price {
    font-size: 2rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .header {
    padding: 55px 0 40px;
  }

  .hero-nav {
    gap: 10px;
  }

  .nav-link {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
}

/* =========================
   (Mantive seu billing toggle)
   ========================= */

.billing-toggle {
  margin-top: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: inherit;
}

.billing-label {
  font-weight: 500;
  color: #444;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #ccc;
  border-radius: 30px;
  transition: .3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  top: 4px;
  background-color: #fff;
  border-radius: 50%;
  transition: .3s;
}

.toggle-switch input:checked + .slider {
  background-color: #0d6efd;
}

.toggle-switch input:checked + .slider:before {
  transform: translateX(30px);
}

/* =========================
   HEADER INTERNO (PÁGINAS)
   ========================= */
.header.header--page {
  padding: 48px 0 34px;
  margin-bottom: 42px;
}

.page-hero {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.page-hero-top {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-logo {
  width: 200px;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,0.16));
}

.page-title {
  font-size: clamp(1.55rem, 2.1vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.4px;
  line-height: 1.1;
}

.page-subtitle {
  max-width: 920px;
  font-size: 1.02rem;
  opacity: 0.95;
}

.page-nav {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Reaproveita o estilo de botões da Home */
.page-nav .nav-link {
  padding: 10px 12px;
  font-size: 0.98rem;
}

@media (max-width: 768px) {
  .header.header--page {
    padding: 40px 0 28px;
    margin-bottom: 34px;
  }

  .page-logo {
    width: min(240px, 78vw);
  }
}

/* =========================
   FIX ESPACAMENTO HEADER (GETDESK)
   Cole no FINAL do CSS
   ========================= */

.header {
  padding: 34px 0 26px !important; /* altura total menor */
  margin-bottom: 28px !important;
}

.hero {
  gap: 0 !important; /* remove espaçamento do grid */
}

.hero-logo {
  width: min(650px, 92vw);
  margin-bottom: -22px !important; /* puxa o subtitulo pra cima (compensa transparência do PNG) */
}

.hero-subtitle {
  margin-top: -160px !important;   /* aproxima do logo */
  margin-bottom: 0 !important;
}

.hero-nav {
  margin-top: 10px !important;  /* aproxima os botoes do subtitulo */
  gap: 12px;
}

/* garante no mobile também */
@media (max-width: 768px) {
  .header {
    padding: 28px 0 22px !important;
    margin-bottom: 22px !important;
  }

  .hero-logo {
    margin-bottom: -18px !important;
  }

  .hero-nav {
    margin-top: 8px !important;
  }
}
