/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #1e293b;
  background: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Poppins', system-ui, sans-serif; letter-spacing: -0.01em; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== TOKENS ===== */
:root {
  --brand-teal: #0d9488;
  --brand-teal-dark: #0f766e;
  --brand-lime: #84cc16;
  --brand-green: #22c55e;
  --gradient-brand: linear-gradient(135deg, #84cc16, #0d9488);
  --gradient-soft: linear-gradient(135deg, #ecfdf5, #f0fdfa);
  --shadow-brand: 0 20px 60px -20px rgba(13,148,136,0.45);
  --radius: 0.75rem;
  --bg: #ffffff;
  --fg: #1e293b;
  --muted: #64748b;
  --card: #ffffff;
  --border: #e2e8f0;
  --input: #e2e8f0;
  --destructive: #ef4444;
}

/* ===== UTILITIES ===== */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }
.text-gradient {
  background-image: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(226,232,240,0.6);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.5rem; padding-bottom: 1.5rem;
}
.logo { height: 5rem; }
.desktop-nav {
  display: none;
  align-items: center; gap: 3rem;
  font-size: 1.125rem; font-weight: 600;
  color: rgba(30,41,59,0.85);
}
.desktop-nav a:hover { color: var(--brand-teal); }
@media (min-width: 1024px) { .desktop-nav { display: flex; } }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  background-image: var(--gradient-brand);
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem; font-weight: 600; color: #fff;
  box-shadow: var(--shadow-brand);
  transition: opacity .2s, transform .1s;
  border: none; cursor: pointer;
}
.btn-primary:hover { opacity: .95; }
.btn-primary:active { transform: scale(.99); }

/* ===== HERO ===== */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: var(--gradient-soft); opacity: .6;
}
.hero-inner {
  position: relative;
  display: grid; align-items: center; gap: 2.5rem;
  padding-top: 2.5rem; padding-bottom: 2.5rem;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.2fr 1fr; padding-top: 4rem; padding-bottom: 4rem; }
  .hero-text { order: 1; }
  .form-card { order: 2; }
}

.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: 9999px;
  border: 1px solid rgba(13,148,136,0.3);
  background: rgba(255,255,255,0.8);
  padding: .375rem 1rem;
  font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--brand-teal-dark);
}
.hero-text h1 {
  font-size: 1.875rem; font-weight: 800; line-height: 1.2; color: var(--fg);
}
@media (min-width: 768px) { .hero-text h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-text h1 { font-size: 3.5rem; } }
.hero-text p {
  max-width: 36rem;
  font-size: 1rem; color: var(--muted);
}
@media (min-width: 768px) { .hero-text p { font-size: 1.125rem; } }

/* ===== FORM ===== */
.form-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-brand);
}
@media (min-width: 768px) { .form-card { padding: 1.75rem; } }

.form-card h3 {
  text-align: center; font-size: 1.125rem; font-weight: 700;
}
@media (min-width: 768px) { .form-card h3 { font-size: 1.25rem; } }
.form-subtitle {
  text-align: center; font-size: .75rem; color: var(--muted); margin-top: .25rem;
}
.form-fields { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.field label { font-size: .75rem; font-weight: 500; color: rgba(30,41,59,0.8); display: block; margin-bottom: .25rem; }
.field input, .field select {
  width: 100%;
  border-radius: .5rem;
  border: 1px solid var(--input);
  background: var(--bg);
  padding: .625rem .75rem;
  font-size: .875rem; color: var(--fg);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus {
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.error { display: block; font-size: .75rem; color: var(--destructive); margin-top: .25rem; min-height: 1rem; }

.checkbox-field {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .75rem; color: var(--muted); cursor: pointer;
}
.checkbox-field input { margin-top: .125rem; accent-color: var(--brand-teal); }

.btn-submit {
  width: 100%;
  border-radius: 9999px;
  background-image: var(--gradient-brand);
  padding: .75rem;
  font-size: .875rem; font-weight: 600; color: #fff;
  box-shadow: var(--shadow-brand);
  border: none; cursor: pointer;
  transition: opacity .2s, transform .1s;
  margin-top: 1.25rem;
}
.btn-submit:hover { opacity: .95; }
.btn-submit:active { transform: scale(.99); }
.form-note { text-align: center; font-size: .6875rem; color: var(--muted); margin-top: .75rem; }

.success-message {
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-brand);
}
.success-icon {
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem;
  border-radius: 9999px;
  background-image: var(--gradient-brand);
  font-size: 1.5rem; color: #fff;
}
.success-message h3 { font-size: 1.25rem; font-weight: 700; }
.success-message p { margin-top: .5rem; color: var(--muted); }

/* ===== BANNERS ===== */
.banner-section { background: var(--bg); padding: 2.5rem 0; }
@media (min-width: 768px) { .banner-section { padding: 3.5rem 0; } }
.banner-rounded { overflow: hidden; border-radius: 1rem; box-shadow: var(--shadow-brand); }
.banner-img { width: 100%; object-fit: cover; }
.banner-img-rounded {
  width: 100%; object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--shadow-brand);
}

.cta-banner-link {
  display: block;
  cursor: pointer;
  transition: opacity .2s;
}
.cta-banner-link:hover { opacity: .95; }
.cta-banner-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(13,148,136,0.3);
  border-radius: 1rem;
}

