:root {
  --bg: #fafbfc;
  --bg-secondary: #f8fafc;
  --surface: #ffffff;
  --surface-hover: #f1f5f9;
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --accent: #d97706;
  --accent-light: #f59e0b;
  --success: #059669;
  --text: #1f2937;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --border-light: #d1d5db;
  --purple: #7c3aed;
  --purple-light: #8b5cf6;
  --gradient-primary: linear-gradient(135deg, #1e40af, #3b82f6);
  --gradient-accent: linear-gradient(135deg, #d97706, #f59e0b);
  --gradient-surface: linear-gradient(135deg, rgba(30,64,175,0.05), rgba(5,150,105,0.03));
  --gradient-hero: linear-gradient(135deg, #fafbfc 0%, #f0f9ff 50%, #fef3c7 100%);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px; /* Tamanho base para evitar zoom no iOS */
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* Navigation */
.nav {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  box-shadow: var(--shadow);
}

.nav-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 767px) {
  .nav-content {
    flex-direction: column;
    gap: 1rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: clamp(1.25rem, 5vw, 1.5625rem);
  color: var(--text);
  text-decoration: none;
  margin: 0 auto 10px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: var(--shadow);
  position: relative;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 767px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient-primary);
  color: white;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
  padding: 3rem 0 4rem;
  text-align: center;
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .hero { padding: 5rem 0 6rem; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 64, 175, 0.08);
  border: 1px solid rgba(30, 64, 175, 0.2);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.125rem); /* Aumentado para mobile */
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(30, 64, 175, 0.1);
}

.badge span {
  font-size: 20px; /* Aumentado para melhor visibilidade */
}

.hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 6vw, 3.5rem); /* Aumentado significativamente para mobile */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text);
}

.accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.hero p {
  font-size: clamp(1.125rem, 3vw, 1.25rem); /* Aumentado para mobile */
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .btn-group {
    flex-direction: row;
    justify-content: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.125rem 2rem; /* Aumentado padding para melhor toque */
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  min-width: 200px;
  font-size: 22px;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: rgba(21, 128, 61, 1);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
  margin: auto auto 0;
}

/* Removendo CSS crítico que agora está inline no index.html */

/* Sections */
section {
  padding: 2.5rem 0;
}

@media (min-width: 768px) {
  section { padding: 4rem 0; }
}

.section-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem); /* Aumentado significativamente para mobile */
  font-weight: 800;
  margin: 50px 0 16px;
  text-align: center;
  color: var(--text);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.2;
}

/* Problem section specific styling */
.problem-section {
  display: flex;
  flex-direction: column;
}

.problem-section .section-title {
  text-align: left;
  margin: 0 auto 32px;
}

.problem-content {
  display: flex;
  flex-direction: column;
}

/* Section-specific margin overrides */
#para-quem .section-title,
#beneficios .section-title,
#objecoes .section-title,
#provas .section-title {
  margin: 80px 0 16px;
}

#planos .section-title {
  margin: 50px 0 16px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

/* Grid System */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-1 { grid-template-columns: 1fr; }
.grid-2 { 
  grid-template-columns: 1fr;
  gap: 2rem;
}
.grid-3 { 
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid { gap: 2rem; }
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
  border-color: var(--primary-light);
}

.card h3 {
  font-size: clamp(1.25rem, 4vw, 1.375rem); /* Aumentado significativamente para mobile */
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
  line-height: 1.3;
}

.card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: clamp(1rem, 3vw, 1.125rem); /* Aumentado para mobile */
}

/* Product Cards */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-light);
}

.product-badge {
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 30px;
  display: inline-block;
}

.mockup {
  width: 100%;
  height: 200px;
  background: var(--gradient-surface);
  border-radius: var(--radius);
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Problem Section */
.problem-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .problem-section {
    padding: 3rem;
  }
}

.problem-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .problem-grid {
    grid-template-columns: 2fr 1fr;
    align-items: start;
    gap: 3rem;
  }
}

.notice {
  background: rgba(30, 64, 175, 0.05);
  border: 2px dashed rgba(30, 64, 175, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--primary);
  line-height: 1.7;
}

.notice strong {
  color: var(--primary-dark);
}

