/* =========================================================================
   EPORTH · EcoFlow PowerOcean Plus: LP de lançamento
   Paleta: Branding Book EPORTH 2025 (Verde Frequência, Grafite Estelar,
   Dourado Orgânico só para alertas) + neutros.
   ========================================================================= */

/* ---------- Fontes (hospedadas localmente, OFL) ---------- */
@font-face { font-family: 'Economica'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/economica-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Economica'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/economica-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Economica'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/economica-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Economica'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/economica-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fustat'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('../assets/fonts/fustat-300-800-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fustat'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('../assets/fonts/fustat-300-800-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --verde: #BBFF3C;
  --grafite: #2B2B2B;
  --dourado: #D9AE6D;
  --ink: #0E0E0E;
  --ink-2: #151515;
  --paper: #FFFFFF;
  --paper-2: #F4F4F2;

  --f-sans: 'Fustat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-cond: 'Economica', 'Arial Narrow', sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(20px, 4vw, 60px);
  --maxw: 1320px;
  --hdr-h: 72px;
  --r-lg: 28px;
  --r-md: 16px;
  --sp-section: clamp(100px, 12vw, 180px);

  interpolate-size: allow-keywords;
}

[data-tone="dark"] {
  --fg: #FFFFFF;
  --muted: rgba(255, 255, 255, .64);
  --line: rgba(255, 255, 255, .13);
  --bar: var(--verde);
  color: var(--fg);
}
[data-tone="light"] {
  --fg: var(--grafite);
  --muted: rgba(43, 43, 43, .68);
  --line: rgba(43, 43, 43, .14);
  --bar: var(--grafite);
  color: var(--fg);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis-smooth { scroll-behavior: auto !important; }
.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--grafite);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img, svg, picture { display: block; max-width: 100%; }
picture img { width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 600; }
em { font-style: italic; }

.skip {
  position: absolute; left: -9999px; top: 16px; z-index: 200;
  background: var(--verde); color: var(--grafite); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip:focus { left: 16px; }

:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; border-radius: 4px; }
[data-tone="light"] :focus-visible { outline-color: var(--grafite); }

::selection { background: var(--verde); color: var(--grafite); }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--sp-section); }
.section-top { padding-top: var(--sp-section); }
.section-bottom { padding-bottom: var(--sp-section); }
.section--dark { background: var(--ink); }

/* ---------- Tipografia ---------- */
.h2 {
  font-size: clamp(40px, 5.4vw, 88px);
  line-height: .98;
  letter-spacing: -.042em;
  font-weight: 600;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(32px, 3.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -.036em;
  font-weight: 600;
  text-wrap: balance;
}
.lead {
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
  margin-top: 28px;
  text-wrap: pretty;
}
.body-lg {
  font-size: clamp(17px, 1.2vw, 19px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
  margin-top: 24px;
  text-wrap: pretty;
}
.note { font-size: 13px; color: var(--muted); margin-top: 20px; }

.eyebrow {
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow--live { display: inline-flex; align-items: center; gap: 12px; color: var(--fg); }
.eyebrow--live::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--verde);
  box-shadow: 0 0 0 4px rgba(187, 255, 60, .16);
  animation: live 2.4s ease-in-out infinite;
}
@keyframes live { 50% { box-shadow: 0 0 0 7px rgba(187, 255, 60, 0); } }

.kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-cond); font-weight: 700; font-size: 15px; line-height: 1;
  letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 36px;
}
.kicker__n {
  background: var(--verde); color: var(--grafite);
  padding: 6px 7px 5px; border-radius: 4px; letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.kicker__rule { width: 40px; height: 1px; background: currentColor; opacity: .35; }

.hl { color: var(--verde); }
[data-tone="light"] .hl { color: inherit; background: linear-gradient(transparent 72%, var(--verde) 72%, var(--verde) 94%, transparent 94%); }

.link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .2s; }
[data-tone="dark"] .link:hover { color: var(--verde); }
[data-tone="light"] .link:hover { text-decoration-thickness: 2px; }

/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  height: 58px; padding: 0 9px 0 28px;
  border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  cursor: pointer; border: 0;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn__icon {
  position: relative; overflow: hidden;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grafite); color: var(--verde);
  display: grid; place-items: center; flex-shrink: 0;
}
.btn__icon svg {
  position: absolute; width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .55s var(--ease);
}
.btn__icon svg:last-child { transform: translateX(-160%); }
.btn:hover .btn__icon svg:first-child { transform: translateX(160%); }
.btn:hover .btn__icon svg:last-child { transform: translateX(0); }

