@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Montserrat:wght@400;500;600&display=swap');

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

/* ===== HERO BANNER ===== */
.hero-banner {
  position: relative;
  background: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1400&q=80") no-repeat center center/cover;
  color: white;
  padding: 80px 120px;
  text-align: left;
  margin-top: 120px;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
}
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(2,61,124,0.9), rgba(0,76,153,0.8));
}
.hero-banner h1 {
  position: relative;
  font-size: 42px;
  font-weight: 700;
  z-index: 1;
  letter-spacing: 1px;
}

/* ===== PROJECTOS CONTAINER ===== */
.projects-container {
  max-width: 1200px;
  margin: 60px auto;
  display: flex;
  flex-direction: column;
  gap: 70px;
  padding: 0 20px;
}
.project-card {
  display: flex;
  align-items: center;
  gap: 30px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}
.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.project-card:nth-child(even) {
  flex-direction: row-reverse;
}
.project-image {
  width: 45%;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}
.project-image:hover {
  transform: scale(1.03);
}
.project-content {
  width: 55%;
}
.project-content h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #023d7c;
}
.project-content p {
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.6;
  color: #333;
  text-align: justify;
  max-height: 120px; /* texto resumido */
  opacity: 0.95;
  transition: max-height 0.6s ease, opacity 0.6s ease;
}
.project-content p.expanded {
  max-height: 1000px; /* valor alto para expandir */
  opacity: 1;
}
/* ===== BOTÃO INSCREVER-SE ===== */
.btn-inscrever {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 10px;
  background: #f7b724;
  color: #023d7c;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-inscrever:hover {
  background: #023d7c;
  color: #fff;
  transform: translateY(-2px);
}

.inscricao-container {
  display: none; /* só aparece após clicar em Inscrever-se */
  margin-top: 20px;
}

.opcoes-inscricao {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.btn-opcao {
  flex: 1;
  padding: 10px 20px;
  background: #f7b724;
  color: #023d7c;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
#form-estagio,
#form-empresa {
  display: none; /* cada formulário só aparece quando clicado */
}
/* ===== FORMULÁRIOS DE INSCRIÇÃO (Estágio + Empresa) ===== */
.form-inscricao {
  display: none; /* oculto por padrão */
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #f9f9f9;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-inscricao h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #023d7c;
}

.form-inscricao input,
.form-inscricao select,
.form-inscricao textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  background: #fff;
}

.form-inscricao input::placeholder,
.form-inscricao textarea::placeholder,
.form-inscricao select {
  color: #777;
  font-size: 14px;
}

.form-inscricao textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-enviar {
  padding: 10px;
  background: #023d7c;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-enviar:hover {
  background: #f7b724;
  color: #023d7c;
}

.project-link {
  display: inline-block;
  padding: 10px 20px;
  background: #023d7c;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.project-link:hover {
  background: #f7b724;
  color: #023d7c;
  transform: translateY(-2px);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 992px) {
  .hero-banner {
    padding: 60px 40px;
  }
}
@media (max-width: 768px) {
  .hero-banner {
    margin-top: 60px;
    text-align: center;
    padding: 50px 20px;
  }
  .hero-banner h1 {
    font-size: 32px;
  }
  .project-card {
    flex-direction: column !important;
    text-align: center;
  }
  .project-image, 
  .project-content {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .hero-banner h1 {
    font-size: 26px;
  }
  .project-content h2 {
    font-size: 20px;
  }
  .project-link {
    padding: 8px 16px;
    font-size: 13px;
  }
}
