/* =========================================================
   HS BHS — Engenharia & Segurança do Trabalho
   Landing Page NR 18 | Criação: WEBX (webxsites.com.br)
   ========================================================= */

@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --red: #E0364C;
  --red-2: #B8304A;
  --red-glow: rgba(224, 54, 76, .55);
  --amber: #FFB020;
  --bg: #14163a;
  --bg-2: #1a1d4a;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #F2F4F7;
  --muted: #9AA3B2;
  --head-bg: rgba(20, 22, 58, .72);
  --grid: rgba(255, 255, 255, .035);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  --f-display: 'Sora', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --r: 22px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
ul { list-style: none; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
::selection { background: var(--red); color: #fff; }

/* blueprint grid backdrop */
.grid-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 80%);
}

/* ===================== TYPO ===================== */
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.12; letter-spacing: -.025em; font-weight: 700; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.sec-title { font-size: clamp(30px, 4.4vw, 52px); max-width: 880px; }
.sec-lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 760px; margin-top: 18px; }
.grad {
  background: linear-gradient(100deg, var(--red) 0%, #ff7a8a 45%, var(--red) 90%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.center { text-align: center; }
.center .sec-title, .center .sec-lead { margin-inline: auto; }

/* ===================== BEAM (feixe de luz) ===================== */
.beam { position: relative; isolation: isolate; }
.beam::before, .beam::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--a), transparent 0 62%, rgba(224,54,76,.2) 70%, #ff3d57 80%, #fff 84%, #ff3d57 88%, transparent 96%);
  animation: beam 3.2s linear infinite;
}
.beam::before, .beam::after {
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.beam::before { padding: 2px; z-index: 3; }
.beam::after { inset: -9px; padding: 9px; filter: blur(7px); opacity: .9; z-index: 3; }
@keyframes beam { to { --a: 360deg; } }

/* ===================== BUTTONS ===================== */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--h); padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-wa {
  background: linear-gradient(135deg, #ff4a60, var(--red) 45%, var(--red-2));
  color: #fff;
  box-shadow: 0 12px 34px -10px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.25);
  overflow: visible;
}
.btn-wa .shimmer {
  position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none;
}
.btn-wa .shimmer::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); animation: sweep 3.4s var(--ease) infinite;
}
@keyframes sweep { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.btn-wa:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 44px -10px var(--red-glow); }
.btn-wa:active { transform: scale(.98); }
.btn-ghost {
  background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--red); transform: translateY(-3px); }
.btn-lg { --h: 64px; padding: 0 34px; font-size: 15px; }
.btn-wa .ico-pulse { position: relative; display: grid; place-items: center; }
.btn-wa .ico-pulse::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6);
  animation: ping 2s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* ===================== HEADER ===================== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 14px 0; transition: padding .4s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: var(--head-bg); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.header.scrolled::before { opacity: 1; }
.header.scrolled { border-color: var(--line); padding: 8px 0; }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 86px; width: auto; transition: height .4s var(--ease); }
.header.scrolled .logo img { height: 86px; }

.nav { border-radius: 999px; }
.nav ul {
  display: flex; gap: 2px; padding: 6px; border-radius: 999px;
  background: var(--head-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  position: relative; z-index: 2;
}
.nav a {
  display: block; padding: 9px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap;
  transition: color .25s, background .25s;
}
.nav a:hover, .nav a.active { color: var(--text); background: var(--surface-2); }
.nav a.active { color: var(--red); }

.head-actions { display: flex; align-items: center; gap: 10px; }
.crea-badge {
  display: inline-flex; flex-direction: column; line-height: 1.15; padding: 7px 14px; border-radius: 12px;
  border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; color: var(--muted);
}
.crea-badge b { color: var(--text); font-size: 13px; letter-spacing: .04em; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line-2); transition: border-color .3s, transform .3s;
}
.icon-btn:hover { border-color: var(--red); transform: rotate(15deg); }
.icon-btn svg { width: 20px; height: 20px; }
.head-cta { --h: 48px; padding: 0 22px; font-size: 12.5px; }
.burger { display: none; }

