/* ==========================================================
   SOLANA ENERGIA GD — Versão 1 · Futurista (layout v2)
   Paleta: Abismo · Marinho Solana · Azul Royal · Azul Elétrico
           Gelo · Âmbar Solar · Laranja Solar · Ouro Claro
   ========================================================== */

:root {
  --abyss: #050E22;
  --abyss-2: #081633;
  --navy: #0B2550;
  --royal: #1B4DB8;
  --electric: #3A7BFF;
  --sky: #9CC3FF;
  --ice: #EAF1FC;
  --amber: #F5A800;
  --orange: #F26B1D;
  --gold: #FFD36B;

  --text: #EAF1FC;
  --muted: #94A6C6;
  --line: rgba(156, 195, 255, .13);
  --line-2: rgba(156, 195, 255, .24);
  --glass: rgba(14, 34, 78, .45);

  --grad-sun: linear-gradient(120deg, var(--gold) 0%, var(--amber) 45%, var(--orange) 100%);
  --grad-blue: linear-gradient(135deg, var(--electric), var(--royal));

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --r: 24px;
  --r-lg: 34px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1260px;
  --thumb: 26px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--abyss); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { /* textura de ruído sutil */
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 1.2em; height: 1.2em; flex: none; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--amber); color: var(--abyss); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.mono { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.grad { background: var(--grad-sun); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* progresso de leitura */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--grad-sun); box-shadow: 0 0 12px rgba(245,168,0,.7); }

