* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  position: relative;
  font-family: "Marcellus", serif;
  color: #fff;
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  background-image: url("/img/fundo.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  overflow-x: hidden;
}

.mascara {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
      background: linear-gradient(to bottom, #0000008c, #000000c9, #150f03ed);
}

.container {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1200px;
  text-align: center;
  padding: 40px 20px;
}

.flex-center {
  display: flex;
  flex-direction: column;
}

/* LOGO */
.logo-grupo {
  width: 90%;
  max-width: 350px;
  margin: 0 auto 35px;
  display: block;
}

/* Estrategia - Seguranca - Resultados */
.lista {
  margin-bottom: 60px;
}

.lista ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  justify-content: center;
}

.lista ul li {
  position: relative;
  font-size: 20px;
  letter-spacing: 2px;
  padding-left: 10px;
  list-style: none;
  text-transform: uppercase;
}

.lista ul li::before {
  content: "•";
  position: absolute;
  left: -17px;
  top: -7px;
  font-size: 2.5rem;
  line-height: 1;
  background: linear-gradient(
    160deg,
    #8f6c21 0%,
    #b1943b 25%,
    #fae97d 41%,
    #b1943b 60%,
    #fae97d 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* LISTA EMPRESAS / LOGOS */
.empresas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.empresa {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 20px 40px;
  border-radius: 8px;
  text-decoration: none;

  backdrop-filter: blur(8px);
  background: hsl(0deg 0% 100% / 4%) !important;
  border: 1px solid rgba(215, 178, 78, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);

  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.empresa:hover {
  transform: translateY(-6px);
  border-color: rgba(215, 178, 78, 0.55);
}

.empresa img {
  max-width: 140px;
  transition: 0.3s;
}

.empresa:hover img {
  transform: scale(1.05);
}

/* MOBILE */
@media (max-width: 768px) {
  body {
    overflow: auto;
  }

  .logo-grupo {
    max-width: 250px;
  }

  .empresas {
    gap: 25px;
  }

  .empresa {
    width: 100%;
    max-width: 280px;
    margin-bottom: 30px;
  }

  .empresa:last-child {
    margin-bottom: 0;
  }

  .empresa::after {
    display: none;
  }
}

/* TABLET */
@media (max-width: 1024px) {
  .empresa::after {
    display: none;
  }
}

/* ====== CURSOR ====== */
@media screen and (max-width: 1199px) {
  #cursor,
  #cursor-border {
    display: none;
  }
}

#cursor {
  position: fixed;
  top: -5px;
  left: -5px;
  width: 7px;
  height: 7px;
  background-color: #d7b24e;

  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
}

#cursor-border {
  --size: 32px;

  position: fixed;
  top: calc(var(--size) / -2);
  left: calc(var(--size) / -2);
  width: var(--size);
  height: var(--size);

  border-radius: 50%;

  box-shadow: 0 0 0 1px rgba(218, 175, 60, 0.8);

  pointer-events: none;
  z-index: 998;

  -webkit-transition:
    top 0.15s ease-out,
    left 0.15s ease-out,
    width 0.15s ease-out,
    height 0.15s ease-out,
    background-color 0.15s ease-out;

  transition:
    top 0.15s ease-out,
    left 0.15s ease-out,
    width 0.15s ease-out,
    height 0.15s ease-out,
    background-color 0.15s ease-out;
}

#cursor-border.hovered {
  --size: 48px;
  box-shadow: 0 0 0 1px rgba(218, 175, 60, 0.6);
}

#cursor-border.big-hovered {
  --size: 150px;
  background-color: #fff;
  mix-blend-mode: difference;
}

#cursor-border.hovered ~ #cursor {
  opacity: 0;
}
