@font-face {
  font-family: "Benzin";
  src: url("../assets/fonts/Benzin-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

*,
body,
html {
  font-family: "Benzin", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background-color: #023397;
}

.bg-blue {
  background-color: #023397;
  width: 100%;
  height: 70px;
  position: fixed;
  top: 0;
  z-index: 99;
}

#pt-br,
#en {
  display: none;
  width: 100%;
}

#pt-br.active,
#en.active {
  display: block;
}

hr {
  max-width: 350px;
}

section {
  background-color: #023397;
  color: #fcfcfc;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  color: #fcfcfc;
  z-index: 199;
}

.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  width: 100%;
  max-width: 1450px;
  gap: 10px;
  margin: 0 auto;
}

.div-logo-eds {
  width: 100%;
  max-width: 100px;
  padding: 10px;
  margin-top: -5px;
}

.underline {
  text-decoration: none;
}

.nav-itens {
  background-color: #ffffff;
  display: flex;
  border-radius: 20px;
  width: 100%;
  max-width: 525px;
  z-index: 1000;
}

.nav-itens a {
  background-color: #ffffff;
  color: #023397;
  font-size: 90%;
  margin: 0 auto;
  padding: 0.7rem;
}

.nav-itens a:hover {
  cursor: pointer;
  border-radius: 15px;
}

.hamburger-menu {
  display: none;
  /* Oculto por padrão */
  font-size: 30px;
  cursor: pointer;
  margin-right: 1px;
  margin-top: -5px;
  min-width: 35px;
}

.div-lang-fale {
  display: flex;
  justify-content: center;
  color: #fcfcfc;
  align-items: center;
  max-width: 300px;
  width: 100%;
  gap: 15px;
}

.btn-pt-br.active,
.btn-en.active {
  color: white;
  font-weight: bold;
}

.btn-pt-br,
.btn-en {
  color: #b5b5b5;
  font-weight: lighter;
  text-decoration: none;
}

#afilie {
  background: linear-gradient(to right, #38e67d 15%, #268c4f);
  color: #fcfcfc;
  font-size: 90%;
  border: none;
  border-radius: 5px;
  width: 100%;
  max-width: 145px;
  padding: 0.5rem 0;
}

#fale-conosco {
  background: linear-gradient(to right, #38e67d 15%, #268c4f);
  color: #fcfcfc;
  padding: 0.5rem 0;
  font-size: 1.2rem;
  border: none;
  border-radius: 5px;
  width: 100%;
  max-width: 190px;
  z-index: 10;
}

button:hover,
a:hover {
  cursor: pointer;
}

.logo-whatsapp {
  border-radius: 50px;
}

.introduction-container {
  position: relative;
  height: 550px;
  overflow: hidden;
}

.introduction-content {
  display: flex;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  margin: 100px auto;
}

.introduction-text {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  font-size: 90%;
  margin-left: 1rem;
}

.destaque {
  color: #38e67d;
}

.depay {
  position: absolute;
  object-fit: contain;
  right: 0;
  top: -180px;
}

.logos {
  display: flex;
  height: auto;
  gap: 10px;
}

.logos p {
  font-size: 5rem;
  width: 5px;
}

.logo-eds-p,
.logo-ona-p,
.brasil {
  width: 100%;
  max-width: 75px;
  height: auto;
  object-fit: contain;
  margin-top: 10px;
  margin-left: 5px;
}

.brasil {
  margin-top: 20px;
}

.how-to-container {
  position: relative;
  height: 580px;
  overflow: hidden;
}

.how-to-content {
  display: grid;
  width: 100%;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin: 0 auto;
}

.how-to-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 90%;
  padding: 20px;
}

.box-phone {
  width: 100%;
  display: flex;
  justify-content: end;
}

.phone {
  object-fit: contain;
  height: "1250px";
  width: "1250px";
}

.scroll-container {
  height: 100vh;
  /* ou ajuste conforme sua necessidade */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #023397;
  color: #fcfcfc;
}

