/* NEXCON Consórcios: site institucional.
   Segue o manual de marca: base clara + azul profundo, vermelho só na ação,
   Montserrat, e o ângulo do X (≈37°) como único gesto gráfico. */

:root {
  --red: #D40426;
  --red-dark: #B0031F;
  --navy: #142D4E;
  --navy-2: #1B3A63;
  --blue: #4278A6;
  --ink: #17191D;
  --gray: #ABB5BE;
  --paper: #F5F7FA;
  --white: #FFFFFF;
  --line: #DCE2E8;
  --muted: #5B6672;
  --soft: #C5CED8;

  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 56px);
  --top-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; text-wrap: balance; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sr { 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(--red); color: #fff; padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border: 2px solid transparent; border-radius: 2px;
  font-weight: 700; font-size: 15px; letter-spacing: .01em; text-decoration: none;
  cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-text { background: none; padding-inline: 4px; color: var(--muted); }
.btn-text:hover { color: var(--ink); }
.btn:active { transform: translateY(1px); }

/* seta desenhada no ângulo da marca */
.arw { width: 14px; height: 10px; position: relative; display: inline-block; flex: none; transition: transform .25s var(--ease); }
.arw::before { content: ""; position: absolute; left: 0; right: 2px; top: 4px; height: 2px; background: currentColor; }
.arw::after { content: ""; position: absolute; right: 1px; top: 1px; width: 7px; height: 7px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.arw-l { transform: scaleX(-1); }
.btn:hover .arw:not(.arw-l), .card-link:hover .arw { transform: translateX(4px); }

/* ---------- Topo ---------- */
/* transparente sobre a abertura; ganha fundo ao rolar */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50; background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.top.scrolled { background: rgba(20,45,78,.97); border-bottom-color: rgba(255,255,255,.08); box-shadow: 0 10px 30px rgba(6,16,30,.28); }
.top-in { height: var(--top-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.top-logo img { width: 168px; height: auto; }
.top-nav { display: flex; align-items: center; gap: 36px; }
.top-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.top-nav ul a { color: var(--soft); text-decoration: none; font-size: 14px; font-weight: 600; position: relative; padding-block: 6px; transition: color .2s; }
.top-nav ul a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red); transition: right .25s var(--ease); }
.top-nav ul a:hover, .top-nav ul a.on { color: #fff; }
.top-nav ul a:hover::after, .top-nav ul a.on::after { right: 0; }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(37deg); background: var(--red); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-37deg); }
.scroll-bar { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); z-index: 60; pointer-events: none; }