/* List Items */
.list {
  display: grid;
  gap: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.list-item:hover {
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.check-icon {
  width: 28px;
  height: 28px;
  background: rgba(5, 150, 105, 0.15);
  border: 2px solid rgba(5, 150, 105, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  font-weight: 800;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Objections */
.objections-container {
  max-width: 800px;
  margin: 0 auto;
}

.objection {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.objection summary {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  transition: all 0.2s;
  color: var(--text);
}

.objection summary:hover {
  background: var(--surface-hover);
}

.objection summary::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s;
  color: var(--primary);
  font-weight: 300;
}

.objection[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.objection-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

.price-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.price-card.recommended {
  border-color: var(--accent);
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.price-card.recommended:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.price-card.recommended .price {
  margin: 0 0 8px;
}

.recommended-badge {
  position: absolute;
  top: -1px;
  left: 85px;
  transform: translateX(-84.8906px);
  background: var(--gradient-accent);
  color: white;
  padding: 0 10px 8px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  font-size: 33px;
  box-shadow: var(--shadow);
  z-index: 1;
  height: 55px;
  width: 100%;
  flex-grow: 1;
  text-align: center;
  margin: auto;
}

.price-header {
  padding: 85px 9px 0;
  text-align: center;
}

.price-card.recommended .price-header {
  padding: 48px 10px 0;
}

.price-title {
  font-size: 45px;
  font-weight: 800;
  color: var(--text);
  margin: 20px -25px 0;
  text-align: center;
  line-height: 40px;
}

.price-card-image {
  object-fit: cover;
  object-position: center;
  width: 100%;
  margin-top: 40px;
  min-height: 0px;
  min-width: 20px;
  overflow: hidden;
}

.price-content {
  padding: 0 2rem 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.price {
  font-size: 80px;
  font-weight: 800;
  color: var(--accent);
  text-align: center;
  margin: -15px 0 8px;
}

.price-cents {
  font-size: 50px;
  font-weight: 600;
}

.price-period {
  color: var(--text-muted);
  font-size: 18px;
  text-align: center;
  margin-bottom: 2rem;
}

.features-list {
  margin-bottom: 2rem;
  flex-grow: 1;
  font-size: 18px;
  line-height: 15px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 5px;
  padding: 5px 0;
  font-size: 22px;
  font-weight: 600;
}

.feature-dot {
  width: 8px;
  height: 8px;
  background: rgba(21, 128, 61, 1);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.feature div {
  color: var(--text-secondary);
  font-size: 22px;
  line-height: 1.5;
}

/* Pricing feature styling overrides */
.price-card .feature div:last-child {
  color: rgba(31, 41, 55, 1);
  font-weight: 600;
}

/* Feature excluded styling */
.feature-excluded {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 5px;
  padding: 5px 0;
  font-size: 22px;
}

.feature-x {
  color: rgba(208, 2, 27, 1);
  font-size: 15.2px;
  margin-top: 8px;
  margin-bottom: auto;
  flex-shrink: 0;
}

.feature-text-strikethrough {
  color: rgba(212, 212, 212, 1);
  font-size: 22px;
  font-weight: 400;
  line-height: 22.8px;
  text-decoration: line-through;
  margin: auto 0;
}

.feature-text-normal {
  color: rgb(75, 85, 99);
  font-size: clamp(0.875rem, 3vw, 0.95rem);
  font-weight: 400;
  line-height: 22.8px;
  margin: auto 0;
}

.feature-text-transparent {
  color: rgba(0, 0, 0, 0.19);
  font-size: clamp(0.875rem, 3vw, 0.95rem);
  font-weight: 400;
  line-height: 22.8px;
  margin: auto 0;
}

.feature-text-bold {
  color: rgba(31, 41, 55, 1);
  font-size: clamp(0.875rem, 3vw, 0.95rem);
  font-weight: 600;
  line-height: 22.8px;
}

/* Testimonials */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--success);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--accent);
}

.testimonial-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  font-size: clamp(1.125rem, 3vw, 1.25rem); /* Aumentado para mobile */
}

.testimonial-card strong {
  color: var(--text);
  font-style: normal;
}

/* Footer */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  text-align: center;
  color: var(--text-muted);
  margin-top: 2rem;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 2rem 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* Mobile Optimizations */
@media (max-width: 640px) {
  .btn {
    width: 100%;
    max-width: 300px; /* Aumentado para melhor usabilidade */
    padding: 1.25rem 1.75rem; /* Aumentado padding */
    font-size: 1.125rem; /* Tamanho fixo para mobile */
  }
  
  .pricing-grid {
    gap: 1.5rem;
  }
  
  .price-card {
    margin: 0;
  }
  
  .price-card.recommended {
    transform: scale(1);
    margin: 1rem 0;
  }
  
  .price-card.recommended:hover {
    transform: scale(1) translateY(-4px);
  }
  
  .price-content,
  .price-header {
    padding: 1.5rem;
  }
  
  .price-card.recommended .price-header {
    padding-top: 2.5rem;
  }
  
  .hero {
    padding: 2rem 0 3rem;
  }
  
  .hero h1 {
    font-size: clamp(2.25rem, 7vw, 3rem); /* Ainda maior para mobile */
    line-height: 1.1;
  }
  
  .hero p {
    font-size: 1.125rem; /* Tamanho fixo para mobile */
    line-height: 1.7;
  }
  
  .section-title {
    font-size: clamp(2rem, 6vw, 2.25rem); /* Ainda maior para mobile */
    line-height: 1.1;
    margin: 40px 0 20px;
  }
  
  .card h3 {
    font-size: 1.375rem; /* Tamanho fixo para mobile */
    line-height: 1.2;
  }
  
  .card p {
    font-size: 1.125rem; /* Tamanho fixo para mobile */
    line-height: 1.7;
  }
  
  .badge {
    font-size: 1.125rem; /* Tamanho fixo para mobile */
    padding: 0.875rem 1.75rem;
  }
  
  .logo {
    font-size: 1.75rem; /* Tamanho fixo para mobile */
  }
  
  .product-card {
    padding: 1.5rem;
  }
  
  .mockup {
    height: 180px;
  }
  
  .problem-section {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .notice {
    font-size: 1.125rem; /* Tamanho fixo para mobile */
    line-height: 1.8;
    padding: 1.5rem;
  }
}

/* Enhanced Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
.nav-cta:focus,
summary:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Smooth transitions */
* {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
