:root {
  --red: #e10a0a;
  --red2: #ff1515;
  --black: #050505;
  --graphite: #101112;
  --line: rgba(255, 255, 255, 0.17);
  --white: #fff;
  --muted: #b9b9b9;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #050505;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
}
.container {
  width: min(88vw, 1640px);
  margin: 0 auto;
}
h1,
h2,
h3 {
  font-family: Montserrat, Inter, Arial, sans-serif;
  margin: 0;
  line-height: 0.98;
}
h2 span,
h1 span {
  color: var(--red2);
}
p {
  margin: 0;
}

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}
.site-header.scrolled {
  position: fixed;
  background: rgba(2, 2, 2, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}
.nav-wrap {
  height: 100px;
  width: min(92vw, 1760px);
  margin: auto;
  display: flex;
  align-items: center;
  gap: 38px;
}
.brand {
  width: 178px;
  flex: 0 0 178px;
}
.brand img {
  width: 100%;
  filter: brightness(1.08) saturate(1.1);
}
.desktop-nav {
  display: flex;
  gap: 29px;
  margin-left: auto;
  align-items: center;
}
.desktop-nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #f3f3f3;
  white-space: nowrap;
  transition: 0.2s;
}
.desktop-nav a:hover {
  color: var(--red2);
}
.desktop-nav span {
  font-size: 13px;
  margin-left: 3px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 0 28px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition:
  transform 0.2s,
  background 0.2s,
  border-color 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-red {
  color: #fff;
  background: linear-gradient(180deg, #f31212, #ca0000);
  box-shadow: 0 8px 26px rgba(217, 0, 0, 0.2);
}
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(0, 0, 0, 0.18);
}
.btn-nav {
  height: 46px;
  padding: 0 22px;
  font-size: 10px;
}
.whatsapp-ring {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 25px;
}
.whatsapp-ring img {
  width: 22px;
  height: 22px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 38px;
  height: 34px;
  padding: 5px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 6px 0;
}
.mobile-menu {
  display: none;
}

/* HERO */
.hero {
  position: relative;
  height: max(780px, 100vh);
  min-height: 780px;
  overflow: hidden;
  background: #030303;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/hero.png") center center/cover no-repeat;
  transform: scale(1.005);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.38) 0%,
      rgba(0, 0, 0, 0.1) 45%,
      rgba(0, 0, 0, 0.08) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.18),
      transparent 30%,
      rgba(0, 0, 0, 0.23)
    );
}
.hero-content {
  position: absolute;
  z-index: 2;
  left: 6.1%;
  top: 20.2%;
  width: 600px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 27px;
}
.eyebrow i {
  display: block;
  width: 27px;
  height: 3px;
  background: var(--red);
}
.eyebrow.dark {
  color: #232323;
}
.hero h1 {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}
.hero-content > p {
  width: 440px;
  color: #e0e0e0;
  font-size: 17px;
  line-height: 1.58;
  margin-top: 27px;
}
.hero-buttons {
  display: flex;
  gap: 22px;
  margin-top: 34px;
}
.hero-features {
  position: absolute;
  z-index: 3;
  left: 5.2%;
  bottom: 4.4%;
  display: flex;
  align-items: stretch;
}
.feature {
  width: 190px;
  min-height: 94px;
  padding: 2px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.27);
  font-size: 10px;
  line-height: 1.35;
  font-weight: 600;
}
.feature:last-child {
  border-right: 0;
}
.feature img {
  height: 44px;
  width: 52px;
  object-fit: contain;
  margin-bottom: 7px;
}
.feature b {
  color: #fff;
  font-weight: 800;
}

