* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: "Montserrat";
  background-color: #fff;
  color: #333;
  line-height: 1.6;
  overflow: hidden;
}

/* CONTAINER */

.maintenance-container {
  position: relative;
  width: 100%;
  height: 100%;

  background-image: url("/assets/images/background-image.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* CABEÇALHO */

.header-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  font-size: 14px;
}

.info-col-main {
  display: flex;
  gap: 1rem;
}

.info-col {
  border-top: solid 1px black;
  padding-top: 0.5rem;
  min-width: 250px;
}

.info-col h3 {
  font-size: 1rem;
  font-weight: bold;
  color: #000;
}

.info-col a {
  color: inherit;
  text-decoration: none;
}

.info-col a:hover {
  text-decoration: underline;
}

/* TEXTO CENTRAL */

.main-message {
  position: absolute;
  top: 20%;
  left: 40px;
  z-index: 10;
  max-width: 400px;
}

.main-message h1 {
  font-size: 60px;
  font-weight: bold;
  color: #000;
  line-height: 1.1;
}

/* RODAPÉ */

.footer-signature {
  align-self: flex-start;
  font-size: 16px;
  font-weight: bold;
  color: #000;
  margin-bottom: 20px;
  z-index: 10;
}

:root {
  --whatsapp-color: black;
  --whatsapp-dark: gray;
}

.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--whatsapp-color), #020202);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(27, 27, 27, 0.3);
  z-index: 9999;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(27, 27, 27, 0.5);
  background: linear-gradient(45deg, #020202, #0d0e0d);
}

.pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--whatsapp-color);
  border-radius: 50%;
  z-index: -1;
  animation: whatsapp-pulse 2s infinite;
  opacity: 0.7;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* RESPONSIVIDADE MOBILE */

@media (max-width: 950px) {
  .header-info,
  .footer-signature {
    display: flex;
    flex-direction: column;
  }

  .info-col-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .info-col {
    min-width: 200px;
  }

  .main-message {
    top: 30%;
  }
}

@media (max-width: 768px) {
  .maintenance-container {
    background-image: url("/assets/images/background-image.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
  }

  .header-info {
    gap: 1rem;
  }

  .info-col-main {
    display: flex;
    flex-direction: column;
    /* text-align: center; */
  }

  .main-message {
    top: 83%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 80%;
    width: 100%;
  }

  .main-message h1 {
    font-size: 1.5rem;
    max-width: 300px;
    margin: 0 auto;
  }

  .footer-signature {
    margin: 0;
  }

  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
}

:root {
  --bg-color: #fff;
  --accent-color: #050638;
  --text-color: #ffffff;
}

.reveal-container {
  position: relative;
  width: fit-content;
  overflow: hidden;
}

.reveal-text {
  font-family: "Inter", sans-serif;
  font-size: 3rem;
  color: var(--text-color);
  opacity: 0; /* Começa invisível */
  animation: fadeInText 0.1s forwards 0.6s; /* Aparece exatamente quando a faixa cobre tudo */
}

/* A faixa colorida */
.reveal-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--accent-color);
  transform: translateX(-101%);
  animation: rev-block 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

/* Animação da Faixa */
@keyframes rev-block {
  0% {
    transform: translateX(-101%);
  }
  50% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(101%);
  }
}

/* Animação do Texto */
@keyframes fadeInText {
  to {
    opacity: 1;
  }
}
