/* ============================================================
   VJS Sistemas — Design System
   ============================================================ */

/* Inter self-hosted (fonte variável v20 — um arquivo cobre os pesos 100–900) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2?v=2026-07-13-1') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2?v=2026-07-13-1') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Fallback com métricas casadas ao Inter (base Arial) — evita o reflow/stagger
   no instante até a webfont local carregar */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  ascent-override: 90.20%;
  descent-override: 22.48%;
  line-gap-override: 0.00%;
  size-adjust: 107.40%;
}

:root {
  --color-primary: #121d50;
  --color-primary-mid: #113278;
  --color-accent: #1058c1;
  --color-accent-dark: #0d469a;
  --color-accent-lt: #5b97e8;
  /* azul da marca clareado — acentos sobre fundo escuro */
  --color-accent-light: #e7eef9;
  --color-yellow: #ea5818;
  --color-cta: #ea5818;
  --color-cta-dark: #bb4613;
  --color-text: #0f172a;
  --color-text-mid: #334155;
  --color-text-light: #64748b;
  --color-bg: #fdfdfe;
  --color-bg-alt: #e5e7eb;
  --color-border: #d3d5d8;

  --font-sans: 'Inter', 'Inter Fallback', system-ui, -apple-system, sans-serif;

  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .10);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .14);

  --transition: 0.25s ease;
  --max-w: 1380px;
  --section-py: clamp(24px, 3vw, 48px);
}

/* ── Lucide Icons ── */
[data-lucide] {
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.section-label [data-lucide] {
  width: 14px;
  height: 14px;
}

.icon [data-lucide] {
  width: 22px;
  height: 22px;
}

.diferencial-card .icon [data-lucide] {
  width: 30px;
  height: 30px;
}

.valor-icon [data-lucide] {
  width: 26px;
  height: 26px;
}

.contato-card-icon [data-lucide] {
  width: 20px;
  height: 20px;
}

.footer-contact [data-lucide] {
  width: 14px;
  height: 14px;
  opacity: .6;
}


.cta-note [data-lucide] {
  width: 13px;
  height: 13px;
  opacity: .7;
}

.btn [data-lucide] {
  width: 18px;
  height: 18px;
}

/* ── Page-load keyframes ── */
@keyframes vjs-fade-down {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes vjs-fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes vjs-fade-right {
  from {
    opacity: 0;
    transform: translateX(48px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
  /* evita o "bounce"/overscroll que engaja o compositor e congela o vídeo no scroll */
  scrollbar-gutter: stable;
  /* reserva o espaço da barra sempre — evita salto de layout */
  background: #07101e;
  /* gutter escuro quando a barra não aparece */
  scrollbar-color: var(--color-border) #07101e;
  /* Firefox/padrão: thumb / track */
}

/* Barra de rolagem: barra (thumb) e setas na cor de borda; trilho escuro */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #07101e;
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 8px;
  border: 2px solid #07101e;
}

::-webkit-scrollbar-thumb:hover {
  background: #bcbfc4;
}

::-webkit-scrollbar-button {
  background: var(--color-border);
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* ============================================================
   Layout
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 48px);
}

.section {
  padding-block: var(--section-py);
}

.section--alt {
  background: var(--color-bg);
}

.section--dark {
  background: var(--color-primary);
  color: #fff;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .9375rem;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-cta);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-cta-dark);
  transform: translateY(-1px);
  box-shadow: none;
}

.btn--outline {
  border: 2px solid rgba(255, 255, 255, .3);
  color: #fff;
}

.btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
}

.btn--ghost {
  background: var(--color-cta);
  color: #fff;
}

.btn--ghost:hover {
  background: var(--color-cta-dark);
  transform: translateY(-1px);
  box-shadow: none;
}

.btn--wa {
  background: var(--color-cta);
  color: #fff;
  box-shadow: 0 6px 22px rgba(234, 88, 24, .5), 0 0 20px rgba(234, 88, 24, .4);
  animation: wa-pulse 2.4s ease-in-out infinite;
}

.btn--wa:hover {
  background: var(--color-cta-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(234, 88, 24, .65), 0 0 30px rgba(234, 88, 24, .55);
  animation: none;
}

@keyframes wa-pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.045);
  }
}

@keyframes nav-pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(234, 88, 24, 0.45), 0 0 16px rgba(234, 88, 24, 0.25);
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 0 18px rgba(234, 88, 24, 0.7), 0 0 28px rgba(234, 88, 24, 0.4);
  }
}

.nav-cta {
  box-shadow: 0 0 8px rgba(234, 88, 24, 0.45), 0 0 16px rgba(234, 88, 24, 0.25);
  animation: nav-pulse 2.4s ease-in-out infinite;
  order: 1;
}

.nav-cta:hover {
  animation: none;
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(234, 88, 24, 0.85), 0 0 32px rgba(234, 88, 24, 0.55);
}

@media (prefers-reduced-motion: reduce) {

  .btn--wa,
  .wa-btn,
  .nav-cta,
  .nav-drawer-cta {
    animation: none;
    box-shadow: none;
  }
}

.btn--lg {
  padding: .9rem 2rem;
  font-size: 1rem;
}

/* ============================================================
   Section Header
   ============================================================ */
.section-header {
  max-width: 640px;
  margin-bottom: clamp(24px, 3.5vw, 40px);
}

.section-header--center {
  text-align: center;
  margin-inline: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--color-text);
  margin-bottom: .75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.section--dark .section-title {
  color: #fff;
}

.section--dark .section-label {
  color: var(--color-yellow);
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.section--dark .section-desc {
  color: rgba(255, 255, 255, .65);
}

/* ============================================================
   Navbar
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(16px, 4vw, 48px);
  height: 70px;
  animation: vjs-fade-down .5s cubic-bezier(.4, 0, .2, 1) both;
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: #0f1e33;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .25);
}

.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.nav-links {
  justify-self: center;
}

.nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 18px;
  order: 2;
}

.nav-social-link {
  display: flex;
  color: #fff;
  transition: color var(--transition);
}

.nav-social-link:hover {
  color: rgba(255, 255, 255, .75);
}

.nav-social-link svg {
  width: 18px;
  height: 18px;
}

/* CTA + redes do drawer: só no menu mobile (escondido no desktop) */
.nav-drawer-social,
.nav-drawer-cta-wrap {
  display: none;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  position: relative;
}

.nav-logo span {
  color: var(--color-accent);
}

.nav-logo-img {
  height: 30px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: opacity var(--transition);
}

.nav-logo-img--white {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

#navbar.scrolled .nav-logo-img--default {
  opacity: 0;
}

#navbar.scrolled .nav-logo-img--white {
  opacity: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
}

.nav-links li {
  list-style: none;
  position: relative;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 6px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-cta);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.nav-links a:hover {
  color: #fff;
}

.has-dropdown>a {
  cursor: pointer;
}

.nav-chevron {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform .2s;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.has-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #0e1e30;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  padding: 8px;
  min-width: 190px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s, visibility .18s;
  z-index: 300;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .45);
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .75) !important;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}

.dropdown a:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff !important;
}

.dropdown--wide {
  left: 0;
  transform: none;
  min-width: 500px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 16px 12px;
  top: calc(100% + 8px);
}

.dropdown-label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 6px 14px 4px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 6px 0;
  margin: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-inner {
    grid-template-columns: 1fr auto;
  }

  .nav-right {
    display: none !important;
  }

  .nav-toggle {
    display: flex;
    justify-self: end;
    position: relative;
    z-index: 1002;
  }

  /* backdrop */
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 998;
  }

  .nav-backdrop.open {
    display: block;
  }

  /* drawer */
  .nav-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(280px, 80vw);
    height: 100dvh;
    /* mesma cor da navbar (#navbar.scrolled) */
    background: #0f1e33;
    border-left: 1px solid rgba(255, 255, 255, .08);
    list-style: none;
    margin: 0;
    padding: 80px 0 32px;
    z-index: 999;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    visibility: hidden;
  }

  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-links>li {
    width: 100% !important;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }

  .nav-links>li>a {
    display: block !important;
    padding: 18px 28px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    white-space: nowrap;
  }

  .nav-links>li>a:hover {
    color: var(--color-yellow) !important;
  }

  .nav-links .dropdown {
    display: none !important;
  }

  .nav-links .nav-chevron {
    display: none !important;
  }

  /* redes sociais logo abaixo da última página (fluxo normal, não no rodapé) */
  .nav-drawer-social {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
    padding: 22px 24px 24px;
    border-bottom: none !important;
  }

  /* CTA "Orçamento Grátis" empurrado p/ o rodapé do drawer */
  .nav-drawer-cta-wrap {
    display: flex !important;
    flex-direction: column;
    margin-top: auto;
    padding: 16px 24px 28px;
    border-bottom: none !important;
  }

  /* "Acompanhe nossas redes ———" (texto + linha à direita) */
  .nav-drawer-social-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    white-space: nowrap;
  }

  .nav-drawer-social-head .nav-drawer-rule {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, .16);
  }

  /* botão Orçamento Grátis dentro do drawer (anula heranças de .nav-links a) */
  .nav-links .nav-drawer-cta {
    display: flex !important;
    justify-content: center;
    padding: 14px 20px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    white-space: nowrap;
    /* brilho + pulse iguais aos outros CTAs */
    box-shadow: 0 0 8px rgba(234, 88, 24, .45), 0 0 16px rgba(234, 88, 24, .25);
    animation: nav-pulse 2.4s ease-in-out infinite;
  }

  .nav-links .nav-drawer-cta:hover,
  .nav-links .nav-drawer-cta:active {
    animation: none;
    box-shadow: 0 0 22px rgba(234, 88, 24, .85), 0 0 32px rgba(234, 88, 24, .55);
  }

  .nav-links .nav-drawer-cta::after {
    display: none !important;
  }

  .nav-links .nav-drawer-cta svg {
    width: 18px;
    height: 18px;
  }

  /* linha de ícones sociais (alinhados à esquerda, como o cabeçalho) */
  .nav-drawer-socials {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    padding-top: 2px;
    padding-left: 2px;
  }

  .nav-links .nav-drawer-socials .nav-social-link {
    display: inline-flex !important;
    padding: 0 !important;
    color: #fff !important;
  }

  .nav-links .nav-drawer-socials .nav-social-link::after {
    display: none !important;
  }

  .nav-drawer-socials .nav-social-link svg {
    width: 23px;
    height: 23px;
  }
}

/* ============================================================
   Hero
   ============================================================ */

/* Entrada escalonada dos itens do bloco de texto da hero (na carga normal e re-disparada no reveal) */
.hero-eyebrow {
  animation: vjs-fade-up .7s .15s cubic-bezier(.4, 0, .2, 1) both;
}

.hero-desc {
  animation: vjs-fade-up .7s .50s cubic-bezier(.4, 0, .2, 1) both;
}

.hero-actions {
  animation: vjs-fade-up .7s .65s cubic-bezier(.4, 0, .2, 1) both;
}

.hero-trust {
  animation: vjs-fade-up .7s .80s cubic-bezier(.4, 0, .2, 1) both;
}


#hero {
  /* número fluido da largura da viewport, usado p/ escalar produtos e o bloco de texto */
  --vw-num: tan(atan2(100vw, 1px));
  position: relative;
  height: 100svh;
  /* cobre a tela toda; o stats sobe POR CIMA (com o fundo do hero atrás) */
  min-height: 480px;
  /* altura mínima segura */
  display: flex;
  align-items: center;
  background: #07101e;
  overflow: hidden;
  padding-top: 54px;
  /* navbar */
  padding-bottom: 124px;
  /* 14 + 110: compensa a sobreposição do stats p/ manter o conteúdo centralizado */
}

/* camada externa: scale base + parallax do mouse (JS) */
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: scale(1.1) translateY(-5%);
  /* sobe o vídeo/imagem p/ recortar menos a base (coberta pelo stats) */
  backface-visibility: hidden;
  animation: vjs-fade-in 1.4s ease both;
}

/* camada interna: imagem + movimento ambiente lento e sutil */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* blur EMBUTIDO na imagem — NÃO usar filter:blur aqui (re-borraria a tela cheia a cada
     frame junto com a animação = freeze no Chrome). Como o blur já está na imagem, o
     Ken Burns abaixo é só transform (composição na GPU) = barato. */
  background: url('../img/hero/hero.webp?v=2026-07-13-1') center center / cover no-repeat;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  animation: hero-bg-drift 28s ease-in-out infinite alternate;
  animation-play-state: paused;
}

#hero.is-motion-active .hero-bg {
  animation-play-state: running;
}

@keyframes hero-bg-drift {
  0% {
    transform: scale(1.05) translate(0%, 0%);
  }

  50% {
    transform: scale(1.09) translate(-1.4%, -0.8%);
  }

  100% {
    transform: scale(1.06) translate(1.2%, 0.6%);
  }
}

.hero-noise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

@keyframes vjs-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* dark overlay: legibility + elegance */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(5, 10, 20, .90) 0%, rgba(5, 10, 20, .72) 55%, rgba(5, 10, 20, .45) 100%),
    linear-gradient(0deg, rgba(5, 10, 20, .6) 0%, transparent 50%);
  z-index: 1;
  transition: opacity .6s ease;
}

/* símbolo VJS como marca d'água sutil no fundo da hero */
.hero-watermark {
  position: absolute;
  inset: 0;
  background: url('../img/logos_vjs/simbolo.png?v=2026-07-13-1') no-repeat;
  background-position: left calc(100% + 160px);
  /* base do hero, empurrado p/ baixo */
  background-size: 1120px auto;
  /* tamanho fixo: não escala com a largura do hero */
  opacity: .07;
  z-index: 1;
  pointer-events: none;
}

/* ── REMOVED: park-floor, park-dashes, park-lights, veil, glow, visual-panel, dashboard ── */

/* parking-space dashes (short white lines between spaces) */

/* overhead parking lot light sources */

/* gradient veil — left-to-right readability + bottom floor fade */

/* subtle blue accent glow (right panel bleed) */

/* right-side full-bleed visual panel */

/* dashboard mockup inside the panel */

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .3;
  }
}

/* bar chart */

/* log list */

/* hero product image (right side) — conjunto de totens (entrada + saída) */
/* Hero em 2 colunas: texto | produtos (showcase deixa de ser absolute no #hero) */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  /* gap menor = mais espaço p/ a coluna dos produtos (vitrine maior) */
  gap: clamp(10px, 1.8vw, 26px);
  width: 100%;
}

/* coluna dos produtos: reserva o espaço; o showcase é escalado dentro dela */
.hero-media {
  position: relative;
  min-height: 700px;
  align-self: stretch;
}

