/*
  Webviewer — versão refeita: minimalista, clara, com tipografia consistente,
  imagens proporcionais e animações suaves por rolagem.
*/

:root {
  --bg: #f5f5f7;
  --paper: #ffffff;
  --paper-soft: #fbfbfd;
  --ink: #1d1d1f;
  --ink-soft: #3a3a3c;
  --muted: #6e6e73;
  --muted-light: #8e8e93;
  --blue: #0071e3;
  --blue-soft: #e8f2ff;
  --line: rgba(0, 0, 0, .10);
  --line-soft: rgba(0, 0, 0, .06);
  --shadow: 0 20px 55px rgba(0, 0, 0, .09);
  --shadow-soft: 0 12px 34px rgba(0, 0, 0, .06);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max: 1160px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #f5f5f7 38%, #fbfbfd 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
  letter-spacing: -.01em;
}

::selection {
  color: #fff;
  background: var(--blue);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  transition: transform .25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #40c8ff);
  transform-origin: left center;
  transform: scaleX(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 64px;
  padding: 0 max(22px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(251, 251, 253, .82);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
}

.brand-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 136px;
  max-height: 38px;
  object-fit: contain;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.nav-shell a {
  padding: 9px 12px;
  border-radius: 999px;
  color: rgba(29, 29, 31, .78);
  font-size: 13px;
  font-weight: 600;
  transition: color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease);
}

.nav-shell a:hover {
  color: #000;
  background: rgba(0, 0, 0, .05);
  transform: translateY(-1px);
}

main {
  width: 100%;
}

.hero-section {
  width: min(calc(100% - 36px), 1280px);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) 0 clamp(36px, 6vw, 78px);
  text-align: center;
}

.hero-copy {
  max-width: 930px;
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: clamp(15px, 1.45vw, 18px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.hero-copy::before {
  content: "Webviewer";
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.hero-copy h1 {
  max-width: 930px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.03;
  letter-spacing: -.045em;
  font-weight: 800;
}

.hero-lead {
  max-width: 710px;
  margin: 24px auto 0;
  color: var(--ink-soft);
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.28;
  letter-spacing: -.025em;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.btn,
.play-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), background .24s var(--ease), color .24s var(--ease), border-color .24s var(--ease);
}

.btn-primary,
.play-link {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(0, 113, 227, .22);
}

.btn-primary:hover,
.play-link:hover {
  transform: translateY(-2px);
  background: #0077ed;
  box-shadow: 0 14px 30px rgba(0, 113, 227, .26);
}

.btn-secondary {
  color: var(--blue);
  background: transparent;
}

.btn-secondary:hover {
  background: var(--blue-soft);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  width: min(100%, 1100px);
  margin: clamp(42px, 6vw, 72px) auto 0;
  display: grid;
  place-items: center;
}

.screen-frame {
  position: relative;
  width: min(100%, 1040px);
  margin: 0;
  border-radius: clamp(20px, 3vw, 34px);
  background: transparent;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
}

.screen-frame img {
  width: 100%;
  max-height: min(66vh, 690px);
  object-fit: contain;
  object-position: center bottom;
  border-radius: clamp(18px, 3vw, 30px);
}

.orb,
.floating-note {
  display: none;
}

.solution-ribbon {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto clamp(48px, 7vw, 88px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.solution-ribbon article,
.service-matrix article {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .84);
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}

.solution-ribbon article {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.solution-ribbon article::before,
.service-matrix article::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0, 113, 227, .14), transparent 34%);
  transition: opacity .28s var(--ease);
}

.solution-ribbon article:hover,
.service-matrix article:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 113, 227, .18);
  box-shadow: var(--shadow);
  background: #fff;
}

.solution-ribbon article:hover::before,
.service-matrix article:hover::before {
  opacity: 1;
}

.solution-ribbon span,
.matrix-number {
  display: inline-flex;
  width: max-content;
  margin-bottom: 26px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.solution-ribbon h2,
.service-matrix h3 {
  margin: auto 0 12px;
  color: var(--ink);
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 800;
}

.solution-ribbon p,
.service-matrix p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.split-panel,
.simplicity-lab,
.insight-section,
.erp-section,
.accountant-section {
  width: min(calc(100% - 36px), var(--max));
  margin: clamp(42px, 7vw, 92px) auto;
}

.split-panel,
.insight-section,
.erp-section,
.accountant-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.split-panel,
.simplicity-lab,
.video-band,
.insight-section,
.erp-section,
.accountant-card {
  padding: clamp(24px, 4.6vw, 58px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-soft);
}

.image-stack,
.lab-image,
.insight-image,
.erp-section figure,
.accountant-card figure {
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  background: transparent;
  overflow: hidden;
}

.image-stack img,
.lab-image img,
.insight-image img,
.erp-section img,
.accountant-card figure img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-position: center;
  transition: transform .8s var(--ease), filter .8s var(--ease);
}

.image-stack {
  min-height: 520px;
  max-height: 640px;
}

.image-stack img {
  object-fit: contain;
}

.lab-image {
  min-height: 420px;
  max-height: 560px;
}

.lab-image img {
  object-fit: contain;
}

.insight-image {
  min-height: 460px;
  max-height: 620px;
}

.insight-image img {
  object-fit: contain;
}

.erp-section figure,
.accountant-card figure {
  min-height: 390px;
  max-height: 520px;
}

.erp-section img,
.accountant-card figure img {
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.image-stack:hover img,
.lab-image:hover img,
.insight-image:hover img,
.erp-section figure:hover img,
.accountant-card figure:hover img {
  transform: scale(1.018);
}

.panel-copy,
.section-heading,
.insight-copy,
.erp-section > div,
.accountant-copy {
  max-width: 600px;
}

.panel-copy h2,
.section-heading h2,
.insight-copy h2,
.erp-section h2,
.accountant-copy h2,
.video-band h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 800;
}

.panel-copy p:not(.section-kicker),
.section-heading p:not(.section-kicker),
.insight-copy p:not(.section-kicker),
.erp-section p:not(.section-kicker),
.accountant-copy p:not(.section-kicker) {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.55;
  letter-spacing: -.018em;
  font-weight: 500;
}

.simplicity-lab {
  background: #fff;
}

.section-heading {
  max-width: 830px;
  margin: 0 auto clamp(30px, 5vw, 56px);
  text-align: center;
}

