/* Vetra Soluções Tecnológicas — site
   Azul-marinho e o azul do logo, seções claras e escuras se alternando, uma fonte só (Plus Jakarta Sans).
   O "V" da marca aparece grande e discreto na abertura e no contato. */

:root {
  --navy: #0b1a3a;
  --navy-2: #0b2a6b;
  --navy-3: #13285a;
  --blue: #1e6ff0;
  --blue-dark: #1557d1;
  --blue-soft: #e8f0fe;
  --sky: #8db4ff;
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --text: #101828;
  --text-2: #475467;
  --muted: #667085;
  --line: #e4e7ec;
  --on-dark: #c8d3ea;
  --on-dark-2: #9fb0d3;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --nav-h: 72px;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -12px rgba(16, 24, 40, .12);
  --shadow-lg: 0 2px 4px rgba(16, 24, 40, .04), 0 24px 48px -20px rgba(16, 24, 40, .22);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
[data-contact]:not(.on) { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.025em; line-height: 1.12; color: var(--navy); }
p { margin: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--blue); }
.label::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 8px; font: 600 16px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s; }
.btn .ic { width: 18px; height: 18px; transition: transform .15s; }
.btn:hover .ic { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .1), 0 6px 16px -8px rgba(30, 111, 240, .7); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); }
.btn-lg { height: 54px; padding: 0 26px; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn:disabled { opacity: .6; cursor: default; }

/* ---------- topo (transparente sobre a abertura, azul-marinho ao rolar) ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: transparent; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.nav.solid { background: rgba(9, 21, 48, .92); border-bottom-color: rgba(255, 255, 255, .08); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
@supports (backdrop-filter: blur(8px)) { .nav.solid { background: rgba(9, 21, 48, .9); backdrop-filter: saturate(160%) blur(14px); } }
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 600; }
.nav-links a:not(.btn) { color: var(--on-dark); text-decoration: none; position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: #fff; }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; background: rgba(255, 255, 255, .05); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform .2s, top .2s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.nav.menu-open { background: #0a1736; }
#conteudo > .hero:first-child { margin-top: calc(-1 * var(--nav-h)); }

/* ---------- abertura ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: calc(var(--nav-h) + clamp(28px, 7vh, 84px)) 0 56px;
  background: linear-gradient(155deg, var(--navy) 0%, #0c2050 55%, var(--navy-2) 100%); }
.hero-mark { position: absolute; left: -380px; top: 47%; width: 1080px; height: auto; transform: translateY(-50%); opacity: .16; pointer-events: none; user-select: none; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(56px, 8vw, 120px); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(38px, 4.4vw, 60px); margin-top: 0; max-width: 17ch; letter-spacing: -.03em; line-height: 1.08; }
.hero h1 .hl { color: var(--sky); }
.lead { margin-top: 24px; font-size: 19px; color: var(--on-dark); max-width: 52ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }

/* exemplo de proposta: painel de vidro escuro, com entrada animada */
.hero-doc { position: relative; margin: 0; }
.hero-doc::before { content: ''; position: absolute; inset: 12% -8% -10% 10%; background: radial-gradient(closest-side, rgba(30, 111, 240, .35), transparent); filter: blur(30px); z-index: -1; pointer-events: none; }
.sheet { position: relative; border-radius: 18px; padding: 22px 26px 18px; color: #fff;
  background: linear-gradient(160deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 40px 80px -30px rgba(0, 0, 0, .7);
  transition: transform .4s ease, box-shadow .4s ease; }
@supports (backdrop-filter: blur(8px)) { .sheet { backdrop-filter: blur(16px) saturate(140%); } }
.sheet:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 50px 90px -30px rgba(0, 0, 0, .8); }
.doc-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; }
.doc-head img { width: 40px; height: auto; }
.doc-head div { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.doc-head b { font-size: 16.5px; letter-spacing: -.01em; }
.doc-head span { font-size: 13.5px; color: var(--on-dark-2); }
.doc-head em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--sky); background: rgba(141, 180, 255, .12); border: 1px solid rgba(141, 180, 255, .25); padding: 3px 10px; border-radius: 999px; }
.doc-cols { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--on-dark-2); padding: 12px 0 4px; }
.doc-rows { list-style: none; margin: 0; padding: 0; }
.doc-rows li { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 8px 0 10px; font-size: 14.5px; color: var(--on-dark); border-top: 1px solid rgba(255, 255, 255, .07); }
.doc-rows b { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.doc-rows i { position: absolute; left: 0; bottom: 0; height: 2px; width: var(--w); border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--sky)); transform-origin: left; }
.doc-total { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; border-radius: 12px; background: rgba(5, 12, 30, .45); border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.doc-total div { display: flex; flex-direction: column; padding: 12px 16px; }
.doc-total div + div { border-left: 1px solid rgba(255, 255, 255, .08); }
.doc-total div > span { font-size: 12px; color: var(--on-dark-2); }
.doc-total b { font-size: 17px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.doc-total div:first-child { background: var(--blue); }
.doc-total div:first-child > span { color: #dbe7ff; }
.doc-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12.5px; color: var(--on-dark-2); }
.doc-foot .ic { width: 17px; height: 17px; color: var(--sky); }

/* entrada da abertura (só com JS ligado) */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.js .hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.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 .hero-doc { animation: rise .8s .2s cubic-bezier(.2, .7, .2, 1) both; }
.js .doc-rows li { animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.45s + var(--i) * .09s); }
.js .doc-rows i { animation: grow .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.6s + var(--i) * .09s); }
.js .doc-total, .js .doc-foot { animation: rise .6s 1s cubic-bezier(.2, .7, .2, 1) both; }