/* ===================== HERO ===================== */
.hero {
  min-height: 100svh; display: flex; align-items: center; padding: 180px 0 90px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; background: #14163a; overflow: hidden; }
.hero-bg img { position: absolute; right: 0; top: 0; width: 68%; height: 100%; object-fit: cover; object-position: 38% 35%; transform: scale(1.08); animation: kb 22s ease-in-out infinite alternate; }
@keyframes kb { to { transform: scale(1.0) translateX(-1.5%); } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #14163a 0%, #14163a 32%, rgba(20,22,58,.75) 44%, rgba(20,22,58,.1) 62%, rgba(20,22,58,0) 85%, rgba(20,22,58,.5) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 28%);
}
.hero-scan {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(224,54,76,.12) 50%, transparent 52%);
  background-size: 100% 260%; animation: scan 7s linear infinite; mix-blend-mode: screen;
}
@keyframes scan { from { background-position: 0 -100%; } to { background-position: 0 200%; } }
.hero-in { display: block; }
.hero-copy { color: #F2F4F7; max-width: 640px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 600; margin-bottom: 26px;
}
.hero-tag span { white-space: nowrap; flex: none; background: var(--red); color: #fff; font-family: var(--f-mono); font-size: 11px; padding: 4px 10px; border-radius: 999px; letter-spacing: .08em; }
.hero h1 { font-size: clamp(32px, 3.9vw, 56px); font-weight: 800; }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(40px) rotateX(-40deg); filter: blur(10px); animation: wIn .9s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + 200ms); }
@keyframes wIn { to { opacity: 1; transform: none; filter: blur(0); } }
.hero-sub { color: #C3CAD6; font-size: clamp(16px, 1.4vw, 18px); margin-top: 24px; max-width: 600px; opacity: 0; animation: fadeUp 1s var(--ease) 1.4s forwards; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; opacity: 0; animation: fadeUp 1s var(--ease) 1.65s forwards; }
.hero-ctas .btn-ghost { color: #fff; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 40px; opacity: 0; animation: fadeUp 1s var(--ease) 1.9s forwards; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #C3CAD6; font-weight: 600; }
.hero-trust svg { width: 18px; height: 18px; color: var(--red); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* HUD checklist */
.hud {
  position: relative; border-radius: var(--r); padding: 26px; color: #E8ECF2;
  background: linear-gradient(160deg, rgba(34,38,86,.75), rgba(16,18,48,.65));
  border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9);
}
.hud-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: #8E97A6; margin-bottom: 18px; }
.hud-top .live { display: flex; align-items: center; gap: 8px; color: #6BE3A0; }
.hud-top .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6BE3A0; box-shadow: 0 0 12px #6BE3A0; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.hud h3 { font-size: 18px; margin-bottom: 16px; }
.hud-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px dashed rgba(255,255,255,.1); font-size: 14px;
}
.hud-list li:last-child { border: 0; }
.hud-list .st { font-family: var(--f-mono); font-size: 11px; padding: 3px 9px; border-radius: 6px; background: rgba(255,176,32,.14); color: var(--amber); transition: .4s; }
.hud-list li.ok .st { background: rgba(107,227,160,.14); color: #6BE3A0; }
.hud-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); margin-top: 18px; overflow: hidden; }
.hud-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), #ff8a98); border-radius: inherit; transition: width .6s var(--ease); box-shadow: 0 0 16px var(--red); }
.hud-foot { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; color: #8E97A6; margin-top: 10px; }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.3); border-radius: 20px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--red); animation: drop 1.8s infinite; }
@keyframes drop { to { transform: translateY(14px); opacity: 0; } }

/* ===================== MARQUEE ===================== */
.marquee { border-block: 1px solid var(--line); padding: 18px 0; overflow: hidden; background: var(--bg-2); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: mq 38s linear infinite; }
.marquee span { font-family: var(--f-mono); font-size: 13px; letter-spacing: .14em; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee span::after { content: "◆"; color: var(--red); font-size: 9px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ===================== RISK / DOR ===================== */
.risk-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.risk-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 56px; }
.risk {
  grid-column: span 2; padding: 30px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line);
  position: relative; overflow: hidden; transition: transform .45s var(--ease), border-color .45s;
}
.risk:nth-child(4), .risk:nth-child(5) { grid-column: span 3; }
.risk::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,176,32,.12), transparent 60%);
}
.risk:hover { transform: translateY(-6px); border-color: rgba(255,176,32,.45); }
.risk:hover::before { opacity: 1; }
.risk-ico {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(255,176,32,.1); border: 1px solid rgba(255,176,32,.3); color: var(--amber);
}
.risk-ico svg { width: 26px; height: 26px; }
.risk h3 { font-size: 20px; margin-bottom: 10px; }
.risk p { color: var(--muted); font-size: 15px; }
.risk .num { position: absolute; top: 22px; right: 24px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); opacity: .6; }
.transition-line {
  margin-top: 56px; padding: 30px 34px; border-radius: var(--r); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(224,54,76,.14), rgba(224,54,76,.02)); border: 1px solid rgba(224,54,76,.3);
}
.transition-line p { font-family: var(--f-display); font-size: clamp(18px, 2vw, 24px); font-weight: 600; max-width: 720px; }