.lab-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 20px;
  align-items: stretch;
}

.service-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-matrix article {
  min-height: 250px;
}

.video-band {
  width: min(calc(100% - 36px), var(--max));
  margin: clamp(42px, 7vw, 92px) auto;
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #111216, #252833);
  color: #fff;
}

.video-band h2,
.video-band .section-kicker {
  color: #fff;
}

.video-band .section-kicker {
  opacity: .72;
}

.insight-section {
  grid-template-columns: .82fr 1.18fr;
}

.erp-section {
  grid-template-columns: .95fr 1.05fr;
}

.erp-section > div p + p,
.accountant-copy > p + p,
.benefit-list p + p {
  margin-top: 14px !important;
}

.accountant-section {
  width: min(calc(100% - 36px), 1280px);
}

.accountant-card {
  width: 100%;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}

.benefit-list {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.benefit-list p {
  position: relative;
  margin: 0 !important;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--paper-soft);
  color: var(--ink-soft);
}

.benefit-list strong {
  color: var(--ink);
}

.site-footer {
  width: min(calc(100% - 36px), var(--max));
  margin: clamp(54px, 8vw, 100px) auto 24px;
  padding: clamp(26px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, .7fr) minmax(180px, .5fr);
  gap: 28px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .78);
}

.footer-logo {
  width: 86px;
  max-height: 88px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 360px;
  color: var(--muted);
}

.footer-links,
.social-links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
}

.footer-links a,
.social-links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  transition: color .22s var(--ease), transform .22s var(--ease);
}

.footer-links a:hover,
.social-links a:hover {
  color: var(--blue);
  transform: translateX(3px);
}

/* Animações ativadas por rolagem */
.js-enabled .reveal-item {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(.985);
  filter: blur(10px);
  transition:
    opacity .75s var(--ease) var(--reveal-delay, 0ms),
    transform .75s var(--ease) var(--reveal-delay, 0ms),
    filter .75s var(--ease) var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.js-enabled .reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.js-enabled .reveal-left {
  transform: translate3d(-34px, 24px, 0) scale(.985);
}

.js-enabled .reveal-right {
  transform: translate3d(34px, 24px, 0) scale(.985);
}

.js-enabled .reveal-left.is-visible,
.js-enabled .reveal-right.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js-enabled .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-shell {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .solution-ribbon,
  .split-panel,
  .insight-section,
  .erp-section,
  .accountant-card,
  .lab-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .split-panel,
  .insight-section,
  .erp-section,
  .accountant-card {
    gap: 28px;
  }

  .image-stack,
  .lab-image,
  .insight-image,
  .erp-section figure,
  .accountant-card figure {
    min-height: auto;
    max-height: none;
  }

  .image-stack img,
  .lab-image img,
  .insight-image img,
  .erp-section img,
  .accountant-card figure img {
    height: auto;
    max-height: 560px;
    object-fit: contain;
  }

  .erp-section figure,
  .accountant-card figure {
    order: -1;
  }

  .video-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  :root {
    --radius-xl: 26px;
    --radius-lg: 20px;
  }

  .brand-pill {
    display: none;
  }

  .brand-logo {
    width: 126px;
  }

  .nav-shell a {
    font-size: 12px;
    padding: 8px 10px;
  }

  .hero-section,
  .solution-ribbon,
  .split-panel,
  .simplicity-lab,
  .video-band,
  .insight-section,
  .erp-section,
  .accountant-section,
  .site-footer {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero-section {
    padding-top: 46px;
  }

  .hero-copy h1 {
    font-size: clamp(36px, 12vw, 52px);
    letter-spacing: -.038em;
  }

  .hero-lead {
    font-size: 19px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn,
  .play-link {
    width: 100%;
    max-width: 310px;
  }

  .solution-ribbon,
  .service-matrix {
    grid-template-columns: 1fr;
  }

  .split-panel,
  .simplicity-lab,
  .video-band,
  .insight-section,
  .erp-section,
  .accountant-card {
    padding: 22px;
  }

  .panel-copy h2,
  .section-heading h2,
  .insight-copy h2,
  .erp-section h2,
  .accountant-copy h2,
  .video-band h2 {
    font-size: clamp(31px, 9vw, 42px);
    letter-spacing: -.035em;
  }

  .screen-frame img {
    max-height: 440px;
  }

  .image-stack img,
  .lab-image img,
  .insight-image img,
  .erp-section img,
  .accountant-card figure img {
    max-height: 430px;
  }

  .site-footer {
    gap: 22px;
  }
}

@media (max-width: 420px) {
  .nav-shell {
    gap: 0;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .solution-ribbon article,
  .service-matrix article {
    min-height: auto;
  }
}

/* Correções finais solicitadas: fonte natural, imagens dimensionadas e animações sem áreas vazias */
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.hero-copy h1,
.panel-copy h2,
.section-heading h2,
.insight-copy h2,
.erp-section h2,
.accountant-copy h2,
.video-band h2,
.solution-ribbon h2,
.service-matrix h3 {
  font-family: inherit;
  font-weight: 750;
}

.hero-copy h1 {
  font-size: clamp(44px, 6.4vw, 76px);
  letter-spacing: -.042em;
}

.hero-lead {
  font-size: clamp(19px, 1.85vw, 25px);
  font-weight: 450;
}

.screen-frame {
  width: min(100%, 980px);
  overflow: visible;
}

.screen-frame img {
  width: 100%;
  height: auto;
  max-height: 610px;
  object-fit: contain;
  border-radius: 0;
}

.image-stack,
.lab-image,
.insight-image,
.erp-section figure,
.accountant-card figure {
  width: 100%;
  background: transparent !important;
  box-shadow: none !important;
}

.image-stack {
  min-height: 0;
  max-height: none;
  aspect-ratio: 4 / 5;
  align-self: center;
}

.image-stack img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
}

.lab-image {
  min-height: 0;
  max-height: none;
  aspect-ratio: 16 / 10;
  align-self: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  clip-path: inset(0 round var(--radius-lg));
}

.lab-image img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  clip-path: inset(0 round var(--radius-lg));
}

.insight-image {
  min-height: 0;
  max-height: none;
  aspect-ratio: 16 / 10;
}

.insight-image img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
}

.erp-section figure,
.accountant-card figure {
  min-height: 0;
  max-height: none;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.erp-section img,
.accountant-card figure img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
}

.simplicity-lab {
  padding-top: clamp(28px, 4.4vw, 54px);
}

.section-heading {
  margin-bottom: clamp(24px, 4vw, 42px);
}

.js-enabled .reveal-item {
  opacity: 1;
  transform: translate3d(0, 28px, 0) scale(.992);
  filter: none;
  transition:
    transform .82s var(--ease) var(--reveal-delay, 0ms),
    box-shadow .28s var(--ease),
    background .28s var(--ease),
    border-color .28s var(--ease);
  will-change: transform;
}

.js-enabled .reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: none;
}

