/**
 * Landing Page Styles — Atendimento Mais
 *
 * Isolated stylesheet for public pages (/, /cadastro, /termos, /politica)
 * Does NOT inherit from assets/style.css (painel operacional)
 *
 * Design System:
 * - Green palette: vibrant #18CE36, deep #00543B
 * - Typography: Inter (SaaS modern), system-ui fallback
 * - Max-width: 1280px (corporate SaaS standard)
 * - Breakpoints: 1280 (desktop), 920 (tablet), 640 (mobile), 360 (small phone)
 * - Mode: Light-only (no theme toggle on landing)
 */

/* ─────────────────────────────────────────────────────────────────────────── */
/* Reset & Base */
/* ─────────────────────────────────────────────────────────────────────────── */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: #142C23;
  line-height: 1.6;
  font-size: 1rem;
  /* Fundo fixo do site inteiro (efeito parallax na página toda), com a imagem
     clareada via véu branco por cima (technique de overlay — não dá para usar
     opacity direto sem afetar o texto). Véu a 0.8 deixa a imagem bem mais
     clara/sutil. Mobile ignora 'fixed'. */
  background-color: #FFFFFF;
  /* Fallback JPG para navegadores sem image-set */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
    url("hero-bg.jpg?v=20260829");
  /* WebP com fallback JPG (image-set) */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
    image-set(url("hero-bg.webp?v=20260829") type("image/webp"), url("hero-bg.jpg?v=20260829") type("image/jpeg"));
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
    -webkit-image-set(url("hero-bg.webp?v=20260829") type("image/webp"), url("hero-bg.jpg?v=20260829") type("image/jpeg"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* Design Tokens (CSS Variables) */
/* ─────────────────────────────────────────────────────────────────────────── */

:root {
  /* Brand Colors */
  --green-vibrant: #18CE36;
  --green-dark: #00543B;
  --white: #FFFFFF;
  --gray-bg: #F4F8F6;
  --gray-light: #E8EDE9;
  --text-primary: #142C23;
  --text-secondary: #52645C;
  --text-muted: #7A8680;
  --border-subtle: rgba(0, 84, 59, 0.15);

  /* Spacing (8px grid) */
  --sp-xs: 0.5rem;    /* 8px */
  --sp-sm: 1rem;      /* 16px */
  --sp-md: 1.5rem;    /* 24px */
  --sp-lg: 2rem;      /* 32px */
  --sp-xl: 3rem;      /* 48px */
  --sp-2xl: 4rem;     /* 64px */

  /* Typography */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */
  --font-size-5xl: 3rem;      /* 48px */

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 64px rgba(0, 84, 59, 0.1);

  /* Touch Targets */
  --tap-target: 48px;
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* Typography */
/* ─────────────────────────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(1.875rem, 6vw, 3rem);
  margin-bottom: var(--sp-lg);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: var(--sp-md);
}

h3 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  margin-bottom: var(--sp-sm);
}

h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--sp-xs);
}

p {
  margin-bottom: var(--sp-sm);
  color: var(--text-secondary);
}

p.muted {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

a {
  color: var(--green-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--green-dark);
}

strong {
  font-weight: 600;
  color: var(--text-primary);
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* Layout Container */
/* ─────────────────────────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

section {
  padding: var(--sp-2xl) 0;
  /* Transparente: a imagem a 50% do body aparece uniforme por trás. */
  background: transparent;
}

@media (max-width: 920px) {
  section {
    padding: var(--sp-xl) 0;
  }
}

@media (max-width: 640px) {
  section {
    padding: var(--sp-lg) 0;
  }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* Header / Top Navigation */
/* ─────────────────────────────────────────────────────────────────────────── */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--sp-sm) 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
  gap: var(--sp-md);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex: 0 0 auto;
}

.logo-area img {
  height: 48px;
  width: auto;
  display: block;
}

.logo-text {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.nav-center {
  display: flex;
  gap: var(--sp-lg);
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
}

.nav-center a {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-secondary);
  padding: var(--sp-xs) var(--sp-sm);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-center a:hover {
  color: var(--green-dark);
  background: rgba(0, 84, 59, 0.05);
}

.nav-right {
  display: flex;
  gap: var(--sp-sm);
  align-items: center;
  flex: 0 0 auto;
}

/* Buttons in header */
.btn-secondary-ghost,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--tap-target);
  padding: 0 var(--sp-md);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border: 0;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-secondary-ghost {
  background: transparent;
  color: var(--green-dark);
  border: 1.5px solid var(--green-dark);
}

.btn-secondary-ghost:hover {
  background: rgba(0, 84, 59, 0.1);
}

.btn-primary {
  background: var(--green-vibrant);
  color: #000;
  font-weight: 700;
}

.btn-primary:hover {
  background: #16b82f;
  box-shadow: 0 6px 20px rgba(24, 206, 54, 0.25);
}

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

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-xs);
  color: var(--text-primary);
  font-size: 1.5rem;
}