.btn--verde { background: var(--verde); color: var(--grafite); }
.btn--verde:hover { background: #C9FF66; }
.btn--ghost {
  padding: 0 28px; color: var(--fg, #fff);
  background: transparent; border: 1px solid var(--line, rgba(255,255,255,.28));
}
[data-tone="dark"] .btn--ghost { border-color: rgba(255, 255, 255, .3); }
.btn--ghost:hover { border-color: currentColor; }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; justify-content: space-between; }
/* Botão secundário dentro de card grafite */
.btn--dark { padding: 0 28px; background: transparent; border: 1px solid rgba(255, 255, 255, .34); color: #fff; }
.btn--dark:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 60;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: transform .6s var(--ease), background-color .4s ease, border-color .4s ease, color .4s ease;
}
.hdr__in {
  height: var(--hdr-h);
  display: flex; align-items: center; gap: 40px;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto; padding-inline: var(--gutter);
}
.hdr.is-scrolled {
  background: rgba(14, 14, 14, .72);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  backdrop-filter: saturate(150%) blur(18px);
  border-bottom-color: rgba(255, 255, 255, .08);
}
.hdr.is-light { color: var(--grafite); }
.hdr.is-light.is-scrolled { background: rgba(255, 255, 255, .82); border-bottom-color: rgba(43, 43, 43, .08); }
.hdr.is-hidden { transform: translateY(-101%); }

.logo-pair { display: flex; align-items: center; gap: 14px; }
.logo-pair__eporth { height: 16px; width: auto; }
.logo-pair__ecoflow { height: 13px; width: auto; }
.logo-pair__x { width: 1px; height: 18px; background: currentColor; opacity: .3; }
.logo--on-light { display: none; }
.hdr.is-light .logo--on-light { display: block; }
.hdr.is-light .logo--on-dark { display: none; }

.hdr__nav { display: flex; gap: 30px; margin-left: auto; font-size: 14px; font-weight: 500; }
.hdr__nav a { opacity: .7; transition: opacity .25s; }
.hdr__nav a:hover { opacity: 1; }
.hdr__cta { flex-shrink: 0; }
.hdr.is-light .hdr__cta { background: var(--grafite); color: #fff; }
.hdr.is-light .hdr__cta:hover { background: #000; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink); color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 28% 50%; transform-origin: 60% 50%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, .5) 0%, rgba(10, 10, 10, 0) 20%),
    linear-gradient(0deg, rgba(10, 10, 10, .85) 0%, rgba(10, 10, 10, .35) 32%, rgba(10, 10, 10, 0) 55%),
    linear-gradient(90deg, rgba(10, 10, 10, .6) 0%, rgba(10, 10, 10, .15) 45%, rgba(10, 10, 10, 0) 60%);
}
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(120px, 14vh, 170px); }
.hero__title { margin: 26px 0 24px; font-weight: 600; }
.hero__pre, .hero__name { overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__pre > span, .hero__name > span { display: block; }
.hero__pre {
  display: block;
  font-size: clamp(22px, 2.2vw, 34px); font-weight: 400; letter-spacing: -.02em; line-height: 1;
  color: rgba(255, 255, 255, .8); margin-bottom: .35em;
}
.hero__name {
  display: block;
  font-size: clamp(54px, 6.8vw, 116px);
  line-height: .92; letter-spacing: -.048em;
}
.hero__lead { font-size: clamp(18px, 1.55vw, 24px); line-height: 1.42; color: rgba(255, 255, 255, .82); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__price { margin-top: 26px; font-size: 15px; color: rgba(255, 255, 255, .7); }
.hero__price b { font-size: 17px; font-weight: 600; color: #fff; }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .34); }
.hero__specs {
  position: absolute; z-index: 2;
  right: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  bottom: clamp(48px, 6vh, 64px);
  display: flex; gap: 44px;
}
.hero__specs div { border-left: 1px solid rgba(255, 255, 255, .22); padding-left: 18px; }
.hero__specs dt {
  font-family: var(--f-cond); font-weight: 700; font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .6);
}
.hero__specs dd { font-size: 30px; font-weight: 600; letter-spacing: -.035em; line-height: 1.2; margin-top: 6px; white-space: nowrap; }
.hero__specs dd span { font-size: .56em; font-weight: 500; color: rgba(255, 255, 255, .7); letter-spacing: 0; }

/* ---------- 01 · Manifesto + números ---------- */
.manifesto { background: var(--paper); }
.manifesto__text {
  font-size: clamp(28px, 3.7vw, 58px);
  line-height: 1.14; letter-spacing: -.034em; font-weight: 500;
  max-width: 21em; text-wrap: pretty;
}
.figures {
  display: grid; grid-template-columns: repeat(3, 1fr);
  column-gap: var(--gutter);
  margin-top: clamp(80px, 10vw, 140px);
}
.figure { display: flex; flex-direction: column; padding: 30px 0 46px; border-top: 1px solid var(--line); }
.figure__value {
  display: flex; align-items: baseline; gap: 10px;
  font-size: clamp(52px, 5.8vw, 96px); font-weight: 600;
  line-height: .9; letter-spacing: -.05em;
}
.figure__unit { font-size: .32em; font-weight: 500; letter-spacing: -.01em; color: var(--muted); }
.figure__bar { width: 44px; height: 3px; background: var(--bar); margin: 24px 0 14px; transform-origin: left center; }
.figure__label { font-size: 16px; color: var(--muted); max-width: 26ch; }
.figures--4 { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.figures--4 .figure__value { font-size: clamp(44px, 4.4vw, 72px); }

/* ---------- 02 · Apagão ---------- */
.outage { position: relative; background: var(--ink); }
.outage__stage { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.outage__media { position: absolute; inset: 0; }
.outage__media picture, .outage__media img { width: 100%; height: 100%; }
.outage__media img { object-fit: cover; object-position: 40% 50%; }
/* Instrumento da cena do apagão: a linha da rede achata, a do DELTA Pro Ultra segue igual. */
.scope { position: relative; width: min(760px, 78vw); margin-inline: auto; }
.scope__svg { display: block; width: 100%; height: clamp(90px, 11vw, 140px); overflow: visible; }
.scope__svg path { fill: none; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.scope__viva { stroke: rgba(255, 255, 255, .85); }
.scope__morta { stroke: var(--dourado); stroke-width: 2; stroke-dasharray: 6 6; opacity: .9; }
.scope__dpu { stroke: var(--verde); }
.scope__corte { stroke: rgba(255, 255, 255, .45); stroke-width: 1; stroke-dasharray: 3 5; }
.scope__tag {
  position: absolute; top: 4px;
  font-family: var(--f-cond); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
}
.scope__tag--rede { left: 0; color: rgba(255, 255, 255, .7); }
.scope__queda { position: absolute; left: 46.6%; top: 78%; translate: -50% 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dourado); font-family: var(--f-cond); font-weight: 700; }
.scope__tag--dpu { right: 0; color: var(--verde); }
.outage__conta {
  display: flex; align-items: baseline; justify-content: center;
  margin-top: 18px;
  font-size: clamp(78px, 11vw, 168px); font-weight: 600; line-height: .85; letter-spacing: -.06em;
  color: var(--verde); font-variant-numeric: tabular-nums;
}
.outage__conta-unidade { font-size: .26em; letter-spacing: -.02em; margin-left: .12em; color: #fff; }
.outage__db { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 30px; }
.outage__db-n { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -.03em; }
.outage__db-t { font-size: 14px; color: rgba(255, 255, 255, .66); max-width: 34ch; text-align: center; }
.outage__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, .82) 0%, rgba(8, 8, 8, .4) 42%, rgba(8, 8, 8, 0) 70%),
    linear-gradient(0deg, rgba(8, 8, 8, .7) 0%, rgba(8, 8, 8, 0) 40%);
}
.outage__copy { position: relative; z-index: 2; padding-block: 180px 100px; display: grid; gap: 56px; }
.outage__step--a { display: none; }
.outage__step .h2 { max-width: 12em; }
.outage__ms {
  display: flex; align-items: baseline;
  font-size: clamp(120px, 19vw, 300px); font-weight: 600; line-height: .8; letter-spacing: -.065em;
  color: var(--verde); font-variant-numeric: tabular-nums;
}
.outage__ms-unit { font-size: .26em; letter-spacing: -.02em; margin-left: .14em; color: #fff; }
.outage__ms-label { max-width: 24ch; margin-top: 22px; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.4; color: rgba(255, 255, 255, .82); }
.outage__online {
  max-width: 30ch; margin-top: 30px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: clamp(17px, 1.4vw, 21px); line-height: 1.45; color: rgba(255, 255, 255, .78);
}
.outage__online b { color: #fff; font-weight: 600; }
.outage__online .hl { font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chips li {
  border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px;
  padding: 9px 16px 10px; font-size: 14px; font-weight: 500;
  background: rgba(10, 10, 10, .35);
}

.motion .outage__stage { height: 100vh; height: 100lvh; min-height: 0; align-items: stretch; }
.motion .outage__copy { position: absolute; inset: 0; padding: 0; display: block; }
.motion .outage__step {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 50%;
  translate: 0 -50%;
}
.motion .outage__step--a { display: block; }
.motion .outage__step--b { display: flex; flex-direction: column; align-items: center; text-align: center; }
.motion .outage__step--b .outage__ms-label { max-width: 30ch; }
.motion .outage__step--b,
.motion .outage__step--c { opacity: 0; visibility: hidden; }
.motion .outage__online { opacity: 0; visibility: hidden; margin-inline: auto; }
.motion .outage__db { opacity: 0; visibility: hidden; }
/* sem JS o rótulo do BMS fica visível; com movimento ele entra junto do chip */
.motion .bms__rotulo { opacity: 0; }

/* Cargas */
.loads__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 130px); align-items: start; }
.frame { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--ink-2); }
.frame picture, .frame img { width: 100%; height: 100%; object-fit: cover; }
.loads__media { aspect-ratio: 1 / 1.02; position: sticky; top: calc(var(--hdr-h) + 40px); }
.loads__list {
  display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 40px;
  margin: 48px 0 0; border-top: 1px solid var(--line);
}
.loads__list li {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px;
}
.loads__list img { width: 30px; height: 30px; opacity: .92; flex-shrink: 0; }

/* ---------- 03 · Sistema modular ---------- */
.modular { background: var(--ink); }
.modular__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.modular__head .h2 { max-width: 15em; }
.modular__head .lead { margin-inline: auto; }

.tower-scene { padding-block: clamp(56px, 7vw, 100px); }
.tower-scene__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 6vw, 110px); align-items: center; }
.tower-scene__read { display: block; }
.tower-scene__kwh {
  display: flex; align-items: baseline;
  font-size: clamp(84px, 10.5vw, 168px); font-weight: 600; line-height: .84; letter-spacing: -.062em;
  color: var(--verde);
}
.tower-scene__unit { font-size: .26em; letter-spacing: -.02em; margin-left: .16em; color: #fff; }
.tower-scene__cfg {
  display: block; margin-top: 18px;
  font-family: var(--f-cond); font-weight: 700; font-size: 15px;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .72);
}
.tower-scene__max { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 17px; color: var(--muted); }
.tower-scene__max .hl { font-weight: 600; }

.tower {
  padding: clamp(18px, 2.6vw, 34px) clamp(14px, 2vw, 28px) 18px;
  border-radius: var(--r-lg);
  background: radial-gradient(120% 78% at 50% 2%, #202020 0%, #101010 64%);
  border: 1px solid rgba(255, 255, 255, .06);
}
.tower__stage {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center; gap: 3%;
  height: clamp(340px, 52vh, 600px);
}
.tower__center { position: relative; height: 94%; aspect-ratio: 1 / 1.8; transform-origin: 50% 100%; }
.tower__center img { position: absolute; left: 0; width: 100%; height: auto; }
.tower__base { bottom: 0; }
.tower__bat[data-bat="1"] { bottom: 9.977%; }
.tower__bat[data-bat="2"] { bottom: 24.641%; }
.tower__bat[data-bat="3"] { bottom: 39.305%; }
.tower__bat[data-bat="4"] { bottom: 53.969%; }
.tower__bat[data-bat="5"] { bottom: 68.633%; }
.tower__inv { bottom: 82.844%; }
/* torres laterais: fora do fluxo, senão o scale (só visual) da torre central alarga a caixa */
.tower__side { display: none; position: absolute; bottom: 0; height: 52.6%; width: auto; }
.tower__side--l { left: 0; }
.tower__side--r { right: 0; }
.motion .tower__side { display: block; }
.tower__caption { margin-top: 14px; text-align: center; font-size: 12px; color: rgba(255, 255, 255, .5); }

.realstack { margin-top: clamp(40px, 6vw, 84px); aspect-ratio: 16 / 9; }
.realstack figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 60px clamp(20px, 3vw, 34px) 22px;
  background: linear-gradient(0deg, rgba(8, 8, 8, .85) 0%, rgba(8, 8, 8, 0) 100%);
}

/* ---------- 04 · Monte o seu ---------- */
.build { background: var(--paper-2); }
.build__head { margin-bottom: clamp(36px, 4.6vw, 64px); }
.build__head .h2 { max-width: 18em; }
.build__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(20px, 2.6vw, 40px); align-items: start; }
.build__panel {
  grid-row: span 2;
  padding: clamp(24px, 3vw, 44px);
  border-radius: var(--r-lg); background: var(--paper);
}
.build__choice { border: 0; padding: 0; }
.build__choice legend {
  display: block; margin-bottom: 14px;
  font-family: var(--f-cond); font-weight: 700; font-size: 13px; line-height: 1.2;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.seg.seg--light span { background: var(--paper); border-color: rgba(43, 43, 43, .2); color: var(--grafite); }
.seg.seg--light label:hover span { border-color: rgba(43, 43, 43, .48); }
.seg.seg--light input:checked + span { background: var(--verde); border-color: var(--verde); color: var(--grafite); font-weight: 600; }
.seg.seg--light input:focus-visible + span { box-shadow: 0 0 0 3px rgba(43, 43, 43, .28); }

.build__out { margin-top: clamp(26px, 3.2vw, 42px); }
.build__cap {
  display: flex; align-items: baseline;
  font-size: clamp(60px, 7.6vw, 124px); font-weight: 600; line-height: .84; letter-spacing: -.06em;
}
.build__unit { font-size: .26em; font-weight: 500; letter-spacing: -.02em; margin-left: .14em; color: var(--muted); }
.build__cfg { margin-top: 14px; color: var(--muted); }
.build__auto { margin-top: 32px; border-top: 1px solid var(--line); }
.build__auto > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.build__auto dt { font-size: 16px; font-weight: 500; }
.build__auto dt span {
  display: block; margin-top: 3px;
  font-family: var(--f-cond); font-weight: 700; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.build__auto dd { font-size: clamp(24px, 2.2vw, 34px); font-weight: 600; letter-spacing: -.035em; line-height: 1; white-space: nowrap; }

.build__price { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--grafite); color: #fff; }
.build__from { font-family: var(--f-cond); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.build__value { margin-top: 12px; font-size: clamp(36px, 3.8vw, 56px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.build__terms { margin-top: 20px; display: grid; gap: 8px; font-size: 16px; color: rgba(255, 255, 255, .74); }
.build__terms b { color: #fff; font-weight: 600; }
.build__terms .js-b-pix { color: var(--verde); }
.build__price .btn { margin-top: 22px; }
.build__price .btn + .btn { margin-top: 10px; }
.build__price .note { color: rgba(255, 255, 255, .58); margin-top: 18px; }
.build__mini { display: grid; place-items: end center; padding-top: 10px; }
.mini { width: min(100%, 196px); }
.mini__stage { position: relative; width: 100%; aspect-ratio: 1 / 1.8; }
.mini__stage img { position: absolute; left: 0; width: 100%; height: auto; }
.mini__stage .mini__inv { transition: transform .6s var(--ease); transform: translateY(341.864%); }
.mini__bat { transition: opacity .4s var(--ease); }
.mini__bat:not([data-bat="1"]) { opacity: 0; }
.mini__stage.is-ready .mini__bat { opacity: 0; }
.mini__stage.is-ready .mini__bat.is-on { opacity: 1; }
.mini__base { bottom: 0; }
.mini__bat[data-bat="1"] { bottom: 9.977%; }
.mini__bat[data-bat="2"] { bottom: 24.641%; }
.mini__bat[data-bat="3"] { bottom: 39.305%; }
.mini__bat[data-bat="4"] { bottom: 53.969%; }
.mini__bat[data-bat="5"] { bottom: 68.633%; }
.mini__inv { bottom: 82.844%; }
.build__extra { margin-top: clamp(28px, 3vw, 40px); max-width: 62ch; font-size: 16px; color: var(--muted); }

/* ---------- 05 · Instalação ---------- */
.install { background: var(--paper); }
.install__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 140px); align-items: center; }
.install__media { aspect-ratio: 1112 / 1472; max-height: 86vh; }
.specline { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; margin-top: 48px; }
.specline div { padding: 22px 0 26px; border-top: 1px solid var(--line); }
.specline dt { font-size: clamp(28px, 2.5vw, 40px); font-weight: 600; letter-spacing: -.038em; line-height: 1.05; }
.specline dd { margin-top: 8px; color: var(--muted); }

.uses { background: var(--paper); padding-bottom: var(--sp-section); overflow: hidden; }
.uses__head { margin-bottom: clamp(32px, 4vw, 52px); }
.uses__viewport {
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
}
.uses__viewport::-webkit-scrollbar { display: none; }
.uses__track { display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; }
.use { width: min(80vw, 860px); flex-shrink: 0; scroll-snap-align: start; }
.use__media { aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); }
.use__media img { width: 100%; height: 100%; object-fit: cover; }
.use__text { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; padding-top: 22px; max-width: 560px; }
.use__n { grid-row: span 2; padding-top: 7px; font-family: var(--f-cond); font-weight: 700; font-size: 14px; letter-spacing: .14em; color: var(--muted); }
.use h4 { font-size: clamp(22px, 1.8vw, 28px); letter-spacing: -.025em; line-height: 1.2; }
.use p { margin-top: 6px; color: var(--muted); }
.uses__progress { position: relative; height: 2px; margin-top: 44px; background: var(--line); overflow: hidden; }
.uses__progress span { position: absolute; inset: 0; background: var(--grafite); transform-origin: left center; transform: scaleX(.25); }

/* ---------- 05 · Recarga · 07 · Engenharia ---------- */
.ticks { margin-top: 40px; border-top: 1px solid var(--line); }
.ticks li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ''; width: 9px; height: 9px; margin-top: 9px; border-radius: 2px; background: var(--verde); flex-shrink: 0; }

.charge__head { margin-bottom: clamp(36px, 4.6vw, 64px); }
.charge__head .h2 { max-width: 17em; }
.charge__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.ways { border-top: 1px solid var(--line); }
.ways li { display: grid; grid-template-columns: 52px 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ways__n { padding-top: 6px; font-family: var(--f-cond); font-weight: 700; font-size: 14px; letter-spacing: .14em; color: var(--verde); }
.ways h3 { font-size: clamp(19px, 1.5vw, 23px); letter-spacing: -.022em; line-height: 1.25; }
.ways p { margin-top: 6px; color: var(--muted); }
.charge__stage { position: sticky; top: calc(var(--hdr-h) + 40px); }
.charge__img {
  display: grid; place-items: center;
  aspect-ratio: 4 / 3; padding: 5%;
  border-radius: var(--r-lg); background: var(--paper-2);
}
.charge__img img { width: 100%; height: auto; }
.charge__claim { margin-top: 26px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; color: var(--muted); }
.charge__claim b { color: #fff; font-weight: 600; }

.inside__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
/* Placa do BMS: arte oficial de 1428 px, exibida no máximo a 900 px para não ampliar.
   O chip é um recorte da mesma arte, na posição original; ao crescer ele cobre o de baixo. */
.inside__exploded { margin-top: clamp(36px, 5vw, 76px); max-width: min(860px, 88vw); margin-inline: auto; }
.bms { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.bms__placa { display: block; width: 100%; height: auto; }
.bms__chip { position: absolute; left: var(--l); top: var(--t); width: var(--w); height: auto; transform-origin: 50% 66%; }
.bms__brilho {
  position: absolute; left: 40.55%; top: 30.08%; width: 44%; aspect-ratio: 1;
  translate: -50% -50%; opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(96, 168, 255, .5), rgba(96, 168, 255, .12) 55%, transparent 72%);
}
.bms__rotulo {
  position: absolute; left: 50%; bottom: 6%; translate: -50% 0;
  padding: 9px 18px; border-radius: 999px;
  background: rgba(10, 10, 10, .72); border: 1px solid rgba(255, 255, 255, .16);
  font-family: var(--f-cond); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
}
.inside__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); margin-top: clamp(56px, 7vw, 100px); }
.inside__grid .h3 { font-size: clamp(23px, 2vw, 32px); }
.inside__grid .note { margin-top: 18px; }

/* ---------- 07 · EPORTH ---------- */
.brand { background: var(--paper-2); }
.brand__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 7vw, 140px); align-items: end; }
.brand__statement .h2 { max-width: 14em; }
.slogan {
  position: relative; display: inline-block;
  margin-top: 56px; padding-bottom: 14px;
  font-family: var(--f-cond); font-weight: 400;
  font-size: clamp(26px, 2.6vw, 40px); letter-spacing: .1em; text-transform: uppercase; line-height: 1;
}
.slogan::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; background: var(--verde); }
[data-tone="light"] .slogan::after { box-shadow: inset 0 0 0 1px rgba(43, 43, 43, .08); }
.slogan--sm { font-size: 20px; margin-top: 28px; padding-bottom: 12px; }
.slogan--sm::after { width: 36px; height: 3px; }
.reasons li { display: grid; grid-template-columns: 56px 1fr; padding: 26px 0; border-top: 1px solid var(--line); }
.reasons li:last-child { border-bottom: 1px solid var(--line); }
.reasons__n { padding-top: 6px; font-family: var(--f-cond); font-weight: 700; font-size: 15px; letter-spacing: .14em; }
.reasons h3 { font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -.022em; line-height: 1.2; }
.reasons p { margin-top: 6px; color: var(--muted); }

