
:root{
  --bg:#F7F9FC;
  --surface:#FFFFFF;
  --text:#0F172A;
  --muted:#475569;
  --border:#E2E8F0;
  --primary:#0EA5A4;
  --primary-600:#0B8C8B;
  --accent:#F59E0B;
  --success:#16A34A;

  --shadow: 0 10px 30px rgba(2, 8, 23, 0.08);
  --radius-lg:16px;
  --radius-md:12px;
  --radius-pill:999px;

  --container: 1200px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:var(--bg);
  color:var(--text);
}
a{color:inherit;text-decoration:none}
.container{max-width:var(--container); margin:0 auto; padding:0 24px;}

/* Header */
.header{
  position:fixed; top:0; left:0; right:0;
  height:72px;
  background:rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
  z-index:50;
}
.header-inner{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800;
  letter-spacing:-0.3px;
}
.brand-badge{
  width:36px; height:36px; border-radius:10px;
  background: linear-gradient(135deg, var(--primary), #22c55e);
  box-shadow: 0 8px 20px rgba(14,165,164,0.25);
}
.nav{
  display:flex; align-items:center; gap:18px;
  color:var(--muted);
  font-weight:600;
  font-size:14px;
}
.nav a:hover{color:var(--text)}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:44px; padding:0 16px;
  border-radius:var(--radius-md);
  border:1px solid var(--border);
  background:var(--surface);
  font-weight:700;
  cursor:pointer;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn:hover{transform: translateY(-1px); border-color:#cbd5e1;}
.btn-primary{
  background:var(--primary);
  color:white;
  border-color:transparent;
  box-shadow: 0 10px 20px rgba(14,165,164,0.25);
}
.btn-primary:hover{background:var(--primary-600)}
.btn-wide{width:100%; height:48px;}

/* Hero */
.hero{
  padding-top:96px;
  padding-bottom:56px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap:24px;
  align-items:start;
}
.hero-title{
  font-size:44px;
  line-height:52px;
  letter-spacing:-1px;
  margin:0 0 10px 0;
  font-weight:800;
}
.hero-sub{
  margin:0 0 18px 0;
  color:var(--muted);
  font-size:16px;
  line-height:24px;
  max-width: 52ch;
}
.chips{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-bottom:18px;
}
.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border-radius:var(--radius-pill);
  background:rgba(22,163,74,0.10);
  color:#14532d;
  border:1px solid rgba(22,163,74,0.18);
  font-weight:700;
  font-size:13px;
}
.chip .dot{
  width:10px; height:10px; border-radius:999px;
  background:var(--success);
}

/* Cards */
.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card-pad{padding:18px;}

/* Stepper */
.stepper{
  display:flex;
  gap:10px;
  padding:14px 18px;
  border-bottom:1px solid var(--border);
  background: #fbfdff;
}
.step{
  flex:1;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid transparent;
  color:var(--muted);
  font-weight:800;
  font-size:13px;
}
.step .num{
  width:26px; height:26px;
  border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--border);
  background: white;
  color: var(--muted);
  font-weight:900;
  font-size:12px;
}
.step.active{
  color:var(--text);
  border-color: rgba(14,165,164,0.18);
  background: rgba(14,165,164,0.10);
}
.step.active .num{
  background: var(--primary);
  border-color: transparent;
  color: white;
}

/* Form */
.form-title{
  margin:0 0 10px 0;
  font-size:18px;
  line-height:26px;
  font-weight:800;
}
.field{display:flex; flex-direction:column; gap:8px; margin-bottom:14px;}
label{font-weight:800; font-size:13px; color:var(--text)}
.input{
  height:44px;
  border-radius:var(--radius-md);
  border:1px solid var(--border);
  padding:0 12px;
  font-size:15px;
  outline:none;
  transition:border-color .15s ease, box-shadow .15s ease;
  background:white;
}
.input:focus{
  border-color: rgba(14,165,164,0.55);
  box-shadow: 0 0 0 4px rgba(14,165,164,0.12);
}
.hint{font-size:12px; color:var(--muted); line-height:18px;}
.row{display:flex; gap:12px;}
.row > *{flex:1}

.toggle{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top:4px;
}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px;
  border-radius:var(--radius-pill);
  border:1px solid var(--border);
  background:white;
  color:var(--muted);
  font-weight:800;
  font-size:13px;
}
.pill strong{color:var(--text)}
.pill.active{
  border-color: rgba(14,165,164,0.22);
  background: rgba(14,165,164,0.10);
  color: var(--text);
}

