/* ==========================================================================
   Nextgen Brasil · sections.css
   ========================================================================== */

:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

/* spotlight que segue o cursor (cards, passos, linhas) ------------------- */
.spot { position: relative; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(380px circle at var(--sx, 50%) var(--sy, 50%), rgba(31, 91, 224, .13), transparent 62%);
  transition: opacity .4s;
}
.spot:hover::after { opacity: 1; }

/* HERO ============================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(24px, 5vw, 56px));
  padding-bottom: clamp(44px, 6vw, 80px);
  overflow-x: clip;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(18px, 2.2vw, 28px); min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px;
  border-radius: 999px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: .01em;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--electric); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 91, 224, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(31, 91, 224, 0); } }

.hero h1 .line { display: block; overflow: hidden; padding: .02em .14em .12em 0; margin: -.02em 0 -.12em; }
.hero h1 .line > span { display: block; animation: line-in .95s var(--ease) backwards; }
.hero h1 .line:nth-child(1) > span { animation-delay: 40ms; }
.hero h1 .line:nth-child(2) > span { animation-delay: 110ms; }
.hero h1 .line:nth-child(3) > span { animation-delay: 180ms; }
.hero h1 .line:nth-child(4) > span { animation-delay: 250ms; }
@keyframes line-in { from { transform: translate3d(0, 110%, 0); } }

.hero__sub { max-width: 54ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.hero__note { font-size: 14px; color: var(--ink-3); }

@media (prefers-reduced-motion: no-preference) {
  .pill, .hero__sub, .hero__ctas, .hero__note, .stage { animation: fade-up .8s var(--ease) backwards; }
  .pill { animation-delay: 0ms; }
  .stage { animation-delay: 120ms; }
  .hero__sub { animation-delay: 260ms; }
  .hero__ctas { animation-delay: 340ms; }
  .hero__note { animation-delay: 400ms; }
}
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 18px, 0); } }

/* orbe + vidro fluted + cartão de curva */
.stage { position: relative; width: 100%; max-width: 600px; justify-self: end; aspect-ratio: 1 / 1.04; --ox: 0px; --oy: 0px; --sy: 0px; }
.stage__layer { position: absolute; inset: 0; translate: calc(var(--ox) * var(--k, 1)) calc((var(--oy) + var(--sy)) * var(--k, 1)); will-change: translate; }
.orb {
  position: absolute; right: -4%; top: 3%; width: 90%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 29% 25%, #C8F8FF 0%, rgba(200, 248, 255, 0) 20%),
    radial-gradient(circle at 36% 32%, #66C4FF 0%, #2A7BFF 30%, #1B3FD0 60%, #0E1A78 86%, #070F4A 100%);
  box-shadow: 0 70px 120px -40px rgba(31, 91, 224, .6), inset -28px -40px 90px rgba(5, 12, 70, .5);
  animation: float 11s ease-in-out infinite;
}
.orb::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 80% 84%, rgba(10, 215, 218, .7) 0%, rgba(10, 215, 218, 0) 40%);
}
.orb::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background-image: var(--grain); mix-blend-mode: soft-light; opacity: .6;
}
.stage__layer--sm { pointer-events: none; }
.orb--sm {
  right: auto; top: auto; left: 2%; bottom: 30%; width: 32%;
  background: radial-gradient(circle at 32% 28%, #F0FFFF 0%, #5AE8F2 28%, #0FA8D8 58%, #12349F 100%);
  box-shadow: 0 30px 50px -20px rgba(10, 180, 220, .5), inset -10px -14px 30px rgba(8, 30, 120, .35);
  animation-duration: 8.5s; animation-delay: -3s;
}
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -12px, 0); } }

.flutes {
  position: absolute; top: -2%; bottom: -2%; left: 20%; width: 30%; border-radius: 18px; pointer-events: none;
  -webkit-backdrop-filter: blur(13px) saturate(1.3); backdrop-filter: blur(13px) saturate(1.3);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .34) 0 2px, rgba(255, 255, 255, .03) 2px 15px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}

