/* ==========================================================================
   ART LUMINOSOS (+25 ANOS) - Design System Inspirado na Referência M2 Flex
   Fontes: Poppins & Bricolage Grotesque
   Paleta: Cinza Arquitetônico (#EEF0F6 / #F6F7FB / #E7E9F2), Preto (#1C1C1C) e Vermelho (#C8102E)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Tons de Fundo Estilo M2 Flex */
  --bg-white: #FFFFFF;
  --bg-soft: #F6F7FB;
  --bg-Cool: #EEF0F6;
  --bg-panel: #E7E9F2;
  --bg-footer: #E4E6EE;
  --bg-dark: #14161B;
  --bg-charcoal: #1C1C1C;

  /* Identidade Art Luminosos: Preto, Vermelho e Cinza */
  --brand-red: #C8102E;
  --brand-red-bright: #E6193B;
  --brand-red-soft: rgba(200, 16, 46, 0.1);
  --brand-black: #1C1C1C;
  --brand-gray-dark: #3A3F4B;
  --brand-gray-text: #4B4B48;
  --brand-gray-muted: #6E7485;
  --brand-border: #D5D9E4;

  /* Raios e Sombras */
  --radius-card: 18px;
  --radius-pill: 9999px;
  --shadow-soft: 0 10px 30px rgba(28, 28, 28, 0.06);
  --shadow-hover: 0 20px 45px rgba(28, 28, 28, 0.13);
  --shadow-red: 0 12px 28px rgba(200, 16, 46, 0.28);

  /* Tipografia M2 Flex */
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Bricolage Grotesque', 'Poppins', sans-serif;
  --transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-soft);
  color: var(--brand-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Scroll Progress Laser */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-red) 0%, #FF3B5C 100%);
  z-index: 9999;
  transition: width 0.08s linear;
}

/* Animações Scroll Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   HEADER MINIMALISTA COM DROPDOWNS & RAIL DESLIZANTE (ESTILO M2 FLEX)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 24px;
}

/* Logo Art Luminosos */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--brand-black);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.brand-mark::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-red);
}

.brand-mark span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: #FFFFFF;
  letter-spacing: -0.03em;
}

.brand-mark span em {
  color: var(--brand-red-bright);
  font-style: normal;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-black);
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-name span {
  color: var(--brand-red);
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--brand-gray-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Navegação com Dropdowns e Nav-Rail */
.nav-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
}

.nav-item-group {
  position: relative;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand-black);
  text-transform: uppercase;
  padding: 10px 2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-red);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item-group:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--brand-gray-dark);
  border-radius: 8px;
  text-transform: uppercase;
}

.nav-dropdown a:hover {
  background-color: var(--bg-Cool);
  color: var(--brand-red);
  padding-left: 18px;
}

/* Barra deslizante embaixo do menu (Nav Rail como na M2) */
.nav-rail {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2.5px;
  width: 0;
  background-color: var(--brand-red);
  border-radius: 99px;
  transition: left 0.28s cubic-bezier(0.16, 1, 0.3, 1), width 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-pill-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--brand-red);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-red);
  transition: var(--transition);
}

.btn-pill-red:hover {
  background-color: var(--brand-black);
  transform: translateY(-2px);
}

.btn-pill-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--brand-black);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.btn-pill-dark:hover {
  background-color: var(--brand-red);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--brand-border);
  align-items: center;
  justify-content: center;
  color: var(--brand-black);
}

/* ==========================================================================
   SEÇÃO 1: HERO CINEMATOGRÁFICO FULL-BLEED (ESTILO M2 FLEX `herovideo`)
   ========================================================================== */
.herovideo {
  position: relative;
  width: 100%;
  height: 680px;
  background-color: #0D0F14;
  overflow: hidden;
}

.hero-slides-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  inset: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease, transform 6s ease-out;
  transform: scale(1.06);
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide-video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.herovideo-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 14, 18, 0.35) 0%, rgba(12, 14, 18, 0.25) 45%, rgba(12, 14, 18, 0.88) 100%),
    linear-gradient(90deg, rgba(12, 14, 18, 0.78) 0%, transparent 65%);
  z-index: 5;
}

.herovideo-content {
  position: absolute;
  z-index: 15;
  bottom: 54px;
  left: 0;
  right: 0;
}

.herovideo-box {
  max-width: 620px;
  color: #FFFFFF;
}

