/* ============================================
   AKOUND LANDING PAGE - NOVA V1
   Design: Gelo + Púrpuras + Glassmorphism
   Performance: Otimizado para GTmetrix
   ============================================ */

/* CSS Variables (Design Tokens) */
:root {
  /* Colors - Brand */
  --brand-purple: #6726E4;
  --brand-purple-2: #9620DB;
  --brand-blue: #1A97D2;
  --brand-cyan: #1D98A4;

  /* Colors - Neutrals */
  --bg-ice: #F6F8FB;
  --surface: #FFFFFF;
  --line: #E7E9EE;
  --text: #1E232B;
  --text-muted: #646D76;
  --text-slate: #636794;

  /* Gradients */
  --gradient-brand: linear-gradient(90deg, #9620DB 0%, #1A97D2 50%, #1D98A4 100%);
  --gradient-purple: linear-gradient(135deg, #6726E4, #9620DB);
  --gradient-blue: linear-gradient(135deg, #1A97D2, #1D98A4);

  /* Shadows - Glassmorphism */
  --shadow-glass: 0 8px 32px rgba(103, 38, 228, 0.08);
  --shadow-card: 0 4px 16px rgba(30, 35, 43, 0.06);
  --shadow-hover: 0 12px 40px rgba(103, 38, 228, 0.15);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Transitions */
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-ice);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: var(--space-md);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--brand-purple);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--brand-purple-2);
}

strong {
  font-weight: 600;
  color: var(--brand-purple);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

/* Glass Card (Glassmorphism) */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(231, 233, 238, 0.8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glass);
  transition: all var(--transition-smooth);
}

.glass-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #FF6B35 0%, #E84855 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.4);
  color: #FFFFFF;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-large {
  padding: 1.125rem 2.25rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

.btn-header {
  display: none;
}

@media (min-width: 1024px) {
  .btn-header {
    display: inline-flex;
  }
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  background: rgba(103, 38, 228, 0.08);
  border: 1px solid rgba(103, 38, 228, 0.15);
  color: var(--brand-purple);
}

/* Section */
.section {
  padding: var(--space-3xl) 0;
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-2xl) 0;
  }
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
}

.section-tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-purple);
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
}

.fade-up {
  animation: fadeUp 0.8s ease-out forwards;
  opacity: 0;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 248, 251, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: var(--space-md) 0;
  transition: all var(--transition-base);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.logo img {
  display: block;
  height: 32px;
  width: auto;
}

.nav {
  display: none;
  gap: var(--space-lg);
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-slate);
  transition: color var(--transition-base);
}