.hero-img-wrap {
  /* sem animation aqui: vjs-fade-right animava transform e sobrescrevia o scale */
  position: absolute;
  left: 50%;
  bottom: -6px;
  z-index: 2;
  /* largura + altura FIXAS = base p/ os offsets internos em px; o scale ajusta à tela */
  width: 760px;
  height: 640px;
  /* fallback fixo p/ navegadores sem tan()/atan2() */
  transform: translateX(-60%) scale(.92);
  /* scale FLUIDO com largura E altura da viewport (tan(atan2()) converte vw/vh -> número).
     Pega o MENOR fator (min): assim a altura curta encolhe suavemente, sem degrau.
     Divisor menor = encolhe menos (produtos maiores em telas médias) */
  --vw-num: tan(atan2(100vw, 1px));
  --vh-num: tan(atan2(100vh, 1px));
  --hero-scale: clamp(.70, min(calc(var(--vw-num) / 1350), calc(var(--vh-num) / 940)), 1.08);
  /* compensa a "descida": como o origin é bottom, ao encolher o produto cai d·(1−s)
     em direção à âncora; o translateY sobe exatamente essa quantia (d = --hero-descend) */
  --hero-descend: 170px;
  transform: translateX(-60%) translateY(calc((var(--hero-scale) - 1) * var(--hero-descend))) scale(var(--hero-scale));
  transform-origin: bottom center;
  pointer-events: none;
  display: grid;
  /* empilha os grupos de equipamentos na mesma célula */
  grid-template-columns: minmax(0, 1fr);
}

/* ── Vitrine rotativa: cada grupo (dupla de equipamentos) ocupa a mesma célula;
   só o ativo aparece, entrando com fade + slide da direita ("troca") ── */
.hero-device-group {
  grid-area: 1 / 1;
  position: relative;
  /* âncora do label do grupo */
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.4, 0, .2, 1);
  /* troca suave (fade + slide) entre conjuntos */
  pointer-events: none;
}

/* Label do grupo (nome do conjunto) — pílula glass, entra/some junto com o grupo */
.hero-device-label {
  position: absolute;
  top: 29%;
  left: 50%;
  transform: translate(-50%, -10px);
  /* sobe 10px */
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 22px;
  white-space: nowrap;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 100px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .14);
  pointer-events: none;
}

.hero-device-label svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Variante em duas linhas (ex.: catracas com selo de parceria acima) */
.hero-device-label--stacked {
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 9px 22px;
}

.hero-device-label-top,
.hero-device-label-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-device-label-top {
  gap: 6px;
  font-size: .56rem;
  /* menor, acima */
  letter-spacing: .16em;
  color: var(--color-yellow, #f5c518);
  /* destaque "oficial" */
}

/* texto do selo em 2 linhas (nomes longos) — mantém a pílula estreita */
.hero-device-label-wrap {
  display: inline-block;
  text-align: center;
  line-height: 1.18;
}

.hero-device-label-top svg {
  width: 12px;
  height: 12px;
}

/* Setas de navegação dos conjuntos (esquerda/direita, pequenas) */
.hero-nav {
  position: absolute;
  z-index: 6;
  top: 42%;
  right: 0;
  width: 70%;
  /* menor = seta esquerda mais à direita (a direita fica ancorada) */
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  /* só os botões recebem clique */
}

.hero-nav-btn {
  pointer-events: auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}

.hero-nav-btn:hover {
  background: rgba(0, 0, 0, .6);
  transform: scale(1.08);
}

.hero-nav-btn svg {
  width: 18px;
  height: 18px;
}

.hero-device-group.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* estilo compartilhado por todos os equipamentos (totens, catracas, cancelas, câmeras): tint + transição do hover */
.hero-device-img {
  height: auto;
  display: block;
  flex-shrink: 0;
  /* pointer-events herdado do grupo: inativo=none (não intercepta), ativo=auto (hover funciona) */
  cursor: pointer;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
}

.hero-device-img:hover {
  transform: translateY(-14px) scale(1.03);
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
}

/* Glow original restaurado somente nos pixels transparentes das imagens.
   O seletor exige <img>, portanto a div retangular .hero-cancela-led nunca
   recebe filter e não cria o bloco piscando no Chrome mobile. */
.hero-device-group.is-active img.is-loaded:not(.led-green) {
  filter:
    brightness(1.1) contrast(1.02) saturate(1.1)
    drop-shadow(0 24px 48px rgba(0, 0, 0, .55))
    drop-shadow(0 18px 52px rgba(16, 88, 193, .5));
}

@media (hover: hover) {
  .hero-device-group.is-active img.hero-device-img.is-loaded:hover,
  .hero-device-group.is-active .hero-cancela-led:hover img.is-loaded:not(.led-green) {
    filter:
      brightness(1.16) contrast(1.02) saturate(1.16)
      drop-shadow(0 34px 64px rgba(0, 0, 0, .5))
      drop-shadow(0 26px 70px rgba(16, 88, 193, .65));
  }
}

/* ── Posições da dupla: peça de trás (mais alta, à DIREITA) e da frente (mais baixa, à ESQUERDA, na frente) ── */
/* padrão = totens */
.hero-device-img--front {
  order: 1;
  /* à esquerda */
  width: 41%;
  margin-bottom: -77px;
  /* desce em relação à de trás */
  z-index: 2;
  /* na frente */
}

.hero-device-img--back {
  order: 2;
  /* à direita */
  width: 41%;
  margin-left: -15%;
  /* sobreposição lateral: puxa p/ a esquerda sobre a da frente */
  margin-bottom: 68px;
  /* sobe em relação à da frente */
  z-index: 1;
  /* atrás */
}

/* Catracas: peças mais baixas/largas — ajusta escala e sobreposição p/ ficar no mesmo espírito */
.hero-device-group--catracas .hero-device-img--front {
  width: 61%;
  /* tripé: um pouco menor */
  margin-bottom: -30px;
}

.hero-device-group--catracas .hero-device-img--back {
  width: 72%;
  /* facial: maior (peça de destaque) */
  margin-left: -36%;
  /* sobreposição maior: aproxima as duas catracas */
  margin-bottom: 76px;
  /* baixa ~20px (era 96px) */
  z-index: 3;
  /* facial por cima da de tripé (que é z-index 2) */
}

/* Leitor facial de mesa: à direita e ATRÁS da catraca facial (espia por trás) */
.hero-device-group--catracas .hero-device-img--aside {
  order: 3;
  /* mais à direita */
  width: 26%;
  /* peça pequena */
  margin-left: -34%;
  /* tuck forte: bem próximo da catraca facial */
  margin-bottom: 240px;
  /* mais alto, espiando no topo/à direita */
  z-index: 4;
  /* na frente (acima da catraca facial, que é z3) */
  position: relative;
  left: 40px;
  /* mais à direita */
}

/* Totens: entrada (esq) e saída (dir) na frente; auto-atendimento no MEIO, atrás e MAIOR */
.hero-device-group--totens .hero-device-label {
  transform: translate(calc(-50% - 15px), 2px);
  /* 15px à esquerda; descida de 50px (era -48px) */
}

.hero-device-group--totens .hero-device-img--front {
  /* totem entrada/expedidor — levemente menor */
  width: 36%;
  /* ~5% menor (era 38%) */
  position: relative;
  left: -147px;
  /* recoloca a entrada onde estava (auto menor havia empurrado p/ direita) */
  margin-bottom: 43px;
  /* sobe ~120px (base era -77px) p/ alinhar a base do vídeo expedidor à do render antigo */
}

.hero-device-group--totens .hero-device-img--aside {
  /* auto-atendimento */
  order: 2;
  /* meio */
  width: 36%;
  /* maior que os totens (proporção da imagem é bem alta) */
  margin-left: -32%;
  /* sobreposição com a entrada */
  margin-bottom: 90px;
  /* sobe ~120px no conjunto (era -30px) */
  z-index: 0;
  /* ao fundo (atrás dos dois totens) */
  position: relative;
  left: -133px;
  /* recoloca o auto onde estava (posição anterior) */
}

.hero-device-group--totens .hero-device-img--back {
  /* totem saída → à direita, levemente menor */
  order: 3;
  width: 36%;
  /* ~5% menor (era 38%) */
  margin-left: -32%;
  /* sobreposição com o auto-atendimento */
  position: relative;
  left: 10px;
  /* afasta 10px p/ a direita */
}

/* Conjunto de totens usa os VÍDEOS animados (os mesmos da página do produto).
   A caixa já tem a proporção do vídeo (width/height attrs), então contain
   preenche sem tarjas. O glow por <img> não alcança <video>, então replica-se
   aqui a sombra/realce equivalente ao dos demais equipamentos. */
.hero-device-group--totens video.hero-device-img {
  object-fit: contain;
  object-position: center bottom;
}

.hero-device-group--totens.is-active video.hero-device-img {
  filter:
    drop-shadow(0 24px 48px rgba(0, 0, 0, .55))
    drop-shadow(0 18px 52px rgba(16, 88, 193, .5));
}

@media (hover: hover) {
  .hero-device-group--totens.is-active video.hero-device-img:hover {
    filter:
      drop-shadow(0 34px 64px rgba(0, 0, 0, .5))
      drop-shadow(0 26px 70px rgba(16, 88, 193, .65));
  }
}

/* Novo conjunto: totens de autoatendimento & pagamento (dupla de totens altos).
   Posições provisórias — ajusto fino quando chegarem as imagens definitivas. */
.hero-device-group--autoatendimento {
  left: 20px;
}

.hero-device-group--autoatendimento .hero-device-label {
  transform: translate(-50%, -166px);
}

.hero-device-group--autoatendimento .hero-device-img--front {
  width: 52%;
  position: relative;
  left: 40px;
}

.hero-device-group--autoatendimento .hero-device-img--back {
  width: 52%;
  margin-left: -22%;
  margin-bottom: 35px;
}

/* sobe os conjuntos (exceto o autoatendimento) — deslocamento p/ cima do grupo inteiro,
   sem conflitar com o transform da animação de troca */
.hero-device-group--totens,
.hero-device-group--cancela,
.hero-device-group--catracas,
.hero-device-group--cameras {
  bottom: 40px;
}

/* totens expedidores + cancelas: 20px p/ esquerda e escala +10% (scale nos 2 estados do slide) */
.hero-device-group--totens,
.hero-device-group--cancela {
  left: -20px;
  transform: translateX(40px) scale(1.1);
  transform-origin: bottom center;
}

.hero-device-group--totens.is-active,
.hero-device-group--cancela.is-active {
  transform: translateX(0) scale(1.1);
}

/* leitores de placas: só +10% de escala (mantém a posição horizontal própria) */
.hero-device-group--cameras {
  transform: translateX(40px) scale(1.1);
  transform-origin: bottom center;
}

.hero-device-group--cameras.is-active {
  transform: translateX(0) scale(1.1);
}

/* cancela 20px mais p/ baixo que os outros conjuntos subidos */
.hero-device-group--cancela {
  bottom: 20px;
}

/* Cancelas: par sobreposto (cancela 1 frente/esquerda, cancela 2 atrás/direita) */
.hero-device-group--cancela .hero-device-label {
  transform: translate(calc(-50% + 70px), 40px);
  /* label 70px à direita; descida de 50px (era -10px) */
}

/* Cancela 1: duas versões do LED (vermelha/verde) empilhadas — alterna por opacidade (sem flicker) */
.hero-cancela-led {
  position: relative;
}

.hero-cancela-led .led-frame {
  display: block;
  width: 100%;
  height: auto;
}

.hero-cancela-led .led-red {
  opacity: 1;
  /* vermelha SEMPRE visível por baixo: device sólido + glow constante (sem pisca) */
}

.hero-cancela-led .led-green {
  position: absolute;
  inset: 0;
  opacity: 0;
  /* verde escondida por padrão */
  transition: opacity .45s ease;
  /* crossfade suave: verde aparece e some por cima da vermelha */
}

/* verde aparece por cima (a vermelha continua embaixo, não some) */
.hero-cancela-led.led-on .led-green {
  opacity: 1;
}

/* Cancelas: cluster tipo "família" (ref) — LED em destaque no meio, vermelha na frente, preta atrás */
.hero-device-group--cancela .hero-device-img--front {
  /* cancela 1 (LED que pisca) — NA FRENTE de todas, bem maior e mais alta */
  order: 1;
  width: 82%;
  margin-bottom: 96px;
  z-index: 4;
  position: relative;
  left: -40px;
}

.hero-device-group--cancela .hero-device-img--back {
  /* cancela 2 (cabeça vermelha) — atrás, centro (deslocada ~100px p/ a esquerda) */
  position: absolute;
  right: 16%;
  margin-right: 100px;
  bottom: 30px;
  width: 44%;
  z-index: 2;
}

.hero-device-group--cancela .hero-device-img--aside {
  /* cancela 3 (preta) — atrás, à direita, um pouco maior */
  position: absolute;
  right: -4%;
  bottom: 52px;
  width: 50%;
  z-index: 1;
}

/* rótulo do grupo de cancelas — descido ~150px e 50px à esquerda */
.hero-device-group--cancela .hero-device-label {
  top: calc(6% + 150px);
  margin-left: -50px;
}

/* OCR: dois leitores de placas lado a lado, sobrepostos */
.hero-device-group--cameras .hero-device-img--front {
  /* leitor 1 (Parxing) */
  order: 1;
  /* esquerda, frente */
  width: 76%;
  margin-bottom: -290px;
  z-index: 2;
  position: relative;
  left: 60px;
  /* aproxima o leitor 1 p/ a direita */
}

.hero-device-group--cameras .hero-device-img--back {
  /* leitor 2 (torre solar) */
  order: 2;
  /* direita, atrás, mais alto */
  width: 78%;
  margin-left: -60%;
  /* sobreposição forte com o leitor 1 */
  margin-bottom: 20px;
  z-index: 1;
}

.hero-device-group--cameras .hero-device-img--aside {
  /* leitor 3 (Alphadigi) */
  order: 3;
  width: 60%;
  /* escala menor */
  margin-left: -55%;
  /* puxa p/ a esquerda, mais perto dos outros dois */
  margin-bottom: 130px;
  /* abaixa mais 50px (era 180) */
  z-index: 3;
  position: relative;
  left: -70px;
  /* afasta um pouco p/ a direita (era -130) */
}

.hero-device-group--cameras {
  padding-left: 12%;
  /* empurra o conjunto para a direita */
  position: relative;
  left: 20px;
  /* conjunto levemente puxado p/ a esquerda (era 70px) */
}

.hero-device-group--cameras .hero-device-label {
  transform: translate(calc(-50% + 135px), 0px);
  /* label deslocada p/ a esquerda (era +210px, -75px) */
}

/* faixa de tablet (901–1100) é coberta pelo scale fluido da base */

/* hero text */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  /* bloco de texto inteiro (título, subtexto, botões, selos) reduz junto abaixo de ~1920 */
  transform: scale(1);
  transform: scale(clamp(.86, calc(var(--vw-num) / 1560), 1));
  transform-origin: center center;
}

.hero-eyebrow {
  margin: 0 0 10px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
  animation: vjs-fade-up .6s .1s cubic-bezier(.4, 0, .2, 1) both;
}