/* ---------- Abertura ---------- */
.hero {
  position: relative; overflow: hidden; overflow: clip; color: #fff; isolation: isolate;
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(120% 90% at 78% 45%, #1E4570 0%, var(--navy) 42%, #0D1F37 100%);
  padding-block: calc(var(--top-h) + clamp(40px, 7vw, 96px)) 0;
}
.hero-dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-x {
  position: absolute; z-index: -1; top: 50%; right: -9vw;
  width: min(60vw, 860px); height: auto; transform: translateY(-54%); overflow: visible; pointer-events: none; will-change: transform;
}
.beam { stroke-dasharray: 900; stroke-dashoffset: 900; animation: beam 1.1s cubic-bezier(.6,.05,.3,1) forwards; }
.b1 { animation-delay: .15s; } .b2 { animation-delay: .3s; } .b3 { animation-delay: .22s; } .b4 { animation-delay: .38s; }
@keyframes beam { to { stroke-dashoffset: 0; } }
.beams { animation: beamsDim 1.6s ease 1.5s forwards; }
@keyframes beamsDim { to { opacity: .35; } }
.x-red, .x-blue { transform-box: fill-box; opacity: 0; }
.x-red { transform-origin: 100% 50%; animation: xRed .9s cubic-bezier(.2,.9,.2,1.15) 1.05s forwards; }
.x-b1 { transform-origin: 0% 100%; animation: xBlue .9s cubic-bezier(.2,.9,.2,1.15) 1.2s forwards; }
.x-b2 { transform-origin: 0% 0%; animation: xBlue2 .9s cubic-bezier(.2,.9,.2,1.15) 1.2s forwards; }
@keyframes xRed { from { opacity: 0; transform: translateX(-90px); } to { opacity: 1; transform: none; } }
@keyframes xBlue { from { opacity: 0; transform: translate(70px, -52px); } to { opacity: 1; transform: none; } }
@keyframes xBlue2 { from { opacity: 0; transform: translate(70px, 52px); } to { opacity: 1; transform: none; } }
.x-glow { opacity: 0; animation: glow 1.4s ease 1.6s forwards; }
@keyframes glow { to { opacity: 1; } }

.hero-in { position: relative; width: 100%; }
.hero-eyebrow { opacity: 0; animation: fadeUp .7s var(--ease) .2s forwards; }
.hero-h1 { font-size: inherit; font-weight: inherit; line-height: 1.6; text-wrap: wrap; }
.hero-title { display: block; text-wrap: balance; font-size: clamp(40px, 6.6vw, 84px); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; max-width: 12ch; margin-top: 22px; }
.hero-title .w { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(6px); animation: word .8s var(--ease) forwards; animation-delay: calc(.35s + var(--i, 0) * .07s); }
.hero-title .w:nth-child(n+5) { font-weight: 300; }
@keyframes word { to { opacity: 1; transform: none; filter: none; } }
.hero-lead { margin-top: 28px; font-size: clamp(16px, 1.5vw, 19px); color: var(--soft); max-width: 44ch; line-height: 1.65; opacity: 0; animation: fadeUp .8s var(--ease) 1s forwards; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; opacity: 0; animation: fadeUp .8s var(--ease) 1.15s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; transform: translateX(-120%) skewX(-37deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  animation: shine 4.5s ease-in-out 3s 3; will-change: transform;
}
@keyframes shine { 0%, 70% { transform: translateX(-120%) skewX(-37deg); } 100% { transform: translateX(160%) skewX(-37deg); } }

.hero-facts-wrap { width: 100%; margin-top: auto; padding-top: clamp(56px, 8vw, 96px); }
.hero-facts {
  list-style: none; margin: 0; padding: 26px 0 30px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
  opacity: 0; animation: fadeUp .8s var(--ease) 1.4s forwards;
}
.hero-facts li { display: grid; gap: 4px; padding-left: 16px; border-left: 2px solid var(--blue); }
.hero-facts li:first-child { border-left-color: var(--red); }
.hero-facts strong { font-size: 15px; font-weight: 700; }
.hero-facts span { font-size: 13.5px; color: var(--soft); line-height: 1.5; }

/* ---------- Seções ---------- */
.sec { padding-block: clamp(72px, 10vw, 128px); }
.sec-white { background: var(--white); }
.sec-navy { background: var(--navy); color: #fff; }
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); transform: skewX(-37deg); flex: none; }
.eyebrow-light { color: var(--gray); }
.sec-head { display: grid; gap: 18px; max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.sec-head h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; letter-spacing: -.015em; }
.sec-head p { color: var(--muted); font-size: 17px; max-width: 60ch; }
.sec-head p a { color: var(--red); font-weight: 600; }

/* ---------- Soluções ---------- */
.sol-tabs { position: relative; display: inline-flex; gap: 4px; padding: 5px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; max-width: 100%; }
.sol-tab {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 22px;
  border: 0; background: none; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 15px; color: var(--muted); transition: color .3s;
}
.sol-tab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sol-tab[aria-selected="true"] { color: #fff; }
.sol-tab:not([aria-selected="true"]):hover { color: var(--ink); }
.sol-ind { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--navy); transition: transform .45s cubic-bezier(.3,1.3,.5,1), width .45s cubic-bezier(.3,1.3,.5,1); }

.sol-stage { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 88px); align-items: center; margin-top: clamp(36px, 5vw, 56px); }
.ilus {
  position: relative; margin: 0; overflow: hidden; border-radius: 20px; color: #fff;
  max-width: 580px; padding: clamp(24px, 3.4vw, 40px);
  display: grid; gap: clamp(12px, 2vw, 20px);
  background:
    radial-gradient(circle at 1.5px 1.5px, rgba(171,181,190,.16) 1.4px, transparent 0) 0 0 / 22px 22px,
    radial-gradient(110% 90% at 75% 30%, #1E4570 0%, var(--navy) 55%, #0D1F37 100%);
  box-shadow: 0 40px 80px -36px rgba(20,45,78,.55);
}
.ilus-pre { position: relative; font-size: 15px; font-weight: 500; color: var(--soft); }
.ilus-art { display: none; width: 100%; height: clamp(170px, 24vw, 290px); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ilus-art .acc { stroke: var(--red); stroke-width: 4; }
.ilus[data-tipo="imovel"] .art-imovel, .ilus[data-tipo="veiculo"] .art-veiculo, .ilus[data-tipo="investimento"] .art-investimento { display: block; }
.js .ilus-art > * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ilus.draw .ilus-art > * { animation: traco 1s cubic-bezier(.6,.1,.3,1) forwards; }
.ilus.draw .ilus-art > *:nth-child(2) { animation-delay: .12s; }
.ilus.draw .ilus-art > *:nth-child(3) { animation-delay: .24s; }
.ilus.draw .ilus-art > *:nth-child(4) { animation-delay: .36s; }
.ilus.draw .ilus-art > *:nth-child(5) { animation-delay: .48s; }
.ilus.draw .ilus-art > *:nth-child(6) { animation-delay: .6s; }
.ilus.draw .ilus-art > *:nth-child(7) { animation-delay: .72s; }
.ilus.draw .ilus-art > *:nth-child(8) { animation-delay: .84s; }
@keyframes traco { to { stroke-dashoffset: 0; } }
.ilus-tipo { position: relative; font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.ilus.draw .ilus-tipo { animation: panelIn .6s var(--ease) .3s both; }

.sol-panel { display: grid; gap: 18px; justify-items: start; }
.sol-panel:not([hidden]) { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sol-panel h3 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 700; letter-spacing: -.015em; }
.sol-panel > p { color: var(--muted); font-size: 16.5px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15.5px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: baseline; }
.ticks li::before { content: ""; width: 12px; height: 3px; background: var(--red); transform: translateY(-4px) skewX(-37deg); }
.sol-panel .btn { margin-top: 10px; }

/* ---------- Como funciona ---------- */
.how { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.how .sec-head { margin-bottom: 0; position: sticky; top: calc(var(--top-h) + 40px); }
.tl { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: clamp(28px, 4vw, 44px); }
.tl-track { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line); }
.tl-fill { position: absolute; inset: 0; background: linear-gradient(var(--navy), var(--red)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.tl-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: start; }
.tl-dot {
  width: 56px; height: 56px; display: grid; place-items: center; font-size: 20px; font-weight: 700;
  background: var(--white); color: var(--gray); border: 2px solid var(--line); position: relative; z-index: 1;
  transition: background .4s, color .4s, border-color .4s, transform .4s cubic-bezier(.3,1.5,.5,1);
}
.tl-step h3 { font-size: 20px; font-weight: 700; margin: 6px 0 4px; color: var(--muted); transition: color .4s; }
.tl-step p { color: var(--muted); font-size: 15.5px; opacity: .6; transition: opacity .4s; }
.tl-step.on .tl-dot { background: var(--navy); border-color: var(--navy); color: #fff; transform: scale(1.06); }
.tl-step.tl-last.on .tl-dot { background: var(--red); border-color: var(--red); }
.tl-step.on h3 { color: var(--ink); }
.tl-step.on p { opacity: 1; }
.no-js .tl-step .tl-dot { background: var(--navy); color: #fff; }


/* ---------- Monte seu plano ---------- */
/* as faixas ficam numa camada própria: a seção não recorta nada, então nunca rola por dentro ao focar um campo */
.plan-sec { position: relative; isolation: isolate; }
.plan-deco { position: absolute; inset: 0; z-index: -1; overflow: hidden; overflow: clip; pointer-events: none; }
.plan-deco::before {
  content: ""; position: absolute; width: 140%; height: 18px; left: -20%; bottom: 14%;
  background: var(--red); transform: rotate(-37deg) translateX(-42%); opacity: .9;
}
.plan-deco::after {
  content: ""; position: absolute; width: 140%; height: 7px; left: -20%; bottom: 8%;
  background: var(--blue); transform: rotate(-37deg) translateX(-40%); opacity: .7;
}
.plan { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.plan-intro { display: grid; gap: 20px; position: sticky; top: calc(var(--top-h) + 40px); }
.plan-intro h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -.015em; }
.plan-intro > p { color: var(--soft); font-size: 17px; }
.assure { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 14px; font-weight: 600; font-size: 15px; }
.assure li { display: flex; align-items: center; gap: 14px; }
.assure i { width: 22px; height: 22px; border: 2px solid var(--blue); position: relative; flex: none; }
.assure i::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(40deg); }

.plan-card { background: var(--white); color: var(--ink); padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); min-height: 520px; }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.progress span { height: 4px; background: var(--line); transition: background .3s; }
.progress span.on { background: var(--red); }
.step-count { margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step.is-on { animation: stepIn .35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.step legend { font-size: clamp(22px, 2.6vw, 27px); font-weight: 700; padding: 0; margin: 8px 0 24px; letter-spacing: -.01em; }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input, .chip input { position: absolute; top: 50%; left: 50%; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.choice span {
  display: grid; gap: 2px; padding: 18px 18px 18px 50px; border: 1.5px solid var(--line); min-height: 84px; align-content: center;
  transition: border-color .2s, background .2s;
}
.choice span::before {
  content: ""; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  border: 2px solid var(--gray); border-radius: 50%; transition: border-color .2s, box-shadow .2s;
}
.choice b { font-size: 16px; }
.choice small { font-size: 13px; color: var(--muted); }
.choice:hover span { border-color: var(--gray); }
.choice input:checked + span { border-color: var(--navy); background: var(--paper); }
.choice input:checked + span::before { border-color: var(--red); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--red); }
.choice input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.detail { margin-top: 26px; }
.lbl, .field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.lbl em, .field label em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 12.5px; margin-left: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 500; transition: border-color .2s, background .2s, color .2s;
}
.chip:hover span { border-color: var(--gray); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field input:not([type="radio"]):not([type="checkbox"]) {
  width: 100%; height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 2px; background: #fff;
  font: inherit; font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #9AA4AE; }
.field input:hover { border-color: var(--gray); }
.field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(66,120,166,.18); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.hint { font-size: 13px; color: var(--muted); margin-top: 8px; }
.err { display: none; font-size: 13px; font-weight: 600; color: var(--red); margin-top: 8px; }
.err.on { display: block; }
.err-envio { margin-top: 14px; }
.err-envio a { color: inherit; }

.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--muted); cursor: pointer; margin-top: 6px; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); }
.consent a { color: var(--navy); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-nav [data-next], .form-nav [data-submit] { margin-left: auto; }
.form-nav .btn[disabled] { opacity: .6; cursor: progress; }

.done { text-align: left; display: grid; gap: 16px; animation: stepIn .4s var(--ease); }
.done:focus { outline: none; }
.done-x { width: 64px; height: auto; margin-bottom: 8px; }
.done h3 { font-size: clamp(24px, 3vw, 30px); font-weight: 700; }
.done > p { color: var(--muted); }
.resumo { margin: 8px 0 0; padding: 18px 20px; background: var(--paper); border-left: 3px solid var(--red); display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 14px; }
.resumo dt { color: var(--muted); }
.resumo dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.done-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 10px; }

/* ---------- Por que a NEXCON ---------- */
.why { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.why .sec-head { margin-bottom: 0; }
.why .sec-head em { font-style: italic; color: var(--ink); font-weight: 600; }
.pillars { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pillars li { display: grid; grid-template-columns: 30px 1fr; gap: 18px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.pil { width: 18px; height: 18px; margin-top: 4px; transform: skewX(-37deg); }
.pil-red { background: var(--red); }
.pil-blue { background: var(--blue); }
.pil-navy { background: var(--navy); }
.pillars h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.pillars p { color: var(--muted); font-size: 15.5px; }

.stats { margin: clamp(56px, 8vw, 96px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--navy); color: #fff; }
.stats div { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column-reverse; gap: 6px; border-left: 1px solid rgba(255,255,255,.1); }
.stats div:first-child { border-left: 0; }
.stats dd { margin: 0; white-space: nowrap; font-size: clamp(28px, 3.1vw, 42px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.stats div:first-child { box-shadow: inset 0 4px 0 var(--red); }
.stats dd .suf { font-size: .5em; font-weight: 700; letter-spacing: 0; }
.stats dt { font-size: 13.5px; color: var(--soft); }

/* ---------- Dúvidas ---------- */
.sec-head-center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head-center .eyebrow { justify-content: center; }
.faq-tabs-wrap { display: flex; justify-content: center; margin-bottom: clamp(28px, 4vw, 44px); }
.faq-tabs { background: var(--paper); }
.faq { max-width: 880px; margin-inline: auto; }
.faq-panel { border-top: 1px solid var(--line); }
.faq-panel:not([hidden]) { animation: panelIn .45s var(--ease); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-size: 17px; font-weight: 700; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--navy); transition: transform .3s var(--ease), background .2s;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details[open] summary::before { background: var(--red); }
.faq summary:hover { color: var(--navy); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); font-size: 15.5px; }
.faq details[open] p { animation: panelIn .35s var(--ease); }

/* ---------- Trabalhe conosco (chamada) ---------- */
.final { background: var(--white); padding-block: 0 clamp(64px, 9vw, 112px); }
.join {
  position: relative; overflow: hidden; border-radius: 20px; color: #fff;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(24px, 3vw, 32px);
  padding: clamp(44px, 6vw, 80px) clamp(24px, 5vw, 64px);
  background:
    radial-gradient(circle at 1.5px 1.5px, rgba(171,181,190,.14) 1.4px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(115deg, #10243F 0%, var(--navy) 50%, #1E4570 100%);
  box-shadow: 0 30px 60px -30px rgba(20,45,78,.5);
}
.join::before, .join::after { content: ""; position: absolute; height: 14px; width: 60%; right: -20%; bottom: 18%; transform: rotate(-37deg); background: var(--red); opacity: .9; pointer-events: none; }
.join::after { height: 6px; bottom: 8%; right: -24%; background: var(--blue); opacity: .8; }
.join-txt { position: relative; display: grid; gap: 14px; justify-items: center; max-width: 720px; }
.join h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; letter-spacing: -.015em; max-width: 20ch; }
.join p { color: var(--soft); font-size: 17px; max-width: 52ch; }
.join .btn { position: relative; }

/* ---------- Página Trabalhe conosco ---------- */
.back { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; color: #fff; text-decoration: none; font-size: 14px; }
.vagas-hero {
  color: #fff; padding-block: calc(var(--top-h) + clamp(48px, 7vw, 88px)) clamp(48px, 7vw, 80px);
  background:
    radial-gradient(circle at 1.5px 1.5px, rgba(171,181,190,.13) 1.4px, transparent 0) 0 0 / 24px 24px,
    radial-gradient(120% 90% at 80% 30%, #1E4570 0%, var(--navy) 45%, #0D1F37 100%);
}
.vagas-hero h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; margin-top: 20px; max-width: 14ch; }
.vagas-lead { margin-top: 22px; color: var(--soft); font-size: clamp(16px, 1.5vw, 18px); max-width: 56ch; }
.vagas-why { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.vagas-why li { display: grid; gap: 4px; padding-left: 16px; border-left: 2px solid var(--blue); }
.vagas-why li:first-child { border-left-color: var(--red); }
.vagas-why strong { font-size: 15px; }
.vagas-why span { font-size: 14px; color: var(--soft); line-height: 1.5; }
.vagas-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.vagas-side { display: grid; gap: 14px; position: sticky; top: calc(var(--top-h) + 40px); }
.vagas-side h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; letter-spacing: -.015em; }
.vagas-side p { color: var(--muted); }
.vagas-card { min-height: 0; box-shadow: 0 30px 60px -30px rgba(20,45,78,.35); border: 1px solid var(--line); }
.field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 2px; background: #fff; resize: vertical;
  font: inherit; font-size: 16px; color: var(--ink); line-height: 1.5; transition: border-color .2s, box-shadow .2s;
}
.field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(66,120,166,.18); }
.file { position: relative; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; cursor: pointer; }
.file input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.file-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--navy); color: var(--navy); font-weight: 700; font-size: 14px; border-radius: 2px; transition: background .2s, color .2s; }
.file:hover .file-btn { background: var(--navy); color: #fff; }
.file input:focus-visible + .file-btn { outline: 2px solid var(--red); outline-offset: 2px; }
.file-nome { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.vagas-card .form-nav .btn { margin-left: 0; }
.vaga-fixa { display: grid; gap: 4px; padding: 18px 20px; margin-bottom: 26px; background: var(--paper); border-left: 3px solid var(--red); }
.vaga-tag { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.vaga-fixa strong { font-size: 18px; }
.vaga-fixa small { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) {
  .vagas-why { grid-template-columns: 1fr; gap: 18px; }
  .vagas-grid { grid-template-columns: 1fr; }
  .vagas-side { position: static; }
}
@media (max-width: 560px) {
  .vagas-card .form-nav .btn { width: 100%; }
}

/* ---------- Página do consultor (consultor.html) ---------- */
.cons-hero, .cons-aviso {
  color: #fff; padding-block: calc(var(--top-h) + clamp(40px, 6vw, 80px)) clamp(48px, 7vw, 88px);
  background:
    radial-gradient(circle at 1.5px 1.5px, rgba(171,181,190,.13) 1.4px, transparent 0) 0 0 / 24px 24px,
    radial-gradient(120% 90% at 80% 30%, #1E4570 0%, var(--navy) 45%, #0D1F37 100%);
  overflow: hidden;
}
.cons-hero-in { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.cons-foto { position: relative; width: 100%; max-width: 300px; aspect-ratio: 1; isolation: isolate; }
/* o X da marca (≈37°) atrás da foto: um traço vermelho e um azul */
.cons-foto::before, .cons-foto::after { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 14px; height: 128%; border-radius: 2px; }
.cons-foto::before { background: var(--red); transform: translate(-50%, -50%) rotate(37deg); }
.cons-foto::after { background: var(--blue); transform: translate(-50%, -50%) rotate(-37deg); opacity: .85; }
.cons-foto img, .cons-iniciais {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  border: 6px solid rgba(255,255,255,.14); box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
}
.cons-iniciais { display: flex; align-items: center; justify-content: center; background: var(--navy-2); font-size: clamp(56px, 8vw, 88px); font-weight: 700; letter-spacing: .02em; color: #fff; }
.cons-skel { border-radius: 50%; background: rgba(255,255,255,.08); animation: consPulso 1.4s ease-in-out infinite alternate; }
.cons-skel::before, .cons-skel::after { display: none; }
@keyframes consPulso { to { opacity: .45; } }
.cons-carregando { margin-top: 20px; color: var(--soft); font-weight: 600; }
.cons-info h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; margin-top: 18px; }
.cons-cargo { margin-top: 10px; font-size: clamp(16px, 1.6vw, 19px); font-weight: 600; color: var(--soft); }
.cons-apres { margin-top: 22px; color: #E3E8EE; font-size: clamp(15.5px, 1.4vw, 17px); max-width: 60ch; white-space: pre-line; overflow-wrap: anywhere; }
.cons-selos { list-style: none; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 18px 36px; }
.cons-selos li { display: flex; align-items: center; gap: 14px; }
.cons-selos img { width: 56px; height: 56px; flex: none; }
.cons-selos span { display: grid; font-size: 13.5px; color: var(--soft); line-height: 1.35; }
.cons-selos strong { color: #fff; font-size: 15px; }
.cons-x { width: 56px; height: 56px; flex: none; position: relative; border: 1.5px solid rgba(255,255,255,.2); border-radius: 50%; }
.cons-x::before, .cons-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3px; height: 26px; border-radius: 1px; }
.cons-x::before { background: var(--red); transform: translate(-50%, -50%) rotate(37deg); }
.cons-x::after { background: var(--blue); transform: translate(-50%, -50%) rotate(-37deg); }
.cons-cta { margin-top: 32px; }

.cons-confianca { background: var(--white); border-bottom: 1px solid var(--line); }
.cons-confianca-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px clamp(24px, 4vw, 56px); align-items: center; padding-block: 28px; }
.cons-parceiro img { width: 220px; height: auto; }
.cons-confianca p { color: var(--muted); font-size: 15px; max-width: 62ch; }
.cons-confianca strong { color: var(--ink); }
.cons-cnpj { font-size: 13px !important; white-space: nowrap; }
.cons-seguro { font-size: 14px; padding-left: 14px; border-left: 2px solid var(--blue); }

/* Escolha do tipo de cadastro (pessoa física / jurídica): dois cartões com ícone */
.tipo-cad { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tipo-op { position: relative; cursor: pointer; display: block; }
.tipo-op input { position: absolute; opacity: 0; pointer-events: none; }
.tipo-box {
  position: relative; display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px;
  border: 1.5px solid var(--line); border-radius: 2px; background: #fff;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.tipo-op:hover .tipo-box { border-color: var(--gray); }
.tipo-ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--navy); transition: background .2s, color .2s; }
.tipo-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tipo-txt { display: grid; gap: 2px; min-width: 0; }
.tipo-txt strong { font-size: 15px; line-height: 1.25; color: var(--ink); }
.tipo-txt small { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
/* marcado: borda azul profunda, ícone preenchido e o traço do X da marca no canto */
.tipo-op input:checked + .tipo-box { border-color: var(--navy); background: rgba(20,45,78,.035); box-shadow: inset 0 0 0 1px var(--navy); }
.tipo-op input:checked + .tipo-box .tipo-ico { background: var(--navy); color: #fff; }
.tipo-op input:checked + .tipo-box::after { content: ""; position: absolute; top: 10px; right: 12px; width: 14px; height: 3px; background: var(--red); transform: skewX(-37deg); }
.tipo-op input:focus-visible + .tipo-box { outline: 2px solid var(--red); outline-offset: 2px; }
@media (max-width: 420px) {
  .tipo-box { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 12px; }
  .tipo-txt strong { font-size: 13.5px; white-space: nowrap; }
  .tipo-txt small { font-size: 12px; }
}
.ficha-tipo { border: 0; margin: 0; padding: 0; min-width: 0; }
.ficha-bloco.ficha-pagamento { margin-top: 10px; padding-top: 26px; border-top: 1px solid var(--line); }

/* Cartão de crédito da 1ª parcela: cartão desenhado que se preenche enquanto a pessoa digita */
.cartao-area { margin-top: 4px; }
.ficha-cartao { border: 0; margin: 0; padding: 0; min-width: 0; }
.cartao-pj { margin: 0 0 14px; }
.cartao-seguro { margin-top: 4px; }
.cc { width: 100%; max-width: 340px; aspect-ratio: 1.586; margin: 4px 0 24px; perspective: 1200px; }
.cc-in { position: relative; width: 100%; height: 100%; transition: transform .6s var(--ease); transform-style: preserve-3d; }
.cc.virado .cc-in { transform: rotateY(180deg); }
.cc-face {
  position: absolute; inset: 0; border-radius: 14px; padding: 18px 20px; color: #fff; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: linear-gradient(135deg, var(--cc1, #1B3A63) 0%, var(--cc2, #0D1F37) 100%);
  box-shadow: 0 18px 40px -16px rgba(13,31,55,.55);
}
/* o X da marca (≈37°), discreto, no fundo do cartão */
.cc-face::before { content: ""; position: absolute; right: -40px; top: -30%; width: 46px; height: 160%; background: rgba(255,255,255,.07); transform: rotate(37deg); }
.cc-frente { display: flex; flex-direction: column; justify-content: space-between; }
.cc-topo { display: flex; align-items: center; justify-content: space-between; }
.cc-chip { width: 40px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #E9D9A6, #B89B52); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.cc-band { min-height: 26px; display: flex; align-items: center; font-weight: 800; font-size: 20px; letter-spacing: .02em; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.cc-band .b-visa { font-style: italic; font-size: 24px; letter-spacing: .04em; }
.cc-band .b-master { display: inline-flex; }
.cc-band .b-master i { width: 26px; height: 26px; border-radius: 50%; display: block; }
.cc-band .b-master i:first-child { background: #EB001B; }
.cc-band .b-master i:last-child { background: #F79E1B; margin-left: -10px; mix-blend-mode: screen; opacity: .95; }
.cc-band .b-elo { font-size: 22px; text-transform: lowercase; }
.cc-band .b-amex { font-size: 14px; padding: 3px 6px; border: 1.5px solid #fff; border-radius: 3px; letter-spacing: .12em; }
.cc-band .b-hiper { font-size: 15px; font-style: italic; }
.cc-band .b-diners { font-size: 14px; }
.cc-num { font-size: clamp(17px, 4.6vw, 21px); letter-spacing: .12em; font-variant-numeric: tabular-nums; white-space: nowrap; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.cc-rodape { display: flex; justify-content: space-between; gap: 12px; align-items: flex-end; }
.cc-rodape small, .cc-verso small { display: block; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.cc-rodape span { display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.cc-nome { min-width: 0; }
.cc-nome span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-verso { transform: rotateY(180deg); padding: 22px 0 0; }
.cc-tarja { height: 42px; background: #0b0f16; }
.cc-ass { margin: 16px 20px 6px; height: 34px; background: repeating-linear-gradient(90deg, #f3f3f3 0 8px, #e7e7e7 8px 16px); display: flex; align-items: center; justify-content: flex-end; padding-right: 12px; }
.cc-ass span { color: #17191D; font-weight: 700; font-style: italic; letter-spacing: .14em; }
.cc-verso small { padding: 0 20px; text-align: right; }
/* cores por bandeira */
.cc[data-bandeira="Visa"] { --cc1: #1A3D8F; --cc2: #0B1D4F; }
.cc[data-bandeira="Mastercard"] { --cc1: #2B2B30; --cc2: #0F0F12; }
.cc[data-bandeira="Elo"] { --cc1: #2A2A2A; --cc2: #000; }
.cc[data-bandeira="Amex"] { --cc1: #1E7F9A; --cc2: #0C4A5C; }
.cc[data-bandeira="Hipercard"] { --cc1: #B3121E; --cc2: #6E0A12; }
.cc[data-bandeira="Diners"] { --cc1: #5A6672; --cc2: #2C333B; }
@media (prefers-reduced-motion: reduce) { .cc-in { transition: none; } }
.ficha-tipo > .ficha-bloco:first-child { margin-top: 10px; padding-top: 26px; border-top: 1px solid var(--line); }
.ficha-sub { margin: 6px 0 16px; font-size: 13px; font-weight: 700; color: var(--muted); }
.ficha-bloco { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
.ficha-bloco + .ficha-bloco { margin-top: 10px; padding-top: 26px; border-top: 1px solid var(--line); }
/* legend flutuando: a linha do bloco fica inteira acima do título, em vez de cortá-lo pelo meio */
.ficha-bloco legend { float: left; width: 100%; padding: 0; margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); }
.ficha-bloco legend + * { clear: both; }
.field select {
  width: 100%; height: 52px; padding: 0 40px 0 16px; border: 1.5px solid var(--line); border-radius: 2px; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23142D4E' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;
  appearance: none; -webkit-appearance: none; transition: border-color .2s, box-shadow .2s;
}
.field select:hover { border-color: var(--gray); }
.field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(66,120,166,.18); }
.field select[aria-invalid="true"] { border-color: var(--red); }
.field input[type="date"] { -webkit-appearance: none; appearance: none; }

.cons-aviso-in { max-width: 860px; }
.cons-aviso h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin-top: 20px; }
.cons-aviso-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cons-aviso-voltar { margin-top: 36px; }
.pg-consultor .cons-aviso { min-height: 70vh; }

@media (max-width: 860px) {
  .cons-hero-in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .cons-foto { max-width: 220px; }
  .cons-info .eyebrow { justify-content: center; }
  .cons-apres { margin-inline: auto; }
  /* selos um embaixo do outro, alinhados entre si e o bloco centralizado */
  .cons-selos { display: grid; justify-content: center; justify-items: start; text-align: left; }
  .cons-confianca-in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .cons-cnpj { white-space: normal; }
}
@media (max-width: 560px) {
  .cons-foto { max-width: 170px; }
  .cons-cta .btn, .cons-aviso-cta .btn { width: 100%; white-space: normal; }
  .cons-aviso-cta .btn-ghost { font-size: 14px; }
}

/* ---------- Rodapé ---------- */
.foot { background: var(--ink); color: var(--soft); padding-block: clamp(56px, 7vw, 88px) 32px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 2fr); gap: 40px; }
.foot-list li { overflow-wrap: anywhere; }
.foot-brand img { width: 200px; height: auto; }
.foot-brand p { margin-top: 20px; max-width: 28ch; }
.foot-h { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gray); margin-bottom: 18px; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-list a { text-decoration: none; transition: color .2s; }
.foot-list a:hover { color: #fff; }
.foot-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 8px; font-size: 12.5px; color: #8E98A3; }
.foot-legal p:nth-child(2) { max-width: 90ch; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px -6px rgba(0,0,0,.35); transition: transform .25s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); }

/* ---------- Pré-conversa do WhatsApp ---------- */
.btn-wa { background: #25D366; color: #0B3B1E; width: 100%; }
.btn-wa:hover { background: #1FBF5B; }
.wa-dlg {
  border: 0; padding: 0; margin: auto; width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  background: transparent; color: var(--ink); overflow: visible;
}
.wa-dlg::backdrop { background: rgba(10,22,40,.6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.wa-dlg[open] { animation: waIn .35s var(--ease); }
.wa-dlg[open]::backdrop { animation: waFade .3s ease; }
@keyframes waIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes waFade { from { opacity: 0; } to { opacity: 1; } }
.wa-box { display: flex; flex-direction: column; max-height: calc(100dvh - 32px); background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); }
.wa-head { position: relative; display: grid; grid-template-columns: 48px 1fr 36px; gap: 14px; align-items: start; padding: 22px 20px 20px 24px; background: var(--navy); color: #fff; }
.wa-ico { width: 48px; height: 48px; border-radius: 50%; background: #25D366; display: grid; place-items: center; color: #fff; }
.wa-ico svg { width: 26px; height: 26px; }
.wa-head h2 { font-size: 19px; font-weight: 700; }
.wa-head p { font-size: 14px; color: var(--soft); margin-top: 4px; line-height: 1.5; }
.wa-x { width: 36px; height: 36px; border: 0; background: none; cursor: pointer; position: relative; border-radius: 50%; }
.wa-x::before, .wa-x::after { content: ""; position: absolute; left: 9px; right: 9px; top: 17px; height: 2px; background: #fff; transform: rotate(45deg); }
.wa-x::after { transform: rotate(-45deg); }
.wa-x:hover { background: rgba(255,255,255,.1); }
.wa-body { padding: 24px 24px 4px; overflow-y: auto; overscroll-behavior: contain; }
.wa-body .field { margin-bottom: 20px; }
.wa-foot { padding: 16px 24px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.wa-direto {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; text-align: left; cursor: pointer;
  padding: 14px 18px; border: 1.5px solid #25D366; border-radius: 12px; background: #EEFBF3; color: var(--ink); font: inherit;
  transition: background .2s, transform .2s var(--ease);
}
.wa-direto span { display: grid; gap: 2px; }
.wa-direto b { font-size: 16px; }
.wa-direto small { font-size: 13.5px; color: var(--muted); }
.wa-direto .arw { color: #128C4A; }
.wa-direto:hover { background: #E1F8EA; }
.wa-direto:hover .arw { transform: translateX(4px); }
.wa-ou { display: flex; align-items: center; gap: 12px; margin: 20px 0 18px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.wa-ou::before, .wa-ou::after { content: ""; flex: 1; height: 1px; background: var(--line); }
body.wa-aberto { overflow: hidden; }
@media (max-width: 560px) {
  .wa-dlg { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; }
  .wa-box { border-radius: 18px 18px 0 0; max-height: 92dvh; }
  .wa-dlg[open] { animation: waUp .35s var(--ease); }
  @keyframes waUp { from { transform: translateY(100%); } to { transform: none; } }
  .wa-foot { padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Confirmação do plano: o X se monta ---------- */
.done-x .dx-r, .done-x .dx-b { transform-box: fill-box; }
.done:not([hidden]) .dx-r { animation: xRed .8s cubic-bezier(.2,.9,.2,1.2) .1s both; }
.done:not([hidden]) .dx-b { animation: xBlue .8s cubic-bezier(.2,.9,.2,1.2) .25s both; }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .sol-stage { grid-template-columns: 1fr; }
  .ilus { max-width: 520px; }
  .hero-x { width: 100vw; right: -38vw; opacity: .45; }
  .how, .plan, .why { grid-template-columns: 1fr; }
  .plan-intro, .how .sec-head { position: static; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .top-nav {
    position: fixed; inset: var(--top-h) 0 auto 0; background: var(--navy);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .top-nav.open { opacity: 1; transform: none; visibility: visible; }
  .top-nav ul { flex-direction: column; gap: 0; }
  .top-nav ul a { display: block; padding: 16px 0; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .top-nav ul a::after { display: none; }
  .top-nav .btn { margin-top: 20px; min-height: 52px; }
  .hero-facts { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 560px) {
  :root { --top-h: 60px; }
  .top-logo img { width: 140px; }
  .hero-cta .btn { width: 100%; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice span { min-height: 68px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .tl-step { grid-template-columns: 44px 1fr; gap: 16px; }
  .tl-dot { width: 44px; height: 44px; font-size: 17px; }
  .tl-track { left: 21px; top: 22px; bottom: 22px; }
  .sol-tabs { display: flex; width: 100%; }
  .sol-tab { flex: 1; justify-content: center; padding: 0 8px; font-size: 13.5px; gap: 6px; flex-direction: column; min-height: 64px; border-radius: 22px; }
  .sol-ind { border-radius: 22px; }
  .hero-x { width: 115vw; right: -45vw; top: 30%; opacity: .42; }
  .hero-title { max-width: 11ch; }
  .join .btn { width: 100%; }
  .faq-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 24px; }
  .faq-tabs .sol-tab { flex-direction: row; min-height: 46px; font-size: 14px; padding: 0 8px; border-radius: 20px; }
  .faq-tabs .sol-ind { border-radius: 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .plan-card { margin-inline: calc(var(--gutter) * -0.5); min-height: 0; }
  .resumo { grid-template-columns: 1fr; gap: 2px; }
  .resumo dd { margin-bottom: 8px; }
  .wa-float { width: 52px; height: 52px; }
  .stats dd { font-size: 28px; white-space: nowrap; }
  .foot { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .beam, .js .ilus-art > * { stroke-dashoffset: 0; }
  .hero-title .w, .hero-lead, .hero-cta, .hero-facts, .hero-eyebrow, .x-red, .x-blue, .x-glow { opacity: 1 !important; transform: none !important; filter: none !important; }
  .btn-shine::after { display: none; }
}