@media (max-width: 920px) {
  .nav-center {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  /* Menu mobile aberto: nav vira painel vertical sob o header */
  .nav-center.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    padding: var(--sp-sm) 0;
  }

  .nav-center.open a {
    padding: var(--sp-md) var(--sp-md);
    border-radius: 0;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .top-bar {
    padding: 0 var(--sp-sm);
    gap: var(--sp-sm);
  }

  .logo-area img {
    height: 40px;
  }

  .nav-right {
    gap: var(--sp-xs);
  }

  .btn-secondary-ghost,
  .btn-primary {
    padding: 0 var(--sp-md);
    height: 44px;
    font-size: var(--font-size-xs);
  }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* Hero Section */
/* ─────────────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: var(--sp-2xl) 0;
  text-align: center;
  overflow: hidden;
  /* Fundo transparente: mostra a imagem fixa do body por trás. */
  background: transparent;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.hero h1 {
  color: var(--green-dark);
  margin-bottom: var(--sp-md);
  max-width: 900px;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--sp-2xl);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: var(--sp-md);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-2xl);
}

.btn-large {
  height: 54px;
  padding: 0 var(--sp-xl);
  font-size: var(--font-size-base);
  font-weight: 700;
  border: 0;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-large.primary {
  background: var(--green-vibrant);
  color: #000;
}

.btn-large.primary:hover {
  background: #16b82f;
  box-shadow: 0 12px 32px rgba(24, 206, 54, 0.25);
  transform: translateY(-2px);
}

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

.btn-large.secondary:hover {
  background: rgba(0, 84, 59, 0.1);
}

.hero-image {
  display: block;
  width: 100%;
  max-width: 960px;
  height: auto;
  margin: var(--sp-xl) auto 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xl);
  background: var(--white);
}

.hero-image.placeholder {
  background: linear-gradient(135deg, var(--gray-bg) 0%, #E0E8E2 100%);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

@media (max-width: 920px) {
  .hero {
    padding: var(--sp-xl) 0;
  }

  .hero-ctas {
    gap: var(--sp-sm);
  }

  .btn-large {
    height: 48px;
    padding: 0 var(--sp-lg);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: var(--sp-lg) 0;
  }

  .hero-inner {
    padding: 0 var(--sp-sm);
  }

  .hero h1 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--sp-md);
  }

  .hero-subtitle {
    font-size: var(--font-size-base);
    margin-bottom: var(--sp-lg);
  }

  .hero-ctas {
    flex-direction: column;
    gap: var(--sp-sm);
  }

  .btn-large {
    width: 100%;
    height: 46px;
  }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* Cards Grid (Features, Benefits) */
/* ─────────────────────────────────────────────────────────────────────────── */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-lg);
  margin-top: var(--sp-lg);
}

.card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--green-vibrant);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--sp-md);
  display: block;
}

