/* Radiante Energia Solar: modelo de landing page (Bianchini Software) */

:root {
  --white: #ffffff;
  --sky-50: #f3f8fd;
  --sky-100: #e4f0fb;
  --sky-200: #cbdff2;
  --sky-300: #a9c8e6;
  --navy-950: #0a1f38;
  --navy-900: #0f2a4a;
  --navy-800: #17365c;
  --navy-600: #3a5475;
  --sun-200: #ffe29a;
  --sun-300: #ffc53d;
  --sun-400: #ffb81c;
  --sun-500: #f5a000;
  --amber-700: #9c5700;
  --cell: #1c4f8f;
  --cell-2: #2a64ae;
  --line: #d5e4f2;

  --on-navy: rgba(255, 255, 255, 0.8);
  --on-navy-soft: rgba(255, 255, 255, 0.72);

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 8vw, 112px);
  --nav-h: 72px;
  --shadow-panel: 0 1px 0 rgba(15, 42, 74, 0.04), 0 30px 60px -30px rgba(15, 42, 74, 0.38);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  color: var(--navy-900);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  font-stretch: 115%;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 1.3rem + 4.1vw, 4.7rem);
  font-stretch: 122%;
  line-height: 0.97;
  letter-spacing: -0.035em;
}
h2 { font-size: clamp(2rem, 1.35rem + 2.2vw, 3.2rem); }
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--cell-2);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), 1240px);
  margin-inline: auto;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  font-stretch: 108%;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn--sun {
  background: var(--sun-400);
  color: var(--navy-900);
  box-shadow: inset 0 -3px 0 rgba(156, 87, 0, 0.22);
}
.btn--sun:hover { background: var(--sun-300); }
.btn--sun:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

/* Navegação */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(169, 200, 230, 0.45);
}
.nav__in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--navy-900);
  text-decoration: none;
}
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__name {
  display: flex;
  flex-direction: column;
  font-size: 1.3rem;
  font-weight: 800;
  font-stretch: 120%;
  line-height: 1;
  letter-spacing: -0.02em;
}
.brand__name small {
  margin-top: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0.04em;
  color: var(--navy-600);
}
.brand--light { color: var(--white); }
.brand--light .brand__name small { color: var(--on-navy); }

.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy-800);
  text-decoration: none;
}
.nav__links a:hover { background: var(--sky-100); }
.nav__cta { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }

.menu { display: none; position: relative; }
.menu summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1.5px solid var(--sky-300);
  list-style: none;
  cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--sky-100); }
.menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  display: grid;
  min-width: 250px;
  padding: 8px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-panel);
}
.menu__panel a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.menu__panel a:hover { background: var(--sky-100); }

/* Topo */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3vw, 40px) 0 clamp(56px, 5vw, 80px);
  background: linear-gradient(180deg, var(--sky-100) 0%, var(--sky-50) 58%, var(--white) 100%);
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
}
.hero__copy { padding-top: clamp(8px, 2vw, 32px); }
.hero__lead {
  max-width: 34em;
  margin-top: 28px;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--navy-600);
}
.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 40px 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1.5px solid var(--sky-300);
}
.hero__facts strong {
  display: block;
  font-size: 1.625rem;
  font-weight: 800;
  font-stretch: 115%;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hero__facts span {
  display: block;
  margin-top: 6px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--navy-600);
}

/* Sol geométrico: nasce atrás do simulador */
.hero__instrument {
  --rise: 104px;
  --sun: 620px;
  position: relative;
  padding-top: var(--rise);
}
.hero__sun {
  position: absolute;
  z-index: 0;
  top: calc(var(--rise) - var(--sun) / 2);
  left: calc(72% - var(--sun) / 2);
  width: var(--sun);
  height: var(--sun);
  pointer-events: none;
}
.hero__rays { transform-box: fill-box; transform-origin: center; }

