/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-main:       #1A2B47;
  --bg-panel:      #1E3264;
  --bg-field:      #152038;
  --blue-vibrant:  #284BE0;
  --blue-medium:   #5980F0;
  --blue-sky:      #8EB9FF;
  --blue-border:   #3D5CB0;
  --lime:          #66FF33;
  --lime-dark:     #4dcc22;
  --white:         #FFFFFF;
  --black:         #000000;
  --text-muted:    #8EB9FF;
  --radius-card:   16px;
  --radius-btn:    10px;
  --shadow-card:   0 4px 24px rgba(0,0,0,0.35);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-color: var(--bg-main);
  color: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--blue-sky); text-decoration: none; }
a:hover { color: var(--lime); }

/* ── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Oswald', 'Impact', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* ── Layout ──────────────────────────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 80px 0; }

/* ── Header / Nav ────────────────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 43, 71, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--blue-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
}

.nav-logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-logo-text span { color: var(--lime); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--blue-sky);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--lime); }

.nav-cta {
  background: var(--lime);
  color: var(--black) !important;
  font-weight: 700;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-btn);
  transition: background 0.2s, transform 0.1s;
}

.nav-cta:hover {
  background: var(--lime-dark) !important;
  color: var(--black) !important;
  transform: translateY(-1px);
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% -10%, rgba(40, 75, 224, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 110%, rgba(102, 255, 51, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(102, 255, 51, 0.12);
  border: 1px solid rgba(102, 255, 51, 0.3);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  color: var(--lime);
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 1.25rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 span { color: var(--lime); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--lime);
  color: var(--black);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 0 rgba(102,255,51,0);
}

.btn-primary:hover {
  background: var(--lime-dark);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(102, 255, 51, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--blue-sky);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--blue-border);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: var(--blue-sky);
  color: var(--white);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--blue-border);
  flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  color: var(--white);
  font-weight: 400;
}
.stat-number span { color: var(--lime); }
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Segmentos ───────────────────────────────────────────────────────────── */
.segmentos { background: rgba(30, 50, 100, 0.25); text-align: center; }

.segmentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 1.25rem;
  margin-top: 0;
}

.segmento-card {
  background: var(--bg-panel);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-card);
  padding: 1.75rem 1rem 1.5rem;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
}

.segmento-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.segmento-card:hover {
  border-color: var(--lime);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(102, 255, 51, 0.12);
  background: rgba(30, 50, 100, 0.9);
}

.segmento-card:hover::after { transform: scaleX(1); }

.segmento-card.active {
  border-color: var(--lime);
  background: rgba(102, 255, 51, 0.07);
  box-shadow: 0 0 0 2px rgba(102, 255, 51, 0.25);
}

.segmento-card.active::after { transform: scaleX(1); }

.segmento-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.segmento-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

/* ── Como Funciona ───────────────────────────────────────────────────────── */
.como-funciona { text-align: center; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 0;
  position: relative;
}

.step-card {
  background: var(--bg-panel);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-card);
  padding: 2rem 1.5rem;
  position: relative;
  box-shadow: var(--shadow-card);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--lime);
  color: var(--black);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.step-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Formulário de Diagnóstico ───────────────────────────────────────────── */
.diagnostico { background: rgba(30, 50, 100, 0.25); }

.diagnostico-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.diagnostico-copy .section-subtitle { margin: 0 0 1.5rem; text-align: left; }

.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.benefit-list li::before {
  content: '✓';
  color: var(--lime);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.form-card {
  background: var(--bg-panel);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-card);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}

.form-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

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

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-sky);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  background: var(--bg-field);
  border: 1px solid var(--blue-medium);
  border-radius: 9px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  font-family: inherit;
}

.form-control::placeholder { color: var(--blue-medium); }

.form-control:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(102, 255, 51, 0.15);
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238EB9FF' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-control option { background: var(--bg-panel); }

.btn-submit {
  width: 100%;
  background: var(--lime);
  color: var(--black);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: var(--lime-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(102, 255, 51, 0.3);
}

.form-privacy {
  font-size: 0.75rem;
  color: #4E6A9A;
  text-align: center;
  margin-top: 0.75rem;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer {
  background: rgba(20, 32, 56, 0.9);
  border-top: 1px solid var(--blue-border);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo img { height: 32px; width: 32px; border-radius: 50%; }

.footer-logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  color: var(--white);
}

.footer-logo-text span { color: var(--lime); }

.footer-copy {
  font-size: 0.8rem;
  color: #4E6A9A;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  font-size: 0.8rem;
  color: var(--blue-sky);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--blue-border);
  border-radius: 100px;
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  border-color: var(--lime);
  color: var(--lime);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .diagnostico-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .diagnostico-copy .section-subtitle { text-align: center; }
  .diagnostico-copy .section-label,
  .diagnostico-copy .section-title { text-align: center; }
  .benefit-list { align-items: flex-start; }

  .hero-stats { gap: 2rem; }

  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  section { padding: 60px 0; }
  .hero { padding: 70px 0 60px; }
  .segmentos-grid { grid-template-columns: repeat(2, 1fr); }
}
