/* Tower Technology — site institucional
   Sistema: Grafite #152436 · Névoa #EAF0F5 · Digital #1849BE · Commerce #00786E
   Tipografia: Segoe UI (manual Arco), com fallback para a fonte do sistema. */

:root {
  --ink: #152436;
  --ink-2: #1E3149;
  --ink-3: #2A4260;
  --deep: #0F1C2C;
  --paper: #EAF0F5;
  --paper-2: #F5F8FB;
  --white: #FFFFFF;
  --blue: #1849BE;
  --blue-l: #4C86FF;
  --blue-xl: #9DBBFF;
  --teal: #00786E;
  --teal-l: #22C1A6;
  --line: #D3DDE7;
  --line-dark: rgba(234, 240, 245, .12);
  --muted: #52637A;
  --muted-dark: #A9B8CA;

  --font: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  /* escala 1.25 a partir de 17px */
  --t-sm: .8rem;
  --t-base: 1.0625rem;
  --t-md: 1.25rem;
  --t-lg: 1.6rem;
  --t-xl: 2.1rem;
  --t-2xl: clamp(2.1rem, 3.6vw, 2.9rem);
  --t-hero: clamp(2.5rem, 5.6vw, 4.6rem);

  --wrap: 1180px;
  --gut: clamp(20px, 4vw, 40px);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.2, .9, .25, 1.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); font-size: var(--t-base); line-height: 1.6; color: var(--ink); background: var(--paper-2); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }

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

/* ---------- botões ---------- */
.btn { --bg: var(--blue); --fg: var(--white); display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.35em; border-radius: var(--r-md); border: 1px solid transparent; background: var(--bg); color: var(--fg); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(24, 73, 190, .8); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--light { --bg: var(--white); --fg: var(--ink); }
.btn--light:hover { box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6); }
.btn--ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn--ghost:hover { box-shadow: none; background: rgba(127, 150, 180, .12); }
.btn--sm { min-height: 40px; padding: .5em 1em; font-size: .95rem; }
.link { font-weight: 600; color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; background: none; border: 0; padding: 0; cursor: pointer; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- cabeçalho ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white); transition: background-color .3s, box-shadow .3s, color .3s; }
.header.is-solid { background: rgba(15, 28, 44, .86); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 var(--line-dark); }
.header__in { display: flex; align-items: center; gap: 28px; height: 76px; }
.header__logo { flex: none; display: block; width: 156px; }
.header__logo img { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a { text-decoration: none; padding: .55em .9em; border-radius: var(--r-sm); color: rgba(255, 255, 255, .78); font-weight: 500; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, .07); }
.nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--blue-l); border-radius: 0; }
.nav .btn { margin-left: 10px; color: var(--ink); }
.nav__ig { display: inline-flex; align-items: center; gap: .45em; }
.nav__ig svg { width: 18px; height: 18px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-dark); background: transparent; border-radius: var(--r-sm); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; transition: transform .25s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- seções ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: var(--white); }
.head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.head h2 { font-size: var(--t-2xl); }
.head p { margin-top: 18px; font-size: var(--t-md); color: var(--muted); max-width: 62ch; }
.section--ink .head p { color: var(--muted-dark); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-weight: 600; font-size: .95rem; color: var(--blue); }
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.section--ink .kicker { color: var(--blue-xl); }

/* ================================================================
   HERO — Tower Technology (a torre como manifesto do grupo)
   ================================================================ */
.hero { position: relative; overflow: hidden; color: var(--white); background:
  radial-gradient(70% 60% at 72% 40%, rgba(47, 107, 240, .22), transparent 70%),
  radial-gradient(50% 50% at 85% 85%, rgba(0, 120, 110, .22), transparent 70%),
  linear-gradient(180deg, var(--ink) 0%, var(--deep) 100%); min-height: 100svh; display: flex; align-items: center; padding-top: 76px; }