/* Texto só para leitores de tela e crawlers — oculto visualmente (mantém keyword no H1) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-title {
  font-size: clamp(2.6rem, 5.1vw, 4.6rem);
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.04em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .4);
}

.hero-title em {
  font-style: normal;
  color: var(--color-accent-lt);
}

/* surgimento do título: cada letra surge em cascata (split via JS) */
.hero-line {
  display: block;
}

.hero-line-in {
  display: block;
}

/* evita o flash do texto puro antes do split: esconde até o JS dividir em letras */
.js-anim .hero-line-in {
  opacity: 0;
}

.js-anim .hero-title.split-done .hero-line-in {
  opacity: 1;
}

/* logo "Sistemas": esconde até o Inter carregar p/ não aparecer no fallback (Arial) */
.js-anim .nav-logo span {
  opacity: 0;
}

.fonts-ready .nav-logo span {
  opacity: 1;
  transition: opacity .25s ease;
}

.hero-char {
  display: inline-block;
  white-space: pre;
  /* preserva os espaços */
  opacity: 0;
  transform: translateY(.55em);
  animation: hero-char-in .5s cubic-bezier(.22, 1, .36, 1) forwards;
  animation-delay: calc(var(--ci, 0) * .03s);
}

/* cor flat por letra — "fraudes" (filhas diretas do <em>) recebem o azul;
   "elimina" está no span e herda a cor do estilo inline */
.hero-title em>.hero-char {
  line-height: 1.3;
  color: var(--color-accent-lt);
}

@keyframes hero-char-in {
  from {
    opacity: 0;
    transform: translateY(.55em);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-char {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .js-anim .hero-line-in {
    opacity: 1;
  }

  .hero-bg,
  .page-hero--products .page-hero-bg::before,
  .hero-bg-wrap {
    animation: none;
  }

  .hero-eyebrow,
  .hero-desc,
  .hero-actions,
  .hero-trust {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.hero-desc {
  animation: vjs-fade-up .65s .28s cubic-bezier(.4, 0, .2, 1) both;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, .62);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 520px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}

.hero-actions {
  animation: vjs-fade-up .65s .46s cubic-bezier(.4, 0, .2, 1) both;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2.75rem;
}

.btn--dark {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .85);
}

.btn--dark:hover {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .22);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2vw, 24px);
  animation: vjs-fade-up .65s .62s cubic-bezier(.4, 0, .2, 1) both;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .45);
  font-weight: 500;
}

.hero-trust-item .check {
  color: var(--color-yellow);
}

.hero-trust-item [data-lucide] {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, .45);
  flex-shrink: 0;
  stroke-width: 2;
}


@media (max-width: 900px) {
  #hero {
    height: auto;
    min-height: 100svh;
    /* texto no TOPO (não centralizado) — evita o vão grande em cima */
    align-items: flex-start;
    padding-top: 92px;
    /* navbar (70) + respiro maior no topo */
    padding-bottom: 28px;
  }

  /* No mobile, não desloca a camada para cima: ela acompanha toda a altura
     variável da hero. O enquadramento à esquerda mantém carros e árvores
     visíveis atrás dos equipamentos, evitando a faixa inferior quase sólida. */
  .hero-bg-wrap {
    transform: none;
  }

  .hero-bg {
    background-position: 28% center;
  }

  /* mobile: tint preto idêntico ao desktop/apresentação (herda #hero::before, sem fade) */

  /* empilha em 1 coluna: texto centralizado em cima, produtos embaixo */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4px;
    justify-items: center;
    text-align: center;
  }

  .hero-content {
    margin-inline: auto;
    /* mais respiro acima do texto/título */
    margin-top: 30px;
    text-align: center;
    /* no mobile o texto usa tamanhos próprios, sem o scale do desktop */
    transform: none;
    /* texto POR CIMA dos produtos (que agora ficam centralizados atrás) */
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 18px rgba(4, 12, 24, .55);
  }

  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  /* modo empilhado: produtos saem do fluxo e preenchem o hero, ATRÁS do texto */
  .hero-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* acima do fundo (bg z0/z1), abaixo do texto (z2) */
    width: auto;
    min-height: 0;
    pointer-events: none;
  }

  /* no modo empilhado esconde os selos de confiança (Garantia/Suporte/Frete) */
  .hero-trust {
    display: none;
  }

  /* esconde a label (badge) no modo empilhado */
  .hero-device-label {
    display: none;
  }

  /* conjunto desce junto com o stats (mesma quantia, +85px): calc(60% + 105px).
     translateX -58% compensa a massa à direita */
  .hero-img-wrap {
    top: calc(60% + 75px);
    bottom: auto;
    transform: translate(-58%, -50%) scale(clamp(.58, calc(var(--vw-num) / 680), .86));
    transform-origin: center;
  }

  .hero-device-group--totens,
  .hero-device-group--cancela,
  .hero-device-group--catracas,
  .hero-device-group--cameras {
    bottom: 20px;
  }

  .hero-device-group--totens,
  .hero-device-group--cancela,
  .hero-device-group--catracas,
  .hero-device-group--autoatendimento {
    left: -20px;
  }

  .hero-device-group--autoatendimento {
    left: 0;
  }

  /* no mobile o translateX(-58%) do wrap já centraliza o grupo de câmeras;
     mantém o deslocamento original (o -40px é só p/ o desktop) */
  .hero-device-group--cameras {
    left: 70px;
  }

  /* setas do carrossel ficam pequenas demais no mobile */
  .hero-nav {
    display: none;
  }

  /* faixa de dados ocupa 2 linhas no mobile */
  .hero-eyebrow {
    font-size: .72rem;
    margin-bottom: 10px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 9.2vw, 3.3rem);
    margin-bottom: .85rem;
  }

  .hero-desc {
    font-size: .9rem;
    line-height: 1.55;
    margin-bottom: 1.1rem;
  }

  /* botões lado a lado (sem quebrar) e menores, p/ ocupar menos altura */
  .hero-actions {
    margin-bottom: 1.1rem;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .hero-actions .btn {
    padding: .62rem .95rem;
    font-size: .82rem;
    gap: 6px;
    flex: 0 1 auto;
    min-width: 0;
  }

  .hero-actions .btn svg,
  .hero-actions .btn [data-lucide] {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
  }

  .hero-trust {
    gap: 8px 18px;
  }
}

/* laptops baixos (não mobile): hero fixo (100svh), itens e totem encolhem p/ caber */
@media (max-height: 820px) and (min-width: 769px) {
  .hero-eyebrow {
    margin-bottom: 6px;
  }

  .hero-title {
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    margin-bottom: .85rem;
  }

  .hero-desc {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.15rem;
  }

  .hero-actions {
    margin-bottom: 1.15rem;
  }
  /* scale dos produtos agora é fluido por altura (min() na regra base) — sem degrau aqui */
}

@media (max-height: 660px) and (min-width: 769px) {
  .hero-eyebrow {
    margin-bottom: 4px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 3.8vw, 2.9rem);
    margin-bottom: .7rem;
  }

  .hero-desc {
    margin-bottom: .9rem;
  }

  .hero-actions {
    margin-bottom: .9rem;
    gap: 10px;
  }
  /* scale dos produtos: fluido por altura (min() na regra base) */
}

/* ── Depoimentos de clientes (dois carrosséis, direções opostas) ── */
#depoimentos {
  padding-bottom: clamp(10px, 1.6vw, 22px);
}

/* aproxima do "Outros clientes" abaixo */
.depo-carousel {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.6vw, 8px);
}

.depo-row {
  overflow: hidden;
  padding-block: 18px;
}

/* padding p/ o hover não ser cortado */
.depo-track {
  display: flex;
  align-items: stretch;
  width: max-content;
}

.depo-row--left .depo-track {
  animation: depo-left 55s linear infinite;
  animation-play-state: paused;
}

/* ============================================================
   Performance: reduz pintura contínua em dispositivos móveis
   e adia a renderização de seções fora da viewport.
   ============================================================ */
@media (max-width: 900px), (pointer: coarse) {
  .hero-bg {
    animation: none;
    transform: none;
  }

  /* Mesmo efeito no mobile, com raios menores para reduzir a área composta.
     Continua aplicado exclusivamente a <img>, nunca ao contêiner da cancela. */
  .hero-device-group.is-active img.is-loaded:not(.led-green) {
    filter:
      brightness(1.08) contrast(1.02) saturate(1.08)
      drop-shadow(0 12px 22px rgba(0, 0, 0, .52))
      drop-shadow(0 10px 28px rgba(16, 88, 193, .52));
  }

  .hero-noise {
    display: none;
  }

  .hero-nav-btn,
  .segmento-icon,
  .bento-icon {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (hover: none) {
  .hero-device-img:hover {
    transform: none;
  }
}

@supports (content-visibility: auto) {
  body > section.section:not(#hero):not(#stats):not(.page-hero),
  .seg-banner {
    content-visibility: auto;
    contain-intrinsic-size: auto 760px;
  }
}

.depo-row--right .depo-track {
  animation: depo-right 55s linear infinite;
  animation-play-state: paused;
}

.depo-row.is-motion-active .depo-track {
  animation-play-state: running;
}

.depo-row:hover .depo-track {
  animation-play-state: paused;
}

/* 3 cópias dos cards → deslocamento de 1/3 não abre vão mesmo em telas largas */
@keyframes depo-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-33.333%);
  }
}

@keyframes depo-right {
  from {
    transform: translateX(-33.333%);
  }

  to {
    transform: translateX(0);
  }
}

.depoimento-card {
  flex: 0 0 auto;
  width: clamp(290px, 25vw, 360px);
  margin-right: clamp(16px, 1.8vw, 22px);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.depoimento-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
  transform: translateY(-4px);
}

/* logo da empresa no topo do card */
.depoimento-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.depoimento-logo img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .10);
}

.depoimento-logo span {
  font-weight: 700;
  color: var(--color-text);
  font-size: 1.05rem;
  letter-spacing: -.01em;
}

.depoimento-stars {
  color: #f6c431;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", "Segoe UI Symbol", system-ui, sans-serif;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  text-shadow: 0 .5px 0 rgba(146, 98, 0, .18), 0 0 1px rgba(246, 196, 49, .35);
}

.depoimento-text {
  font-size: .98rem;
  line-height: 1.65;
  color: var(--color-text-mid);
}

.depoimento-context {
  margin-top: auto;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

@media (prefers-reduced-motion: reduce) {

  .depo-row--left .depo-track,
  .depo-row--right .depo-track {
    animation: none;
  }
}

/* ── Partners logo carousel ── */
#parceiros {
  background: var(--color-bg);
}

#cenarios {
  position: relative;
  overflow: hidden;
}

#cenarios .container {
  position: relative;
  z-index: 2;
}

#cenarios::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(600px, 60vw, 900px);
  height: clamp(600px, 60vw, 900px);
  background: url('../img/logos_vjs/simbolo.png?v=2026-07-13-1') no-repeat center;
  background-size: contain;
  opacity: 0.045;
  filter: invert(1);
  pointer-events: none;
  z-index: 1;
}

.cenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .cenarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cenarios-grid {
    grid-template-columns: 1fr;
  }
}

.cenario-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

/* Hover: levanta o card inteiro (.reveal na especificidade p/ vencer o .reveal.visible) */
.cenario-card.reveal:hover {
  transform: translateY(-6px);
  transition: transform 0.25s ease;
}

.cenario-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  border-radius: 0;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.25s ease;
}

.cenario-card:hover .cenario-img {
  box-shadow: var(--shadow-md);
}

.cenario-head {
  display: flow-root;
  margin-bottom: 1rem;
}

.cenario-icon {
  float: left;
  margin-right: 0.55rem;
  color: var(--color-accent);
  line-height: 1;
}

.cenario-icon [data-lucide] {
  display: block;
  width: 24px;
  height: 24px;
  stroke-width: 2.2;
  margin-top: 1px;
}

.cenario-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-base);
  margin: 0;
  line-height: 1.3;
}

.cenario-card p {
  font-size: 0.95rem;
  color: var(--color-text-mid);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.cenario-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s ease;
}

.cenario-link [data-lucide] {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

/* Hover no card: desliza "Saiba mais" + seta p/ a direita */
.cenario-card:hover .cenario-link {
  transform: translateX(4px);
}

.cenario-card:hover .cenario-link [data-lucide] {
  transform: translateX(4px);
}

/* ── Portfólio (bento) ── */
.produtos-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: clamp(10px, 1.2vw, 14px);
  height: clamp(440px, 58vw, 620px);
}

.bento-card--1 {
  grid-column: span 2 / span 2;
  grid-row: span 6 / span 6;
}

.bento-card--2 {
  grid-column: span 2 / span 2;
  grid-row: span 3 / span 3;
  grid-column-start: 3;
}

/* Totens & Pagamentos: desce um pouco a imagem (mostra mais do topo da foto) */
.bento-card--2 .bento-img {
  background-position: center 28%;
}

.bento-card--3 {
  grid-row: span 3 / span 3;
  grid-column-start: 3;
  grid-row-start: 4;
}

.bento-card--4 {
  grid-row: span 3 / span 3;
  grid-column-start: 4;
  grid-row-start: 4;
}

.bento-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: #fff;
  transition: border-color var(--transition);
}

.bento-card:hover {
  border-color: var(--color-accent);
}

.bento-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.bento-card:hover .bento-img {
  transform: scale(1.07);
}

.bento-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(8, 13, 26, .92), rgba(8, 13, 26, .45) 48%, rgba(8, 13, 26, .12));
}