.herovideo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--brand-red);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.herovideo-box h2 {
  font-family: var(--font-main);
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  line-height: 1.15;
}

.herovideo-box p {
  font-size: 0.98rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 22px;
}

.herovideo-controls {
  position: absolute;
  z-index: 16;
  bottom: 54px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-slide-dots {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-slide-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

.hero-slide-dot.active {
  width: 28px;
  border-radius: 99px;
  background: var(--brand-red-bright);
}

/* ==========================================================================
   SEÇÃO 2: ECOSSISTEMA CRIATIVO (PÍLULAS ARRASTÁVEIS + RODA ORBITAL 360º)
   Exatamente como na referência M2 Flex!
   ========================================================================== */
.ecosystem-section {
  background-color: var(--bg-Cool);
  padding: 88px 0;
  overflow: hidden;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.ecosystem-title {
  font-family: var(--font-main);
  font-size: clamp(1.65rem, 2.6vw, 2.15rem);
  font-weight: 600;
  color: #0F172A;
  line-height: 1.25;
}

.ecosystem-sub {
  margin-top: 10px;
  color: #475569;
  font-size: 0.98rem;
}

/* Playground de Pílulas Flutuantes e Arrastáveis (Touch/Mouse Physics) */
.Floating-pills-playground {
  position: relative;
  width: 100%;
  height: 300px;
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px dashed rgba(100, 116, 139, 0.35);
  border-radius: 18px;
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

.playground-hint {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 0.72rem;
  color: #64748B;
  pointer-events: none;
}

.draggable-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(100, 116, 139, 0.55);
  background-color: rgba(255, 255, 255, 0.92);
  color: #1E293B;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  cursor: grab;
  white-space: nowrap;
  z-index: 10;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.draggable-pill:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  box-shadow: 0 8px 18px rgba(200, 16, 46, 0.16);
}

.draggable-pill:active {
  cursor: grabbing;
  background-color: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
}

/* Roda Orbital 360º (Hub 360 da M2 Flex adaptado para Art Luminosos) */
.hub360-container {
  position: relative;
  width: 380px;
  height: 380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub360-ring {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  border: 2px dashed rgba(28, 28, 28, 0.16);
  animation: slowSpin 38s linear infinite;
}

@keyframes slowSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hub360-center {
  width: 175px;
  height: 175px;
  border-radius: 50%;
  background: var(--brand-black);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  border: 4px solid var(--brand-red);
  position: relative;
  z-index: 5;
  transition: var(--transition);
}

.hub360-center strong {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.hub360-center span {
  font-size: 0.72rem;
  color: #D1D5DB;
  line-height: 1.35;
}

.hub360-node {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #ECEFF7;
  border: 3px solid var(--brand-red);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  display: grid;
  place-items: center;
  color: var(--brand-black);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  z-index: 6;
}

.hub360-node.accent-dark {
  border-color: var(--brand-black);
}

.hub360-node.accent-gray {
  border-color: #64748B;
}

.hub360-node:hover,
.hub360-node.active {
  background-color: var(--brand-red);
  border-color: var(--brand-red);
  color: #FFFFFF;
  transform: translate(-50%, -50%) scale(1.18) !important;
  box-shadow: 0 10px 24px rgba(200, 16, 46, 0.35);
}

/* ==========================================================================
   SEÇÃO 3: ART LUMINOSOS LEDS & ENGENHARIA VISUAL (ESTILO M2 LEDS)
   ========================================================================== */
.tech-led-section {
  background-color: var(--bg-soft);
  padding: 92px 0;
}

.tech-led-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.tech-led-title {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 18px;
}

.tech-led-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.94rem;
  color: #2D3139;
}

.tech-led-showcase {
  background-color: #111318;
  border-radius: var(--radius-card);
  padding: 28px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

/* ==========================================================================
   SEÇÃO 4: CASES BENTO GRID ASSIMÉTRICO (IGUAL À SEÇÃO CASES DA M2 FLEX!)
   `grid-cols-4 gap-5 auto-rows-[250px]` com `row-span-2` e `col-span-2 row-span-2`
   ========================================================================== */
.cases-section {
  background-color: var(--bg-Cool);
  padding: 88px 0;
}

.cases-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.cases-heading {
  font-size: 2rem;
  font-weight: 600;
  color: var(--brand-gray-text);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.bento-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 20px;
}

.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background-color: #1A1D24;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  width: 100%;
  height: 100%;
  min-height: 250px;
}

.bento-card.span-tall {
  grid-row: span 2;
}

.bento-card.span-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-card.span-wide {
  grid-column: span 2;
}

.bento-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  display: block;
  z-index: 1;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover img {
  transform: scale(1.06);
}

.bento-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(15, 17, 23, 0.05) 0%, rgba(15, 17, 23, 0.2) 45%, rgba(15, 17, 23, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: #FFFFFF;
  transition: var(--transition);
}

.bento-tag {
  align-self: flex-start;
  background-color: var(--brand-red);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.bento-overlay h3 {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 4px;
}

.bento-overlay p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ==========================================================================
   SEÇÃO 5: CLIENTES & SEGMENTOS (MARQUEE COM MÁSCARA DE GRADIENTE M2 FLEX)
   ========================================================================== */
.clients-section {
  background-color: var(--bg-Cool);
  padding: 48px 0 84px;
}

.clients-heading {
  font-size: 1.55rem;
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.clients-mask {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.clients-track {
  display: flex;
  width: max-content;
  animation: m2Marquee 24s linear infinite;
}

.clients-mask:hover .clients-track {
  animation-play-state: paused;
}

.client-logo-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 22px;
  padding: 14px 26px;
  background-color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #374151;
  opacity: 0.82;
  transition: var(--transition);
}

.client-logo-pill:hover {
  opacity: 1;
  border-color: var(--brand-red);
  color: var(--brand-black);
  transform: translateY(-2px);
}

@keyframes m2Marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   SEÇÃO 6: EQUIPAMENTOS & PARQUE PRODUTIVO INTERATIVO (IGUAL À M2 FLEX!)
   Palco Principal + Seletor Horizontal de Miniaturas
   ========================================================================== */
.equipamentos-section {
  background-color: var(--bg-Cool);
  padding: 84px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.equipamentos-stage {
  position: relative;
  width: 100%;
  height: 440px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.equipamentos-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.6s ease;
}

.equipamentos-stage-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(28, 28, 28, 0.88);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border-left: 3px solid var(--brand-red);
}

.equipamentos-info h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brand-black);
}

.equipamentos-info p {
  margin-top: 8px;
  max-width: 780px;
  color: #4B5563;
  font-size: 0.96rem;
}

.equipamentos-thumbs {
  margin-top: 28px;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: #C1C3D0 transparent;
}

.equip-thumb-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-align: center;
}

.equip-thumb-box {
  width: 155px;
  height: 100px;
  border-radius: 14px;
  overflow: hidden;
  background: #FFFFFF;
  border: 2.5px solid transparent;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.equip-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equip-thumb-btn.active .equip-thumb-box,
.equip-thumb-btn:hover .equip-thumb-box {
  border-color: var(--brand-red);
  transform: translateY(-3px);
}

.equip-thumb-btn span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
}

.equip-thumb-btn.active span {
  color: var(--brand-red);
}

/* ==========================================================================
   SEÇÃO 7: EXPLORADOR INTERATIVO 3 COLUNAS (ESTILO SEÇÃO `DISPLAYS` DA M2 FLEX)
   Lista Lateral `list-rail` | Preview Visual | Especificações Técnicas
   ========================================================================== */
.solutions-explorer-section {
  background-color: var(--bg-panel);
  padding: 92px 0;
}

.explorer-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

.explorer-3col {
  display: grid;
  grid-template-columns: 250px 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.explorer-rail-list {
  display: flex;
  flex-direction: column;
  border-left: 2px solid rgba(0, 0, 0, 0.12);
}

.explorer-rail-btn {
  text-align: left;
  padding: 12px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #4B5563;
  border-left: 3px solid transparent;
  margin-left: -2px;
  transition: var(--transition);
}

.explorer-rail-btn:hover {
  color: var(--brand-black);
  background-color: rgba(255, 255, 255, 0.35);
}

.explorer-rail-btn.active {
  font-weight: 700;
  color: var(--brand-red);
  border-left-color: var(--brand-red);
  background-color: rgba(255, 255, 255, 0.65);
}

.explorer-preview-box {
  background-color: #FFFFFF;
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 350px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.explorer-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.explorer-specs-box {
  background-color: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-card);
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.explorer-specs-box h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 10px;
}

.explorer-specs-box p {
  font-size: 0.94rem;
  color: #4B5563;
  margin-bottom: 18px;
}

.explorer-specs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.explorer-specs-list li {
  font-size: 0.86rem;
  color: #1F2937;
  display: flex;
  align-items: center;
  gap: 8px;
}

.explorer-specs-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-red);
}

/* ==========================================================================
   COMPATIBILIDADE COM PÁGINAS INTERNAS (SOBRE, SERVIÇOS, PORTFÓLIO, CONTATO)
   ========================================================================== */
.section {
  padding: 88px 0;
}

.section-sm {
  padding: 56px 0;
}

.bg-surface {
  background-color: var(--bg-Cool);
}

.section-header {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-red);
  background-color: var(--brand-red-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 700;
  color: var(--brand-black);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: #4B5563;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--brand-red);
  color: #FFFFFF;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background-color: var(--brand-black);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

.btn-outline-light:hover {
  background-color: #FFFFFF;
  color: var(--brand-black);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.78rem;
}

.page-hero {
  background: linear-gradient(135deg, #14161B 0%, #232732 100%);
  color: #FFFFFF;
  padding: 72px 0;
  border-bottom: 4px solid var(--brand-red);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #9CA3AF;
  margin-bottom: 14px;
}

.breadcrumb span.sep {
  color: var(--brand-red-bright);
}

.page-hero h1 {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 1.02rem;
  color: #D1D5DB;
  max-width: 680px;
}

/* Grids Internos */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-content: center;
}

.services-grid.services-grid-centered .service-card {
  text-align: center;
  align-items: center;
}

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

.service-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  overflow: hidden;
}

.service-card.filtering-out {
  opacity: 0;
  transform: scale(0.95);
}

.service-card.filtering-in {
  animation: popInCard 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.service-card-media {
  position: relative;
  width: calc(100% + 48px);
  height: 230px;
  min-height: 230px;
  margin: -24px -24px 20px -24px;
  overflow: hidden;
  background: #14161B;
  cursor: pointer;
  flex-shrink: 0;
}

.service-card-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-media img {
  transform: scale(1.07);
}

.service-card-zoom-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(20, 22, 27, 0.85);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.service-card:hover .service-card-zoom-badge {
  background: var(--brand-red);
  border-color: var(--brand-red);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-red);
}

.service-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-red);
  margin-bottom: 8px;
  display: inline-block;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: #4B5563;
  margin-bottom: 16px;
}

