/* QSO Geral — landing page (padrão visual "Vigilant Sentinel") */

:root {
  --red: #e31b23;
  --red-dark: #b3121a;
  --alert: #930010;
  --alert-soft: #ffdad6;
  --blue: #0054cd;
  --blue-soft: #dbe6ff;
  --ink: #071e27;
  --ink-2: #0c2a36;
  --ink-3: #133746;
  --text: #24323a;
  --muted: #4d5763;
  --bg: #f3faff;
  --surface-lowest: #ffffff;
  --surface-low: #e6f6ff;
  --surface: #dbf1fe;
  --surface-high: #cfe6f2;
  --ok: #0f8a57;
  --wa: #25d366;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 12px 32px rgba(7, 30, 39, .08);
  --shadow-lg: 0 24px 60px rgba(7, 30, 39, .18);
  --container: 1180px;
  --font-head: "Public Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0; line-height: 1.1; }
p { margin: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.label {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 12.5px/1 var(--font-body); letter-spacing: 1.6px; text-transform: uppercase; color: var(--blue);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: var(--radius); border: 0; cursor: pointer;
  font: 600 15px/1 var(--font-body); text-decoration: none;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn i { font-size: 19px; }
.btn-red { background: linear-gradient(135deg, var(--red), var(--alert)); color: #fff; box-shadow: 0 8px 22px rgba(227, 27, 35, .3); }
.btn-red:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(227, 27, 35, .38); }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); }
.btn-soft { background: var(--surface-low); color: var(--blue); }
.btn-soft:hover { background: var(--surface); }
.btn-wa { background: var(--wa); color: #083d1f; }
.btn-wa:hover { background: #1ebe5b; }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.header.scrolled, .header.menu-open { background: rgba(7, 30, 39, .88); backdrop-filter: blur(16px); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav ul a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer; padding: 4px; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px 20px 24px;
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; font-size: 16px; }
  .nav ul li + li a { box-shadow: 0 -1px 0 rgba(255, 255, 255, .07); }
  .nav .btn { margin-top: 16px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, .78); padding: 150px 0 110px; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; opacity: .75; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(7, 30, 39, .92) 38%, rgba(7, 30, 39, .35) 75%, rgba(7, 30, 39, .55) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 30%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 64px); font-weight: 900; letter-spacing: -1px; margin-bottom: 22px; }