.hero__grid { position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(30deg, rgba(157, 187, 255, .07) 1px, transparent 1px),
    linear-gradient(150deg, rgba(157, 187, 255, .07) 1px, transparent 1px);
  background-size: 52px 30px; mask-image: radial-gradient(80% 70% at 65% 50%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(80% 70% at 65% 50%, #000 30%, transparent 80%); }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding-block: 48px 72px; }
.hero h1 { font-size: var(--t-hero); line-height: 1.03; letter-spacing: -.03em; max-width: 13ch; }
.hero__lead { margin-top: 26px; font-size: var(--t-md); line-height: 1.55; color: var(--muted-dark); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero__note { margin-top: 30px; display: flex; align-items: center; gap: 10px; color: var(--muted-dark); font-size: .95rem; }
.hero__note a { color: var(--white); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.hero__note a:hover { border-color: var(--white); }
.hero__note svg { width: 18px; height: 18px; }

/* Torre interativa */
.tower { position: relative; width: 100%; max-width: 620px; margin-inline: auto; aspect-ratio: 1 / 1; }
.tower svg { width: 100%; height: 100%; overflow: visible; }
.tower .piece { transform-box: view-box; transition: transform .45s var(--ease), opacity .35s, filter .35s; cursor: pointer; }
.tower .piece:focus { outline: none; }
.tower[data-active] .piece { opacity: .38; }
.tower[data-active="tower"] .piece--tower,
.tower[data-active="digital"] .piece--digital,
.tower[data-active="commerce"] .piece--commerce { opacity: 1; transform: translateY(-10px); filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); }
.tower .lead-line { stroke-dasharray: 200; stroke-dashoffset: 0; transition: opacity .3s; }
.tower[data-active] .lead-line { opacity: .25; }
.tower[data-active="tower"] .lead-line--tower, .tower[data-active="digital"] .lead-line--digital, .tower[data-active="commerce"] .lead-line--commerce { opacity: 1; }
.tag { position: absolute; display: block; width: max-content; max-width: 210px; text-decoration: none; color: var(--white); padding: 10px 14px 11px; border-radius: var(--r-md); background: rgba(21, 36, 54, .72); border: 1px solid var(--line-dark); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .3s, background-color .3s, opacity .3s, transform .3s var(--ease); }
.tag strong { display: block; font-size: 1rem; font-weight: 600; }
.tag span { display: block; font-size: .86rem; color: var(--muted-dark); line-height: 1.35; margin-top: 2px; }
.tag--tower { left: 64%; top: 4%; }
.tag--digital { left: -6%; top: 63%; }
.tag--commerce { right: -6%; top: 79%; text-align: right; }
.tag--digital:hover, .tower[data-active="digital"] .tag--digital { border-color: var(--blue-l); background: rgba(24, 73, 190, .35); }
.tag--commerce:hover, .tower[data-active="commerce"] .tag--commerce { border-color: var(--teal-l); background: rgba(0, 120, 110, .35); }
.tag--tower:hover, .tower[data-active="tower"] .tag--tower { border-color: var(--blue-xl); }
.tower[data-active] .tag { opacity: .45; }
.tower[data-active="tower"] .tag--tower, .tower[data-active="digital"] .tag--digital, .tower[data-active="commerce"] .tag--commerce { opacity: 1; transform: translateY(-3px); }
.tower__legend { display: none; }

/* sequência de entrada (o único momento automático do site) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > * { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease) forwards; }
  .js .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .js .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .js .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .js .tower .enter { opacity: 0; animation: build 1s var(--spring) forwards; }
  .js .tower .enter--digital { --from: translate(-70px, 46px); animation-delay: .25s; }
  .js .tower .enter--commerce { --from: translate(70px, 46px); animation-delay: .4s; }
  .js .tower .enter--tower { --from: translate(0, -90px); animation-delay: .62s; }
  .js .tower .enter--floor { --from: scale(.9); animation-delay: .1s; }
  .js .tower .lead-line { stroke-dashoffset: 200; animation: draw .7s var(--ease) 1.25s forwards; }
  .js .tower .tag { animation: fadeIn .6s var(--ease) 1.45s backwards; }
  .js .tower .tag--commerce { animation-delay: 1.55s; }
  .js .tower .tag--tower { animation-delay: 1.65s; }
  .js .tower .rise-fill { animation: fill 1.6s var(--ease) 1.1s both; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes build { from { opacity: 0; transform: var(--from); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ================================================================
   Grupo — duas empresas
   ================================================================ */
.duo { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: stretch; }
.co { position: relative; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; overflow: hidden; }
.co__logo { height: 52px; width: auto; align-self: flex-start; }
.co h3 { font-size: var(--t-xl); margin-top: 34px; max-width: 18ch; }
.co__text { margin-top: 16px; color: var(--muted); max-width: 52ch; }
.co--digital { background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(24, 73, 190, .45); }
.co--digital::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; background: url("../img/digital-simbolo.svg") center/contain no-repeat; opacity: .06; transform: rotate(-8deg); pointer-events: none; }
.co__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-top: 28px; }
.co__list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.co__list li::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: .55em; background: var(--blue); transform: rotate(45deg); border-radius: 1px; }
.co__foot { margin-top: auto; padding-top: 36px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.co--commerce { background:
  repeating-linear-gradient(135deg, rgba(34, 193, 166, .06) 0 2px, transparent 2px 14px),
  linear-gradient(160deg, #0F3A3A 0%, var(--ink) 70%); color: var(--white); }
.co--commerce .co__text { color: var(--muted-dark); }
.status { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 28px; padding: 6px 12px; border-radius: 999px; border: 1px dashed rgba(34, 193, 166, .55); color: #8FE8D6; font-size: .9rem; font-weight: 600; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-l); box-shadow: 0 0 0 4px rgba(34, 193, 166, .18); }
.co--commerce .co__foot { color: var(--muted-dark); font-size: .95rem; }
.co--commerce dl { margin: 28px 0 0; display: grid; gap: 14px; }
.co--commerce dt { font-weight: 600; color: var(--white); }
.co--commerce dd { margin: 2px 0 0; color: var(--muted-dark); font-size: .96rem; }

/* faixa de chamada */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px); color: var(--white); background: linear-gradient(120deg, var(--blue) 0%, #12358F 55%, var(--ink) 100%); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta-band::before { content: ""; position: absolute; right: 18%; bottom: -120px; width: 280px; height: 280px; background: url("../img/tower-simbolo.svg") center/contain no-repeat; filter: brightness(0) invert(1); opacity: .06; }
.cta-band h2 { font-size: var(--t-2xl); max-width: 20ch; }
.cta-band p { margin-top: 14px; color: rgba(255, 255, 255, .78); max-width: 52ch; }
.cta-band__btns { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- rodapé ---------- */
.footer { background: var(--deep); color: var(--muted-dark); padding: 64px 0 36px; font-size: .95rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer__brand img { width: 170px; }
.footer__brand p { margin-top: 18px; max-width: 38ch; }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; letter-spacing: 0; }
.footer li + li { margin-top: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: .88rem; }

/* ================================================================
   TWR Digital
   ================================================================ */
.dhero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--ink) 0, var(--ink) 76px, var(--paper) 76px); padding-top: 76px; }
.dhero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.dhero__logo { height: 46px; width: auto; margin-bottom: 30px; }
.dhero h1 { font-size: var(--t-hero); line-height: 1.04; letter-spacing: -.03em; max-width: 14ch; }
.dhero__lead { margin-top: 24px; font-size: var(--t-md); color: var(--muted); max-width: 48ch; }
.dhero .hero__ctas .btn--ghost { color: var(--ink); }

/* pilha isométrica de interface (CSS 3D) */
.stack { position: relative; height: 470px; perspective: 1600px; }
.stack__scene { position: absolute; left: 50%; top: 52%; width: 360px; height: 260px; transform-style: preserve-3d; transform: translate(-50%, -50%) rotateX(56deg) rotateZ(-40deg); }
.layer { position: absolute; inset: 0; border-radius: 14px; transform-style: preserve-3d; transition: transform .6s var(--ease); box-shadow: 0 40px 50px -30px rgba(21, 36, 54, .55); }
.layer--1 { transform: translateZ(0); background: linear-gradient(135deg, #DCE6F0, #C9D6E4); border: 1px solid #B7C7D8; padding: 22px; }
.layer--2 { transform: translateZ(90px); background: var(--white); border: 1px solid var(--line); padding: 16px; }
.layer--3 { transform: translateZ(180px); background: linear-gradient(140deg, #1D57D6, var(--blue)); padding: 18px; color: var(--white); }
.stack:hover .layer--2 { transform: translateZ(115px); }
.stack:hover .layer--3 { transform: translateZ(230px); }
.sw { display: flex; gap: 10px; }
.sw i { width: 44px; height: 44px; border-radius: 8px; display: block; }
.l1-logo { margin-top: 22px; width: 150px; opacity: .9; }
.l1-type { margin-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: 34px; letter-spacing: -.02em; color: var(--ink); }
.ui-bar { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ui-bar i { width: 8px; height: 8px; border-radius: 50%; background: #C9D3DE; display: block; }
.ui-bar b { margin-left: auto; width: 70px; height: 8px; border-radius: 4px; background: var(--paper); display: block; }
.ui-hero { margin-top: 16px; height: 62px; border-radius: 8px; background: linear-gradient(120deg, var(--ink), var(--ink-3)); position: relative; }
.ui-hero::after { content: ""; position: absolute; left: 14px; top: 16px; width: 55%; height: 9px; border-radius: 5px; background: rgba(255,255,255,.8); box-shadow: 0 16px 0 -1px rgba(255,255,255,.35); }
.ui-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.ui-row i { height: 52px; border-radius: 8px; background: var(--paper); display: block; }
.ui-btn { margin-top: 12px; width: 96px; height: 22px; border-radius: 6px; background: var(--blue); }
.chart { display: flex; align-items: flex-end; gap: 12px; height: 150px; margin-top: 16px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.3); }
.chart i { flex: 1; border-radius: 5px 5px 0 0; background: rgba(255,255,255,.28); display: block; }
.chart i:last-child, .chart i:nth-last-child(2) { background: var(--white); }
.l3-top { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 15px; }
.l3-top span { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.18); }
.stack__tags { position: absolute; inset: 0; pointer-events: none; }
.stack__tags span { position: absolute; font-size: .9rem; font-weight: 600; color: var(--ink); background: var(--white); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; box-shadow: 0 8px 20px -14px rgba(21,36,54,.6); }
.stack__tags span:nth-child(1) { right: 0; top: 4%; }
.stack__tags span:nth-child(2) { left: 0; top: 44%; }
.stack__tags span:nth-child(3) { left: 12%; bottom: 14%; }

/* faixa de capacidades */
.caps { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.caps ul { display: grid; grid-template-columns: repeat(6, 1fr); }
.caps li { padding: 22px 16px; font-weight: 600; font-size: .98rem; display: flex; gap: 10px; align-items: center; }
.caps li + li { border-left: 1px solid var(--line); }
.caps svg { width: 22px; height: 22px; color: var(--blue); flex: none; }

/* autodiagnóstico de dores */
.pains { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.pain-group + .pain-group { margin-top: 36px; }
.pain-group h3 { font-size: var(--t-md); margin-bottom: 14px; }
.pain-group > p { color: var(--muted); margin: -6px 0 16px; }
.pain { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.pain + .pain { margin-top: 10px; }
.pain:hover { border-color: #AFC1D6; }
.pain input { position: absolute; opacity: 0; pointer-events: none; }
.pain__box { width: 24px; height: 24px; border-radius: 6px; border: 1.5px solid #9AAEC4; display: grid; place-items: center; margin-top: 2px; transition: background-color .2s, border-color .2s; }
.pain__box svg { width: 14px; height: 14px; color: var(--white); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--spring); }
.pain strong { display: block; font-weight: 600; font-size: 1.05rem; }
.pain span { display: block; color: var(--muted); font-size: .97rem; margin-top: 3px; }
.pain:has(input:checked) { border-color: var(--blue); background: #F3F7FF; box-shadow: 0 0 0 3px rgba(24, 73, 190, .1); }
.pain input:checked + .pain__box { background: var(--blue); border-color: var(--blue); }
.pain input:checked + .pain__box svg { opacity: 1; transform: none; }
.pain input:focus-visible + .pain__box { outline: 2px solid var(--blue-l); outline-offset: 3px; }
.verdict { position: sticky; top: 100px; border-radius: var(--r-lg); background: var(--ink); color: var(--white); padding: 30px; overflow: hidden; }
.verdict__meter { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; margin: 6px 0 22px; }
.verdict__meter i { height: 10px; border-radius: 3px; background: rgba(255,255,255,.12); display: block; transition: background-color .3s; }
.verdict__meter i.on { background: var(--blue-l); }
.verdict__meter i.on.hot { background: #FF8A5B; }
.verdict__count { font-size: .95rem; color: var(--muted-dark); }
.verdict h3 { font-size: var(--t-lg); margin-top: 6px; }
.verdict p { margin-top: 12px; color: var(--muted-dark); }
.verdict__plan { margin-top: 22px; padding: 16px 18px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); }
.verdict__plan small { display: block; color: var(--muted-dark); font-size: .88rem; }
.verdict__plan b { display: block; font-size: 1.25rem; margin-top: 2px; }
.verdict .btn { margin-top: 20px; width: 100%; }

/* site: motivos */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.reason { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.reason__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #E6EEFB; color: var(--blue); }
.reason__ic svg { width: 22px; height: 22px; }
.reason h3 { font-size: 1.2rem; letter-spacing: -.01em; }
.reason p { margin-top: 6px; color: var(--muted); }
.quote { margin-top: 48px; padding: 28px 32px; border-left: 3px solid var(--blue); background: var(--white); border-radius: 0 var(--r-md) var(--r-md) 0; font-family: var(--font-display); font-size: var(--t-lg); line-height: 1.3; font-weight: 600; letter-spacing: -.015em; max-width: 30ch; }

/* comparador visual */
.visual { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.compare { position: relative; --pos: 50%; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.3; user-select: none; border: 1px solid var(--line-dark); box-shadow: 0 40px 60px -40px rgba(0,0,0,.6); }
.mock { position: absolute; inset: 0; padding: 28px; display: flex; flex-direction: column; }
.mock--bad { background: #FFF200; color: #E0007A; font-family: "Comic Sans MS", "Chalkboard SE", cursive; text-align: center; justify-content: center; gap: 10px; }
.mock--bad .b1 { font-size: 13px; color: #0018F9; text-decoration: underline; }
.mock--bad .b2 { font-size: clamp(22px, 3vw, 34px); font-weight: 700; text-shadow: 2px 2px 0 #00E5FF; line-height: 1.1; }
.mock--bad .b3 { font-size: 14px; color: #222; background: #fff; border: 3px dotted #FF0000; padding: 8px; }
.mock--bad .b4 { align-self: center; padding: 8px 14px; background: linear-gradient(#00ff00, #009900); color: #fff; font-weight: 700; border: 2px outset #0f0; font-size: 15px; }
.mock--bad .b5 { font-size: 11px; color: #555; }
.mock--good { background: #F6F3EE; color: #1F2A2E; clip-path: inset(0 0 0 var(--pos)); justify-content: space-between; }
.mock--good .g-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #5D6B6F; }
.mock--good .g-top b { font-size: 16px; color: #1F2A2E; letter-spacing: .02em; }
.mock--good .g-top b::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #2E7D74; margin-right: 8px; vertical-align: -1px; }
.mock--good h4 { font-size: clamp(22px, 2.8vw, 32px); line-height: 1.12; font-weight: 600; max-width: 14ch; }
.mock--good p { font-size: 14px; color: #5D6B6F; margin-top: 10px; max-width: 34ch; }
.mock--good .g-btn { display: inline-block; margin-top: 18px; background: #1F2A2E; color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.mock--good .g-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock--good .g-strip i { height: 54px; border-radius: 8px; display: block; background: #E3DED5; }
.mock--good .g-strip i:nth-child(2) { background: #CFE0DC; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--white); transform: translateX(-1px); pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.compare__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23152436' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center/22px no-repeat; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__labels { position: absolute; inset: auto 14px 14px; display: flex; justify-content: space-between; pointer-events: none; }
.compare__labels span { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(21,36,54,.85); color: #fff; }
.compare-note { margin-top: 12px; font-size: .88rem; color: var(--muted-dark); }
.losses li { padding: 20px 0; border-top: 1px solid var(--line-dark); }
.losses li:last-child { border-bottom: 1px solid var(--line-dark); }
.losses strong { display: block; font-size: 1.1rem; font-weight: 600; color: var(--white); }
.losses span { display: block; margin-top: 4px; color: var(--muted-dark); }
.source { margin-top: 28px; font-size: .82rem; color: #7F90A5; max-width: 70ch; }

/* planos */
.plans { border-top: 1px solid var(--line); }
.plan { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 16px 36px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; scroll-margin-top: 100px; }
.plan__name h3 { font-size: 1.6rem; letter-spacing: -.02em; }
.plan__name p { margin-top: 6px; color: var(--muted); font-size: .97rem; }
.plan__badge { display: inline-block; margin-top: 12px; font-size: .82rem; font-weight: 600; color: var(--blue); background: #E6EEFB; padding: 4px 10px; border-radius: 999px; }
.plan__body > p { font-size: 1.08rem; }
.plan__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.plan__chips li { font-size: .9rem; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.plan details { margin-top: 16px; }
.plan summary { cursor: pointer; font-weight: 600; color: var(--blue); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.plan summary::-webkit-details-marker { display: none; }
.plan summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .25s var(--ease); }
.plan details[open] summary::before { transform: rotate(45deg) translate(-2px, -2px); }
.plan__full { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; margin-top: 16px; padding: 20px 22px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.plan__full li { position: relative; padding-left: 22px; font-size: .97rem; }
.plan__full li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.plan__full .plan__goal { grid-column: 1 / -1; margin-top: 8px; padding: 12px 0 0 0; border-top: 1px dashed var(--line); color: var(--muted); }
.plan__full .plan__goal::before { display: none; }
.plan__cta { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 200px; }
.plan--rec { position: relative; background: linear-gradient(90deg, rgba(24,73,190,.06), transparent 70%); margin-inline: -24px; padding-inline: 24px; border-radius: var(--r-md); border-bottom-color: transparent; box-shadow: inset 3px 0 0 var(--blue); }

/* plano x avulso */
.vs { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.vs__col { padding: clamp(26px, 4vw, 44px); }
.vs__col h3 { font-size: var(--t-lg); }
.vs__col > p { margin-top: 8px; color: var(--muted); }
.vs__col ul { margin-top: 22px; }
.vs__col li { padding: 12px 0 12px 30px; position: relative; border-top: 1px solid var(--line); }
.vs__col--one { background: var(--white); }
.vs__col--one li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 2px; background: #9AAEC4; }
.vs__col--plan { background: var(--ink); color: var(--white); }
.vs__col--plan > p { color: var(--muted-dark); }
.vs__col--plan li { border-color: var(--line-dark); }
.vs__col--plan li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--teal-l); border-bottom: 2px solid var(--teal-l); transform: rotate(-45deg); }
.vs__col--plan .btn { margin-top: 26px; }
.vs-line { margin-top: 34px; font-family: var(--font-display); font-size: var(--t-xl); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; max-width: 26ch; }

/* avulsos */
.singles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
.single { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.single strong { display: block; font-weight: 600; }
.single span { display: block; color: var(--muted); font-size: .92rem; margin-top: 2px; }
.single .link { flex: none; font-size: .95rem; }

/* método */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--line-dark); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -17px; left: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 700; font-size: .95rem; display: grid; place-items: center; }
.step h3 { font-size: 1.25rem; }
.step p { margin-top: 8px; color: var(--muted-dark); font-size: .98rem; }

/* faq */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font-weight: 600; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--ink), var(--ink)) center/14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* contato */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact__aside p { margin-top: 18px; color: var(--muted-dark); }
.ig-card { margin-top: 32px; display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r-md); border: 1px solid var(--line-dark); text-decoration: none; transition: border-color .2s, background-color .2s; }
.ig-card:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }
.ig-card img { width: 56px; height: 56px; border-radius: 50%; }
.ig-card strong { display: block; color: var(--white); }
.ig-card span { color: var(--muted-dark); font-size: .92rem; }
.form { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); }
.field + .field { margin-top: 18px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 7px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); padding: 13px 14px; border: 1.5px solid #C5D2DF; border-radius: var(--r-sm); background: var(--paper-2); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(24, 73, 190, .14); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field--row > .field { margin-top: 0; }
.field--row + .field { margin-top: 18px; }
.field--row > div label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 7px; }
.form .btn { width: 100%; margin-top: 24px; }
.form__help { margin-top: 12px; font-size: .88rem; color: var(--muted); }
.form__ok { display: none; margin-top: 16px; padding: 14px 16px; border-radius: var(--r-md); background: #E7F7F2; color: #0B4F48; font-size: .95rem; }
.form__ok.show { display: block; }
.form__ok a { font-weight: 600; }
.field .err { display: none; color: #B42318; font-size: .88rem; margin-top: 6px; }
.field.invalid input { border-color: #D92D20; }
.field.invalid .err { display: block; }

/* ================================================================
   Responsivo
   ================================================================ */
@media (max-width: 1080px) {
  .caps ul { grid-template-columns: repeat(3, 1fr); }
  .caps li:nth-child(4) { border-left: 0; }
  .caps li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .singles { grid-template-columns: repeat(2, 1fr); }
  .plan { grid-template-columns: 1fr; }
  .plan__cta { flex-direction: row; flex-wrap: wrap; min-width: 0; }
}
@media (max-width: 920px) {
  .nav { display: none; position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gut) 24px; background: rgba(15, 28, 44, .97); backdrop-filter: blur(14px); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--blue-l); padding-left: 14px; }
  .nav .btn { margin: 16px 0 0; }
  .menu-btn { display: block; }
  .hero__in, .dhero__in, .duo, .pains, .visual, .contact, .cta-band { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero__in { padding-block: 40px 64px; }
  .tower { max-width: 460px; }
  .tag { display: none; }
  .tower__legend { display: grid; gap: 10px; margin-top: 8px; }
  .tower__legend a { display: flex; gap: 12px; align-items: center; text-decoration: none; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line-dark); }
  .tower__legend i { width: 12px; height: 12px; border-radius: 3px; transform: rotate(45deg); flex: none; }
  .tower__legend span { color: var(--muted-dark); font-size: .92rem; }
  .verdict { position: static; }
  .reasons { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .stack { height: 400px; }
  .plan--rec { margin-inline: -12px; padding-inline: 12px; }
}
@media (max-width: 620px) {
  .co__list, .plan__full, .field--row, .vs { grid-template-columns: 1fr; }
  .singles { grid-template-columns: 1fr; }
  .caps ul { grid-template-columns: 1fr 1fr; }
  .caps li { border-left: 0 !important; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .stack { height: 330px; }
  .stack__scene { width: 260px; height: 190px; }
  .layer--2 { transform: translateZ(64px); } .layer--3 { transform: translateZ(128px); }
  .chart { height: 90px; } .l1-type { font-size: 24px; } .sw i { width: 30px; height: 30px; }
  .stack__tags { display: none; }
  .hero__ctas .btn { width: 100%; }
  .header__logo { width: 136px; }
  .footer__top { grid-template-columns: 1fr; }
  .compare { aspect-ratio: 3 / 3.6; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
