:root {
  --vn-navy: #061426;
  --vn-navy-2: #0b2039;
  --vn-blue: #008fd5;
  --vn-blue-2: #0066ff;
  --vn-green: #82d400;
  --vn-yellow: #facc15;
  --vn-orange: #f97316;
  --vn-white: #ffffff;
  --vn-ink: #102033;
  --vn-muted: #607086;
  --vn-line: rgba(16, 32, 51, 0.12);
  --vn-shadow: 0 24px 70px rgba(6, 20, 38, 0.12);
}

/* VivBot: impede URLs e palavras longas de criarem rolagem horizontal. */
[data-loc="client/src/components/ChatbotWidget.tsx:97"] {
  overflow-x: hidden !important;
}

[data-loc="client/src/components/ChatbotWidget.tsx:99"],
[data-loc="client/src/components/ChatbotWidget.tsx:116"] {
  min-width: 0 !important;
}

[data-loc="client/src/components/ChatbotWidget.tsx:116"] {
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  white-space: pre-wrap !important;
}

html.vn-v7-loading body {
  opacity: 0;
}

html body {
  transition: opacity 0.18s ease;
}

.vn-v7,
.vn-v7 * {
  box-sizing: border-box;
}

.vn-v7 {
  min-height: 100vh;
  margin: 0;
  color: var(--vn-ink);
  background: #f6f9fc;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}

.vn-container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.vn-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  background: rgba(6, 20, 38, 0.94);
  backdrop-filter: blur(14px);
}

.vn-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.vn-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.vn-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.vn-brand em {
  color: var(--vn-green);
  font-style: normal;
}

.vn-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vn-menu a {
  padding: 9px 13px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.vn-menu a:hover,
.vn-menu a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.vn-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--vn-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.vn-kicker::before {
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: var(--vn-green);
  content: "";
}

.vn-title {
  margin: 0 0 18px;
  color: var(--vn-ink);
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.vn-lead {
  max-width: 720px;
  margin: 0;
  color: var(--vn-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.vn-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.vn-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.vn-btn:hover {
  transform: translateY(-2px);
}

.vn-btn-primary {
  color: #07162a;
  background: linear-gradient(90deg, var(--vn-green), #b8ed2d);
  box-shadow: 0 15px 40px rgba(130, 212, 0, 0.2);
}

.vn-btn-secondary {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.vn-btn-dark {
  color: #fff;
  background: var(--vn-navy);
  box-shadow: 0 15px 40px rgba(6, 20, 38, 0.16);
}

.vn-home-services {
  position: relative;
  z-index: 2;
  padding: 84px 0;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(0, 143, 213, 0.22), transparent 31%),
    radial-gradient(circle at 8% 88%, rgba(130, 212, 0, 0.12), transparent 28%),
    var(--vn-navy);
}

.vn-home-services-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: end;
  gap: 56px;
  margin-bottom: 38px;
}

.vn-home-services .vn-kicker {
  color: #76ccff;
}

.vn-home-services-head h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.vn-home-services-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.05rem;
  line-height: 1.7;
}

.vn-home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.vn-home-service-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  text-decoration: none;
  transition: 0.22s ease;
}

.vn-home-service-card:hover {
  border-color: rgba(130, 212, 0, 0.5);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-4px);
}

.vn-home-service-card span {
  margin-bottom: auto;
  color: var(--vn-green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.vn-home-service-card strong {
  margin: 30px 0 10px;
  font-size: 1.18rem;
}

.vn-home-service-card small {
  color: rgba(255, 255, 255, 0.61);
  font-size: 0.9rem;
  line-height: 1.55;
}

.vn-home-services-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.vn-home-text-link {
  color: rgba(255, 255, 255, 0.83);
  text-decoration: none;
  font-weight: 800;
}

.vn-home-text-link:hover {
  color: var(--vn-green);
}

.vn-contact-topics {
  margin: -8px 0 24px;
  padding: 16px;
  border: 1px solid rgba(0, 102, 255, 0.12);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.055), rgba(51, 204, 51, 0.055));
}

.vn-contact-topics > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--vn-ink);
  font-size: 0.83rem;
}

.vn-contact-topics > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 11px;
}

.vn-contact-topics span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #075985;
  background: #eaf7ff;
  font-size: 0.74rem;
  font-weight: 800;
}

.vn-contact-topics a {
  color: #0066ff;
  font-size: 0.79rem;
  font-weight: 800;
  text-decoration: none;
}

.vn-section {
  padding: 82px 0;
}

.vn-section-white {
  background: #fff;
}

.vn-section-dark {
  color: #fff;
  background: var(--vn-navy);
}