.js-enabled .reveal-left {
  transform: translate3d(-24px, 24px, 0) scale(.992);
}

.js-enabled .reveal-right {
  transform: translate3d(24px, 24px, 0) scale(.992);
}

@media (max-width: 980px) {
  .screen-frame img {
    max-height: 560px;
  }

  .image-stack,
  .lab-image,
  .insight-image,
  .erp-section figure,
  .accountant-card figure {
    aspect-ratio: auto;
  }

  .image-stack img,
  .lab-image img,
  .insight-image img,
  .erp-section img,
  .accountant-card figure img {
    height: auto;
    max-height: 480px;
    object-fit: contain;
  }
}

@media (max-width: 720px) {
  .hero-copy h1 {
    font-size: clamp(36px, 11vw, 50px);
  }

  .screen-frame img,
  .image-stack img,
  .lab-image img,
  .insight-image img,
  .erp-section img,
  .accountant-card figure img {
    max-height: 390px;
  }
}

/* =========================================================
   Animações de rolagem estilo Apple.com: movimento contínuo,
   escala, opacidade e parallax aplicado em imagens e blocos
   ========================================================= */
.scroll-animate {
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
}

.scroll-media {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.scroll-media img,
.screen-frame,
.floating-note,
.hero-copy {
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
}

.scroll-media img {
  transform-origin: center center;
}

.scroll-text {
  transform-origin: center top;
}

.scroll-card {
  transform-origin: center center;
}

.solution-ribbon article,
.service-matrix article,
.benefit-list p,
.video-band {
  will-change: transform, opacity, filter;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-animate,
  .scroll-media img,
  .screen-frame,
  .floating-note,
  .hero-copy {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

/* =========================================================
   Correção: dropdown original de Soluções + logo sem fundo
   ========================================================= */
.brand-card > a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.brand-card > a:hover {
  background: transparent !important;
  transform: none !important;
}

.brand-logo {
  display: block;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  mix-blend-mode: normal;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: .72;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}

.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown:focus-within .nav-dropdown-trigger::after {
  transform: rotate(225deg) translateY(-1px);
  opacity: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  min-width: 292px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .13);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px) scale(.98);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s var(--ease);
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 14px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.nav-shell .nav-dropdown-menu a {
  display: block;
  width: 100%;
  padding: 11px 13px;
  border-radius: 14px;
  color: rgba(29, 29, 31, .82);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  background: transparent;
  transform: none;
}

.nav-shell .nav-dropdown-menu a:hover,
.nav-shell .nav-dropdown-menu a:focus-visible {
  color: #000;
  background: rgba(0, 113, 227, .09);
  outline: none;
}

@media (max-width: 980px) {
  .nav-shell {
    overflow: visible;
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .nav-dropdown-menu {
    left: 0;
    transform: translateY(8px) scale(.98);
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 620px) {
  .site-header {
    position: relative;
  }

  .nav-dropdown {
    position: static;
  }

  .nav-dropdown-menu {
    left: 18px;
    right: 18px;
    top: auto;
    width: auto;
    min-width: 0;
    transform: translateY(8px) scale(.98);
  }

  .nav-shell .nav-dropdown-menu a {
    white-space: normal;
  }
}

.nav-dropdown.is-open .nav-dropdown-trigger::after {
  transform: rotate(225deg) translateY(-1px);
  opacity: 1;
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

@media (max-width: 980px) {
  .nav-dropdown.is-open .nav-dropdown-menu {
    transform: translateY(0) scale(1);
  }
}


/* =========================================================
   Páginas internas Webviewer: reutilizam o visual Apple-like
   da home, com seções, cards e imagens consistentes.
   ========================================================= */
.nav-shell a.is-current,
.nav-shell a[aria-current="page"] {
  color: #000;
  background: rgba(0, 113, 227, .10);
}

.internal-page .internal-hero {
  padding-top: clamp(56px, 7vw, 92px);
  padding-bottom: clamp(24px, 4vw, 54px);
}

.internal-page .internal-hero .hero-copy {
  max-width: 980px;
}

.internal-page .internal-hero .hero-copy::before {
  content: "Webviewer";
}

.internal-screen {
  width: min(100%, 840px);
  max-height: 520px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, .62);
  box-shadow: var(--shadow-soft);
}

.internal-screen img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-lg);
}

.internal-page .solution-ribbon {
  margin-top: clamp(16px, 3vw, 34px);
}

.internal-page .solution-ribbon article {
  min-height: 260px;
}

.split-panel.split-reverse .image-stack {
  order: 2;
}

.internal-page .image-stack {
  aspect-ratio: 16 / 10;
  min-height: 0;
  max-height: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  clip-path: inset(0 round var(--radius-lg));
}

.internal-page .image-stack img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
}

.internal-page .internal-cta h2 {
  max-width: 820px;
}

.internal-page .lab-image {
  aspect-ratio: 16 / 10;
  min-height: 0;
  max-height: none;
  align-self: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  clip-path: inset(0 round var(--radius-lg));
}

.internal-page .lab-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
}

.internal-page .screen-frame img[src$="logo2.png"] {
  max-width: min(320px, 64vw);
  padding: clamp(36px, 7vw, 84px);
}

@media (max-width: 980px) {
  .split-panel.split-reverse .image-stack {
    order: -1;
  }

  .internal-page .image-stack,
  .internal-page .lab-image {
    aspect-ratio: auto;
  }

  .internal-page .image-stack img,
  .internal-page .lab-image img {
    height: auto;
    max-height: 480px;
    object-fit: contain;
  }
}

/* =========================================================
   Transições cromáticas entre seções — navegação mais fluida
   Inspirado na alternância de fundos de páginas institucionais
   modernas, com faixas full-bleed atrás dos blocos existentes.
   ========================================================= */
