/* ========================================
   TECNOLOGIA — SHAMMAH CORPORATIVO PREMIUM CLEAN
======================================== */

.tech-page{
  background:
    radial-gradient(1000px 420px at 10% 0%, rgba(47,123,255,.05), transparent 60%),
    radial-gradient(1000px 420px at 90% 8%, rgba(0,209,255,.025), transparent 62%),
    linear-gradient(180deg, #f4f7fb 0%, #edf2f8 48%, #f6f8fb 100%);
}

/* ========================================
   HERO — OPEN LAYOUT / SEM CARD GRANDE
======================================== */

.tech-hero{
  position: relative;
  padding: clamp(56px, 6vw, 88px) 0 clamp(30px, 4vw, 44px);
  overflow: hidden;
}

.tech-hero__bg{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.tech-orb{
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  opacity: .55;
}

.tech-orb--1{
  width: 360px;
  height: 360px;
  left: -80px;
  top: -70px;
  background:
    radial-gradient(circle, rgba(47,123,255,.08) 0%, rgba(47,123,255,.03) 40%, rgba(47,123,255,0) 72%);
}

.tech-orb--2{
  width: 420px;
  height: 420px;
  right: -120px;
  top: 10px;
  background:
    radial-gradient(circle, rgba(0,209,255,.05) 0%, rgba(0,209,255,.02) 38%, rgba(0,209,255,0) 72%);
}

.tech-grid{
  position: absolute;
  inset: 0;
  opacity: .025;
  background-image:
    linear-gradient(rgba(47,123,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,123,255,.10) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.7), rgba(0,0,0,.25), rgba(0,0,0,0));
}

.tech-hero .container{
  position: relative;
  z-index: 2;
}

.tech-hero__shell{
  position: relative;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.tech-hero__shell::before,
.tech-hero__shell::after{
  display: none;
}

.tech-hero__content{
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding-left: 26px;
}

.tech-hero__content::before{
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(47,123,255,.92), rgba(0,209,255,.55));
  box-shadow:
    0 0 0 1px rgba(255,255,255,.35),
    0 8px 18px rgba(47,123,255,.12);
}

.tech-hero__kicker{
  margin: 0 0 14px;
  font-size: clamp(.76rem, .88vw, .9rem);
  line-height: 1;
  letter-spacing: .20em;
  text-transform: uppercase;
  font-weight: 800;
  color: #203654;
}

.tech-hero__title{
  margin: 0 0 18px;
  max-width: 10.5ch;
  font-size: clamp(2.25rem, 3.8vw, 4.5rem);
  line-height: .94;
  letter-spacing: -.045em;
  font-weight: 900;
  color: #0d1f3b;
}

.tech-hero__title span{
  color: #2f7bff;
}

.tech-hero__lead{
  margin: 0;
  max-width: 66ch;
  font-size: clamp(1rem, 1vw, 1.08rem);
  line-height: 1.95;
  color: #4a5c75;
}

.tech-hero__bullets{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ========================================
   PILLS — CORPORATIVO CLEAN
======================================== */

.tech-pill{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(236,242,248,.92), rgba(228,236,245,.88));
  border: 1px solid rgba(120,145,175,.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.86),
    0 6px 14px rgba(12,28,54,.04);
  color: #18304f;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: -.01em;
  transition:
    transform .22s ease,
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s ease,
    color .22s ease;
}

.tech-pill:hover{
  transform: translateY(-2px);
  border-color: rgba(96,144,205,.26);
  background:
    linear-gradient(180deg, rgba(220,234,248,.96), rgba(244,249,255,.96));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.94),
    0 10px 18px rgba(47,123,255,.08);
  color: #0f2b52;
}

/* ========================================
   MARCAS — HEADER PREMIUM
======================================== */

.brand-showcase{
  position: relative;
  padding: 0 0 clamp(90px, 10vw, 140px);
  overflow: hidden;
  isolation: isolate;
}