/* ---------- 09 · Comprar e proposta ---------- */
.buy__head { margin-bottom: clamp(36px, 4.6vw, 60px); }
.buy__head .h2 { max-width: 20em; }
.table { overflow-x: auto; overscroll-behavior-x: contain; }
.table:focus-visible { outline: 2px solid var(--verde); outline-offset: 6px; }
.prices { width: 100%; min-width: 700px; border-collapse: collapse; }
.prices th, .prices td { padding: 17px 12px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
.prices thead th {
  font-family: var(--f-cond); font-weight: 700; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  border-bottom-color: rgba(255, 255, 255, .3);
}
.prices thead th:first-child, .prices tbody th { text-align: left; }
.prices tbody th { font-size: 17px; font-weight: 500; letter-spacing: -.012em; padding-left: 0; }
.prices tbody td:last-child { padding-right: 0; }
.prices__pix { color: var(--verde); font-weight: 600; }
.prices__go {
  display: inline-flex; align-items: center; height: 38px; padding: 0 18px;
  border-radius: 999px; background: var(--verde); color: var(--grafite);
  font-size: 14px; font-weight: 600;
  transition: background-color .3s var(--ease);
}
.prices__go:hover { background: #C9FF66; }
.buy__note { margin-top: 20px; }

.lead-grid {
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 130px); align-items: start;
  margin-top: clamp(80px, 10vw, 150px); padding-top: clamp(60px, 7vw, 100px);
  border-top: 1px solid var(--line);
}
.lead-grid__copy { position: sticky; top: calc(var(--hdr-h) + 48px); }
.perks { margin-top: 44px; border-top: 1px solid var(--line); }
.perks li { display: flex; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.3vw, 19px); }
.perks__n { font-family: var(--f-cond); font-weight: 700; font-size: 14px; letter-spacing: .14em; color: var(--verde); }
.lead-grid__alt { margin-top: 32px; color: var(--muted); font-size: 16px; }
.lead-grid__alt .link { color: #fff; }

.formcard {
  padding: clamp(24px, 3.4vw, 48px);
  border-radius: var(--r-lg);
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, .08);
}
.form { display: grid; gap: 24px; }
.form__row { display: grid; gap: 16px; }
.form__row--2 { grid-template-columns: 1fr 1fr; }
.form__row--city { grid-template-columns: 1fr 116px; }
.field { min-width: 0; border: 0; }
.field > label:not(.check), .field > legend {
  display: block; margin-bottom: 10px;
  font-family: var(--f-cond); font-weight: 700; font-size: 13px; line-height: 1.2;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .66);
}
.field__opt { letter-spacing: .06em; text-transform: none; font-weight: 400; color: rgba(255, 255, 255, .62); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select {
  width: 100%; height: 56px; padding: 0 16px;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14);
  background: var(--ink); color: #fff;
  font-size: 16px;
  -webkit-appearance: none; appearance: none;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.field input::placeholder { color: rgba(255, 255, 255, .3); }
.field select {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='.6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field select:invalid, .field select option[value=""] { color: rgba(255, 255, 255, .45); }
.field select option { color: #111; background: #fff; }
.field input:hover, .field select:hover { border-color: rgba(255, 255, 255, .28); }
.field input:focus, .field select:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px rgba(187, 255, 60, .16); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--dourado); }
.field__err { margin-top: 8px; font-size: 13px; line-height: 1.35; color: var(--dourado); }
.field__err:empty { display: none; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span {
  display: inline-flex; align-items: center; height: 46px; padding: 0 18px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18);
  font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .86);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.seg label:hover span { border-color: rgba(255, 255, 255, .4); }
.seg input:checked + span { background: var(--verde); border-color: var(--verde); color: var(--grafite); font-weight: 600; }
.seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(187, 255, 60, .35); }
.field--choice.is-invalid .seg span { border-color: rgba(217, 174, 109, .6); }