.bento-content {
  position: relative;
  z-index: 2;
  padding: clamp(16px, 1.5vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.bento-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  margin-bottom: 4px;
}

.bento-icon [data-lucide] {
  width: 22px;
  height: 22px;
}

.bento-title {
  font-size: clamp(1.1rem, 1.5vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.bento-desc {
  font-size: .9rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.5;
  max-width: 40ch;
}

.bento-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: .85rem;
  font-weight: 800;
  color: #fff;
}

.bento-cta [data-lucide] {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.bento-card:hover .bento-cta [data-lucide] {
  transform: translateX(4px);
}

.bento-card--more {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bento-card--more .bento-content {
  align-items: center;
}

.bento-card--more .bento-img {
  filter: blur(2px);
  transform: scale(1.08);
}

.bento-card--more:hover .bento-img {
  transform: scale(1.12);
}

.bento-card--more .bento-overlay {
  background:
    linear-gradient(to top, rgba(7, 16, 30, .94) 0%, rgba(7, 16, 30, .6) 36%, rgba(7, 16, 30, .22) 66%, rgba(7, 16, 30, .14) 100%),
    radial-gradient(ellipse 70% 80% at 60% 45%, rgba(16, 88, 193, .13) 0%, transparent 65%);
}

@media (max-width: 760px) {
  .produtos-bento {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: minmax(180px, 1fr);
    height: auto;
  }

  .bento-card {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }

  .bento-card--1 {
    min-height: 250px;
  }
}

.hero-logos {
  display: flex;
  align-items: center;
  padding: 22px 0;
  overflow-x: clip;
  background: #fff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 42px, #000 calc(100% - 42px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 42px, #000 calc(100% - 42px), transparent);
}

.hero-logos-track {
  flex: 1;
  display: flex;
  overflow: hidden;
  padding-block: 8px;
}

.hero-logos-list {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  animation: marquee 28s linear infinite;
  animation-play-state: paused;
}

.hero-logos.is-motion-active .hero-logos-list {
  animation-play-state: running;
}

.hero-logos-track:hover .hero-logos-list {
  animation-play-state: paused;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(10px, 1.1vw, 16px);
  white-space: nowrap;
  border-right: 1px solid var(--color-border);
}

.logo-link {
  width: clamp(156px, 13vw, 196px);
  height: 76px;
  display: grid;
  place-items: center;
  padding: 0;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 8px;
  outline: none;
  transition: transform var(--transition);
}

.logo-link--dark {
  background: var(--color-primary);
}

.logo-link--green {
  background: #123d2b;
}

.logo-link--blue {
  background: #0f4f8a;
}

.logo-link--orange {
  background: #ea8a15;
}

.logo-item:hover .logo-link {
  transform: translateY(-1px);
}

.logo-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0;
  opacity: 0.98;
  transition: opacity var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.logo-item:hover .logo-img {
  opacity: 1;
  transform: none;
}

@media (max-width: 600px) {
  .logo-link {
    width: 148px;
    height: 68px;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}


/* ============================================================
   Segmentos — painéis full-bleed que preenchem a seção
   ============================================================ */
#segmentos,
#segmentos-intro {
  position: relative;
  background: var(--color-primary);
  padding: 0;
  overflow: hidden;
}

/* header da seção (fundo branco + marca d'água do símbolo, como no hero) */
.segmentos-header {
  position: relative;
  background: #fff;
  overflow: hidden;
  padding-block: clamp(36px, 5vw, 60px);
}

.segmentos-header--dark {
  background: transparent;
}

.segmentos-header--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(5, 10, 20, .90) 0%, rgba(5, 10, 20, .72) 55%, rgba(5, 10, 20, .45) 100%),
    linear-gradient(0deg, rgba(5, 10, 20, .6) 0%, transparent 50%);
}

.segmentos-header--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 68% 40%, rgba(16, 88, 193, .13) 0%, transparent 65%);
}

.segmentos-header--dark .hero-bg {
  z-index: 0;
}

.segmentos-header .container {
  position: relative;
  z-index: 2;
}

.segmentos-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.segmentos-header-logo {
  height: clamp(38px, 4vw, 54px);
  width: auto;
  display: block;
  margin-bottom: 1.1rem;
}

.segmentos-header-subtitle {
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.25;
  letter-spacing: -.01em;
  margin-bottom: 1.5rem;
  max-width: 440px;
}

.segmentos-header--dark .segmentos-header-subtitle {
  color: #fff;
}

.segmentos-header-btn {
  border: 1.5px solid var(--color-border);
  color: var(--color-primary);
  background: transparent;
}

.segmentos-header-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.segmentos-header--dark .segmentos-header-btn {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.segmentos-header--dark .segmentos-header-btn:hover {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.segmentos-header-text p {
  font-size: 1.0625rem;
  color: var(--color-text-mid);
  line-height: 1.8;
}

.segmentos-header--dark .segmentos-header-text p {
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
  .segmentos-header-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

.segmentos-header-symbol {
  position: absolute;
  inset: 0;
  background: url('../img/logos_vjs/simbolo.png?v=2026-07-13-1') no-repeat right -50px center;
  background-size: 440px auto;
  opacity: .06;
  filter: invert(1);
  /* símbolo é branco → escurece p/ aparecer no fundo claro */
  pointer-events: none;
}

/* faixa de largura total, painéis encostados, sem cantos */
.segmentos-grid {
  display: flex;
  width: 100%;
  height: clamp(380px, 44vw, 440px);
}

/* o grid serve apenas de gatilho do observer — neutraliza o .reveal global
   e anima os painéis em cascata (animation não conflita com transition: flex-grow) */
.segmentos-grid.reveal {
  opacity: 1;
  transform: none;
}

.segmentos-grid.reveal .segmento {
  opacity: 0;
}

.segmentos-grid.reveal.visible .segmento {
  animation: seg-in .65s cubic-bezier(.22, 1, .36, 1) both;
}

.segmentos-grid.reveal.visible .segmento:nth-of-type(1) {
  animation-delay: .05s;
}

.segmentos-grid.reveal.visible .segmento:nth-of-type(2) {
  animation-delay: .15s;
}

.segmentos-grid.reveal.visible .segmento:nth-of-type(3) {
  animation-delay: .25s;
}

.segmentos-grid.reveal.visible .segmento:nth-of-type(4) {
  animation-delay: .35s;
}

@keyframes seg-in {
  from {
    opacity: 0;
    transform: translateX(-44px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .segmentos-grid.reveal .segmento {
    opacity: 1;
    animation: none;
  }
}

.segmento {
  position: relative;
  flex: 1 1 0;
  /* painel ativo cresce; faixa sempre preenchida */
  height: 100%;
  /* preenche toda a altura da seção */
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: #fff;
  transition: flex-grow .55s cubic-bezier(.4, 0, .2, 1);
}

/* divisória fina entre os painéis */
.segmento::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, .12);
  z-index: 3;
}

.segmento:last-child::after {
  display: none;
}

/* textura grainy sobre as imagens */
.segmento::before {
  content: '';
  position: absolute;
  inset: 0 -1px;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .22;
  mix-blend-mode: overlay;
}

/* estado expandido: padrão no primeiro, depois segue o hover */
.segmento.is-active {
  flex-grow: 2.4;
}

.segmentos-grid:hover .segmento:not(:hover) {
  flex-grow: 1;
}

.segmentos-grid:hover .segmento:hover {
  flex-grow: 2.4;
}

.segmento-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: none;
  transform: scale(1.08);
  /* zoom base esconde a borda do blur */
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.segmento.is-active .segmento-img,
.segmento:hover .segmento-img {
  transform: scale(1.13);
}

.segmentos-grid:hover .segmento:not(:hover) .segmento-img {
  transform: scale(1.08);
}

.segmento-overlay {
  position: absolute;
  inset: 0 -1px;
  background:
    linear-gradient(to top,
      rgba(7, 16, 30, .94) 0%, rgba(7, 16, 30, .6) 36%, rgba(7, 16, 30, .22) 66%, rgba(7, 16, 30, .14) 100%),
    radial-gradient(ellipse 70% 80% at 60% 45%, rgba(16, 88, 193, .13) 0%, transparent 65%);
}

.segmento-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(20px, 2.2vw, 34px);
  width: 100%;
}

.segmento-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  margin-bottom: 4px;
}

.segmento-icon [data-lucide] {
  width: 24px;
  height: 24px;
  stroke-width: 2.2;
}

.segmento-title {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.segmento-desc {
  font-size: .92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, .82);
  max-width: 340px;
  max-height: 0;
  opacity: 0;
  transform: translateY(8px);
  overflow: hidden;
  transition: max-height .45s ease, opacity .4s ease, transform .4s ease;
}

.segmento-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .9rem;
  font-weight: 800;
  color: #fff;
  max-height: 0;
  opacity: 0;
  transform: translateY(8px);
  overflow: hidden;
  transition: max-height .45s ease, opacity .4s ease, transform .4s ease;
}

.segmento-cta [data-lucide] {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.segmento:hover .segmento-cta [data-lucide] {
  transform: translateX(4px);
}

/* revela texto apenas no painel expandido */
.segmento.is-active .segmento-desc,
.segmento.is-active .segmento-cta,
.segmento:hover .segmento-desc,
.segmento:hover .segmento-cta {
  max-height: 120px;
  opacity: 1;
  transform: none;
}

.segmentos-grid:hover .segmento:not(:hover) .segmento-desc,
.segmentos-grid:hover .segmento:not(:hover) .segmento-cta {
  max-height: 0;
  opacity: 0;
  transform: translateY(8px);
}

@media (max-width: 860px) {
  .segmentos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto;
  }

  .segmento,
  .segmento.is-active {
    height: clamp(200px, 46vw, 260px);
  }

  .segmento::after {
    display: none;
  }

  .segmento-content {
    min-width: 0;
  }

  .segmento-desc {
    display: none;
  }

  .segmento.is-active .segmento-cta,
  .segmento .segmento-cta {
    max-height: 40px;
    opacity: 1;
    transform: none;
  }
}

.segmento-header-card {
  flex: 0 0 clamp(290px, 27vw, 380px);
  background: #0f1e33;
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.segmento-header-card .section-label {
  color: var(--color-accent-lt);
  margin-bottom: 0.75rem;
}

.segmento-header-card h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}

.segmento-header-card p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.segmento-header-card .segmentos-header-btn {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  background: transparent;
}

.segmento-header-card .segmentos-header-btn:hover {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

@media (max-width: 860px) {
  .segmento-header-card {
    grid-column: 1 / -1;
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 36px 24px;
  }
}


/* ============================================================
   Stats Strip
   ============================================================ */
#stats {
  background: #fff;
  position: relative;
  z-index: 3;
  padding-block: clamp(12px, 1.8vw, 20px);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* Home: sobrepõe a base do hero */
#stats.stats--overlap {
  margin-top: -110px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.stat-item {
  padding: 8px 16px;
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon {
  width: 26px;
  height: 26px;
  color: var(--color-accent);
  flex-shrink: 0;
  stroke-width: 2.5;
}

.stat-num-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-item .n {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.stat-item .d {
  font-size: .8rem;
  color: var(--color-accent);
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

@media (max-width: 768px) {
  /* home mobile: a faixa stats vai para DEPOIS do hero (sem sobrepor para cima),
     assim o hero ocupa a tela inicial e a faixa fica abaixo da dobra.

     --stats-descend é o ÚNICO botão de ajuste: quanto a faixa stats desce a mais.
     A vitrine rotativa do hero (.hero-img-wrap) soma esse mesmo valor ao seu
     deslocamento, então faixa e carrossel descem SEMPRE na mesma quantia.
     Padrão 0px = posição atual; aumente (ex.: 24px) p/ descer os dois juntos. */
  html {
    --stats-descend: 0px;
  }

  #stats.stats--overlap {
    margin-top: var(--stats-descend);
  }

  /* faixa mais compacta (afinada) no mobile: menos padding, número/ícone/subtexto menores */
  #stats {
    padding-block: 8px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 6px 12px;
    gap: 2px;
  }

  .stat-icon {
    width: 20px;
    height: 20px;
  }

  .stat-item .n {
    font-size: 1.35rem;
  }

  .stat-item .d {
    font-size: .72rem;
    line-height: 1.25;
  }

  .stat-item:nth-child(3),
  .stat-item:last-child {
    border-bottom: none;
  }

  /* a vitrine do hero desce a MESMA quantia (--stats-descend) que a faixa stats,
     somada ao deslocamento base de 75px definido na media query de 900px */
  .hero-img-wrap {
    top: calc(60% + 75px + var(--stats-descend));
  }
}

/* Telas de altura baixa (ex.: 1366x768 e menores): afina a faixa de stats
   e a desce p/ encostar na base da dobra (sem espaço abaixo). Acima do
   breakpoint mobile (769px) p/ não mexer no layout de 2 colunas do celular. */
@media (min-width: 769px) and (max-height: 850px) {
  /* padding-bottom acompanha o overlap menor do stats (14 + 64) p/ o
     conteúdo do hero voltar a ficar centralizado (sem vazio embaixo) */
  #hero {
    padding-bottom: 78px;
  }

  /* stats mais fino: menos padding, número e ícone menores (subtexto mantido) */
  #stats {
    padding-block: 8px;
  }

  /* desce a faixa: overlap menor = base do stats encosta no fim da dobra */
  #stats.stats--overlap {
    margin-top: -64px;
  }

  .stat-item {
    padding: 4px 12px;
    gap: 2px;
    /* mantém o conjunto colado na base da faixa (sem gap abaixo) */
    justify-content: flex-end;
  }

  .stat-icon {
    width: 20px;
    height: 20px;
  }

  .stat-item .n {
    font-size: 1.45rem;
  }

  /* mantém o subtexto (só menor) p/ afinar a faixa sem deixar vazio */
  .stat-item .d {
    font-size: .72rem;
    line-height: 1.25;
  }

  /* aumenta um pouco a escala da coluna de texto do hero nessas telas */
  .hero-content {
    transform: scale(clamp(.92, calc(var(--vw-num) / 1480), 1.04));
  }

  /* vitrine do hero um pouco maior e mais alta (aumento moderado) */
  .hero-img-wrap {
    bottom: 8px;
    --hero-scale: clamp(.78, min(calc(var(--vw-num) / 1250), calc(var(--vh-num) / 850)), 1.12);
    --hero-descend: 150px;
  }
}

/* ============================================================
   Problema
   ============================================================ */

/* ============================================================
   Produtos
   ============================================================ */

/* ── Produtos em destaque (home) ── */
.produtos-destaque-block {
  margin-top: clamp(28px, 3.5vw, 44px);
}

.destaques-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.produto-destaque-card {
  flex: 0 1 calc(25% - 12px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fcfcfd;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.produto-destaque-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--color-accent);
}

.produto-destaque-img {
  display: block;
  height: 140px;
  overflow: hidden;
  position: relative;
}

.produto-destaque-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.produto-destaque-card:hover .produto-destaque-img img {
  transform: scale(1.05);
}

.produto-destaque-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.05rem 1.1rem 1.15rem;
}

.produto-destaque-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: .45rem;
}

.produto-destaque-ico {
  flex-shrink: 0;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.produto-destaque-ico [data-lucide] {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.produto-destaque-head h3 {
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: var(--color-text);
  margin: 0;
}

.produto-destaque-body p {
  font-size: .8rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: .8rem;
}

.produto-destaque-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  font-size: .78rem;
  font-weight: 700;
  color: var(--color-primary);
}

.produto-destaque-link [data-lucide] {
  width: 13px;
  height: 13px;
  stroke-width: 2.5;
  transition: transform var(--transition);
}

.produto-destaque-card:hover .produto-destaque-link [data-lucide] {
  transform: translateX(3px);
}

@media (max-width: 1000px) {
  .produto-destaque-card {
    flex-basis: calc(33.333% - 11px);
  }
}

@media (max-width: 680px) {
  .produto-destaque-card {
    flex-basis: calc(50% - 8px);
  }
}

@media (max-width: 420px) {
  .produto-destaque-card {
    flex-basis: 100%;
  }
}


/* ============================================================
   Diferenciais
   ============================================================ */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.diferencial-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background var(--transition);
}

.diferencial-card:hover {
  background: rgba(255, 255, 255, .09);
}

.diferencial-card .icon {
  font-size: 2rem;
  margin-bottom: .875rem;
}

.diferencial-card h4 {
  font-size: .9375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .375rem;
}

.diferencial-card p {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.5;
}

/* Variante clara: faixa cinza clara com cards brancos */
.diferenciais-light {
  background: var(--color-bg-alt);
}

