/* =========================================================
   HEADER — CETIS
========================================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;

  background: rgba(255, 255, 255, 0.97);

  border-bottom: 1px solid rgba(20, 55, 95, 0.10);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow: 0 6px 24px rgba(20, 55, 95, 0.08);

  padding: 8px 10px;
}


/* =========================================================
   NAV
========================================================= */

.nav {
  min-height: 82px;

  display: flex;
  align-items: center;

  gap: 20px;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
  position: relative;

  display: flex;
  align-items: center;

  flex-shrink: 0;

  width: 190px;
  height: 70px;

  margin: 0;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}


/* =========================================================
   SEM BRILHO ATRÁS DA LOGO
========================================================= */

.logo::before {
  display: none;
}


/* =========================================================
   IMAGEM DA LOGO
========================================================= */

.logo img {
  position: relative;
  z-index: 1;

  display: block;

  width: 190px;
  height: auto;

  max-width: none;

  object-fit: contain;

  transform: none;

  transform-origin: center;

  margin: 0;
}


.logo:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}


/* =========================================================
   NAVEGAÇÃO
========================================================= */

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 1;
  min-width: 0;

  gap: 22px;

  color: #183a5c;

  font-size: 0.68rem;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 0.07em;

  white-space: nowrap;
}


.nav-links a {
  position: relative;

  padding: 10px 0;

  color: #183a5c;

  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}


/* =========================================================
   LINHA DE DESTAQUE
========================================================= */

.nav-links a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 2px;

  width: 0;
  height: 2px;

  border-radius: 999px;

  background: #0088cc;

  box-shadow:
    0 0 8px rgba(0, 136, 204, 0.25);

  transition: width 0.25s ease;
}


.nav-links a:hover {
  color: #0088cc;
}


.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: #087fbd;

  color: #ffffff;

  border: 1px solid #087fbd;
  border-radius: 10px;

  font-size: 0.60rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.07em;

  box-shadow:
    0 8px 22px rgba(8, 127, 189, 0.18);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}


.header-cta:hover {
  background: #066da4;

  border-color: #066da4;

  color: #ffffff;

  transform: translateY(-2px);

  box-shadow:
    0 12px 28px rgba(8, 127, 189, 0.24);
}


.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(20, 55, 95, 0.15);
  border-radius: 10px;

  background: #ffffff;

  color: #183a5c;

  font-size: 1.3rem;
  line-height: 1;

  cursor: pointer;

  box-shadow:
    0 4px 12px rgba(20, 55, 95, 0.08);

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}


.menu-btn:hover {
  background: #f1f8fc;

  border-color: #087fbd;

  color: #087fbd;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

  .nav {
    gap: 14px;
  }


  .logo {
    width: 170px;
    height: 65px;
  }


  .logo img {
    width: 170px;
  }


  .nav-links {
    gap: 14px;

    font-size: 0.61rem;

    letter-spacing: 0.055em;
  }


  .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(255, 255, 255, 0.98);

    padding: 0;

    box-shadow:
      0 5px 18px rgba(20, 55, 95, 0.08);
  }


  .nav {
    min-height: 72px;

    padding: 0 18px;

    gap: 12px;
  }


  /* =======================================================
     LOGO MOBILE
  ======================================================== */

  .logo {
    width: 145px;
    height: 52px;

    margin: 0;

    flex: 0 0 145px;

    min-width: 0;
  }


  .logo img {
    width: 145px;

    max-width: none;

    transform: none;

    margin: 0;
  }


  /* =======================================================
     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: #ffffff;

    border-bottom:
      1px solid rgba(20, 55, 95, 0.10);

    box-shadow:
      0 18px 35px rgba(20, 55, 95, 0.12);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    text-transform: uppercase;

    letter-spacing: 0.08em;
  }


  .nav-links.open {
    display: flex;
  }


  .nav-links a {
    width: 100%;

    padding: 14px 5px;

    color: #183a5c;

    border-bottom:
      1px solid rgba(20, 55, 95, 0.07);

    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: #087fbd;

    background:
      rgba(8, 127, 189, 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: 125px;
    height: 46px;

    margin: 0;

    flex: 0 0 125px;
  }


  .logo img {
    width: 125px;

    max-width: none;

    transform: none;

    margin: 0;
  }


  /* 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: 115px;
    height: 42px;

    flex-basis: 115px;
  }


  .logo img {
    width: 115px;

    transform: none;
  }


  .menu-btn {
    width: 40px;
    height: 40px;
  }
}


/* =========================================================
   CARD — SOLUÇÃO SOB MEDIDA
========================================================= */

.solution-card-cta {
  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(41, 13, 90, 0.85),
      rgba(16, 5, 36, 0.95)
    );

  border-color:
    rgba(112, 43, 234, 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(112, 43, 234, 0.28),
      transparent 68%
    );

  filter: blur(20px);

  pointer-events: none;
}


.solution-card-cta .solution-icon {
  background:
    rgba(112, 43, 234, 0.16);

  border-color:
    rgba(112, 43, 234, 0.3);

  box-shadow:
    0 0 30px rgba(110, 23, 232, 0.12);
}


.solution-card-cta .solution-number {
  color: #9a69f0;
}


.solution-card-cta h3 {
  max-width: 280px;

  font-size: 1.35rem;
}


.solution-card-cta:hover {
  border-color:
    rgba(112, 43, 234, 0.5);

  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.35),
    0 0 45px rgba(110, 23, 232, 0.1);
}