.check { position: relative; display: flex; gap: 14px; align-items: flex-start; cursor: pointer; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .7); }
.check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.check__box {
  width: 22px; height: 22px; margin-top: 1px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 6px; border: 1px solid rgba(255, 255, 255, .32);
  transition: background-color .25s, border-color .25s;
}
.check__box svg { width: 16px; height: 16px; fill: none; stroke: var(--grafite); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .2s; }
.check input:checked + .check__box { background: var(--verde); border-color: var(--verde); }
.check input:checked + .check__box svg { opacity: 1; }
.check input:focus-visible + .check__box { box-shadow: 0 0 0 3px rgba(187, 255, 60, .35); }
.field--check.is-invalid .check__box { border-color: var(--dourado); }
.check .link { color: #fff; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn__spinner {
  display: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--grafite) padding-box;
  position: relative;
}
.btn__spinner::after {
  content: ''; position: absolute; inset: 11px; border-radius: 50%;
  border: 2px solid rgba(187, 255, 60, .25); border-top-color: var(--verde);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form.is-loading .btn__icon { display: none; }
.form.is-loading .btn__spinner { display: block; }
.form.is-loading button[type="submit"] { pointer-events: none; }
.form__status { font-size: 14px; color: var(--dourado); }
.form__status:empty { display: none; }
.form__status .link { color: #fff; }

.done { display: grid; justify-items: start; gap: 22px; padding: 8px 0; outline: none; }
.done .h3 { margin-top: 6px; }
.done .body-lg { margin-top: 0; }
.done__mark { width: 64px; height: 64px; }
.done__mark circle { fill: none; stroke: rgba(187, 255, 60, .35); stroke-width: 2; }
.done__mark path { fill: none; stroke: var(--verde); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 44; stroke-dashoffset: 44; animation: draw .9s .15s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Especificações ---------- */
.specs { background: var(--paper); }
.specs__head { margin-bottom: clamp(48px, 5vw, 72px); }
.tabs { display: none; }
.specs__cols { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(24px, 3vw, 56px); align-items: start; }
.specs__title { padding-bottom: 18px; border-bottom: 2px solid var(--grafite); font-size: 20px; letter-spacing: -.02em; }
.sheet div { padding: 16px 0 17px; border-bottom: 1px solid var(--line); }
.sheet dt { font-size: 14px; color: var(--muted); }
.sheet dd { margin-top: 3px; font-size: 18px; font-weight: 500; letter-spacing: -.012em; line-height: 1.35; }
.specs__note { margin-top: 40px; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 130px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--hdr-h) + 48px); }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0;
  font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; letter-spacing: -.018em; line-height: 1.3;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ''; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%;
  background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B2B2B' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .5s var(--ease), background-color .3s ease;
}
.qa summary:hover::after { background-color: #E9E9E6; }
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--verde); }
.qa__a { padding: 0 56px 28px 0; }
.qa__a p { color: var(--muted); line-height: 1.65; }
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.qa[open]::details-content { block-size: auto; }