/* ===================== SOLUÇÃO ===================== */
.sol-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.sol-visual { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.sol-visual img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.sol-visual .art-tag {
  position: absolute; left: 18px; bottom: 18px; padding: 12px 16px; border-radius: 14px;
  background: rgba(20,22,58,.8); backdrop-filter: blur(10px); color: #fff; border: 1px solid rgba(255,255,255,.14);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em;
}
.sol-visual .art-tag b { color: var(--red); display: block; font-size: 15px; font-family: var(--f-display); letter-spacing: 0; }

.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 70px; }
.svc {
  position: relative; border-radius: 28px; overflow: hidden; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line); background: #12143a linear-gradient(135deg, #2a1432, #12143a 60%);
  isolation: isolate; color: #F2F4F7;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.svc:hover { transform: translateY(-8px); box-shadow: 0 40px 80px -30px rgba(224,54,76,.35); }
.svc-media { position: absolute; inset: 0; z-index: -2; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease), filter 1s; filter: saturate(.85) contrast(1.05); }
.svc:hover .svc-media img { transform: scale(1.14); filter: saturate(1.05); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,22,58,.15) 0%, rgba(20,22,58,.55) 38%, rgba(20,22,58,.97) 78%); }
.svc::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(224,54,76,.22), transparent 55%);
}
.svc:hover::after { opacity: 1; }
.svc-body { padding: 34px; }
.svc-code { display: inline-block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; color: #fff; background: rgba(224,54,76,.85); padding: 5px 11px; border-radius: 7px; margin-bottom: 16px; }
.svc h3 { font-size: clamp(22px, 2.3vw, 28px); margin-bottom: 16px; }
.svc ul { display: grid; gap: 9px; }
.svc li { display: flex; gap: 10px; font-size: 14.5px; color: #CBD2DC; line-height: 1.5; }
.svc li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }
.svc li b { color: #fff; font-weight: 700; }
.svc.wide { grid-column: span 2; min-height: 520px; }
.svc.wide ul { grid-template-columns: repeat(2, 1fr); gap: 12px 30px; }
.svc.noimg .svc-media { background: radial-gradient(circle at 70% 20%, rgba(224,54,76,.35), transparent 50%), repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 40px), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 40px); }
.sec-cta { display: flex; justify-content: center; margin-top: 60px; }

/* ===================== STEPS ===================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; counter-reset: s; position: relative; }
.step { padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--f-mono); font-size: 13px; color: var(--red); display: block; margin-bottom: 18px; letter-spacing: .1em; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }
.step .bar { position: absolute; left: 28px; right: 28px; top: 0; height: 2px; background: linear-gradient(90deg, var(--red), transparent); }

/* ===================== CROSS-SELL ===================== */
.x-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.xcard {
  position: relative; border-radius: var(--r); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
  display: flex; flex-direction: column;
}
.xcard:hover { transform: translateY(-6px); border-color: rgba(224,54,76,.5); box-shadow: var(--shadow); }
.xcard-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, #2a1432, #1a1d4a); }
.xcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.xcard:hover .xcard-media img { transform: scale(1.08); }
.xcard-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20,22,58,.75)); }
.xcard-media .tag { position: absolute; left: 16px; bottom: 14px; z-index: 1; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: #fff; padding: 5px 10px; border-radius: 7px; background: rgba(224,54,76,.9); }
.xcard-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.xcard h3 { font-size: 19px; margin-bottom: 10px; }
.xcard p { color: var(--muted); font-size: 14.5px; flex: 1; }
.xcard .more { margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--red); display: inline-flex; gap: 8px; align-items: center; letter-spacing: .04em; text-transform: uppercase; }
.xcard .more svg { width: 16px; height: 16px; transition: transform .3s; }
.xcard:hover .more svg { transform: translateX(5px); }