.service-features {
  border-top: 1px solid #E5E7EB;
  padding-top: 12px;
  margin-bottom: 18px;
}

.service-features li {
  font-size: 0.82rem;
  color: #374151;
  padding: 4px 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background-color: #FFFFFF;
  color: #374151;
  border: 1px solid var(--brand-border);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-btn .count-pill {
  font-size: 0.7rem;
  background: var(--bg-Cool);
  padding: 2px 8px;
  border-radius: 99px;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
}

.filter-btn.active .count-pill,
.filter-btn:hover .count-pill {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* Cards de Portfólio e Animação de Filtro */
.animated-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.portfolio-card.filtering-out {
  opacity: 0;
  transform: scale(0.9);
}

.portfolio-card.filtering-in {
  animation: popInCard 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes popInCard {
  from { opacity: 0; transform: scale(0.92) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.portfolio-thumb {
  width: 100%;
  height: 240px;
  min-height: 240px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background-color: #14161B;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  cursor: pointer;
}

.portfolio-thumb-bg,
.portfolio-thumb-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  background-size: cover;
  background-position: center;
  object-fit: cover;
  display: block;
  z-index: 1;
  filter: brightness(0.92);
  transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-thumb-bg,
.portfolio-card:hover .portfolio-thumb-img {
  transform: scale(1.08);
}

.portfolio-thumb-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: rgba(28, 28, 28, 0.85);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border-left: 3px solid var(--brand-red);
}

.gallery-zoom-trigger {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-card:hover .gallery-zoom-trigger {
  opacity: 1;
}

.portfolio-visual-illustration {
  position: relative;
  z-index: 2;
  text-align: left;
  color: #FFFFFF;
  padding: 12px;
  width: 100%;
}

.portfolio-visual-illustration .mock-box {
  background: linear-gradient(90deg, rgba(20, 22, 27, 0.86) 0%, rgba(20, 22, 27, 0.6) 100%);
  backdrop-filter: blur(6px);
  border-left: 3px solid var(--brand-red);
  padding: 10px 14px;
  border-radius: 10px;
  display: inline-block;
}

.portfolio-visual-illustration .mock-box strong {
  display: block;
  font-size: 0.95rem;
}

.portfolio-visual-illustration .mock-box span {
  font-size: 0.72rem;
  color: #D1D5DB;
}

.portfolio-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.portfolio-body p {
  font-size: 0.88rem;
  color: #4B5563;
  margin-bottom: 16px;
}

.portfolio-specs {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #E5E7EB;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.service-link {
  font-weight: 700;
  color: var(--brand-red);
}

/* Split, Timeline, Form & FAQ */
.split-section,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.tradition-panel {
  background: #1C1C1C;
  color: #FFFFFF;
  padding: 38px;
  border-radius: var(--radius-card);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.timeline-item {
  background: #FFFFFF;
  padding: 24px;
  border-radius: var(--radius-card);
  border-top: 4px solid var(--brand-red);
  box-shadow: var(--shadow-soft);
}

.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-red);
  display: block;
  margin-bottom: 8px;
}

.form-card {
  background: #FFFFFF;
  padding: 36px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
}

.form-control {
  padding: 12px 14px;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  background: var(--bg-soft);
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-card {
  background: #FFFFFF;
  padding: 22px;
  border-radius: var(--radius-card);
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}

.info-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-black);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--brand-border);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  text-align: left;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 22px 18px;
  color: #4B5563;
  font-size: 0.92rem;
}

.cta-banner {
  background: #1C1C1C;
  color: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-left: 6px solid var(--brand-red);
}

/* ==========================================================================
   LIGHTBOX MODAL EM TELA CHEIA (PARA BENTO CASES E PORTFÓLIO)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  background-color: rgba(12, 14, 18, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #FFFFFF;
  border-radius: 22px;
  max-width: 820px;
  width: 100%;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  transform: scale(0.93);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-box {
  transform: scale(1);
}

.modal-visual-stage {
  width: 100%;
  height: 370px;
  min-height: 300px;
  flex-shrink: 0;
  background: #111318;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.modal-visual-bg,
.modal-visual-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  background-size: cover;
  background-position: center;
  object-fit: cover;
  display: block;
  z-index: 1;
  filter: brightness(0.98);
  transition: transform 0.5s ease;
}

.modal-box:hover .modal-visual-bg,
.modal-box:hover .modal-visual-img {
  transform: scale(1.03);
}

.modal-stage-overlay {
  position: relative;
  z-index: 3;
  background: linear-gradient(90deg, rgba(16, 18, 24, 0.86) 0%, rgba(16, 18, 24, 0.62) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-left: 4px solid var(--brand-red);
  color: #FFFFFF;
  padding: 10px 18px;
  margin: 14px;
  border-radius: 10px;
  text-align: left;
  max-width: 72%;
  pointer-events: none;
}

.modal-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 22, 27, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-nav-arrow:hover {
  background: var(--brand-red);
}

.modal-nav-arrow.prev { left: 14px; }
.modal-nav-arrow.next { right: 14px; }

.modal-stage-counter {
  position: absolute;
  bottom: 14px;
  right: 16px;
  z-index: 4;
  background: rgba(0, 0, 0, 0.78);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
}

.modal-content-body {
  padding: 26px 32px;
  flex-shrink: 0;
}

.modal-close {
  position: sticky;
  top: 12px;
  margin-left: auto;
  margin-right: 12px;
  margin-bottom: -52px;
  z-index: 10;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--brand-red);
}

/* ==========================================================================
   RODAPÉ CLEAN & PÍLULA WHATSAPP LATERAL (ESTILO M2 FLEX)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-footer);
  color: var(--brand-gray-text);
  padding: 64px 0 32px;
  border-top: 1px solid #CFCFCF;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid #CFCFCF;
}

.footer-brand p {
  margin: 14px 0;
  font-size: 0.88rem;
  color: #4B4B48;
}

.footer-seal {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-red);
  background: rgba(200, 16, 46, 0.08);
  padding: 6px 12px;
  border-radius: 8px;
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-black);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.86rem;
  color: #4B4B48;
}

.footer-links a:hover {
  color: var(--brand-red);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #555552;
}

/* Botão Flutuante WhatsApp (Somente Ícone) */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 990;
  background-color: var(--brand-red);
  color: #FFFFFF;
  width: 54px;
  height: 54px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(200, 16, 46, 0.38);
  transition: var(--transition);
}

.whatsapp-float span {
  display: none;
}

.whatsapp-float:hover {
  background-color: var(--brand-black);
  transform: translateY(-3px) scale(1.06);
}

/* Responsividade */
@media (max-width: 1024px) {
  .ecosystem-grid,
  .tech-led-grid,
  .explorer-intro-grid,
  .explorer-3col,
  .split-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .bento-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .animated-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: inline-flex;
  }
  .nav-menu {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    background: #FFFFFF;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 12px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-item-group {
    width: 100%;
  }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--brand-red);
    border-radius: 0;
    padding: 4px 0 6px 12px;
    margin-top: 4px;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .nav-dropdown a {
    padding: 6px 10px;
    font-size: 0.76rem;
  }
  .herovideo {
    height: 540px;
  }
  .bento-cases-grid,
  .services-grid,
  .services-grid.services-grid-2col,
  .animated-gallery-grid,
  .timeline,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .bento-cases-grid {
    grid-auto-rows: 240px;
  }
  .bento-card,
  .bento-card.span-large,
  .bento-card.span-wide,
  .bento-card.span-tall {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    height: 240px;
    min-height: 240px;
  }
  .bento-card img {
    height: 240px;
    min-height: 240px;
  }
  .gallery-zoom-trigger {
    opacity: 1;
  }
  .explorer-rail-list {
    flex-direction: row;
    overflow-x: auto;
    border-left: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .explorer-rail-btn {
    flex-shrink: 0;
    border-left: none;
    margin-left: 0;
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 0.82rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.08);
  }
  .explorer-rail-btn.active {
    background: var(--brand-red);
    color: #FFFFFF;
    border-color: var(--brand-red);
  }
  .explorer-preview-box {
    height: 250px;
    min-height: 250px;
  }
  .hub360-container {
    width: 310px;
    height: 310px;
  }
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }
  /* Modal Lightbox otimizado para telas de celular */
  .modal-backdrop {
    padding: 10px;
    align-items: center;
  }
  .modal-box {
    border-radius: 16px;
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
  }
  .modal-visual-stage {
    height: 250px;
    min-height: 250px;
  }
  .modal-stage-overlay {
    padding: 6px 12px;
    margin: 10px;
    max-width: 62%;
    background: rgba(16, 18, 24, 0.78);
  }
  .modal-stage-overlay strong {
    font-size: 0.85rem !important;
    line-height: 1.2;
    margin-bottom: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .modal-stage-overlay span {
    display: none !important;
  }
  .modal-nav-arrow {
    width: 38px;
    height: 38px;
  }
  .modal-nav-arrow.prev { left: 8px; }
  .modal-nav-arrow.next { right: 8px; }
  .modal-stage-counter {
    bottom: 10px;
    right: 10px;
    font-size: 0.7rem;
    padding: 3px 10px;
  }
  .modal-content-body {
    padding: 18px 18px 22px;
  }
  .modal-content-body h3 {
    font-size: 1.15rem !important;
  }
}


