:root {
  --bg: #FAFAFD;
  /* Branco gelo super limpo */
  --bg-dark: #0f172a;
  --bg-surface: rgba(255, 255, 255, 0.7);
  /* Fundo de vidro transparente */
  --accent: #0A84FF;
  /* O mesmo Azul Elétrico Premium do Admin */
  --accent-soft: rgba(10, 132, 255, 0.08);
  --accent-dark: #0060DF;
  --success: #34C759;
  /* Verde maçã vibrante */
  --cta: #FF9F0A;
  /* Laranja premium */
  --text: #1C1C1E;
  /* Cinza super escuro (melhor leitura que preto puro) */
  --text-muted: #8E8E93;
  --text-on-dark: #ffffff;
  --border: rgba(0, 0, 0, 0.05);
  /* Borda ultra invisível */
  --border-glass: rgba(255, 255, 255, 0.4);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1400px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px circle at var(--mouse-gx, 50%) var(--mouse-gy, 50%), rgba(37, 99, 235, 0.03), transparent 80%),
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.02) 0%, transparent 60%);
  background-attachment: fixed;
  background-size: cover;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography Helpers */
.gradient-text {
  background: linear-gradient(135deg, var(--text) 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 800;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 1.5rem;
}

.hero .section-label {
  color: rgba(255, 255, 255, 0.7);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.2rem 0; /* Ultra compacto */
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

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

.logo {
  font-size: 1.4rem; /* Logo um pouco menor para caber melhor */
  font-weight: 800;
  letter-spacing: -1px;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem; /* Reduzindo espaço entre os links */
  align-items: center;
}

/* Botões do cabeçalho mais compactos */
nav .btn-primary, nav .btn-secondary {
  padding: 0.4rem 1.2rem;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .nav-links {
    gap: 1.5rem;
  }

  .nav-links a:not(.btn-primary):not(.btn-secondary) {
    display: none;
  }
}

.nav-links a:not(.btn-primary):not(.btn-secondary) {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

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

/* Buttons */
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.23);
  background: var(--accent-dark);
}

.btn-primary.glow {
  background: var(--cta);
  box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.39);
}

.btn-primary.glow:hover {
  background: #d97706;
}

.btn-primary:active {
  transform: scale(0.96);
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  padding: 0.9rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--accent);
  transition: var(--transition);
}

.hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.hero .btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Sections */
section {
  padding: 6rem 0;
  position: relative;
}

section:not(:last-of-type)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-glass), transparent);
}

.section-title {
  text-align: center;
  margin-bottom: 12rem;
}

.section-title h2 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text);
  /* Dark navy for visibility */
  line-height: 1.2;
  letter-spacing: -1px;
}

.modal-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--accent);
  line-height: 1.2;
}

.modal-content h4 {
  color: #64748b;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.modal-content p {
  color: #475569;
  line-height: 1.5;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.modal-content ul {
  list-style: none;
  margin-bottom: 1.25rem;
  padding: 0;
}

.modal-content ul li {
  margin-bottom: 0.5rem;
  color: #1e293b;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.modal-content ul li i {
  color: var(--accent);
  font-size: 0.75rem;
  margin-top: 0.2rem;
}

.modal-footer {
  margin-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 1.25rem;
  text-align: center;
}

.form-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--text);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.section-title p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.15rem;
}