/* Preview */
.preview-title{
  margin:0 0 12px 0;
  font-size:16px;
  font-weight:900;
  letter-spacing:-0.2px;
}
.mini-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-bottom:12px;
}
.mini{
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}
.mini .k{font-size:12px; color:var(--muted); font-weight:800; margin-bottom:6px;}
.mini .v{font-size:18px; font-weight:900; letter-spacing:-0.3px;}
.highlight{
  border:1px solid rgba(245,158,11,0.35);
  background: rgba(245,158,11,0.10);
  border-radius:14px;
  padding:12px;
  margin:12px 0;
}
.highlight .big{
  font-size:26px;
  font-weight:1000;
  letter-spacing:-0.6px;
  margin-top:4px;
}
.tabs{
  display:flex; gap:8px;
  padding:6px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fbfdff;
  margin-bottom:10px;
}
.tab{
  flex:1;
  text-align:center;
  padding:10px 12px;
  border-radius:12px;
  font-weight:900;
  font-size:13px;
  color:var(--muted);
  border:1px solid transparent;
  background:transparent;
  cursor: pointer;
}
.tab.active{
  background:white;
  border-color: var(--border);
  color:var(--text);
  box-shadow: 0 6px 14px rgba(2, 8, 23, 0.06);
}
.price{
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
  background:white;
  margin-bottom:12px;
}
.price .line{
  display:flex; justify-content:space-between; gap:10px;
  font-weight:900;
}
.price .line span{color:var(--muted); font-weight:800}
.price .note{margin-top:8px; font-size:12px; color:var(--muted); line-height:18px;}

/* Sections below */
section.block{
  padding:44px 0;
}
.section-title{
  font-size:28px;
  line-height:36px;
  font-weight:900;
  letter-spacing:-0.6px;
  margin:0 0 18px 0;
}
.three{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.simple-card{
  background:white;
  border:1px solid var(--border);
  border-radius:16px;
  padding:16px;
  box-shadow: 0 10px 22px rgba(2, 8, 23, 0.05);
}
.simple-card h3{margin:0 0 6px 0; font-size:16px; font-weight:900;}
.simple-card p{margin:0; color:var(--muted); line-height:22px; font-size:14px;}
.stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin-top:14px;
}
.stat{
  border:1px dashed rgba(14,165,164,0.40);
  background: rgba(14,165,164,0.06);
  border-radius:16px;
  padding:14px;
  font-weight:900;
}
.stat .s{display:block; color:var(--muted); font-size:12px; margin-bottom:6px;}
.faq{
  display:grid;
  gap:10px;
}
.faq-item{
  background:white;
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px 16px;
}
.faq-q{font-weight:900;}
.faq-a{margin-top:6px; color:var(--muted); font-size:14px; line-height:22px;}

/* Footer */
.footer{
  border-top:1px solid var(--border);
  padding:28px 0 42px 0;
  background: white;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap:16px;
  align-items:start;
}
.small{color:var(--muted); font-size:13px; line-height:20px;}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr;}
  .nav{display:none;}
  .three{grid-template-columns: 1fr;}
  .stats{grid-template-columns: 1fr;}
  .footer-grid{grid-template-columns: 1fr;}
  .container{padding:0 16px;}
  .hero-title{font-size:34px; line-height:42px;}
  .mini-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width: 420px){
  .mini-grid{grid-template-columns:1fr;}
  .stepper{gap:8px;}
  .step{padding:10px;}
  .step span{display:none;} /* mantém só bolinhas no mobile */
}

.vlr_finan{
  min-width: 80px;
  display: inline-grid;
  text-align: right;
}

/* ===== HERO IMAGE ===== */
.hero-banner{
  margin-top:72px;
  width:100%;
  height:420px;
  overflow:hidden;
}
.hero-banner img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}



.simulador-btn {
  display: inline-block;
  background: #16a34a;
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: 0.2s;
}

.simulador-btn:hover {
  background: #15803d;
}

.simulador-info {
  margin-top: 24px;
  font-size: 14px;
  color: #64748b;
  display: flex;
  justify-content: left;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Loading Modal ===== */
.loading-overlay{
  position: fixed;
  inset: 0;
  display: none;            /* padrão: escondido */
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(2px);
  z-index: 9999;
}

.loading-overlay.is-open{
  display: flex;
}

.loading-card{
  width: min(340px, 90vw);
  padding: 22px 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  text-align: center;
}

.spinner{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 5px solid rgba(0,0,0,.12);
  border-top-color: rgba(0,0,0,.55);
  margin: 0 auto 14px;
  animation: spin 0.85s linear infinite;
}

.loading-title{
  font-weight: 700;
  font-size: 16px;
}

.loading-subtitle{
  margin-top: 6px;
  font-size: 13px;
  opacity: .75;
}

@keyframes spin{
  to { transform: rotate(360deg); }
}

/* opcional: trava scroll quando aberto */
body.loading-lock{
  overflow: hidden;
}