/* Simulador */
.sim {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  padding: 26px 28px 24px;
  border: 1px solid var(--sky-200);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-panel);
}
.sim__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
}
.sim__head h2 { font-size: 1.375rem; font-stretch: 112%; }
.sim__head p { font-size: 0.9375rem; color: var(--navy-600); }

.sim__inputs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px 20px;
}
.field { min-width: 0; }
.field > label,
.field > legend {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-800);
}
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }

.field--bill {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  column-gap: 24px;
  align-items: center;
}
.field--bill > label { grid-column: 1 / -1; }
.field--bill .range { grid-column: 2; grid-row: 2; }
.field--bill .range__scale { grid-column: 2; grid-row: 3; }
.field--bill .bill { grid-column: 1; grid-row: 2 / span 2; align-self: start; }

.bill {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 62px;
  padding: 0 16px;
  border: 1.5px solid var(--sky-300);
  border-radius: 12px;
  background: var(--sky-50);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.bill:focus-within {
  border-color: var(--cell-2);
  box-shadow: 0 0 0 3px rgba(42, 100, 174, 0.28);
}
.bill input {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1.875rem;
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--navy-900);
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}
.bill input::-webkit-inner-spin-button,
.bill input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.bill__pre { font-size: 1.125rem; font-weight: 700; color: var(--navy-600); }
.bill__suf { font-size: 0.9375rem; color: var(--navy-600); white-space: nowrap; }
.bill--sm { height: 54px; }
.bill--sm input { font-size: 1.125rem; font-weight: 700; font-stretch: 100%; letter-spacing: 0; }

.range {
  --pct: 26.7%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.range:focus-visible { outline: none; }
.range::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--sun-400) 0 var(--pct), var(--sky-200) var(--pct) 100%);
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  margin-top: -10px;
  border-radius: 50%;
  border: 3px solid var(--navy-900);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(15, 42, 74, 0.3);
}
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(42, 100, 174, 0.45); }
.range::-moz-range-track { height: 10px; border-radius: 99px; background: var(--sky-200); }
.range::-moz-range-progress { height: 10px; border-radius: 99px; background: var(--sun-400); }
.range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid var(--navy-900);
  background: var(--white);
}
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgba(42, 100, 174, 0.45); }
html:not(.js) .range { display: none; }
.range__scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: -4px;
  font-size: 0.8125rem;
  color: var(--navy-600);
  font-variant-numeric: tabular-nums;
}

.seg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  padding: 4px;
  border: 1.5px solid var(--sky-300);
  border-radius: 12px;
  background: var(--sky-50);
}
.seg label { position: relative; display: block; margin: 0; }
.seg input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.seg span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 9px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-800);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.seg input:hover + span { background: var(--sky-100); }
.seg input:checked + span { background: var(--navy-900); color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--cell-2); outline-offset: 2px; }

select {
  width: 100%;
  min-height: 57px;
  padding: 0 44px 0 16px;
  border: 1.5px solid var(--sky-300);
  border-radius: 12px;
  background: var(--sky-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 18px;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
select:focus-visible { outline-offset: 2px; border-color: var(--cell-2); }

/* Visor de resultados */
.display {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 20px 28px;
  padding: 24px;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--white);
}
.display__k { font-size: 0.9375rem; color: var(--on-navy); }
.display__v {
  margin: 6px 0 10px;
  font-size: clamp(2.75rem, 2rem + 2.2vw, 3.6rem);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--sun-400);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.display__sub { font-size: 1rem; color: var(--on-navy); }
.display__sub output { font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }

.array { margin: 0; align-self: center; }
.array__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3px;
  padding: 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}
.array__grid span {
  aspect-ratio: 1 / 1.6;
  border-radius: 2px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.array__grid span.on {
  border: 1px solid #5d93dc;
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(255, 255, 255, 0.32) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.26) 1px, transparent 1px) 0 0 / 100% 20%,
    linear-gradient(165deg, #4a86d4, var(--cell));
  box-shadow: 0 0 0 1px rgba(255, 184, 28, 0);
}
.array figcaption {
  margin-top: 10px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--on-navy);
}
.array figcaption output { font-weight: 700; color: var(--white); }
.array__more { color: var(--sun-300); }