/* ==========================================================================
   SEÇÃO DEDICADA: PREFEITURAS E INSTITUIÇÕES PÚBLICAS
   ========================================================================== */
.gov-section {
  background: linear-gradient(135deg, #14161B 0%, #1F232D 100%);
  color: #FFFFFF;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--brand-red);
  border-bottom: 4px solid var(--brand-red);
}

.gov-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.gov-header-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 52px;
}

.gov-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 16, 46, 0.22);
  border: 1px solid rgba(230, 25, 59, 0.45);
  color: #FF6B81;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.gov-title {
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 3.1vw, 2.55rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.18;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.gov-title span {
  color: var(--brand-red-bright);
}

.gov-desc {
  font-size: 1rem;
  color: #D1D5DB;
  line-height: 1.7;
}

.gov-highlight-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--brand-red-bright);
  border-radius: var(--radius-card);
  padding: 28px 30px;
  backdrop-filter: blur(10px);
}

.gov-highlight-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.gov-check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gov-check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #E5E7EB;
}

.gov-check-list li span.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.gov-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.gov-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gov-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--brand-red-bright);
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.gov-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(200, 16, 46, 0.2);
  color: #FF4D6A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(200, 16, 46, 0.35);
}

.gov-card:hover .gov-card-icon {
  background: var(--brand-red);
  color: #FFFFFF;
}