:root {
  --wash-blue: linear-gradient(180deg, #fbfdff 0%, #eef7ff 48%, #f7fbff 100%);
  --wash-cyan: linear-gradient(135deg, #eef9ff 0%, #f5fbff 45%, #edf8f7 100%);
  --wash-lavender: linear-gradient(135deg, #f6f2ff 0%, #fbfdff 48%, #ecf6ff 100%);
  --wash-mint: linear-gradient(135deg, #effbf7 0%, #f8fcff 50%, #eef5ff 100%);
  --wash-warm: linear-gradient(135deg, #fff8ec 0%, #fbfdff 48%, #edf7ff 100%);
  --wash-ink: radial-gradient(circle at 12% 0%, rgba(0, 113, 227, .28), transparent 34%), linear-gradient(135deg, #0d1424 0%, #172742 50%, #06111d 100%);
  --glass-panel: linear-gradient(145deg, rgba(255,255,255,.86), rgba(246,251,255,.68));
  --glass-panel-strong: linear-gradient(145deg, rgba(255,255,255,.92), rgba(242,248,255,.76));
}

html {
  background: #f7fbff;
}

body {
  background:
    radial-gradient(circle at 8% 8%, rgba(0, 113, 227, .10), transparent 28%),
    radial-gradient(circle at 92% 22%, rgba(90, 92, 255, .08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 42%, #f8fbff 100%);
}

main {
  position: relative;
  overflow: hidden;
}

.hero-section,
.solution-ribbon,
.split-panel,
.simplicity-lab,
.video-band,
.insight-section,
.erp-section,
.accountant-section,
.contact-shell,
.social-hub,
.plans-summary,
.pricing-lab,
.plans-note {
  position: relative;
  isolation: isolate;
  --section-wash: var(--wash-blue);
}

.hero-section::before,
.solution-ribbon::before,
.split-panel::before,
.simplicity-lab::before,
.video-band::before,
.insight-section::before,
.erp-section::before,
.accountant-section::before,
.contact-shell::before,
.social-hub::before,
.plans-summary::before,
.pricing-lab::before,
.plans-note::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: clamp(-44px, -4vw, -22px);
  bottom: clamp(-44px, -4vw, -22px);
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--section-wash);
  pointer-events: none;
}

main > section:nth-of-type(1) { --section-wash: var(--wash-blue); }
main > section:nth-of-type(2) { --section-wash: var(--wash-cyan); }
main > section:nth-of-type(3) { --section-wash: var(--wash-lavender); }
main > section:nth-of-type(4) { --section-wash: var(--wash-mint); }
main > section:nth-of-type(5) { --section-wash: var(--wash-warm); }
main > section:nth-of-type(6) { --section-wash: var(--wash-lavender); }
main > section:nth-of-type(7) { --section-wash: var(--wash-cyan); }

.hero-section {
  background:
    radial-gradient(circle at 18% 4%, rgba(0, 113, 227, .13), transparent 34%),
    radial-gradient(circle at 82% 16%, rgba(102, 92, 255, .10), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.36));
  border-radius: 0 0 clamp(32px, 5vw, 72px) clamp(32px, 5vw, 72px);
}

.split-panel,
.simplicity-lab,
.insight-section,
.erp-section,
.accountant-card,
.contact-shell,
.social-hub,
.plans-note {
  background: var(--glass-panel) !important;
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border-color: rgba(255, 255, 255, .68) !important;
  box-shadow: 0 24px 70px rgba(26, 64, 120, .10), inset 0 1px 0 rgba(255,255,255,.76) !important;
}

.solution-ribbon article,
.service-matrix article,
.benefit-list p,
.plans-summary article,
.plans-note li,
.contact-mini-list article,
.contact-form-card,
.contact-card,
.social-tile {
  background: var(--glass-panel-strong) !important;
  border-color: rgba(255, 255, 255, .70) !important;
  box-shadow: 0 18px 46px rgba(33, 75, 126, .09), inset 0 1px 0 rgba(255,255,255,.78) !important;
}

.simplicity-lab::after,
.social-hub::after,
.pricing-lab::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: min(-8vw, -34px);
  bottom: min(-8vw, -48px);
  width: clamp(220px, 28vw, 430px);
  height: clamp(220px, 28vw, 430px);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 113, 227, .13), transparent 67%);
  filter: blur(4px);
  pointer-events: none;
}

.video-band,
.internal-cta,
.plans-cta,
.contact-cta {
  --section-wash: linear-gradient(180deg, #eef6ff 0%, #f7fbff 100%);
  background: var(--wash-ink) !important;
  border-color: rgba(255,255,255,.14) !important;
  box-shadow: 0 34px 90px rgba(7, 21, 40, .24), inset 0 1px 0 rgba(255,255,255,.14) !important;
}

.video-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1px;
  border-radius: inherit;
  background: radial-gradient(circle at 86% 18%, rgba(79, 190, 255, .28), transparent 34%);
  pointer-events: none;
}

.site-footer {
  background:
    radial-gradient(circle at 16% 0%, rgba(0, 113, 227, .20), transparent 36%),
    linear-gradient(135deg, rgba(12, 20, 34, .96), rgba(20, 35, 58, .92)) !important;
  border-color: rgba(255, 255, 255, .12) !important;
  box-shadow: 0 28px 80px rgba(4, 14, 28, .24) !important;
}

.site-footer h2,
.site-footer .footer-brand p,
.site-footer .footer-links a,
.site-footer .social-links a {
  color: rgba(255,255,255,.78) !important;
}

.site-footer .footer-links h2 {
  color: #fff !important;
}

.site-footer .footer-links a:hover,
.site-footer .social-links a:hover {
  color: #7cc7ff !important;
}

.internal-page .internal-hero::before,
.contact-hero::before,
.plans-hero::before {
  background:
    radial-gradient(circle at 16% 0%, rgba(0,113,227,.16), transparent 38%),
    radial-gradient(circle at 86% 18%, rgba(105,92,255,.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #eef7ff 100%);
}

@media (max-width: 720px) {
  .hero-section::before,
  .solution-ribbon::before,
  .split-panel::before,
  .simplicity-lab::before,
  .video-band::before,
  .insight-section::before,
  .erp-section::before,
  .accountant-section::before,
  .contact-shell::before,
  .social-hub::before,
  .plans-summary::before,
  .pricing-lab::before,
  .plans-note::before {
    top: -26px;
    bottom: -26px;
  }

  .split-panel,
  .simplicity-lab,
  .insight-section,
  .erp-section,
  .accountant-card,
  .contact-shell,
  .social-hub,
  .plans-note {
    box-shadow: 0 16px 44px rgba(26, 64, 120, .08), inset 0 1px 0 rgba(255,255,255,.72) !important;
  }
}

/* =========================================================
   Correção de contraste — textos em azul escuro nas seções claras
   ========================================================= */
:root {
  --readable-blue: #08264a;
  --readable-blue-soft: #17466f;
  --readable-blue-muted: #2b557c;
}

.split-panel,
.simplicity-lab,
.insight-section,
.erp-section,
.accountant-card,
.contact-shell,
.social-hub,
.plans-note,
.plans-summary article,
.solution-ribbon article,
.service-matrix article,
.benefit-list p,
.contact-mini-list article,
.contact-form-card,
.contact-card,
.social-tile {
  color: var(--readable-blue) !important;
}

.split-panel h1,
.split-panel h2,
.split-panel h3,
.simplicity-lab h1,
.simplicity-lab h2,
.simplicity-lab h3,
.insight-section h1,
.insight-section h2,
.insight-section h3,
.erp-section h1,
.erp-section h2,
.erp-section h3,
.accountant-card h1,
.accountant-card h2,
.accountant-card h3,
.contact-shell h1,
.contact-shell h2,
.contact-shell h3,
.social-hub h1,
.social-hub h2,
.social-hub h3,
.plans-note h1,
.plans-note h2,
.plans-note h3,
.plans-summary strong,
.solution-ribbon h2,
.solution-ribbon h3,
.service-matrix h3,
.contact-form-card h2,
.contact-card h2,
.social-copy h3 {
  color: var(--readable-blue) !important;
}

.split-panel p,
.simplicity-lab p,
.insight-section p,
.erp-section p,
.accountant-card p,
.contact-shell p,
.social-hub p,
.plans-note p,
.plans-note li,
.plans-summary span,
.solution-ribbon p,
.service-matrix p,
.benefit-list p,
.contact-mini-list p,
.contact-form-card p,
.contact-card p,
.social-copy p,
.contact-form-card label,
.contact-form-card small {
  color: var(--readable-blue-soft) !important;
}

.social-tile .social-cta {
  color: var(--readable-blue) !important;
  background: rgba(255, 255, 255, .78) !important;
  border: 1px solid rgba(8, 38, 74, .12) !important;
  box-shadow: 0 12px 28px rgba(8, 38, 74, .12) !important;
}

.contact-form-card input,
.contact-form-card textarea {
  color: var(--readable-blue) !important;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
  color: rgba(23, 70, 111, .62) !important;
}

/* Preserva texto branco apenas onde o fundo permanece intencionalmente escuro. */
.video-band,
.video-band h2,
.video-band p,
.video-band .section-kicker,
.internal-cta,
.internal-cta h2,
.internal-cta p,
.plans-cta,
.plans-cta h2,
.plans-cta p,
.contact-cta,
.contact-cta h2,
.contact-cta p,
.site-footer,
.site-footer h2,
.site-footer p,
.site-footer a,
.plan-top,
.plan-top .plan-name,
.plan-top .plan-package {
  color: inherit;
}

.video-band,
.video-band h2,
.video-band .section-kicker,
.internal-cta h2,
.internal-cta p,
.plans-cta h2,
.plans-cta p,
.contact-cta h2,
.contact-cta p {
  color: #ffffff !important;
}

/* Ajuste final: mantém o topo colorido dos cards de planos em branco. */
.plan-top,
.plan-top .plan-name,
.plan-top .plan-package {
  color: #ffffff !important;
}

.plan-feature::after,
.btn-primary,
.play-link,
.plan-actions .btn {
  color: #ffffff !important;
}

/* =========================================================
   Correção final — penúltima seção legível e footer branco
   ========================================================= */
.video-band.internal-cta,
.video-band.plans-cta,
.video-band.contact-cta {
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 113, 227, .12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(236, 247, 255, .96) 52%, rgba(245, 249, 255, .98)) !important;
  border: 1px solid rgba(8, 38, 74, .10) !important;
  color: var(--readable-blue, #08264a) !important;
  box-shadow: 0 26px 70px rgba(33, 75, 126, .12), inset 0 1px 0 rgba(255,255,255,.88) !important;
}

.video-band.internal-cta::after,
.video-band.plans-cta::after,
.video-band.contact-cta::after {
  background: linear-gradient(90deg, rgba(0,113,227,.18), rgba(0,212,255,.10), transparent) !important;
  opacity: .45 !important;
}

.video-band.internal-cta .section-kicker,
.video-band.internal-cta h2,
.video-band.internal-cta p,
.video-band.internal-cta a:not(.btn),
.video-band.plans-cta .section-kicker,
.video-band.plans-cta h2,
.video-band.plans-cta p,
.video-band.plans-cta a:not(.btn),
.video-band.contact-cta .section-kicker,
.video-band.contact-cta h2,
.video-band.contact-cta p,
.video-band.contact-cta a:not(.btn) {
  color: var(--readable-blue, #08264a) !important;
}

.video-band.internal-cta .section-kicker,
.video-band.plans-cta .section-kicker,
.video-band.contact-cta .section-kicker {
  opacity: 1 !important;
}

.video-band.internal-cta .btn,
.video-band.internal-cta .btn-primary,
.video-band.plans-cta .btn,
.video-band.plans-cta .btn-primary,
.video-band.contact-cta .btn,
.video-band.contact-cta .btn-primary {
  color: #ffffff !important;
  background: var(--blue) !important;
  box-shadow: 0 14px 32px rgba(0, 113, 227, .24) !important;
}

.site-footer {
  background: rgba(255, 255, 255, .94) !important;
  border: 1px solid rgba(15, 23, 42, .08) !important;
  box-shadow: 0 18px 50px rgba(31, 62, 96, .08), inset 0 1px 0 rgba(255,255,255,.82) !important;
  color: var(--readable-blue, #08264a) !important;
}

.site-footer h2,
.site-footer .footer-links h2,
.site-footer .footer-brand p,
.site-footer .footer-links a,
.site-footer .social-links a,
.site-footer p,
.site-footer a {
  color: var(--readable-blue-soft, #17466f) !important;
}

.site-footer .footer-links h2 {
  color: var(--readable-blue, #08264a) !important;
}

.site-footer .footer-links a:hover,
.site-footer .social-links a:hover {
  color: var(--blue) !important;
}

/* =========================================================
   Correção específica — seção Demonstração / Video da home
   ========================================================= */
body:not(.internal-page) .video-band:not(.internal-cta):not(.plans-cta):not(.contact-cta) {
  background:
    radial-gradient(circle at 86% 18%, rgba(79, 190, 255, .28), transparent 34%),
    linear-gradient(135deg, #071528 0%, #0c2a4d 50%, #123b66 100%) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  color: #ffffff !important;
  box-shadow: 0 34px 90px rgba(7, 21, 40, .24), inset 0 1px 0 rgba(255,255,255,.14) !important;
}

body:not(.internal-page) .video-band:not(.internal-cta):not(.plans-cta):not(.contact-cta) .section-kicker,
body:not(.internal-page) .video-band:not(.internal-cta):not(.plans-cta):not(.contact-cta) h2,
body:not(.internal-page) .video-band:not(.internal-cta):not(.plans-cta):not(.contact-cta) p {
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body:not(.internal-page) .video-band:not(.internal-cta):not(.plans-cta):not(.contact-cta) .play-link {
  color: #071528 !important;
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, .72) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .22) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body:not(.internal-page) .video-band:not(.internal-cta):not(.plans-cta):not(.contact-cta) .play-link:hover {
  color: #ffffff !important;
  background: var(--blue) !important;
}

/* =========================================================
   Correção final — Demonstração / Video da home legível
   ========================================================= */
body:not(.internal-page) .video-band:not(.internal-cta):not(.plans-cta):not(.contact-cta) {
  background:
    radial-gradient(circle at 88% 18%, rgba(0, 113, 227, .18), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, .98) 0%, rgba(232, 246, 255, .96) 54%, rgba(244, 250, 255, .98) 100%) !important;
  border: 1px solid rgba(8, 38, 74, .10) !important;
  color: var(--readable-blue, #08264a) !important;
  box-shadow: 0 26px 70px rgba(33, 75, 126, .13), inset 0 1px 0 rgba(255,255,255,.90) !important;
}

body:not(.internal-page) .video-band:not(.internal-cta):not(.plans-cta):not(.contact-cta)::after {
  background: linear-gradient(90deg, rgba(0,113,227,.12), rgba(0,212,255,.08), transparent) !important;
  opacity: .55 !important;
}

body:not(.internal-page) .video-band:not(.internal-cta):not(.plans-cta):not(.contact-cta) .section-kicker,
body:not(.internal-page) .video-band:not(.internal-cta):not(.plans-cta):not(.contact-cta) h2,
body:not(.internal-page) .video-band:not(.internal-cta):not(.plans-cta):not(.contact-cta) p {
  color: var(--readable-blue, #08264a) !important;
  opacity: 1 !important;
  text-shadow: none !important;
  visibility: visible !important;
}

body:not(.internal-page) .video-band:not(.internal-cta):not(.plans-cta):not(.contact-cta) .play-link {
  color: #ffffff !important;
  background: var(--blue, #0071e3) !important;
  border: 1px solid rgba(0, 113, 227, .28) !important;
  box-shadow: 0 16px 34px rgba(0, 113, 227, .26) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body:not(.internal-page) .video-band:not(.internal-cta):not(.plans-cta):not(.contact-cta) .play-link:hover {
  color: #ffffff !important;
  background: #005bb8 !important;
}


/* Instagram blog iframe restoration */
.instagram-blog-section {
    position: relative;
    padding: clamp(72px, 9vw, 120px) var(--page-gutter, 6vw);
    background:
        radial-gradient(circle at 15% 15%, rgba(61, 177, 255, 0.18), transparent 34%),
        linear-gradient(135deg, #eef7ff 0%, #ffffff 52%, #eaf4ff 100%);
    color: #06345f;
    overflow: hidden;
}

.instagram-blog-section::before {
    content: "";
    position: absolute;
    inset: 24px;
    border-radius: 44px;
    border: 1px solid rgba(6, 52, 95, 0.08);
    pointer-events: none;
}

.instagram-blog-heading {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto 34px;
    text-align: center;
}

.instagram-blog-heading h2,
.instagram-blog-heading p,
.instagram-blog-section .section-kicker {
    color: #06345f !important;
}

.instagram-iframe-shell {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(10px, 2vw, 18px);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 28px 80px rgba(6, 52, 95, 0.18);
    border: 1px solid rgba(6, 52, 95, 0.12);
}

.instagram-iframe-shell iframe {
    display: block;
    width: 100%;
    min-height: 760px;
    border: 0;
    border-radius: 24px;
    background: #ffffff;
}

.instagram-blog-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

@media (max-width: 760px) {
    .instagram-iframe-shell iframe {
        min-height: 1120px;
    }
}

/* =========================================================
   Página Integrações — conectores SAP, Neomind Fusion e Domínio
   ========================================================= */
.integrations-page .integrations-hero {
  padding-bottom: clamp(34px, 5vw, 72px);
}

.integrations-orbit {
  width: min(calc(100% - 36px), 980px);
  min-height: clamp(360px, 44vw, 520px);
  margin: clamp(34px, 5vw, 58px) auto 0;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: clamp(32px, 5vw, 64px);
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 113, 227, .16), transparent 28%),
    radial-gradient(circle at 20% 18%, rgba(94, 92, 255, .12), transparent 26%),
    linear-gradient(145deg, rgba(255,255,255,.90), rgba(236,247,255,.68));
  box-shadow: 0 28px 76px rgba(29, 75, 132, .14), inset 0 1px 0 rgba(255,255,255,.88);
  overflow: hidden;
}

.integrations-orbit::before,
.integrations-orbit::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(0, 113, 227, .20);
  border-radius: 999px;
  pointer-events: none;
}

.integrations-orbit::after {
  inset: 26% 18%;
  border-color: rgba(8, 38, 74, .10);
  transform: rotate(-10deg);
}

.orbit-core,
.orbit-node {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.74);
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 50px rgba(33, 75, 126, .12), inset 0 1px 0 rgba(255,255,255,.90);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.orbit-core {
  width: clamp(210px, 28vw, 330px);
  min-height: clamp(138px, 18vw, 190px);
  padding: 26px;
  border-radius: 34px;
  text-align: center;
}

.orbit-core img {
  width: min(220px, 58vw);
  max-height: 74px;
  object-fit: contain;
}

.orbit-core span {
  margin-top: 12px;
  color: var(--readable-blue, #08264a);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.orbit-node {
  position: absolute;
  width: clamp(150px, 20vw, 218px);
  height: clamp(92px, 12vw, 124px);
  padding: 18px;
  border-radius: 26px;
}

.orbit-node img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.orbit-sap { top: 10%; left: 9%; }
.orbit-neomind { top: 11%; right: 9%; }
.orbit-dominio { bottom: 10%; left: 50%; transform: translateX(-50%); }

.integrations-summary article {
  min-height: 260px;
}

.integration-detail {
  align-items: center;
}

.integration-logo-panel {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid rgba(255,255,255,.70);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 18%, rgba(0, 113, 227, .12), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(242,248,255,.72));
  box-shadow: 0 18px 46px rgba(33, 75, 126, .09), inset 0 1px 0 rgba(255,255,255,.82);
}

.integration-logo-panel img {
  width: min(360px, 72vw);
  max-height: 190px;
  object-fit: contain;
}

.integration-logo-panel strong {
  margin-top: 16px;
  color: var(--readable-blue, #08264a);
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1;
  letter-spacing: -.04em;
}

.integration-logo-panel-orange {
  background:
    radial-gradient(circle at 24% 16%, rgba(225, 67, 0, .16), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(255,244,235,.78));
}

.integration-source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 22px;
  padding: 0 18px;
  border: 1px solid rgba(0, 113, 227, .18);
  border-radius: 999px;
  color: var(--blue) !important;
  background: rgba(255,255,255,.72);
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 113, 227, .10);
  transition: transform .24s var(--ease), background .24s var(--ease), box-shadow .24s var(--ease);
}

.integration-source-link:hover,
.integration-source-link:focus-visible {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 113, 227, .14);
  outline: none;
}

.integration-flow-grid {
  grid-template-columns: repeat(4, 1fr);
}

.integrations-cta p {
  max-width: 760px;
  color: rgba(255,255,255,.78) !important;
}

.hero-section.integrations-hero::before,
.integrations-flow::before {
  background:
    radial-gradient(circle at 18% 0%, rgba(0,113,227,.17), transparent 38%),
    radial-gradient(circle at 84% 16%, rgba(105,92,255,.13), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #edf7ff 100%);
}

.integration-detail-sap::before { --section-wash: var(--wash-cyan); }
.integration-detail-neomind::before { --section-wash: var(--wash-lavender); }
.integration-detail-dominio::before { --section-wash: var(--wash-warm); }

@media (max-width: 980px) {
  .integrations-orbit {
    min-height: auto;
    gap: 16px;
    padding: 22px;
    grid-template-columns: 1fr;
  }

  .integrations-orbit::before,
  .integrations-orbit::after {
    display: none;
  }

  .orbit-core,
  .orbit-node {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
    width: min(100%, 440px);
    height: auto;
    min-height: 118px;
  }

  .integration-flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .integrations-orbit {
    width: min(calc(100% - 24px), var(--max));
    border-radius: 26px;
  }

  .integration-logo-panel {
    min-height: 240px;
    padding: 24px;
  }

  .integration-flow-grid {
    grid-template-columns: 1fr;
  }
}

/* Imagem oficial ERP na página de Integrações */
.integrations-erp-visual {
  position: relative;
  margin: clamp(34px, 5vw, 58px) auto 0;
  width: min(520px, 100%);
  border-radius: 32px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(2, 132, 199, 0.14);
}

.integrations-erp-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.integrations-erp-visual figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}

@media (max-width: 760px) {
  .integrations-erp-visual {
    border-radius: 24px;
  }

  .integrations-erp-visual figcaption {
    position: static;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
  }
}

/* Painéis profissionais dos conectores na página de Integrações */
.integration-clean-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  padding: clamp(24px, 3.2vw, 40px);
  isolation: isolate;
}

.integration-clean-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 22% 18%, rgba(0, 113, 227, .16), transparent 32%),
    radial-gradient(circle at 78% 74%, rgba(64, 200, 255, .12), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(239,248,255,.78));
}

.integration-clean-card::after {
  content: "";
  position: absolute;
  inset: 24px;
  z-index: -1;
  border-radius: calc(var(--radius-lg) - 18px);
  border: 1px solid rgba(0, 113, 227, .08);
  background: linear-gradient(135deg, rgba(255,255,255,.44), rgba(255,255,255,.10));
  pointer-events: none;
}

.integration-clean-visual {
  display: grid;
  grid-template-columns: minmax(104px, 1fr) 46px minmax(104px, 1fr);
  align-items: center;
  gap: clamp(10px, 2vw, 16px);
  width: min(100%, 390px);
  margin: 0 auto;
}

.integration-logo-tile {
  min-height: 124px;
  display: grid;
  place-items: center;
  padding: clamp(16px, 2.6vw, 24px);
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.90);
  box-shadow:
    0 24px 54px rgba(8, 38, 74, .12),
    inset 0 1px 0 rgba(255,255,255,.96);
}

.integration-logo-tile img {
  width: min(100%, 150px);
  max-height: 72px;
  object-fit: contain;
}

.webviewer-logo-tile img {
  max-height: 48px;
}

.dominio-logo-tile {
  gap: 12px;
}

.dominio-logo-tile strong {
  margin-top: 6px;
  color: #08264a;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1;
  letter-spacing: -.04em;
}

.integration-connector-line {
  position: relative;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0,113,227,.15), rgba(0,113,227,.88), rgba(64,200,255,.58));
  box-shadow: 0 0 22px rgba(0, 113, 227, .20);
}

.integration-connector-line::before,
.integration-connector-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #0071e3;
  transform: translateY(-50%);
  box-shadow: 0 0 0 8px rgba(0, 113, 227, .10);
}

.integration-connector-line::before { left: -2px; }
.integration-connector-line::after { right: -2px; }

.integration-clean-card figcaption {
  max-width: 360px;
  margin: 22px auto 0;
  color: #08264a;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.integration-clean-neomind::before {
  background:
    radial-gradient(circle at 24% 20%, rgba(159, 43, 104, .12), transparent 30%),
    radial-gradient(circle at 82% 74%, rgba(0, 113, 227, .14), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(247,242,255,.76));
}

.integration-clean-dominio::before {
  background:
    radial-gradient(circle at 24% 20%, rgba(225, 67, 0, .14), transparent 30%),
    radial-gradient(circle at 82% 74%, rgba(0, 113, 227, .12), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,246,239,.80));
}