.specs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.specs div { padding: 0 18px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.specs div:first-child { padding-left: 0; border-left: 0; }
.specs dt { font-size: 0.8125rem; color: var(--on-navy); }
.specs dd {
  margin: 4px 0 0;
  font-size: 1.75rem;
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.specs dd small {
  font-size: 0.9375rem;
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--on-navy);
}
.sim__noscript {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--navy-600);
}

.sim__foot {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}
.assume { flex: 1 1 auto; min-width: 0; }
.sim__foot .btn { flex: none; }
.assume summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  color: var(--navy-600);
  text-decoration: underline dotted;
  text-underline-offset: 4px;
  list-style: none;
  cursor: pointer;
}
.assume summary::-webkit-details-marker { display: none; }
.assume summary:hover { color: var(--navy-900); }
.assume ul {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: calc(100% + 10px);
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 20px 22px 20px 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-panel);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--navy-800);
}
.assume li::marker { color: var(--sun-500); }

/* Seções: cabeçalho padrão */
.sec-head { max-width: 46rem; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head p {
  max-width: 38em;
  margin-top: 18px;
  font-size: 1.125rem;
  color: var(--navy-600);
}
.sec-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  max-width: none;
}
.sec-head--split > div { max-width: 46rem; }
.cases .sec-head { margin-bottom: clamp(32px, 3.5vw, 44px); }
html.is-print { scroll-behavior: auto; }
.note-chip {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--sky-300);
  background: var(--white);
  font-size: 0.875rem;
  color: var(--navy-600);
  white-space: nowrap;
}

/* Como funciona: caminho do sol */
.steps { padding-block: var(--section); }
.path { --gap: 32px; }
.path__sky { position: relative; height: 190px; margin-bottom: 36px; }
.path__arc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.path__arc path {
  fill: none;
  stroke: var(--sun-500);
  stroke-width: 2;
  stroke-dasharray: 2 7;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.path__horizon { stroke: var(--sky-300); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.path__dot {
  position: absolute;
  left: calc((100% + var(--gap)) / 4 * var(--i));
  top: calc(var(--y) - 22px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--sun-500);
  background: var(--white);
  font-size: 1.0625rem;
  font-weight: 800;
  font-stretch: 110%;
  color: var(--navy-900);
}
.path__dot::after {
  content: "";
  position: absolute;
  top: calc(100% + 4px);
  left: calc(50% - 1px);
  height: calc(190px - var(--y) - 22px + 28px);
  border-left: 2px dotted var(--sky-300);
}
.path__dot--sun {
  width: 64px;
  height: 64px;
  margin-left: -10px;
  top: calc(var(--y) - 32px);
  border: 0;
  background: transparent;
}
.path__dot--sun svg { width: 64px; height: 64px; overflow: visible; }
.path__dot--sun text { font-family: var(--font); font-size: 20px; font-weight: 800; fill: var(--navy-900); }
.path__dot--sun::after { height: calc(190px - var(--y) - 32px + 28px); }

.path__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.step h3 { margin: 8px 0 10px; }
.step p:last-child { font-size: 1rem; color: var(--navy-600); }
.step__when {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--amber-700);
}
.step__when .i { width: 20px; height: 20px; }
.step__num { display: none; }

/* Economia em números */
.gain {
  padding-block: var(--section);
  background: var(--navy-900);
  color: var(--white);
}
.gain__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.gain__intro > p { margin-top: 18px; font-size: 1.125rem; color: var(--on-navy); max-width: 32em; }
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 28px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
.stats li { padding-top: 16px; border-top: 2px solid var(--sun-400); }
.stats strong {
  display: block;
  font-size: clamp(2.25rem, 1.7rem + 1.4vw, 3rem);
  font-weight: 800;
  font-stretch: 115%;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--sun-400);
  font-variant-numeric: tabular-nums;
}
.stats strong small {
  font-size: 0.42em;
  font-weight: 700;
  font-stretch: 105%;
  letter-spacing: 0;
}
.stats span { display: block; margin-top: 10px; font-size: 0.9375rem; line-height: 1.5; color: var(--on-navy); }