/* Glass Cards */
.glass-card {
  background: var(--bg-surface);
  backdrop-filter: blur(24px);
  /* Desfoque forte de vidro */
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  /* Luz interna fina na borda */
  border-radius: 24px;
  padding: 3rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(10, 132, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.signup-card {
  padding: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top right, var(--accent-soft), transparent);
}

.final-cta-section {
  margin-top: 8rem;
  margin-bottom: 8rem;
}

.floating {
  animation: float 6s ease-in-out infinite;
}

/* Mobile Sticky CTA */
.mobile-cta-sticky {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2000;
  transform: translateY(150%);
  transition: transform 0.5s ease;
  display: none;
}

@media (max-width: 1024px) {
  .mobile-cta-sticky {
    display: block;
  }

  .mobile-cta-sticky.visible {
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  padding: 3rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Magic Glow Border Effect (Corporate Stripe Style) */
.glass-card::before, .f-card::before, .floating-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  padding: 1px; /* border thickness */
  background: radial-gradient(
    500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(10, 132, 255, 0.5),
    transparent 40%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 10;
}

.glass-card:hover::before, .f-card:hover::before, .floating-card:hover::before {
  opacity: 1;
}

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

.glass-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

/* Calculator Responsive Results */
.calc-res-value {
  font-weight: 950;
  margin-top: 0.5rem;
  letter-spacing: -1px;
  word-break: break-word;
}

.loss-value {
  color: var(--bg-dark);
  font-size: 2.5rem;
}

.savings-value {
  color: var(--success);
  font-size: 3.2rem;
  letter-spacing: -2px;
}

@media (max-width: 768px) {
  .calc-res-value {
    font-size: 2rem !important;
    letter-spacing: -1px !important;
  }

  .savings-value {
    font-size: 2.2rem !important;
  }

  .calc-result {
    padding: 2rem !important;
  }
}

/* Hero Section */
.hero {
  padding-top: 12rem;
  padding-bottom: 15rem;
  text-align: center;
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(1200px circle at 50% 50%, rgba(37, 99, 235, 0.15), transparent 80%);
  color: #ffffff;
  /* Force white only on hero */
  position: relative;
  overflow: hidden;
}

.hero h1 {
  color: #ffffff !important;
}

.hero p {
  color: rgba(255, 255, 255, 0.8) !important;
}

.hero h1 {
  font-size: 5rem;
  letter-spacing: -4px;
  font-weight: 950;
  margin-bottom: 2rem;
  line-height: 1;
}

.hero .gradient-text {
  background: linear-gradient(135deg, #fff 0%, #fff 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 4rem;
}

.hero img {
  max-width: 900px;
  margin: 0 auto;
  display: block;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, minmax(400px, auto));
  gap: 4rem;
  margin-top: 4rem;
}

.bento-item {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bento-1 {
  grid-column: span 2;
}

.bento-4 {
  grid-column: span 3;
}

/* Comparison Table */
.comparison-container {
  overflow-x: auto;
  margin-top: 4rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-surface);
  border-radius: 20px;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 2rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--bg-dark);
  color: #fff;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
}

.comparison-table .check {
  color: var(--accent);
  font-weight: 900;
}

.comparison-table .cross {
  color: #EF4444;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 6rem;
}

.price {
  font-size: 4rem;
  font-weight: 800;
  margin: 2rem 0;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
}

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: #25D366;
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 110px;
    /* Sobe para não conflitar com o Sticky CTA */
    width: 55px;
    height: 55px;
    font-size: 1.8rem;
    right: 20px;
  }
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
}

/* Utils */
.check-list {
  list-style: none;
  margin-top: 1.5rem;
}

.check-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
}

.check-list li i {
  color: var(--accent);
}

/* Footer */
.footer-container {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  margin-top: 8rem;
  background: #fff;
}

.footer-container .logo {
  color: var(--bg-dark);
}


.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 4rem;
  text-align: left;
  margin-bottom: 4rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Trust Bar */
.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8rem;
  opacity: 0.4;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.trust-bar span {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 2px;
}

/* Browser Mockup */
.browser-mockup {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  background: var(--bg-surface);
}

.browser-header {
  height: 35px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  padding: 0 15px;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0.5;
}

.dot-red {
  background: #ff5f56;
}

.dot-yellow {
  background: #ffbd2e;
}

.dot-green {
  background: #27c93f;
}

/* Floating Cards UI */
.floating-card {
  position: absolute;
  padding: 1.5rem;
  border-radius: 16px;
  background: #fff;
  color: var(--text) !important; /* CORRIGE CONTRASTE HORRIVEL DO TEXTO BRANCO NO FUNDO BRANCO */
  border: 1px solid var(--border);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
  z-index: 10;
  pointer-events: none;
}

.f-card-1 {
  top: 10%;
  left: -8%;
  transform: rotate(-5deg);
}

.f-card-2 {
  bottom: 15%;
  right: -12%;
  transform: rotate(8deg);
}

/* Features 8 Grid */
.features-8-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 5rem;
}

.f-card {
  padding: 2.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.f-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.f-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: block;
}

.f-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.f-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Steps 1-2-3 */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  margin-top: 8rem;
  position: relative;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

/* Nebula Light Effect */
.nebula {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.12), transparent 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(80px);
}