@media (max-width: 720px) {
  .integration-clean-card {
    min-height: auto;
    padding: 24px 18px;
  }

  .integration-clean-visual {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .integration-connector-line {
    width: 3px;
    height: 54px;
    justify-self: center;
    background: linear-gradient(180deg, rgba(0,113,227,.15), rgba(0,113,227,.88), rgba(64,200,255,.58));
  }

  .integration-connector-line::before,
  .integration-connector-line::after {
    left: 50%;
    top: auto;
    transform: translateX(-50%);
  }

  .integration-connector-line::before { top: -2px; }
  .integration-connector-line::after { bottom: -2px; right: auto; }
}


/* =========================================================
   Páginas Financeiro — Contas a Pagar e Contas a Receber
   ========================================================= */
.financial-page .hero-copy::before {
  content: "Webviewer Financeiro";
}

.financial-system-visual {
  width: min(100%, 960px);
  margin: clamp(42px, 6vw, 70px) auto 0;
  perspective: 1200px;
}

.finance-dashboard,
.receivable-dashboard-3d {
  position: relative;
  min-height: clamp(360px, 42vw, 560px);
  border: 1px solid rgba(8, 38, 74, .10);
  border-radius: clamp(28px, 4vw, 46px);
  background:
    radial-gradient(circle at 18% 8%, rgba(0, 113, 227, .16), transparent 34%),
    radial-gradient(circle at 86% 20%, rgba(0, 212, 255, .12), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(236,247,255,.88));
  box-shadow: 0 34px 90px rgba(33, 75, 126, .16), inset 0 1px 0 rgba(255,255,255,.92);
  overflow: hidden;
}

.finance-dashboard::before,
.receivable-dashboard-3d::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(0, 113, 227, .08);
  border-radius: clamp(22px, 3vw, 34px);
  pointer-events: none;
}