.chart {
  margin: 0;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 18px;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.chart__head h3 { font-size: 1.1875rem; }
.chart__head p { margin-top: 6px; font-size: 0.875rem; color: var(--on-navy); }
.chart__key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--white);
}
.chart__key span { display: inline-flex; align-items: center; gap: 8px; }
.chart__key-bar { width: 12px; height: 12px; border-radius: 3px; background: var(--sun-400); }
.chart__key-ref { width: 22px; height: 0; border-top: 2px dashed rgba(255, 255, 255, 0.9); }
.chart__plot { margin-top: 28px; padding-left: 34px; }
.chart__area { position: relative; height: 290px; }
.chart__gl {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--v) / 700 * 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.chart__gl--base { border-top-color: rgba(255, 255, 255, 0.4); }
.chart__gl i {
  position: absolute;
  right: calc(100% + 8px);
  top: -0.7em;
  font-size: 0.75rem;
  font-style: normal;
  color: var(--on-navy-soft);
  font-variant-numeric: tabular-nums;
}
.chart__bars {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chart__bars li { position: relative; height: 100%; }
.chart__bar {
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 0;
  height: calc(var(--v) / 700 * 100%);
  border-radius: 4px 4px 0 0;
  background: var(--sun-400);
  transition: background-color 0.12s ease;
}
.chart__bars li:hover .chart__bar { background: var(--sun-200); }
.chart__tip,
.chart__lbl {
  position: absolute;
  left: 50%;
  bottom: calc(var(--v) / 700 * 100% + 8px);
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.chart__lbl { color: var(--white); }
.chart__tip {
  z-index: 3;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--white);
  color: var(--navy-900);
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}
.chart__bars li:hover .chart__tip { opacity: 1; }
.chart__bars li:hover .chart__lbl { opacity: 0; }
.chart__ref {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: calc(560 / 700 * 100%);
  border-top: 2px dashed rgba(255, 255, 255, 0.9);
  pointer-events: none;
}
.chart__months {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  text-align: center;
  color: var(--on-navy-soft);
}
.chart__note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--on-navy);
}

/* Financiamento */
.finance { padding-block: var(--section); }
.finance__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.finance__intro > p { margin-top: 18px; font-size: 1.125rem; color: var(--navy-600); max-width: 32em; }
.swap {
  margin-top: 40px;
  padding: 26px 26px 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--sky-50);
}
.swap__title { margin-bottom: 20px; font-weight: 700; font-stretch: 105%; }
.swap__row { display: grid; gap: 6px; margin-bottom: 18px; }
.swap__k { font-size: 0.875rem; color: var(--navy-600); }
.swap__bar { display: flex; gap: 2px; height: 16px; }
.swap__bar span { width: var(--w); height: 100%; border-radius: 3px; }
.seg-conta { background: var(--navy-800); }
.seg-parcela { background: var(--sun-400); box-shadow: inset 0 0 0 1px rgba(156, 87, 0, 0.35); }
.swap__v { font-weight: 700; font-variant-numeric: tabular-nums; }
.swap__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.875rem; color: var(--navy-800); }
.swap__legend span { display: inline-flex; align-items: center; gap: 8px; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; }
.sw--parcela { background: var(--sun-400); box-shadow: inset 0 0 0 1px rgba(156, 87, 0, 0.35); }
.sw--conta { background: var(--navy-800); }
.swap__note { margin-top: 14px; font-size: 0.8125rem; color: var(--navy-600); }