.diferenciais-light .diferenciais-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(10px, 1vw, 14px);
}

.diferenciais-light .diferencial-card {
  padding: 1rem .75rem;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 2px rgba(15, 30, 51, .04);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.diferenciais-light .diferencial-card:hover {
  background: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 12px 26px rgba(15, 30, 51, .1);
  transform: translateY(-3px);
}

.diferenciais-light .diferencial-card .icon {
  color: var(--color-accent);
  margin-bottom: .4rem;
}

.diferenciais-light .diferencial-card .icon [data-lucide] {
  width: 23px;
  height: 23px;
}

.diferenciais-light .diferencial-card h4 {
  color: var(--color-text);
  font-size: .82rem;
}

.diferenciais-light .diferencial-card p {
  color: var(--color-text-light);
  font-size: .72rem;
}

@media (max-width: 900px) {
  .diferenciais-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .diferenciais-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   Prova Social
   ============================================================ */
.prova-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(32px, 4vw, 56px);
  flex-wrap: wrap;
  gap: 16px;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 180px;
  gap: 6px;
  grid-auto-flow: dense;
}

.galeria-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-alt);
  position: relative;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}

.galeria-item:hover img {
  transform: scale(1.06);
}

.galeria-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(18, 29, 80, .50) 0%, rgba(20, 50, 120, .20) 100%);
  pointer-events: none;
  z-index: 1;
}

.galeria-video-badge {
  z-index: 2;
}

.galeria-item--wide {
  grid-column: span 2;
}

.galeria-item--tall {
  grid-row: span 2;
}

.galeria-item--big {
  grid-column: span 2;
  grid-row: span 2;
}

.galeria-item--hero {
  grid-column: span 2;
  grid-row: span 2;
}

.galeria-yt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: cover;
}

.vid-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 3;
}

.vid-play-btn svg {
  width: 48px;
  height: 48px;
  color: #fff;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .55));
  transition: transform .15s ease, opacity .15s ease;
}

.vid-play-btn:hover svg {
  transform: scale(1.12);
}

.vid-play-btn .icon-pause {
  display: none;
}

.vid-play-btn.playing .icon-play {
  display: none;
}

.vid-play-btn.playing .icon-pause {
  display: block;
}

.galeria-video-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 28px 10px 9px;
  background: linear-gradient(to top, rgba(8, 18, 34, .88) 0%, transparent 100%);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .01em;
  pointer-events: none;
  z-index: 2;
}

.galeria-video-badge [data-lucide] {
  width: 12px;
  height: 12px;
  color: var(--color-yellow);
  stroke-width: 2.5;
  flex-shrink: 0;
}

.galeria-video-badge img {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .galeria-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .galeria-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .prova-header {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }

  .galeria-item--wide {
    grid-column: span 1;
  }

  .galeria-item--big {
    grid-column: span 2;
    grid-row: span 1;
  }

  .galeria-item--tall {
    grid-row: span 1;
  }
}

/* ============================================================
   CTA Final
   ============================================================ */
#cta-final {
  background: linear-gradient(135deg, #121d50 0%, #113278 50%, #121d50 100%);
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 88, 193, .2) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-final-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.cta-final-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.03em;
}

.cta-final-inner p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cta-note {
  margin-top: 1rem;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .35);
}

/* ============================================================
   Footer
   ============================================================ */
#footer {
  background: #0f1e33;
  color: rgba(255, 255, 255, .65);
  padding-block: clamp(48px, 6vw, 72px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* marca d'água do símbolo VJS à esquerda (decorativa, atrás do conteúdo) */
#footer::before {
  content: '';
  position: absolute;
  left: clamp(-140px, -6vw, -70px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(340px, 40vw, 560px);
  height: clamp(340px, 40vw, 560px);
  background: url('../img/logos_vjs/simbolo.png?v=2026-07-13-1') no-repeat left center / contain;
  opacity: .05;
  pointer-events: none;
  z-index: 0;
}

/* conteúdo do footer acima da marca d'água */
#footer > .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: .875rem;
  line-height: 1.7;
  max-width: 260px;
  margin-top: .75rem;
}

.footer-col h4 {
  font-size: .8125rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: .875rem;
  color: rgba(255, 255, 255, .5);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: rgba(255, 255, 255, .5);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, .6);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--color-accent);
  color: #fff;
}

/* Redes sociais em fundo claro (Contato) */
.social-links--light .social-link {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .3);
}

/* crédito "desenvolvido por hergesel.dev" + logo */
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .3);
  transition: color var(--transition);
}

.footer-credit:hover {
  color: rgba(255, 255, 255, .6);
}

.footer-credit-logo {
  height: 26px;
  width: auto;
  opacity: .55;
  transition: opacity var(--transition);
}

.footer-credit:hover .footer-credit-logo {
  opacity: .9;
}

.footer-credit strong {
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}

.nav-logo span {
  color: var(--color-accent);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   WhatsApp Float
   ============================================================ */
#wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.wa-bubbles {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

/* no mobile o widget começa FECHADO: só o botão redondo; as bolhas surgem ao tocar */
@media (max-width: 768px) {
  #wa-float .wa-bubbles {
    display: none;
  }

  #wa-float.is-open .wa-bubbles {
    display: flex;
    animation: wa-bubbles-in .22s cubic-bezier(.4, 0, .2, 1) both;
  }
}

@keyframes wa-bubbles-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .page-segmentos #wa-float {
    right: 12px;
    bottom: 12px;
  }

  .page-segmentos .wa-btn {
    width: 50px;
    height: 50px;
  }
}

.wa-bubble {
  background: #fff;
  color: var(--color-text);
  font-size: .8125rem;
  font-weight: 600;
  padding: .5rem 1rem;
  border-radius: 16px 16px 4px 16px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  text-decoration: none;
  transition: background .18s, transform .18s, color .18s;
  cursor: pointer;
}

.wa-bubble:hover {
  background: #25d366;
  color: #fff;
  transform: translateX(-3px);
}

.wa-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .55), 0 0 22px rgba(37, 211, 102, .45);
  transition: transform var(--transition), box-shadow var(--transition);
  color: #fff;
  animation: wa-pulse 2.4s ease-in-out infinite;
}

.wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, .7), 0 0 34px rgba(37, 211, 102, .6);
  animation: none;
}

/* ============================================================
   Page Hero (internal pages)
   ============================================================ */
.page-hero {
  background: var(--color-primary);
  padding-top: calc(70px + clamp(48px, 6vw, 80px));
  padding-bottom: clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(16, 88, 193, .15) 0%, transparent 60%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, .4);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: rgba(255, 255, 255, .8);
}

.breadcrumb .sep {
  color: rgba(255, 255, 255, .25);
}

.breadcrumb .current {
  color: rgba(255, 255, 255, .7);
  font-weight: 500;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: #fff;
  margin-bottom: .875rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.page-hero p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, .6);
  max-width: 600px;
  line-height: 1.7;
}

/* Hero de produtos: copy à esquerda + atalhos à direita */
.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.product-hero-aside {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 14px);
}

.product-hero-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: clamp(15px, 1.5vw, 19px) clamp(16px, 1.6vw, 22px);
  color: var(--color-primary);
  text-decoration: none;
  background: oklch(97.5% 0.007 252 / .94);
  border: 1px solid oklch(91% 0.018 252 / .85);
  box-shadow: 0 16px 30px oklch(8% 0.025 252 / .16);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.product-hero-card:hover,
.product-hero-card:focus-visible {
  border-color: oklch(62% 0.15 252);
  background: oklch(99% 0.006 252);
  transform: translateY(-3px);
  outline: none;
}

.product-hero-card-ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.product-hero-card-ico [data-lucide] {
  width: 30px;
  height: 30px;
  stroke-width: 1.9;
}

.product-hero-card-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.product-hero-card-title {
  font-size: clamp(.95rem, 1vw, 1.05rem);
  font-weight: 780;
  line-height: 1.15;
}

.product-hero-card-sub {
  font-size: .82rem;
  font-weight: 500;
  color: var(--color-text-mid);
  line-height: 1.3;
}

.product-hero-card > [data-lucide] {
  flex: 0 0 auto;
  margin-left: auto;
  box-sizing: border-box;
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  color: #fff;
  background: var(--color-accent);
  stroke-width: 2.75;
  transition: transform var(--transition), background var(--transition);
}

.product-hero-card:hover > [data-lucide] {
  transform: translateX(4px);
  background: var(--color-accent-dark);
}

@media (max-width: 820px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: clamp(22px, 5vw, 30px);
  }

  .product-hero-aside {
    max-width: 580px;
  }
}

.page-hero--products {
  min-height: clamp(300px, 36vw, 430px);
  padding-top: calc(70px + clamp(32px, 4vw, 52px));
  padding-bottom: clamp(32px, 4vw, 54px);
  display: flex;
  align-items: center;
  background: #07101e;
}

.page-hero--products .page-hero-bg {
  background: none;
}

.page-hero--products .page-hero-bg::before,
.page-hero--products .page-hero-bg::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.page-hero--products .page-hero-bg::before {
  inset: -18px;
  background-image: url('../img/hero/hero-portfolio.webp?v=2026-07-13-1');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  animation: page-hero-bg-in .65s ease-out both;
}

.page-hero--products .page-hero-bg::after {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 12, 32, .9) 0%, rgba(8, 16, 40, .76) 42%, rgba(8, 16, 40, .38) 100%),
    linear-gradient(0deg, rgba(6, 12, 32, .38) 0%, rgba(6, 12, 32, .1) 52%, rgba(6, 12, 32, .3) 100%);
}

@keyframes page-hero-bg-in {
  from {
    opacity: 0;
    transform: scale(1.025);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes page-hero-rise {
  from {
    opacity: 0;
    translate: 0 24px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes page-hero-slide {
  from {
    opacity: 0;
    translate: 38px 0;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

.page-hero--products h1,
.page-hero--products p,
.page-hero--products .breadcrumb {
  text-shadow: 0 2px 18px rgba(0, 0, 0, .32);
}

.page-hero--products:not(.page-hero--segments) .breadcrumb {
  animation: vjs-fade-up .62s .1s cubic-bezier(.4, 0, .2, 1) both;
}

.page-hero--products:not(.page-hero--segments) h1 {
  animation: vjs-fade-up .7s .2s cubic-bezier(.4, 0, .2, 1) both;
}

.page-hero--products:not(.page-hero--segments) p {
  animation: vjs-fade-up .68s .36s cubic-bezier(.4, 0, .2, 1) both;
}

.page-hero--products:not(.page-hero--segments) .cat-search {
  animation: vjs-fade-up .68s .52s cubic-bezier(.4, 0, .2, 1) both;
}

.page-hero--products:not(.page-hero--segments) .product-hero-card {
  animation: page-hero-slide .72s cubic-bezier(.4, 0, .2, 1) both;
}

.page-hero--products:not(.page-hero--segments) .product-hero-card:nth-child(1) {
  animation-delay: .36s;
}

.page-hero--products:not(.page-hero--segments) .product-hero-card:nth-child(2) {
  animation-delay: .5s;
}

.page-hero--segments {
  min-height: auto;
  padding-top: calc(70px + clamp(34px, 4vw, 56px));
  padding-bottom: clamp(36px, 5vw, 70px);
  align-items: flex-start;
}

.page-hero--segments .page-hero-bg::before {
  background-image: url('../img/hero/hero-segmentos.webp?v=2026-07-13-1');
  background-position: center;
}

.page-hero--segments .page-hero-bg::after {
  background:
    linear-gradient(90deg, rgba(6, 12, 32, .88) 0%, rgba(8, 16, 40, .72) 48%, rgba(8, 16, 40, .44) 100%),
    linear-gradient(0deg, rgba(6, 12, 32, .48) 0%, rgba(6, 12, 32, .08) 58%, rgba(6, 12, 32, .34) 100%);
}

.page-hero--segments .breadcrumb {
  animation: vjs-fade-up .62s .1s cubic-bezier(.4, 0, .2, 1) both;
}

.page-hero--segments h1 {
  animation: vjs-fade-up .7s .2s cubic-bezier(.4, 0, .2, 1) both;
}

.page-hero--segments p {
  animation: vjs-fade-up .68s .36s cubic-bezier(.4, 0, .2, 1) both;
}

.page-hero--segments .segment-hero-card {
  animation: page-hero-rise .58s cubic-bezier(.4, 0, .2, 1) both;
  animation-delay: calc(.46s + (var(--seg-card-i, 0) * .045s));
}

.page-hero--segments .segment-hero-card:nth-child(1) { --seg-card-i: 0; }
.page-hero--segments .segment-hero-card:nth-child(2) { --seg-card-i: 1; }
.page-hero--segments .segment-hero-card:nth-child(3) { --seg-card-i: 2; }
.page-hero--segments .segment-hero-card:nth-child(4) { --seg-card-i: 3; }
.page-hero--segments .segment-hero-card:nth-child(5) { --seg-card-i: 4; }
.page-hero--segments .segment-hero-card:nth-child(6) { --seg-card-i: 5; }
.page-hero--segments .segment-hero-card:nth-child(7) { --seg-card-i: 6; }
.page-hero--segments .segment-hero-card:nth-child(8) { --seg-card-i: 7; }
.page-hero--segments .segment-hero-card:nth-child(9) { --seg-card-i: 8; }
.page-hero--segments .segment-hero-card:nth-child(10) { --seg-card-i: 9; }
.page-hero--segments .segment-hero-card:nth-child(11) { --seg-card-i: 10; }
.page-hero--segments .segment-hero-card:nth-child(12) { --seg-card-i: 11; }

@media (prefers-reduced-motion: reduce) {
  .page-hero--products .page-hero-bg::before,
  .page-hero--products:not(.page-hero--segments) .breadcrumb,
  .page-hero--products:not(.page-hero--segments) h1,
  .page-hero--products:not(.page-hero--segments) p,
  .page-hero--products:not(.page-hero--segments) .cat-search,
  .page-hero--products:not(.page-hero--segments) .product-hero-card,
  .page-hero--segments .breadcrumb,
  .page-hero--segments h1,
  .page-hero--segments p,
  .page-hero--segments .segment-hero-card {
    animation: none;
    opacity: 1;
    translate: none;
    transform: none;
  }
}

.segment-hero {
  display: grid;
  gap: clamp(28px, 4vw, 46px);
}

.segment-hero-copy {
  max-width: 760px;
}

.page-hero--segments p {
  max-width: 700px;
}

.segment-hero-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
}

.segment-hero-card {
  min-width: 0;
  min-height: clamp(126px, 11vw, 160px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 1.7vw, 22px);
  padding: clamp(16px, 1.8vw, 24px) 14px;
  color: var(--color-primary);
  text-align: center;
  background: oklch(97.5% 0.007 252 / .94);
  border: 1px solid oklch(91% 0.018 252 / .85);
  border-radius: 0;
  box-shadow: 0 16px 30px oklch(8% 0.025 252 / .16);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), color var(--transition);
}

.segment-hero-card [data-lucide] {
  width: clamp(32px, 3.4vw, 44px);
  height: clamp(32px, 3.4vw, 44px);
  color: var(--color-accent);
  stroke-width: 1.75;
}

.segment-hero-card span {
  max-width: 13ch;
  color: inherit;
  font-size: clamp(.86rem, .95vw, 1rem);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: 0;
}

.segment-hero-card:hover,
.segment-hero-card:focus-visible {
  color: var(--color-primary);
  border-color: oklch(62% 0.15 252);
  background: oklch(99% 0.006 252);
  transform: translateY(-3px);
  outline: none;
}

.segment-hero-card:hover [data-lucide],
.segment-hero-card:focus-visible [data-lucide] {
  color: var(--color-cta);
}

.seg-banner[id] {
  scroll-margin-top: 96px;
}

.produtos-catalog-section {
  padding-top: clamp(22px, 3.4vw, 44px);
  scroll-margin-top: 92px;
}

/* Durante a busca, oculta os cabeçalhos e a seção "Todos os produtos"
   para focar nos resultados (os resultados ficam dentro de #catalogo) */
.catalog-searching .section-header {
  display: none;
}

.catalog-searching #todos-produtos {
  display: none;
}

.produto-catalog-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #fcfcfd;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.produto-catalog-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.produto-catalog-card[hidden] {
  display: none;
}

.produto-catalog-img {
  display: block;
  height: clamp(210px, 17vw, 250px);
  /* imagem maior — foco em destacar a foto */
  overflow: hidden;
  background: var(--color-bg-alt);
}

.produto-catalog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

.produto-catalog-card:hover .produto-catalog-img img {
  transform: scale(1.05);
}

/* render de estúdio dos totens (fundo branco, equipamentos altos):
   abaixa um pouco o recorte para não cortar o topo dos totens */
.produto-catalog-img img[src$="totens.webp"],
.produto-destaque-img img[src$="totens.webp"],
.seg-product-img img[src$="totens.webp"] {
  object-position: center 4%;
}

/* render de estúdio da cancela: dá margem no topo p/ não cortar o braço */
.produto-catalog-img img[src$="cancelas.webp"],
.produto-destaque-img img[src$="cancelas.webp"],
.seg-product-img img[src$="cancelas.webp"] {
  object-position: center 15%;
}

/* títulos longos nos cards: quebra equilibrada p/ não ficarem largos/tortos */
.produto-catalog-title,
.produto-destaque-head h3,
.seg-product-name {
  text-wrap: balance;
}

/* renders de estúdio (fundo branco): produto inteiro no card (contain) sobre branco */
.produto-catalog-img img[src*="controlid"],
.produto-catalog-img img[src*="totens-autoatendimento"],
.produto-catalog-img img[src*="leitores-de-placas"],
.produto-destaque-img img[src*="controlid"],
.produto-destaque-img img[src*="totens-autoatendimento"],
.produto-destaque-img img[src*="leitores-de-placas"],
.seg-product-img img[src*="controlid"],
.seg-product-img img[src*="totens-autoatendimento"],
.seg-product-img img[src*="leitores-de-placas"] {
  object-fit: contain;
  background: #fff;
  padding: 6px;
}

.produto-catalog-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
}

.produto-catalog-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.produto-catalog-kicker [data-lucide] {
  width: 15px;
  height: 15px;
  stroke-width: 2.25;
}

.produto-catalog-title {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.produto-catalog-desc {
  color: var(--color-text-mid);
  font-size: .88rem;
  line-height: 1.55;
}

.produto-catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--color-primary);
  font-size: .84rem;
  font-weight: 800;
}

