:root {
  --bg: #05080d;
  --bg-2: #081424;
  --panel: #0f1d2e;
  --panel-2: #13243a;
  --white: #ffffff;
  --text: #101828;
  --muted: #667085;
  --line: rgba(255,255,255,.14);
  --line-light: #e4e8f0;
  --blue: #2f6df6;
  --blue-2: #0b4ec9;
  --cyan: #56c4ff;
  --soft: #f6f8fb;
  --radius: 28px;
  --container: 1180px;
  --shadow: 0 28px 80px rgba(8,16,32,.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
button { font: inherit; }
.container { width: min(100% - 42px, var(--container)); margin-inline: auto; }
.section-dark { color: #fff; background: var(--bg); }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 999; background: #fff; color: #000; padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
  pointer-events: none;
}
.topbar { padding: 12px 0 0; color: rgba(255,255,255,.66); font-size: 13px; font-weight: 750; }
.topbar-inner { display: flex; justify-content: flex-end; gap: 22px; align-items: center; }
.topbar a:hover { color: #fff; }
.nav-shell {
  margin-top: 12px;
  min-height: 78px;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 26px;
  background: rgba(4,8,14,.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 70px rgba(0,0,0,.24);
  pointer-events: auto;
}
.brand img { width: 178px; filter: drop-shadow(0 10px 28px rgba(0,0,0,.45)); }
.main-nav { display: flex; justify-content: center; align-items: center; gap: 22px; }
.main-nav a {
  color: rgba(255,255,255,.76);
  font-size: 13px;
  font-weight: 850;
  transition: color .2s ease;
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.nav-cta, .header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(47,109,246,.18);
  border: 1px solid rgba(86,196,255,.34);
  font-weight: 900;
  font-size: 13px;
}
.nav-cta:hover, .header-cta:hover { background: rgba(47,109,246,.28); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.08); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 20px; height: 2px; border-radius: 99px; background: #fff; }
.mobile-nav { display: none; pointer-events: auto; }

.hero {
  position: relative;
  min-height: 780px;
  padding: 178px 0 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 26%, rgba(47,109,246,.22), transparent 32%),
    radial-gradient(circle at 20% 85%, rgba(86,196,255,.14), transparent 28%),
    linear-gradient(135deg, #05080d 0%, #07111d 45%, #132338 100%);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero-orb { position: absolute; right: -160px; top: 90px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(86,196,255,.18), transparent 68%); filter: blur(10px); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,8,13,.95), rgba(5,8,13,.58), rgba(5,8,13,.38)); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .96fr 1.04fr; gap: 56px; align-items: center; }
.eyebrow, .section-label {
  display: inline-flex;
  width: fit-content;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  font-weight: 950;
}
.eyebrow { padding: 10px 14px; border-radius: 999px; color: #75b8ff; background: rgba(47,109,246,.16); border: 1px solid rgba(86,196,255,.35); margin-bottom: 26px; }
.hero h1 { margin: 0; color: #fff; font-size: clamp(54px, 6.2vw, 92px); line-height: .93; letter-spacing: -.07em; font-weight: 950; }
.hero-lead { max-width: 620px; margin: 28px 0 0; color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.68; }
.hero-lead strong { color: #fff; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 62px; padding: 13px 22px; border-radius: 16px; font-size: 15px; font-weight: 900; transition: transform .22s ease, box-shadow .22s ease, background .22s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn strong { display: block; line-height: 1.05; }
.btn small { display: block; margin-top: 4px; font-size: 12px; opacity: .78; }
.btn-primary { color: #fff; background: linear-gradient(135deg, #3d7cff, #1155dc); box-shadow: 0 18px 42px rgba(47,109,246,.32); }
.btn-secondary { color: #fff; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.055); }
.btn-dark { color: #fff; background: #111827; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; max-width: 620px; }
.hero-stats div { padding: 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.045); backdrop-filter: blur(10px); }
.hero-stats strong { display: block; color: #fff; font-size: 25px; line-height: 1; }
.hero-stats span { display: block; margin-top: 8px; color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.35; font-weight: 750; }
.hero-media { border: 1px solid rgba(255,255,255,.14); border-radius: 34px; overflow: hidden; background: #02060d; box-shadow: 0 44px 110px rgba(0,0,0,.46); }
.hero-media img { width: 100%; height: auto; object-fit: contain; object-position: center; background: #02060d; }

.quick-services { position: relative; z-index: 3; margin-top: -48px; padding-bottom: 48px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quick-card { min-height: 210px; padding: 28px; border-radius: 26px; background: #fff; border: 1px solid var(--line-light); box-shadow: var(--shadow); }
.quick-card span { color: var(--blue); font-weight: 950; letter-spacing: .08em; }
.quick-card h2 { margin: 18px 0 10px; font-size: 24px; letter-spacing: -.04em; }
.quick-card p { margin: 0; color: var(--muted); line-height: 1.65; }

.services-section, .solutions-section, .security-section, .process-section, .news-section, .partners-section { padding: 88px 0; }
.section-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 60px; align-items: start; }
.section-copy { position: sticky; top: 30px; }
.section-copy h2, .section-title h2, .news-head h2, .partner-copy h2, .cta-card h2 { margin: 14px 0 16px; font-size: clamp(36px, 4vw, 58px); line-height: 1; letter-spacing: -.06em; }
.section-copy p, .section-title p, .news-head p, .partner-copy p, .cta-card p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.72; }
.text-link { display: inline-flex; margin-top: 24px; color: var(--blue); font-weight: 950; }
.services-list { display: grid; gap: 16px; }
.service-row { display: grid; grid-template-columns: 68px 1fr; gap: 20px; padding: 24px; border: 1px solid var(--line-light); border-radius: 26px; background: #fff; box-shadow: 0 12px 38px rgba(8,16,32,.07); }
.service-icon { width: 62px; height: 62px; display: grid; place-items: center; color: var(--blue); border-radius: 18px; background: rgba(47,109,246,.09); }
.service-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-row h3 { margin: 0 0 8px; font-size: 23px; letter-spacing: -.035em; }
.service-row p { margin: 0; color: var(--muted); line-height: 1.64; }

.solutions-section { background: linear-gradient(180deg, #f6f8fb, #fff); }
.center { text-align: center; max-width: 780px; margin-inline: auto; }
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; }
.solution-card { display: flex; flex-direction: column; min-height: 330px; padding: 24px; border-radius: 28px; border: 1px solid var(--line-light); background: #fff; box-shadow: 0 12px 38px rgba(8,16,32,.07); transition: transform .22s ease, box-shadow .22s ease; }
.solution-card:hover { transform: translateY(-4px); box-shadow: 0 22px 55px rgba(8,16,32,.12); }
.solution-card img { height: 76px; object-fit: contain; object-position: left center; margin-bottom: 26px; }
.solution-card h3 { margin: auto 0 10px; font-size: 21px; letter-spacing: -.04em; }
.solution-card p { margin: 0; color: var(--muted); line-height: 1.6; }

.security-section { background: linear-gradient(135deg, #03060a, #081626 54%, #111f32); }
.security-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 40px; align-items: center; }
.security-section .section-copy { position: relative; top: auto; }
.security-section h2, .security-section p { color: #fff; }
.security-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.security-card { min-height: 210px; padding: 24px; border-radius: 24px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.045); }
.security-card span { color: var(--cyan); font-weight: 950; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.security-card h3 { margin: 24px 0 10px; font-size: 22px; letter-spacing: -.035em; }
.security-card p { color: rgba(255,255,255,.68); }

.process-section { background: #fff; }
.process-timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.process-timeline::before { content: ""; position: absolute; left: 8%; right: 8%; top: 32px; height: 2px; background: linear-gradient(90deg, transparent, rgba(47,109,246,.65), transparent); }
.process-step { position: relative; padding: 28px; border-radius: 26px; border: 1px solid var(--line-light); background: linear-gradient(180deg, #fff, #f7f9fd); box-shadow: 0 12px 38px rgba(8,16,32,.07); }
.process-step span { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-2)); font-weight: 950; box-shadow: 0 0 0 8px rgba(47,109,246,.12); }
.process-step h3 { margin: 26px 0 10px; font-size: 23px; }
.process-step p { margin: 0; color: var(--muted); line-height: 1.6; }

.news-section { background: #f6f8fb; }
.news-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 34px; }
.news-head > div { max-width: 760px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card { display: flex; flex-direction: column; min-height: 300px; padding: 26px; border-radius: 28px; border: 1px solid var(--line-light); background: linear-gradient(180deg, #fff, #f8fafc); box-shadow: 0 12px 38px rgba(8,16,32,.07); }

.news-card.has-image { padding-top: 18px; }
.news-image { width: 100%; height: 170px; object-fit: contain; object-position: center; margin-bottom: 18px; border-radius: 18px; background: #f3f4f6; padding: 14px; }

.news-meta { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 22px; }
.news-meta time { color: var(--muted); font-size: 13px; font-weight: 850; }
.news-tag { color: var(--blue); background: rgba(47,109,246,.09); padding: 7px 10px; border-radius: 999px; font-size: 12px; font-weight: 950; }
.news-card h3 { margin: 0 0 12px; font-size: 23px; line-height: 1.15; letter-spacing: -.035em; }
.news-card p { margin: 0 0 22px; color: var(--muted); line-height: 1.62; }
.news-card a { margin-top: auto; color: var(--blue); font-weight: 950; }
.noscript-note { padding: 18px; border-radius: 18px; background: #fff; color: #475467; }

.partners-section { background: #fff; }
.partner-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: center; }
.partner-card { min-height: 250px; padding: 32px; border-radius: 32px; color: #fff; background: radial-gradient(circle at 80% 20%, rgba(86,196,255,.22), transparent 35%), linear-gradient(135deg, #07111d, #101b2a); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 70px rgba(8,16,32,.18); }
.partner-card span { color: var(--cyan); font-weight: 950; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.partner-card strong { display: block; margin-top: 38px; font-size: 54px; letter-spacing: -.06em; }
.partner-card small { display: block; margin-top: 10px; color: rgba(255,255,255,.72); font-weight: 760; }

.cta-section { padding: 26px 0 80px; background: #fff; }
.cta-card { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 30px; border-radius: 30px; color: #fff; background: linear-gradient(135deg, #07111d, #0b4ec9); box-shadow: 0 26px 70px rgba(11,78,201,.22); }
.cta-card h2 { color: #fff; }
.cta-card p { color: rgba(255,255,255,.74); }

.site-footer { padding: 46px 0 24px; color: rgba(255,255,255,.72); background: linear-gradient(180deg, #07111d, #03060a); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1.25fr; gap: 42px; }
.footer-brand img { width: 210px; margin-bottom: 16px; }
.footer-brand p, .footer-contact p { margin: 0 0 15px; line-height: 1.58; font-size: 14px; }
.site-footer h3 { margin: 0 0 14px; color: #fff; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.site-footer a { display: block; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.9; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom div { display: flex; gap: 24px; }
.footer-bottom small, .footer-bottom a { font-size: 12px; color: rgba(255,255,255,.54); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.legal-page { background: #f5f7fb; }
.legal-header { padding: 24px 0; background: linear-gradient(135deg, #020407, #07111d 58%, #03060a); }
.legal-header .container { display: flex; justify-content: space-between; align-items: center; }
.legal-hero { padding: 84px 0 70px; background: linear-gradient(135deg, #020407, #07111d 58%, #03060a); }
.legal-hero h1 { margin: 16px 0 18px; max-width: 900px; font-size: clamp(38px, 5.2vw, 72px); line-height: 1; letter-spacing: -.055em; color: #fff; }
.legal-hero p { max-width: 860px; color: rgba(255,255,255,.76); font-size: 17px; line-height: 1.7; }
.legal-content { padding: 54px 0 70px; }
.legal-card { padding: clamp(26px, 4vw, 54px); border-radius: 28px; background: #fff; border: 1px solid #e6ebf3; box-shadow: 0 18px 60px rgba(8,16,32,.08); }
.legal-card h2 { margin: 32px 0 12px; color: #101827; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; letter-spacing: -.025em; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: #475467; font-size: 16px; line-height: 1.75; }
.legal-card a { color: var(--blue); font-weight: 850; }

@media (max-width: 1120px) {
  .nav-shell { grid-template-columns: 170px 1fr auto; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 12px; }
  .hero-grid, .section-grid, .security-grid, .partner-layout { grid-template-columns: 1fr; }
  .section-copy { position: relative; top: auto; }
  .solutions-grid, .process-timeline, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid, .quick-grid, .security-cards { grid-template-columns: repeat(2, 1fr); }
  .hero-media { max-width: 760px; margin-inline: auto; }
}
@media (max-width: 820px) {
  .topbar { display: none; }
  .site-header { padding-top: 14px; }
  .nav-shell { grid-template-columns: 1fr auto; border-radius: 22px; }
  .brand img { width: 158px; }
  .main-nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; justify-self: end; }
  .mobile-nav { width: min(100% - 40px, var(--container)); margin: 10px auto 0; padding: 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(5,8,13,.94); backdrop-filter: blur(16px); }
  .mobile-nav.open { display: grid; gap: 4px; }
  .mobile-nav a { color: #fff; padding: 12px; border-radius: 10px; font-weight: 850; }
  .mobile-nav a:hover { background: rgba(255,255,255,.08); }
  .hero { min-height: auto; padding-top: 128px; }
  .hero h1 { font-size: clamp(44px, 13vw, 66px); }
  .hero-stats, .quick-grid, .solutions-grid, .process-timeline, .news-grid, .footer-grid, .security-cards { grid-template-columns: 1fr; }
  .hero-actions, .cta-actions { align-items: stretch; }
  .btn { width: 100%; justify-content: flex-start; }
  .news-head, .cta-card { flex-direction: column; align-items: stretch; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom div { flex-direction: column; gap: 8px; }
}
@media (max-width: 460px) {
  .container, .nav-shell, .mobile-nav { width: min(100% - 28px, var(--container)); }
  .service-row { grid-template-columns: 1fr; }
  .quick-card, .service-row, .solution-card, .news-card, .cta-card { padding: 22px; }
}


/* Correção logotipo nas páginas legais */
.legal-header .header-inner {
  width: min(100% - 42px, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.legal-header .header-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 210px;
  max-width: 42vw;
}
.legal-header .header-logo img {
  width: 190px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.45));
}
@media (max-width: 820px) {
  .legal-header .header-inner {
    width: min(100% - 28px, var(--container));
  }
  .legal-header .header-logo {
    width: 160px;
  }
  .legal-header .header-logo img {
    width: 150px;
  }
}