/* Mobile Responsiveness for Modals */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 1rem;
  }

  .modal-content {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .modal-content h2 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }

  .modal-content p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .modal-content ul li {
    font-size: 0.8rem;
    gap: 0.5rem;
  }

  .modal-close {
    top: 1rem;
    right: 1rem;
    width: 44px;
    /* Apple/Google Finger-friendly standard */
    height: 44px;
    font-size: 1.8rem;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    cursor: pointer;
    border: none;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .modal-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
  }
}

/* Responsive */
@media (min-width: 1025px) {
  section {
    padding: 100px 0;
  }

  .section-title {
    margin-bottom: 60px;
    margin-top: 40px;
  }

  .hero h1 {
    font-size: 5.5rem;
  }

  .hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin-inline: auto;
  }
}

@media (max-width: 1024px) {
  section {
    padding: 140px 0;
  }

  .features-8-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero h1 {
    font-size: 2.8rem;
    letter-spacing: -2px;
    line-height: 1.1;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .section-title {
    margin-bottom: 6rem;
  }

  .section-title h2 {
    font-size: 2.5rem;
    letter-spacing: -1px;
  }

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

  .trust-bar {
    gap: 4rem;
  }

  .trust-bar span {
    font-size: 1.5rem;
  }

  .floating-card {
    display: none;
  }

  [style*="display: grid; grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 4rem !important;
  }
}

/* Plan Selection Indicator */
.plan-indicator {
  grid-column: span 2;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  animation: fadeIn 0.5s ease-out;
}

.plan-indicator-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-indicator-text strong {
  color: var(--accent);
  text-transform: uppercase;
  margin-left: 0.5rem;
}

.plan-indicator-change {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background: var(--accent-soft);
  transition: var(--transition);
}

.plan-indicator-change:hover {
  background: var(--accent);
  color: white;
}

/* Modal System */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Modal Content - Light Theme for Reading */
.modal-content {
  background: #ffffff;
  border: none;
  max-width: 480px;
  width: 90%;
  padding: 2rem;
  position: relative;
  border-radius: 16px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #1e293b;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #f1f5f9;
  border: none;
  color: #475569;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #e2e8f0;
  color: var(--accent);
  transform: rotate(90deg);
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.modal-plan-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 2rem;
  border-radius: 16px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.modal-plan-card:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: translateY(-5px);
}

.modal-plan-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.modal-plan-card .price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    padding: 2rem;
    overflow-y: auto;
    max-height: 90vh;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Responsividade & Mobile Menu
   ========================================================================== */

/* Trial Signup Form Styles */
#trial-signup-form {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  text-align: left;
}

.plan-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.plan-indicator-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.plan-indicator-change {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-bottom: 1px dashed var(--accent);
}

.form-group-full,
#trial-signup-form .plan-indicator {
  grid-column: span 2;
}

#trial-signup-form input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 1.25rem;
  border-radius: 12px;
  color: var(--text);
  transition: var(--transition);
}

#trial-signup-form input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

#trial-signup-form label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}

#trial-signup-form button[type="submit"] {
  grid-column: span 2;
  padding: 1.5rem;
  justify-content: center;
  font-size: 1.3rem;
}

/* Hamburguer Menu Styles */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1001;
  transition: var(--transition);
}