/* LIGHT LAYERS */
.layers {
  background: #f6f6f6;
  color: #101010;
  position: relative;
  overflow: hidden;
}
.layers:before,
.layers:after {
  content: "";
  position: absolute;
  width: 500px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #efb4b4, transparent);
  transform: rotate(-24deg);
  opacity: 0.35;
}
.layers:before {
  left: -90px;
  top: 135px;
}
.layers:after {
  right: -130px;
  bottom: 85px;
}
.layers-inner {
  width: min(88vw, 1640px);
  margin: auto;
  height: 575px;
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: center;
}
.layers-copy {
  padding-left: 3px;
}
.layers-copy h2 {
  font-size: 54px;
  letter-spacing: -0.03em;
  line-height: 1.03;
}
.layers-copy p {
  font-size: 17px;
  line-height: 1.6;
  margin-top: 30px;
  width: 510px;
  max-width: 95%;
  color: #272727;
}
.ecosystem {
  height: 500px;
  position: relative;
  --hub-size: 150px;
  --icon-size: 60px;
}
.hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: var(--hub-size);
  height: var(--hub-size);
  border-radius: 50%;
  background: #060606;
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 16px rgba(227, 0, 0, 0.04),
    0 0 50px rgba(227, 0, 0, 0.12);
  z-index: 3;
}
.hub img {
  width: 118px;
}
.hub-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hub-lines span {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 1px;
  width: calc(var(--radius) - (var(--icon-size) / 2) + 2px);
  background: linear-gradient(90deg, #ee1d1d, rgba(238, 29, 29, 0.2));
  transform-origin: 0 50%;
  transform: translateY(-50%) rotate(var(--angle));
  z-index: 1;
}
.node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  font-size: 11px;
  line-height: 1.18;
  z-index: 4;
  transform:
    rotate(var(--angle))
    translateX(var(--radius))
    rotate(calc(var(--angle) * -1));
}
.node-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--icon-size);
  height: var(--icon-size);
  border: 1px solid rgba(216, 0, 0, 0.28);
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 7px rgba(216, 0, 0, 0.025);
  transform: translate(-50%, -50%);
}
.node-icon img {
  width: 31px;
  height: 34px;
  object-fit: contain;
}
.node strong {
  position: absolute;
  left: calc((var(--icon-size) / 2) + 13px);
  top: 0;
  width: max-content;
  transform: translateY(-50%);
}

.hub-lines .l1,
.node-1 {
  --angle: -90deg;
  --radius: 245px;
}
.hub-lines .l2,
.node-2 {
  --angle: -28deg;
  --radius: 260px;
}
.hub-lines .l3,
.node-3 {
  --angle: 31deg;
  --radius: 250px;
}
.hub-lines .l4,
.node-4 {
  --angle: 90deg;
  --radius: 245px;
}
.hub-lines .l5,
.node-5 {
  --angle: 151deg;
  --radius: 245px;
}
.hub-lines .l6,
.node-6 {
  --angle: 210deg;
  --radius: 260px;
}
.node-6 strong {
  right: calc((var(--icon-size) / 2) + 13px);
  left: auto;
  text-align: right;
}

/* SOLUTIONS */
.solutions {
  position: relative;
  background: #050505;
  padding: 86px 0 95px;
  overflow: hidden;
}
.solutions-bg {
  position: absolute;
  inset: 0;
  background: url("assets/section-solutions.png") center/cover no-repeat;
  opacity: 0.74;
}
.solutions:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.08));
  pointer-events: none;
}
.solutions-head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 38px;
}
.solutions-head h2 {
  font-size: 48px;
  line-height: 1.04;
  letter-spacing: -0.028em;
}
.solutions-head > p {
  width: 430px;
  font-size: 17px;
  line-height: 1.55;
  color: #e3e3e3;
  margin-top: 52px;
}
.cards-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.solution-card {
  min-height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 64% 36%;
  background: rgba(7, 7, 7, 0.82);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.25s,
    border-color 0.25s;
}
.solution-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 28, 28, 0.62);
}
.card-copy {
  position: relative;
  padding: 30px 18px 22px 20px;
}
.num {
  display: block;
  color: #b21111;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.card-title {
  display: flex;
  gap: 14px;
  align-items: center;
}
.card-title img {
  width: 37px;
  height: 42px;
  object-fit: contain;
}
.card-title h3 {
  font-size: 21px;
  line-height: 1.12;
}
.card-copy p {
  font-size: 13px;
  line-height: 1.52;
  color: #bcbcbc;
  margin-top: 18px;
  padding-left: 52px;
}
.card-media {
  position: relative;
  overflow: hidden;
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%, 0 20%);
}
.card-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.25), transparent);
}