.finance-window {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 9%;
  bottom: 9%;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 28px;
  background: rgba(255,255,255,.90);
  box-shadow: 0 24px 56px rgba(15, 23, 42, .12);
  overflow: hidden;
}

.finance-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  background: rgba(248, 251, 255, .86);
}

.finance-window-title {
  color: #08264a;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.finance-window-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  color: #006f3c;
  background: rgba(0, 168, 91, .10);
  font-size: 12px;
  font-weight: 800;
}

.finance-window-body {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 18px;
  padding: 22px;
}

.finance-metric-stack {
  display: grid;
  gap: 14px;
  align-content: start;
}

.finance-metric,
.finance-row,
.receivable-card-3d,
.receivable-mini-card {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

.finance-metric {
  padding: 16px;
}

.finance-label,
.receivable-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.finance-value,
.receivable-value {
  display: block;
  color: #08264a;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -.04em;
}

.finance-list {
  display: grid;
  gap: 12px;
}

.finance-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
}

.finance-row strong {
  display: block;
  margin-bottom: 4px;
  color: #08264a;
  font-size: 14px;
  letter-spacing: -.01em;
}

.finance-row span,
.receivable-card-3d span,
.receivable-mini-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.finance-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(0, 113, 227, .10);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.finance-tag.warning {
  color: #9a5a00;
  background: rgba(255, 176, 32, .16);
}