/* ===================== AUTORIDADE ===================== */
.auth { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.auth-visual { position: relative; display: grid; place-items: center; }
.auth-visual::before {
  content: ""; position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,54,76,.35), transparent 65%); filter: blur(20px);
}
.auth-visual img { position: relative; height: auto; width: min(520px, 100%); filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); }
.ring { position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(224,54,76,.35); animation: rot 40s linear infinite; }
.ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 18px var(--red); }
@keyframes rot { to { transform: rotate(360deg); } }
.crea-float {
  position: absolute; right: 0; bottom: 12%; padding: 16px 20px; border-radius: 18px;
  background: var(--head-bg); backdrop-filter: blur(12px); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.crea-float small { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--muted); }
.crea-float b { font-family: var(--f-display); font-size: 22px; color: var(--red); }
@keyframes float { 50% { transform: translateY(-12px); } }
.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.diff { padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.diff:hover { border-color: rgba(224,54,76,.45); background: var(--surface-2); }
.diff-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(224,54,76,.12); color: var(--red); margin-bottom: 14px; }
.diff-ico svg { width: 20px; height: 20px; }
.diff h3 { font-size: 16px; margin-bottom: 6px; }
.diff p { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ===================== DEPOIMENTOS ===================== */
.g-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.g-score { display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--surface); }
.g-score .g { width: 38px; height: 38px; }
.stars { color: #FBBC04; letter-spacing: 2px; font-size: 17px; }
.g-score small { display: block; color: var(--muted); font-size: 12.5px; }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.tcard { padding: 30px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; gap: 18px; transition: transform .45s var(--ease), border-color .45s; }
.tcard:hover { transform: translateY(-6px); border-color: rgba(224,54,76,.4); }
.tcard .q { position: absolute; top: 18px; right: 24px; font-family: Georgia, serif; font-size: 80px; line-height: 1; color: var(--red); opacity: .2; }
.tcard blockquote { font-size: 15.5px; line-height: 1.7; flex: 1; }
.t-author { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--red), #7a1b2c); }
.t-author b { display: block; font-size: 15px; }
.t-author small { color: var(--muted); font-size: 12.5px; display: flex; align-items: center; gap: 6px; }
.t-author small svg { width: 14px; height: 14px; }

/* ===================== FAQ ===================== */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-side { position: sticky; top: 120px; }
.faq-side .btn { margin-top: 30px; }
.faq-side .sec-title { font-size: clamp(28px, 3.2vw, 40px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(16px, 1.6vw, 19px); transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background: linear-gradient(currentColor, currentColor) center/12px 2px no-repeat, linear-gradient(currentColor, currentColor) center/2px 12px no-repeat;
  transition: transform .4s var(--ease), background-color .3s, border-color .3s;
}
.faq details[open] summary { color: var(--red); }
.faq details[open] summary::after { transform: rotate(135deg); border-color: var(--red); }
.faq .ans { overflow: hidden; }
.faq .ans p { padding: 0 50px 26px 0; color: var(--muted); font-size: 15.5px; }

/* ===================== CTA FINAL ===================== */
.final { overflow: hidden; }
.final-box {
  position: relative; border-radius: 34px; padding: clamp(34px, 6vw, 70px); overflow: hidden;
  background: linear-gradient(135deg, #2c1534 0%, #16184a 55%); border: 1px solid rgba(224,54,76,.28); color: #F2F4F7;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center;
}
.final-box::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,54,76,.35), transparent 60%); pointer-events: none;
}
.final-box h2 { font-size: clamp(30px, 4vw, 48px); position: relative; }
.final-box > div > p { color: #BAC2CF; margin-top: 18px; font-size: 17px; position: relative; }
.final-box .btn { margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.trust-row span { font-size: 12.5px; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); color: #C3CAD6; }
.form {
  position: relative; padding: 30px; border-radius: 24px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}
.form h3 { font-size: 20px; }
.form > p { color: #9AA3B2; font-size: 14px; margin: 6px 0 22px; }
.field { position: relative; margin-bottom: 14px; }
.field input, .field select {
  width: 100%; height: 56px; padding: 22px 16px 6px; border-radius: 14px; outline: none;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 15px;
  transition: border-color .3s, box-shadow .3s; appearance: none;
}
.field select { padding-top: 20px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA3B2' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field select option { color: #000; }
.field label { position: absolute; left: 16px; top: 18px; font-size: 15px; color: #8E97A6; pointer-events: none; transition: .25s var(--ease); }
.field input:focus, .field select:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(224,54,76,.18); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field select + label { top: 7px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { width: 100%; margin-top: 8px; }
.form .note { font-size: 12px; color: #8E97A6; margin-top: 12px; text-align: center; }

/* ===================== FOOTER ===================== */
.footer { border-top: 1px solid var(--line); padding: 70px 0 30px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.foot-logo img { height: 86px; width: auto; }
.foot-grid p, .foot-grid li { color: var(--muted); font-size: 14.5px; }
.foot-grid h4 { font-size: 13px; font-family: var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 18px; font-weight: 500; }
.foot-grid ul { display: grid; gap: 10px; }
.foot-grid a:hover { color: var(--red); }
.foot-crea { display: inline-flex; margin-top: 20px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); transition: .3s; }
.socials a:hover { border-color: var(--red); color: var(--red); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot-bottom a { color: var(--text); font-weight: 700; }
.foot-bottom a:hover { color: var(--red); }

/* ===================== FLOATING WA ===================== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 12px;
  padding: 8px 22px 8px 8px; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, #ff4a60, var(--red) 50%, var(--red-2));
  box-shadow: 0 18px 40px -10px var(--red-glow);
  transform: translateY(120px); opacity: 0; transition: transform .6s var(--ease), opacity .6s;
}
.wa-float.show { transform: none; opacity: 1; }
.wa-float:hover { transform: translateY(-4px) scale(1.03); }
.wa-float .wa-ico { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; position: relative; flex: none; }
.wa-float .wa-ico svg { width: 26px; height: 26px; }
.wa-float .wa-ico::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #fff; animation: ping 2s ease-out infinite; }
.wa-float .wa-txt { display: flex; flex-direction: column; line-height: 1.15; }
.wa-float b { font-family: var(--f-display); font-size: 14px; letter-spacing: .06em; }
.wa-float small { font-size: 11.5px; opacity: .88; transition: opacity .3s; }

/* back to top progress */
.progress { position: fixed; top: 0; left: 0; height: 2px; z-index: 70; background: linear-gradient(90deg, var(--red), #ff8a98); width: 0; box-shadow: 0 0 10px var(--red); }

/* ===================== REVEAL ===================== */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1380px) {
  .head-actions .crea-badge { display: none; }
  .nav a { padding: 9px 12px; font-size: 13.5px; }
}
@media (max-width: 1024px) {
  .risk-head, .sol-head, .auth, .faq-wrap, .final-box { grid-template-columns: 1fr; }
  .hero-bg img { width: 100%; object-position: 62% 30%; }
  .hero-bg::after { background: linear-gradient(90deg, rgba(20,22,58,.95) 0%, rgba(20,22,58,.8) 50%, rgba(20,22,58,.35) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
  .hud { max-width: 520px; }
  .faq-side { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .x-grid { grid-template-columns: 1fr 1fr; }
  .t-grid { grid-template-columns: 1fr; }
  .auth-visual { order: 2; }
}
@media (max-width: 1160px) {
  .logo img { height: 80px; }
  .header.scrolled .logo img { height: 80px; }
  .burger { display: grid; }
  .head-cta { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: -1; display: grid; place-items: center; border-radius: 0;
    background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .nav.beam::before, .nav.beam::after { display: none; }
  .nav ul { flex-direction: column; background: none; border: 0; gap: 6px; text-align: center; backdrop-filter: none; }
  .nav a { font-family: var(--f-display); font-size: 26px; padding: 12px 24px; color: var(--text); }
  body.menu-open .nav { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 900px) {
  .risk, .risk:nth-child(4), .risk:nth-child(5) { grid-column: span 6; }
  .risk-grid { gap: 14px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc.wide { grid-column: auto; }
  .svc.wide ul { grid-template-columns: 1fr; }
  .svc { min-height: 520px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hero { padding: 150px 0 80px; align-items: flex-end; }
  .hero-bg img { object-position: 58% 30%; }
  .hero-bg::after { background: linear-gradient(0deg, rgba(20,22,58,1) 8%, rgba(20,22,58,.82) 50%, rgba(20,22,58,.35) 100%); }
  .hero-ctas .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; padding: 12px 22px; line-height: 1.3; }
  .x-grid, .steps, .diff-grid, .form-row, .foot-grid { grid-template-columns: 1fr; }
  .svc-body { padding: 26px; }
  .transition-line .btn { width: 100%; }
  .wa-float { right: 12px; left: 12px; bottom: 12px; justify-content: center; padding: 8px 20px 8px 8px; }
  .scroll-hint { display: none; }
  .faq .ans p { padding-right: 0; }
  .crea-float { right: 4%; }
  .footer { padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}
.hero h1 .w.grad { animation: wIn .9s var(--ease) forwards, shine 5s linear infinite; animation-delay: calc(var(--i) * 55ms + 200ms), 0s; }


/* ===================== FUNDOS DE SEÇÃO ===================== */
/* Soluções: degradê azul-índigo do céu do banner */
#nr18 {
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(92, 96, 170, .35), transparent 60%),
    radial-gradient(700px 400px at 10% 60%, rgba(60, 62, 120, .30), transparent 60%),
    linear-gradient(180deg, #14163a 0%, #121430 12%, #1d1f45 45%, #15173a 80%, #14163a 100%);
}
#nr18 .sec-lead, #nr18 .step p { color: #A9B0C8; }
#nr18 .step { background: rgba(255,255,255,.04); border-color: rgba(160,168,230,.14); }
#nr18 .sol-visual { border-color: rgba(160,168,230,.18); }

/* Diferenciais e FAQ: banner do notebook ao fundo */
.bg-notebook { isolation: isolate; overflow: hidden; }
.bg-notebook::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/bg-notebook.webp") center / cover no-repeat;
  filter: grayscale(.2) contrast(1.05);
}
.bg-notebook::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, #14163a 0%, rgba(20,22,58,.72) 18%, rgba(20,22,58,.78) 82%, #14163a 100%),
    linear-gradient(90deg, rgba(20,22,58,.92) 0%, rgba(20,22,58,.55) 50%, rgba(20,22,58,.9) 100%);
}
#faq.bg-notebook::before { background-position: 70% center; transform: scaleX(-1); }
#faq.bg-notebook::after {
  background:
    linear-gradient(180deg, #14163a 0%, rgba(20,22,58,.7) 18%, rgba(20,22,58,.8) 82%, #14163a 100%),
    linear-gradient(90deg, rgba(20,22,58,.6) 0%, rgba(20,22,58,.88) 45%, rgba(20,22,58,.95) 100%);
}
.bg-notebook .diff, .bg-notebook .faq details { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.bg-notebook .diff { background: rgba(10,12,18,.55); }
.bg-notebook .sec-lead, .bg-notebook .diff p, .bg-notebook .faq .ans p { color: #B3BBC8; }

/* ===================== FUNDO GERAL AZUL ===================== */
body { background: #14163a; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% 5%, rgba(92, 96, 170, .32), transparent 60%),
    radial-gradient(800px 500px at 5% 55%, rgba(60, 62, 130, .28), transparent 60%),
    radial-gradient(900px 600px at 70% 100%, rgba(80, 70, 150, .22), transparent 60%),
    linear-gradient(180deg, #121430 0%, #1d1f45 50%, #15173a 100%);
}
#nr18 { background: transparent; }

/* ===================== MENU MOBILE: X PARA FECHAR ===================== */
.burger svg { transition: transform .35s var(--ease), opacity .25s; }
.burger .i-close { display: none; }
body.menu-open .burger .i-open { display: none; }
body.menu-open .burger .i-close { display: block; animation: xIn .35s var(--ease); }
@keyframes xIn { from { transform: rotate(-90deg) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
body.menu-open .burger { background: var(--red); border-color: var(--red); color: #fff; position: relative; z-index: 5; }
@media (max-width: 1160px) {
  .nav { background: rgba(20,22,58,.97) !important; backdrop-filter: blur(14px); }
  .nav a:hover, .nav a.active { background: rgba(255,255,255,.06); }
}
body.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* ===================== MENU SEMPRE CINZA CLARO ===================== */
.logo .lg-light { display: none; }
.header .logo .lg-light { display: block; }
.header .logo .lg-dark { display: none; }
.header::before { background: rgba(232, 234, 238, .96); opacity: 1; }
.header { border-color: rgba(0,0,0,.08); box-shadow: 0 10px 30px -14px rgba(0,0,0,.45); }
.header .crea-badge { color: #6B7280; border-color: rgba(0,0,0,.14); }
.header .crea-badge b { color: #1F2430; }
.header .icon-btn { background: #fff; border-color: rgba(0,0,0,.12); color: #1F2430; }
@media (min-width: 1161px) {
  .header .nav ul { background: #fff; border-color: rgba(0,0,0,.08); box-shadow: 0 4px 14px -6px rgba(0,0,0,.2); }
  .header .nav a { color: #3A4150; }
  .header .nav a:hover { color: #11151d; background: #EEF0F3; }
  .header .nav a.active { color: var(--red); background: #FBE9EC; }
}
body.menu-open .header .burger { color: #fff; }
.crea-badge b { white-space: nowrap; }
.foot-logo img { display: block !important; }