.gov-card h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
  line-height: 1.3;
}

.gov-card p {
  font-size: 0.88rem;
  color: #D1D5DB;
  line-height: 1.62;
  margin-bottom: 16px;
}

.gov-card-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: #FF6B81;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Crédito Tech Wolf no Rodapé */
.techwolf-credit {
  font-weight: 700;
  color: var(--brand-red);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.techwolf-credit:hover {
  color: var(--brand-black);
}

@media (max-width: 1024px) {
  .gov-header-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .gov-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gov-cards-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   LOGO OFICIAL (assets/img/LOGO.png) NO HEADER E RODAPÉ
   ========================================================================== */
.brand-logo-img {
  height: 54px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
}

.site-footer .brand-logo-img {
  height: 62px;
  max-width: 230px;
}

/* ==========================================================================
   ANIMAÇÃO NO SCROLL: SOMENTE O "A" DA LOGO EM BRANCO PASSANDO EM
   UMA FAIXA VERMELHA EM FORMA DE MARCA D'ÁGUA
   ========================================================================== */

/* 1. Faixa Vermelha de Marca d'Água nas Seções (Desliza ao rolar o mouse) */
.a-watermark-band {
  position: relative;
  width: 100%;
  height: 82px;
  background: linear-gradient(90deg, #96091F 0%, #C8102E 50%, #96091F 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  user-select: none;
  pointer-events: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 36px rgba(0, 0, 0, 0.22);
}

/* Brilho sutil de marca d'água no centro da faixa vermelha */
.a-watermark-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Camada Gigante de Fundo (Marca d'água profunda cortada na faixa) */
.a-watermark-bg-track {
  position: absolute;
  top: 50%;
  left: -30%;
  display: flex;
  align-items: center;
  gap: 110px;
  will-change: transform;
  z-index: 1;
}

.a-watermark-bg-track .a-mark-giant {
  width: 155px;
  height: 146px;
  opacity: 0.075;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.12));
}

/* Camada Principal do "A" em Branco (Marca d'Água Deslizante no Scroll) */
.a-watermark-main-track {
  position: relative;
  left: -25%;
  display: flex;
  align-items: center;
  gap: 64px;
  will-change: transform;
  z-index: 2;
}

.a-watermark-item {
  width: 56px;
  height: 52px;
  flex-shrink: 0;
  opacity: 0.22;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.a-watermark-item.strong {
  opacity: 0.34;
  width: 62px;
  height: 58px;
}

.a-watermark-item.soft {
  opacity: 0.13;
  width: 48px;
  height: 45px;
}

.a-watermark-item.outline path {
  fill: rgba(255, 255, 255, 0.05);
  stroke: #FFFFFF;
  stroke-width: 7;
  stroke-linejoin: round;
}

/* 2. Faixa Vermelha Flutuante de Marca d'Água (Aparece ao rolar o mouse em qualquer ponto) */
.scroll-a-watermark-ribbon {
  position: fixed;
  top: 82px;
  left: 0;
  width: 100%;
  height: 52px;
  background: linear-gradient(90deg, rgba(150, 9, 31, 0.88) 0%, rgba(200, 16, 46, 0.92) 50%, rgba(150, 9, 31, 0.88) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.24);
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 990;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-a-watermark-ribbon.is-scrolling {
  opacity: 1;
  transform: translateY(0);
}

.scroll-a-watermark-ribbon .a-watermark-main-track {
  gap: 52px;
}

.scroll-a-watermark-ribbon .a-watermark-item {
  width: 38px;
  height: 36px;
}

.scroll-a-watermark-ribbon .a-watermark-item.strong {
  width: 44px;
  height: 41px;
  opacity: 0.38;
}

.scroll-a-watermark-ribbon .a-watermark-bg-track .a-mark-giant {
  width: 105px;
  height: 98px;
  opacity: 0.09;
}

@media (max-width: 768px) {
  .brand-logo-img {
    height: 44px;
  }
  .a-watermark-band {
    height: 64px;
  }
  .a-watermark-main-track {
    gap: 42px;
  }
  .a-watermark-item {
    width: 42px;
    height: 40px;
  }
  .a-watermark-item.strong {
    width: 48px;
    height: 45px;
  }
  .scroll-a-watermark-ribbon {
    top: 72px;
    height: 42px;
  }
}


/* ==========================================================================
   GALERIA DE 5 IMAGENS POR CATEGORIA (CARDS DE SERVIÇOS E MODAL LIGHTBOX)
   ========================================================================== */
.service-card-thumbs-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: -10px 0 16px 0;
}

.service-thumb-mini {
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.72;
  transition: var(--transition);
  background: #14161B;
  padding: 0;
}

.service-thumb-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-thumb-mini:hover,
.service-thumb-mini.active {
  opacity: 1;
  border-color: var(--brand-red);
  transform: translateY(-2px);
}

/* Faixa de 5 Miniaturas dentro do Lightbox Modal */
.modal-thumbs-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 12px 24px;
  background: #181B22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  width: 100%;
}

.modal-thumb-btn {
  height: 58px;
  border-radius: 9px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.16);
  opacity: 0.62;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
  background: #0F1116;
  position: relative;
}

.modal-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-thumb-btn:hover,
.modal-thumb-btn.active {
  opacity: 1;
  border-color: var(--brand-red-bright);
  transform: scale(1.03);
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.4);
}