.produto-catalog-link [data-lucide] {
  width: 15px;
  height: 15px;
  stroke-width: 2.4;
  transition: transform var(--transition);
}

.produto-catalog-card:hover .produto-catalog-link [data-lucide] {
  transform: translateX(3px);
}

/* Barra de busca de produtos: normal no hero; ao rolar, gruda flutuando no topo */
.cat-search {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: clamp(22px, 2.8vw, 32px) 0 0;
  border-radius: var(--radius-full);
}

/* Ao grudar: pílula fixa e centralizada no topo, com sombra + slide de entrada */
.cat-search.is-stuck {
  position: fixed;
  top: 84px;                 /* logo abaixo da navbar (70px) */
  left: 50%;
  transform: translateX(-50%);
  transform-origin: top center;
  width: min(580px, calc(100vw - 32px));
  margin: 0;
  z-index: 30;
  box-shadow: 0 14px 32px rgba(15, 30, 51, .18);
  animation: cat-search-drop .48s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes cat-search-drop {
  0% {
    opacity: 0;
    transform: translate(-50%, -26px) scale(.96);
  }

  70% {
    opacity: 1;
    transform: translate(-50%, 2px) scale(1);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@media (max-width: 768px) {
  .cat-search.is-stuck {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 580px;
    margin: clamp(22px, 2.8vw, 32px) 0 0;
    box-shadow: none;
    animation: none;
  }
}

.cat-search-btn {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #fff;
  /* ícone branco */
  cursor: pointer;
  transition: background var(--transition);
}

.cat-search-btn:hover {
  background: var(--color-accent-dark);
}

.cat-search-btn svg {
  width: 25px;
  height: 25px;
  stroke-width: 2.75;
  /* lupa mais bold, preenchendo o círculo */
}

.cat-search-input {
  width: 100%;
  padding: 15px 24px 15px 60px;
  /* espaço à esquerda p/ o botão azul */
  font: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  /* pílula */
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.cat-search-input::placeholder {
  color: var(--color-text-light);
}

.cat-search-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(16, 88, 193, .16);
}

/* Linha que separa a busca das categorias */
.cat-search-sep {
  height: 0;
  margin: clamp(22px, 3vw, 38px) 0 clamp(20px, 2.6vw, 32px);
  border: 0;
  border-top: 1px solid var(--color-border);
}

/* Resultados da busca */
.cat-search-results {
  margin-top: clamp(10px, 1.6vw, 18px);
}

.cat-search-count {
  margin-bottom: clamp(14px, 1.8vw, 20px);
  color: var(--color-text-light);
  font-size: .9rem;
  font-weight: 600;
}

/* ============================================================
   Segmentos
   ============================================================ */
.seg-section {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: clamp(32px, 4vw, 56px) 0 clamp(38px, 6vw, 78px);
}

.seg-banners {
  display: flex;
  flex-direction: column;
  gap: clamp(34px, 5vw, 70px);
  padding: 0 0 clamp(38px, 6vw, 78px);
}

.seg-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto 1fr;
  min-height: clamp(440px, 42vw, 560px);
  overflow: hidden;
  border: none;
  border-top: 1px solid oklch(86% 0.012 252);
  border-bottom: 1px solid oklch(86% 0.012 252);
  border-radius: 0;
  background: var(--color-primary);
  box-shadow: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.seg-banner:nth-child(odd) {
  grid-template-columns: 1fr auto;
}

.seg-banner-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--color-primary);
}

.seg-banner-figure {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.seg-banner-figure::after {
  content: none;
}

.seg-banner-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: blur(3px) saturate(1.04) contrast(1.02);
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}

.seg-banner:hover .seg-banner-figure img {
  transform: scale(1.035);
}

.seg-banner-body {
  position: relative;
  z-index: 2;
  grid-column: 1;
  align-self: stretch;
  justify-self: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 15px);
  width: clamp(460px, 46vw, 680px);
  margin-left: max(clamp(24px, 5vw, 48px), calc((100vw - var(--max-w)) / 2));
  padding:
    clamp(34px, 4.7vw, 64px) clamp(36px, 4vw, 56px) clamp(34px, 4.7vw, 64px) clamp(28px, 4.3vw, 58px);
  border-left: none;
  background: #fff;
}

.seg-banner:nth-child(odd) .seg-banner-body {
  grid-column: 2;
  justify-self: end;
  margin-left: 0;
  margin-right: max(clamp(24px, 5vw, 48px), calc((100vw - var(--max-w)) / 2));
}

.seg-banner-heading {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  z-index: 4;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "subtitle subtitle";
  align-items: center;
  column-gap: clamp(12px, 1.2vw, 16px);
  row-gap: clamp(4px, .5vw, 8px);
  margin: calc(-1 * clamp(34px, 4.7vw, 64px)) calc(-1 * clamp(36px, 4vw, 56px)) 0 calc(-1 * clamp(28px, 4.3vw, 58px));
  padding: clamp(20px, 2.8vw, 32px) clamp(36px, 4vw, 56px) clamp(20px, 2.8vw, 32px) clamp(28px, 4.3vw, 58px);
  background: #0f1e33;
  pointer-events: none;
}

.seg-banner-heading::after {
  content: none;
}

.seg-banner-icon {
  grid-area: icon;
  flex: 0 0 auto;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(38px, 4vw, 48px);
  height: clamp(38px, 4vw, 48px);
  color: oklch(97% 0.01 252);
  background: oklch(100% 0.004 252 / .14);
  border: 1px solid oklch(100% 0.004 252 / .28);
  border-radius: 10px;
  backdrop-filter: blur(4px);
  box-shadow: 0 12px 28px oklch(8% 0.03 252 / .24);
}

.seg-banner-icon [data-lucide] {
  width: clamp(22px, 2.2vw, 26px);
  height: clamp(22px, 2.2vw, 26px);
  stroke-width: 2;
}

.seg-banner-title {
  grid-area: title;
  max-width: min(48vw, 590px);
  font-size: clamp(1.75rem, 2.9vw, 2.85rem);
  line-height: .98;
  font-weight: 850;
  letter-spacing: 0;
  color: oklch(97% 0.01 252);
  text-shadow: 0 3px 18px oklch(8% 0.035 252 / .48);
}

.seg-banner-subtitle {
  grid-area: subtitle;
  max-width: min(42vw, 520px);
  margin: 0;
  color: oklch(94% 0.012 252 / .88);
  font-size: clamp(.82rem, .95vw, .95rem);
  font-weight: 620;
  line-height: 1.42;
  text-shadow: 0 2px 14px oklch(8% 0.035 252 / .5);
}

.seg-banner-desc {
  max-width: 68ch;
  color: oklch(39% 0.032 252);
  font-size: clamp(.94rem, 1.05vw, 1.05rem);
  line-height: 1.7;
}

.seg-benefits {
  display: grid;
  gap: 8px;
  margin: 3px 0 0;
  padding: 0;
  list-style: none;
}

.seg-benefits li {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding-left: 0;
  color: oklch(36% 0.035 252);
  font-size: clamp(.9rem, .98vw, .98rem);
  font-weight: 520;
  line-height: 1.42;
}

.seg-benefits li::before,
.seg-benefits li::after {
  content: none;
}

.seg-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin-top: .06em;
  color: var(--color-accent);
  background: none;
  border: none;
  border-radius: 0;
}

.seg-benefit-icon [data-lucide] {
  width: 18px;
  height: 18px;
  stroke-width: 2.25;
}

.seg-banner-quote {
  order: 0;
  align-self: flex-start;
  justify-content: center;
  margin-top: 2px;
  font-size: .875rem;
}

.seg-products {
  margin-top: clamp(10px, 1.3vw, 16px);
  padding-top: clamp(12px, 1.6vw, 18px);
  border-top: 1px solid oklch(88% 0.012 252);
}

.seg-products-label {
  display: block;
  color: oklch(37% 0.045 252 / .76);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .11em;
  line-height: 1;
  text-transform: uppercase;
}

.seg-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.seg-product {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  color: oklch(24% 0.045 252);
  text-decoration: none;
  background: #fff;
  border: 1px solid oklch(87% 0.014 252);
  border-radius: 0;
  box-shadow: 0 1px 2px oklch(24% 0.04 252 / .05);
  transition: transform .24s cubic-bezier(.22, 1, .36, 1), border-color .24s cubic-bezier(.22, 1, .36, 1), box-shadow .24s cubic-bezier(.22, 1, .36, 1);
}

.seg-product:hover,
.seg-product:focus-visible {
  transform: translateY(-3px);
  border-color: oklch(62% 0.16 255 / .55);
  box-shadow: 0 12px 26px oklch(24% 0.055 252 / .14);
}

.seg-product:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.seg-product-img {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: oklch(91% 0.012 252);
}

.seg-product-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
  transition: transform .36s cubic-bezier(.22, 1, .36, 1);
}

.seg-product:hover .seg-product-img img,
.seg-product:focus-visible .seg-product-img img {
  transform: scale(1.045);
}

.seg-product-name {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 12px;
  border-top: 1px solid oklch(91% 0.01 252);
  font-size: clamp(.68rem, .78vw, .76rem);
  font-weight: 780;
  line-height: 1.16;
}

.seg-product-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.seg-product-icon [data-lucide] {
  width: 16px;
  height: 16px;
  stroke-width: 2.25;
}

.seg-products-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}

.seg-products-link {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  line-height: 1.1;
  white-space: nowrap;
  transition: color .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.seg-products-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.seg-products-action-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  stroke-width: 2.35;
}

.seg-products-link--more {
  color: var(--color-primary);
  padding: .35rem 0;
  font-weight: 820;
}

.seg-products-link--more:hover,
.seg-products-link--more:focus-visible {
  color: var(--color-accent);
}

.seg-products-link--more .seg-products-action-icon {
  transition: transform .24s cubic-bezier(.22, 1, .36, 1);
}

.seg-products-link--more:hover .seg-products-action-icon,
.seg-products-link--more:focus-visible .seg-products-action-icon {
  transform: translateX(3px);
}

.seg-clients {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: clamp(72px, 6.8vw, 88px);
  padding: 8px clamp(22px, 3.8vw, 52px);
  border-top: 1px solid oklch(100% 0.004 252 / .38);
  background: oklch(97% 0.006 252 / .8);
}

.seg-clients-track {
  display: flex;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, oklch(0% 0 0) 34px, oklch(0% 0 0) calc(100% - 34px), transparent);
  mask-image: linear-gradient(90deg, transparent, oklch(0% 0 0) 34px, oklch(0% 0 0) calc(100% - 34px), transparent);
}

.seg-clients-list {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marquee 24s linear infinite;
  animation-play-state: paused;
}

.seg-clients-track.is-motion-active .seg-clients-list {
  animation-play-state: running;
}

.seg-clients-track:hover .seg-clients-list {
  animation-play-state: paused;
}

.seg-clients-list li {
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(170px, 15vw, 236px);
  padding: 0 clamp(20px, 2.6vw, 38px);
}

.seg-logo-card::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(128px, 11vw, 164px);
  height: clamp(48px, 5.4vw, 64px);
  transform: translate(-50%, -50%);
  background: var(--seg-logo-bg, var(--color-primary));
  border: 1px solid oklch(100% 0.004 252 / .28);
}

.seg-logo-card--dark {
  --seg-logo-bg: var(--color-primary);
}

.seg-logo-card--green {
  --seg-logo-bg: #123d2b;
}

.seg-logo-card--blue {
  --seg-logo-bg: #0f4f8a;
}

