/*
  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;
  }
}
