/* ==========================================================
   Êxodo Solar — tema claro | azul · amarelo · verde
   ========================================================== */

:root {
  /* marca (amostrada da logo) */
  --navy: #011F52;
  --navy-2: #0A3373;
  --blue: #0B4FC2;
  --sun: #FFD103;
  --sun-deep: #F2B600;
  --leaf: #237C00;
  --lime: #77B105;

  /* superfícies claras */
  --bg: #FBFAF6;
  --bg-sky: #EEF4FC;
  --bg-sun: #FFF7D9;
  --bg-leaf: #EDF5E6;
  --surface: #FFFFFF;

  /* texto */
  --ink: #011F52;
  --ink-2: #41506E;
  --ink-3: #6B7893;
  --line: rgba(1, 31, 82, .10);
  --line-2: rgba(1, 31, 82, .16);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;

  --shadow-1: 0 1px 2px rgba(1, 31, 82, .05), 0 8px 24px -8px rgba(1, 31, 82, .10);
  --shadow-2: 0 2px 4px rgba(1, 31, 82, .04), 0 24px 60px -20px rgba(1, 31, 82, .22);

  --f-display: "Bricolage Grotesque", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --f-body: "Figtree", ui-sans-serif, system-ui, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(16px, 4vw, 40px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:where(section[id]) { scroll-margin-top: 16px; }

.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1240px, 100% - var(--pad) * 2); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- tipografia ---------- */
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.5rem); }
h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.01em; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy-2);
}
.eyebrow-light { color: #fff; }
.ray {
  width: 14px; height: 14px; flex: none; background: var(--sun);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  border-radius: 2px; transform: rotate(0deg);
}

/* ---------- botões ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s var(--ease), border-color .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn-lg { --h: 56px; padding: 0 30px; font-size: 1.0625rem; }
.btn-block { width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; }
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }

.btn-sun { background: var(--sun); color: var(--navy); box-shadow: 0 8px 24px -8px rgba(242, 182, 0, .7); }
.btn-sun:hover { background: #FFDC33; box-shadow: 0 12px 32px -8px rgba(242, 182, 0, .85); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 8px 24px -10px rgba(1, 31, 82, .6); }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-glass { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .28); transform: translateY(-2px); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 24px var(--pad) 0; pointer-events: none; transition: padding .3s var(--ease); }
.nav {
  pointer-events: auto;
  width: min(1240px, 100%); margin-inline: auto;
  display: flex; align-items: center; gap: 20px;
  height: 64px; padding: 0 10px 0 12px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  box-shadow: 0 10px 40px -12px rgba(1, 31, 82, .28);
  transition: background-color .3s, box-shadow .3s, height .3s var(--ease);
}
.site-header.scrolled { padding-top: 12px; }
.site-header.scrolled .nav { background: rgba(255, 255, 255, .92); box-shadow: 0 8px 30px -10px rgba(1, 31, 82, .25); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; color: var(--navy); line-height: 1; }
.brand-name b { font-weight: 700; color: var(--leaf); }

.nav-links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-links a:not(.btn) { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: background-color .2s, color .2s; }
.nav-links a:not(.btn):hover { background: rgba(1, 31, 82, .06); color: var(--navy); }
.nav-cta { --h: 44px; padding: 0 22px; }
.nav-cta-mobile, .menu-btn { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 12px; border-radius: var(--r-xl);
  min-height: min(calc(100svh - 24px), 960px);
  display: flex; align-items: flex-end;
  background: #1a2c4d;
  color: #fff;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(1, 31, 82, .70) 0%, rgba(1, 31, 82, .48) 30%, rgba(1, 31, 82, .10) 56%, rgba(1, 31, 82, 0) 70%),
    linear-gradient(0deg, rgba(1, 31, 82, .66) 0%, rgba(1, 31, 82, 0) 44%),
    linear-gradient(180deg, rgba(1, 31, 82, .26) 0%, rgba(1, 31, 82, 0) 22%);
}
.hero-inner { padding-block: 150px 64px; }
.hero-copy { max-width: 700px; }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.5rem, 1rem + 4.5vw, 4.75rem);
  line-height: 1; letter-spacing: -.035em; font-weight: 700;
  text-shadow: 0 2px 30px rgba(1, 31, 82, .35);
}
.hero h1 em { font-style: normal; color: var(--sun); }
.hero-lead { margin-top: 24px; max-width: 54ch; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: rgba(255, 255, 255, .92); }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .92); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { color: var(--sun); width: 1.1em; height: 1.1em; stroke-width: 2.4; }

.video-toggle {
  position: absolute; right: 24px; bottom: 24px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .45); color: #fff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background-color .2s;
}
.video-toggle:hover { background: rgba(255, 255, 255, .32); }
.video-toggle .ic-play { display: none; }
.video-toggle[aria-pressed="true"] .ic-play { display: block; }
.video-toggle[aria-pressed="true"] .ic-pause { display: none; }

/* ---------- faixa ---------- */
.marquee { overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 48s linear infinite; padding-right: 36px; }
.marquee-track span { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); letter-spacing: -.01em; color: var(--navy); white-space: nowrap; }
.marquee-track i { width: 14px; height: 14px; background: var(--sun); clip-path: polygon(50% 0, 100% 100%, 0 100%); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
.sec { position: relative; padding-block: clamp(72px, 10vw, 140px); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.sec-head-center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head .eyebrow { justify-self: start; }
.sec-head-center .eyebrow { justify-self: center; }

.deco { position: absolute; color: var(--sun); opacity: .16; pointer-events: none; width: 520px; height: 520px; animation: spin 140s linear infinite; }
.deco-rays { top: -120px; right: -160px; }
@keyframes spin { to { transform: rotate(360deg); } }

.pi { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 16px; background: var(--bg-sun); color: var(--navy); }
.pi .ic { width: 26px; height: 26px; }
.pi-green { background: #DDF3E0; color: var(--leaf); }

/* ---------- sobre ---------- */
.about { overflow: clip; }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-media { position: relative; }
.about-media > img { width: 100%; aspect-ratio: 5 / 5.4; object-fit: cover; object-position: 30% 50%; border-radius: var(--r-xl); box-shadow: var(--shadow-2); }
.float-card {
  position: absolute; left: -20px; bottom: 32px; max-width: 300px;
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); box-shadow: var(--shadow-2);
  font-size: .9rem; line-height: 1.4; color: var(--ink-2);
}
.float-card .ic { width: 28px; height: 28px; color: var(--leaf); margin-top: 2px; }
.float-card b { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 2px; }

.about-copy { display: grid; gap: 22px; }
.about-copy h2 { max-width: 16ch; }
.pillars { display: grid; gap: 4px; margin-top: 10px; }
.pillars li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.pillars li:last-child { border-bottom: 1px solid var(--line); }
.pillars p { color: var(--ink-2); font-size: 1rem; margin-top: 4px; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.mv > div { padding: 22px; border-radius: var(--r-md); background: var(--bg-sky); }
.mv h3 { font-size: 1.05rem; margin-bottom: 8px; }
.mv p { font-size: .95rem; color: var(--ink-2); }

/* ---------- serviços ---------- */
.services { background: var(--bg-sky); border-radius: var(--r-xl); margin-inline: 12px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); display: flex; flex-direction: column; grid-column: span 3; min-height: 420px; }
.tile-lg { grid-column: span 4; grid-row: span 2; min-height: 620px; }
.tile:not(.tile-lg) { grid-column: span 2; }
.tile-img {
  position: relative; flex: 1 1 auto; min-height: 220px;
  background-image: url("media/casa.webp"); background-repeat: no-repeat;
  background-size: var(--s, 200%); background-position: var(--x, 50%) var(--y, 50%);
  transition: transform 1.4s var(--ease);
}
.tile:hover .tile-img { transform: scale(1.05); }
.tile-body { position: relative; z-index: 1; flex: none; margin-top: -28px; padding: 28px 28px 30px; background: var(--surface); border-radius: var(--r-lg) var(--r-lg) 0 0; display: grid; gap: 10px; }
.tile-body h3 { font-size: 1.5rem; }
.tile-body p { color: var(--ink-2); font-size: 1rem; }
.tile-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sun); color: var(--navy); flex: none; }
.tile-ic .ic { width: 24px; height: 24px; }
.tile-body .tile-ic { position: absolute; right: 24px; top: -23px; box-shadow: 0 8px 20px -6px rgba(242, 182, 0, .7); }
.tile-tech .tile-img { background-image: url("media/tecnico.webp"); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); margin-top: 6px; }
.link-arrow .ic { transition: transform .3s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

.mini-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); }
.mini h3 { font-size: 1.1rem; margin-bottom: 4px; }
.mini p { color: var(--ink-2); font-size: .95rem; }