.card h3 {
  color: var(--green-dark);
  margin-bottom: var(--sp-sm);
  font-size: var(--font-size-xl);
}

.card p {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.7;
}

@media (max-width: 920px) {
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--sp-md);
  }

  .card {
    padding: var(--sp-md);
  }
}

@media (max-width: 640px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* How It Works / Timeline */
/* ─────────────────────────────────────────────────────────────────────────── */

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-lg);
  margin-top: var(--sp-lg);
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green-vibrant), var(--border-subtle));
  z-index: 0;
}

.timeline-item {
  position: relative;
  z-index: 1;
  text-align: center;
}

.timeline-number {
  width: 56px;
  height: 56px;
  background: var(--green-vibrant);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-2xl);
  color: #000;
  margin: 0 auto var(--sp-md);
  box-shadow: var(--shadow-md);
}

.timeline-item h4 {
  color: var(--green-dark);
  margin-bottom: var(--sp-xs);
  font-size: var(--font-size-base);
}

.timeline-item p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

@media (max-width: 920px) {
  .timeline::before {
    display: none;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-md);
  }
}

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

/* ─────────────────────────────────────────────────────────────────────────── */
/* Pricing Section */
/* ─────────────────────────────────────────────────────────────────────────── */

.pricing-section {
  background: transparent;
  padding: var(--sp-2xl) 0;
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--sp-2xl);
}

.pricing-header h2 {
  color: var(--green-dark);
}

.pricing-header p {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: var(--sp-md) auto 0;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  position: relative;
  transition: all 0.3s ease;
  text-align: center;
}

.pricing-card.featured {
  border-color: var(--green-vibrant);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'Mais economia';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-vibrant);
  color: #000;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
}

.pricing-card h3 {
  color: var(--text-primary);
  font-size: var(--font-size-xl);
  margin-bottom: var(--sp-md);
}

.pricing-value {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: var(--sp-xs);
}

.pricing-period {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-bottom: var(--sp-md);
}

.pricing-note {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-bottom: var(--sp-lg);
}

.pricing-savings {
  color: var(--green-dark);
  font-weight: 700;
  font-size: var(--font-size-sm);
  margin-bottom: var(--sp-lg);
}

.pricing-card .btn-large {
  width: 100%;
}

.pricing-card.featured .btn-large.primary {
  background: var(--green-dark);
  color: var(--white);
}

.pricing-card.featured .btn-large.primary:hover {
  background: #003B2B;
}

.pricing-trial {
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-top: var(--sp-lg);
}

@media (max-width: 920px) {
  .pricing-section {
    padding: var(--sp-xl) 0;
  }

  .pricing-cards {
    gap: var(--sp-md);
  }

  .pricing-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 640px) {
  .pricing-section {
    padding: var(--sp-lg) 0;
  }

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

  .pricing-card {
    padding: var(--sp-lg);
  }

  .pricing-card.featured::before {
    display: none;
  }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* FAQ Section */
/* ─────────────────────────────────────────────────────────────────────────── */

.faq-section {
  background: transparent;
}

.faq-header {
  text-align: center;
  margin-bottom: var(--sp-2xl);
}

.faq-header h2 {
  color: var(--green-dark);
}

.faq-items {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: var(--sp-md);
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
}

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

.faq-question:hover {
  background: rgba(0, 84, 59, 0.03);
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  color: var(--green-dark);
}

.faq-item.active .faq-question {
  background: rgba(0, 84, 59, 0.05);
}

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

.faq-answer {
  padding: 0 var(--sp-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-secondary);
}

.faq-item.active .faq-answer {
  padding: 0 var(--sp-md) var(--sp-md);
  max-height: 500px;
}

.faq-answer p {
  margin: 0;
  font-size: var(--font-size-sm);
  line-height: 1.7;
}

@media (max-width: 920px) {
  .faq-section {
    padding: var(--sp-xl) 0;
  }

  .faq-items {
    gap: var(--sp-sm);
  }
}

@media (max-width: 640px) {
  .faq-section {
    padding: var(--sp-lg) 0;
  }

  .faq-question {
    padding: var(--sp-md);
    font-size: var(--font-size-sm);
  }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* CTA Final Section */
/* ─────────────────────────────────────────────────────────────────────────── */

.cta-final {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding: var(--sp-2xl) var(--sp-md);
}

.cta-final h2 {
  color: var(--white);
  margin-bottom: var(--sp-md);
}

.cta-final p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto var(--sp-lg);
}

.cta-final .btn-large {
  background: var(--white);
  color: var(--green-dark);
  font-weight: 700;
}

.cta-final .btn-large:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
  .cta-final {
    padding: var(--sp-lg) var(--sp-sm);
  }

  .cta-final h2 {
    font-size: var(--font-size-2xl);
  }

  .cta-final .btn-large {
    width: 100%;
  }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* Footer */
/* ─────────────────────────────────────────────────────────────────────────── */

footer {
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--sp-2xl) var(--sp-md) var(--sp-lg);
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-lg);
  margin-bottom: var(--sp-xl);
}

