/* Eleiçãonet — landing estática */
:root {
  --brand-blue: rgb(74, 196, 243);
  --brand-blue-dark: rgb(43, 168, 218);
  --primary: #1D4ED8;
  --primary-dark: #0F172A;
  --primary-light: #DBEAFE;
  --bg: #ffffff;
  --muted: #F8FAFC;
  --fg: #0F172A;
  --fg-muted: #64748B;
  --border: #E2E8F0;
  --card-shadow: 0 10px 25px -5px rgba(74, 196, 243, 0.35), 0 4px 10px -2px rgba(15, 23, 42, 0.10);
  --shadow-elegant: 0 20px 60px -20px rgba(29, 78, 216, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* Ícones via máscara CSS (sem SVG inline) */
[class*="icon-"] {
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.icon-check { background-image: url("assets/icons/check.svg"); }
.icon-list { background-image: url("assets/icons/list.svg"); }
.icon-question { background-image: url("assets/icons/question.svg"); }
.icon-gear { background-image: url("assets/icons/gear.svg"); }
.icon-shield { background-image: url("assets/icons/shield.svg"); }
.icon-bolt { background-image: url("assets/icons/bolt.svg"); }
.icon-search { background-image: url("assets/icons/search.svg"); }
.icon-gavel { background-image: url("assets/icons/gavel.svg"); }
.icon-eye { background-image: url("assets/icons/eye.svg"); }
.icon-dashboard { background-image: url("assets/icons/dashboard.svg"); }


/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
}
.hero-header { display: flex; align-items: center; justify-content: space-between; }
.hero-logo {
  height: 40px; width: auto;
  background: rgba(255,255,255,0.95);
  border-radius: 8px;
  padding: 6px 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
}
.hero-copy { color: #fff; }
.hero-copy h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-top: 24px;
}
.accent-light { color: #BFDBFE; }
.hero-lead {
  margin-top: 24px;
  max-width: 36rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  padding: 20px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
}
.hero-lead strong { color: #fff; }
.hero-illustration { display: none; margin-top: 32px; }
.hero-illustration img { max-height: 320px; width: auto; filter: drop-shadow(0 25px 25px rgba(0,0,0,0.25)); }

.form-wrap { position: relative; }
.form-glow {
  position: absolute; inset: -16px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
  filter: blur(32px);
}
.form-card {
  position: relative;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 24px;
}

/* ---------- FORM ---------- */
#lead-form { display: flex; flex-direction: column; gap: 12px; }
.field { position: relative; }
.field input, .field select {
  width: 100%;
  border: 1px solid transparent;
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--fg);
  outline: none;
  font-family: inherit;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.field select { padding: 16px; line-height: 1.4; }
.field input:focus, .field select:focus {
  box-shadow: 0 0 0 2px rgba(255,255,255,0.6);
}
.field.error input, .field.error select { border-color: #dc2626; padding-right: 40px; }
.field.select.error select { padding-right: 56px; }
.err-icon {
  display: none;
  position: absolute;
  right: 12px;
  top: 23px;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  background-image: url("assets/icons/alert.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}
.check-badge .icon-check,
.benefit-check .icon-check { color: #000; }


.field.select .err-icon { right: 40px; top: 27px; }
.field.error .err-icon { display: block; }
.err-msg {
  display: none;
  margin: 4px 0 0 4px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #e5e7eb;
}
.field.error .err-msg { display: block; }
.field.error .err-msg[hidden] { display: block; }

.btn-submit {
  margin-top: 8px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand-blue);
  cursor: pointer;
  box-shadow: var(--shadow-elegant);
  transition: background 0.2s, transform 0.2s;
  font-family: inherit;
}
.btn-submit:hover { background: var(--brand-blue-dark); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.7; cursor: default; }

.form-success {
  text-align: center;
  padding: 16px 8px;
  color: #fff;
}
.check-badge {
  margin: 0 auto 16px;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
}
.check-badge .icon-check { width: 24px; height: 24px; }
.form-success h2 { font-size: 1.25rem; font-weight: 700; }
.form-success p { margin-top: 8px; font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.form-success button {
  margin-top: 24px;
  background: none; border: 0;
  color: #fff;
  font-size: 0.875rem; font-weight: 600;
  text-decoration: underline; text-underline-offset: 4px;
  cursor: pointer;
  font-family: inherit;
}

/* ---------- SECTIONS ---------- */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 96px 0;
  background: var(--bg);
}
.section-muted { background: var(--muted); }
.section-blue { background: var(--brand-blue); }
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-head { max-width: 48rem; margin: 0 auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary-dark);
}
.section-head p {
  margin-top: 20px;
  font-size: 1.125rem;
  color: var(--fg-muted);
}
.on-blue { color: #fff !important; }
.on-blue + p, p.on-blue { color: rgba(255,255,255,0.9) !important; }

/* ---------- CARDS ---------- */
.cards-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(74, 196, 243, 0.35);
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s;
}
.card:hover { transform: translateY(-4px); }
.card-icon {
  margin: 0 auto 20px;
  width: 59px; height: 59px;
  color: var(--brand-blue);
  display: block;
}
.card h3 { font-size: 1.125rem; font-weight: 700; color: var(--fg); }
.card p { margin-top: 8px; font-size: 0.875rem; line-height: 1.6; color: var(--fg-muted); }

.card-on-blue {
  border: 2px solid #fff;
  filter: drop-shadow(rgb(225,225,225) 0px 0px 6px);
  box-shadow: none;
}

/* ---------- CTA BUTTON ---------- */
.cta-center { margin-top: 56px; display: flex; justify-content: center; }
.cta-left { margin-top: 32px; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 12px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: var(--shadow-elegant);
  transition: background 0.2s, transform 0.2s;
}
.btn-cta:hover { background: var(--brand-blue-dark); transform: translateY(-2px); }
.btn-cta-on-blue { background: #fff; color: var(--brand-blue); }
.btn-cta-on-blue:hover { background: #f1f5f9; }

/* ---------- BENEFITS ---------- */
.benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
.benefits-img { display: none; justify-content: center; }
.benefits-img img { max-width: 28rem; filter: drop-shadow(0 20px 25px rgba(0,0,0,0.2)); }
.benefits h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-dark);
}
.brand-primary { color: var(--primary); }
.benefits .lead {
  margin-top: 20px;
  font-size: 1.125rem;
  color: var(--fg-muted);
}
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.benefits-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.benefits-list li:hover { transform: translateY(-2px); }
.benefit-check {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
}
.benefit-check .icon-check { width: 18px; height: 18px; }
.benefits-list li > span:last-child {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* ---------- FOOTER ---------- */
.footer {
  background: #fff;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer img { height: 48px; width: auto; }
.footer p { font-size: 0.875rem; color: #000; }

/* ---------- RESPONSIVE ---------- */
@media (min-width: 768px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-img { display: flex; }
}
@media (min-width: 1024px) {
  .hero-inner { padding: 32px 40px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; padding: 64px 0; }
  .hero-illustration { display: block; }
  .form-card { padding: 32px; }
  .benefits { grid-template-columns: 1fr 1fr; gap: 80px; padding: 0 40px; }
  .container { padding: 0 40px; }
}

.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}