/* ---------- CTA final ---------- */
.final { position: relative; min-height: 90vh; min-height: 90svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.final__media { position: absolute; inset: 0; overflow: hidden; }
.final__media picture, .final__media img { width: 100%; height: 100%; }
.final__media img { object-fit: cover; object-position: 40% 50%; }
.final__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(10, 10, 10, .92) 0%, rgba(10, 10, 10, .5) 45%, rgba(10, 10, 10, .15) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, .5) 0%, rgba(10, 10, 10, 0) 60%);
}
.final__content { position: relative; z-index: 2; display: grid; justify-items: start; gap: 44px; padding-block: 200px clamp(80px, 9vw, 140px); }
.final .h2 { max-width: 15em; }

/* ---------- Rodapé ---------- */
.ftr { background: #090909; padding: clamp(72px, 8vw, 120px) 0 40px; font-size: 15px; }
.ftr__top { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr; gap: 40px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.logo-pair--lg .logo-pair__eporth { height: 22px; }
.logo-pair--lg .logo-pair__ecoflow { height: 18px; }
.logo-pair--lg .logo-pair__x { height: 24px; }
.ftr h3 { margin-bottom: 18px; font-family: var(--f-cond); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .48); }
.ftr li { padding: 5px 0; color: rgba(255, 255, 255, .86); }
.ftr li a { transition: color .2s; }
.ftr li a:hover { color: var(--verde); }
.ftr__muted { color: rgba(255, 255, 255, .5) !important; }
.ftr__brand .ftr__muted { margin-top: 10px; }
.ftr__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px 40px; padding-top: 28px; font-size: 13px; color: rgba(255, 255, 255, .58); }
.ftr__bottom p:last-child { max-width: 62ch; text-align: right; }

