* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  scroll-behavior: smooth;
}
html,
body {
  height: 100%;
  overflow: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #691b9a09;
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
header h1 {
  font-size: 2em;
  color: #fff;
}
nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
  position: relative;
}
nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #ffeb3b;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}
nav a:hover::after {
  width: 100%;
}
nav a:hover {
  color: #ffeb3b;
}

main {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.section {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  scroll-snap-align: start;
  padding: 0 20px;
}

/* Cores diferentes para cada seção */
#intro {
  background: linear-gradient(135deg, #4e51f9, #665cff);
  color: #fff;
}
#secao1 {
  background: linear-gradient(135deg, #4a67f9, #4f5bfe);
  color: #fff;
}
#secao2 {
  background: linear-gradient(135deg, #751fff, #6219ff);
  color: #fff;
}
#secao3 {
  background: linear-gradient(135deg, #6d24ff, #9021f8);
  color: #fff;
}
#inscricao {
  background: linear-gradient(135deg, #ff531f, #f4bb8f);
  color: #fff;
}

h2 {
  font-size: 3em;
  margin-bottom: 30px;
  line-height: 1.2;
}
h3 {
  font-size: 2.5em;
  margin-bottom: 20px;
}
p {
  line-height: 1.8;
  font-size: 1.6em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}
span.green {
  color: #00ff00;
  font-weight: bold;
}

img {
  width: 100%;
  max-width: 450px;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.3);
  margin-bottom: 30px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 450px;
  margin: 0 auto;
}
label {
  font-weight: bold;
  color: #fff;
  text-align: left;
  font-size: 1.3em;
}
input[type="email"],
input[type="password"] {
  padding: 15px 20px;
  border-radius: 10px;
  border: none;
  font-size: 1.2em;
}
input[type="submit"] {
  background: #ffeb3b;
  color: #6a1b9a;
  font-weight: bold;
  padding: 18px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.3em;
  transition: 0.3s;
}
input[type="submit"]:hover {
  background: #fdd835;
}

#cronometro {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 40px;
}

footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 1em;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
}
#tempo-restante {
  font-weight: bold;
  color: #553bff;
}
@media (max-width: 768px) {
  img {
    max-width: 90%;
  }
  h2 {
    font-size: 2.2em;
  }
  h3 {
    font-size: 2em;
  }
  p {
    font-size: 1.3em;
  }
}

/* Animações ao aparecer */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease-out;
}
.animate.show {
  opacity: 1;
  transform: translateY(0);
}
.animate-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 1s ease-out;
}
.animate-slide-left.show {
  opacity: 1;
  transform: translateX(0);
}
.animate-slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s ease-out;
}
.animate-slide-right.show {
  opacity: 1;
  transform: translateX(0);
}
