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

:root {
  --background: #f0f4f8;
  --foreground: #1a2744;
  --card: #ffffff;
  --card-foreground: #1a2744;
  --primary: #1e4ba3;
  --primary-foreground: #ffffff;
  --secondary: #3dd9d9;
  --secondary-foreground: #1a2744;
  --muted: #e8eef4;
  --muted-foreground: #5a6b7d;
  --accent: #2cb8b8;
  --accent-foreground: #0f1729;
  --border: #d1dbe6;
  --input: #eef2f6;
  --ring: #1e4ba3;
  --radius: 0.75rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.logo span:last-child {
  color: var(--secondary);
}

.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    gap: 2rem;
  }
}

.nav a {
  color: var(--muted-foreground);
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background: #163a82;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(30, 75, 163, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  background: #2cb8b8;
}

.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Hero Section */
.hero {
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(30, 75, 163, 0.1);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

.hero h1 span {
  color: var(--primary);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.hero-feature svg {
  color: var(--secondary);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(30, 75, 163, 0.25);
}

.hero-image img {
  border-radius: 1rem;
  width: 100%;
}

.ssl-badge {
  position: absolute;
  top: -1rem;
  right: 1rem;
  background: var(--card);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.ssl-badge svg {
  color: var(--secondary);
}

.ssl-badge span {
  font-weight: 600;
  font-size: 0.875rem;
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

/* Vantagens */
.vantagens-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .vantagens-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.vantagem-card {
  background: linear-gradient(135deg, var(--primary), #2a5db8);
  border-radius: 1.5rem;
  padding: 2rem;
  color: white;
  display: flex;
  gap: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.vantagem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(30, 75, 163, 0.3);
}

.vantagem-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vantagem-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.vantagem-card p {
  font-size: 0.875rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* Como Funciona */
.como-funciona {
  background: var(--card);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  text-align: center;
  padding: 2rem;
  background: var(--background);
  border-radius: 1.5rem;
  transition: transform 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1.5rem;
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Planos */
.planos-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.planos-toggle span {
  font-weight: 500;
}

.toggle-switch {
  width: 60px;
  height: 32px;
  background: var(--muted);
  border-radius: 9999px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-switch.active {
  background: var(--primary);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  top: 4px;
  left: 4px;
  transition: transform 0.3s;
}

.toggle-switch.active::after {
  transform: translateX(28px);
}

.discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: rgba(61, 217, 217, 0.2);
  color: var(--accent);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.plano-card {
  max-width: 500px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--primary), #2a5db8);
  border-radius: 2rem;
  padding: 3rem;
  color: white;
  text-align: center;
  box-shadow: 0 25px 50px rgba(30, 75, 163, 0.3);
}

.plano-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.plano-price {
  margin-bottom: 1.5rem;
}

.plano-price .currency {
  font-size: 1.25rem;
  vertical-align: top;
}

.plano-price .amount {
  font-size: 4rem;
  font-weight: 800;
}

.plano-price .cents {
  font-size: 1.25rem;
  vertical-align: top;
}

.plano-price .period {
  display: block;
  font-size: 1rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.plano-discount {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.plano-savings {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.plano-features {
  text-align: left;
  margin-bottom: 2rem;
}

.plano-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.plano-features svg {
  color: var(--secondary);
  flex-shrink: 0;
}

.btn-white {
  background: white;
  color: var(--primary);
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

.btn-white:hover {
  background: #f0f0f0;
}

/* Recursos */
.recursos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .recursos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .recursos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.recurso-card {
  background: var(--card);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.recurso-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.recurso-icon {
  width: 56px;
  height: 56px;
  background: rgba(30, 75, 163, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
}

.recurso-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.recurso-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Depoimentos */
.depoimentos {
  background: var(--card);
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .depoimentos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .depoimentos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.depoimento-card {
  background: var(--background);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: transform 0.3s;
}

.depoimento-card:hover {
  transform: translateY(-5px);
}

.depoimento-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: #fbbf24;
}

.depoimento-text {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.depoimento-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.depoimento-avatar {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.depoimento-author h4 {
  font-weight: 600;
}

.depoimento-author span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--secondary);
}

.faq-question svg {
  transition: transform 0.3s;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

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

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* Atendimento */
.atendimento {
  background: linear-gradient(135deg, var(--primary), #2a5db8);
  color: white;
}

.atendimento .section-header h2 {
  color: white;
}

.atendimento .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.atendimento-card {
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.atendimento-icon {
  width: 80px;
  height: 80px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.atendimento-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.atendimento-card p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  width: 100%;
  padding: 1rem;
}

.btn-whatsapp:hover {
  background: #20BD5A;
}

/* Footer */
.footer {
  background: #2d3748;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin: 1rem 0;
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.footer-social a:hover {
  background: var(--primary);
}

.footer h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer ul li {
  margin-bottom: 0.75rem;
}

.footer ul a,
.footer ul button {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.footer ul a:hover,
.footer ul button:hover {
  color: var(--secondary);
}

.footer-security {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.security-badge {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 64px;
  height: 64px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.whatsapp-tooltip {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 1rem;
  background: white;
  color: #1a2744;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6), 0 0 0 15px rgba(37, 211, 102, 0.1); }
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: white;
  border-radius: 1.5rem;
  max-width: 700px;
  max-height: 90vh;
  overflow: hidden;
  width: 100%;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close:hover {
  background: var(--border);
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  max-height: calc(90vh - 80px);
}

.modal-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.5rem 0 0.75rem;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body p {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}
