* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
  height: 100vh;
  font-size: 14px;
}

body {
  background-color: #252525;
  background-image: url('fundo.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  margin: 0;
  color: #fff;
  animation: fadeInBody 1s ease-in;
}

.container {
  height: 100%;
  max-width: 550px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

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

.degrade,
.degrade02 {  
  background: linear-gradient(to right, #4a5722, #aacd39);
  margin-bottom: 0,1px;
}

/* HEADER */

header {
  text-align: center;
  margin-bottom: 20px;
}

header img {
  width: 100%;
  max-width: 150px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 0 20px #aacd39;
  border: 2px solid #aacd39;

  animation: pulsar 2s ease-in-out infinite;
}

@keyframes pulsar {
  0%, 100% { box-shadow: 0 0 20px #aacd39; }
  50% { box-shadow: 0 0 40px #aacd39; }
}

p {
  font-size: 0.9em;
}

header h1 {
  font-size: 2em;
  margin-bottom: 6px;
}

.subt1 {
  text-align: center;
  margin-bottom: 12px;
  font-size: 1.2em;
  font-weight: bold;
}

.subt02 {
  text-align: center;
  margin-bottom: 0,0px;
  font-size: 1.2em;
  font-weight: bold;
}

.descricao {text-align: center;}

/* BOTÕES */

section.botoes-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

a.link {
  animation: entradaLink 0.8s ease-out forwards;
  opacity: 0;
}

section.botoes-links a.link:nth-child(1) {
  animation-delay: 0.2s;
}
section.botoes-links a.link:nth-child(2) {
  animation-delay: 0.4s;
}
section.botoes-links a.link:nth-child(3) {
  animation-delay: 0.6s;
}
/* adicione mais delays conforme necessário */

a.link button {
  position: relative; /* necessário para o efeito deslizante */
  overflow: hidden;   /* esconde a faixa fora do botão */
  width: 100%;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  border-radius: 30px;
  font-size: 1.2em;
  cursor: pointer;
  color: #fff;
  transition: 0.2s;
  background-color: #333;
}

/* Efeito deslizamento branco */

a.link button {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  border-radius: 30px;
  font-size: 1.2em;
  cursor: pointer;
  color: #fff;
  background-color: #6a0dad; /* violeta */
  transition: 0.3s ease;
}

/* Faixa brilhante deslizante */
a.link button {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  border-radius: 30px;
  font-size: 1.2em;
  cursor: pointer;
  color: #fff;
  background-color: #6a0dad; /* violeta */
  transition: 0.3s ease;
}

/* Faixa brilhante deslizante */
a.link button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%; /* faixa menor para efeito de luz */
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.5) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
  animation: shine 5s linear infinite; /* duração ajustada para 5s */
  pointer-events: none;
}

/* Animação da faixa brilhante */
@keyframes shine {
  0% { left: -50%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* Hover chamativo */
a.link button:hover {
  background-color: #7b1fa2; /* violeta mais claro */
  box-shadow: 0 0 20px rgba(138,43,226,0.7), 0 0 40px rgba(138,43,226,0.4);
  transform: scale(1.1);
}

/* Ícone dentro do botão */
a.link i {
  font-size: 1.5em;
}

/* Animação da faixa brilhante */
@keyframes shine {
  0% { left: -50%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* Hover chamativo */
a.link button:hover {
  background-color: #7b1fa2; /* violeta mais claro */
  box-shadow: 0 0 20px rgba(138,43,226,0.7), 0 0 40px rgba(138,43,226,0.4);
  transform: scale(1.1);
}

/* Ícone dentro do botão */
a.link i {
  font-size: 1.5em;
}

a.link i {
  font-size: 1.5em;
}

/* Hover continua igual */
a.link button:hover {
  box-shadow: 10px 11px 21px 5px rgba(0, 0, 0, 0.75);
  transform: scale(1.05);
}

a.link i {
  font-size: 1.5em;
}

/* FOOTER */

footer {
  text-align: center;
  margin: 20px;
}

footer a.btn-footer {
  width: 60px;
  height: 60px;
  display: inline-block;
  font-size: 2em;
  line-height: 60px;
  border-radius: 50%;
  margin: 0 10px;
  transition: 0.2s;
}

footer a.btn-footer:hover {
  transform: scale(1.05);
}

/* RESPONSIVIDADE */

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }

  header h1 {
    font-size: 1.6em;
  }

  .subt1,
  .subt02 {
    font-size: 1em;
  }

  a.link button {
    font-size: 1em;
    padding: 10px;
  }

  footer {
    margin: 20px;
  }
}

@media (min-width: 1024px) {
  html {
    font-size: 16px;
  }

  .container {
    max-width: 700px;
    padding: 40px;
  }

  header h1 {
    font-size: 2.5em;
  }
}

/* ANIMAÇÕES */

@keyframes entradaLink {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInBody {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