/* ---------- benefícios ---------- */
.benefit-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: b; }
.benefit-list li { padding: 8px 28px 8px 0; display: grid; gap: 12px; align-content: start; }
.benefit-list li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.benefit-list .pi { background: var(--bg-leaf); color: var(--leaf); }
.benefit-list p { color: var(--ink-2); font-size: .98rem; }

/* ---------- calculadora ---------- */
.calc-sec { overflow: clip; }
.deco-rays-2 { top: 20px; right: -200px; left: auto; width: 560px; height: 560px; opacity: .18; }

.calc { position: relative; display: grid; grid-template-columns: minmax(300px, .82fr) 1.18fr; background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow-2); border: 1px solid var(--line); overflow: hidden; }
.calc-in, .calc-out, .fin-form, .contact-form, .finance-copy, .about-copy { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.calc-in { padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 28px; align-content: start; background: linear-gradient(180deg, #fff 0%, var(--bg-sun) 220%); }
.calc-out { padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 28px; background: var(--bg-sky); }

.included { margin-top: auto; padding: 22px; border-radius: var(--r-md); background: rgba(255, 255, 255, .75); border: 1px solid rgba(242, 182, 0, .35); display: grid; gap: 12px; }
.included h3 { font-size: 1rem; }
.included li { display: flex; gap: 10px; align-items: center; font-size: .95rem; color: var(--ink-2); font-weight: 500; }
.included .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--leaf); color: #fff; stroke-width: 3.2; }

.field { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .95rem; color: var(--navy); padding: 0; }
.field-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.field-top output { font-family: var(--f-display); font-weight: 700; font-size: 1.75rem; letter-spacing: -.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.hint { font-size: .85rem; color: var(--ink-3); }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer; --p: 30%; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--sun-deep) var(--p), rgba(1, 31, 82, .12) var(--p)); }
.range::-moz-range-track { height: 8px; border-radius: 99px; background: rgba(1, 31, 82, .12); }
.range::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--sun-deep); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); box-shadow: 0 4px 12px rgba(1, 31, 82, .3); transition: transform .2s var(--ease); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); box-shadow: 0 4px 12px rgba(1, 31, 82, .3); }
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.range-scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-3); margin-top: -6px; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 16px; background: rgba(1, 31, 82, .06); }
.seg label { position: relative; display: block; cursor: pointer; }
.seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 44px; padding: 0 8px; border-radius: 12px; font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: background-color .2s, color .2s, box-shadow .2s; text-align: center; }
.seg input:checked + span { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(1, 31, 82, .14); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.adv summary { cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--blue); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.adv summary::-webkit-details-marker { display: none; }
.adv summary::after { content: "+"; font-size: 1.2rem; line-height: 1; }
.adv[open] summary::after { content: "–"; }
.adv .field { margin-top: 14px; }

.input {
  width: 100%; min-height: 52px; padding: 0 16px; font: inherit; font-size: 1rem; color: var(--navy);
  background: #fff; border: 1.5px solid var(--line-2); border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: var(--ink-3); opacity: .8; }
.input:hover { border-color: rgba(1, 31, 82, .3); }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 79, 194, .15); }
.input[aria-invalid="true"] { border-color: #C0362C; box-shadow: 0 0 0 4px rgba(192, 54, 44, .10); }
.money { position: relative; }
.money span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--ink-3); pointer-events: none; }
.money .input { padding-left: 46px; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.err { min-height: 0; font-size: .85rem; color: #B42318; font-weight: 600; }
.err:empty { display: none; }

.result-label { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.result-value { font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 2rem + 4vw, 5rem); line-height: 1; letter-spacing: -.04em; color: var(--leaf); margin-top: 8px; font-variant-numeric: tabular-nums; }
.result-sub { margin-top: 10px; color: var(--ink-2); }
.result-sub b { color: var(--navy); font-variant-numeric: tabular-nums; }
.pos { color: var(--leaf) !important; }

.bars { display: flex; gap: 14px; height: 120px; align-items: flex-end; padding: 0; }
.bar-col { flex: 1; display: grid; gap: 8px; height: 100%; grid-template-rows: 1fr auto; text-align: center; font-size: .8rem; font-weight: 700; color: var(--ink-3); }
.bar { position: relative; border-radius: 14px; background: rgba(1, 31, 82, .06); overflow: hidden; }
.bar i { position: absolute; inset: auto 0 0 0; height: 100%; border-radius: 14px; transition: height .8s var(--ease); }
.bar-before i { background: linear-gradient(180deg, #4A6FB5, var(--navy-2)); }
.bar-after i { background: linear-gradient(180deg, var(--lime), var(--leaf)); }

.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.metrics > div { background: #fff; padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.metrics dt { font-size: .78rem; font-weight: 600; color: var(--ink-3); line-height: 1.3; }
.metrics dd { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; color: var(--navy); font-variant-numeric: tabular-nums; }

.payback { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; padding: 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.invest { font-family: var(--f-display); font-weight: 700; font-size: 1.75rem; white-space: nowrap; letter-spacing: -.03em; color: var(--navy); margin-top: 4px; font-variant-numeric: tabular-nums; }
.payback-sub { margin-top: 6px; font-size: .95rem; color: var(--ink-2); }
.payback-sub b { color: var(--navy); }
.chart { position: relative; }
.chart svg { width: 100%; height: 110px; overflow: visible; }
.chart-dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--sun); border: 3px solid var(--navy); left: 0; top: 0; transition: left .8s var(--ease), top .8s var(--ease); }
.chart figcaption { display: flex; justify-content: space-between; margin-top: 8px; font-size: .75rem; color: var(--ink-3); font-weight: 600; }

.disclaimer { margin-top: 24px; font-size: .85rem; color: var(--ink-3); max-width: 90ch; line-height: 1.55; }
.disclaimer-tight { margin-top: 0; font-size: .8rem; }

/* ---------- financiamento ---------- */
.finance { background: var(--bg-sun); border-radius: var(--r-xl); margin: 0 12px; overflow: clip; }
.finance-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.finance-copy { display: grid; gap: 22px; }
.finance-copy h2 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 4.75rem); }
.checklist { display: grid; gap: 18px; margin-top: 10px; }
.checklist li { display: flex; gap: 16px; align-items: flex-start; }
.checklist .ic { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--leaf); color: #fff; stroke-width: 3; margin-top: 2px; }
.checklist b { display: block; font-size: 1.05rem; color: var(--navy); }
.checklist span { color: var(--ink-2); font-size: .98rem; }

.fin-form { display: grid; gap: 14px; padding: clamp(24px, 3vw, 40px); background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-2); border: 1px solid rgba(242, 182, 0, .35); min-width: 0; }
.fin-form .field { gap: 6px; }
.input.pill { border-radius: 999px; padding-inline: 24px; min-height: 56px; border-color: var(--navy); border-width: 1.5px; }
.input.pill:hover { border-color: var(--navy-2); }
.btn-upper { text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--sun-deep) 0 8px, transparent 8px 16px); z-index: 0; }
.steps li { position: relative; z-index: 1; display: grid; gap: 12px; align-content: start; }
.step-n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--navy); font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; box-shadow: 0 0 0 8px var(--bg), 0 10px 24px -8px rgba(242, 182, 0, .8); }
.steps h3 { margin-top: 10px; }
.steps p { color: var(--ink-2); font-size: 1rem; max-width: 30ch; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .sec-head { margin-bottom: 0; position: sticky; top: 40px; justify-items: start; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; color: var(--navy); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .ic { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--bg-sun); transition: transform .35s var(--ease), background-color .2s; }
.accordion summary:hover .ic { background: var(--sun); }
.accordion details[open] summary .ic { transform: rotate(45deg); background: var(--sun); }
.accordion details p { padding: 0 56px 26px 0; color: var(--ink-2); max-width: 62ch; animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- contato ---------- */
.contact { padding-top: 0; }
.contact-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); padding: clamp(28px, 5vw, 72px); border-radius: var(--r-xl); background: linear-gradient(135deg, #FFF3BD 0%, #FFE979 38%, #FFD103 100%); box-shadow: var(--shadow-2); }
.deco-rays-3 { top: auto; bottom: -220px; left: -220px; right: auto; width: 620px; height: 620px; color: #fff; opacity: .28; }
.contact-copy { position: relative; display: grid; gap: 20px; align-content: center; }
.contact-copy h2 { max-width: 12ch; }
.contact-copy .lead { color: #3A4460; }
.contact-copy .eyebrow { color: var(--navy); }
.contact-list { display: grid; gap: 12px; margin-top: 10px; }
.contact-list a { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; color: var(--navy); }
.contact-list small { display: block; font-family: var(--f-body); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #5A5220; }
.contact-list .pi { background: #fff; box-shadow: 0 6px 16px -6px rgba(1, 31, 82, .3); transition: transform .3s var(--ease); }
.contact-list .pi-green { color: #1B9E3F; }
.contact-list a:hover .pi { transform: translateY(-3px) rotate(-4deg); }

.contact-form { position: relative; display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); background: #fff; border-radius: var(--r-lg); box-shadow: 0 30px 60px -24px rgba(1, 31, 82, .4); }
.contact-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: .82rem; color: var(--ink-3); text-align: center; }
.form-note.ok { color: var(--leaf); font-weight: 600; }

/* ---------- rodapé ---------- */
.footer { padding-top: clamp(56px, 8vw, 96px); background: var(--bg); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand p { color: var(--ink-2); max-width: 44ch; font-size: .98rem; }
.footer h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-family: var(--f-body); font-weight: 700; margin-bottom: 14px; }
.footer nav, .footer-grid > div:last-child { display: grid; gap: 10px; align-content: start; }
.footer nav a, .footer-grid > div:last-child a { color: var(--ink-2); font-weight: 500; transition: color .2s; }
.footer nav a:hover, .footer-grid > div:last-child a:hover { color: var(--navy); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px 32px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-3); }
.footer-bottom a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); }

/* ---------- whatsapp flutuante ---------- */
.wa-float { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 40; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .8); transition: transform .3s var(--ease); }
.wa-float .ic { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .nav-links a:not(.btn) { padding: 10px 10px; font-size: .9rem; }
  .benefit-list { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .benefit-list li:nth-child(4) { padding-left: 0; border-left: 0; }
  .benefit-list li:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
  .calc { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .site-header { padding-top: 14px; }
  .nav { height: 60px; }
  .nav-cta { display: none; }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border-radius: 50%; border: 0; background: var(--navy); color: #fff; }
  .menu-btn .ic-close { display: none; }
  .menu-btn[aria-expanded="true"] .ic-open { display: none; }
  .menu-btn[aria-expanded="true"] .ic-close { display: block; }
  .nav-links {
    position: fixed; inset: 0; z-index: -1; margin: 0; padding: 110px var(--pad) 40px;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 4px;
    background: var(--bg);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s, transform .4s var(--ease), visibility .3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a:not(.btn) { font-family: var(--f-display); font-size: 1.9rem; font-weight: 600; letter-spacing: -.02em; padding: 12px 8px; color: var(--navy); border-radius: 12px; }
  .nav-cta-mobile { display: inline-flex; margin-top: 20px; }
  .nav { position: relative; z-index: 1; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .95); }

  .about-grid, .finance-grid, .faq-grid, .contact-card { grid-template-columns: minmax(0, 1fr); }
  .about-media { max-width: 560px; }
  .float-card { left: 16px; }
  .faq .sec-head { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }

  .bento { grid-template-columns: 1fr 1fr; }
  .tile-lg { grid-column: 1 / -1; grid-row: auto; min-height: 520px; }
  .tile:not(.tile-lg) { grid-column: span 1; min-height: 400px; }
  .mini-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { margin: 8px; border-radius: 26px; min-height: calc(100svh - 16px); }
  .hero-inner { padding-block: 120px 40px; }
  .hero::after {
    background:
      linear-gradient(0deg, rgba(1, 31, 82, .88) 0%, rgba(1, 31, 82, .62) 45%, rgba(1, 31, 82, .05) 78%),
      linear-gradient(180deg, rgba(1, 31, 82, .35) 0%, rgba(1, 31, 82, 0) 20%);
  }
  .hero-actions .btn { width: 100%; }
  .video-toggle { top: 84px; bottom: auto; right: 16px; width: 40px; height: 40px; }
  .services, .finance { margin-inline: 8px; }
  .bento { grid-template-columns: 1fr; }
  .tile:not(.tile-lg) { grid-column: 1 / -1; min-height: 380px; }
  .tile-lg { min-height: 480px; }
  .mv { grid-template-columns: 1fr; }
  .benefit-list { grid-template-columns: 1fr; row-gap: 0; }
  .benefit-list li, .benefit-list li + li, .benefit-list li:nth-child(n) { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); grid-template-columns: 52px 1fr; column-gap: 16px; }
  .benefit-list li .pi { grid-row: span 2; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .payback { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-form .two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .accordion summary { font-size: 1.05rem; padding: 20px 0; }
  .accordion details p { padding-right: 0; }
  .wa-float { width: 56px; height: 56px; }
}

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .deco { animation: none; }
}