/* seletor de tipo de projeto (acima da proposta) */
.doc-switch { position: relative; display: flex; gap: 2px; padding: 4px; margin-bottom: 4px; border-radius: 12px; background: rgba(5, 12, 30, .35); border: 1px solid rgba(255, 255, 255, .1); }
.doc-switch button { position: relative; z-index: 1; flex: 1; font: 600 13.5px var(--font); color: var(--on-dark); background: none; border: 0; padding: 8px 10px; border-radius: 9px; cursor: pointer; transition: color .25s; white-space: nowrap; }
.doc-switch button:hover { color: #fff; }
.doc-switch button.on { color: #fff; }
.doc-switch-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 9px; background: var(--blue); box-shadow: 0 6px 16px -6px rgba(30, 111, 240, .8); transition: transform .4s cubic-bezier(.2, .7, .2, 1), width .4s cubic-bezier(.2, .7, .2, 1); }
.doc-rows.swap li { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * .06s); }
.doc-rows.swap i { animation: grow .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.1s + var(--i) * .06s); }
.doc-title-swap { animation: rise .4s cubic-bezier(.2, .7, .2, 1) both; display: inline-block; }

/* garantias no fim da abertura */
.assure { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .1); }
.assure li { display: flex; gap: 14px; align-items: flex-start; padding: 28px 24px 0 0; }
.assure li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .08); }
.as-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--sky); background: rgba(30, 111, 240, .16); border: 1px solid rgba(141, 180, 255, .18); transition: background .25s, color .25s, transform .25s; }
.as-ic .ic { width: 21px; height: 21px; }
.assure li:hover .as-ic { background: var(--blue); color: #fff; transform: translateY(-2px); }
.assure div { display: flex; flex-direction: column; gap: 2px; }
.assure b { font-size: 16px; color: #fff; }
.assure span:not(.as-ic) { font-size: 14px; color: var(--on-dark-2); line-height: 1.5; }
.js .assure li { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.js .assure li:nth-child(1) { animation-delay: .5s; }
.js .assure li:nth-child(2) { animation-delay: .58s; }
.js .assure li:nth-child(3) { animation-delay: .66s; }
.js .assure li:nth-child(4) { animation-delay: .74s; }

/* ---------- faixa de integrações ---------- */
.strip { background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.strip-in { display: flex; align-items: center; gap: 32px; padding-top: 24px; padding-bottom: 24px; }
.strip-label { flex: none; display: flex; flex-direction: column; font-size: 13px; font-weight: 600; color: var(--muted); padding-right: 32px; border-right: 1px solid var(--line); line-height: 1.4; }
.strip-label b { font-size: 15px; color: var(--navy); }
.marquee { position: relative; flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { list-style: none; margin: 0; padding: 0; display: flex; flex: none; }
.marquee li { display: flex; align-items: center; flex: none; height: 48px; padding: 0 30px; }
.marquee li img { display: block; width: auto; max-width: 150px; object-fit: contain; transition: transform .3s; }
.marquee li:hover img { transform: scale(1.08); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
.section { padding: 112px 0; }
.alt { background: var(--bg-alt); }
.sec-head { margin-bottom: 56px; max-width: 720px; }
.sec-head h2 { font-size: clamp(30px, 3.4vw, 44px); margin-top: 14px; }
.sec-text { margin-top: 18px; color: var(--text-2); font-size: 17.5px; max-width: 56ch; }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.sec-head-row .sec-text { margin-top: 0; max-width: 44ch; }

/* problemas */

.pains { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: stretch; }
.pains-list { display: flex; flex-direction: column; gap: 8px; }
.pain-tab { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; width: 100%; text-align: left; font: inherit; cursor: pointer;
  padding: 18px 22px 18px 20px; border-radius: 14px; border: 1px solid transparent; background: transparent; color: var(--text-2); transition: background .25s, border-color .25s, box-shadow .25s, color .25s; }
.pain-tab::before { content: ''; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--blue); transform: scaleY(0); transition: transform .3s; }
.pain-tab .n { font-weight: 700; font-size: 15px; color: #a9bbe0; line-height: 1.7; transition: color .25s; }
.pain-tab .q { font-size: 16.5px; font-weight: 600; line-height: 1.5; }
.pain-tab:hover { background: var(--bg-alt); color: var(--navy); }
.pain-tab.active { background: #fff; border-color: var(--line); box-shadow: var(--shadow); color: var(--navy); }
.pain-tab.active::before { transform: scaleY(1); }
.pain-tab.active .n { color: var(--blue); }

.pains-panel { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 20px; padding: 32px 34px 26px; color: #fff;
  background: linear-gradient(155deg, var(--navy) 0%, #0c2050 60%, var(--navy-2) 100%); box-shadow: var(--shadow-lg); min-height: 520px; }
.pp-mark { position: absolute; right: -90px; bottom: -60px; width: 380px; opacity: .1; pointer-events: none; }
.pain-panel { position: relative; z-index: 1; }
.pain-panel.active { animation: panelIn .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pp-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.pp-tag { font-size: 13px; font-weight: 700; color: var(--sky); background: rgba(141, 180, 255, .12); border: 1px solid rgba(141, 180, 255, .25); padding: 5px 12px; border-radius: 999px; }
.pp-count { font-size: 13px; font-weight: 600; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.pp-label { font-size: 12.5px; font-weight: 700; color: var(--on-dark-2); text-transform: none; margin-bottom: 6px; }
.pp-before { font-size: 15.5px; color: var(--on-dark-2); line-height: 1.55; padding-left: 14px; border-left: 2px solid rgba(255, 255, 255, .15); }
.pp-label-after { margin-top: 24px; color: var(--sky); }
.pp-after { font-size: clamp(20px, 1.9vw, 24px); font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }
.pp-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.pp-list li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--on-dark); }
.pp-list .ic { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: rgba(30, 111, 240, .25); color: var(--sky); stroke-width: 2.4; }
.js .pain-panel.active .pp-list li { animation: panelIn .45s cubic-bezier(.2, .7, .2, 1) both; }
.js .pain-panel.active .pp-list li:nth-child(1) { animation-delay: .12s; }
.js .pain-panel.active .pp-list li:nth-child(2) { animation-delay: .2s; }
.js .pain-panel.active .pp-list li:nth-child(3) { animation-delay: .28s; }
.pp-foot { position: relative; z-index: 1; margin-top: auto; padding-top: 28px; display: flex; align-items: center; gap: 20px; }
.pp-cta { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; padding: 10px 16px; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); transition: background .2s; flex: none; }
.pp-cta:hover { background: rgba(255, 255, 255, .14); }
.pp-cta .ic { width: 17px; height: 17px; transition: transform .2s; }
.pp-cta:hover .ic { transform: translateX(3px); }
.pp-progress { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.pp-progress i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue), var(--sky)); transform: scaleX(0); transform-origin: left; }
.pp-progress.run i { animation: grow var(--dur, 7s) linear forwards; }
.pains:hover .pp-progress.run i, .pains.paused .pp-progress.run i { animation-play-state: paused; }

/* serviços */
.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc li { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 32px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 2px rgba(16, 24, 40, .03); transition: border-color .2s, box-shadow .2s, transform .2s; }
.svc li::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--navy-2)); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.svc li:hover { border-color: #c9d6f2; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.svc li:hover::after { transform: scaleX(1); }
.svc-ic { transition: background .25s, color .25s, transform .25s; }
.svc li:hover .svc-ic { background: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.05); }
.svc-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 8px; }
.svc-ic .ic { width: 24px; height: 24px; }
.svc b { font-size: 19px; color: var(--navy); letter-spacing: -.01em; }
.svc li > span:last-child { color: var(--text-2); font-size: 16px; }

/* como trabalhamos (faixa escura) */
.dark { position: relative; background: var(--navy); color: var(--on-dark); }
.dark .label { color: var(--sky); }
.dark h2 { color: #fff; }
.dark .sec-text { color: var(--on-dark); }

/* como trabalhamos: etapas em cartões de vidro, linha que se preenche e destaque que percorre as etapas */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; }
.steps-bar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.steps-bar i { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); position: relative; overflow: hidden; }
.steps-bar i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.steps-bar i.done::after { transform: none; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 20px; border-radius: 18px; cursor: default;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .09);
  transition: background .35s, border-color .35s, translate .35s, box-shadow .35s, opacity .5s ease, transform .5s ease; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.step-ic { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--sky); background: #11234f; border: 1px solid rgba(141, 180, 255, .22); transition: background .35s, color .35s, box-shadow .35s, transform .35s; }
.step-ic .ic { width: 22px; height: 22px; }
.step-n { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: rgba(200, 211, 234, .4); font-variant-numeric: tabular-nums; transition: color .35s; }
.step b { font-size: 17px; color: #fff; line-height: 1.3; }
.step p { font-size: 14.5px; line-height: 1.6; color: var(--on-dark-2); }
.step-out { margin-top: auto; display: flex; gap: 8px; align-items: flex-start; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--on-dark); }
.step-out .ic { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--sky); stroke-width: 2.4; }
.step.on, .step:hover { background: linear-gradient(160deg, rgba(30, 111, 240, .2), rgba(255, 255, 255, .03)); border-color: rgba(141, 180, 255, .35); translate: 0 -4px; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .6); }
.step.on .step-ic, .step:hover .step-ic { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 8px 20px -6px rgba(30, 111, 240, .8); transform: scale(1.05); }
.step.on .step-n, .step:hover .step-n { color: var(--sky); }