.brand-showcase::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 280px at 20% 12%, rgba(47,123,255,.035), transparent 60%),
    radial-gradient(900px 320px at 80% 30%, rgba(0,209,255,.025), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.brand-showcase .container{
  position: relative;
  z-index: 2;
}

/* PARTÍCULAS SUAVES */
.brand-showcase__particles{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.tech-particle{
  position: absolute;
  display: block;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(90,180,255,.38) 0%, rgba(90,180,255,.10) 38%, rgba(90,180,255,0) 72%);
  filter: blur(.2px);
  opacity: .12;
  animation: floatParticle linear infinite;
}

.tech-particle::after{
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0,209,255,.06), rgba(0,209,255,0) 70%);
  filter: blur(8px);
}

.p1  { width: 10px; height: 10px; left: 8%;  top: 18%; animation-duration: 16s; animation-delay: -2s; }
.p2  { width: 8px;  height: 8px;  left: 16%; top: 64%; animation-duration: 14s; animation-delay: -6s; }
.p3  { width: 12px; height: 12px; left: 24%; top: 30%; animation-duration: 18s; animation-delay: -4s; }
.p4  { width: 9px;  height: 9px;  left: 34%; top: 76%; animation-duration: 15s; animation-delay: -7s; }
.p5  { width: 11px; height: 11px; left: 44%; top: 20%; animation-duration: 17s; animation-delay: -5s; }
.p6  { width: 7px;  height: 7px;  left: 54%; top: 58%; animation-duration: 13s; animation-delay: -3s; }
.p7  { width: 10px; height: 10px; left: 64%; top: 14%; animation-duration: 19s; animation-delay: -8s; }
.p8  { width: 8px;  height: 8px;  left: 72%; top: 70%; animation-duration: 15s; animation-delay: -1s; }
.p9  { width: 12px; height: 12px; left: 82%; top: 26%; animation-duration: 18s; animation-delay: -9s; }
.p10 { width: 9px;  height: 9px;  left: 90%; top: 62%; animation-duration: 16s; animation-delay: -4s; }
.p11 { width: 6px;  height: 6px;  left: 58%; top: 82%; animation-duration: 12s; animation-delay: -2s; }
.p12 { width: 7px;  height: 7px;  left: 12%; top: 84%; animation-duration: 14s; animation-delay: -5s; }

@keyframes floatParticle{
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: .08; }
  25%  { transform: translate3d(14px, -18px, 0) scale(1.08); opacity: .12; }
  50%  { transform: translate3d(-10px, -36px, 0) scale(.95); opacity: .16; }
  75%  { transform: translate3d(18px, -18px, 0) scale(1.04); opacity: .10; }
  100% { transform: translate3d(0, 0, 0) scale(1); opacity: .08; }
}

/* HEADER DA SEÇÃO DE MARCAS — PREMIUM */

.brand-showcase__header{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(28px, 3vw, 42px);
  text-align: center;
}

.brand-showcase__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: clamp(.72rem, .85vw, .86rem);
  line-height: 1;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 800;
  color: #5a708f;
}

.brand-showcase__eyebrow::before,
.brand-showcase__eyebrow::after{
  content: "";
  display: block;
  width: clamp(18px, 2vw, 28px);
  height: 1px;
  background: linear-gradient(90deg, rgba(47,123,255,0), rgba(47,123,255,.28), rgba(47,123,255,0));
}

.brand-showcase__title{
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 800;
  color: #112746;
}

.brand-showcase__title span{
  color: #2f7bff;
}

.brand-showcase__subtitle{
  margin: 0;
  max-width: 760px;
  font-size: clamp(.95rem, 1vw, 1.02rem);
  line-height: 1.75;
  color: #5c6f88;
}

.brand-showcase__line{
  width: min(520px, 100%);
  height: 1px;
  margin-top: 6px;
  background:
    linear-gradient(
      90deg,
      rgba(47,123,255,0),
      rgba(47,123,255,.10) 20%,
      rgba(47,123,255,.22) 50%,
      rgba(47,123,255,.10) 80%,
      rgba(47,123,255,0)
    );
}

/* GRID DE MARCAS */

.brand-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
  align-items: stretch;
  width: min(1320px, 100%);
  margin: 0 auto;
}

.brand-card{
  position: relative;
  min-height: 152px;
  border-radius: 24px;
  overflow: visible;
  transition: transform .28s ease;
}

