/* ---------- Reset CSS ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------- Estilos Gerais ---------- */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #f4f4f4;
  color: #333;
}

a {
  color: #0056b3;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #ffd700; 
}

.container {
  max-width: 1100px;
  margin: auto;
  overflow: hidden;
  padding: 0 20px;
}

img {
  max-width: 100%;
}

/* ---------- Estilos do Cabeçalho ---------- */
header {
  background: #0056b3;
  color: #fff;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header a {
  color: #fff; 
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 60px; 
}

header ul {
  display: flex;
  list-style: none;
}

header ul li {
  margin-left: 20px;
}

/* Menu Hamburger - Ajustado para o canto superior esquerdo */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
  /* Posicionamento do menu hambúrguer */
  position: absolute;
  top: 15px; 
  left: 15px; 
}

/* Mostrar o menu hamburger em telas menores */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  header .container {
    justify-content: flex-start; /* Alinhamento à esquerda */
  }

  header ul {
    display: none; 
    flex-direction: column;
    width: 100%;
    background-color: #0056b3;
    position: absolute;
    top: 70px;
    left: 0;
  }

  header ul li {
    margin: 0;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #333;
    text-align: left;
  }

  #menu-toggle:checked + .menu-icon + ul {
    display: block;
  }
}

/* ---------- Seção Herói (Hero) ---------- */
#hero {
  background: url('https://images.pexels.com/photos/3861969/pexels-photo-3861969.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center/cover;
  min-height: 400px;
  position: relative;
  color: #fff;
}

#hero .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}

#hero .hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* ---------- Seção Quem Somos ---------- */
#quem-somos {
  padding: 4rem 0 2rem 0;
}

#quem-somos .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

#quem-somos .missao,
#quem-somos .logo-container {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
}

#quem-somos img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
}

/* ---------- Seção Cursos ---------- */
#cursos {
  padding: 3rem 0;
  background: #f4f4f4;
}

#cursos h2 {
  text-align: center;
  margin-bottom: 2rem;
}

#cursos .curso {
  background: #fff;
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#cursos .curso .curso-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #0056b3;
  color: #ffd700;
  cursor: pointer;
}

#cursos .curso .curso-header h3 {
  color: #ffd700;
}

/* ---- Conteúdo do Curso (Expandível) ---- */
#cursos .curso .conteudo {
  display: none;
  padding: 1rem;
  max-height: 0; 
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

#cursos .curso ul {
  margin: 0;
  padding: 0;
}

#cursos .curso ul li {
  list-style: none;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

/* Sublistas aninhadas dentro dos cursos - Nível 2 */
#cursos .curso ul ul {
  list-style: disc;
  padding-left: 2rem;
  margin-bottom: 0.5rem;
}

/* Destaque para os tópicos dos cursos - Nível 1 (h3) */
#cursos .curso .conteudo h3 {
  color: #0056b3;
  font-weight: bold;
  border-bottom: 2px solid #ffd700;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* Destaque para os tópicos dos cursos - Nível 2 (h4) */
#cursos .curso .conteudo h4 {
  color: #333;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* ---------- Seção Benefícios - Corrigindo o alinhamento ---------- */
#beneficios {
  padding: 2rem 0;
}

#beneficios .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

#beneficios .beneficio {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
}

/* Centralizando o título Benefícios */
#beneficios h2 {
  text-align: center;
  grid-column: 1 / -1; 
  margin-bottom: 2rem;
}

#beneficios .beneficio i.fas {
  display: block;
  margin: 0 auto 1rem;
  font-size: 2.5rem;
  color: #0056b3;
}

#beneficios .beneficio h3 {
  color: #0056b3;
  margin-bottom: 0.5rem;
}

#beneficios ul {
  list-style: none;
  padding: 0;
}

#beneficios li {
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

/* ---------- Seção Agência de Estágios ---------- */
#agencia {
  background: #f8f8f8;
  padding: 3rem 0;
}

#agencia .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

#agencia .card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 45%;
  min-width: 300px;
  text-align: center;
}

#agencia h2 {
  text-align: center;
  margin-bottom: 2rem;
}

#agencia h3 {
  color: #0056b3;
  margin-bottom: 1rem;
}

#agencia .card i.fas {
  font-size: 3rem;
  color: #0056b3;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  #agencia .card {
    width: 100%;
  }
}

/* ---------- Seção Franquia ---------- */
#franquia {
  background: #fff; 
  padding: 3rem 0;
  text-align: center;
}

#franquia .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

#franquia .vantagens {
  width: 100%;
  max-width: 600px;
  background: rgba(0, 86, 179, 0.8); 
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: #fff;
}

#franquia h2 {
  color: #ffd700;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#franquia h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

#franquia ul {
  text-align: left;
  list-style: disc;
  padding-left: 2rem;
}

#franquia ul li {
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

/* Botões Saiba Mais e WhatsApp */
#franquia .cta-button,
.whatsapp-button {
  display: inline-block;
  padding: 12px 25px;
  font-size: 1.1rem;
  background-color: #0056b3;
  color: #fff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#franquia .cta-button:hover,
.whatsapp-button:hover {
  background-color: #ffd700;
  color: #0056b3;
}

/* ---------- Estilos do Rodapé ---------- */
footer {
  background: #0056b3;
  color: #fff;
  padding: 1rem;
  text-align: center;
}

/* ---------- Botão Flutuante do WhatsApp ---------- */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  background-color: #25d366; 
  color: white;             
  padding: 15px;            
  border-radius: 50%;      
}

.whatsapp-button i {
  font-size: 24px;
}

.whatsapp-button:hover {
  opacity: 0.8;
}

/* ---------- Media Queries para Responsividade ---------- */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    text-align: center;
  }

  header ul {
    margin-top: 1rem;
  }

  #quem-somos .container {
    grid-template-columns: 1fr;
  }

  #hero h1 {
    font-size: 2.5rem;
  }

  #beneficios .container {
    grid-template-columns: 1fr;
  }

  #franquia .container {
    flex-direction: column;
    align-items: center;
  }

  #franquia .vantagens {
    width: 90%;
  }
}

#contato .social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 1rem; 
}

#contato .social-links img {
  height: 30px; 
}