/* =========================================================
   HEADER — B2B TECNOLOGIA
========================================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(28, 38, 49, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  padding: 10px 10px;
}


/* =========================================================
   NAV
========================================================= */

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 16px;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;

  width:170px;
  height: auto;

  margin-right: 20px;
  margin: 5px;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.logo::before {
  content: "";

  position: absolute;
  left: 50%;
  top: 50%;

  width: 150px;
  height: 52px;

  transform: translate(-50%, -50%);

  background: rgba(22, 133, 255, 0.22);

  filter: blur(28px);

  border-radius: 50%;

  pointer-events: none;
}

.logo img {
  position: relative;
  z-index: 1;

  display: block;

  width: 170px;
  height: auto;

  max-width: none;

  object-fit: contain;

  /* TAMANHO DESKTOP */
  transform: scale(0.6);

  transform-origin: left center;

  margin-top: 5px;
}

.logo:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}


/* =========================================================
   NAVEGAÇÃO
========================================================= */

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 1;
  min-width: 0;

  gap: 22px;

  color: #c1ccd7;

  font-size: 0.68rem;
  font-weight: 500;

  text-transform: uppercase;
  letter-spacing: 0.08em;

  white-space: nowrap;
}

.nav-links a {
  position: relative;

  padding: 10px 0;

  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

.nav-links a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 2px;

  width: 0;
  height: 1px;

  border-radius: 999px;

  background: #1685ff;

  box-shadow:
    0 0 10px rgba(0, 108, 255, 0.6);

  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a:hover::after {
  width: 100%;
}


/* =========================================================
   CTA
========================================================= */

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  flex-shrink: 0;

  margin-left: 16px;

  min-width: 175px;
  height: 44px;

  padding: 0 16px;

  white-space: nowrap;

  background: #1685ff;
  color: #ffffff;

  border: 1px solid #1685ff;
  border-radius: 12px;

  font-size: 0.60rem;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 0.08em;

  box-shadow:
    0 10px 30px rgba(22, 133, 255, 0.22);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.header-cta:hover {
  background: #0878ef;
  border-color: #0878ef;
  color: #ffffff;

  transform: translateY(-2px);

  box-shadow:
    0 14px 38px rgba(22, 133, 255, 0.32);
}

.header-cta-arrow {
  display: inline-block;

  font-size: 1rem;
  font-weight: 400;
  line-height: 1;

  transition: transform 0.25s ease;
}

.header-cta:hover .header-cta-arrow {
  transform: translateX(4px);
}


/* =========================================================
   BOTÃO MENU MOBILE
========================================================= */

.menu-btn {
  display: none;

  width: 44px;
  height: 44px;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;

  font-size: 1.3rem;
  line-height: 1;

  cursor: pointer;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.menu-btn:hover {
  background: rgba(0, 108, 255, 0.1);

  border-color:
    rgba(0, 108, 255, 0.35);

  color: #1685ff;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

  .nav {
    gap: 12px;
  }

  .logo {
    width: 145px;
    margin-right: 8px;
  }

  .logo::before {
    width: 125px;
    height: 45px;
  }

  .logo img {
    width: 160px;

    transform: scale(0.6);

    transform-origin: left center;

    margin-top: 4px;
  }

  .nav-links {
    gap: 14px;

    font-size: 0.61rem;

    letter-spacing: 0.06em;
  }

  .header-cta {
    margin-left: 8px;

    min-width: 150px;
    height: 42px;

    padding: 0 12px;

    font-size: 0.56rem;
  }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

  .header {
    background: rgba(28, 38, 49, 0.97);
    padding: 0;
  }

  .nav {
    min-height: 72px;

    padding: 0 18px;

    gap: 12px;
  }


  /* =======================================================
     LOGO MOBILE
  ======================================================== */

  .logo {
    width: 100px;
    height: 42px;

    margin-right: 0;

    flex: 0 0 100px;

    min-width: 0;
  }

  .logo::before {
    width: 90px;
    height: 34px;
  }

  .logo img {
    width: 150px;

    max-width: none;

    /* REDUZIDA */
    transform: scale(0.50);

    transform-origin: left center;

    margin-top: 2px;
  }


  /* =======================================================
     MENU
  ======================================================== */

  .menu-btn {
    display: inline-flex;

    margin-left: auto;
  }


  /* =======================================================
     NAVEGAÇÃO MOBILE
  ======================================================== */

  .nav-links {
    display: none;

    position: absolute;

    top: 72px;

    left: 0;
    right: 0;

    width: 100%;

    margin: 0;

    padding: 18px 20px 22px;

    flex-direction: column;

    align-items: stretch;
    justify-content: flex-start;

    gap: 0;

    background:
      linear-gradient(
        180deg,
        rgba(28, 38, 49, 0.99),
        rgba(17, 24, 32, 0.99)
      );

    border-bottom:
      1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
      0 20px 40px rgba(0, 0, 0, 0.3);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    text-transform: uppercase;

    letter-spacing: 0.1em;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;

    padding: 14px 5px;

    color: #d5dee8;

    border-bottom:
      1px solid rgba(255, 255, 255, 0.05);

    transition:
      color 0.25s ease,
      background 0.25s ease,
      padding-left 0.25s ease;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover {
    padding-left: 10px;

    color: #1685ff;

    background:
      rgba(0, 108, 255, 0.04);
  }


  /* =======================================================
     ESCONDE CTA NO MOBILE
  ======================================================== */

  .header .header-cta {
    display: none !important;
  }
}


/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 480px) {

  .nav {
    min-height: 68px;

    padding: 0 14px;

    gap: 10px;
  }


  /* LOGO */

  .logo {
    width: 88px;
    height: 38px;

    margin-right: 0;

    flex: 0 0 88px;
  }

  .logo::before {
    width: 78px;
    height: 30px;
  }

  .logo img {
    width: 140px;

    max-width: none;

    transform: scale(0.50);

    transform-origin: left center;

    margin-top: 1px;
  }


  /* MENU */

  .menu-btn {
    width: 42px;
    height: 42px;

    font-size: 1.2rem;
  }


  /* MENU ABERTO */

  .nav-links {
    top: 68px;

    padding-left: 16px;
    padding-right: 16px;
  }
}


/* =========================================================
   MOBILE MUITO PEQUENO
========================================================= */

@media (max-width: 360px) {

  .nav {
    padding: 0 12px;
  }

  .logo {
    width: 80px;
    flex-basis: 80px;
  }

  .logo img {
    width: 130px;

    transform: scale(0.48);
  }

  .menu-btn {
    width: 40px;
    height: 40px;
  }
}


/* =========================================================
   CARD — SOLUÇÃO SOB MEDIDA
========================================================= */

.solution-card-cta {
  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(12, 50, 91, 0.85),
      rgba(5, 20, 36, 0.95)
    );

  border-color:
    rgba(22, 133, 255, 0.22);
}

.solution-card-cta::after {
  content: "";

  position: absolute;

  right: -90px;
  bottom: -100px;

  width: 260px;
  height: 260px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(22, 133, 255, 0.28),
      transparent 68%
    );

  filter: blur(20px);

  pointer-events: none;
}

.solution-card-cta .solution-icon {
  background:
    rgba(22, 133, 255, 0.16);

  border-color:
    rgba(22, 133, 255, 0.3);

  box-shadow:
    0 0 30px rgba(0, 108, 255, 0.12);
}

.solution-card-cta .solution-number {
  color: #5aa9ff;
}

.solution-card-cta h3 {
  max-width: 280px;

  font-size: 1.35rem;
}

.solution-card-cta:hover {
  border-color:
    rgba(22, 133, 255, 0.5);

  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.35),
    0 0 45px rgba(0, 108, 255, 0.1);
}