@font-face {
  font-family: Gilroy;
  src: url("/fonts/Gilroy-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Gilroy;
  src: url("/fonts/Gilroy-Bold.woff") format("woff");
  font-weight: 700 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #232F3E;
  --navy-950: #19212C;
  --teal: #1F4768;
  --red: #C7273E;
  --red-600: #A92135;
  --lime: #99CC33;
  --lime-ink: #232F3E;
  --mint: #C1EDCC;
  --snow: #FFFAFA;
  --paper: #FFFFFF;
  --teal-50: #E9F0F7;
  --fg: #232F3E;
  --ink: #232F3E;
  --ink-2: #4D4D4C;
  --muted: #656565;
  --line: #D5DBE2;
  --accent-txt: #C7273E;
  --ondark-200: #AFBCCC;
  --ondark-400: #94A6BC;
  --line-inv: rgba(196,219,241,.24);
  --bg: var(--snow);
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 3px rgba(35,47,62,.08),0 6px 14px -8px rgba(35,47,62,.12);
  --shadow-lg: 0 2px 6px rgba(35,47,62,.10),0 14px 28px -14px rgba(35,47,62,.18);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --snow: #151D26;
    --paper: #1B242F;
    --teal-50: #17222E;
    --fg: #EEF3F8;
    --ink: #EEF3F8;
    --ink-2: #C3CFDC;
    --muted: #9FB0C2;
    --line: #2C3947;
    --accent-txt: #F4808F;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.62 Gilroy, "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
a { color: inherit; }
p, h1, h2 { margin: 0; }
h1, h2 { color: var(--ink); line-height: 1.08; letter-spacing: -.025em; font-weight: 800; }
.shell { width: min(100% - 2.5rem, 1120px); margin-inline: auto; }
.skip { position: absolute; z-index: 20; top: -100px; left: 16px; background: var(--lime); color: var(--lime-ink); padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.site-header, .site-footer { background: var(--navy-950); color: white; }
.topbar { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { display: block; width: 170px; height: auto; }
.topbar-product { display: flex; align-items: baseline; gap: 10px; font-size: .94rem; font-weight: 800; letter-spacing: .08em; }
.topbar-product span { border-left: 1px solid var(--line-inv); padding-left: 10px; color: var(--ondark-200); font-weight: 400; letter-spacing: 0; }

.main-grid { min-height: 640px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, 510px); align-items: center; gap: clamp(35px, 7vw, 100px); padding-block: clamp(50px, 7vw, 94px); }
.intro-block { padding-block: 10px; }
.eyebrow { font-size: .73rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--accent-txt); }
h1 { max-width: 620px; margin-top: 16px; font-size: clamp(2.6rem, 5vw, 4.05rem); }
.lead { max-width: 46ch; margin-top: 24px; font-size: clamp(1.06rem, 1.5vw, 1.24rem); line-height: 1.55; color: var(--ink-2); }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; min-height: 55px; padding: 12px 21px; border-radius: 100px; text-decoration: none; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--cta { margin-top: 35px; background: var(--lime); color: var(--lime-ink); }
.btn--cta span { font-size: 1.25em; line-height: 1; }
.hero-note { margin-top: 15px; color: var(--muted); font-size: .82rem; }

.simulator-card { padding: clamp(23px, 4vw, 38px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-lg); }
.card-heading h2 { margin-top: 8px; font-size: clamp(1.85rem, 3.5vw, 2.3rem); }
.card-heading > p:last-child { margin-top: 7px; color: var(--ink-2); font-size: .93rem; }
label { display: block; margin: 23px 0 8px; font-size: .88rem; font-weight: 700; line-height: 1.3; }
.colunas { display: grid; grid-template-columns: 1.25fr .8fr; gap: 16px; }
select, input { width: 100%; min-width: 0; height: 52px; padding: 0 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); color: var(--fg); font-size: 1rem; }
select { cursor: pointer; }
.campo-valor { display: flex; align-items: center; padding-left: 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.campo-valor:focus-within { outline: 3px solid var(--lime); outline-offset: 2px; }
.campo-valor span { color: var(--muted); font-weight: 700; white-space: nowrap; }
.campo-valor input { border: 0; outline: none; padding-left: 8px; }
.calc-button { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 25px; padding: 14px 19px; border: 0; border-radius: 11px; background: var(--red); color: white; font-weight: 800; cursor: pointer; transition: background .2s ease; }
.calc-button:hover { background: var(--red-600); }
.calc-button:disabled { opacity: .55; cursor: wait; }
.calc-button span { font-size: 1.25em; line-height: 1; }
#erro { margin-top: 18px; padding: 14px; border-radius: var(--r); background: var(--teal-50); color: var(--accent-txt); }
#resultado { margin-top: 25px; }
.principal { padding: clamp(20px, 3vw, 29px); border-radius: var(--r); background: linear-gradient(128deg, var(--navy-950), var(--teal)); color: white; }
.result-label { color: var(--ondark-200); font-size: .83rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.installment-display { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 10px; row-gap: 2px; margin-top: 11px; font-variant-numeric: tabular-nums; }
.installment-count { font-size: 1.35rem; font-weight: 700; white-space: nowrap; }
.installment-of { color: var(--ondark-200); font-size: .98rem; }
.installment-price { display: inline-flex; align-items: baseline; max-width: 100%; font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; overflow-wrap: anywhere; }
.installment-price .currency { align-self: baseline; margin-right: 7px; font-size: .33em; font-weight: 700; letter-spacing: 0; }
.installment-price sup { margin-left: 2px; font-size: .42em; font-weight: 700; letter-spacing: 0; line-height: 1; vertical-align: super; transform: translateY(-.42em); }
.installment-note { margin-top: 10px; color: var(--ondark-200); font-size: .84rem; line-height: 1.45; }
.liquido { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; padding: 17px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--teal-50); }
.liquido span { color: var(--ink-2); font-size: .87rem; }
.liquido strong { color: var(--fg); font-size: 1.18rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.disclaimer { margin-top: 22px; color: var(--muted); font-size: .8rem; line-height: 1.5; }

.site-footer { font-size: .82rem; line-height: 1.6; }
.footer-inner { display: grid; grid-template-columns: 1.35fr 1fr .8fr; gap: 28px; padding-block: 48px 35px; }
.footer-inner p, .footer-inner address { color: var(--ondark-200); font-style: normal; }
.footer-brand { margin-bottom: 13px; color: white !important; font-size: 1.03rem; font-weight: 800; letter-spacing: .04em; }
.footer-brand span { color: var(--ondark-200); font-size: .69rem; font-weight: 400; }
.footer-title { margin-bottom: 13px; color: white !important; font-weight: 700; }
.footer-inner a { display: block; width: fit-content; margin-bottom: 7px; color: var(--ondark-200); }
.footer-inner a:hover { color: white; }
.footer-bottom { padding-block: 17px 24px; border-top: 1px solid var(--line-inv); color: var(--ondark-400); }

.privacy-main { max-width: 790px; padding-block: 65px 85px; }
.privacy-main h1 { margin-top: 12px; font-size: clamp(2.3rem, 5.4vw, 3.5rem); }
.privacy-main h2 { margin-top: 30px; font-size: 1.35rem; }
.privacy-main p { margin-top: 16px; color: var(--ink-2); }
.privacy-main a { color: var(--accent-txt); }
@media (max-width: 880px) {
  .main-grid { grid-template-columns: 1fr; max-width: 650px; gap: 38px; }
  .intro-block { padding: 0; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .shell { width: min(100% - 2rem, 1120px); }
  .topbar { min-height: 78px; }
  .brand img { width: 137px; }
  .topbar-product { font-size: .79rem; }
  .topbar-product span { display: none; }
  .main-grid { padding-block: 45px 60px; }
  .intro-block h1 { font-size: 2.55rem; }
  .simulator-card { padding: 22px; }
  .colunas { grid-template-columns: 1fr; gap: 0; }
  .installment-price { font-size: clamp(2.25rem, 9vw, 3.1rem); }
  .liquido { align-items: flex-start; flex-direction: column; gap: 2px; }
  .footer-inner { grid-template-columns: 1fr; gap: 25px; }
}