/* perguntas */
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq-in .sec-head { margin-bottom: 0; position: sticky; top: calc(var(--nav-h) + 32px); }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #c9d6f2; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; font-weight: 700; font-size: 17px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--bg-alt); color: var(--blue); transition: transform .2s, background .2s; }
.faq details[open] summary .ic { transform: rotate(45deg); background: var(--blue-soft); }
.faq details p { padding: 0 24px 22px; color: var(--text-2); }

/* contato */
.contact-box { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.contact-copy { position: relative; overflow: hidden; padding: 56px 48px; color: var(--on-dark); background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); }
.contact-mark { position: absolute; right: -70px; bottom: -40px; width: 380px; height: auto; opacity: .12; pointer-events: none; user-select: none; }
.contact-copy > :not(.contact-mark) { position: relative; }
.contact-copy .label { color: var(--sky); }
.contact-copy h2 { color: #fff; font-size: clamp(28px, 3vw, 38px); margin-top: 14px; }
.contact-copy .sec-text { color: var(--on-dark); }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.contact-list span { color: var(--on-dark-2); font-size: 15px; }
.contact-list a { color: #fff; font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 48px; align-content: start; }
.form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--text); }
.form .full { grid-column: 1 / -1; }
.form input:not([type=checkbox]), .form select, .form textarea { width: 100%; font: 16px var(--font); color: var(--text); background: #fff; border: 1px solid #d0d5dd; border-radius: 8px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.form textarea { resize: vertical; min-height: 120px; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 19px) 54%, calc(100% - 14px) 54%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 111, 240, .12); }
.form input::placeholder, .form textarea::placeholder { color: #98a2b3; }
.form .invalid { border-color: #d92d20 !important; }
.form .consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.form .consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }
.form .consent.invalid span { color: #d92d20; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-end { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-hint { font-size: 14px; color: var(--muted); }
.form-msg { grid-column: 1 / -1; font-size: 15px; }
.form-msg:empty { display: none; }
.form-msg.ok { background: #ecfdf3; border: 1px solid #abefc6; color: #067647; border-radius: 8px; padding: 14px 16px; }
.form-msg.err { color: #b42318; }
.form-msg .btn { margin-top: 12px; height: 42px; font-size: 15px; }

/* rodapé */
.footer { background: var(--navy); color: var(--on-dark); padding: 72px 0 28px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.foot-brand img { height: 30px; width: auto; margin-bottom: 16px; }
.foot-brand p { font-size: 15px; color: var(--on-dark-2); max-width: 36ch; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-title { font-weight: 700; color: #fff; margin-bottom: 4px; }
.foot-col a, .foot-links a { color: var(--on-dark); text-decoration: none; }
.foot-col a:hover, .foot-links a:hover { color: #fff; }
.foot-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--on-dark-2); }
.foot-bottom b { font-weight: 400; }
.foot-links { display: flex; gap: 22px; }

/* WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .35); transition: transform .15s; }
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { width: 27px; height: 27px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }

/* entrada suave ao rolar (só com JS ligado) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; }
  .marquee ul { flex-wrap: wrap; row-gap: 6px; }
  .marquee ul[aria-hidden] { display: none; }
  .js .assure li, .doc-rows.swap li, .doc-rows.swap i, .doc-title-swap { animation: none; }
  .js .hero-copy > *, .js .hero-doc, .js .doc-rows li, .js .doc-rows i, .js .doc-total, .js .doc-foot { animation: none; }
}

/* ---------- telas menores ---------- */
@media (max-width: 1024px) {
  .hero-in, .faq-in, .contact-box { grid-template-columns: minmax(0, 1fr); }
  .hero-in, .faq-in { gap: 48px; }
  .hero-doc { width: 100%; max-width: 560px; }
  .hero-mark { width: 640px; left: -180px; top: 30%; }
  .faq-in .sec-head { position: static; }
  .assure { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0; }
  .assure li:nth-child(3) { padding-left: 0; border-left: 0; }
  .assure li { padding-bottom: 24px; }
  .pains { grid-template-columns: 1fr; }
  .pains-panel { min-height: 0; }
  .pains { gap: 16px; }
  .pains-list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 32px; gap: 10px; margin: 0 -32px; padding: 4px 32px 10px; scrollbar-width: none; }
  .pains-list::-webkit-scrollbar { display: none; }
  .pain-tab { flex: 0 0 min(300px, 78%); scroll-snap-align: start; background: var(--bg-alt); }
  .pain-tab::before { left: 18px; right: 18px; top: auto; bottom: -1px; width: auto; height: 3px; border-radius: 3px 3px 0 0; transform: scaleX(0); }
  .pain-tab.active::before { transform: scaleX(1); }
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-head-row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .steps-bar { display: none; }
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 6px; padding: 18px; }
  .step-top { grid-row: span 4; flex-direction: column; justify-content: flex-start; gap: 8px; margin: 0; }
  .step.on, .step:hover { translate: none; }
  .step-out { margin-top: 4px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; background: #0a1736; border-bottom: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 20px 30px -16px rgba(0, 0, 0, .6);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a:not(.btn) { padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 17px; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 18px; height: 50px; }
  .strip-in { flex-direction: column; align-items: stretch; gap: 14px; }
  .strip-label { border: 0; padding: 0; flex-direction: row; flex-wrap: wrap; gap: 0 6px; }
  .marquee li { font-size: 15px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .hero { padding: calc(var(--nav-h) + 48px) 0 48px; }
  .hero-mark { width: 480px; left: -160px; top: 26%; }
  .hero-ctas .btn { width: 100%; }
  .sheet { padding: 20px 18px 18px; }
  .doc-total div { padding: 10px 12px; }
  .doc-total b { font-size: 15px; }
  .section { padding: 80px 0; }
  .sec-head { margin-bottom: 40px; }
  .svc { grid-template-columns: 1fr; }
  .assure { grid-template-columns: 1fr; margin-top: 48px; }
  .assure li, .assure li + li { padding: 20px 0 0; border-left: 0; }
  .doc-switch button { padding: 8px 4px; font-size: 13px; }
  .pain-tab { padding: 14px 16px; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; }
  .pains-list { margin: 0 -20px; padding: 4px 20px 10px; scroll-padding-inline: 20px; }
  .pain-tab .q { font-size: 15.5px; }
  .pains-panel { padding: 26px 22px 22px; }
  .pp-foot { flex-direction: column; align-items: stretch; gap: 14px; }
  .pp-cta { justify-content: center; }
  .contact-box { border-radius: 16px; }
  .contact-copy { padding: 36px 22px; }
  .form { grid-template-columns: 1fr; padding: 28px 22px; }
  .form-end .btn { width: 100%; }
  .foot-in { grid-template-columns: 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; }
}
@media (max-width: 400px) {
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 34px; }
  .lead { font-size: 16.5px; }
  .doc-head img { display: none; }
  .doc-head em { padding: 2px 8px; font-size: 11px; }
  .doc-switch button { font-size: 12px; padding: 10px 2px; }
  .doc-rows li { font-size: 13.5px; }
  .doc-total div { padding: 9px 10px; }
  .doc-total b { font-size: 14px; white-space: nowrap; }
  .sheet { padding: 18px 14px 16px; }
  .pains-list { margin: 0 -16px; padding: 4px 16px 10px; scroll-padding-inline: 16px; }
}

/* ---------- Política de Privacidade ---------- */
.policy { padding: 64px 0 96px; }
.nav:has(+ .policy), body:has(.policy) .nav { background: var(--navy); }
.policy-in { max-width: 820px; }
.policy h1 { font-size: clamp(32px, 4vw, 46px); margin-top: 10px; }
.policy-meta { color: var(--muted); margin-top: 10px; font-size: 15px; }
.policy-toc { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; margin: 32px 0 16px; padding: 22px 24px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; }
.policy-toc a { text-decoration: none; color: var(--text-2); }
.policy-toc a:hover { color: var(--blue); }
.policy section { padding-top: 36px; }
.policy h2 { font-size: 24px; margin-bottom: 14px; }
.policy h3 { font-size: 17px; margin: 22px 0 6px; }
.policy p { color: var(--text-2); margin-bottom: 12px; }
.policy p b, .policy li b { color: var(--text); }
.policy ul { color: var(--text-2); padding-left: 22px; margin: 0 0 14px; }
.policy li { margin-bottom: 6px; }
.table-scroll { overflow-x: auto; margin: 6px 0 16px; }
.policy-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.policy-table th, .policy-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.policy-table th { background: var(--bg-alt); color: var(--navy); font-weight: 700; }
.policy-table td { color: var(--text-2); }
.policy-back { margin-top: 40px; }
.footer > .foot-bottom:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 600px) { .policy-toc { grid-template-columns: 1fr; } }

/* ---------- aviso de cookies ---------- */
.cookie-bar { position: fixed; left: 20px; bottom: 20px; z-index: 60; width: min(400px, calc(100vw - 40px)); padding: 20px 20px 18px; border-radius: 18px; color: var(--text-2);
  background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 4px rgba(16, 24, 40, .04), 0 24px 50px -18px rgba(11, 26, 58, .35);
  opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .35s cubic-bezier(.2, .7, .2, 1); }
.cookie-bar.show { opacity: 1; transform: none; }
.cookie-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.cookie-head b { color: var(--navy); font-size: 16px; }
.cookie-ic { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); }
.cookie-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cookie-bar p { font-size: 14px; line-height: 1.55; color: var(--text-2); }
.cookie-bar strong { color: var(--navy); font-weight: 600; }
.cookie-actions { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.cookie-ok { height: 42px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; font: 600 15px var(--font); cursor: pointer; box-shadow: 0 8px 18px -8px rgba(30, 111, 240, .9); transition: background .2s; }
.cookie-ok:hover { background: var(--blue-dark); }
.cookie-actions a { color: var(--text-2); font-size: 14px; font-weight: 600; }
.cookie-actions a:hover { color: var(--blue); }
.foot-links a[data-cookies] { cursor: pointer; }
/* com o aviso aberto, o botão do WhatsApp sobe para não ficar por baixo */
.wa-float { transition: transform .15s, bottom .3s; }
@media (max-width: 600px) {
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px; }
  .cookie-ok { flex: 1; }
  body.has-cookie-bar .wa-float { bottom: 230px; }
}
@media (prefers-reduced-motion: reduce) { .cookie-bar { transition: none; } }