.vn-section-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.vn-section-head h2 {
  margin: 0 0 13px;
  color: inherit;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.vn-section-head p {
  margin: 0;
  color: var(--vn-muted);
  font-size: 1.08rem;
}

.vn-section-dark .vn-section-head p {
  color: rgba(255, 255, 255, 0.66);
}

.vn-grid-3,
.vn-grid-2,
.vn-grid-5 {
  display: grid;
  gap: 18px;
}

.vn-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vn-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vn-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.vn-card {
  padding: 26px;
  border: 1px solid var(--vn-line);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(6, 20, 38, 0.05);
}

.vn-card-number,
.vn-card-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 13px;
  color: var(--vn-navy);
  background: rgba(130, 212, 0, 0.16);
  font-weight: 950;
}

.vn-card h3 {
  margin: 0 0 8px;
  color: var(--vn-ink);
  font-size: 1.15rem;
  line-height: 1.25;
}

.vn-card p {
  margin: 0;
  color: var(--vn-muted);
}

.vn-footnote {
  margin: 24px auto 0;
  color: var(--vn-muted);
  font-size: 0.82rem;
  text-align: center;
}

.vn-footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.56);
  background: #03101f;
  font-size: 0.82rem;
}

.vn-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.vn-footer a {
  color: rgba(255, 255, 255, 0.78);
}

/* Página de serviços */
.vn-services-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 92px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(0, 143, 213, 0.35), transparent 30%),
    linear-gradient(135deg, #061426 0%, #0a2039 62%, #07345b 100%);
}

.vn-services-hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
}

.vn-services-hero .vn-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
}

.vn-services-hero .vn-title,
.vn-services-hero .vn-lead {
  color: #fff;
}

.vn-services-hero .vn-lead {
  color: rgba(255, 255, 255, 0.72);
}

.vn-services-hero .vn-kicker {
  color: #60cef9;
}

.vn-dashboard {
  position: relative;
  min-height: 405px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.vn-dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 800;
}

.vn-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #c8f56d;
}

.vn-live::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vn-green);
  box-shadow: 0 0 0 5px rgba(130, 212, 0, 0.12);
  content: "";
}

.vn-metric-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.vn-metric {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  background: rgba(3, 16, 31, 0.52);
}

.vn-metric small {
  display: block;
  color: rgba(255, 255, 255, 0.52);
}

.vn-metric strong {
  display: block;
  margin-top: 4px;
  font-size: 1.35rem;
}

.vn-bars {
  height: 168px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 18px;
  padding: 20px 18px 0;
  border-radius: 17px;
  background: rgba(3, 16, 31, 0.52);
}

.vn-bars i {
  flex: 1;
  min-height: 24px;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, #38bdf8, #0066ff);
  opacity: 0.9;
}

.vn-control-note {
  margin-top: 22px;
  padding: 20px 22px;
  border-left: 4px solid var(--vn-green);
  border-radius: 0 14px 14px 0;
  color: #fff;
  background: var(--vn-navy);
}

.vn-control-note strong {
  display: block;
  margin-bottom: 4px;
}

.vn-portfolio {
  overflow: hidden;
  border: 1px solid var(--vn-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--vn-shadow);
}

.vn-portfolio a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--vn-line);
  color: var(--vn-ink);
  text-decoration: none;
  font-weight: 800;
}

.vn-portfolio a:last-child {
  border-bottom: 0;
}

.vn-portfolio a span:last-child {
  color: var(--vn-blue);
  font-weight: 700;
}

.vn-portfolio a:hover {
  background: #f4f9fd;
}

.vn-cta-panel {
  padding: 50px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, #061426, #0a3459);
  box-shadow: var(--vn-shadow);
}

.vn-cta-panel h2 {
  max-width: 720px;
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
}

.vn-cta-panel p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.08rem;
}

/* Landing page FNO */
.vn-fno {
  color: #f8fafc;
  background: #020b18;
}

.vn-fno .vn-header {
  background: rgba(2, 11, 24, 0.95);
}

.vn-fno-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 74px;
  background: radial-gradient(circle at 80% 18%, rgba(0, 102, 255, 0.3), transparent 36%), #020b18;
}

.vn-fno-hero .vn-container {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 54px;
}

.vn-fno .vn-title {
  color: #fff;
}

.vn-fno .vn-title span {
  color: var(--vn-yellow);
}

.vn-fno .vn-lead {
  color: #b9c7d9;
}

.vn-fno .vn-kicker {
  color: #fde047;
}

.vn-fno-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.vn-fno-points li {
  display: flex;
  gap: 9px;
  color: #e2e8f0;
  font-size: 0.94rem;
}

.vn-fno-points li::before {
  color: var(--vn-yellow);
  font-weight: 950;
  content: "✓";
}

.vn-fno-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 27px;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.5);
}

.vn-fno-visual img {
  width: 100%;
  display: block;
}

.vn-fno-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.vn-fno-stat {
  padding: 17px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
}

.vn-fno-stat strong {
  display: block;
  color: var(--vn-yellow);
  font-size: 1.25rem;
}

.vn-fno-stat span {
  color: #9fafc3;
  font-size: 0.78rem;
}