/* Responsividade Global */
@media (max-width: 1024px) {
  section {
    padding: 6rem 0;
  }

  .section-title {
    margin-bottom: 4rem;
  }

  .section-title h2 {
    font-size: 2.8rem;
    letter-spacing: -1.5px;
  }

  .section-title p {
    font-size: 1.1rem;
  }

  .features-8-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero {
    padding-top: 8rem;
  }

  .hero h1 {
    font-size: 3.2rem;
    letter-spacing: -2px;
    line-height: 1.1;
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
  }

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

  .features-8-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -110%;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 3rem 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
    z-index: 2000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a:not(.btn-primary):not(.btn-secondary) {
    display: block;
    font-size: 1.3rem;
    width: 100%;
    text-align: center;
  }

  .nav-links a.btn-primary,
  .nav-links a.btn-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 1.2rem;
    font-size: 1.1rem;
  }

  .mobile-toggle {
    display: block;
    position: relative;
    z-index: 2001;
  }

  .nav-content {
    padding: 0 1.5rem;
  }

  .trust-bar {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .trust-bar span {
    font-size: 1rem;
  }

  .comparison-container {
    margin: 2rem -1.25rem 0;
    padding: 0 1.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table {
    min-width: 600px;
    /* Força scroll lateral para legibilidade */
  }

  .floating-card {
    display: none;
  }

  [style*="display: grid; grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 4rem !important;
  }
}

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

  .signup-card {
    padding: 2.5rem 1.25rem;
    text-align: center;
  }

  .final-cta-section {
    margin-top: 6rem;
    margin-bottom: 6rem;
  }

  #trial-signup-form {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
    max-width: 100%;
  }

  #trial-signup-form>*,
  .form-group-full,
  #trial-signup-form button[type="submit"],
  #trial-signup-form .plan-indicator {
    grid-column: span 1 !important;
  }

  .hero h1 {
    font-size: 2.6rem;
    letter-spacing: -1px;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 1.5rem;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 1.1rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
    letter-spacing: -0.5px;
  }

  .section-title p {
    font-size: 1rem;
  }

  .form-title {
    font-size: 2.3rem;
    line-height: 1.2;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .plan-indicator {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .plan-indicator-text {
    flex-wrap: wrap;
    justify-content: center;
  }

  .features-8-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 1.25rem;
  }

  html,
  body {
    overflow-x: hidden;
    position: relative;
    max-width: 100%;
  }

  .footer-container {
    padding: 4rem 0;
    margin-top: 10rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding-top: 2.5rem;
  }

  .footer-bottom div {
    justify-content: center;
  }

  .price {
    font-size: 3rem;
  }
}

/* Nova Seção Aplicativo Móvel */
#app-mobile {
  background: radial-gradient(circle at top right, var(--accent-soft), transparent);
  overflow: hidden;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8rem;
  align-items: center;
}

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

.app-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-image-container img {
  width: 100%;
  max-width: 500px;
  border-radius: 40px;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
  transform: rotate(-2deg);
}

.app-image-container:hover img {
  transform: rotate(0deg) translateY(-10px);
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-dark);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-badge i {
  color: #fbbf24;
}

.status-phrase {
  font-weight: 700;
  color: var(--text);
  margin-top: 2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
}

.comparison-phrase {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
  font-style: italic;
}

.whatsapp-box {
  margin-top: 3rem;
  padding: 1.5rem;
  background: rgba(37, 211, 102, 0.05);
  border-radius: 12px;
  border: 1px dashed #25D366;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.whatsapp-box i {
  color: #25D366;
  font-size: 1.5rem;
}

@media (max-width: 1024px) {
  .app-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }

  .app-image-container {
    order: -1;
  }

  .app-image-container img {
    max-width: 300px;
    transform: none;
  }

  .status-phrase {
    border-left: none;
    border-top: 3px solid var(--accent);
    padding-left: 0;
    padding-top: 1rem;
    display: inline-block;
  }

  .whatsapp-box {
    flex-direction: column;
    text-align: center;
  }
}

/* Otimização de Conversão SaaS */
.video-wrapper {
  max-width: 1000px;
  margin: 4rem auto;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-glass);
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
}

.video-play-btn {
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.video-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px var(--accent-soft);
}

.features-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.feature-mini-item {
  background: var(--bg-surface);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--border-glass);
  transition: var(--transition);
}

.feature-mini-item:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.feature-mini-item i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.authority-bar {
  background: var(--bg-dark);
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  margin: 3rem 0;
}

.authority-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff; /* Contraste corrigido (estava escuro no fundo escuro) */
  max-width: 800px;
  margin: 0 auto;
}

.plan-badge-highlight {
  background: #fbbf24;
  color: var(--bg-dark);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: inline-block;
  text-transform: uppercase;
}

.conversion-tagline {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
}





/* Download Badges */
.download-btn-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.download-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #000;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  min-width: 180px;
  position: relative;
  overflow: hidden;
  opacity: 0.8;
  cursor: default;
}

.download-badge:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  opacity: 1;
}

.download-badge i {
  font-size: 1.8rem;
}

.download-badge .badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.download-badge .badge-text span:first-child {
  font-size: 0.65rem;
  text-transform: uppercase;
  opacity: 0.7;
  font-weight: 600;
}

.download-badge .badge-text span:last-child {
  font-size: 1.1rem;
  font-weight: 800;
}