.seg-logo-card--orange {
  --seg-logo-bg: #ea8a15;
}

.seg-clients-list img {
  position: relative;
  z-index: 1;
  width: auto;
  height: clamp(38px, 4.2vw, 60px);
  max-width: 220px;
  object-fit: contain;
  opacity: .96;
  filter: saturate(1.08) contrast(1.02) drop-shadow(0 1px 2px oklch(18% 0.035 252 / .2));
  transition: opacity var(--transition), filter var(--transition);
}

.seg-clients-list li:hover img {
  opacity: 1;
  filter: saturate(1.15) contrast(1.04) drop-shadow(0 1px 2px oklch(18% 0.035 252 / .22));
}

@media (max-width: 980px) {
  .seg-banner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .seg-banner-media {
    min-height: clamp(340px, 62vw, 480px);
  }

  .seg-banner-body {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    justify-self: stretch;
    padding: clamp(24px, 5.8vw, 42px);
    border-left: 0;
    border-top: 1px solid oklch(90% 0.01 252);
    background: oklch(96.8% 0.007 252);
    box-shadow: none;
  }

  .seg-banner:nth-child(odd) .seg-banner-body {
    margin-left: 0;
    margin-right: 0;
    justify-self: stretch;
  }

  .seg-banner-heading {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    max-width: none;
    gap: 12px;
    margin: calc(-1 * clamp(24px, 5.8vw, 42px)) calc(-1 * clamp(24px, 5.8vw, 42px)) 0;
    padding: clamp(20px, 5vw, 32px) clamp(24px, 5.8vw, 42px);
  }

  .seg-banner-title {
    max-width: none;
    font-size: clamp(1.75rem, 6vw, 2.35rem);
  }

  .seg-banner-subtitle {
    max-width: min(78vw, 520px);
    font-size: clamp(.78rem, 2.4vw, .9rem);
  }
}

@media (max-width: 560px) {
  .seg-banners {
    gap: 30px;
    padding-block: 32px 50px;
  }

  .seg-banner {
    border-radius: 0;
  }

  .seg-banner-media {
    min-height: 430px;
  }

  .seg-banner-body {
    gap: 10px;
  }

  .seg-banner-heading {
    top: auto;
    bottom: auto;
    column-gap: 10px;
    row-gap: 8px;
  }

  .seg-banner-icon {
    width: 40px;
    height: 40px;
  }

  .seg-banner-icon [data-lucide] {
    width: 21px;
    height: 21px;
  }

  .seg-banner-title {
    font-size: clamp(1.35rem, 7.2vw, 1.85rem);
  }

  .seg-banner-subtitle {
    max-width: none;
    font-size: .78rem;
    line-height: 1.35;
  }

  .seg-clients {
    padding-inline: 14px;
    min-height: 72px;
  }

  .seg-clients-list li {
    min-width: 148px;
  }

  .seg-benefits li {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px;
    padding-right: 0;
  }

  .seg-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seg-products-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .seg-banner-quote {
    width: 100%;
  }
}

/* ============================================================
   Explorer de categorias (bento → header + produtos)
   ============================================================ */
.cat-explorer {
  --head-h: clamp(150px, 17vw, 184px);
  --mini-h: clamp(124px, 15vw, 158px);
  --cat-gap: clamp(16px, 2.2vw, 28px);
  /* respiro entre categorias diferentes */
  position: relative;
  scroll-margin-top: 90px;
}

/* Card de categoria (botão que reusa o visual .bento-card) */
.cat-card {
  cursor: pointer;
  font: inherit;
  text-align: left;
  color: #fff;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: opacity .25s ease;
}

.cat-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.cat-card-face {
  transition: opacity .3s ease;
}

/* Conteúdo que aparece quando o card vira header */
.cat-card-head {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
  padding: 0 clamp(18px, 2.6vw, 36px);
  opacity: 0;
  pointer-events: none;
}

/* Bloco central: título + pequeno texto, empurra os dados p/ a direita */
.cat-card-headmain {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin-right: auto;
}

.cat-card-headtitle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -.02em;
}

.cat-card-headtitle .bento-icon {
  margin-bottom: 0;
}

.cat-card-headsub {
  font-size: clamp(.85rem, 1.15vw, .98rem);
  font-weight: 400;
  line-height: 1.35;
  color: rgba(255, 255, 255, .74);
  max-width: 46ch;
}

/* Dados à direita: número de soluções + tag da categoria */
.cat-card-headdata {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  padding-left: clamp(14px, 1.8vw, 26px);
  border-left: 1px solid rgba(255, 255, 255, .18);
}

.cat-card-stat {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.cat-card-stat b {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
}

.cat-card-stat small {
  margin-top: 5px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}

.cat-card-tag {
  padding: 7px 14px;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius-sm);
}

/* Estado aberto: explorer vira um grid único → header em cima, produtos no meio, minis embaixo.
   display:contents faz os cards e o painel ativo virarem itens diretos desse grid (order 1/2/3). */
.cat-explorer.is-open {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 0;
  /* header encosta no fundo cinza dos produtos */
  column-gap: clamp(10px, 1.2vw, 14px);
  /* espaço só entre os mini-cards */
}

.cat-explorer.is-open .cat-grid,
.cat-explorer.is-open .cat-panels {
  display: contents;
}

.is-open .cat-card {
  /* zera os spans do bento */
  grid-column: auto;
  grid-row: auto;
}

.is-open .cat-card.is-header {
  /* order definido inline pelo JS (ordem de abertura) */
  grid-column: 1 / -1;
  height: var(--head-h);
  align-items: center;
}

.is-open .cat-panel:not([hidden]) {
  /* produtos logo abaixo do header da sua categoria */
  grid-column: 1 / -1;
}

/* Rótulo "Ver outras categorias" acima dos mini-cards */
.cat-mini-label {
  display: none;
}

.is-open .cat-mini-label {
  /* order definido inline pelo JS (fica logo acima dos minis) */
  display: block;
  grid-column: 1 / -1;
  margin: clamp(14px, 2vw, 22px) 0 clamp(10px, 1.4vw, 16px);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.cat-card.is-header .cat-card-face {
  opacity: 0;
  pointer-events: none;
}

.cat-card.is-header .cat-card-head {
  opacity: 1;
  pointer-events: auto;
  transition: opacity .3s ease .2s;
  /* texto do header entra após o morph */
}

.cat-card.is-header .bento-overlay {
  background: linear-gradient(90deg, rgba(6, 12, 32, .9) 0%, rgba(8, 16, 40, .62) 55%, rgba(8, 16, 40, .78) 100%);
}

/* Cards ainda fechados: menores, na fileira de baixo (order inline pelo JS) */
.is-open .cat-card.is-mini {
  height: var(--mini-h);
}

.cat-card.is-mini .bento-desc,
.cat-card.is-mini .bento-cta {
  display: none;
}

.cat-card.is-mini .bento-content {
  gap: 4px;
}

.cat-card.is-mini .bento-icon {
  width: 34px;
  height: 34px;
}

.cat-card.is-mini .bento-title {
  font-size: clamp(.95rem, 1.3vw, 1.15rem);
}

.cat-card.is-mini:hover {
  border-color: var(--color-accent);
}

/* Painéis de produtos */
.cat-panels {
  position: relative;
}

.cat-panel {
  /* fundo cinza atrás dos produtos p/ separar cada categoria */
  padding: clamp(22px, 2.8vw, 32px) clamp(18px, 2.4vw, 30px);
  background: var(--color-bg-alt);
}

.cat-panel[hidden] {
  display: none;
}

.cat-panel--enter {
  /* entrada do painel recém-aberto, mesma curva/duração do FLIP p/ ficar em sincronia */
  animation: cat-panel-in .5s cubic-bezier(.4, 0, .2, 1);
  will-change: transform, opacity;
}

@keyframes cat-panel-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.cat-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 16px;
}

@media (prefers-reduced-motion: reduce) {

  .cat-card,
  .cat-card-face,
  .cat-card.is-header .cat-card-head {
    transition: none;
  }

  .cat-panel--enter {
    animation: none;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .cat-explorer {
    --head-h: 118px;
  }

  .cat-card-headtitle {
    font-size: 1.05rem;
  }

  .cat-card-headtitle .bento-icon {
    display: none;
  }

  .cat-card-headsub {
    display: none;
  }

  /* mantém só título + dado no mobile */
  .cat-card-headdata {
    padding-left: 12px;
    gap: 12px;
  }

  .cat-card-tag {
    display: none;
  }

  .cat-card-stat b {
    font-size: 1.5rem;
  }
}

@media (max-width: 560px) {
  .page-hero--products {
    min-height: 310px;
    padding-top: 98px;
    padding-bottom: 30px;
  }

  .page-hero--segments {
    padding-top: 98px;
    padding-bottom: 34px;
  }
}

@media (max-width: 1120px) {
  .segment-hero-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .segment-hero-card {
    min-height: 132px;
  }
}

@media (max-width: 680px) {
  .segment-hero {
    gap: 24px;
  }

  .segment-hero-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .segment-hero-card {
    min-height: 102px;
    gap: 9px;
    padding: 12px 7px;
  }

  .segment-hero-card [data-lucide] {
    width: 28px;
    height: 28px;
  }

  .segment-hero-card span {
    max-width: 13ch;
    font-size: .68rem;
    line-height: 1.08;
  }
}

/* ============================================================
   Sobre Empresa
   ============================================================ */
.sobre-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.sobre-intro-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: .875rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--color-text);
  line-height: 1.2;
}

.sobre-intro-text p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text-mid);
  margin-bottom: 1rem;
}

.sobre-visual {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.sobre-visual h3 {
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.timeline {
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: flex;
  gap: 16px;
  padding-bottom: 1.5rem;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, .12);
}

.timeline-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-year {
  font-size: .75rem;
  color: rgba(255, 255, 255, .4);
  font-weight: 600;
  margin-bottom: .25rem;
}

.timeline-content p {
  font-size: .875rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .sobre-intro {
    grid-template-columns: 1fr;
  }
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.valor-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.valor-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.valor-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.valor-card h3 {
  font-size: 1.125rem;
  margin-bottom: .5rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.valor-card p {
  font-size: .9375rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .valores-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 480px) and (max-width: 768px) {
  .valores-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   Contato
   ============================================================ */
.contato-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contato-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition);
}

.contato-card:hover {
  box-shadow: var(--shadow-sm);
}

.contato-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contato-card h4 {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .25rem;
}

.contato-card p,
.contato-card a {
  font-size: .9375rem;
  color: var(--color-text);
  font-weight: 500;
}

.contato-card a:hover {
  color: var(--color-accent);
}

/* Mapa incorporado (Sobre e Contato) */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.map-embed iframe {
  display: block;
  border: 0;
  width: 100%;
  height: 100%;
}

.map-embed--banner {
  height: 380px;
  /* faixa larga (Contato) */
}

.map-embed--card {
  aspect-ratio: 4 / 3;
  /* cartão lado a lado (Sobre) */
}

.form-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
}

.form-card h3 {
  font-size: 1.375rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-text-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: .9375rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(16, 88, 193, .12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

@media (max-width: 768px) {
  .contato-wrap {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Produto em detalhe
   ============================================================ */
.detail-section {
  background: var(--color-bg);
}

.detail-breadcrumb {
  margin-top: 48px;
  margin-bottom: 36px;
  color: var(--color-text-light);
}

.detail-breadcrumb a {
  color: var(--color-text-light);
}

.detail-breadcrumb a:hover {
  color: var(--color-accent);
}

.detail-breadcrumb .sep {
  color: var(--color-border);
}

.detail-breadcrumb .current {
  color: var(--color-text-mid);
}

.detail-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

/* Image */
.detail-img-frame {
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 32px;
}

.detail-img-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--color-text-light);
}

.detail-img-ph svg {
  opacity: .35;
}

.detail-img-ph span {
  font-size: .85rem;
  opacity: .5;
}

.detail-badge-wrap {
  margin-top: 12px;
}

.detail-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 700;
  background: rgba(234, 88, 24, .1);
  color: var(--color-yellow);
  border: 1px solid rgba(234, 88, 24, .25);
}

/* Info */
.detail-category {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 10px;
}

.detail-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--color-heading);
  margin: 0 0 16px;
  line-height: 1.2;
}

.detail-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin: 0 0 32px;
}

/* Specs */
.detail-specs-heading {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.detail-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 0 32px;
}

.detail-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.detail-spec-item dt {
  font-size: .75rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.detail-spec-item dd {
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-heading);
  margin: 0;
}

/* Actions */
.detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.detail-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}


@media (max-width: 768px) {
  .detail-wrap {
    grid-template-columns: 1fr;
  }

  .detail-specs-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Scroll Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

.reveal-delay-4 {
  transition-delay: .4s;
}

/* ============================================================
   Página de Produto (Product Detail Page — .pdp-*)
   ============================================================ */

/* Botão de contorno para fundos claros (navy) */
.btn--line {
  border: 2px solid var(--color-border);
  color: var(--color-primary);
  background: #fff;
}

.btn--line:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
}

/* Variação clara do rótulo de seção (sobre fundos escuros) */
.section-label--light {
  color: var(--color-accent-lt);
}

/* ── Hero do produto ── */
.pdp-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 85% 0%, rgba(16, 88, 193, .35) 0%, transparent 55%),
    linear-gradient(135deg, #0f1746 0%, #121d50 45%, #16256a 100%);
  color: #fff;
  padding-block: clamp(120px, 15vh, 176px) clamp(48px, 7vw, 96px);
}

.pdp-hero-glow {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 88, 24, .18) 0%, transparent 70%);
  top: -180px;
  right: -120px;
  pointer-events: none;
}

/* marca d'água (símbolo VJS) à direita, atrás da cancela */
.pdp-hero-watermark {
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  width: clamp(360px, 42vw, 640px);
  aspect-ratio: 1 / 1;
  background: url('../img/logos_vjs/simbolo.png?v=2026-07-13-1') center center / contain no-repeat;
  opacity: .08;
  z-index: 0;
  pointer-events: none;
}

.pdp-hero-grid {
  position: relative;
  /* sem z-index: mantém o grid acima do glow/watermark pela ordem do DOM,
     mas sem criar contexto de empilhamento — assim o mix-blend-mode do vídeo
     enxerga o fundo navy do hero e o preto do vídeo some */
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.pdp-breadcrumb {
  margin-bottom: 1.25rem;
}

.pdp-breadcrumb a {
  color: rgba(255, 255, 255, .7);
}

.pdp-breadcrumb a:hover {
  color: #fff;
}

.pdp-breadcrumb .sep {
  color: rgba(255, 255, 255, .35);
}

.pdp-breadcrumb .current {
  color: #fff;
}

.pdp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent-lt);
  margin-bottom: 1rem;
}

.pdp-eyebrow [data-lucide] {
  width: 18px;
  height: 18px;
}

.pdp-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}

.pdp-lead {
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, .78);
  max-width: 44ch;
  margin-bottom: 2rem;
}