/* ---------- Dock mobile ---------- */
.dock {
  position: fixed; z-index: 55;
  left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(18, 18, 18, .86);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  color: #fff;
  transform: translateY(160%);
  transition: transform .6s var(--ease);
}
.dock.is-visible { transform: translateY(0); }
.dock__txt { display: flex; flex-direction: column; line-height: 1.2; font-size: 12px; }
.dock__txt b { font-size: 14px; font-weight: 600; }
.dock__txt span { color: rgba(255, 255, 255, .6); }

/* ---------- Entrada do hero: CSS puro, começa no primeiro paint ---------- */
@keyframes lp-line-up { from { transform: translateY(112%); } }
@keyframes lp-fade-up { from { opacity: 0; transform: translateY(24px); } }
@keyframes lp-settle { from { transform: scale(1.12); } }
.motion .hero__media picture { animation: lp-settle 2.6s cubic-bezier(.22, 1, .36, 1) both; }
.motion .hero__pre > span { animation: lp-line-up 1.4s var(--ease) .25s both; }
.motion .hero__name > span { animation: lp-line-up 1.4s var(--ease) .36s both; }
.motion [data-hero-in] { animation: lp-fade-up 1.2s var(--ease) .8s both; }
.motion .eyebrow[data-hero-in] { animation-delay: .12s; }
.motion .hero__ctas[data-hero-in] { animation-delay: .9s; }
.motion .hero__price[data-hero-in] { animation-delay: 1.02s; }
.motion .hero__specs > div:nth-child(1) { animation-delay: 1s; }
.motion .hero__specs > div:nth-child(2) { animation-delay: 1.08s; }
.motion .hero__specs > div:nth-child(3) { animation-delay: 1.16s; }

