/* ==========================================================
   Solmar Energia Solar · v4
   Direção travada pelas refs do Gustavo:
   Terrava / Sunfold (fundo claro, grotesca leve, cards cinza arredondados, miniaturas, rodapé com marca gigante)
   + Solvanta / PureSolar (palavra gigante atrás da cena no hero) + Sonar (cards de vidro com número)
   + 21st favoritos: Cinematic landing Hero, Glassmorphism Trust Hero, lumina interactive list.
   Acento da marca Solmar (laranja) só em ação e destaque. Sem glow, sem sombra pesada.
   ========================================================== */
:root {
  --bg: #FFFFFF;
  --surface: #F3F4F1;
  --surface-2: #E9EAE5;
  --ink: #101311;
  --ink-2: #2E322F;
  --muted: #5F6460;
  --soft: #8D918C;
  --line: #E2E3DE;
  --sun: #FF6B00;
  --sun-deep: #E65F00;
  --sun-tint: #FFEFE3;
  --amber: #FFB800;
  --dark: #151917;

  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, sans-serif;
  --r-xl: 32px;
  --r-lg: 24px;
  --r: 20px;
  --r-sm: 14px;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1280px;
  --gutter: 32px;
  --section: 128px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/26px var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; touch-action: manipulation; }
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
p { text-wrap: pretty; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--sun); color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -64px; z-index: 300; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; font-weight: 600; transition: top 400ms var(--ease); }
.skip:focus { top: 16px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.nb { white-space: nowrap; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* tipografia */
.h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; font-weight: 500; letter-spacing: -.025em; max-width: 620px; }
.h2--light { color: #fff; }
.lead { font-size: 17px; line-height: 27px; color: var(--muted); max-width: 500px; margin-top: 20px; }
.lead--light { color: rgba(255,255,255,.72); }

/* botões · pílula com seta em círculo (Terrava / Sunfold) */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 500 15px/20px var(--text); white-space: nowrap; transition: background-color 500ms var(--ease), color 500ms var(--ease), border-color 500ms var(--ease); }
.btn:has(.btn__ic) { padding: 6px 6px 6px 24px; }
.btn__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none; transition: background-color 500ms var(--ease); }
.btn__ic svg { width: 18px; height: 18px; transition: transform 500ms var(--ease); }
.btn:hover .btn__ic svg { transform: translate(2px, -2px); }
.btn--sm { min-height: 44px; font-size: 14px; }
.btn--sm:has(.btn__ic) { padding: 5px 5px 5px 18px; gap: 10px; }
.btn--sm .btn__ic { width: 34px; height: 34px; }
.btn--sun { background: var(--sun); color: #fff; }
.btn--sun .btn__ic { background: #fff; color: var(--sun); }
.btn--sun:hover { background: var(--sun-deep); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink .btn__ic { background: rgba(255,255,255,.14); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--glass { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.3); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn--glass:hover { background: rgba(255,255,255,.24); }
.btn--block { width: 100%; }
.btn--block:has(.btn__ic) { justify-content: space-between; }

/* "Saiba mais" pequeno (Terrava) */
.more { display: inline-flex; align-items: center; gap: 10px; padding: 4px 4px 4px 14px; border-radius: 999px; background: #fff; font-size: 13px; line-height: 18px; font-weight: 500; transition: background-color 500ms var(--ease); }
.more span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; }
.more svg { width: 14px; height: 14px; transition: transform 500ms var(--ease); }
.more:hover svg { transform: translate(2px, -2px); }
.more--light { background: rgba(255,255,255,.12); color: #fff; }
.more--light span { background: #fff; color: var(--ink); }

/* placeholders de mídia */
.ph { position: relative; overflow: hidden; background-color: var(--surface-2); background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(16,19,17,.05) 14px 15px); }
.ph--dark { background-color: #262B28; background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.05) 14px 15px); }
.ph--sun { background-color: var(--sun-tint); }
.ph::after { content: attr(data-ph); position: absolute; left: 10px; top: 10px; font: 600 11px/14px var(--text); letter-spacing: .02em; color: var(--muted); padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.88); border: 1px dashed var(--line); max-width: calc(100% - 20px); }
.ph--dark::after { background: rgba(16,19,17,.7); color: #B9BDB8; border-color: rgba(255,255,255,.2); }

/* reveal: só eixo vertical */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 900ms var(--ease), transform 1000ms var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in, .reveal-all .reveal { opacity: 1; transform: none; }

/* marca */
.brand { display: flex; align-items: center; gap: 8px; }
.brand__mark { width: 40px; height: 27px; }
.brand__word { display: flex; flex-direction: column; font: 700 19px/19px var(--display); letter-spacing: .01em; color: var(--ink-2); transition: color 500ms var(--ease); }
.brand__word small { font: 400 11px/12px var(--text); letter-spacing: .02em; align-self: flex-end; }

/* NAV */
.nav { position: fixed; top: 20px; left: 0; right: 0; z-index: 100; padding: 0 28px; pointer-events: none; transition: transform 700ms var(--ease); }
.nav.is-hidden { transform: translateY(-140%); }
.nav__bar { pointer-events: auto; max-width: calc(var(--container) - 16px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 8px 8px 8px 20px; border-radius: 999px; background: rgba(255,255,255,.9); border: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: background-color 600ms var(--ease), border-color 600ms var(--ease); }
.nav__links { display: flex; gap: 2px; }
.nav__links a { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); padding: 10px 14px; border-radius: 999px; transition: color 500ms var(--ease), background-color 500ms var(--ease); }
.nav__links a:hover, .nav__links a.is-current { color: var(--ink); background: var(--surface); }
.nav.on-dark .nav__bar { background: rgba(16,19,17,.18); border-color: rgba(255,255,255,.18); }
.nav.on-dark .brand__word { color: #fff; }
.nav.on-dark .nav__links a { color: rgba(255,255,255,.8); }
.nav.on-dark .nav__links a:hover { color: #fff; background: rgba(255,255,255,.12); }
.nav.on-dark .nav__cta { background: #fff; color: var(--ink); }
.nav.on-dark .nav__cta .btn__ic { background: var(--ink); color: #fff; }
.burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); flex: none; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.6px; border-radius: 2px; background: #fff; transition: transform 700ms var(--ease), top 700ms var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 25px; }
.nav.on-dark .burger { background: #fff; }
.nav.on-dark .burger span { background: var(--ink); }
.menu-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
.menu-open .nav .nav__bar { background: rgba(255,255,255,.9); border-color: var(--line); }
.menu-open .nav .brand__word { color: var(--ink-2); }
.menu-open .nav .burger { background: var(--ink); }
.menu-open .nav .burger span { background: #fff; }
.menu { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: flex; flex-direction: column; justify-content: flex-end; padding: 112px 20px calc(28px + env(safe-area-inset-bottom)); opacity: 0; visibility: hidden; transition: opacity 600ms var(--ease), visibility 0s linear 600ms; }
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity 600ms var(--ease); }
.menu__links { display: flex; flex-direction: column; margin-bottom: auto; }
.menu__links a { font: 500 36px/1.1 var(--display); letter-spacing: -.03em; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu__links a, .menu__cta, .menu__foot { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease), transform 800ms var(--ease); transition-delay: calc(var(--i) * 50ms + 80ms); }
.menu__cta { margin-top: 32px; }
.menu__foot { margin-top: 20px; font-size: 14px; line-height: 20px; color: var(--muted); }
.menu-open .menu__links a, .menu-open .menu__cta, .menu-open .menu__foot { opacity: 1; transform: none; }

/* HERO · vídeo em moldura, palavra gigante atrás, texto na base */
.hero { padding: 12px; }
.hero__frame { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); min-height: 720px; height: calc(100vh - 24px); height: calc(100svh - 24px); max-height: 1000px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: #3a3530 url(assets/hero-poster.jpg) center / cover no-repeat; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1200ms var(--ease); }
.hero.is-playing .hero__video { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,11,.5) 0%, rgba(10,12,11,.12) 55%, rgba(10,12,11,0) 100%), linear-gradient(180deg, rgba(10,12,11,.32) 0%, rgba(10,12,11,0) 26%, rgba(10,12,11,.12) 48%, rgba(10,12,11,.78) 100%); }
/* palavra gigante que some dentro da paisagem (Solvanta) */
.hero__word { position: absolute; z-index: -1; left: 0; right: 0; top: clamp(104px, 11vh, 132px); text-align: center; font: 600 min(18.5vw, 300px)/.8 var(--display); letter-spacing: -.05em; color: #fff; opacity: .92; -webkit-mask-image: linear-gradient(180deg, #000 18%, rgba(0,0,0,.35) 62%, transparent 92%); mask-image: linear-gradient(180deg, #000 18%, rgba(0,0,0,.35) 62%, transparent 92%); pointer-events: none; user-select: none; }
.js .hero__word { transform: translateY(40px); opacity: 0; animation: wordIn 1600ms var(--ease) 150ms forwards; }
@keyframes wordIn { to { transform: none; opacity: .92; } }
.hero__body { width: 100%; max-width: calc(var(--container) - 16px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 640px) auto; justify-content: space-between; align-items: end; gap: 40px; padding: 0 24px 48px; }
.js .hero__body > * { opacity: 0; transform: translateY(24px); animation: rise 1000ms var(--ease) forwards; }
.js .hero__cards { animation-delay: 260ms !important; }
@keyframes rise { to { opacity: 1; transform: none; } }
.rating { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 13px; line-height: 18px; color: rgba(255,255,255,.88); }
.rating strong { color: #fff; font-weight: 600; }
.rating__stars { display: flex; gap: 2px; }
.rating__stars i { width: 12px; height: 12px; background: var(--amber); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.hero__title { margin-top: 20px; font-size: clamp(52px, 5.8vw, 88px); line-height: 1; font-weight: 500; letter-spacing: -.025em; max-width: 12ch; }
.hero__sub { margin-top: 20px; max-width: 480px; font-size: 17px; line-height: 27px; color: rgba(255,255,255,.82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* cards de vidro com número (Sonar) */
.hero__cards { display: flex; gap: 12px; }
.gcard { width: 200px; padding: 20px; border-radius: var(--r); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); }
.gcard__n { font: 500 40px/1 var(--display); letter-spacing: -.03em; }
.gcard__t { margin-top: 28px; font-size: 13px; line-height: 18px; color: rgba(255,255,255,.8); }

/* NÚMEROS + MARCAS */
.facts { padding: 72px 0 0; }
.facts__row { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 0 32px; text-align: center; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact__n { font: 500 48px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fact__t { margin-top: 10px; font-size: 14px; line-height: 20px; color: var(--muted); }
.marquee { overflow: hidden; margin-top: 64px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: marquee 42s linear infinite; }
.marquee__track span { font: 500 24px/30px var(--display); letter-spacing: -.02em; color: #A5A9A4; }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }

/* POR QUE · 2x2 cards com ícone em círculo (PureSolar) */
.why { padding: var(--section) 0; }
.why__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.why__copy .btn { margin-top: 32px; }
.why__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.icard { padding: 28px; border-radius: var(--r); background: var(--surface); transition: background-color 500ms var(--ease); }
.icard:hover { background: var(--surface-2); }
.icard__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sun-tint); color: var(--sun-deep); }
.icard__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icard h3 { margin-top: 40px; font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: -.02em; }
.icard p { margin-top: 8px; font-size: 15px; line-height: 23px; color: var(--muted); }

/* SIMULADOR em painel cinza */
.sim { padding: 0 0 var(--section); }
.sim__panel { display: grid; grid-template-columns: 1fr 460px; gap: 64px; align-items: center; padding: 64px; border-radius: var(--r-xl); background: var(--surface); }
.sim__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.sim__list li { position: relative; padding-left: 32px; font-size: 15px; line-height: 22px; color: var(--ink-2); }
.sim__list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--sun); }
.sim__list li::after { content: ""; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.calc { background: #fff; border-radius: var(--r-lg); padding: 28px; }
.calc__q { font: 500 19px/26px var(--display); letter-spacing: -.02em; max-width: 280px; }
.calc__bill { display: flex; align-items: baseline; gap: 8px; margin-top: 20px; }
.calc__cur { font: 500 22px/28px var(--display); color: var(--muted); }
.calc__value { font: 500 64px/1 var(--display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; margin: 12px 0 0; cursor: pointer; --p: 6%; touch-action: pan-y; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--sun) var(--p), var(--surface-2) var(--p)); }
.range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--surface-2); }
.range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--sun); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: #fff; border: 2px solid var(--sun); box-shadow: 0 2px 8px rgba(16,19,17,.12); }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--sun); }
.calc__scale { display: flex; justify-content: space-between; font-size: 12px; line-height: 16px; color: var(--soft); }
.calc__type { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--surface); border-radius: 999px; margin-top: 20px; }
.seg { min-height: 40px; border-radius: 999px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); transition: background-color 500ms var(--ease), color 500ms var(--ease); }
.seg.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(16,19,17,.08); }
.calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin: 24px 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.calc__save { grid-column: 1 / -1; }
.calc__out dt { font-size: 13px; line-height: 18px; color: var(--muted); }
.calc__out dd { margin: 4px 0 0; font: 500 26px/32px var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc__save dd { font-size: 40px; line-height: 44px; color: var(--sun); }
.roll { display: inline-block; }
.calc__note { font-size: 12px; line-height: 17px; color: var(--soft); margin-top: 14px; }

/* SOLUÇÕES · cards empilhados com miniatura (Terrava) */
.sol { padding: 0 0 var(--section); }
.sol__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.sol__copy { position: sticky; top: 120px; }
.sol__list { display: grid; gap: 12px; }
.scard { display: grid; grid-template-columns: 1fr 184px; gap: 24px; align-items: center; padding: 16px 16px 16px 28px; border-radius: var(--r); background: var(--surface); transition: background-color 500ms var(--ease); }
.scard:hover { background: var(--surface-2); }
.scard h3 { font-size: 22px; line-height: 28px; font-weight: 500; letter-spacing: -.025em; }
.scard p { margin-top: 6px; font-size: 15px; line-height: 23px; color: var(--muted); max-width: 400px; }
.scard .more { margin-top: 20px; }
.scard__img { aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
.scard--dark, .scard--dark:hover { background: var(--dark); color: #fff; }
.scard--dark p { color: rgba(255,255,255,.66); }

/* COMO FUNCIONA · lista que troca a imagem */
.steps { padding: 0 0 var(--section); }
.steps__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.steps__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; }
.steps__img { position: absolute; inset: 0; opacity: 0; transition: opacity 700ms var(--ease); }
.steps__img.is-on { opacity: 1; }
.steps__count { position: absolute; left: 20px; bottom: 20px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.9); font: 500 14px/20px var(--display); color: var(--muted); font-variant-numeric: tabular-nums; }
.steps__count span { color: var(--ink); }
.slist { list-style: none; padding: 0; margin: 40px 0 0; }
.sitem { border-top: 1px solid var(--line); }
.sitem:last-child { border-bottom: 1px solid var(--line); }
.sitem button { width: 100%; display: flex; align-items: baseline; gap: 20px; padding: 20px 0; text-align: left; }
.sitem__n { font: 500 13px/20px var(--text); color: var(--soft); font-variant-numeric: tabular-nums; min-width: 22px; transition: color 500ms var(--ease); }
.sitem__h { font: 500 22px/28px var(--display); letter-spacing: -.025em; color: var(--soft); transition: color 500ms var(--ease); }
.sitem.is-on .sitem__n { color: var(--sun-deep); }
.sitem.is-on .sitem__h, .sitem button:hover .sitem__h { color: var(--ink); }
.sitem__b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 600ms var(--ease); }
.sitem__b p { overflow: hidden; padding-left: 42px; color: var(--muted); font-size: 15px; line-height: 23px; max-width: 460px; }
.sitem.is-on .sitem__b { grid-template-rows: 1fr; }
.sitem.is-on .sitem__b p { padding-bottom: 22px; }

/* OBRAS · carrossel (PureSolar) */
.works { padding: 0 0 var(--section); }
.rowhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.arrows { display: flex; gap: 8px; flex: none; }
.arrow { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); transition: background-color 500ms var(--ease), opacity 500ms var(--ease); }
.arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.arrow:hover { background: var(--surface); }
.arrow--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.arrow--ink:hover { background: #000; }
.arrow:disabled { opacity: .35; cursor: default; }
.rail { list-style: none; margin: 0; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); scroll-padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.wcard { position: relative; flex: 0 0 372px; scroll-snap-align: start; padding: 10px 10px 24px; border-radius: var(--r); background: var(--surface); }
.wcard__img { aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
.wcard__ic { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 14px; border-radius: 50%; background: var(--sun); color: #fff; border: 4px solid var(--surface); }
.wcard__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wcard h3 { margin: 14px 14px 0; font-size: 19px; line-height: 25px; font-weight: 500; letter-spacing: -.02em; }
.wcard__loc { margin: 4px 14px 0; font-size: 13px; line-height: 18px; color: var(--sun-deep); font-weight: 500; }
.wcard p:last-child { margin: 10px 14px 0; font-size: 14px; line-height: 21px; color: var(--muted); }

/* CONTA · um ano em barras (mantido) */
.bill { padding: 0 0 var(--section); }
.bill__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.bill__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 40px 0 0; }
.bill__nums div { padding: 20px; border-radius: var(--r); background: var(--surface); }
.bill__nums div:last-child { background: var(--sun-tint); }
.bill__nums dt { font-size: 13px; line-height: 18px; color: var(--muted); }
.bill__nums dd { margin: 12px 0 0; font: 500 44px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bill__nums dd.is-sun { color: var(--sun-deep); }
.bill__year { margin-top: 20px; color: var(--muted); font-size: 15px; }
.bill__year strong { color: var(--ink); font-weight: 600; }
.chart { margin: 0; background: var(--surface); border-radius: var(--r-xl); padding: 32px; }
.chart__read { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; min-height: 44px; }
.chart__read span { font-size: 14px; line-height: 20px; color: var(--muted); min-width: 30px; }
.chart__read strong { font: 500 40px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.chart__read em { font-style: normal; font-size: 14px; line-height: 20px; color: var(--muted); }
.chart__read.is-sun strong { color: var(--sun-deep); }
.chart__plot { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; align-items: end; height: 260px; margin-top: 24px; }
.bar { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 0 0 26px; cursor: pointer; }
.bar__fill { width: 100%; max-width: 40px; height: var(--h); border-radius: 8px 8px 3px 3px; background: #CDCFC9; transform-origin: bottom; transition: background-color 400ms var(--ease); }
.bar.is-sun .bar__fill { background: var(--sun); }
.bar__m { position: absolute; bottom: 0; font-size: 12px; line-height: 16px; color: var(--soft); transition: color 400ms var(--ease); }
.bar:hover .bar__fill { background: #B4B6B0; }
.bar.is-sun:hover .bar__fill { background: var(--sun-deep); }
.bar.is-active .bar__m { color: var(--ink); font-weight: 600; }
.bar.is-active .bar__fill { background: var(--ink); }
.bar.is-sun.is-active .bar__fill { background: var(--sun-deep); }
.js .chart .bar__fill { transform: scaleY(0); }
.chart.is-drawn .bar__fill { transform: scaleY(1); transition: transform 900ms var(--ease), background-color 400ms var(--ease); transition-delay: calc(var(--i) * 50ms), 0ms; }
.chart__on { position: absolute; top: 0; bottom: 26px; width: 0; border-left: 1.5px dashed var(--sun); pointer-events: none; }
.chart__on span { position: absolute; top: 0; left: 8px; white-space: nowrap; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--sun-deep); }
.chart__foot { display: flex; gap: 24px; margin-top: 20px; font-size: 13px; line-height: 18px; color: var(--muted); }
.key { display: inline-flex; align-items: center; gap: 8px; }
.key i { width: 10px; height: 10px; border-radius: 3px; background: #CDCFC9; }
.key--sun i { background: var(--sun); }
.chart__proof { display: grid; grid-template-columns: 64px 64px 1fr; gap: 12px; align-items: center; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.chart__doc { aspect-ratio: 3 / 4; border-radius: 10px; }
.chart__doc::after { left: 4px; top: auto; bottom: 4px; font-size: 9px; line-height: 12px; padding: 2px 4px; letter-spacing: 0; }
.chart__proof p { font-size: 12px; line-height: 17px; color: var(--soft); }

/* DEPOIMENTOS */
.voices { padding: 0 0 var(--section); }
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reel { margin: 0; }
.reel__v { aspect-ratio: 4 / 5; border-radius: var(--r); }
.reel__play { position: absolute; left: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: background-color 500ms var(--ease); }
.reel__play svg { width: 20px; height: 20px; fill: var(--ink); margin-left: 3px; }
.reel:hover .reel__play { background: var(--sun-tint); }
.reel figcaption { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; font-size: 14px; line-height: 20px; }
.reel figcaption strong { font-weight: 500; }
.reel figcaption span { color: var(--muted); }

/* FAQ */
.faq { padding: 0 0 var(--section); }
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.faq__copy { position: sticky; top: 120px; }
.faq__copy .btn { margin-top: 32px; }
.acc { display: grid; gap: 8px; }
.acc__item { border-radius: var(--r-sm); background: var(--surface); transition: background-color 500ms var(--ease); }
.acc__item[open] { background: var(--surface-2); }
.acc__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 20px 20px 24px; font: 500 17px/24px var(--display); letter-spacing: -.015em; cursor: pointer; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary i { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; background: #fff; }
.acc__item summary i::before, .acc__item summary i::after { content: ""; position: absolute; left: 10px; right: 10px; top: 15.25px; height: 1.5px; background: currentColor; transition: transform 600ms var(--ease); }
.acc__item summary i::after { transform: rotate(90deg); }
.acc__item[open] summary i::after { transform: rotate(0); }
.acc__body { overflow: hidden; }
.acc__body p { color: var(--muted); padding: 0 24px 22px; max-width: 600px; font-size: 15px; line-height: 24px; }

/* ORÇAMENTO · moldura escura com a paisagem */
.quote { padding: 0 12px 12px; }
.quote__frame { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); background: #1a1c1a url(assets/hero-poster.jpg) center 70% / cover no-repeat; color: #fff; }
.quote__frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(12,14,13,.72); }
.quote__grid { max-width: var(--container); margin: 0 auto; padding: 96px var(--gutter); display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: center; }
.contact { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; color: rgba(255,255,255,.86); font-size: 15px; }
.contact li { display: flex; gap: 12px; align-items: flex-start; }
.contact .i { color: var(--amber); margin-top: 3px; }
.form { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 20px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; line-height: 20px; font-weight: 500; padding: 0; margin-bottom: 4px; }
.field input[type="text"] { width: 100%; min-height: 52px; font: 400 16px/24px var(--text); color: var(--ink); background: var(--surface); border: 1px solid transparent; border-radius: var(--r-sm); padding: 12px 16px; transition: border-color 500ms var(--ease), background-color 500ms var(--ease); }
.field input::placeholder { color: var(--soft); }
.field input:focus { outline: none; border-color: var(--sun); background: #fff; }
.field.is-error input { border-color: #D1432B; }
.field__err { font-size: 13px; line-height: 18px; color: #C13A22; }
.field__err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; font-size: 14px; line-height: 20px; font-weight: 500; background: var(--surface); color: var(--muted); cursor: pointer; transition: background-color 500ms var(--ease), color 500ms var(--ease); }
.chip span:hover { color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 2px; }
.form__note { font-size: 12px; line-height: 17px; color: var(--soft); text-align: center; }
.btn__loading { display: none; gap: 4px; }
.btn__loading i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1s var(--ease) infinite; }
.btn__loading i:nth-child(2) { animation-delay: .15s; } .btn__loading i:nth-child(3) { animation-delay: .3s; }
@keyframes pulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }
.is-sending .btn__label { display: none; } .is-sending .btn__loading { display: inline-flex; }

/* RODAPÉ · marca gigante (Terrava) */
.footer { padding: 80px 0 28px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer__slogan { margin-top: 16px; max-width: 280px; font-size: 14px; line-height: 21px; color: var(--muted); }
.footer__h { font-size: 13px; line-height: 18px; color: var(--soft); margin-bottom: 12px; }
.footer__col { display: grid; gap: 8px; align-content: start; font-size: 15px; line-height: 22px; }
.footer__col a { width: max-content; transition: color 500ms var(--ease); }
.footer__col a:hover { color: var(--sun-deep); }
.footer__word { margin: 56px 0 0; font: 600 min(20vw, 300px)/.78 var(--display); letter-spacing: -.05em; color: var(--surface-2); text-align: center; white-space: nowrap; user-select: none; max-width: 100%; overflow: hidden; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; font-size: 12px; line-height: 17px; color: var(--soft); }
.footer__bottom a:hover { color: var(--ink); }

/* WhatsApp · ícone oficial, sem fundo */
.wa { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 80; width: 60px; height: 60px; transform: translateY(120px); visibility: hidden; transition: transform 800ms var(--ease), visibility 0s linear 800ms; }
.wa.is-on { transform: none; visibility: visible; transition: transform 800ms var(--ease); }
.wa svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 2px 6px rgba(16,19,17,.14)); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 400; transform: translate(-50%, 96px); visibility: hidden; background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: 14px; line-height: 20px; font-weight: 500; transition: transform 700ms var(--ease), visibility 0s linear 700ms; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform 700ms var(--ease); }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  :root { --section: 104px; }
  .nav__links { display: none; }
  .burger { display: block; }
  .nav__bar { gap: 12px; }
  .nav__cta { margin-left: auto; }
  .hero__body { grid-template-columns: 1fr; }
  .hero__cards { display: none; }
  .why__grid, .sol__grid, .faq__grid, .bill__grid { grid-template-columns: 1fr; gap: 48px; }
  .sol__copy, .faq__copy { position: static; }
  .sim__panel { grid-template-columns: 1fr; padding: 48px; }
  .calc { max-width: 560px; width: 100%; }
  .steps__grid { grid-template-columns: 1fr; gap: 48px; }
  .steps__media { aspect-ratio: 16 / 10; }
  .quote__grid { grid-template-columns: 1fr; padding: 80px var(--gutter); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; --section: 80px; }
  .nav { top: 16px; padding: 0 16px; }
  .nav__bar { padding: 6px 6px 6px 14px; }
  .nav__cta { display: none; }
  .burger { display: block; }
  .brand__mark { width: 36px; height: 24px; }
  .brand__word { font-size: 17px; line-height: 17px; }

  /* hero mobile: moldura de tela cheia, palavra no céu, bloco centralizado na base */
  .hero { padding: 8px; }
  .hero__frame { min-height: 600px; height: calc(100svh - 16px); max-height: 860px; border-radius: 28px; }
  .hero__word { top: 96px; font-size: 22.5vw; letter-spacing: -.06em; }
  .hero__shade { background: linear-gradient(180deg, rgba(10,12,11,.3) 0%, rgba(10,12,11,0) 20%, rgba(10,12,11,.28) 40%, rgba(10,12,11,.88) 78%, rgba(10,12,11,.92) 100%); }
  .hero__body { padding: 0 20px calc(20px + env(safe-area-inset-bottom)); gap: 0; text-align: center; }
  .hero__word { font-size: 22.5vw; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .rating { font-size: 12px; padding: 5px 12px 5px 8px; }
  .hero__title { margin-top: 16px; font-size: clamp(38px, 11.2vw, 50px); line-height: 1.02; letter-spacing: -.035em; }
  .hero__sub { margin-top: 14px; font-size: 15px; line-height: 23px; max-width: 340px; }
  .hero__actions { width: 100%; flex-direction: column; gap: 8px; margin-top: 24px; }
  .hero__actions .btn { width: 100%; min-height: 54px; }
  .hero__actions .btn--sun { justify-content: space-between; }

  .facts { padding-top: 48px; }
  .fact { padding: 0 8px; }
  .fact__n { font-size: 26px; letter-spacing: -.035em; }
  .fact__t { font-size: 12px; line-height: 16px; margin-top: 6px; }
  .marquee { margin-top: 40px; padding: 20px 0; }
  .marquee__track { gap: 40px; }
  .marquee__track span { font-size: 19px; }

  /* títulos centralizados no mobile */
  .why__copy, .sim__copy, .sol__copy, .steps__copy > .h2, .steps__copy > .lead, .rowhead > div, .bill__copy, .faq__copy, .quote__copy { text-align: center; }
  .h2 { font-size: 32px; line-height: 1.08; margin-left: auto; margin-right: auto; }
  .lead { font-size: 16px; line-height: 25px; margin-left: auto; margin-right: auto; margin-top: 14px; }
  .why__copy .btn, .faq__copy .btn { margin-top: 24px; }
  .rowhead { flex-direction: column; align-items: center; margin-bottom: 32px; gap: 20px; }

  .why__grid { gap: 32px; }
  .why__cards { grid-template-columns: 1fr; gap: 8px; }
  .icard { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 20px; }
  .icard__ic { grid-row: span 2; }
  .icard h3 { margin-top: 0; font-size: 18px; line-height: 24px; }
  .icard p { margin-top: 4px; font-size: 14px; line-height: 21px; }

  .sim__panel { padding: 32px 12px 12px; border-radius: 28px; gap: 28px; }
  .sim__list { justify-items: center; margin-top: 20px; }
  .calc { padding: 22px 20px; border-radius: 20px; }
  .calc__q { font-size: 17px; line-height: 24px; }
  .calc__value { font-size: 56px; }
  .calc__save dd { font-size: 34px; line-height: 40px; }
  .calc__out dd { font-size: 22px; line-height: 28px; }

  .sol__grid { gap: 32px; }
  .scard { grid-template-columns: 1fr 104px; gap: 16px; padding: 12px 12px 12px 18px; align-items: start; }
  .scard__img { aspect-ratio: 1; order: 0; }
  .scard h3 { font-size: 19px; line-height: 24px; margin-top: 6px; }
  .scard p { font-size: 14px; line-height: 21px; }
  .scard .more { margin: 14px 0 6px; }

  .steps__grid { gap: 28px; }
  .steps__media { aspect-ratio: 4 / 3; border-radius: 20px; }
  .slist { margin-top: 28px; }
  .sitem button { padding: 16px 0; gap: 14px; }
  .sitem__h { font-size: 19px; line-height: 24px; }
  .sitem__b p { padding-left: 36px; font-size: 14px; line-height: 21px; }

  .arrows { display: none; }
  .wcard { flex-basis: 80vw; }

  .bill__nums dd { font-size: 32px; }
  .bill__nums div { padding: 16px; text-align: left; }
  .chart { padding: 20px 16px; border-radius: 24px; }
  .chart__plot { height: 200px; gap: 4px; }
  .bar__m { font-size: 10px; }
  .chart__read strong { font-size: 32px; }
  .chart__proof { grid-template-columns: 52px 52px 1fr; }

  .reels { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; gap: 12px; }
  .reels::-webkit-scrollbar { display: none; }
  .reel { flex: 0 0 72vw; scroll-snap-align: start; }

  .faq__grid { gap: 32px; }
  .acc__item summary { font-size: 16px; line-height: 22px; padding: 16px 14px 16px 18px; }
  .acc__body p { padding: 0 18px 18px; font-size: 14px; line-height: 22px; }

  .quote { padding: 0 8px 8px; }
  .quote__frame { border-radius: 28px; }
  .quote__grid { padding: 56px 12px 12px; gap: 32px; }
  .contact { justify-items: center; text-align: left; margin-top: 28px; font-size: 14px; }
  .form { padding: 22px 18px; border-radius: 20px; }
  .chips { display: grid; grid-template-columns: 1fr 1fr; }
  .chip span { display: block; text-align: center; }

  .footer { padding-top: 56px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .footer__word { margin-top: 40px; }
  .footer__bottom { flex-direction: column; }
  .wa { right: 14px; width: 56px; height: 56px; }
}
@media (max-width: 360px) {
  .hero__title { font-size: 36px; }
  .fact__n { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  html { scroll-behavior: auto; }
}
