* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #004388;
  color: #121212;
  overflow-x: hidden;
}

.container {
  max-width: 1450px;
  min-width: 320px;
  margin: 0 auto;
}

/* ANIMAÇÕES */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease forwards;
}

.fade-in-delayed {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HEADER */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 10px 30px;
}

.logo {
  height: 35px;
}

.whatsapp-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0050d2;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.whatsapp-link:hover {
  transform: scale(1.05);
}

.whatsapp-icon {
  height: 25px;
}

/* BANNER */
.banner {
  background-image: linear-gradient(to left, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0.6) 60%), url('assets/aluno_aprovado.webp');
  background-size: cover;
  background-position: bottom center;
  color: #fff;
  padding: 80px 60px;
  display: flex;
  align-items: top center;
  transition: all 0.5s ease;
}

.banner-text {
  max-width: 600px;
}

.titulo-amarelo {
  color: #FFCE00;
  font-size: 2.5em;
  font-weight: bold;
}

.titulo-branco {
  color: #FFFFFF;
  font-size: 2.3em;
  font-weight: bold;
}

.subtitulo-azul {
  color: #31a1cc;
  margin-top: 10px;
}

.subtitulo-branco {
  color: #FFFFFF;
  margin-top: 8px;
}

.btn-inscricao {
  display: inline-block;
  background: #FFCE00;
  color: #000;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 6px;
  margin-top: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-inscricao:hover {
  background: #ffe44d;
  transform: translateY(-2px);
}

/* MAIN */
main {
  background: #FFCE00;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  transition: background 0.5s ease;
}

.formulario {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}

.formulario:hover {
  transform: translateY(-5px);
}

.formulario h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #0050d2;
}

input[type="text"], input[type="number"], input[type="tel"] {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  transition: border 0.3s;
}

input:focus {
  border-color: #31a1cc;
  outline: none;
}

.radio-group {
  display: flex;
  justify-content: space-around;
}

button {
  background: #004388;
  color: #ffffff;
  font-weight: bold;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background: #0050d2;
  transform: translateY(-2px);
}

/* FOOTER */
footer {
  background-image: url('assets/obj12354440.webp');
  background-size: cover;
  background-position: center;
  position: relative;
}

.footer-overlay {
  background-color: rgba(18, 20, 18, 0.93);
  padding: 40px 20px;
}

.footer-content {
  color: #fff;
  text-align: center;
  line-height: 2;
  transition: opacity 0.5s ease;
}

.footer-content a {
  color: #FFCE00;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-content a:hover {
  color: #ffe44d;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .banner {
    background-image: linear-gradient(to left, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.8) 60%), url('assets/aluno_aprovado.webp');
    background-position: right;
    flex-direction: column;
    padding: 50px 20px;
  }

  .titulo-amarelo, .titulo-branco {
    font-size: 1.8em;
  }

  .formulario {
    width: 100%;
  }
}