/* ==================== BUTTONS ==================== */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; font-weight: 800; font-size: .98rem; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, border-color .35s;
  will-change: transform;
}
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sun { color: #1A1000; background: var(--grad-sun); box-shadow: 0 14px 40px -12px rgba(245,168,0,.65), inset 0 1px 0 rgba(255,255,255,.45); }
.btn--sun:hover { box-shadow: 0 20px 50px -10px rgba(242,107,29,.75), inset 0 1px 0 rgba(255,255,255,.45); }
.btn--glass { color: #fff; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--glass:hover { background: rgba(255,255,255,.12); border-color: rgba(156,195,255,.5); }
.btn--sm { padding: 11px 20px; font-size: .88rem; }
.btn--block { width: 100%; }

/* ==================== NAV · pílula ==================== */
.nav { position: fixed; inset: 14px 0 auto; z-index: 50; display: flex; justify-content: center; padding-inline: 16px; pointer-events: none; }
.nav__pill {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; gap: 18px; width: 100%; max-width: 1120px;
  padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgba(8, 22, 51, .45); border: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  transition: max-width .5s var(--ease), background .4s, box-shadow .4s;
}
.nav.is-solid .nav__pill { max-width: 980px; background: rgba(5, 14, 34, .78); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 40px; height: 40px; filter: drop-shadow(0 6px 18px rgba(245,168,0,.35)); }
.brand__text { display: grid; line-height: 1; }
.brand__text strong { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .06em; }
.brand__text small { font-size: .56rem; font-weight: 800; letter-spacing: .32em; color: var(--gold); margin-top: 4px; }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 700; color: var(--muted); transition: color .3s, background .3s; }
.nav__links a:hover, .nav__links a.is-active { color: #fff; background: rgba(255,255,255,.07); }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.nav__toggle svg { width: 22px; height: 22px; }

/* ==================== HERO ==================== */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; padding: 150px 0 70px; display: flex; flex-direction: column; justify-content: center; gap: 64px; }
.hero__sky { position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 50% 0%, #0E2A62 0%, var(--abyss) 65%); }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(156,195,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(156,195,255,.07) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__spot { position: absolute; width: 520px; height: 520px; left: var(--sx, 50%); top: var(--sy, 30%); transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(58,123,255,.22), transparent 60%); transition: left .4s var(--ease), top .4s var(--ease); pointer-events: none; }
.hero__orbit { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 78%; }
.ring { fill: none; stroke: rgba(156,195,255,.18); stroke-width: 1.2; }
.ring--dash { stroke: rgba(245,168,0,.35); stroke-dasharray: 4 10; animation: dashmove 30s linear infinite; }
@keyframes dashmove { to { stroke-dashoffset: -400; } }
.spark-dot { fill: var(--gold); filter: drop-shadow(0 0 6px var(--amber)); }
.spark-dot--blue { fill: #9CC3FF; filter: drop-shadow(0 0 6px var(--electric)); }
.sun { fill: url(#g-orb); }
.sun-glow { fill: rgba(245,168,0,.18); filter: blur(40px); animation: breathe 7s ease-in-out infinite; transform-origin: 700px 760px; }
@keyframes breathe { 50% { transform: scale(1.06); opacity: .75; } }

.hero__content { text-align: center; display: grid; justify-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--ice); background: rgba(58,123,255,.12); border: 1px solid rgba(58,123,255,.35); backdrop-filter: blur(8px); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(245,168,0,.7); } 80%, 100% { box-shadow: 0 0 0 10px rgba(245,168,0,0); } }
.hero__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.3rem, 6.4vw, 5.6rem); line-height: 1.02; letter-spacing: -.04em; margin: 26px 0 24px; }
.hero__title .line { display: block; }
.hero__lead { max-width: 620px; font-size: 1.14rem; color: #C3D2EA; }
.hero__lead strong { color: var(--gold); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }

/* dashboard flutuante */
.dash { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 16px; }
.widget {
  position: relative; padding: 22px; border-radius: var(--r);
  background: linear-gradient(160deg, rgba(10,26,60,.94), rgba(4,10,26,.97));
  border: 1px solid var(--line-2);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08);
}
.widget header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--sky); }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; color: #7CE3B0; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 10px #34D399; animation: ping-g 2s infinite; }
@keyframes ping-g { 50% { opacity: .4; } }
.mini-row { display: flex; justify-content: space-between; align-items: baseline; font-size: .84rem; color: var(--muted); }
.mini-row b { font-family: var(--font-display); font-weight: 500; font-size: .95rem; color: #fff; }
.mini-row--sun b { color: var(--gold); }
.mini-bar { height: 8px; margin: 8px 0 14px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.mini-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #4B5F86, #8796B4); transition: width 1.6s var(--ease) .5s; }
.mini-bar--sun i { background: var(--grad-sun); box-shadow: 0 0 14px rgba(245,168,0,.6); }
.dash.is-in .mini-bar i { width: var(--w); }
.widget--main { border-color: rgba(245,168,0,.45); background: linear-gradient(160deg, rgba(40,30,10,.95), rgba(4,10,26,.97) 60%); }
.chip-sun { padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; color: #1A1000; background: var(--grad-sun); }
.big-money { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; letter-spacing: -.03em; background: var(--grad-sun); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.widget--main p { margin-top: 8px; font-size: .88rem; color: var(--muted); }
.widget--main p b { color: #fff; }
.spark-line { width: 100%; height: 46px; margin-top: 10px; }
.spark-line path { fill: none; stroke: url(#g-sun); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 2s var(--ease) .6s; }
.dash.is-in .spark-line path { stroke-dashoffset: 0; }
.widget--gauge { display: flex; align-items: center; gap: 18px; }
.gauge { position: relative; width: 112px; height: 112px; flex: none; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.g-track { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 10; }
.g-fill { fill: none; stroke: url(#g-sun); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset 1.8s var(--ease) .6s; }
.dash.is-in .g-fill { stroke-dashoffset: calc(314.16 - 314.16 * var(--p) / 100); }
.gauge span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.gauge b { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; }
.gauge small { font-size: .68rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.gauge__list { display: grid; gap: 8px; }
.gauge__list li { display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 700; }
.gauge__list svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(245,168,0,.18); color: var(--amber); }

/* ==================== TICKER ==================== */
.ticker { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: rgba(8,22,51,.6);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker__track { display: flex; width: max-content; align-items: center; gap: 28px; animation: ticker 40s linear infinite; }
.ticker span { font-family: "Fraunces", Georgia, serif; font-style: normal; font-weight: 300; font-size: clamp(1.4rem, 2.6vw, 2.1rem); letter-spacing: 0; color: #fff; white-space: nowrap; }
.ticker i { font-style: normal; font-weight: 400; font-size: clamp(.8rem, 1.2vw, 1rem); color: var(--amber); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ==================== SECTIONS ==================== */
.section { position: relative; padding: clamp(90px, 12vw, 150px) 0; }
.section--alt { background: var(--abyss-2); }
.section--alt::before { content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(58,123,255,.6), rgba(245,168,0,.6), transparent); }
.head { max-width: 780px; margin-bottom: 60px; }
.head--center { margin-inline: auto; text-align: center; }
.head--split { max-width: none; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; }
.kicker { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1.08; letter-spacing: -.035em; margin-top: 18px; }
.lead { margin-top: 18px; font-size: 1.08rem; color: var(--muted); }
.head--split .lead { margin-top: 0; }

/* ==================== STORY (scrollytelling) ==================== */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.story__sticky { position: sticky; top: 110px; }
.story__stage {
  position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden;
  background: radial-gradient(80% 80% at 50% 0%, rgba(27,77,184,.35), transparent 70%), var(--abyss-2);
  border: 1px solid var(--line-2);
  box-shadow: 0 60px 120px -60px rgba(58,123,255,.6), inset 0 1px 0 rgba(255,255,255,.06);
}
.story__stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(156,195,255,.18) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%); mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%); }
.flow { position: relative; width: 100%; height: 100%; }
.flow__base { fill: none; stroke: rgba(156,195,255,.16); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; }
.flow__seg { fill: none; stroke: url(#g-line); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease); filter: drop-shadow(0 0 8px rgba(245,168,0,.5)); }
.story__stage[data-step="2"] #seg-1, .story__stage[data-step="3"] #seg-1, .story__stage[data-step="4"] #seg-1,
.story__stage[data-step="3"] #seg-2, .story__stage[data-step="4"] #seg-2,
.story__stage[data-step="4"] #seg-3 { stroke-dashoffset: 0; }
.flow__pulse { fill: var(--gold); filter: drop-shadow(0 0 8px var(--amber)); }
.node circle { fill: #0B1F48; stroke: var(--line-2); stroke-width: 1.5; transition: fill .5s, stroke .5s; }
.node use { color: var(--sky); transition: color .5s; }
.node.is-on circle { fill: #12357A; stroke: var(--electric); }
.node.is-current circle { fill: url(#g-sun); stroke: transparent; }
.node.is-current use { color: #1A1000; }
.node.is-current { filter: drop-shadow(0 0 24px rgba(245,168,0,.55)); }
.story__label { position: absolute; left: 22px; bottom: 20px; display: grid; gap: 2px; }
.story__label .mono { color: var(--amber); }
.story__label b { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; }

.story__steps { display: grid; gap: 12vh; padding: 4vh 0 12vh; }
.story__step { padding: 30px; border-radius: var(--r); border: 1px solid var(--line); background: #050C1E; opacity: .35; transition: opacity .6s var(--ease), border-color .6s, background .6s, transform .6s var(--ease); }
.story__step.is-active { opacity: 1; border-color: rgba(245,168,0,.4); background: linear-gradient(160deg, #0A1A3D, #050C1E); transform: translateX(-6px); }
.story__step .mono { color: var(--amber); }
.story__step h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.15; letter-spacing: -.02em; margin: 10px 0 10px; }
.story__step p { color: var(--muted); }
.story__step img { margin-top: 20px; width: 100%; height: 190px; object-fit: cover; border-radius: 18px; filter: saturate(1.1); }

/* ==================== ANTES × DEPOIS ==================== */
.compare-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.compare-wrap .head { margin-bottom: 0; }
.compare__facts { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.compare__facts li { flex: 1 1 140px; min-width: 0; padding: 18px 20px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.compare__facts b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 2.4vw, 1.5rem); white-space: nowrap; letter-spacing: -.02em; color: var(--gold); }
.compare__facts span { font-size: .88rem; color: var(--muted); }

.compare { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 60px 120px -60px rgba(245,168,0,.45); user-select: none; touch-action: pan-y; }
.bill { padding: clamp(24px, 4vw, 40px); min-height: 420px; }
.bill--before { background: linear-gradient(160deg, #1A2238, #10172A); }
.bill--after { position: absolute; inset: 0; background: linear-gradient(160deg, #123A86, #0B2550 55%, #081633); clip-path: inset(0 0 0 var(--pos)); }
.bill--after .bill__top { flex-direction: row-reverse; }
.bill--after .bill__label, .bill--after .bill__value { text-align: right; }
.bill--before .bill__value, .bill--before .bill__label { max-width: 46%; }
.bill--after .bill__value, .bill--after .bill__label { margin-left: auto; max-width: 46%; }
.bill__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--sky); }
.tagline { padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 800; color: #1A1000; background: var(--grad-sun); }
.tagline--muted { color: var(--muted); background: rgba(255,255,255,.07); }
.bill__label { margin-top: 38px; font-size: .86rem; color: var(--muted); }
.bill__value { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 2.3vw, 2.1rem); white-space: nowrap; letter-spacing: -.04em; line-height: 1.1; }
.bill--before .bill__value { color: #C9D2E3; }
.bill__lines { margin-top: 26px; display: grid; }
.bill__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px dashed rgba(156,195,255,.18); font-size: .92rem; color: var(--muted); }
.bill__lines li span:last-child { color: #fff; font-weight: 700; }
.bill__lines .ok { color: var(--gold) !important; }
.bill__bar { height: 10px; margin-top: 22px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.bill__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4B5F86, #8796B4); }
.bill__bar--sun i { background: var(--grad-sun); box-shadow: 0 0 14px rgba(245,168,0,.6); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--grad-sun); box-shadow: 0 0 18px rgba(245,168,0,.8); pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #1A1000; background: var(--grad-sun); box-shadow: 0 10px 30px -6px rgba(245,168,0,.8), 0 0 0 6px rgba(245,168,0,.18); }
.compare__handle svg { width: 24px; height: 24px; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare__range:focus-visible + .compare__tag, .compare:focus-within .compare__handle span { outline: 2px solid #fff; outline-offset: 3px; }
.compare__tag { position: absolute; bottom: 16px; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.35); color: #fff; pointer-events: none; }
.compare__tag--l { left: 16px; }
.compare__tag--r { right: 16px; }

/* ==================== BENTO ==================== */
.bento { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(220px, auto); gap: 14px; }
.tile {
  --mx: -500px; --my: -500px;
  position: relative; overflow: hidden; isolation: isolate; grid-column: span 4; padding: 28px; border-radius: var(--r);
  background: #050C1E; border: 1px solid var(--line);
  transition: transform .5s var(--ease);
}
.tile::before { /* borda iluminada pelo cursor */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(245,168,0,.8), rgba(58,123,255,.4) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(58,123,255,.12), transparent 60%); }
.tile:hover { transform: translateY(-4px); }
.tile__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; margin-bottom: 22px; color: var(--sky); background: rgba(58,123,255,.14); border: 1px solid rgba(58,123,255,.3); }
.tile__icon svg { width: 24px; height: 24px; }
.tile__icon--orange { color: var(--orange); background: rgba(242,107,29,.14); border-color: rgba(242,107,29,.35); }
.tile h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; letter-spacing: -.01em; }
.tile p { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.tile--hero { grid-column: span 4; grid-row: span 2; display: flex; align-items: flex-end; min-height: 460px; padding: 0; }
.tile--hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.tile--hero .tile__body { padding: 30px; position: relative; }
.tile--hero::after { background: linear-gradient(to top, rgba(5,14,34,.97) 15%, rgba(5,14,34,.5) 55%, rgba(11,37,80,.1)); }
.tile--hero:hover img { transform: scale(1.05); }
.tile--hero h3 { font-size: 1.5rem; }
.tile--hero p { color: #C3D2EA; }
.tile__big { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(4.5rem, 8vw, 7rem); line-height: .9; letter-spacing: -.06em; background: var(--grad-sun); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.tile__big small { font-size: .45em; }
.tile--wide { grid-column: span 12; display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: end; }
.spark { width: 100%; height: 120px; }
.spark__area { fill: url(#g-sun); opacity: .12; }
.spark__line { fill: none; stroke: url(#g-sun); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 2s var(--ease) .3s; }
.tile.is-in .spark__line { stroke-dashoffset: 0; }

/* ==================== SIMULADOR ==================== */
.sim {
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgba(27,77,184,.18), rgba(5,14,34,.6));
  box-shadow: 0 60px 120px -60px rgba(58,123,255,.55);
}
.sim__control { padding: clamp(26px, 4vw, 44px); border-right: 1px solid var(--line); }
.sim__control > label { color: var(--sky); }
.money { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); transition: border-color .3s; }
.money:focus-within { border-color: var(--amber); }
.money span { font-family: var(--font-display); font-size: 1.4rem; color: var(--amber); }
.money input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

/* Range: o preenchimento termina exatamente no centro do botão */
.range {
  --p: .1;
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 10px; margin: 0; border-radius: 99px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--amber) 0, var(--orange) calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--p)), rgba(255,255,255,.1) calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--p)));
}
.range::-webkit-slider-thumb { -webkit-appearance: none; box-sizing: border-box; width: var(--thumb); height: var(--thumb); border-radius: 50%; background: #fff; border: 6px solid var(--amber); box-shadow: 0 0 0 6px rgba(245,168,0,.2), 0 6px 18px rgba(0,0,0,.4); }
.range::-moz-range-thumb { box-sizing: border-box; width: var(--thumb); height: var(--thumb); border-radius: 50%; background: #fff; border: 6px solid var(--amber); box-shadow: 0 0 0 6px rgba(245,168,0,.2); }
.range::-moz-range-track { background: transparent; }
.range:focus-visible { outline: 2px solid var(--amber); outline-offset: 6px; }
.range__scale { display: flex; justify-content: space-between; margin-top: 12px; color: var(--muted); font-size: .66rem; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.presets button { padding: 9px 14px; border-radius: 999px; font-size: .84rem; font-weight: 700; color: var(--muted); border: 1px solid var(--line-2); background: rgba(255,255,255,.03); transition: color .3s, background .3s, border-color .3s; }
.presets button:hover { color: #fff; border-color: rgba(245,168,0,.5); }
.presets button.is-on { color: #1A1000; background: var(--grad-sun); border-color: transparent; }
.split-bar { display: flex; height: 46px; margin-top: 30px; border-radius: 14px; overflow: hidden; font-size: .8rem; font-weight: 800; }
.split-bar i { display: grid; place-items: center; font-style: normal; }
.split-bar__pay { flex: 85; background: rgba(255,255,255,.07); color: var(--muted); }
.split-bar__save { flex: 15; background: var(--grad-sun); color: #1A1000; }

.sim__out { padding: clamp(26px, 4vw, 44px); background: rgba(5,14,34,.35); }
.out-main small { color: var(--sky); }
.out-main strong { display: block; margin-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -.04em; background: var(--grad-sun); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.out-main p { margin-top: 12px; font-size: .95rem; color: var(--muted); }
.out-main b { color: #fff; }
.out-main b.sun { color: var(--gold); }
.chart { margin: 26px 0 18px; }
.chart__bars { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 6px; height: 120px; }
.chart__bars i { display: block; height: 0; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--gold), rgba(245,168,0,.25)); transition: height .9s var(--ease); transition-delay: calc(var(--i) * 40ms); }
.sim.is-in .chart__bars i { height: var(--h); }
.chart__bars i:last-child { background: var(--grad-sun); box-shadow: 0 0 16px rgba(245,168,0,.55); }
.chart__axis { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: .62rem; }
.out-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.out-row > div { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.out-row small { display: block; color: var(--muted); font-size: .62rem; }
.out-row span { font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.note { margin-top: 14px; font-size: .76rem; color: var(--muted); line-height: 1.5; }

/* ==================== PARA QUEM · painéis expansíveis ==================== */
.panels { display: flex; gap: 14px; height: 520px; }
.panel { position: relative; overflow: hidden; isolation: isolate; flex: 1; border-radius: var(--r-lg); border: 1px solid var(--line); display: flex; align-items: flex-end; cursor: pointer; transition: flex .8s var(--ease), border-color .4s; outline: none; }
.panel.is-open { flex: 2.2; border-color: rgba(245,168,0,.4); }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5,14,34,.97) 12%, rgba(11,37,80,.55) 55%, rgba(11,37,80,.15)); }
.panel:hover img { transform: scale(1.04); }
.panel:focus-visible { border-color: var(--amber); }
.panel__body { padding: 30px; width: 100%; max-width: 560px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #1A1000; background: var(--grad-sun); }
.panel h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.03em; margin-top: 16px; }
.panel p, .panel .chips, .panel__link { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--ease), opacity .5s, margin .5s; }
.panel.is-open p, .panel.is-open .chips, .panel.is-open .panel__link { max-height: 200px; opacity: 1; }
.panel p { color: #C3D2EA; }
.panel.is-open p { margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.panel.is-open .chips { margin-top: 16px; }
.chips li { padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; border: 1px solid rgba(156,195,255,.3); background: rgba(255,255,255,.06); }
.panel__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--gold); }
.panel.is-open .panel__link { margin-top: 18px; }

/* ==================== CONTRATAR · timeline ==================== */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: t; }
.timeline::before { content: ""; position: absolute; top: 31px; left: 32px; right: 32px; height: 2px; background: linear-gradient(90deg, var(--electric), var(--amber)); opacity: .5; }
.timeline li { position: relative; }
.timeline__dot { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 22px; color: var(--sky); background: #0E2558; border: 1px solid rgba(58,123,255,.45); box-shadow: 0 0 0 8px var(--abyss-2); margin-bottom: 22px; }
.timeline__dot svg { width: 28px; height: 28px; }
.timeline__dot--sun { color: #1A1000; background: var(--grad-sun); border: 0; box-shadow: 0 0 0 8px var(--abyss-2), 0 16px 40px -10px rgba(245,168,0,.7); }
.timeline .mono { color: var(--amber); }
.timeline h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; margin: 8px 0 8px; }
.timeline p { color: var(--muted); font-size: .96rem; }

.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 64px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: linear-gradient(160deg, #0F2B63, #081633); }
.docs__left, .docs__right { padding: clamp(24px, 4vw, 40px); }
.docs__right { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; background: rgba(5,14,34,.35); border-left: 1px solid var(--line); }
.docs__tabs { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: rgba(0,0,0,.25); border: 1px solid var(--line); }
.docs__tabs button { padding: 10px 18px; border-radius: 999px; font-weight: 800; font-size: .88rem; color: var(--muted); transition: background .4s var(--ease), color .3s; }
.docs__tabs button[aria-selected="true"] { color: #1A1000; background: var(--grad-sun); }
.docs__title { margin: 26px 0 14px; font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; }
.docs__list { display: grid; gap: 12px; }
.docs__list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; font-size: .96rem; }
.docs__list svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(245,168,0,.18); color: var(--amber); margin-top: 1px; }
.docs__tip { padding: 18px 20px; border-radius: 18px; background: rgba(58,123,255,.1); border: 1px dashed rgba(58,123,255,.45); }
.docs__tip .mono { color: var(--sky); font-size: .66rem; }
.docs__tip p { margin-top: 8px; font-size: .92rem; color: #C3D2EA; }
.docs__tip b { color: #fff; }

/* ==================== FAQ ==================== */
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.faq .head { margin-bottom: 0; position: sticky; top: 110px; }
.help-card { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding: 16px 18px; border-radius: 20px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); transition: border-color .3s, transform .4s var(--ease); }
.help-card:hover { border-color: rgba(245,168,0,.5); transform: translateY(-2px); }
.help-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; color: #1A1000; background: var(--grad-sun); }
.help-card small { display: block; color: var(--muted); font-size: .62rem; }
.help-card b { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; }
.help-card__go { margin-left: auto; color: var(--amber); }
.faq__list { display: grid; gap: 10px; }
.qa { border-radius: 20px; background: rgba(255,255,255,.025); border: 1px solid var(--line); transition: border-color .4s, background .4s; }
.qa[open] { border-color: rgba(245,168,0,.45); background: linear-gradient(160deg, rgba(245,168,0,.07), rgba(255,255,255,.02)); }
.qa summary { display: flex; align-items: center; gap: 16px; padding: 22px 24px; cursor: pointer; list-style: none; font-weight: 800; font-size: 1.04rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa__n { color: var(--amber); }
.qa summary svg { margin-left: auto; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: rgba(255,255,255,.06); color: var(--amber); transition: transform .4s var(--ease), background .3s; }
.qa[open] summary svg { transform: rotate(45deg); background: var(--amber); color: #1A1000; }
.qa p { padding: 0 24px 22px 70px; color: var(--muted); }

/* ==================== CTA · horizonte ==================== */
.cta { position: relative; isolation: isolate; overflow: hidden; padding: clamp(110px, 14vw, 180px) 0 clamp(230px, 22vw, 300px); text-align: center; background: radial-gradient(70% 60% at 50% 100%, #12357A 0%, var(--abyss) 70%); }
.cta__sun { --s: min(90vw, 1300px); position: absolute; z-index: -1; left: 50%; bottom: calc(var(--s) * -1 + 170px); width: var(--s); height: var(--s); transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 20%, #FFE7A3 0%, #FFC233 18%, #F59A00 34%, #E2601A 52%, transparent 70%); filter: blur(4px); opacity: .9; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(156,195,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(156,195,255,.06) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); mask-image: linear-gradient(to bottom, #000, transparent 70%); }
.cta__inner { display: grid; justify-items: center; }
.cta h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 8vw, 6.4rem); line-height: 1; letter-spacing: -.05em; margin: 20px 0 22px; }
.cta p { color: #C3D2EA; max-width: 520px; font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.cta__contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 28px; }
.cta__contacts a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--sky); transition: color .3s; }
.cta__contacts a:hover { color: var(--gold); }

/* ==================== FOOTER ==================== */
.footer { position: relative; overflow: hidden; background: var(--abyss); padding: 72px 0 28px; color: var(--muted); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer__text { margin-top: 16px; }
.seal { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--sky); background: rgba(58,123,255,.1); border: 1px solid rgba(58,123,255,.3); }
.seal svg { color: var(--amber); }
.footer h4 { color: #fff; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.footer__grid > div > a:not(.brand) { display: block; padding: 4px 0; transition: color .3s; overflow-wrap: anywhere; }
.footer__grid > div > a:not(.brand):hover { color: var(--gold); }
.footer__word { margin-top: 40px; font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 19vw, 17rem); line-height: .8; letter-spacing: -.06em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(156,195,255,.18); user-select: none;
  background: linear-gradient(180deg, rgba(245,168,0,.18), transparent 70%); -webkit-background-clip: text; background-clip: text; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .84rem; }

/* ==================== REVEAL ==================== */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1080px) {
  .dash { grid-template-columns: 1fr 1fr; }
  .widget--main { grid-column: 1 / -1; order: -1; }
  .head--split, .compare-wrap, .faq { grid-template-columns: 1fr; }
  .head--split .lead { margin-top: 14px; }
  .faq .head { position: static; }
  .tile--hero { grid-column: span 12; grid-row: auto; min-height: 380px; }
  .tile { grid-column: span 6; }
  .tile--wide { grid-column: span 12; }
  .sim { grid-template-columns: 1fr; }
  .sim__control { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .nav__links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; padding: 10px; border-radius: 24px;
    background: rgba(8,22,51,.97); border: 1px solid var(--line);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease);
  }
  .nav__links a { padding: 14px 16px; font-size: 1rem; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; transform: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: grid; }

  /* story vira cartões empilhados com diagrama no topo */
  .story__grid { grid-template-columns: 1fr; }
  .story__sticky { top: 84px; z-index: 2; }
  .story__stage { aspect-ratio: auto; height: 240px; }
  .flow { width: auto; height: 100%; margin-inline: auto; display: block; }
  .story__steps { gap: 30vh; padding: 10vh 0 20vh; }
  .story__step img { display: none; }

  .panels { flex-direction: column; height: auto; }
  .panel { min-height: 300px; flex: none !important; }
  .panel p, .panel .chips, .panel__link { max-height: none; opacity: 1; }
  .panel p { margin-top: 10px; }
  .panel .chips { margin-top: 16px; }
  .panel .panel__link { margin-top: 18px; }

  .timeline { grid-template-columns: 1fr; gap: 30px; }
  .timeline::before { top: 32px; bottom: 32px; left: 31px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--electric), var(--amber)); }
  .timeline li { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; }
  .timeline__dot { grid-row: span 3; margin: 0; }
  .docs { grid-template-columns: 1fr; }
  .docs__right { border-left: 0; border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .nav { inset: 10px 0 auto; padding-inline: 10px; }
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }
  .brand__mark { width: 36px; height: 36px; }
  .hero { padding-top: 120px; gap: 40px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .dash { grid-template-columns: 1fr; }
  .widget--gauge { gap: 14px; }
  .gauge { width: 96px; height: 96px; }
  .bill { min-height: 360px; padding: 22px 18px; }
  .bill__value { font-size: 1.15rem; }
  .bill__lines li { font-size: .82rem; }
  .tile, .tile--wide { grid-column: span 12; }
  .tile--wide { grid-template-columns: 1fr; }
  .out-row { grid-template-columns: 1fr; }
  .qa summary { padding: 18px; gap: 12px; font-size: .98rem; }
  .qa p { padding: 0 18px 18px; }
  .cta__actions .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
