* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

/* ===== CABEÇALHO ===== */
header {
  background-color: #0056b3;
  color: white;
  width: 100%;
  padding: 20px 60px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  position: fixed;
  z-index: 10;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

/* ===== LOGOS ===== */
.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-left .logo {
  height: 40px;
  max-width: 100%;
}

.Logo1 {
  border-right: 1px solid white;
  padding-right: 10px;
}

/* ===== MENU CENTRAL ===== */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  transition: all 0.3s ease;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #dfeaff;
}

/* ===== BOTÃO CADASTRAR ===== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-cadastrar {
  background-color: white;
  color: #0056b3;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-cadastrar:hover {
  background-color: #edf3ff;
  transform: scale(1.05);
}

.nav-actions i {
  font-size: 20px;
  color: white;
}

/* ===== BOTÃO MENU (mobile) ===== */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
}


/* ===== SESSÕES ===== */

/* Todas as Dobras */
.dobra {
  padding: 30px 15px;
  display: flex;
  flex-direction: column;
}

/* Primeira Dobra */
.dobra-inicio {
  margin: 0;
  padding: 0;
  padding-top: 80px;
}

.dobra-inicio .banner-img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.dobra-sobre {
  min-height: 50vh;
  background-color: #f5f5f5;
  color: #333;
  padding-top: 50px;
  justify-content: center;
  align-items: center;
  text-align: center;
}


/* DOBRA 2 - CURSOS EM DESTAQUE */
.dobra-cursos {
  background-color: #fff;
  padding: 50px 50px;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden !important;

}

.titulo-cursos {
  color: #004A8F;
  font-size: 40px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 55px;
}

.container-cursos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  position: relative;
}

.card-curso {
  background-color: #3C6E9E;
  border-radius: 5px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* estados de animação */
.slide-out-left {
  animation: sairEsquerda 0.5s forwards ease;
}

.slide-in-right {
  animation: entrarDireita 0.5s forwards ease;
}

.slide-out-right {
  animation: sairDireita 0.5s forwards ease;
}

.slide-in-left {
  animation: entrarEsquerda 0.5s forwards ease;
}

/* animações */
@keyframes sairEsquerda {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-120%);
  }
}

@keyframes entrarDireita {
  from {
    transform: translateX(120%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes sairDireita {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(120%);
  }
}

@keyframes entrarEsquerda {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(0);
  }
}

.img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
}

.img-wrapper img {
  width: 100%;
  display: block;
}

.img-wrapper::after {
  content: "";
  position: absolute;
  top: -175%;
  left: -150%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(45deg);
  transition: all 1s ease;
  pointer-events: none;
  border-radius: inherit;
}

.img-wrapper:hover::after {
  top: -70%;
  left: -30%;
}

.btn-curso {
  color: #fff;
  font-size: 20px;
  font-weight: 200;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  flex: 1;
  padding: 18px 20px;
  width: 100%;
  transition: transform 0.2s ease;
}

.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}

.seta {
  background-color: #3C6E9E;
  color: white;
  border: none;
  font-size: 24px;
  border-radius: 4px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: 0.2s ease;
  flex-shrink: 0;
  margin: -30px;
  z-index: 1;
}



/* DOBRA 3 - SOBRE */
.dobra-sobre {
  background-color: #ffffff;
  display: flex;
  justify-content: center;
}

.container-sobre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0px;
  max-width: 1300px;
  width: 100%;
  flex-wrap: wrap;
}

.imagem-sobre img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
}

.texto-sobre {
  flex: 1;
  text-align: left;
  padding-right: 40px;
}

.texto-sobre h2 {
  color: #004A8F;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.5;
}

.texto-sobre p {
  color: #333;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
}


/* DOBRA 4 - FAQ */
.dobra-faq {
  background-color: #004A8F;
  color: #fff;
  padding: 40px 30px;
  text-align: center;
}

.dobra-faq h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 50px;
  text-transform: uppercase;
}