.badge-soon {
  position: absolute;
  top: 5px;
  right: -25px;
  background: var(--accent);
  color: white;
  font-size: 0.5rem;
  padding: 2px 25px;
  transform: rotate(45deg);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.pwa-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 1.5rem;
  border: 1px solid var(--accent-soft);
}


/* Calculator Sliders */
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: var(--border);
  outline: none;
  transition: opacity .2s;
  cursor: pointer;
}

.calc-slider:hover {
  background: #cbd5e1;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.4);
  transition: var(--transition);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 15px rgba(37, 99, 235, 0.6);
}

.calc-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.4);
}

@media (max-width: 1024px) {
  .calc-grid {
    grid-template-columns: 1fr !important;
    gap: 4rem !important;
  }

  .calculator-container {
    padding: 2.5rem !important;
  }
}

.pulse {
  animation: shadowPulse 2s infinite;
}

@keyframes shadowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

/* Novas Utilidades v2.0 */
.badge-new {
  background: var(--success);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
  margin-left: 10px;
  animation: bounce 2s infinite;
}

.sync-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.4);
  animation: syncPulse 2s infinite;
}

@keyframes syncPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-4px);
  }

  60% {
    transform: translateY(-2px);
  }
}

.feature-tag-v2 {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  display: inline-block;
}

/* Premium Effects & Cookie Banner */
@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(25deg);
  }

  100% {
    transform: translateX(200%) rotate(25deg);
  }
}

.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(25deg);
  animation: shimmer 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.browser-mockup {
  position: relative;
}

.browser-mockup::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, var(--accent-soft), transparent 70%);
  z-index: -1;
  opacity: 0.5;
  filter: blur(40px);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  /* Above everything */
  display: none;
  transition: transform 0.4s ease;
  transform: translateY(100%);
}

.cookie-banner.visible {
  display: flex !important;
  transform: translateY(0);
}

.cookie-content {
  background: #0f172a;
  /* Solid dark */
  color: #ffffff;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    text-align: center;
  }
}

.cookie-content {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.25rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
  }
}