.brand-card__inner{
  position: relative;
  min-height: 152px;
  padding: 20px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(230,236,243,.96), rgba(222,230,239,.92));
  border: 1px solid rgba(120,145,175,.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.84),
    0 12px 24px rgba(12,28,54,.05);
  transition:
    border-color .35s ease,
    box-shadow .35s ease,
    background .35s ease,
    transform .35s ease;
  isolation: isolate;
}

.brand-card__inner::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0));
  pointer-events: none;
  z-index: 0;
}

.brand-card__inner::after{
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 23px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0));
  pointer-events: none;
  z-index: 0;
}

.brand-card__glow{
  position: absolute;
  inset: -8px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 50%, rgba(47,123,255,.10), rgba(47,123,255,0) 62%);
  filter: blur(14px);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: -1;
}

.brand-card__shine{
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background:
    linear-gradient(
      120deg,
      rgba(255,255,255,0) 20%,
      rgba(255,255,255,.10) 42%,
      rgba(255,255,255,0) 64%
    );
  transform: translateX(-140%);
  transition: transform .7s ease;
  pointer-events: none;
  z-index: 1;
}

.brand-card img{
  position: relative;
  z-index: 2;
  max-width: 86%;
  max-height: 66px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter:
    grayscale(2%)
    saturate(1)
    contrast(1.01);
  transition:
    transform .28s ease,
    filter .28s ease,
    opacity .28s ease;
}

.brand-card:hover{
  transform: translateY(-6px);
}

.brand-card:hover .brand-card__inner{
  border-color: rgba(96,144,205,.22);
  background:
    linear-gradient(180deg, rgba(220,232,245,.98), rgba(238,245,252,.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.94),
    0 18px 34px rgba(12,28,54,.08);
}

.brand-card:hover .brand-card__glow{
  opacity: 1;
}

.brand-card:hover .brand-card__shine{
  transform: translateX(140%);
}

.brand-card:hover img{
  transform: scale(1.05);
  filter:
    grayscale(0%)
    saturate(1.08)
    contrast(1.04);
}

/* ========================================
   RESPONSIVO
======================================== */

@media (max-width: 1200px){
  .brand-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px){
  .tech-hero{
    padding: 48px 0 30px;
  }

  .tech-hero__content{
    padding-left: 20px;
  }

  .tech-hero__title{
    max-width: none;
    font-size: clamp(2.1rem, 6vw, 3.7rem);
  }

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

  .brand-card,
  .brand-card__inner{
    min-height: 128px;
  }

  .brand-card img{
    max-height: 56px;
  }
}

@media (max-width: 640px){
  .tech-hero__content{
    padding-left: 16px;
  }

  .tech-hero__content::before{
    width: 3px;
    top: 4px;
    bottom: 4px;
  }

  .tech-hero__title{
    max-width: none;
    font-size: clamp(1.95rem, 9vw, 3rem);
    line-height: .98;
  }

  .tech-hero__lead{
    line-height: 1.8;
  }

  .tech-hero__bullets{
    gap: 10px;
  }

  .tech-pill{
    width: 100%;
    justify-content: flex-start;
  }

  .brand-showcase__header{
    gap: 10px;
    margin-bottom: 24px;
  }

  .brand-showcase__title{
    font-size: clamp(1.2rem, 5vw, 1.7rem);
  }

  .brand-showcase__subtitle{
    font-size: .94rem;
    line-height: 1.7;
  }

  .brand-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .brand-card,
  .brand-card__inner{
    min-height: 106px;
    border-radius: 18px;
  }

  .brand-card__inner{
    padding: 14px;
  }

  .brand-card__inner::before,
  .brand-card__shine{
    border-radius: 18px;
  }

  .brand-card__inner::after{
    border-radius: 17px;
  }

  .brand-card img{
    max-width: 86%;
    max-height: 44px;
  }

  .brand-showcase__particles{
    display: none;
  }
}

/* ========================================
   PATCH FINAL
   HEADER E FOOTER SEMPRE ESCUROS
======================================== */

.site-header,
:root[data-theme="light"] .site-header{
  background:
    linear-gradient(180deg, rgba(5,11,24,.96) 0%, rgba(3,8,20,.92) 100%) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.18) !important;
}

.site-header.is-scrolled,
:root[data-theme="light"] .site-header.is-scrolled{
  background:
    linear-gradient(180deg, rgba(5,11,24,.98) 0%, rgba(3,8,20,.94) 100%) !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
}

