:root {
  --cor-primaria: #3b82f6;
  --cor-secundaria: #1e40af;
  --cor-destaque: #f59e0b;
  --dark: #0f172a;
  --dark2: #1e293b;
  --gray-light: #f8fafc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Segoe UI', sans-serif; color: #1e293b; }

/* ——— NAVBAR ——— */
.navbar-site {
  background: rgba(15,23,42,.95);
  backdrop-filter: blur(12px);
  padding: .9rem 0;
  position: fixed; top: 0; width: 100%; z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: all .3s;
}
.navbar-site .nav-link { color: rgba(255,255,255,.8); font-weight: 500; font-size: .9rem; transition: color .2s; }
.navbar-site .nav-link:hover { color: #fff; }
.navbar-brand-site { font-weight: 800; font-size: 1.3rem; color: #fff; letter-spacing: -.02em; }
.btn-nav-cta { background: var(--cor-primaria); color: #fff !important; border-radius: 10px; padding: .45rem 1.2rem !important; font-weight: 600 !important; }
.btn-nav-cta:hover { background: var(--cor-secundaria); }

/* ——— HERO ——— */
.hero {
  background: var(--dark);
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 80px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(59,130,246,.15) 0%, transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(59,130,246,.15); border: 1px solid rgba(59,130,246,.3);
  color: #93c5fd; border-radius: 50px; padding: .4rem 1rem; font-size: .8rem; font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; color: #fff; line-height: 1.1; letter-spacing: -.03em; }
.hero h1 span { color: var(--cor-primaria); }
.hero .lead { color: rgba(255,255,255,.7); font-size: 1.1rem; line-height: 1.6; max-width: 520px; }
.hero-stats { display: flex; gap: 2rem; margin-top: 1.5rem; flex-wrap: wrap; }
.hero-stat span { display: block; font-size: 1.6rem; font-weight: 800; color: #fff; }
.hero-stat small { color: rgba(255,255,255,.5); font-size: .78rem; }

/* ——— SIMULADOR CARD ——— */
.simulador-card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  position: relative; z-index: 2;
}
.simulador-card .card-header-sim {
  background: linear-gradient(135deg, var(--cor-primaria), var(--cor-secundaria));
  border-radius: 16px; padding: 1.2rem 1.5rem; margin-bottom: 1.5rem;
}
.simulador-card .card-header-sim h5 { color: #fff; font-weight: 700; margin: 0; }
.simulador-card .card-header-sim p { color: rgba(255,255,255,.8); font-size: .85rem; margin: .3rem 0 0; }
.sim-label { font-size: .8rem; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: .04em; }
.sim-value { font-size: 1.6rem; font-weight: 800; color: var(--dark); }
.range-track { -webkit-appearance: none; width: 100%; height: 6px; background: #e5e7eb; border-radius: 3px; outline: none; }
.range-track::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px;
  background: var(--cor-primaria); border-radius: 50%; cursor: pointer;
  box-shadow: 0 2px 8px rgba(59,130,246,.4);
}
.btn-simular {
  background: linear-gradient(135deg, var(--cor-primaria), var(--cor-secundaria));
  color: #fff; border: none; border-radius: 12px; padding: .9rem;
  font-weight: 700; font-size: 1rem; width: 100%; transition: all .2s;
}
.btn-simular:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(59,130,246,.4); }
.step-pill {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: .5rem;
}

/* ——— SEÇÕES ——— */
.section-label {
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--cor-primaria); margin-bottom: .5rem;
}
.section-title { font-size: clamp(1.8rem,3.5vw,2.5rem); font-weight: 800; color: var(--dark); line-height: 1.2; }
.section-title span { color: var(--cor-primaria); }

/* ——— BENEFÍCIOS ——— */
.beneficios { background: var(--gray-light); padding: 6rem 0; }
.beneficio-card {
  background: #fff; border-radius: 20px; padding: 2rem;
  border: 1px solid #e5e7eb; transition: all .3s; height: 100%;
}
.beneficio-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.08); border-color: var(--cor-primaria); }
.beneficio-icon {
  width: 56px; height: 56px; background: linear-gradient(135deg, var(--cor-primaria), var(--cor-secundaria));
  border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.beneficio-icon i { color: #fff; font-size: 1.4rem; }
.beneficio-card h5 { font-weight: 700; margin-bottom: .5rem; }
.beneficio-card p { color: #6b7280; font-size: .9rem; margin: 0; }

/* ——— BANCOS ——— */
.bancos-section { padding: 5rem 0; background: #fff; }
.banco-logo-card {
  border: 1px solid #e5e7eb; border-radius: 16px; padding: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; background: #fff;
}
.banco-logo-card:hover { border-color: var(--cor-primaria); box-shadow: 0 8px 24px rgba(59,130,246,.12); }
.banco-logo-card span { font-size: .85rem; font-weight: 700; color: #374151; }

/* ——— COMO FUNCIONA ——— */
.como-funciona { background: var(--dark); padding: 6rem 0; }
.passo-card {
  text-align: center; padding: 2rem;
  position: relative;
}
.passo-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cor-primaria), var(--cor-secundaria));
  color: #fff; font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.passo-card h5 { color: #fff; font-weight: 700; }
.passo-card p { color: rgba(255,255,255,.6); font-size: .9rem; }
.passo-arrow { color: rgba(255,255,255,.2); font-size: 2rem; display: flex; align-items: center; justify-content: center; }

/* ——— FORMULÁRIO CONTATO ——— */
.contato-section { padding: 6rem 0; background: var(--gray-light); }
.contato-form { background: #fff; border-radius: 20px; padding: 2.5rem; box-shadow: 0 10px 40px rgba(0,0,0,.07); }
.form-control-site {
  border: 1.5px solid #e5e7eb; border-radius: 10px; padding: .75rem 1rem;
  font-size: .95rem; transition: border-color .2s;
}
.form-control-site:focus { border-color: var(--cor-primaria); box-shadow: 0 0 0 3px rgba(59,130,246,.1); }
.btn-contato {
  background: linear-gradient(135deg, var(--cor-primaria), var(--cor-secundaria));
  color: #fff; border: none; border-radius: 12px; padding: .9rem 2rem;
  font-weight: 700; font-size: 1rem; width: 100%; transition: all .2s;
}
.btn-contato:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(59,130,246,.4); }

/* ——— RODAPÉ ——— */
footer { background: var(--dark); padding: 4rem 0 1.5rem; }
footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
footer p, footer a { color: rgba(255,255,255,.5); font-size: .85rem; text-decoration: none; }
footer a:hover { color: #fff; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); text-decoration: none; transition: all .2s;
}
.footer-social a:hover { background: var(--cor-primaria); color: #fff; }
.footer-divider { border-color: rgba(255,255,255,.08); margin: 2rem 0 1.5rem; }
.footer-bottom { color: rgba(255,255,255,.3); font-size: .78rem; }

/* ——— TOAST / MODAL ——— */
.toast-sim {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  background: #fff; border-radius: 16px; padding: 1.2rem 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.2); min-width: 300px;
  transform: translateY(100px); opacity: 0; transition: all .4s;
}
.toast-sim.show { transform: translateY(0); opacity: 1; }

/* ——— MODAL LEAD ——— */
.modal-lead .modal-content { border-radius: 20px; border: none; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.modal-lead .modal-header { background: linear-gradient(135deg, var(--cor-primaria), var(--cor-secundaria)); border-radius: 20px 20px 0 0; padding: 1.5rem; }
.modal-lead .modal-title { color: #fff; font-weight: 700; }
.modal-lead .btn-close { filter: brightness(0) invert(1); }
.btn-enviar-lead {
  background: linear-gradient(135deg, var(--cor-primaria), var(--cor-secundaria));
  color: #fff; border: none; border-radius: 12px; padding: .9rem;
  font-weight: 700; font-size: 1rem; width: 100%;
}
.btn-enviar-lead:hover { box-shadow: 0 8px 20px rgba(59,130,246,.4); }

/* ——— RESPONSIVO ——— */
@media (max-width: 768px) {
  .hero { padding-top: 70px; text-align: center; }
  .hero .lead { max-width: 100%; }
  .hero-stats { justify-content: center; }
  .simulador-card { margin-top: 2rem; }
  .passo-arrow { display: none; }
}