.options { margin: 0; padding: 0; list-style: none; }
.option {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.option:first-child { border-top: 2px solid var(--navy-900); }
.option:last-child { border-bottom: 1px solid var(--line); }
.option .i--lg {
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 12px;
  background: var(--sky-100);
  color: var(--cell);
  stroke-width: 1.6;
}
.option h3 { margin-bottom: 6px; }
.option p { color: var(--navy-600); }

/* Obras recentes */
.cases { padding-block: var(--section); background: var(--sky-50); }
.cases__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 20px;
}
.case {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
}
.case img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.case__body { padding: 20px 22px; }
.case h3 { font-size: 1.125rem; }
.case__place { margin: 4px 0 14px; font-size: 0.875rem; color: var(--navy-600); }
.case__specs { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; }
.case__specs dt { font-size: 0.75rem; color: var(--navy-600); }
.case__specs dd {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 800;
  font-stretch: 108%;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.case--feature {
  grid-row: 1 / span 3;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) auto;
}
.case--feature img { min-height: 340px; }
.case--feature .case__body { padding: 26px 28px 28px; }
.case--feature h3 { font-size: 1.5rem; font-stretch: 112%; }
.case--feature .case__specs { gap: 12px 36px; }
.case--feature .case__specs dd { font-size: 1.625rem; color: var(--navy-900); }

/* Equipamentos */
.gear { padding-block: var(--section); }
.gear__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.gear__intro > p { margin-top: 18px; font-size: 1.0625rem; color: var(--navy-600); }
.gear__intro img {
  width: 100%;
  margin-top: 32px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}
.spec { width: 100%; border-collapse: collapse; }
.spec th,
.spec td {
  padding: 20px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.spec th:first-child { padding-left: 0; }
.spec td:last-child { padding-right: 0; }
.spec thead th {
  padding-top: 0;
  padding-bottom: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-600);
  border-bottom: 2px solid var(--navy-900);
}
.spec tbody th {
  width: 190px;
  font-weight: 700;
  font-stretch: 108%;
  white-space: nowrap;
}
.spec tbody th .i { margin: -2px 12px 0 0; vertical-align: middle; color: var(--cell); }
.spec td { color: var(--navy-600); }
.spec td:last-child { width: 30%; color: var(--navy-900); }
.spec td strong { font-weight: 800; font-stretch: 108%; }

/* Depoimentos */
.voices { padding-block: var(--section); background: var(--sky-50); }
.voices__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.voice {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  margin: 0;
  padding-top: 24px;
  border-top: 2px solid var(--navy-900);
}
.voice blockquote { margin: 0; }
.voice blockquote p { font-size: 1.25rem; line-height: 1.5; font-weight: 500; }
.voice figcaption { display: flex; align-items: center; gap: 14px; font-size: 0.875rem; color: var(--navy-600); }
.voice figcaption strong { display: block; font-size: 1rem; color: var(--navy-900); }
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 0.9375rem;
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: 0.02em;
}
.avatar--navy { background: var(--navy-900); color: var(--sun-400); }
.avatar--sun { background: var(--sun-400); color: var(--navy-900); }
.avatar--cell { background: var(--cell); color: var(--white); }

/* FAQ */
.faq { padding-block: var(--section); }
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.faq__intro { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq__intro p { margin-top: 18px; color: var(--navy-600); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 2px solid var(--navy-900); }
.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  padding: 22px 0;
  font-size: 1.125rem;
  font-weight: 700;
  font-stretch: 105%;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--cell); }
.faq__list summary .i { color: var(--amber-700); transition: transform 0.2s ease; }
.faq__list details[open] summary .i { transform: rotate(45deg); }
.faq__list details p { max-width: 62ch; margin-top: -6px; padding-bottom: 24px; color: var(--navy-600); }