.faq-container {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 500px;
  max-width: 100%;
}

.faq-item {
  text-align: left;
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
}

.faq-question {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  width: 100%;
  cursor: pointer;
  padding: 12px 0;
  position: relative;
  transition: 0.3s;
}

.faq-question::after {
  content: "˅";
  position: absolute;
  right: 0;
  font-size: 18px;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px;
  margin-top: 5px;
  border-radius: 5px;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.faq-item.active .faq-answer {
  display: block;
}


/* DOBRA 5 - EDITAL VIGENTE */
.dobra-edital {
  background-color: #f5f6f8;
  text-align: center;
  padding-top: 60px;
}

.titulo-edital {
  color: #004A8F;
  font-size: 30px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.container-editais {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

/* Card */
.card-edital {
  background: #ffffff;
  width: 380px;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Título do card */
.card-edital h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e63c9;
  margin-bottom: 20px;
}

/* Botão */
.btn-edital {
  display: block;
  background-color: #7AACF3;
  color: white;
  text-decoration: none;
  padding: 20px 60px;
  font-size: 15px;
  text-decoration: none;
  border-radius: 6px;
  text-transform: uppercase;
  transition: 0.3s ease;
}

/* Hover */
.btn-edital:hover {
  background-color: #5d90e6;
}

/* DOBRA 6 - EDITAIS ANTIGOS */
.sessao-processos {
  background-color: #f5f6f8;
  padding: 20px 20px 60px 20px;
  display: flex;
  justify-content: center;
}

.processos-box {
  background: #ffffff;
  padding: 40px 40px;
  border-radius: 8px;
  max-width: 750px;
  width: 100%;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.titulo-processos {
  color: #3471C9;
  font-size: 26px;
  margin-bottom: 25px;
  font-weight: 600;
}

.texto-processos {
  color: #727272;
  font-size: 17px;
  font-weight: 600;
  /* letra mais grossa */
}

.botao-editais {
  display: inline-block;
  margin: 25px 0;
  background-color: #7AACF3;
  /* azul claro bonito */
  color: white;
  padding: 20px 60px;
  font-size: 15px;
  text-decoration: none;
  border-radius: 6px;
  /* borda arredondada */
  text-transform: uppercase;
  transition: 0.3s ease;
}

.botao-editais:hover {
  background-color: #97bef5;
}


/* atenção e legislação */
.sessao-informacoes {
  padding: 80px 20px;
  background-color: #f5f6f8;
}

.informacoes-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.info-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-card h3 {
  color: #2f6fed;
  font-size: 18px;
  margin-bottom: 16px;
}

.info-card p {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
}

/* ATENÇÃO */
.icone-atencao {
  width: 52px;
  margin-bottom: 15px;
  display: block;
  margin: 0 auto 15px auto;
}

/* LEGISLAÇÃO */
.titulo-legislacao {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.marcador {
  width: 10px;
  height: 10px;
  background-color: #f2c230;
}

/* FIC */
.fic-item {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  text-align: left;
}

.fic-icone {
  color: #2f6fed;
  font-size: 14px;
  margin-top: 4px;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .informacoes-container {
    grid-template-columns: 1fr;
  }
}



/* Dobra 6 - img */
.dobra-img {
  margin: 0;
  padding: 0;
}

.dobra-img img {
  width: 100%;
  object-fit: cover;
  display: block;
}

/* Dobra 7 - lista cursos */
.lista-cursos {
  padding: 80px 20px;
  background-color: #ffffff;
}

.lista-cursos h2 {
  text-align: center;
  font-size: 28px;
  color: #2f6fed;
  margin-bottom: 50px;
}

.cursos-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.cursos-coluna {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.curso-item {
  border: 1px solid #d9dde7;
  border-radius: 6px;
  overflow: hidden;
}

.curso-botao {
  width: 100%;
  background: #ffffff;
  border: none;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 16px;
  color: #333333;
  text-align: left;
}

.curso-botao:hover {
  background-color: #f7f9ff;
}

.curso-seta {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.curso-item.ativo .curso-seta {
  transform: rotate(180deg);
}

.curso-conteudo {
  max-height: 0;
  overflow: hidden;
  background-color: #f9fafc;
  transition: max-height 0.3s ease;
}

.curso-conteudo p {
  padding: 16px 20px;
  margin: 0;
  font-size: 14px;
  color: #555555;
  text-align: justify;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .cursos-container {
    grid-template-columns: 1fr;
  }
}


/* ===== RODAPÉ ===== */
.footer2 {
    background-color: #0056b3;
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer2 img {
    max-width: 40%;
    height: auto;
}


.rodape {
  background-color: #0056b3;
  color: white;
  padding: 30px 60px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.rodape-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  flex-wrap: wrap;
  gap: 20px;
}

.rodape-logos {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rodape-logo {
  height: 40px;
  filter: brightness(0) invert(1);
  max-width: 100%;
}

.rodape-logo.logo1 {
  border-right: 1px solid white;
  padding-right: 10px;
}

.rodape-redes {
  display: flex;
  gap: 20px;
  font-size: 22px;
}

.rodape-redes a {
  color: white;
  transition: 0.3s;
}

.rodape-redes a:hover {
  transform: scale(1.1);
  color: #dfeaff;
}

.rodape-copy {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.9;
}


/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1150px) {
  .faq-container {
    gap: 20px;
  }

  .footer2 img {
    max-width: 60%;
    height: auto;
}
}

@media (max-width: 900px) {

  /* ===== CABEÇALHO =====  */
  header {
    padding: 15px 20px;
  }

  /* Logos menores e sempre lado a lado */
  .header-left {
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
  }

  .header-left .logo {
    height: 30px;
  }

  .Logo1 {
    border-right: 1px solid white;
    padding-right: 8px;
  }

  /* Linha inferior com cadastro à esquerda e menu à direita */
  .nav-actions,
  .menu-toggle {
    display: flex;
    align-items: center;
  }

  .nav-actions {
    order: 1;
    padding-right: 10px;
  }

  .menu-toggle {
    order: 2;
  }

  .navbar {
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #004a9f;
    width: 100vw;
    padding: 10px 0;
    margin-top: 14px;
    position: absolute;
    top: 100%;
    left: -20px;
    right: 0;
    z-index: 5;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.4s ease;
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }

  .nav-actions,
  .menu-toggle {
    justify-content: space-between;
    padding-left: 15px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .btn-cadastrar {
    font-size: 14px;
    padding: 6px 14px;
  }

  .nav-actions i {
    font-size: 25px;
  }


  .navbar-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .nav-actions,
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
  }

  .menu-toggle {
    order: 1;
    z-index: 10;
  }

  .nav-actions {
    order: 2;
    z-index: 20;
  }

  /* .dobra-inicio .banner-img {
    content: url("../img/bannerEADMobile.png");
  } */

  .titulo-cursos {
    font-size: 35px;
  }

  /* ===== DOBRA SOBRE =====  */
  .container-sobre {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .texto-sobre {
    text-align: center;
    padding: 0;
  }

  .texto-sobre h2 {
    font-size: 19px;
    text-align: center;
  }

  .texto-sobre p {
    font-size: 14px;
    text-align: justify;
  }

  .imagem-sobre img {
    max-width: 100%;
  }

  /* ===== DOBRA FAQ =====  */
  .faq-container {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .faq-column {
    width: 100%;
    max-width: 500px;
  }

  .faq-question {
    font-size: 15px;
  }


  .rodape-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .rodape-logos {
    justify-content: center;

  }

  .rodape {
    padding: 25px 20px;
  }

  .rodape-logo {
    height: 30px;
  }

  .rodape-redes {
    font-size: 20px;
  }
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 750px) {

  .footer2 img {
    max-width: 80%;
    height: auto;
}
}