.pdp-lead strong {
  color: #fff;
  font-weight: 700;
}

.pdp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 2rem;
}

.pdp-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.pdp-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .82);
}

.pdp-hero-trust [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--color-accent-lt);
}

/* ── Media do hero ── */
.pdp-hero-media {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.pdp-hero-frame {
  position: relative;
  width: 100%;
}

.pdp-hero-frame > img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

/* Vídeo animado da cancela (troca de cor + sobe), grandão sangrando pela direita/baixo.
   WebM com transparência real → cores fiéis (sem tint) + sombra própria */
.pdp-hero-video {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  transform: scale(1.62) translate(9%, 9%);
  transform-origin: right center;
  filter: none;
}

/* resto do conjunto de cancelas (peças de trás/lado) — esmaecido e fixo, atrás do vídeo */
.pdp-hero-extra {
  position: absolute;
  z-index: 1;
  height: auto;
  opacity: .42;
  filter: saturate(.9);
  pointer-events: none;
  /* desce o conjunto ~300px e desloca ~25px p/ a esquerda */
  transform: translate(-25px, 300px);
}

.pdp-hero-extra--aside {
  width: 52%;
  left: -6%;
  bottom: 4%;
}

.pdp-hero-extra--back {
  width: 42%;
  left: 20%;
  bottom: 22%;
}

.pdp-hero-badge {
  position: absolute;
  z-index: 3;
  left: clamp(-8px, -1vw, 0px);
  bottom: -18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-cta);
  color: #fff;
  font-weight: 700;
  font-size: .9375rem;
  padding: .7rem 1.15rem;
  box-shadow: 0 10px 26px rgba(234, 88, 24, .45);
}

.pdp-hero-badge [data-lucide] {
  width: 18px;
  height: 18px;
}

/* ── Faixa de autoridade ── */
.pdp-authority {
  position: relative;
  overflow: hidden;
  background: #121d50;
  color: #fff;
  padding-block: clamp(36px, 5vw, 64px);
}

/* foto do produto (mesma do card) borrada ao fundo */
.pdp-authority::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/produtos/cancelas-automaticas.webp?v=2026-07-13-1') center center / cover no-repeat;
  filter: blur(9px);
  transform: scale(1.12);
  z-index: 0;
}

/* tint navy por cima da foto — mantém o texto legível */
.pdp-authority::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 29, 80, .82) 0%, rgba(17, 50, 120, .55) 52%, rgba(18, 29, 80, .4) 100%);
  z-index: 1;
}

.pdp-authority-inner {
  position: relative;
  z-index: 2;
}

.pdp-authority-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.pdp-authority-text h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}

.pdp-authority-text p {
  color: rgba(255, 255, 255, .72);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 62ch;
}

.pdp-authority .btn {
  white-space: nowrap;
}

/* ── Como funciona (passos) ── */
.pdp-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  counter-reset: pdp-step;
}

.pdp-step {
  position: relative;
  padding: 2rem 1.5rem 1.75rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
}

.pdp-step-num {
  position: absolute;
  top: -1px;
  right: 0;
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(16, 88, 193, .1);
  padding: .25rem .75rem;
}

.pdp-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--color-primary);
  color: #fff;
  margin-bottom: 1.25rem;
}

.pdp-step-icon [data-lucide] {
  width: 26px;
  height: 26px;
}

.pdp-step h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: .5rem;
}

.pdp-step p {
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--color-text-mid);
}

/* ── Diferenciais ── */
.pdp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.pdp-feature {
  padding: 2rem 1.75rem;
  background: #fff;
  border: 1px solid var(--color-border);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.pdp-feature:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pdp-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.pdp-feature-icon [data-lucide] {
  width: 28px;
  height: 28px;
}

.pdp-feature h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: .625rem;
}

.pdp-feature p {
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--color-text-mid);
}

/* ── Especificações técnicas ── */
.pdp-specs-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.pdp-specs-intro .section-title {
  margin-top: .25rem;
}

.pdp-specs-intro .btn {
  margin-top: 1.5rem;
}

.pdp-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--color-border);
  border-bottom: 0;
}

.pdp-spec {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.pdp-spec:nth-child(odd) {
  border-right: 1px solid var(--color-border);
}

.pdp-spec dt {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.pdp-spec dd {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

/* ── Galeria de projetos ── */
.pdp-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
}

.pdp-gallery-item {
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 3;
}

.pdp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.pdp-gallery-item:hover img {
  transform: scale(1.06);
}

/* ── Bento de projetos (vídeo à esquerda + 3 imagens à direita) ── */
.pdp-bento {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(12px, 1.5vw, 18px);
  aspect-ratio: 12 / 5;
}

.pdp-bento-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.pdp-bento-item img,
.pdp-bento-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pdp-bento-item img {
  transition: transform .6s ease;
}

.pdp-bento-item:hover img {
  transform: scale(1.05);
}

.pdp-bento-video {
  grid-column: 1;
  grid-row: 1 / 3;
}

.pdp-bento-a {
  grid-column: 2 / 4;
  grid-row: 1;
}

.pdp-bento-b {
  grid-column: 2;
  grid-row: 2;
}

.pdp-bento-c {
  grid-column: 3;
  grid-row: 2;
}

@media (max-width: 720px) {
  .pdp-bento {
    aspect-ratio: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .pdp-bento-video {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }

  .pdp-bento-a {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }

  .pdp-bento-b,
  .pdp-bento-c {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1 / 1;
  }
}

/* ── Onde usar ── */
.pdp-usecases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.5vw, 18px);
}

.pdp-usecase {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1.15rem 1.35rem;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-weight: 600;
  font-size: .9375rem;
  transition: border-color var(--transition), transform var(--transition), color var(--transition);
}

.pdp-usecase [data-lucide] {
  width: 26px;
  height: 26px;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: color var(--transition);
}

.pdp-usecase:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.pdp-usecase--more {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.pdp-usecase--more [data-lucide] {
  color: var(--color-accent-lt);
}

.pdp-usecase--more:hover {
  background: var(--color-primary-mid);
  border-color: var(--color-primary-mid);
}

/* ── Aplicações (linhas alternadas esquerda/direita) ── */
.pdp-apps {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 6vw, 80px);
}

.pdp-app-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

/* alterna: nas linhas pares a imagem vai para a direita */
.pdp-app-row:nth-child(even) .pdp-app-media {
  order: 2;
}

.pdp-app-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 16 / 11;
  box-shadow: var(--shadow-md);
}

.pdp-app-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.pdp-app-row:hover .pdp-app-media img {
  transform: scale(1.05);
}

.pdp-app-text {
  position: relative;
}

.pdp-app-index {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--color-accent);
  opacity: .18;
  margin-bottom: .25rem;
}

.pdp-app-text .section-label {
  margin-bottom: .6rem;
}

.pdp-app-text h3 {
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: .75rem;
}

.pdp-app-text > p {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text-mid);
  margin-bottom: 1.25rem;
}

.pdp-app-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.pdp-app-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--color-text);
}

.pdp-app-list [data-lucide] {
  width: 20px;
  height: 20px;
  padding: 3px;
  color: #fff;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  flex-shrink: 0;
  stroke-width: 3;
}

.pdp-apps-more {
  text-align: center;
  margin-top: clamp(32px, 5vw, 56px);
}

/* subtítulo "Outras aplicações" dentro da seção de aplicações */
.pdp-subheading {
  text-align: center;
  font-size: clamp(1.375rem, 2.6vw, 2rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin: clamp(48px, 7vw, 88px) 0 clamp(20px, 3vw, 32px);
}

/* ── Responsivo ── */
@media (max-width: 900px) {
  .pdp-hero-grid {
    grid-template-columns: 1fr;
  }

  .pdp-hero-media {
    order: -1;
    max-width: 380px;
    margin-inline: auto;
    justify-content: center;
  }

  /* no mobile o vídeo fica contido, porém maior */
  .pdp-hero-video {
    transform: scale(1.4);
    transform-origin: center;
  }

  /* conjunto (peças esmaecidas): bem menores e mais para baixo */
  .pdp-hero-extra {
    transform: translate(0, 72px);
  }

  .pdp-hero-extra--aside {
    width: 34%;
  }

  .pdp-hero-extra--back {
    width: 26%;
  }

  /* conjunto esmaecido dos heroes com foto (catracas/biometria/fechaduras):
     menor e com menos sangria no mobile */
  .pdp-hero--photo .pdp-hero-extra--aside {
    height: 52%;
    left: 4%;
  }

  .pdp-hero--photo .pdp-hero-extra--back {
    height: 62%;
    right: 0;
  }

  .pdp-authority-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .pdp-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .pdp-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .pdp-specs-wrap {
    grid-template-columns: 1fr;
  }

  .pdp-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .pdp-usecases {
    grid-template-columns: repeat(2, 1fr);
  }

  /* aplicações empilham: imagem sempre acima do texto */
  .pdp-app-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pdp-app-row:nth-child(even) .pdp-app-media {
    order: 0;
  }
}

@media (max-width: 560px) {
  .pdp-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .pdp-steps,
  .pdp-features,
  .pdp-specs-grid {
    grid-template-columns: 1fr;
  }

  .pdp-spec:nth-child(odd) {
    border-right: 0;
  }

  .pdp-usecases {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PDP — Totens expedidores (ajustes específicos)
   ============================================================ */

/* faixa de autoridade: usa a foto dos totens ao fundo */
.pdp-authority--totens::before {
  background-image: url('../img/produtos/totensepagamento.webp?v=2026-07-13-1');
}

/* hero: dois totens animados lado a lado (expedidor de entrada + leitor de saída),
   colados um no outro e apoiados na base do hero */
.pdp-hero--totens .pdp-hero-media {
  align-items: flex-end;
}

.pdp-hero--totens .pdp-hero-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0px, 0.4vw, 6px);
  align-items: end;
  width: 100%;
  /* desce a dupla até a borda inferior do hero (compensa o padding-bottom) */
  transform: translateY(clamp(48px, 7vw, 96px));
}

.pdp-hero--totens .pdp-hero-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  margin: 0;
}

.pdp-hero--totens .pdp-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* sombra que acompanha o contorno do totem (vídeo com alpha) */
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, .55)) drop-shadow(0 0 14px rgba(0, 0, 0, .3));
}

/* ambos os vídeos são retrato: cabem inteiros, apoiados na base,
   com escala ampliada e âncora embaixo → base encosta no limite inferior */
.pdp-hero--totens .pdp-hero-frame--exp .pdp-hero-video,
.pdp-hero--totens .pdp-hero-frame--saida .pdp-hero-video {
  object-fit: contain;
  object-position: center bottom;
  transform: scale(1.62);
  transform-origin: bottom center;
}

/* expedidor um pouco menor que a saída */
.pdp-hero--totens .pdp-hero-frame--exp .pdp-hero-video {
  transform: scale(1.4);
}

/* showcase "a linha de totens": cards navy com o equipamento (vídeo/render
   com alpha) flutuando sobre o fundo */
.pdp-totens {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
  max-width: 820px;
  margin-inline: auto;
}

.pdp-totem-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 clamp(18px, 2.4vw, 32px) clamp(24px, 2.8vw, 34px);
  background: #fff;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

/* fundo azul só na área da imagem (full-bleed no topo do card) */
.pdp-totem-media {
  align-self: stretch;
  margin: 0 calc(-1 * clamp(18px, 2.4vw, 32px)) clamp(18px, 2.2vw, 26px);
  height: clamp(240px, 30vw, 360px);
  padding: clamp(24px, 3vw, 40px) 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(16, 88, 193, .34) 0%, transparent 62%),
    linear-gradient(165deg, #0f1746 0%, #121d50 55%, #16256a 100%);
}

.pdp-totem-media img,
.pdp-totem-media video {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .5));
}

.pdp-totem-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: .6rem;
}

.pdp-totem-tag [data-lucide] {
  width: 16px;
  height: 16px;
}

.pdp-totem-card h3 {
  color: var(--color-text);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: .5rem;
}

.pdp-totem-card p {
  color: var(--color-text-mid);
  font-size: .9375rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  /* no mobile a mídia fica acima do texto: não desce e usa escala menor */
  .pdp-hero--totens .pdp-hero-media {
    align-items: center;
  }

  .pdp-hero--totens .pdp-hero-duo {
    transform: none;
  }

  .pdp-hero--totens .pdp-hero-frame--exp .pdp-hero-video,
  .pdp-hero--totens .pdp-hero-frame--saida .pdp-hero-video {
    transform: scale(1.14);
  }

  .pdp-totens {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .pdp-totens {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-inline: auto;
  }
}

/* ============================================================
   PDP — variações estáticas (Control iD / OCR / autoatendimento)
   ============================================================ */

/* hero com um render estático (sem vídeo) */
.pdp-hero--photo .pdp-hero-frame {
  height: clamp(320px, 42vw, 500px);
}

.pdp-hero--photo .pdp-hero-frame > img.pdp-hero-photo {
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45));
  /* modelo principal à frente do "conjunto" esmaecido */
  position: relative;
  z-index: 2;
}

/* Conjunto de modelos ao fundo (esmaecido), como na página das cancelas —
   para os produtos com mais de um modelo (catracas, biometria, fechaduras).
   Sobrescreve o posicionamento específico das cancelas (que descia 300px). */
.pdp-hero--photo .pdp-hero-extra {
  transform: none;
  width: auto;
  aspect-ratio: auto;
  object-fit: contain;
  bottom: 0;
  opacity: .34;
  filter: saturate(.85) brightness(.92);
}

.pdp-hero--photo .pdp-hero-extra--aside {
  height: 66%;
  left: 5%;
  /* mais para a direita (aproxima do produto — este é o mais distante) */
}

.pdp-hero--photo .pdp-hero-extra--back {
  height: 82%;
  left: auto;
  right: -3%;
  /* mais para a esquerda (aproxima do produto) */
}

/* showcase com imagem centralizada (equipamentos que não "apoiam" na base,
   ao contrário dos totens que encostam embaixo) */
.pdp-totens--float .pdp-totem-media {
  align-items: center;
  padding: clamp(20px, 2.6vw, 34px) clamp(14px, 1.8vw, 22px);
}

/* fundos das faixas de autoridade (por página) */
.pdp-authority--biometria::before { background-image: url('../img/produtos/biometria-e-facial-controlid.webp?v=2026-07-13-1'); }
.pdp-authority--catracas::before { background-image: url('../img/produtos/catracas-controlid.webp?v=2026-07-13-1'); }
.pdp-authority--fechaduras::before { background-image: url('../img/produtos/fechaduras-controlid.webp?v=2026-07-13-1'); }
.pdp-authority--rfid::before { background-image: url('../img/produtos/atenenarfid.webp?v=2026-07-13-1'); }
.pdp-authority--ocr::before { background-image: url('../img/produtos/leitores-de-placas.webp?v=2026-07-13-1'); }
.pdp-authority--auto::before { background-image: url('../img/produtos/totens-autoatendimento.webp?v=2026-07-13-1'); }