/* Orçamento */
.quote {
  position: relative;
  overflow: hidden;
  padding-block: var(--section);
  background: linear-gradient(180deg, var(--sky-50) 0%, var(--sky-100) 100%);
}
.quote__sun {
  position: absolute;
  width: 720px;
  height: 720px;
  right: -300px;
  bottom: -380px;
  pointer-events: none;
}
.quote__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.quote__intro > p { margin-top: 18px; font-size: 1.125rem; color: var(--navy-600); }
.next {
  display: grid;
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: next;
}
.next li {
  position: relative;
  padding-left: 52px;
  counter-increment: next;
}
.next li::before {
  content: counter(next);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sun-400);
  font-weight: 800;
  font-stretch: 110%;
  font-size: 0.9375rem;
}
.next strong { display: block; }
.next span { color: var(--navy-600); font-size: 0.9375rem; }
.contact { display: grid; gap: 12px; margin: 36px 0 0; padding: 20px 0 0; list-style: none; border-top: 1.5px solid var(--sky-300); }
.contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; }
.contact li > span { min-width: 0; }
.contact .i { color: var(--cell); margin-top: 1px; }
.contact a { display: inline-block; padding: 12px 0; margin: -12px 0; font-weight: 700; }

.lead {
  padding: clamp(24px, 3vw, 36px);
  border-radius: 20px;
  border: 1px solid var(--sky-200);
  background: var(--white);
  box-shadow: var(--shadow-panel);
}
.lead h3 { font-size: 1.375rem; font-stretch: 112%; }
.lead__hint { margin-top: 6px; font-size: 0.875rem; color: var(--navy-600); }
.lead__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  margin: 24px 0 24px;
}
.field--wide { grid-column: 1 / -1; }
.lead input[type="text"],
.lead input[type="tel"] {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1.5px solid var(--sky-300);
  border-radius: 12px;
  background: var(--sky-50);
  font-size: 1.0625rem;
}
.lead input[type="text"]:focus-visible,
.lead input[type="tel"]:focus-visible { outline-offset: 2px; border-color: var(--cell-2); }
.lead input::placeholder { color: #6b7f99; }
.lead select { min-height: 54px; }
.lead__legal { margin-top: 14px; font-size: 0.8125rem; color: var(--navy-600); text-align: center; }

/* Rodapé */
.foot { padding: 64px 0 28px; background: var(--navy-950); color: var(--on-navy); }
.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr);
  gap: 40px;
}
.foot__brand p { max-width: 30em; margin-top: 18px; font-size: 0.9375rem; }
.foot h2 {
  margin-bottom: 14px;
  font-size: 1rem;
  font-stretch: 108%;
  letter-spacing: 0;
  color: var(--white);
}
.foot__nav { display: grid; align-content: start; }
.foot__nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  text-decoration: none;
}
.foot__nav a:hover,
.foot__contact a:hover { color: var(--white); text-decoration: underline; }
.foot__contact p { margin-bottom: 10px; font-size: 0.9375rem; }
.foot__contact a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--white); font-weight: 700; text-decoration: none; }
.foot :focus-visible { outline-color: var(--sun-400); }
.foot__legal {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  color: var(--on-navy-soft);
}
.gain :focus-visible { outline-color: var(--sun-400); }