/* ===== SECTIONS ===== */
.section { background: var(--bg); padding: 4rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }
.section-gradient { background: var(--gradient-soft); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 1.875rem; font-weight: 700; }
@media (min-width: 768px) { .section-header h2 { font-size: 2.25rem; } }
.section-header p { margin: .75rem auto 0; max-width: 42rem; color: var(--muted); }

/* ===== CARDS GRID ===== */
.cards-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-brand); }
.card-bar {
  height: .25rem; width: 2.5rem; border-radius: 9999px;
  background-image: var(--gradient-brand);
  margin-bottom: 1rem;
  transition: width .2s;
}
.card:hover .card-bar { width: 4rem; }
.card h3 { font-size: 1.125rem; font-weight: 700; }
.card p { margin-top: .5rem; font-size: .875rem; color: var(--muted); }

/* ===== PASSOS ===== */
.passos-wrap {
  overflow: hidden;
  border-radius: 1rem;
  background: var(--card);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.passos-img { margin: 0 auto; width: 100%; max-width: 64rem; }

.cta-center { text-align: center; margin-top: 2.5rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 48rem; margin: 0 auto; }
.faq-item {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  margin-bottom: 0.75rem;
  transition: border-color .2s;
}
.faq-item:hover { border-color: rgba(13,148,136,0.3); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600; font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  display: flex; align-items: center; justify-content: center;
  width: 1.75rem; height: 1.75rem;
  border-radius: 9999px;
  background-image: var(--gradient-brand);
  font-size: 1rem; font-weight: 700;
  color: #fff;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.25rem 1.25rem; }
.faq-answer p { font-size: .875rem; color: var(--muted); line-height: 1.6; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; }
}
.logo-footer { height: 5rem; }
.footer-text { text-align: center; font-size: .75rem; color: var(--muted); }
@media (min-width: 768px) { .footer-text { text-align: right; } }

/* Two-column intermediate section */
.two-col { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.two-col-image img { width: 100%; height: auto; border-radius: 1rem; box-shadow: var(--shadow-brand); display: block; }
.two-col-text h2 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; line-height: 1.2; color: var(--foreground); margin-bottom: 1rem; }
@media (min-width: 768px) { .two-col-text h2 { font-size: 2.25rem; } }
.two-col-text p { font-size: 1rem; color: var(--muted); margin-bottom: 1rem; line-height: 1.6; }
@media (min-width: 768px) { .two-col-text p { font-size: 1.0625rem; } }
.two-col-text p strong { color: var(--foreground); font-weight: 700; }
.vantagens-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--foreground); margin: 1.25rem 0 .75rem; }
.vantagens-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.vantagens-list li { display: flex; align-items: flex-start; gap: .75rem; font-size: 1rem; color: rgba(30,41,59,0.85); }
.vantagens-list .bullet { display: inline-block; width: .5rem; height: .5rem; margin-top: .55rem; border-radius: 9999px; background: var(--gradient-brand); flex-shrink: 0; }

/* FAQ link */
.faq-answer a { color: var(--brand-teal); text-decoration: underline; }
.faq-answer a:hover { color: var(--brand-teal-dark); }

.faq-num { color: var(--brand-teal); margin-right: .5rem; font-weight: 700; }
.faq-answer p + p { margin-top: .75rem; }
.footer-text a { color: inherit; text-decoration: underline; }
.footer-text a:hover { color: var(--brand-teal); }