.nav a:hover {
  color: var(--brand-purple);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

/* Hero Section */
.hero {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: start;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

/* Tablet landscape - ajustes específicos */
@media (min-width: 768px) and (max-width: 1099px) {
  .container {
    padding: 0 var(--space-lg);
  }

  .hero-grid {
    gap: var(--space-lg);
  }

  .calculator-card {
    padding: var(--space-lg);
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.trust-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.badge-stars {
  color: #FFB800;
}

.badge-text strong {
  color: var(--text);
  font-weight: 600;
}

.divider {
  color: var(--line);
}

.hero-title {
  margin-bottom: 0;
}

.highlight {
  background: linear-gradient(135deg, #6726E4, #9620DB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.cta-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
}

.social-proof-quick {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-md);
  background: rgba(103, 38, 228, 0.04);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(103, 38, 228, 0.1);
}

.avatars {
  display: flex;
  gap: -8px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1.125rem;
  border: 3px solid var(--surface);
  margin-left: -8px;
}

.avatar:first-child {
  margin-left: 0;
}

.social-text {
  font-size: 0.9375rem;
  margin: 0;
  flex: 1;
}

.social-text strong {
  color: var(--text);
}

/* Calculator Card */
.hero-calculator {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.calculator-card {
  padding: var(--space-xl);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.card-header {
  margin-bottom: var(--space-lg);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.card-subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.calculator-inputs {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.input-label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-slate);
}

.tooltip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: white;
  font-size: 0.875rem;
  cursor: help;
  position: relative;
}

.tooltip:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-xs) var(--space-sm);
  background: var(--text);
  color: white;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  margin-bottom: var(--space-xs);
  z-index: 10;
}

.slider-container {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: var(--radius-full);
  background: linear-gradient(to right, var(--brand-purple) 0%, var(--brand-purple) 24%, var(--line) 24%, var(--line) 100%);
  outline: none;
  transition: all var(--transition-base);
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6726E4, #9620DB);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(103, 38, 228, 0.3);
  transition: all var(--transition-base);
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(103, 38, 228, 0.4);
}

.slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6726E4, #9620DB);
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(103, 38, 228, 0.3);
}

.output-value {
  min-width: 100px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--brand-purple);
  background: rgba(103, 38, 228, 0.08);
  border-radius: var(--radius-sm);
  text-align: right;
}

/* Calculator Result */
.calculator-result {
  background: linear-gradient(135deg, rgba(103, 38, 228, 0.08), rgba(26, 151, 210, 0.08));
  border: 2px solid rgba(103, 38, 228, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.result-main {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.result-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.result-amount {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
}

.result-note {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.result-roi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.roi-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
}

.roi-highlight {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(232, 72, 85, 0.12));
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.roi-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}

.roi-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-purple);
}

.roi-big {
  font-size: 1.75rem;
  background: linear-gradient(135deg, #FF6B35, #E84855);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.roi-detail {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.calculator-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.calculator-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
}

/* Problem Section */
.section-problem {
  background: linear-gradient(180deg, var(--bg-ice) 0%, #FFFFFF 100%);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 640px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.problem-card {
  padding: var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
}

.problem-card:hover {
  border-color: var(--brand-purple);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.problem-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.problem-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.problem-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Before/After */
.before-after {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .before-after {
    grid-template-columns: 1fr 1fr;
  }
}

.before-after-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.before-after-title {
  font-size: 1.25rem;
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--line);
}

.before-after-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.before-after-list li {
  padding-left: var(--space-lg);
  position: relative;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.before-after-list li::before {
  content: '❌';
  position: absolute;
  left: 0;
}

.before-after-list.success li {
  color: var(--text);
}

.before-after-list.success li::before {
  content: '✅';
}

/* Solution Section */
.section-solution {
  background: #FFFFFF;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.step {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 768px) {
  .step {
    grid-template-columns: 60px 1fr 1fr;
  }

  .step:nth-child(even) {
    direction: rtl;
  }

  .step:nth-child(even) > * {
    direction: ltr;
  }
}

.step-number {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-purple);
  color: white;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(103, 38, 228, 0.25);
  flex-shrink: 0;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 0;
}

.step-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.step-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-placeholder {
  width: 100%;
  max-width: 240px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-ice);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

/* Result Banner */
.result-banner {
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(103, 38, 228, 0.08), rgba(26, 151, 210, 0.08));
  border: 2px solid rgba(103, 38, 228, 0.15);
  border-radius: var(--radius-xl);
}

.result-banner-content {
  text-align: center;
}

.result-banner-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Features Section */
.section-features {
  background: var(--bg-ice);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  padding: var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
}

.feature-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.feature-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.feature-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Testimonials Section */
.section-testimonials {
  background: #FFFFFF;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  padding: var(--space-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.testimonial-rating {
  margin-bottom: var(--space-md);
  font-size: 1.125rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.author-role {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--bg-ice);
  border-radius: var(--radius-xl);
}

.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-purple);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* FAQ Section */
.section-faq {
  background: var(--bg-ice);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--brand-purple);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-base);
}

.faq-question:hover {
  color: var(--brand-purple);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.faq-question[aria-expanded="true"] + .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-muted);
  margin-bottom: 0;
}

/* CTA Final Section */
.section-cta-final {
  background: linear-gradient(180deg, var(--bg-ice) 0%, #FFFFFF 100%);
}

.cta-final-card {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-3xl);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(232, 72, 85, 0.08));
  border: 2px solid rgba(255, 107, 53, 0.2);
  border-radius: var(--radius-xl);
  text-align: center;
}

.cta-final-title {
  margin-bottom: var(--space-md);
}

.cta-final-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

.cta-final-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.cta-final-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

.trust-signals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--line);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

@media (min-width: 640px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  margin-bottom: var(--space-md);
  filter: brightness(0) invert(1);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: var(--space-md);
}

.footer-links,
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  transition: color var(--transition-base);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: white;
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-copy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-smooth);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 8px rgba(37, 211, 102, 0.2);
  }
}

/* Responsive Adjustments */
@media (max-width: 640px) {
  /* Força todos os elementos a respeitarem o container */
  * {
    max-width: 100%;
  }

  .container {
    padding: 0 1rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hero-content,
  .hero-calculator {
    width: 100%;
    min-width: 0;
  }

  .calculator-card {
    padding: var(--space-lg);
  }

  .social-proof-quick {
    padding: var(--space-md);
  }

  /* Reduz padding da calculadora em mobile */
  .result-roi {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .roi-item {
    padding: var(--space-sm);
    font-size: 0.8125rem;
  }

  .roi-value {
    font-size: 1.125rem;
  }

  .roi-big {
    font-size: 1.5rem;
  }

  .before-after {
    padding: var(--space-lg);
  }

  .cta-final-card {
    padding: var(--space-xl);
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 16px;
    right: 16px;
  }

  /* Garante que títulos não quebrem de forma estranha */
  h1, h2, h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  /* Garante que botões não ultrapassem */
  .btn {
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* Performance Optimizations */
* {
  will-change: auto;
}

.glass-card,
.btn,
.problem-card,
.feature-card,
.testimonial-card {
  will-change: transform;
}

/* Print Styles */
@media print {
  .header,
  .whatsapp-float,
  .btn,
  .calculator-cta {
    display: none;
  }
}