.cookie-icon {
  font-size: 1.5rem;
  color: var(--accent);
  background: var(--accent-soft);
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-text p {
  font-size: 0.85rem;
  color: #fff;
  line-height: 1.4;
  margin: 0;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}

.btn-cookie-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-cookie-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.modal-content *,
.modal-content p,
.modal-content h2,
.modal-content h3,
.modal-content h4,
.modal-content li,
.modal-content span,
.modal-content strong {
  color: #1e293b !important;
}

.modal-content .blog-tag {
  background: var(--accent) !important;
  color: #ffffff !important;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.7rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.reveal {
  will-change: transform, opacity;
}

/* Hero Entrance Animation */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-animate {
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.hero-animate-1 {
  animation-delay: 0.1s;
}

.hero-animate-2 {
  animation-delay: 0.3s;
}

.hero-animate-3 {
  animation-delay: 0.5s;
}

.hero-animate-4 {
  animation-delay: 0.7s;
}

/* Top Offer Banner */
.top-banner {
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  color: white;
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  position: relative;
  z-index: 1001;
  letter-spacing: 0.3px;
}

.top-banner a {
  color: #fbbf24;
  text-decoration: underline;
  margin-left: 0.5rem;
}

body {
  padding-top: 0;
}

/* ==========================================================================
   OTIMIZAÇÃO FAQ & UX (Consolidado)
   ========================================================================== */

.faq-accordion-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  cursor: pointer;
  padding: 1.75rem 2.25rem !important;
  transition: var(--transition);
}

.faq-item:hover {
  background: var(--bg-surface);
  border-color: var(--accent);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.faq-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
  line-height: 1.4;
}

.faq-header i {
  color: var(--accent);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.faq-item.active .faq-content {
  max-height: 500px;
  margin-top: 1.25rem;
  opacity: 1;
}

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

.faq-item.special {
  border-color: var(--accent);
  background: linear-gradient(to right, #ffffff, var(--accent-soft));
}

/* Ajuste Sticky CTA Mobile */
.mobile-cta-sticky {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2000;
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: none;
}

@media (max-width: 1024px) {
  .mobile-cta-sticky {
    display: block;
  }

  .mobile-cta-sticky.visible {
    transform: translateY(0);
  }
}

/* =========================================
   AJUSTES DE RESPONSIVIDADE PARA NOTEBOOKS
   ========================================= */
@media (max-width: 1440px) {

  /* Reduz os textos gigantes da Hero */
  .hero {
    padding-top: 10rem;
    padding-bottom: 8rem;
  }

  .hero h1 {
    font-size: 3.5rem;
    letter-spacing: -2px;
  }

  .hero p {
    font-size: 1.15rem;
    max-width: 700px;
    margin-bottom: 2.5rem;
  }

  /* Reduz os espaços em branco exagerados entre seções */
  section {
    padding: 3rem 0;
  }

  .section-title {
    margin-bottom: 3.5rem;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  /* Ajusta o Grid e os espaçamentos internos */
  .glass-card {
    padding: 3rem;
  }

  .features-8-grid {
    gap: 1.5rem;
    margin-top: 4rem;
  }

  .f-card {
    padding: 2rem;
  }

  /* Ajusta os valores da calculadora */
  .calc-res-value {
    font-size: 2.2rem;
  }

  .savings-value {
    font-size: 2.8rem;
  }
}

@media (max-width: 1024px) {

  /* Para notebooks ainda menores / Tablets */
  .features-8-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 3rem;
  }
}

/* Prevenção de FOUC removida para garantir que nada suma da tela */

/* ═══════════════════════════════════════════════════════════════
   ANIMAÇÕES PREMIUM — Suporte às bibliotecas Three.js/GSAP/Anime/Motion
   ═══════════════════════════════════════════════════════════════ */

/* ─── FAQ ACCORDION ─── */
.faq-item .faq-content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  /* Anime.js controla max-height e opacity diretamente */
}

/* Remove o toggle CSS do FAQ (Anime.js assume o controle) */
.faq-item.active .faq-content {
  /* Não setar max-height aqui — o Anime.js gerencia */
}

.faq-item .faq-header {
  cursor: pointer;
  user-select: none;
}

/* ─── STEPS — Linha de progresso ─── */
.steps-grid {
  position: relative;
}

#steps-progress-line {
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #7c3aed);
  border-radius: 2px;
  z-index: 0;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(10, 132, 255, 0.5);
  transform: translateY(-50%);
}

/* Garante que step cards fiquem acima da linha */
.step-card {
  position: relative;
  z-index: 1;
}

/* ─── STEP NUMBER GLOW ─── */
.step-number {
  transition: box-shadow 0.3s ease;
}

/* ─── BLOG CARDS — Tilt 3D ─── */
.blog-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ─── COOKIE BANNER — Motion.dev ─── */
#cookie-banner {
  /* Motion.dev controla transform/opacity */
  will-change: transform, opacity;
}

/* ─── APP MOCKUP — Float animation ─── */
.app-image-container {
  /* will-change apenas quando animando (adicionado via JS) */
}

/* ─── CALCULADORA — Canvas Three.js ─── */
.calculator-container {
  position: relative;
  overflow: hidden;
}

#calc-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  border-radius: 24px;
  opacity: 0.45;
}

.calculator-container > *:not(#calc-canvas) {
  position: relative;
  z-index: 1;
}

/* ─── GLASS CARDS — Spotlight Effect aprimorado ─── */
.glass-card,
.f-card,
.floating-card,
.step-card,
.blog-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
  background-image: radial-gradient(
    300px circle at var(--mouse-x) var(--mouse-y),
    rgba(10, 132, 255, 0.06),
    transparent 60%
  );
  background-blend-mode: normal;
  transition: background-image 0.1s;
}

/* ─── SECTION TITLE — Overflow hidden para clip-path ─── */
.section-title h2 {
  overflow: hidden;
}

/* ─── MOBILE MENU — Motion.dev ─── */
#nav-links {
  /* will-change aplicado somente durante abertura */
}

/* ─── IMAGES — Parallax ─── */
/* will-change adicionado dinamicamente pelo GSAP via ScrollTrigger */

/* ─── PERFORMANCE — Reduce Motion ─── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .app-image-container {
    animation: none !important;
  }

  #steps-progress-line {
    width: 100% !important;
  }
}

/* ─── SHIMMER — Card Profissional Pricing — usa transform (GPU) ─── */
@keyframes shimmer-price {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.pricing-grid .glass-card:nth-child(2) {
  overflow: hidden;
}

.pricing-grid .glass-card:nth-child(2)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(10, 132, 255, 0.06) 50%,
    transparent 60%
  );
  animation: shimmer-price 4s infinite linear;
  pointer-events: none;
}