.footer-col h4 {
  color: var(--white);
  font-size: var(--font-size-sm);
  margin-bottom: var(--sp-md);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm);
  margin-bottom: var(--sp-sm);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: var(--sp-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 920px) {
  footer {
    padding: var(--sp-xl) var(--sp-md) var(--sp-lg);
  }

  .footer-content {
    gap: var(--sp-md);
    margin-bottom: var(--sp-lg);
  }
}

@media (max-width: 640px) {
  footer {
    padding: var(--sp-lg) var(--sp-sm);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* Form Styles */
/* ─────────────────────────────────────────────────────────────────────────── */

label {
  display: block;
  margin-bottom: var(--sp-xs);
  font-weight: 600;
  font-size: var(--font-size-sm);
  color: var(--text-primary);
}

input[type='text'],
input[type='email'],
input[type='password'],
textarea,
select {
  width: 100%;
  min-height: var(--tap-target);
  padding: var(--sp-sm) var(--sp-md);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text-primary);
  font-family: inherit;
  font-size: var(--font-size-base);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--green-vibrant);
  box-shadow: 0 0 0 3px rgba(24, 206, 54, 0.1);
}

input:disabled,
textarea:disabled,
select:disabled {
  background: var(--gray-bg);
  color: var(--text-muted);
  cursor: not-allowed;
}

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

/* ─────────────────────────────────────────────────────────────────────────── */
/* Utilities */
/* ─────────────────────────────────────────────────────────────────────────── */

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

.text-muted {
  color: var(--text-muted);
}

.mt-xs {
  margin-top: var(--sp-xs);
}

.mt-sm {
  margin-top: var(--sp-sm);
}

.mt-md {
  margin-top: var(--sp-md);
}

.mt-lg {
  margin-top: var(--sp-lg);
}

.mb-xs {
  margin-bottom: var(--sp-xs);
}

.mb-sm {
  margin-bottom: var(--sp-sm);
}

.mb-md {
  margin-bottom: var(--sp-md);
}

.mb-lg {
  margin-bottom: var(--sp-lg);
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* Accessibility */
/* ─────────────────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus Visible for keyboard navigation */
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--green-vibrant);
  outline-offset: 2px;
}

/* Âncoras: compensa o header fixo (não cobre o título ao navegar por #). */
section[id] {
  scroll-margin-top: 88px;
}

/* Áreas de toque mínimas (WCAG 44x44). */
.nav-center a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-col a {
  min-height: 40px;
  display: flex;
  align-items: center;
}
.faq-question {
  min-height: 44px;
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* Print Styles */
/* ─────────────────────────────────────────────────────────────────────────── */

@media print {
  body {
    background: var(--white);
  }

  header,
  .cta-final {
    display: none;
  }

  a {
    text-decoration: underline;
  }
}