/* ---------- Estados iniciais de animação (só com .motion) ---------- */
.motion [data-reveal] { opacity: 0; }
/* títulos [data-split] e o manifesto NÃO ficam escondidos: são divididos depois das fontes e só animam se ainda estiverem fora da tela */
.motion [data-wipe] { clip-path: inset(0 0 100% 0); }
.split-line { padding-bottom: .06em; margin-bottom: -.06em; }

/* =========================================================================
   Desktop com movimento: cenas fixadas
   ========================================================================= */
@media (min-width: 900px) {
  .motion .hero__media { will-change: clip-path; }

  .motion .tower-scene { min-height: 100vh; display: flex; align-items: center; padding-block: calc(var(--hdr-h) + 16px) 32px; }
  .motion .tower-scene__grid { width: 100%; }
  .motion .tower { margin-left: auto; will-change: transform; }
  .motion .tower__stage { height: min(56vh, 560px); }

  .motion .uses { padding-bottom: 0; }
  .motion .uses__pin { height: 100vh; height: 100lvh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--hdr-h); }
  .motion .uses__viewport { overflow: visible; scroll-snap-type: none; }
  .motion .use { width: min(56vw, 76vh); }
  .motion .uses__track { will-change: transform; }
}

/* =========================================================================
   Responsivo
   ========================================================================= */
@media (max-width: 1180px) {
  .hdr__nav { display: none; }
  .hdr__cta { margin-left: auto; }
  .hero__specs { gap: 28px; }
  .hero__specs dd { font-size: 24px; }
}