.scroll-content {
  width: 100%;
  max-width: 1400px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.scroll-content h2 {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #023397;
  padding: 1rem 0;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.scroll-elements {
  flex: 1;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 140px;
  padding: 4rem 0;
  width: 100%;
}

.scroll-elements::-webkit-scrollbar {
  width: 5px;
  background: transparent;
  border-radius: 10px;
}

.scroll-elements::-webkit-scrollbar-thumb {
  background-color: #2f2f2f;
}

.scroll-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  text-align: center;
  padding: 1rem;
  height: 100px;
  width: 100%;
  max-width: 320px;
  border-radius: 10px;
  opacity: 0;
  transform: translateX(0);
  transition: none;
  z-index: 0;
}

.scroll-box.visible {
  animation: fadeSlide 1s ease-out forwards;
}

/* Esquerda → direita (1, 3, 5) */
.scroll-box:nth-child(1).visible,
.scroll-box:nth-child(3).visible,
.scroll-box:nth-child(5).visible {
  animation-name: fadeSlideLeft;
}

/* Direita → esquerda (2, 4) */
.scroll-box:nth-child(2).visible,
.scroll-box:nth-child(4).visible {
  animation-name: fadeSlideRight;
}

/* Keyframes esquerda */
@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Keyframes direita */
@keyframes fadeSlideRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.scroll-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 4px;
  background: linear-gradient(to left, #f5f5f5, #ccc, #999);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  z-index: -1;
}

/* Posicionamento manual das caixas */
.scroll-box:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.scroll-box:nth-child(2) {
  grid-column: 2;
  grid-row: 2;
}

.scroll-box:nth-child(3) {
  grid-column: 1;
  grid-row: 3;
}

.scroll-box:nth-child(4) {
  grid-column: 2;
  grid-row: 4;
}

.scroll-box:nth-child(5) {
  grid-column: 1;
  grid-row: 5;
}

.final-container {
  position: relative;
  height: 550px;
  background-image: url("../assets/images/bgfinal.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #1a1a1a;
  max-width: none;
}

.final-content {
  width: 100%;
  max-width: 1200px;
  margin: 150px auto;
  background-color: #00031500;
}

.final-text {
  background-color: #00031500;
  margin-left: 1rem;
}

.final-text h2 {
  background-color: #00031500;
}

.final-text button {
  margin-top: 1.2rem;
}

.final-img {
  position: absolute;
  width: 100%;
  max-width: 725px;
  bottom: 0;
  right: -10px;
  z-index: 5;
  background-color: #00031500;
}

.final-logo {
  position: absolute;
  width: 100%;
  max-width: 725px;
  top: -55px;
  right: -75px;
  /*background transparente*/
  background-color: #00031500;
}

footer {
  display: flex;
  background-color: #000315;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: row;
  padding: 0.7rem;
  gap: 150px;
  width: 100%;
}

footer p {
  color: #fcfcfc;
  font-weight: lighter;
  font-size: 60%;
  background-color: #000315;
}

.div-svg-footer {
  width: 100%;
  max-width: 70px;
}

.div-svg-footer svg {
  width: 100%;
  object-fit: contain;
  background-color: #000315;
}

.cls-1 {
  fill: #fcfcfc;
  width: 100%;
}

button a {
  background-color: #00031500;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 800px) {
  section {
    text-align: center;
  }

  button a {
    background-color: #00031500;
    color: #fff;
    text-decoration: none;
  }
  

  .bg-blue {
    height: 50px;
    position: fixed;
  }

  .div-logo-eds {
    margin-left: 25px;
  }
  .navigation {
    padding: 7px;
    gap: 5px;
    align-items: self-start;
    height: 80px;
  }

  .nav-itens {
    display: none;
    /* Esconde os itens no mobile */
    flex-direction: column;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    max-width: 780px;
    border-radius: 0;
    background-color: #023397;
    padding-bottom: 10px;
  }

  .nav-itens a {
    text-align: center;
    color: #fcfcfc;
    background-color: #023397;
  }

  .nav-itens a:hover {
    background-color: #023397;
  }

  .nav-itens.active {
    display: flex;
    /* Mostra quando ativo */
  }

  .hamburger-menu {
    display: block;
    /* Mostra no mobile */
  }

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 0.9rem;
  }

  hr {
    margin: 0 auto;
    max-width: 300px;
  }

  .logos {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
  }

  #afilie,
  .depay {
    display: none;
  }

  .div-lang-fale {
    margin-top: 5px;
    margin-right: -50px;
  }

  .div-lang-fale a {
    padding: 0 0.5rem;
    font-size: 1.1rem;
  }

  .introduction-container {
    background-size: cover;
    background-repeat: no-repeat;
    height: 820px;
    background-position: center 125px;
    position: relative;
    z-index: 0;
  }

  .introduction-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../assets/images/Depay-Corin.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 125px;
    opacity: 0.4;
    z-index: -1;
  }

  .introduction-text button {
    margin: 0 auto;
    background-color: #00031500;

  }

  .how-to-container {
    height: 940px;
  }

  .how-to-text h2 {
    margin-bottom: 25px;
  }

  .introduction-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    padding: 20px;
    background-color: #00031500;
  }

  a,
  button {
    font-size: 0.9rem;
  }

  .scroll-content {
    padding: 10px;
  }

  .scroll-content h2 {
    margin-bottom: 10px;
  }
  .scroll-elements {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
  }

  .scroll-box {
    padding: 0;
    font-size: 90%;
    min-width: 150px;
    height: 280px;
  }

  .rewards-content {
    margin: 10px auto;
    padding: 20px;
  }

  .final-container {
    height: 450px;
    overflow-y: hidden;
  }

  .final-content {
    padding: 20px;
    margin: 10px auto;
  }

  .final-text {
    font-size: 92%;
    margin-left: 0;
  }

  .final-img {
    bottom: -1px;
  }

  .final-logo {
    top: 190px;
    right: -25px;
  }

  footer {
    flex-direction: row;
    padding: 1.1rem 0.2rem;
    gap: 15px;
  }

  footer p {
    color: #fcfcfc;
    font-weight: lighter;
    font-size: 25%;
    margin-left: 5px;
    background-color: #000000;
  }

  .div-svg-footer {
    width: 100%;
    max-width: 60px;
    margin-left: 5px;
    background-color: #000000;
  }

  .div-svg-footer svg {
    width: 100%;
    object-fit: contain;
    background-color: #000000;
  }

  .text-footer {
    background-color: #000000;
  }
  .phone {
    max-width: 510px;
    margin-top: -30px;
  }
}