.hero h1 .label { display: flex; width: fit-content; color: #9bbcff; background: rgba(0, 84, 205, .22); padding: 9px 13px; border-radius: 99px; margin-bottom: 24px; letter-spacing: 1.4px; }
.hero h1 em { font-style: normal; color: #ff5058; }
.hero-lead { font-size: 18.5px; max-width: 560px; color: rgba(255, 255, 255, .8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-events { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.hero-events span { font-size: 13.5px; padding: 7px 13px; border-radius: 99px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8); }

/* Alert mockup */
.alert-card {
  position: relative; background: rgba(255, 255, 255, .96); color: var(--text);
  border-radius: var(--radius-lg); padding: 24px 24px 44px 30px; box-shadow: var(--shadow-lg);
}
.alert-card::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 5px; border-radius: 0 4px 4px 0; background: var(--alert); }
.alert-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.live { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--font-body); letter-spacing: 1.2px; text-transform: uppercase; color: var(--alert); background: var(--alert-soft); padding: 7px 11px; border-radius: 99px; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--alert); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.alert-top time { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.alert-card h3 { font-size: 24px; font-weight: 800; margin: 16px 0 6px; }
.alert-meta { font-size: 14.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.alert-meta i { color: var(--red); }
.alert-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.alert-stats div { background: var(--surface-low); border-radius: 10px; padding: 12px 10px; text-align: center; }
.alert-stats b { display: block; font: 800 22px/1 var(--font-head); color: var(--ink); }
.alert-stats span { font-size: 12px; color: var(--muted); }
.alert-stats i { color: var(--blue); font-size: 18px; }
.toast {
  position: absolute; left: -26px; bottom: -30px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(12, 42, 54, .92); backdrop-filter: blur(16px); color: #fff;
  padding: 13px 16px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 13px; line-height: 1.35;
}
.toast i { font-size: 26px; color: #6ea0ff; }
.toast b { display: block; font-size: 14px; }

@media (max-width: 980px) {
  .hero { padding: 120px 0 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-bg img { object-position: 80% 30%; opacity: .45; }
  .toast { left: 12px; }
}
@media (max-width: 480px) {
  .alert-card { padding-bottom: 20px; }
  .hero h1 .label { font-size: 11px; letter-spacing: .8px; }
  .alert-card { padding: 20px 18px 20px 24px; }
  .alert-stats b { font-size: 19px; }
  .toast { position: static; margin-top: 14px; }
}

/* Sections */
.section { padding: 110px 0; }
.section.low { background: var(--surface-low); }
.section.white { background: var(--surface-lowest); }
.section.dark { background: var(--ink); color: rgba(255, 255, 255, .72); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .label { color: #8fb3ff; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -.5px; margin: 14px 0 16px; }
.section-head p { font-size: 18px; color: var(--muted); }
.section.dark .section-head p { color: rgba(255, 255, 255, .62); }
@media (max-width: 700px) { .section { padding: 76px 0; } .section-head { margin-bottom: 40px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--surface-lowest); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow); position: relative; }
.step-n { font: 900 15px/1 var(--font-head); color: var(--blue); background: var(--blue-soft); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.step > i { position: absolute; top: 28px; right: 26px; font-size: 28px; color: var(--red); }
.step h3 { font-size: 21px; font-weight: 800; margin: 22px 0 10px; }
.step p { font-size: 15px; color: var(--muted); }
.step.highlight { background: var(--ink); }
.step.highlight h3 { color: #fff; }
.step.highlight p { color: rgba(255, 255, 255, .7); }
.step.highlight .step-n { background: rgba(255, 255, 255, .1); color: #fff; }
.step.highlight > i { color: #ff5058; }
.note { margin-top: 28px; display: flex; gap: 14px; align-items: flex-start; background: var(--surface-lowest); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); font-size: 15px; }
.note i { font-size: 24px; color: var(--blue); line-height: 1.2; }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* Protect grid */
.protect { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.protect div { background: var(--surface-low); border-radius: var(--radius); padding: 24px 22px; transition: background .2s, transform .2s; }
.protect div:hover { background: var(--surface); transform: translateY(-2px); }
.protect i { font-size: 30px; color: var(--red); }
.protect h3 { font-size: 18px; font-weight: 800; margin: 14px 0 4px; }
.protect p { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .protect { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .protect { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature { background: var(--surface-lowest); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.feature picture img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.feature-body { padding: 28px 30px 32px; }
.feature-body > i { font-size: 30px; color: var(--blue); }
.feature h3 { font-size: 23px; font-weight: 800; margin: 12px 0 10px; }
.feature p { color: var(--muted); font-size: 15.5px; }
.feature .chips { margin-top: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; padding: 6px 12px; border-radius: 99px; background: var(--surface-high); color: var(--ink); }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }

/* Network (dark) */
.network { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.solutions { display: grid; gap: 14px; margin-top: 30px; }
.solution { display: flex; gap: 16px; background: var(--ink-2); border-radius: var(--radius); padding: 18px 20px; }
.solution i { font-size: 24px; color: #8fb3ff; line-height: 1.2; }
.solution h3 { font-size: 17px; margin-bottom: 2px; }
.solution p { font-size: 14.5px; color: rgba(255, 255, 255, .62); }
.nodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; }
.node { background: var(--ink-2); border-radius: var(--radius-lg); padding: 26px 14px; text-align: center; }
.node i { font-size: 30px; color: #fff; }
.node span { display: block; margin-top: 10px; font-weight: 600; color: #fff; font-size: 15px; }
.node small { display: block; color: rgba(255, 255, 255, .55); font-size: 12.5px; }
.node.center { background: linear-gradient(135deg, var(--red), var(--alert)); }
.node.center i { color: #fff; }
.node.center small { color: rgba(255, 255, 255, .8); }
@media (max-width: 900px) { .network { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 420px) { .nodes { grid-template-columns: repeat(2, 1fr); } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--surface-lowest); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow); position: relative; }
.plan.featured { background: var(--ink); color: rgba(255, 255, 255, .78); box-shadow: var(--shadow-lg); }
.plan.featured h3, .plan.featured .price { color: #fff; }
.badge { position: absolute; top: -12px; left: 26px; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; }
.plan h3 { font-size: 21px; font-weight: 800; }
.plan .who { font-size: 14px; color: var(--muted); margin-top: 4px; min-height: 44px; }
.plan.featured .who { color: rgba(255, 255, 255, .6); }
.price { margin: 18px 0 4px; font-family: var(--font-head); color: var(--ink); white-space: nowrap; }
.price b { font-size: clamp(30px, 2.7vw, 38px); font-weight: 900; line-height: 1; }
.price small { font: 400 14px var(--font-body); color: var(--muted); }
.plan.featured .price small { color: rgba(255, 255, 255, .6); }
.yearly { font-size: 13.5px; color: var(--blue); font-weight: 600; min-height: 20px; }
.plan.featured .yearly { color: #8fb3ff; }
.list { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 9px; font-size: 14.5px; flex: 1; align-content: start; }
.list li { position: relative; padding-left: 26px; }
.list li::before { content: "\eb7b"; font-family: remixicon; color: var(--ok); font-size: 17px; line-height: 1.35; position: absolute; left: 0; top: 0; }
.list li.no { color: #8a929c; }
.list li.no::before { content: "\eb99"; color: #a0a7b0; }
.plan.featured .list li::before { color: #4fe08f; }
.soon { font-size: 11px; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 2px 6px; border-radius: 5px; margin-left: 4px; white-space: nowrap; }
.plan.featured .soon { background: rgba(255, 255, 255, .12); color: #8fb3ff; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } .plan .who { min-height: 0; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface-lowest); border-radius: var(--radius); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 56px 22px 24px; position: relative; font: 700 18px/1.35 var(--font-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\ea13"; font-family: remixicon; position: absolute; right: 22px; top: 20px; font-size: 22px; color: var(--blue); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 24px; color: var(--muted); }
.faq .answer p + p { margin-top: 10px; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 14px 0 14px; }
.contact-intro { color: var(--muted); font-size: 17px; margin-bottom: 28px; }
.channels { display: grid; gap: 10px; }
.channels a, .channels div {
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink);
  background: var(--surface-lowest); border-radius: var(--radius); padding: 15px 18px; box-shadow: var(--shadow); font-weight: 600;
}
.channels a:hover { background: var(--surface-low); }
.channels i { font-size: 22px; color: var(--blue); flex: none; }
.channels .wa i { color: #19a653; }
.channels small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.channels div { font-weight: 400; font-size: 14.5px; align-items: flex-start; }
.channels div i { margin-top: 2px; }

.lead-form { background: var(--surface-lowest); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.lead-form::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--red), var(--blue)); }
.lead-title { font: 800 24px/1.15 var(--font-head); color: var(--ink); }
.lead-sub { font-size: 14.5px; color: var(--muted); margin: 4px 0 22px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 15px/1.4 var(--font-body); color: var(--ink);
  padding: 12px 14px; border: 0; border-radius: 10px; background: var(--surface-low);
  box-shadow: inset 0 0 0 1px rgba(7, 30, 39, .06); transition: box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form .btn-red { width: 100%; margin-top: 4px; }
.lead-form .btn-red:disabled { opacity: .7; cursor: wait; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.form-note a { color: var(--blue); }
.form-error { background: var(--alert-soft); color: var(--alert); border-radius: 10px; padding: 10px 12px; font-size: 14px; margin-bottom: 12px; }
.form-error a { color: var(--alert); font-weight: 700; }
.lead-done { text-align: center; padding: 34px 4px; }
.lead-done > i { font-size: 58px; color: var(--ok); }
.lead-done .lead-sub { margin: 8px 0 24px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .lead-form { padding: 26px 18px; } .field-row { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, .6); padding: 70px 0 30px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand img { height: 64px; margin-bottom: 16px; }
.footer-title { color: #fff; font: 700 16px/1.2 var(--font-head); margin-bottom: 12px; }
.footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 10px; background: var(--ink-2); display: grid; place-items: center; font-size: 20px; }
.social a:hover { background: var(--ink-3); }
.footer-bottom { margin-top: 52px; padding-top: 24px; box-shadow: 0 -1px 0 rgba(255, 255, 255, .07); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating buttons */
.to-top {
  position: fixed; right: 25px; bottom: 90px; z-index: 40; width: 44px; height: 44px; border-radius: 12px;
  background: var(--ink-2); color: #fff; font-size: 22px; display: grid; place-items: center; text-decoration: none;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 45;
  display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 17px; border-radius: 99px;
  background: var(--wa); color: #fff; text-decoration: none; font: 600 15px/1 var(--font-body);
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4), 0 2px 6px rgba(0, 0, 0, .15); transition: transform .2s;
}
.wa-float i { font-size: 26px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s ease; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float:hover span, .wa-float:focus-visible span { max-width: 160px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: wa-pulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes wa-pulse { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.35); } }
@media (min-width: 981px) { .wa-float span { max-width: 160px; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float::before, .live::before { animation: none; }
}