.media-hero {
  background: url("assets/portariaremota-image.png") 81% 50% / auto 100% no-repeat;
}
.media-ia {
  background: url("assets/monitoramentocomia-image.png") 76% 53% / auto 100% no-repeat;
}
.media-condo {
  background: url("assets/solucoesparacondominio-image.png") 75% 55% / auto 100% no-repeat;
}

.media-security {
  background: url("assets/segurancaeletronica-image.png") 81% 50% / auto 100% no-repeat;
}

.media-engineering {
  background: url("assets/engenhariaemanutencao-image.png") 81% 50% / auto 100% no-repeat;
}

.media-facilities {
  background: url("assets/facilities-image.png") 62% 50% / auto 100% no-repeat;
}

.media-engineering:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/hero.png") 70% 50% / auto 110% no-repeat;
  opacity: 0.18;
}
.media-facilities:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/section-portaria.png") 62% 50% / auto 110% no-repeat;
  opacity: 0.26;
}
.media-security img,
.media-engineering img,
.media-facilities img {
  width: 90px;
  max-height: 90px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

/* REMOTE */
.remote {
  height: 560px;
  position: relative;
  overflow: hidden;
  background: #0b0b0b;
}
.remote-photo {
  position: absolute;
  inset: 0;
  background: url("assets/section-portaria.png") center/cover no-repeat;
}
.remote-white {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 55%;
  background: linear-gradient(90deg, #fff 0%, #f8f8f8 80%, #f0f0f0 100%);
  clip-path: polygon(0 0, 94% 0, 82% 100%, 0 100%);
}
.remote-copy {
  position: absolute;
  z-index: 2;
  left: 6.1%;
  top: 68px;
  color: #111;
  width: 660px;
}
.remote-copy h2 {
  font-size: 40px;
  line-height: 1.06;
  letter-spacing: -0.026em;
}
.remote-copy > p {
  font-size: 16px;
  line-height: 1.55;
  width: 510px;
  max-width: 90%;
  margin-top: 22px;
  color: #272727;
}
.remote-benefits {
  display: flex;
  gap: 0;
  margin: 30px 0 25px;
  width: 650px;
  max-width: 96%;
}
.remote-benefits > div {
  width: 25%;
  padding: 0 12px;
  border-right: 1px solid rgba(213, 0, 0, 0.45);
  text-align: center;
}
.remote-benefits > div:first-child {
  padding-left: 0;
}
.remote-benefits > div:last-child {
  border-right: 0;
}
.remote-benefits img {
  height: 38px;
  width: 44px;
  object-fit: contain;
  margin: 0 auto 9px;
}
.remote-benefits small {
  font-size: 9px;
  line-height: 1.35;
  font-weight: 700;
}
.btn-small {
  height: 47px;
  padding: 0 27px;
}
.status-panel {
  position: absolute;
  right: 4.3%;
  top: 112px;
  z-index: 3;
  width: 355px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.status-panel > div {
  min-height: 63px;
  display: grid;
  grid-template-columns: 35px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 17px;
  background: rgba(6, 6, 6, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}
.status-panel span {
  font-size: 19px;
  color: #ddd;
}
.status-panel b {
  font-size: 10px;
  letter-spacing: 0.02em;
}
.status-panel small {
  font-size: 9px;
  color: #ddd;
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-panel i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #13d152;
  box-shadow: 0 0 11px #13d152;
}

/* MONITORING */
.monitoring {
  background: #050505;
  padding: 66px 0 58px;
  position: relative;
}
.monitoring:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/section-solutions.png") center/cover no-repeat;
  opacity: 0.17;
}
.monitoring-inner {
  width: min(88vw, 1640px);
  margin: auto;
  display: grid;
  grid-template-columns: 57% 43%;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}
.monitor-screen {
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.monitor-screen img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.monitor-copy {
  padding-left: 25px;
}
.monitor-copy h2 {
  font-size: 50px;
  line-height: 1.03;
  letter-spacing: -0.03em;
}
.monitor-copy > p {
  font-size: 16px;
  line-height: 1.55;
  color: #d6d6d6;
  margin-top: 22px;
  width: 530px;
  max-width: 100%;
}
.ia-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
}
.ia-points > div {
  text-align: center;
  padding: 0 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}
.ia-points > div:last-child {
  border-right: 0;
}
.ia-points img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin: 0 auto 11px;
}
.ia-points strong {
  font-size: 11px;
  line-height: 1.25;
}

/* STRIP */
.proof-strip {
  background: linear-gradient(90deg, #2b0000, #5d0606 48%, #250000);
  border-top: 1px solid rgba(255, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 0, 0, 0.2);
}
.proof-wrap {
  width: min(88vw, 1640px);
  height: 115px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof-wrap > div {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
.proof-wrap > div:last-child {
  border-right: 0;
}
.proof-wrap img {
  width: 48px;
  height: 50px;
  object-fit: contain;
}
.proof-wrap p {
  display: flex;
  flex-direction: column;
}
.proof-wrap small {
  font-size: 10px;
}
.proof-wrap strong {
  font-size: 15px;
  line-height: 1.12;
}

/* FOOTER */
footer {
  background: #050505;
  padding: 58px 0 18px;
}
.footer-wrap {
  width: min(88vw, 1640px);
  margin: auto;
  display: grid;
  grid-template-columns: 1.25fr 1.15fr 1.45fr 1.05fr 0.95fr;
  gap: 45px;
}
.footer-brand img {
  width: 235px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #b5b5b5;
  font-size: 12px;
  line-height: 1.4;
}
.footer-col b {
  color: #fff;
  font-size: 11px;
  margin-bottom: 6px;
}
.footer-col a:hover {
  color: #fff;
}
.footer-col .contact-link {
  color: #c9c9c9;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}
.footer-col .contact-main {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  max-width: 100%;
  font-size: 15px;
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.footer-col .phone {
  font-size: 17px;
  margin-bottom: 5px;
}
.footer-col .contact-main img {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.footer-hours {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
}
.footer-hours img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.footer-bottom {
  width: min(88vw, 1640px);
  margin: 45px auto 0;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  justify-content: space-between;
  color: #777;
  font-size: 10px;
}
.footer-bottom i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  margin: 0 10px;
}
.seo-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 24px;
  padding: 3px 10px;
  color: #fff;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.seo-trigger:hover {
  color: #fff;
  background: var(--red2);
  border-color: var(--red2);
}
.seo-dialog {
  width: min(860px, calc(100% - 32px));
  max-height: min(760px, calc(100dvh - 32px));
  padding: 0;
  color: #fff;
  background: #090909;
  border: 1px solid rgba(255, 31, 31, 0.42);
  border-radius: 12px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.75);
  overflow: auto;
}
.seo-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
}
.seo-dialog-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  background: rgba(9, 9, 9, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.seo-dialog-head span {
  color: var(--red2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.seo-dialog-head h2 {
  margin-top: 7px;
  font-size: 27px;
  line-height: 1.1;
}
.seo-dialog-close {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  background: #151515;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.seo-dialog-body {
  padding: 26px 28px 30px;
}
.seo-dialog-body > p {
  max-width: 720px;
  color: #c8c8c8;
  font-size: 14px;
  line-height: 1.65;
}
.seo-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.seo-topic-grid section {
  padding: 18px;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}
.seo-topic-grid h3,
.seo-answers h3 {
  margin: 0 0 10px;
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: 14px;
  color: #fff;
}
.seo-topic-grid p,
.seo-answers p {
  color: #aaa;
  font-size: 12px;
  line-height: 1.65;
}
.seo-answers {
  margin-top: 26px;
}
.seo-answers details {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 0;
}
.seo-answers summary {
  color: #eee;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.seo-answers details p {
  margin-top: 9px;
}
body.seo-modal-open {
  overflow: hidden;
}
.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #16b852;
  color: #fff;
  font-size: 30px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}
.floating-wa img {
  width: 29px;
  height: 29px;
}

/* ANIMATION */
@keyframes header-enter {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hero-background-enter {
  from {
    opacity: 0.35;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1.005);
  }
}
@keyframes hero-item-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes whatsapp-enter {
  from {
    opacity: 0;
    transform: scale(0.65);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.site-header {
  animation: header-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-bg {
  animation: hero-background-enter 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-content > * {
  opacity: 0;
  animation: hero-item-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-content > :nth-child(1) {
  animation-delay: 0.18s;
}
.hero-content > :nth-child(2) {
  animation-delay: 0.32s;
}
.hero-content > :nth-child(3) {
  animation-delay: 0.46s;
}
.hero-content > :nth-child(4) {
  animation-delay: 0.6s;
}
.hero-features .feature {
  opacity: 0;
  animation: hero-item-enter 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-features .feature:nth-child(1) {
  animation-delay: 0.72s;
}
.hero-features .feature:nth-child(2) {
  animation-delay: 0.82s;
}
.hero-features .feature:nth-child(3) {
  animation-delay: 0.92s;
}
.hero-features .feature:nth-child(4) {
  animation-delay: 1.02s;
}
.floating-wa {
  animation: whatsapp-enter 0.55s 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.reveal {
  --reveal-x: 0px;
  --reveal-delay: 0ms;
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(var(--reveal-x), 28px, 0) scale(0.985);
  transition:
    opacity 0.72s ease var(--reveal-delay),
    filter 0.72s ease var(--reveal-delay),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay);
}
.reveal.visible {
  opacity: 1;
  filter: none;
  transform: none;
}
.layers-copy.reveal,
.monitor-screen.reveal {
  --reveal-x: -18px;
}
.ecosystem.reveal,
.monitor-copy.reveal,
.status-panel.reveal {
  --reveal-x: 18px;
}

/* RESPONSIVE */
@media (max-width: 1280px) {
  .desktop-nav {
    gap: 16px;
  }
  .desktop-nav a {
    font-size: 9px;
  }
  .brand {
    width: 150px;
    flex-basis: 150px;
  }
  .hero h1 {
    font-size: 62px;
  }
  .hero-content {
    left: 5%;
    width: 520px;
  }
  .hero-features {
    left: 4%;
  }
  .feature {
    width: 160px;
  }
  .layers-copy h2,
  .monitor-copy h2 {
    font-size: 45px;
  }
  .solutions-head h2 {
    font-size: 42px;
  }
  .card-title h3 {
    font-size: 18px;
  }
  .remote-copy {
    left: 5%;
  }
}
@media (max-width: 980px) {
  .nav-wrap {
    height: 78px;
  }
  .desktop-nav,
  .btn-nav {
    display: none;
  }
  .brand {
    width: 145px;
    flex-basis: 145px;
  }
  .nav-actions {
    margin-left: auto;
  }
  .menu-toggle {
    display: block;
  }
  .mobile-menu {
    position: absolute;
    top: 78px;
    left: 0;
    width: 100%;
    background: #090909;
    padding: 15px 5vw 22px;
    flex-direction: column;
    gap: 18px;
    border-top: 1px solid #222;
  }
  .mobile-menu.open {
    display: flex;
  }
  .hero {
    height: auto;
    min-height: 960px;
  }
  .hero-bg {
    background-position: 66% center;
  }
  .hero-shade {
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.72),
      rgba(0, 0, 0, 0.25)
    );
  }
  .hero-content {
    left: 6%;
    top: 150px;
    width: 88%;
  }
  .hero h1 {
    font-size: 58px;
  }
  .hero-content > p {
    width: 520px;
    max-width: 92%;
  }
  .hero-features {
    left: 5%;
    right: 5%;
    bottom: 35px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .feature {
    width: auto;
    padding: 4px 10px;
  }
  .layers-inner {
    height: auto;
    padding: 80px 0 60px;
    grid-template-columns: minmax(0, 1fr);
    margin: 0 auto;
  }
  .ecosystem {
    height: 520px;
    margin-top: 45px;
  }
  .solutions-head {
    display: block;
  }
  .solutions-head > p {
    margin-top: 25px;
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .remote {
    height: 760px;
  }
  .remote-white {
    width: 100%;
    height: 58%;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  }
  .remote-copy {
    top: 50px;
    width: 90%;
  }
  .remote-photo {
    background-position: 72% center;
  }
  .status-panel {
    top: auto;
    bottom: 35px;
    right: 5%;
    width: 390px;
  }
  .monitoring-inner {
    grid-template-columns: 1fr;
  }
  .monitor-copy {
    padding: 0;
  }
  .monitor-screen img {
    height: auto;
  }
  .footer-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 680px) {
  .nav-wrap {
    width: calc(100% - 16px);
    margin: 0 8px;
  }
  .whatsapp-ring {
    display: none;
  }
  .hero {
    min-height: 980px;
  }
  .hero-bg {
    background-position: 70% center;
  }
  .hero-shade {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.15),
      rgba(0, 0, 0, 0.55) 47%,
      #040404 79%
    );
  }
  .hero-content {
    top: 120px;
    left: 6%;
    width: 88%;
  }
  .hero h1 {
    font-size: 42px;
    line-height: 1.01;
  }
  .hero-content > p {
    font-size: 15px;
    margin-top: 20px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .btn {
    height: 50px;
  }
  .hero-features {
    grid-template-columns: repeat(2, 1fr);
    bottom: 20px;
  }
  .feature {
    min-height: 85px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
  .feature:nth-child(2) {
    border-right: 0;
  }
  .layers-inner {
    width: calc(100% - 16px);
    margin: 0 8px;
  }
  .layers-copy,
  .ecosystem {
    min-width: 0;
  }
  .layers-copy p {
    width: auto;
    max-width: 100%;
  }
  .layers-copy h2 {
    font-size: 37px;
  }
  .layers-copy p {
    font-size: 15px;
  }
  .solutions {
    padding: 70px 0;
  }
  .solutions .cards-grid {
    width: calc(100% - 16px);
    margin: 0 8px;
  }
  .solutions .solutions-head {
    width: calc(100% - 16px);
    margin: 0 8px 38px;
  }
  .solutions-head h2 {
    font-size: 34px;
  }
  .solutions-head > p {
    font-size: 15px;
    width: auto;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .solution-card {
    grid-template-columns: 62% 38%;
    min-height: 210px;
  }
  .card-copy {
    padding: 24px 12px 18px 20px;
  }
  .card-title h3 {
    font-size: 16px;
  }
  .card-copy p {
    padding-left: 0;
    font-size: 12px;
  }
  .remote {
    height: auto;
    min-height: 0;
    padding: 45px 6% 28px;
  }
  .remote-white {
    height: 65%;
    clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
  }
  .remote-copy {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
  }
  .remote-copy h2 {
    font-size: 30px;
  }
  .remote-copy > p {
    font-size: 14px;
  }
  .remote-copy > .btn-small {
    display: none;
  }
  .remote-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .remote-benefits > div {
    width: auto;
    border-right: 0;
  }
  .remote-benefits img {
    width: 56px;
    height: 56px;
    padding: 9px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 24%, #ed1b1b 0%, #a90000 58%, #650000 100%);
    box-shadow:
      0 8px 18px rgba(120, 0, 0, 0.3),
      inset 0 0 0 2px rgba(255, 255, 255, 0.08);
    object-fit: contain;
  }
  .status-panel {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    margin-top: 38px;
  }
  .monitoring {
    padding-top: 45px;
    overflow: hidden;
  }
  .monitoring-inner {
    width: calc(100% - 32px);
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
  }
  .monitor-screen,
  .monitor-copy {
    width: 100%;
    min-width: 0;
  }
  .monitor-copy h2 {
    font-size: 36px;
  }
  .monitor-copy > p {
    font-size: 14px;
    width: auto;
    max-width: 100%;
  }
  .ia-points {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
  }
  .ia-points > div {
    min-width: 0;
    padding: 0 8px;
  }
  .ia-points img {
    width: 40px;
    height: 42px;
  }
  .ia-points strong {
    font-size: 9px;
  }
  .proof-wrap {
    height: auto;
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 0;
  }
  .proof-wrap > div {
    min-height: 86px;
    min-width: 0;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 8px;
  }
  .proof-wrap > div:nth-child(2) {
    border-right: 0;
  }
  .proof-wrap img {
    width: 40px;
    height: 42px;
    flex: 0 0 40px;
  }
  .proof-wrap p {
    min-width: 0;
  }
  .proof-wrap strong {
    font-size: 11px;
  }
  .footer-wrap {
    width: 100%;
    margin: 0;
    padding: 0 20px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-brand img {
    width: 200px;
  }
  footer {
    padding: 36px 0 12px;
  }
  .footer-col b {
    margin-bottom: 2px;
  }
  .footer-bottom {
    width: 100%;
    margin: 24px 0 0;
    padding: 12px 20px 0;
    display: block;
    line-height: 2;
  }
  .footer-bottom > span {
    display: block;
  }
  .footer-bottom > span + span {
    margin-top: 4px;
  }
  .footer-bottom i {
    margin: 0 7px;
  }
  .seo-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
  }
  .seo-dialog-head {
    padding: 18px;
  }
  .seo-dialog-head h2 {
    font-size: 21px;
  }
  .seo-dialog-body {
    padding: 20px 18px 24px;
  }
  .seo-topic-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  .ecosystem {
    height: clamp(410px, 76vw, 470px);
    margin-top: clamp(26px, 6vw, 40px);
    --hub-size: clamp(108px, 20vw, 124px);
    --icon-size: clamp(50px, 9vw, 56px);
  }
  .hub img {
    width: calc(var(--hub-size) * 0.78);
  }
  .node {
    font-size: clamp(8px, 1.5vw, 9px);
  }
  .node strong,
  .node-6 strong {
    right: auto;
    left: 0;
    top: calc((var(--icon-size) / 2) + 6px);
    transform: translateX(-50%);
    text-align: center;
  }
  .node-icon img {
    width: 23px;
    height: 25px;
  }
  .hub-lines .l1,
  .node-1 {
    --radius: min(170px, calc(44vw - 18px));
  }
  .hub-lines .l2,
  .node-2 {
    --radius: min(190px, calc(44vw - 24px));
  }
  .hub-lines .l3,
  .node-3 {
    --radius: min(190px, calc(44vw - 24px));
  }
  .hub-lines .l4,
  .node-4 {
    --radius: min(170px, calc(44vw - 18px));
  }
  .hub-lines .l5,
  .node-5 {
    --radius: min(190px, calc(44vw - 24px));
  }
  .hub-lines .l6,
  .node-6 {
    --radius: min(190px, calc(44vw - 24px));
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
  .site-header,
  .hero-bg,
  .hero-content > *,
  .hero-features .feature,
  .floating-wa {
    opacity: 1;
    animation: none !important;
    transform: none;
  }
  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
  .btn {
    transition: none;
  }
}