.glass {
  inset: auto auto 3% 0; width: min(84%, 470px); padding: 18px 20px 16px;
  display: flex; flex-direction: column; gap: 10px;
  border-radius: var(--r-3); background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .5), 0 34px 60px -30px rgba(10, 25, 100, .6);
}
.glass__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.tag { padding: 4px 9px; border-radius: 99px; background: var(--track); color: var(--ink-2); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.curve { width: 100%; height: auto; overflow: visible; }
.curve__grid { stroke: var(--line); stroke-width: 1; }
.curve__axis { stroke: var(--line-2); stroke-width: 1.5; }
.curve__a, .curve__b { fill: none; stroke-linecap: round; stroke-dasharray: 1; }
.curve__a { stroke: var(--muted-fill); stroke-width: 3; animation: draw 1.6s var(--ease) .35s backwards; }
.curve__b { stroke: var(--accent); stroke-width: 4; animation: draw 1.7s var(--ease) .6s backwards; }
@keyframes draw { from { stroke-dashoffset: 1; } }
.curve__dot { fill: var(--accent); animation: pop .5s var(--ease) 2s backwards; transform-box: fill-box; transform-origin: center; }
.curve__ping { fill: none; stroke: var(--accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ping 2.8s ease-out 2.2s infinite; }
@keyframes pop { from { transform: scale(0); } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.6); opacity: 0; } }
.glass__axis { display: flex; justify-content: space-between; margin-top: -4px; font-size: 12px; color: var(--ink-3); }
.glass__legend { display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }
.k { display: flex; align-items: center; gap: 10px; }
.k::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--accent); flex: none; }
.k--a::before { background: var(--muted-fill); }

.logos { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px clamp(24px, 4vw, 56px); }
.logos__label { flex: none; font-size: 14px; color: var(--ink-3); }
.logos__list { display: flex; flex-wrap: wrap; gap: 8px clamp(22px, 3.4vw, 48px); }
.logos__list li { font-size: clamp(17px, 1.5vw, 22px); font-weight: 600; letter-spacing: -.02em; color: var(--ink-3); transition: color .25s; }
.logos__list li:hover { color: var(--ink); }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .stage { justify-self: center; max-width: 540px; }
}