/* Movimento: um único momento no carregamento, e respostas ao simulador */
@media (prefers-reduced-motion: no-preference) {
  .hero__rays { animation: raios 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__ticks { animation: marcas 1.4s ease-out both; }
  @keyframes raios {
    from { opacity: 0; transform: rotate(-24deg) scale(0.92); }
    to { opacity: 1; transform: none; }
  }
  @keyframes marcas {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  .array__grid.is-booting span.on { transition-delay: calc(var(--n, 0) * 40ms); }
  .display__v output.is-bump { display: inline-block; animation: bump 0.35s ease-out; }
  @keyframes bump {
    from { transform: translateY(3px); opacity: 0.6; }
    to { transform: none; opacity: 1; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Responsivo */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { max-width: 40rem; }
  .hero__grid { row-gap: 48px; }
  .hero__instrument { max-width: 760px; --rise: 130px; --sun: 440px; }
  .hero__ring { display: none; }
  .gain__grid,
  .finance__grid,
  .gear__grid,
  .faq__grid,
  .quote__grid { grid-template-columns: minmax(0, 1fr); }
  .gain__intro > p,
  .stats { max-width: 44rem; }
  .faq__intro { position: static; }
  .gear__intro img { display: none; }
}

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .menu { display: block; }
  .cases__grid { grid-template-columns: minmax(0, 1fr); }
  .case--feature { grid-row: auto; }
  .case--feature img { min-height: 0; aspect-ratio: 16 / 10; }
}

@media (max-width: 900px) {
  .path__sky { display: none; }
  .path__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .step { position: relative; padding: 0 0 36px 68px; }
  .step:last-child { padding-bottom: 0; }
  .step__num {
    position: absolute;
    left: 0;
    top: -8px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--sun-500);
    background: var(--white);
    font-weight: 800;
    font-stretch: 110%;
  }
  .step:last-child .step__num { border-color: var(--sun-400); background: var(--sun-400); }
  .step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 44px;
    bottom: -4px;
    border-left: 2px dotted var(--sky-300);
  }
  .voices__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 680px) {
  .field--bill { grid-template-columns: minmax(0, 1fr); }
  .field--bill .bill,
  .field--bill .range,
  .field--bill .range__scale { grid-column: 1; grid-row: auto; }
  .field--bill .range { margin-top: 8px; }
  .sim__inputs { grid-template-columns: minmax(0, 1fr); }
  .display { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .specs { grid-template-columns: minmax(0, 1fr); padding-top: 8px; }
  .specs div,
  .specs div:first-child {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .specs div:first-child { border-top: 0; }
  .specs dd { margin: 0; font-size: 1.375rem; }
  .sim__foot { flex-direction: column-reverse; align-items: stretch; }
  .sim__foot .btn { width: 100%; }
  .assume summary { justify-content: center; }
  .case { grid-template-columns: minmax(0, 1fr); }
  .case img { aspect-ratio: 16 / 10; min-height: 0; height: auto; }
  .lead__fields { grid-template-columns: minmax(0, 1fr); }
  .foot__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .chart__area { height: 230px; }
  .chart__plot { padding-left: 28px; }
  .chart__months { font-size: 0.6875rem; }
  .chart__bar { left: 8%; right: 8%; }
}

@media (max-width: 520px) {
  :root { --nav-h: 64px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__name { font-size: 1.125rem; }
  .brand__name small { font-size: 0.625rem; }
  .nav__in { gap: 10px; }
  .nav__cta { padding: 0 16px; }
  .nav__cta-more { display: none; }
  h1 { font-stretch: 112%; }
  .hero__lead { font-size: 1.0625rem; margin-top: 20px; }
  .hero__facts { gap: 12px; margin-top: 28px; }
  .hero__facts strong { font-size: 1.25rem; }
  .hero__facts span { font-size: 0.8125rem; }
  .hero__instrument { --rise: 128px; --sun: 380px; }
  .hero__sun { left: calc(64% - var(--sun) / 2); }
  .sim { padding: 20px 18px 18px; border-radius: 18px; }
  .sim__foot .btn { padding: 0 16px; font-size: 1rem; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .spec thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .spec tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .spec tbody tr:first-child { border-top: 2px solid var(--navy-900); }
  .spec th,
  .spec td { display: block; width: auto !important; padding: 0; border: 0; }
  .spec tbody th { margin-bottom: 6px; }
  .spec td:last-child { margin-top: 6px; }
  .spec td:last-child::before { content: "Garantia: "; color: var(--navy-600); }
  .note-chip { white-space: normal; }
}