.vn-fno .vn-section-white {
  color: var(--vn-ink);
}

.vn-fno .vn-section-dark {
  background: #071426;
}

.vn-fno .vn-card-dark {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.vn-fno .vn-card-dark h3 {
  color: #fff;
}

.vn-fno .vn-card-dark p {
  color: #aebdd0;
}

.vn-guarantee {
  display: grid;
  grid-template-columns: 0.48fr 1.52fr;
  align-items: center;
  gap: 38px;
  padding: 46px;
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(22, 101, 52, 0.28), rgba(7, 20, 38, 0.9));
}

.vn-guarantee-badge {
  width: 170px;
  height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-self: center;
  border: 4px solid #4ade80;
  border-radius: 50%;
  color: #fff;
  background: #092d1c;
  box-shadow: 0 0 0 12px rgba(74, 222, 128, 0.08), 0 25px 65px rgba(0, 0, 0, 0.28);
}

.vn-guarantee-badge strong {
  color: #4ade80;
  font-size: 3.4rem;
  line-height: 1;
}

.vn-guarantee-badge span {
  font-weight: 900;
  letter-spacing: 0.06em;
}

.vn-guarantee h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.vn-guarantee p {
  margin: 0;
  color: #b8c7d9;
  font-size: 1.08rem;
}

.vn-faq {
  display: grid;
  gap: 12px;
}

.vn-faq details {
  padding: 0 22px;
  border: 1px solid var(--vn-line);
  border-radius: 15px;
  background: #fff;
}

.vn-faq summary {
  padding: 19px 0;
  cursor: pointer;
  color: var(--vn-ink);
  font-weight: 850;
}

.vn-faq p {
  margin: -3px 0 20px;
  color: var(--vn-muted);
}

.vn-disclosure {
  max-width: 920px;
  margin: 32px auto 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.76rem;
  text-align: center;
}

/* Política de privacidade */
.vn-policy-hero {
  padding: 72px 0 58px;
  color: #fff;
  background: linear-gradient(135deg, #061426, #0a3459);
}

.vn-policy-hero .vn-title,
.vn-policy-hero .vn-lead {
  color: #fff;
}

.vn-policy-hero .vn-lead {
  color: rgba(255, 255, 255, 0.68);
}

.vn-policy-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 0 86px;
}

.vn-policy-body section {
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--vn-line);
}

.vn-policy-body section:last-child {
  border-bottom: 0;
}

.vn-policy-body h2 {
  margin: 0 0 12px;
  color: var(--vn-ink);
  font-size: 1.45rem;
}

.vn-policy-body p,
.vn-policy-body li {
  color: var(--vn-muted);
}

.vn-policy-body a {
  color: #007fbd;
  font-weight: 700;
}

@media (max-width: 900px) {
  .vn-services-hero .vn-container,
  .vn-fno-hero .vn-container,
  .vn-guarantee {
    grid-template-columns: 1fr;
  }

  .vn-grid-3,
  .vn-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vn-menu {
    display: none;
  }

  .vn-services-hero,
  .vn-fno-hero {
    padding-top: 58px;
  }

  .vn-dashboard {
    min-height: auto;
  }

  .vn-home-services-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .vn-home-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .vn-container {
    width: min(100% - 28px, 1160px);
  }

  .vn-section {
    padding: 62px 0;
  }

  .vn-home-services {
    padding: 62px 0;
  }

  .vn-home-services-grid {
    grid-template-columns: 1fr;
  }

  .vn-home-service-card {
    min-height: 190px;
  }

  .vn-home-services-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .vn-home-text-link {
    text-align: center;
  }

  section[data-loc="client/src/pages/Home.tsx:442"] {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  section[data-loc="client/src/pages/Home.tsx:442"] [data-loc="client/src/components/ScrollReveal.tsx:64"],
  section[data-loc="client/src/pages/Home.tsx:442"] [data-loc="client/src/components/ScrollReveal.tsx:92"],
  section[data-loc="client/src/pages/Home.tsx:442"] [data-loc="client/src/components/ScrollReveal.tsx:100"] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .vn-services-hero {
    padding: 52px 0 62px;
  }

  .vn-grid-3,
  .vn-grid-2,
  .vn-grid-5,
  .vn-fno-points,
  .vn-fno-stats {
    grid-template-columns: 1fr;
  }

  .vn-btn-row,
  .vn-btn {
    width: 100%;
  }

  .vn-dashboard {
    padding: 17px;
    border-radius: 20px;
  }

  .vn-metric-row {
    grid-template-columns: 1fr;
  }

  .vn-bars {
    height: 130px;
  }

  .vn-cta-panel,
  .vn-guarantee {
    padding: 30px 22px;
    border-radius: 21px;
  }

  .vn-guarantee-badge {
    width: 142px;
    height: 142px;
  }

  .vn-guarantee-badge strong {
    font-size: 2.8rem;
  }

  .vn-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .vn-portfolio a {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
