/* ============================================
   VIZIER - MAIN.CSS (OTIMIZADO v3.1)
   Correções: mobile animations, overflow, z-index,
   theme-color support, favicon, alinhamento
   ============================================ */

/* ===== VARIABLES ===== */
:root {
  --primary: #022742;
  --primary-dark: #011a2e;
  --primary-light: #1a5276;
  --secondary: #10b981;
  --secondary-dark: #059669;
  --accent: #f59e0b;
  --accent-light: #fbbf24;

  --neutral-light: #f8fafc;
  --neutral: #e2e8f0;
  --neutral-dark: #64748b;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-light: #94a3b8;
  --white: #ffffff;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1200px;
  --header-height: 72px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  overflow-wrap: break-word;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
  text-align: center !important;
}

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

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }

.bg-light { background: var(--neutral-light); }
.bg-primary { background: var(--primary); }
.bg-white { background: var(--white); }

.grid {
  display: grid;
  gap: 1.5rem;
  align-items: center !important;
}

.grid > * {
  min-width: 0;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

.flex {
  display: flex;
  gap: 1rem;
}

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.25rem); }

p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  transition: var(--transition);
  text-align: center;
  min-height: 48px;
  min-width: 44px;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover,
.btn-primary:active {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover,
.btn-secondary:active {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--secondary);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-whatsapp:hover,
.btn-whatsapp:active {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background: var(--accent);
  color: var(--text-primary);
  font-weight: 700;
}

.btn-accent:hover,
.btn-accent:active {
  background: var(--accent-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.125rem;
}

/* Button disabled state */
.btn:disabled,
.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Disabled state variations */
.btn-primary:disabled,
.btn-primary[disabled] {
  background: var(--primary);
  color: var(--white);
}

.btn-secondary:disabled,
.btn-secondary[disabled] {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-whatsapp:disabled,
.btn-whatsapp[disabled] {
  background: var(--secondary);
  color: var(--white);
}

.btn-accent:disabled,
.btn-accent[disabled] {
  background: var(--accent);
  color: var(--text-primary);
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--neutral);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.card:hover,
.card:active {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  z-index: 2;
}

.card-badge.hot {
  background: var(--accent);
  color: var(--text-primary);
  animation: pulse-badge 2s infinite;
}

.card-badge.best {
  background: var(--secondary);
  color: var(--white);
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.card-pro {
  border: 2px solid var(--secondary);
  background: linear-gradient(180deg, var(--white) 0%, rgba(16, 185, 129, 0.05) 100%);
  position: relative;
}

.card-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-dark));
}

/* CORREÇÃO: card-tax não corta mais texto */
.card-tax {
  border: 2px solid var(--accent);
  padding-top: 2.5rem;
  padding-right: 2.5rem;
}

.card-tax::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  border-top-right-radius: var(--radius-lg);
  z-index: 0;
  pointer-events: none;
}

.card-tax .card-icon,
.card-tax .card-title,
.card-tax .card-text,
.card-tax .btn {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: rgba(30, 64, 175, 0.08);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ===== HEADER & NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neutral);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.03em;
}

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

.nav-desktop {
  display: none;
}

.nav-desktop a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-desktop a:hover {
  color: var(--primary);
  background: rgba(30, 64, 175, 0.08);
}

.nav-cta {
  display: none;
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1002;
  overflow-y: auto;
}

.nav-mobile.active {
  transform: translateX(0);
}

.nav-mobile a {
  display: block;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--neutral);
}

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

.nav-mobile .btn {
  margin-top: 1.5rem;
  width: 100%;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text-primary);
  color: var(--white);
  padding: 60px 0 0;
}

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

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  max-width: 300px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

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