/* 01 CONTEXTO ======================================================= */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split__head { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 22px; }
.shift { display: grid; gap: 16px; }
.shift__card { display: grid; gap: 10px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-3); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.shift__card--now {
  background: radial-gradient(520px 260px at 100% 0%, rgba(10, 215, 218, .24), transparent 60%), linear-gradient(160deg, var(--z-bg-2), var(--z-bg));
  box-shadow: 0 30px 60px -30px rgba(10, 30, 120, .6);
}
.shift__tag { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.shift__text { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.35; font-weight: 400; letter-spacing: -.015em; text-wrap: pretty; }
.shift__card:not(.shift__card--now) .shift__text { color: var(--ink-2); }
.bigstat { margin-top: clamp(12px, 2vw, 24px); padding-top: clamp(20px, 3vw, 32px); border-top: 1px solid var(--line-2); display: grid; gap: 8px; }
.bigstat__num { font-size: clamp(64px, 9vw, 120px); font-weight: 300; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.bigstat__num span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-right: .06em; }
.bigstat__txt { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 44ch; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__head { position: static; } }

/* PROBLEMA ========================================================== */
.head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.head--wide { max-width: 880px; }
.card { background: var(--surface); border-radius: var(--r-3); padding: clamp(22px, 3vw, 34px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.chart { display: grid; align-content: start; gap: 6px; }
.chart__title { font-size: 15px; font-weight: 600; }
.bars { display: grid; gap: 24px; margin-block: 18px 8px; }
.bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 12px; }
.bar__label { grid-column: 1; grid-row: 1; font-size: 14px; color: var(--ink-2); }
.bar__val { grid-column: 2; grid-row: 1; font-size: clamp(34px, 3.4vw, 48px); font-weight: 300; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.bar--hl .bar__val { color: var(--accent); }
.bar__track { grid-column: 1 / -1; height: 14px; border-radius: 99px; background: var(--track); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: calc(var(--r, 0) * 100%); border-radius: inherit; background: var(--muted-fill); }
.bar--hl .bar__fill { background: var(--grad); }
.chart.is-in .bar__fill { animation: grow 1.4s var(--ease) var(--d, 0ms) backwards; }
@keyframes grow { from { width: 0; } }
.chart__note { font-size: 15px; color: var(--ink-2); margin-top: 6px; text-wrap: pretty; }
.src--wide { margin-top: 18px; }
@media (max-width: 820px) { .charts { grid-template-columns: 1fr; } }

.signs { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 16px; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r-3); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.signs__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.signs__count { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.signs__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.sign { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); cursor: pointer; }
.sign input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sign__box { flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 8px; display: grid; place-items: center; color: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background .25s, box-shadow .25s, transform .3s var(--ease); }
.sign__box .i { width: 16px; height: 16px; transform: scale(0); transition: transform .3s var(--ease); }
.sign:hover .sign__box { box-shadow: inset 0 0 0 1.5px var(--accent); }
.sign input:checked + .sign__box { background: var(--btn); box-shadow: none; transform: scale(1.06); }
.sign input:checked + .sign__box .i { transform: scale(1); }
.sign input:focus-visible + .sign__box { outline: 2px solid var(--electric); outline-offset: 3px; }
.sign__text { font-size: 17px; line-height: 1.45; color: var(--ink-2); transition: color .2s; }
.sign input:checked ~ .sign__text { color: var(--ink); }
.signs__out { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 8px; min-height: 52px; border-top: 1px solid var(--line); }
.signs__out p { font-size: 16px; color: var(--ink-2); max-width: 60ch; }
@media (max-width: 820px) { .signs__list { grid-template-columns: 1fr; } }

/* CAUSA RAIZ ======================================================== */
.narrow { max-width: 1040px; }
.statement { font-size: clamp(34px, 5.6vw, 76px); font-weight: 300; letter-spacing: -.04em; line-height: 1.04; text-wrap: balance; }
.statement .w { opacity: calc(.32 + .68 * var(--w, 1)); }
.statement.words-ready em.grad { background: none; -webkit-text-fill-color: currentColor; color: inherit; }
.statement.words-ready em.grad .w { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-right: .06em; }
[tabindex="-1"]:focus { outline: none; }
.statement__lead { margin-top: clamp(24px, 3vw, 40px); }
.duo { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.duo__item { display: grid; gap: 8px; padding: 24px 28px; border-radius: var(--r-2); box-shadow: inset 0 0 0 1px var(--line); }
.duo__item--us { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--accent); }
.duo__tag { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.duo__item--us .duo__tag { color: var(--accent); }
.duo__text { font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -.015em; line-height: 1.3; }
@media (max-width: 700px) { .duo { grid-template-columns: 1fr; } }

/* 02 MÉTODO ========================================================= */
.steps { --p: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); padding-top: 44px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px; border-radius: 2px; }
.steps::before { background: var(--track); }
.steps::after { background: var(--grad); transform-origin: left; transform: scaleX(var(--p)); }
.step {
  position: relative; display: grid; align-content: start; gap: 10px; padding: 24px 22px 26px;
  border-radius: var(--r-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .35s, translate .4s var(--ease);
}
.step::before {
  content: ""; position: absolute; left: 22px; top: -40px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); box-shadow: inset 0 0 0 2px var(--line-2);
  transition: background .4s, box-shadow .4s, scale .4s var(--ease);
}
.step.is-on::before { background: var(--electric); box-shadow: 0 0 0 5px rgba(31, 91, 224, .24); scale: 1.12; }
.step:hover { translate: 0 -4px; box-shadow: inset 0 0 0 1px var(--accent); }
.step__n { font-size: 14px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.step__h { font-size: clamp(24px, 2.2vw, 30px); font-weight: 400; letter-spacing: -.025em; line-height: 1.1; }
.step__sub { font-size: 16px; font-weight: 600; line-height: 1.35; }
.step__p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.loop {
  position: relative; height: 54px; margin: clamp(20px, 3vw, 32px) 12.5% 40px;
  border: 2px solid var(--line-2); border-top: 0; border-radius: 0 0 26px 26px;
}
.loop::before { content: ""; position: absolute; left: -8px; top: -10px; border: 7px solid transparent; border-top: 0; border-bottom: 10px solid var(--line-2); }
.loop span { position: absolute; left: 0; right: 0; top: calc(100% + 10px); text-align: center; font-size: 14px; color: var(--ink-3); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; padding-top: 0; padding-left: 36px; gap: 14px; }
  .steps::before, .steps::after { left: 6px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .steps::after { transform-origin: top; transform: scaleY(var(--p)); }
  .step::before { left: -36px; top: 28px; }
  .loop { display: none; }
}

/* 03 MOMENTO + FORMATOS ============================================= */
.moment__h { margin: 18px 0 clamp(24px, 3vw, 36px); }
.seg { position: relative; display: inline-flex; padding: 5px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.seg__thumb { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 10px; background: var(--ink); transition: transform .55s var(--ease), width .55s var(--ease); }
.seg__btn { position: relative; z-index: 1; min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px; background: transparent; font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: color .3s; }
.seg__btn:not([aria-selected="true"]):hover { color: var(--ink); }
.seg__btn[aria-selected="true"] { color: var(--bg); }
.seg:not(.is-ready) .seg__btn[aria-selected="true"] { background: var(--ink); }
@media (max-width: 520px) { .seg { display: flex; width: 100%; } .seg__btn { flex: 1; padding: 0 10px; font-size: 14px; } }

.moment { margin-top: 20px; display: grid; }
.moment__panel { grid-area: 1 / 1; display: grid; align-content: start; gap: 16px; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.moment__panel[data-state="idle"] { opacity: 0; transform: translateY(10px); visibility: hidden; pointer-events: none; transition: opacity .25s, transform .35s, visibility 0s .35s; }
.moment__box { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 72px); padding: clamp(24px, 3.4vw, 40px); border-radius: 8px; background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--line); }
.moment__col { display: grid; gap: 12px; align-content: start; }
.moment__title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
.moment__text { font-size: 17px; color: var(--ink-2); max-width: 48ch; }
.moment__list { display: grid; gap: 10px; padding-left: 20px; list-style: disc; font-size: 17px; line-height: 1.5; }
.moment__list li::marker { color: var(--accent); }
.moment__note { font-size: 14px; line-height: 1.55; color: var(--ink-2); max-width: 66ch; }
.moment + .link { margin-top: 6px; }
@media (max-width: 760px) { .moment__box { grid-template-columns: 1fr; } }

.formats { margin-top: clamp(64px, 9vw, 112px); scroll-margin-top: calc(var(--header-h) + 8px); }
.formats__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line-2); }
.formats__p { font-size: 15px; color: var(--ink-3); }
.fmt { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) auto; gap: 20px clamp(20px, 4vw, 56px); align-items: center; padding: clamp(22px, 3vw, 32px) clamp(14px, 2vw, 24px); border-bottom: 1px solid var(--line); transition: background-color .5s; }
.fmt__tag { font-size: 14px; font-weight: 600; color: var(--ink-3); margin-bottom: 6px; }
.fmt__title { font-size: clamp(22px, 2.4vw, 32px); font-weight: 400; letter-spacing: -.025em; line-height: 1.1; }
.fmt__desc { margin-top: 8px; font-size: 16px; color: var(--ink-2); max-width: 52ch; }
.fmt__meta { display: grid; gap: 12px; }
.fmt__meta dt { font-size: 13px; color: var(--ink-3); }
.fmt__meta dd { font-size: 17px; font-weight: 500; }
.fmt.is-match { background: linear-gradient(90deg, rgba(31, 91, 224, .12), transparent 85%); }
.fmt.is-match .fmt__tag { color: var(--accent); }
.fmt.is-match .fmt__tag::after { content: "Seu caminho"; margin-left: 10px; padding: 3px 9px; border-radius: 99px; background: var(--electric); color: #fff; font-size: 12px; font-weight: 600; }
@media (max-width: 860px) {
  .fmt { grid-template-columns: 1fr; }
  .fmt__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fmt__btn { justify-self: start; }
}

/* 04 PARA QUEM ====================================================== */
.who-wrap { padding-block: clamp(40px, 6vw, 80px); }
.who {
  --ink: #fff; --ink-2: rgba(255, 255, 255, .84); --ink-3: rgba(255, 255, 255, .72); --accent: #C9E8FF; --line: rgba(255, 255, 255, .24);
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px); border-radius: var(--r-4); background: var(--panel);
  box-shadow: 0 50px 90px -50px rgba(20, 50, 190, .7);
}
.who::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(720px 420px at 92% 0%, rgba(10, 215, 218, .4), transparent 60%); }
.who::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .2; mix-blend-mode: overlay; pointer-events: none; }
.who__head { display: grid; gap: 20px; align-content: start; }
.who__not { margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 16px; color: var(--ink-2); max-width: 44ch; }
.who__not strong { color: #fff; }
.who__list { display: grid; gap: 14px; }
.who__card {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 22px; row-gap: 4px; align-items: center;
  padding: 16px 22px 16px 16px; border-radius: var(--r-2); background: #F3F7FF; color: #08122B;
  box-shadow: 0 18px 40px -22px rgba(2, 10, 60, .7); transition: translate .45s var(--ease), box-shadow .45s;
}
.who__card:hover { translate: 0 -3px; box-shadow: 0 28px 48px -22px rgba(2, 10, 60, .85); }
.who__art { grid-row: 1 / 3; width: 150px; height: auto; border-radius: 10px; background: #E1EAFB; }
.who__title { align-self: end; font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; letter-spacing: -.015em; line-height: 1.2; }
.who__text { align-self: start; font-size: 15px; color: #36435F; }
.a-axis { stroke: #9AAAD0; stroke-width: 2; fill: none; }
.a-dim { stroke: #9DB0DE; stroke-width: 3; fill: none; stroke-linecap: round; }
.a-line { stroke: #1F5BE0; stroke-width: 4; fill: none; stroke-linecap: round; }
.a-dot, .a-fill { fill: #1F5BE0; }
.a-dim-f { fill: #B7C6EC; }
.a-dash { stroke: #1F5BE0; stroke-width: 2; stroke-dasharray: 5 6; fill: none; }
.a-check { stroke: #fff; stroke-width: 3.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .who { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .who__card { grid-template-columns: 1fr; } .who__art { grid-row: auto; width: 100%; } .who__title { align-self: start; } }

/* 05 CASES ========================================================== */
.cases { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.case { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-3); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); transition: translate .5s var(--ease); }
.case:hover { translate: 0 -4px; }
.case--a { grid-column: span 7; }
.case--b { grid-column: span 5; }
.case--c { grid-column: span 12; flex-direction: row; }
.case__art { height: clamp(170px, 19vw, 240px); flex: none; transition: transform 1.1s var(--ease); }
.case:hover .case__art { transform: scale(1.04); }
.case__art--1 { background: repeating-radial-gradient(circle at 18% 125%, rgba(255, 255, 255, .2) 0 1.5px, transparent 1.5px 34px), linear-gradient(135deg, #0B1D6E, #1F5BE0 70%, #0AD7DA); }
.case__art--2 { background: linear-gradient(rgba(255, 255, 255, .17) 1.5px, transparent 1.5px) 0 0 / 34px 34px, linear-gradient(90deg, rgba(255, 255, 255, .17) 1.5px, transparent 1.5px) 0 0 / 34px 34px, linear-gradient(150deg, #14298F, #1F5BE0 60%, #35C9F0); }
.case__art--3 { background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .17) 0 2px, transparent 2px 18px), linear-gradient(160deg, #071247, #1537B5 60%, #1F5BE0); }
.case__body { position: relative; z-index: 1; flex: 1; display: grid; gap: 10px; align-content: start; padding: clamp(20px, 2.6vw, 30px); background: var(--surface); }
.case__tag { font-size: 14px; font-weight: 600; color: var(--accent); }
.case__title { font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
.case__text { font-size: 16px; color: var(--ink-2); max-width: 56ch; }
.case__metric { padding: 12px 14px; border-radius: 10px; background: var(--bg-alt); font-weight: 600; }
.case .link { margin-top: 6px; justify-self: start; }
.case--c .case__art { flex: 0 0 38%; height: auto; min-height: 240px; }
.case--c .case__body { align-content: center; padding: clamp(24px, 3.4vw, 44px); }
@media (max-width: 900px) {
  .case--a, .case--b, .case--c { grid-column: 1 / -1; }
  .case--c { flex-direction: column; }
  .case--c .case__art { flex: none; height: clamp(170px, 30vw, 220px); min-height: 0; }
}

/* 06 CALCULADORA ==================================================== */
.calc {
  background:
    radial-gradient(900px 520px at 100% 0%, rgba(10, 215, 218, .16), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, rgba(31, 91, 224, .3), transparent 60%),
    linear-gradient(180deg, var(--z-bg), var(--z-bg-2));
}
.calc__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.calc__form { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 26px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-3); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.field { display: grid; gap: 8px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; font-weight: 500; color: var(--ink); }
.field output { font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.field input[type="number"], .field input[type="text"], .field input[type="email"], .field input[type="url"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0 16px; border: 0; border-radius: var(--r-1);
  background: var(--track); color: var(--ink); font-size: 17px; font-variant-numeric: tabular-nums;
  transition: background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field select { padding: 0 12px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--surface); box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px rgba(31, 91, 224, .2); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--danger); }
.field__err { font-size: 14px; color: var(--danger); }
.opt { font-weight: 400; color: var(--ink-3); }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; padding: 0; background: transparent; cursor: pointer; --fill: 0%; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--electric) var(--fill), var(--track) var(--fill)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: var(--track); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--electric); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--electric), 0 6px 14px -4px rgba(8, 18, 43, .6); transition: transform .2s var(--ease); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--electric); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.18); }
input[type="range"]:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 8px; }

.calc__out { display: grid; gap: 16px; }
.out { display: grid; gap: 6px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-3); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.out__label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.out__big { font-size: clamp(44px, 6vw, 84px); font-weight: 300; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); overflow-wrap: anywhere; }
.out--gain { background: linear-gradient(135deg, rgba(31, 91, 224, .36), rgba(10, 215, 218, .16)); box-shadow: inset 0 0 0 1px rgba(134, 178, 255, .38); }
.out__mid { font-size: clamp(34px, 4.4vw, 56px); font-weight: 300; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--ink); overflow-wrap: anywhere; }
.out__sub { font-size: 15px; color: var(--ink-2); }
.keep { display: grid; gap: 14px; padding: clamp(20px, 2.6vw, 28px); border-radius: var(--r-3); box-shadow: inset 0 0 0 1px var(--line); }
.dots { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 6px; }
.d { display: block; aspect-ratio: 1; border-radius: 50%; background: var(--track); }
.dots .d { transition: background-color .4s var(--ease) calc(var(--i, 0) * 5ms), transform .4s var(--ease) calc(var(--i, 0) * 5ms); }
.d--on { background: var(--electric); }
.d--gain { background: var(--cyan); }
.keep__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--ink-2); }
.keep__legend li { display: flex; align-items: center; gap: 8px; }
.keep__legend .d { width: 12px; height: 12px; aspect-ratio: auto; flex: none; }
.calc__actions { display: flex; }
.calc sup { font-size: .75em; }
@media (max-width: 900px) { .calc__grid { grid-template-columns: 1fr; } .calc__form { position: static; } }

/* 07 SOBRE ========================================================== */
.about { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.about__card {
  position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 18px; align-content: end; min-height: 360px;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--r-4);
  background: radial-gradient(420px 320px at 100% 0%, rgba(10, 215, 218, .36), transparent 62%), linear-gradient(160deg, var(--z-bg-2), var(--z-bg));
  box-shadow: 0 40px 80px -40px rgba(10, 30, 120, .65);
}
.about__mark { position: absolute; top: 26px; left: 26px; width: 44px; height: 44px; opacity: .9; }
.about__stats { display: flex; gap: clamp(20px, 4vw, 40px); }
.about__stats > div { display: grid; gap: 4px; }
.about__stats dd { order: -1; font-size: clamp(56px, 6vw, 80px); font-weight: 300; letter-spacing: -.05em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.about__stats dt { font-size: 13px; line-height: 1.35; color: var(--ink-3); max-width: 16ch; }
.about__regions { font-size: 15px; color: var(--ink-2); }
.about__cert { justify-self: start; padding: 8px 14px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; font-weight: 600; }
.about__text { display: grid; gap: 18px; align-content: center; min-width: 0; }
.about__role { font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; letter-spacing: -.015em; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about__card { min-height: 300px; } }

/* 08 PERGUNTAS ====================================================== */
.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 18px; }
.qa { border-top: 1px solid var(--line-2); }
.qa:last-child { border-bottom: 1px solid var(--line-2); }
.qa__q { font-size: inherit; font-weight: inherit; }
.qa__q button { width: 100%; min-height: 72px; padding: 18px 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; letter-spacing: -.015em; line-height: 1.3; transition: color .2s; }
.qa__q button:hover { color: var(--accent); }
.qa__q .i { width: 22px; height: 22px; color: var(--accent); transition: transform .5s var(--ease); }
.qa__q button[aria-expanded="true"] .i { transform: rotate(45deg); }
.qa__a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .5s var(--ease), visibility 0s .5s; }
.qa__a > div { min-height: 0; overflow: hidden; }
.qa__a p { padding: 0 44px 24px 4px; color: var(--ink-2); max-width: 60ch; }
.qa.is-open .qa__a { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq__head { position: static; } }

/* 09 CONTATO ======================================================== */
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.contact__copy { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 20px; }
.contact__list { display: grid; gap: 10px; margin-top: 8px; }
.contact__list li { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
.contact__list .i { width: 22px; height: 22px; color: var(--accent); }
.form { display: grid; gap: 20px; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r-3); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.form__preview { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.form__preview label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.form__preview textarea { width: 100%; padding: 14px 16px; border: 0; border-radius: var(--r-1); background: var(--track); color: var(--ink-2); font-size: 14px; line-height: 1.55; resize: vertical; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form__actions .btn { flex: 1 1 auto; white-space: nowrap; }
.form__status { min-height: 1.5em; font-size: 14px; color: var(--ink-2); }
.form__alt { font-size: 14px; color: var(--ink-3); overflow-wrap: anywhere; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } .contact__copy { position: static; } }

/* RODAPÉ ============================================================ */
.foot { background: linear-gradient(180deg, var(--z-bg-2), var(--z-bg)); padding-block: clamp(48px, 7vw, 80px) calc(clamp(32px, 5vw, 48px) + env(safe-area-inset-bottom, 0px)); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px clamp(24px, 5vw, 80px); }
.foot__logo { height: 46px; width: auto; margin-bottom: 18px; }
.foot__brand p { color: var(--ink-2); max-width: 42ch; }
.foot__links { display: grid; gap: 2px; align-content: start; }
.foot__links a { display: inline-flex; align-items: center; justify-self: start; min-height: 44px; color: var(--ink); font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1.5px no-repeat; transition: background-size .45s var(--ease), color .2s; }
.foot__links a:hover { color: var(--z-accent); background-size: 100% 1.5px; }
.foot__copy { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.foot__icon { width: 28px; height: 28px; opacity: .85; }
@media (max-width: 760px) { .foot__in { grid-template-columns: 1fr; } }
@media (max-width: 980px) { .foot { padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)); } }