@media (max-width: 768px) {
  .service-thumb-mini {
    height: 42px;
  }
  .modal-thumbs-strip {
    padding: 10px 14px;
    gap: 6px;
  }
  .modal-thumb-btn {
    height: 44px;
  }
}


/* ==========================================================================
   BANNER DE CONSENTIMENTO DE COOKIES (ESTILO PÍLULA MODERNA M2 FLEX + LGPD)
   E PÁGINA DEDICADA DE PRIVACIDADE / LGPD (lgpd.html)
   ========================================================================== */
.cookie-consent-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9995;
  padding: 16px 24px 22px;
  pointer-events: none;
  display: flex;
  justify-content: center;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-consent-wrap.hidden-cookie {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none !important;
}

.cookie-consent-box {
  max-width: 1120px;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(28, 28, 28, 0.12);
  border-left: 5px solid var(--brand-red);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  padding: 14px 24px 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  pointer-events: auto;
  animation: fadeInUpCookie 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUpCookie {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-consent-text {
  font-size: 0.85rem;
  color: #374151;
  line-height: 1.5;
  flex: 1;
}

.cookie-consent-text a {
  font-weight: 700;
  color: var(--brand-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent-text a:hover {
  color: var(--brand-black);
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--brand-black);
  color: #FFFFFF;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: var(--transition);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-cookie-accept:hover {
  background: var(--brand-red);
  transform: translateY(-2px);
}

.btn-cookie-prefs {
  background: var(--bg-Cool);
  color: var(--brand-black);
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--brand-border);
  transition: var(--transition);
}

.btn-cookie-prefs:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

/* Layout da Página LGPD (lgpd.html) */
.lgpd-layout-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.lgpd-content-card,
.lgpd-sidebar-card {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.lgpd-sidebar-card {
  position: sticky;
  top: 106px;
  border-top: 4px solid var(--brand-red);
}

.lgpd-content-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-black);
  margin: 28px 0 10px;
}

.lgpd-content-card h2:first-of-type {
  margin-top: 6px;
}

.lgpd-content-card p {
  font-size: 0.93rem;
  color: #4B5563;
  margin-bottom: 12px;
  line-height: 1.7;
}

.lgpd-list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}

.lgpd-list li {
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 8px;
  line-height: 1.6;
}

.lgpd-cookies-table-wrap {
  overflow-x: auto;
  margin: 16px 0 22px;
}

.lgpd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.lgpd-table th,
.lgpd-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #E5E7EB;
  text-align: left;
}

.lgpd-table th {
  background: var(--bg-Cool);
  font-weight: 700;
  color: var(--brand-black);
}

.badge-always {
  background: #DCFCE7;
  color: #166534;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

.badge-opt {
  background: var(--bg-Cool);
  color: #374151;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

.cookie-pref-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #E5E7EB;
}

.cookie-pref-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--brand-black);
}

.cookie-pref-item span {
  display: block;
  font-size: 0.78rem;
  color: #6B7280;
}

.cookie-pref-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--brand-red);
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .lgpd-layout-grid {
    grid-template-columns: 1fr;
  }
  .cookie-consent-box {
    border-radius: 20px;
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .cookie-consent-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}