.footer-social a:hover,
.footer-social a:active {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.footer-links a {
  display: block;
  padding: 0.4rem 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-links a:active {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

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

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal a {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

.footer-legal a:hover {
  color: var(--white);
}

/* ===== SECTIONS ===== */
.section {
  min-height: 100vh;
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.section-alt {
  background: var(--neutral-light);
}

/* Hero */
.hero {
  min-height: 100vh !important;
  min-height: 100dvh !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  background: linear-gradient(135deg, var(--neutral-light) 0%, var(--white) 50%, rgba(30, 64, 175, 0.03) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(30, 64, 175, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.hero-title em {
  color: var(--primary);
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.about-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.about-image::before {
  content: '';
  position: absolute;
  bottom: -12px;
  left: -12px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary);
  border-radius: var(--radius-xl);
  z-index: -1;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Process */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}

.process-step:hover,
.process-step:active {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.process-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}

.process-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

/* Differentials */
.differentials-grid {
  margin-top: 2rem;
}

.differential {
  text-align: center;
  padding: 2rem 1.5rem;
}

.differential-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--white);
  font-size: 1.75rem;
}

.differential-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

/* Pricing */
.pricing-grid {
  margin-top: 2rem;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
}

.pricing-card .card-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-card .card-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.pricing-features {
  flex: 1;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Numbers */
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.number-item {
  text-align: center;
}

.number-value {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.number-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/*
/* App */
.app-section .about-grid {
  direction: rtl;
}

.app-section .about-content {
  direction: ltr;
}

.app-badges {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--text-primary);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.app-badge:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

*/
/* Testimonials */
.testimonials-grid {
  margin-top: 2rem;
}

.testimonial {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.15;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
  font-weight: 700;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

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

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

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

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

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

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.faq-answer > * {
  overflow: hidden;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-answer p {
  padding: 0 0 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== MODAL & FORMS ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  padding: 2.25rem;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  overscroll-behavior: contain;
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--neutral-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-secondary);
  transition: var(--transition);
  line-height: 1;
}

.modal-close:hover,
.modal-close:active {
  background: var(--neutral);
  color: var(--text-primary);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  padding-right: 2rem;
  letter-spacing: -0.02em;
}

.modal-subtitle {
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.875rem 1rem;
  border: 2px solid var(--neutral);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--white);
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.35rem;
  display: none;
  font-weight: 500;
}

.form-group.error .form-error {
  display: block;
}

.form-group.error .form-input,
.form-group.error .form-select {
  border-color: #ef4444;
  background: #fef2f2;
}

.form-success {
  text-align: center;
  padding: 2rem 1rem;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.12s; }
.animate-delay-2 { transition-delay: 0.24s; }
.animate-delay-3 { transition-delay: 0.36s; }
.animate-delay-4 { transition-delay: 0.48s; }
.animate-delay-5 { transition-delay: 0.60s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .animate { opacity: 1; transform: none; }
}

/* ===== LGPD / COOKIES ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-primary);
  color: var(--white);
  padding: 1rem;
  z-index: 1999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  max-width: var(--container);
  margin: 0 auto;
}

.cookie-content p {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  margin: 0;
}

.cookie-content a {
  color: var(--secondary);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 1500;
  transition: var(--transition);
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: var(--secondary-dark);
}

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

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
  .container { padding: 0 24px; }
  .section { padding: 100px 0; }

  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-image::before {
    bottom: -20px;
    left: -20px;
  }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-steps::before {
    content: '';
    position: absolute;
    top: 72px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    z-index: 0;
  }
  .process-step { z-index: 1; }
  .numbers-grid { grid-template-columns: repeat(4, 1fr); }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    align-items: start;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  .nav-cta {
    display: flex;
    gap: 0.75rem;
  }
  .mobile-toggle { display: none; }

  .cookie-content {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .container { padding: 0 48px; }
  .section { padding: 120px 0; }
  .hero { padding-top: var(--header-height); }
  .hero-content { max-width: 60%; }
}

@media (max-width: 767px) {
  .hero-content { text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-stats { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .about-content { text-align: center; }
  .about-badges { justify-content: center; }
  .footer-grid > * { text-align: center; }
  .footer-brand p { margin: 0 auto; }
  .footer-contact p { justify-content: center; }
  .modal { padding: 1.5rem; }
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

@media print {
  .header, .footer, .cookie-banner, .modal-overlay, .nav-mobile {
    display: none !important;
  }
  .section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  a { text-decoration: underline; }
}