@media (max-width: 899px) {
  :root { --hdr-h: 64px; --r-lg: 20px; }
  body { font-size: 16px; }

  /* Hero em duas partes: imagem em cima, texto embaixo */
  .hero { min-height: 0; justify-content: flex-start; }
  .hero__media { position: relative; inset: auto; height: 64svh; min-height: 380px; }
  .hero__media img { object-position: 50% 50%; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(10, 10, 10, .55) 0%, rgba(10, 10, 10, 0) 26%),
      linear-gradient(0deg, var(--ink) 0%, rgba(14, 14, 14, 0) 34%);
  }
  .hero__content { margin-top: -64px; padding-bottom: 40px; }
  .hero__title { margin: 18px 0 16px; }
  .hero__name { font-size: clamp(44px, 12.4vw, 76px); }
  .hero__ctas { margin-top: 30px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__ctas .btn--verde { justify-content: space-between; }
  .hero__specs { position: static; padding: 8px var(--gutter) 48px; gap: 0; justify-content: space-between; }
  .hero__specs div { padding-left: 12px; }
  .hero__specs dt { font-size: 11px; letter-spacing: .12em; }
  .hero__specs dd { font-size: 20px; }

  .figures { grid-template-columns: repeat(2, 1fr); }
  .figures--4 { grid-template-columns: repeat(2, 1fr); }
  .figure { padding: 24px 0 34px; }
  .figure__label { font-size: 15px; }

  .outage__copy { padding-block: 120px 64px; }
  .motion .outage__step--c .lead { font-size: 17px; }

  .loads__grid, .tower-scene__grid, .install__grid, .charge__grid, .inside__grid, .brand__grid, .lead-grid, .faq__grid { grid-template-columns: 1fr; }
  .build__grid { grid-template-columns: 1fr; }
  .build__panel { grid-row: auto; }
  .build__mini { display: none; }
  .loads__media { position: relative; top: auto; aspect-ratio: 4 / 3.4; }
  .loads__list { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .loads__list li { font-size: 14px; gap: 12px; }
  .loads__list img { width: 26px; height: 26px; }

  .tower__stage { height: clamp(320px, 56vh, 480px); }
  /* no celular as 3 torres precisam caber na largura: afasta mais a câmera */
  .tower__side { height: 37.6%; }
  .tower-scene__kwh { font-size: clamp(72px, 19vw, 120px); }
  .realstack { aspect-ratio: 16 / 10; }
  .charge__stage { position: static; }
  .inside__exploded { max-width: none; }

  .install__media { aspect-ratio: 4 / 5; max-height: none; }
  .specline { grid-template-columns: 1fr 1fr; column-gap: 20px; }

  .use { width: 84vw; }

  .brand__grid { align-items: start; }

  .lead-grid__copy, .faq__head { position: static; }
  .formcard { margin-inline: calc(var(--gutter) * -0.5); }

  .tabs { display: flex; gap: 8px; margin-bottom: 8px; overflow-x: auto; scrollbar-width: none; }
  .tabs__btn {
    height: 44px; padding: 0 20px; flex-shrink: 0; cursor: pointer;
    border-radius: 999px; border: 1px solid var(--line); background: none;
    font-size: 15px; font-weight: 500; color: var(--grafite);
    transition: background-color .3s var(--ease), color .3s var(--ease);
  }
  .tabs__btn.is-active { background: var(--grafite); border-color: var(--grafite); color: #fff; }
  .specs__cols { grid-template-columns: 1fr; }
  .specs__panel { display: none; }
  .specs__panel.is-active { display: block; }
  .specs__title { display: none; }
  .no-js .tabs { display: none; }
  .no-js .specs__panel { display: block; }
  .no-js .specs__title { display: block; margin-top: 32px; }

  .qa__a { padding-right: 0; }

  .final { min-height: 80svh; }
  .final__content { padding-block: 160px 72px; }

  .ftr__top { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
  .ftr__bottom p:last-child { text-align: left; }
  .ftr { padding-bottom: 110px; }

  .dock { display: flex; }
}

/* Tabela de preços vira lista de cards: no celular o preço não pode ficar fora da tela */
@media (max-width: 720px) {
  .prices { min-width: 0; }
  .prices thead { display: none; }
  .prices tbody tr {
    display: grid; grid-template-columns: 1fr auto; gap: 2px 18px;
    padding: 20px 0; border-bottom: 1px solid var(--line);
  }
  .prices tbody th, .prices tbody td { padding: 0; border: 0; text-align: left; white-space: normal; }
  .prices tbody th { grid-column: 1; grid-row: 1; font-size: 18px; }
  .prices tbody td:nth-of-type(1) { grid-column: 2; grid-row: 1; text-align: right; font-size: 14px; color: var(--muted); }
  .prices tbody td:nth-of-type(2) { grid-column: 1; grid-row: 2; margin-top: 8px; font-size: 21px; }
  .prices tbody td:nth-of-type(2)::after { content: ' no PIX'; font-size: 13px; font-weight: 400; color: var(--muted); }
  .prices tbody td:nth-of-type(3) { grid-column: 1; grid-row: 3; font-size: 14px; color: var(--muted); }
  .prices tbody td:nth-of-type(3)::after { content: ' no cartão'; }
  .prices tbody td:nth-of-type(4) { grid-column: 2; grid-row: 2 / span 2; align-self: center; text-align: right; }
}

@media (max-width: 599px) {
  .hdr__cta { display: none; }
  .logo-pair { gap: 12px; }
  .logo-pair__eporth { height: 15px; }
  .logo-pair__ecoflow { height: 12px; }
  .logo-pair--lg .logo-pair__eporth { height: 18px; }
  .logo-pair--lg .logo-pair__ecoflow { height: 15px; }
}

@media (max-width: 560px) {
  .form__row--2 { grid-template-columns: 1fr; }
  .form__row--city { grid-template-columns: 1fr 96px; }
  .seg span { height: 44px; padding: 0 15px; font-size: 14px; }
  .specline { grid-template-columns: 1fr; }
  .loads__list { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: 1fr; }
  .hero__specs dd { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .done__mark path { stroke-dashoffset: 0; }
}