.finance-tag.success {
  color: #006f3c;
  background: rgba(0, 168, 91, .12);
}

.receivable-dashboard-3d {
  transform: rotateX(6deg) rotateY(-8deg) translateZ(0);
  transform-style: preserve-3d;
  overflow: visible;
}

.receivable-dashboard-3d::after {
  content: "";
  position: absolute;
  inset: auto 8% -32px 12%;
  height: 70px;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(8, 38, 74, .20), transparent 70%);
  filter: blur(8px);
  transform: translateZ(-80px);
  pointer-events: none;
}

.receivable-main-panel {
  position: absolute;
  left: 9%;
  top: 12%;
  width: 62%;
  min-height: 68%;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 30px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 30px 70px rgba(15, 23, 42, .14);
  transform: translateZ(40px);
}

.receivable-main-panel h3 {
  margin: 0 0 18px;
  color: #08264a;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.receivable-bars {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.receivable-bar {
  display: grid;
  grid-template-columns: 92px 1fr 54px;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.receivable-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 113, 227, .10);
  overflow: hidden;
}

.receivable-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #40c8ff);
}

.receivable-side-stack {
  position: absolute;
  right: 8%;
  top: 18%;
  display: grid;
  gap: 16px;
  width: min(34%, 290px);
  transform: translateZ(84px);
}

.receivable-card-3d,
.receivable-mini-card {
  padding: 18px;
  background: rgba(255,255,255,.94);
}

.receivable-mini-card {
  transform: translateX(-28px) translateZ(34px);
}

.receivable-pill-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.receivable-pill-line i {
  display: inline-flex;
  width: 58px;
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 113, 227, .12);
}

.receivable-pill-line i:nth-child(2) { width: 92px; background: rgba(0, 168, 91, .14); }
.receivable-pill-line i:nth-child(3) { width: 72px; background: rgba(255, 176, 32, .18); }

.financial-process-card {
  min-height: 230px;
}

@media (max-width: 820px) {
  .finance-window {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin: 18px;
  }

  .finance-window-body {
    grid-template-columns: 1fr;
  }

  .receivable-dashboard-3d {
    min-height: 620px;
    transform: none;
    overflow: hidden;
  }

  .receivable-main-panel,
  .receivable-side-stack {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: auto;
    margin: 18px;
    transform: none;
  }

  .receivable-side-stack {
    margin-top: 0;
  }

  .receivable-mini-card {
    transform: none;
  }
}

@media (max-width: 560px) {
  .finance-row {
    grid-template-columns: 1fr;
  }

  .receivable-bar {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