/* menu desktop sempre escuro */
.nav.nav-desktop,
:root[data-theme="light"] .nav.nav-desktop{
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.03),
    0 14px 30px rgba(0,0,0,.22) !important;
}

/* links */
.nav a,
.nav a:visited,
:root[data-theme="light"] .nav a,
:root[data-theme="light"] .nav a:visited{
  color: rgba(234,241,255,.82) !important;
  -webkit-text-fill-color: rgba(234,241,255,.82) !important;
  background: transparent !important;
  border-color: transparent !important;
}

.nav a:hover,
:root[data-theme="light"] .nav a:hover{
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)) !important;
  border-color: rgba(255,255,255,.08) !important;
}

.nav a.is-active,
.nav a[aria-current="page"],
:root[data-theme="light"] .nav a.is-active,
:root[data-theme="light"] .nav a[aria-current="page"]{
  color: #f4f8ff !important;
  -webkit-text-fill-color: #f4f8ff !important;
  background:
    linear-gradient(135deg, rgba(47,123,255,.24), rgba(0,209,255,.12)) !important;
  border-color: rgba(0,209,255,.22) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.03),
    0 10px 24px rgba(0,0,0,.18),
    0 0 18px rgba(0,209,255,.10) !important;
}

/* compliance */
.nav-dropdown__toggle,
:root[data-theme="light"] .nav-dropdown__toggle{
  color: #f4fbff !important;
  -webkit-text-fill-color: #f4fbff !important;
  border: 1px solid rgba(0,209,255,.24) !important;
  background:
    linear-gradient(135deg, rgba(47,123,255,.20), rgba(0,209,255,.12)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.03),
    0 10px 24px rgba(0,0,0,.18),
    0 0 20px rgba(0,209,255,.08) !important;
}

.nav-dropdown__toggle:hover,
:root[data-theme="light"] .nav-dropdown__toggle:hover{
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: rgba(0,209,255,.42) !important;
  background:
    linear-gradient(135deg, rgba(47,123,255,.28), rgba(0,209,255,.18)) !important;
}

.nav-dropdown__toggle span,
.nav-dropdown__toggle .nav-dropdown__caret,
:root[data-theme="light"] .nav-dropdown__toggle span,
:root[data-theme="light"] .nav-dropdown__toggle .nav-dropdown__caret{
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

.nav-dropdown__menu,
:root[data-theme="light"] .nav-dropdown__menu{
  background:
    linear-gradient(180deg, rgba(8,15,30,.98) 0%, rgba(5,11,24,.96) 100%) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow:
    0 18px 44px rgba(0,0,0,.30),
    0 0 22px rgba(0,209,255,.08) !important;
}

.nav-dropdown__item,
:root[data-theme="light"] .nav-dropdown__item{
  color: rgba(234,241,255,.86) !important;
  -webkit-text-fill-color: rgba(234,241,255,.86) !important;
  background: transparent !important;
}

.nav-dropdown__item:hover,
:root[data-theme="light"] .nav-dropdown__item:hover{
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)) !important;
}

.nav-dropdown__item.is-active,
:root[data-theme="light"] .nav-dropdown__item.is-active{
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: linear-gradient(135deg, rgba(47,123,255,.18), rgba(0,209,255,.10)) !important;
  border-color: rgba(0,209,255,.18) !important;
}

/* toggle */
.theme-toggle,
:root[data-theme="light"] .theme-toggle{
  background: transparent !important;
}

/* footer sempre escuro */
.site-footer,
.footer,
:root[data-theme="light"] .site-footer,
:root[data-theme="light"] .footer{
  background:
    linear-gradient(180deg, #06101f 0%, #071427 100%) !important;
  color: #eaf1ff !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
}

.site-footer *,
.footer *,
:root[data-theme="light"] .site-footer *,
:root[data-theme="light"] .footer *{
  color: inherit !important;
}

.site-footer a,
.footer a,
:root[data-theme="light"] .site-footer a,
:root[data-theme="light"] .footer a{
  color: rgba(234,241,255,.82) !important;
}

.site-footer a:hover,
.footer a:hover,
:root[data-theme="light"] .site-footer a:hover,
:root[data-theme="light"] .footer a:hover{
  color: #ffffff !important;
}
