/* TechShield refinement 2026.08.21 — hero editorial, navegação e microinterações */

body {
  background: #f5f8fc;
}

.site-header {
  background: rgba(3, 15, 33, .96);
  box-shadow: 0 12px 34px rgba(2, 11, 24, .22);
}

.header-inner {
  min-height: 88px;
}

.header-actions {
  gap: 10px;
}

.header-tool {
  min-height: 48px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  grid-template-columns: 36px auto;
  gap: 9px;
  backdrop-filter: none;
}

.header-tool-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.header-tool-copy small {
  margin-bottom: 2px;
  font-size: .52rem;
}

.header-tool-copy strong {
  font-size: .72rem;
}

.header-tool-download {
  border-color: rgba(130, 204, 255, .2);
  background: rgba(255, 255, 255, .07);
  box-shadow: none;
}

.header-tool-download:hover {
  border-color: rgba(130, 220, 255, .48);
  background: rgba(255, 255, 255, .12);
}

.header-tool-panel {
  border-color: transparent;
  background: linear-gradient(105deg, #0875ef, #18aeea);
  box-shadow: 0 10px 24px rgba(7, 121, 239, .26);
}

.header-tool-panel:hover {
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(7, 121, 239, .36);
}

.header-tool-panel small,
.header-tool-panel strong,
.header-tool-panel .header-tool-icon {
  color: #fff;
}

.header-tool-panel .header-tool-icon {
  background: rgba(255, 255, 255, .16);
}

/* Hero com imagens alternadas: sem malha, pontos ou quadriculado. */
.hero {
  position: relative;
  display: flex;
  min-height: 680px;
  padding: 92px 0 86px;
  align-items: center;
  isolation: isolate;
  background: #030e20;
}

.hero::before,
.hero::after {
  display: none;
  content: none;
}

.hero-media,
.hero-shade,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  overflow: hidden;
  background: #030e20;
}

.hero-slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1s ease, transform 7s ease;
}

.hero-slide--datacenter {
  background-image: url('hero-datacenter.webp');
}

.hero-slide--security {
  background-image: url('hero-security.webp');
}

.hero-slide--support {
  background-image: url('hero-support.webp');
}

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

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 10, 24, .98) 0%, rgba(2, 12, 29, .93) 35%, rgba(3, 15, 34, .53) 66%, rgba(3, 13, 29, .2) 100%),
    linear-gradient(180deg, rgba(2, 10, 24, .18), rgba(2, 10, 24, .72));
}

.hero-grid {
  display: block;
}

.hero-copy {
  max-width: 720px;
}

.hero .eyebrow {
  color: #79ddff;
}

.hero h1 {
  max-width: 720px;
  color: #fff;
  font-size: clamp(3rem, 5.6vw, 5.35rem);
  text-wrap: balance;
  text-shadow: 0 16px 45px rgba(0, 0, 0, .28);
}

.hero h1 span {
  color: #52d8ff;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero-copy .lead {
  max-width: 650px;
  color: rgba(231, 242, 255, .8);
  font-size: 1.08rem;
}

.hero .btn-primary {
  border-color: transparent;
  background: linear-gradient(105deg, #0874ef, #19b4ed);
  box-shadow: 0 15px 34px rgba(9, 127, 239, .3);
}

.hero .btn-secondary {
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
  background: rgba(255, 255, 255, .09);
  backdrop-filter: blur(12px);
}

.hero .btn-secondary:hover {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .15);
}

.hero-proof {
  color: rgba(226, 239, 255, .8);
}

.hero-proof li::before {
  color: #76e8bd;
  background: rgba(30, 187, 125, .15);
}

.hero-visual {
  display: none;
}

.hero-carousel-nav {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 28px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-dot,
.hero-pause {
  display: grid;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  background: rgba(3, 17, 37, .46);
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.hero-dot {
  width: 29px;
  height: 8px;
  border-radius: 999px;
  transition: width .22s ease, background .22s ease;
}

.hero-dot.is-active {
  width: 58px;
  border-color: #45cdf9;
  background: #45cdf9;
}

.hero-pause {
  width: 30px;
  height: 30px;
  margin-left: 3px;
  border-radius: 50%;
  font-size: 10px;
}

.hero-pause.is-paused span {
  transform: translateX(1px);
  font-size: 13px;
}

.section-dark::before,
.client-card::after {
  display: none;
  content: none;
}

.dash-chart {
  background: #f9fcff;
}

.diagnostic-intro {
  background:
    radial-gradient(circle at 10% 92%, rgba(40, 212, 255, .2), transparent 45%),
    linear-gradient(150deg, #03142d, #0a3568);
}

.whatsapp-float {
  min-height: 58px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, .72);
  background: linear-gradient(105deg, #079b66, #13c77f);
  box-shadow: 0 16px 42px rgba(4, 126, 82, .34);
  isolation: isolate;
}

.whatsapp-float::before {
  position: absolute;
  z-index: -1;
  inset: -1px;
  border-radius: inherit;
  border: 2px solid rgba(24, 205, 130, .5);
  content: "";
  animation: ts-whatsapp-pulse 2.8s ease-out infinite;
}

.whatsapp-float:hover svg {
  animation: ts-whatsapp-wiggle .42s ease;
}

@keyframes ts-whatsapp-pulse {
  0%, 34% { opacity: 0; transform: scale(1); }
  48% { opacity: .6; }
  84%, 100% { opacity: 0; transform: scale(1.28); }
}

@keyframes ts-whatsapp-wiggle {
  0%, 100% { transform: rotate(0); }
  35% { transform: rotate(-12deg); }
  70% { transform: rotate(10deg); }
}

@media (max-width: 1100px) {
  .hero {
    min-height: 640px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(2, 10, 24, .98), rgba(2, 12, 29, .8) 62%, rgba(2, 12, 29, .45));
  }
}

@media (max-width: 940px) {
  .header-tool {
    border-radius: 14px;
  }

  .hero {
    min-height: 610px;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 660px;
    padding: 70px 0 92px;
  }

  .hero-slide {
    background-position: 64% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(2, 10, 24, .97), rgba(2, 12, 29, .79));
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 4.15rem);
  }

  .hero-copy .lead {
    font-size: 1rem;
  }

  .hero-carousel-nav {
    bottom: 24px;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .whatsapp-float::before,
  .whatsapp-float svg {
    animation: none !important;
    transition: none !important;
  }
}
