@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #1a1a1a;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h2 {
  text-align: center;
}

/* ========================
   HEADER
======================== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: linear-gradient(135deg, #003580 0%, #0050c8 100%);
  border-bottom: 2px solid #FFD700;
  gap: 30px;
}

.header-logo {
  height: 60px;
  width: auto;
  flex-shrink: 0;
}

.header h1 {
  font-size: 70px;
  color: #FFD700;
  flex: 1;
  text-align: left;
}

.header a {
  text-decoration: none;
  transition: transform 0.2s ease;
}

.header a:hover {
  transform: scale(1.1);
}

/* MENU ÍCONES */
.menu ul {
  display: flex;
  list-style: none;
  gap: 20px;
  margin-left: 40px;
}

.menu img {
  height: 50px;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.menu img:hover {
  transform: scale(1.1);
}

/* RESPONSIVIDADE HEADER */
@media (max-width: 1024px) {
  .header h1 { font-size: 52px; }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    gap: 12px;
    text-align: center;
  }
  .header h1 { font-size: 45px; text-align: center; }
  .header-logo { height: 60px; }
  .menu ul { gap: 12px; justify-content: center; flex-wrap: wrap; }
  .menu img { height: 50px; }
}

@media (max-width: 480px) {
  .header h1 { font-size: 32px; }
  .menu img { height: 38px; }
}

@media (max-width: 360px) {
  .header h1 { font-size: 26px; }
  .header-logo { height: 40px !important; }
  .menu img { height: 32px; }
}

/* ========================
   MAIN
======================== */
main {
  width: 90%;
  max-width: 900px;
  margin: 30px auto;
  flex: 1;
}

p {
  font-size: 18px;
  line-height: 1.7;
}

h2 {
  font-size: 32px;
}

/* SEÇÃO CONTEÚDO GENÉRICA */
.conteudo {
  background-color: #f8f9ff;
  border-left: 6px solid #0050c8;
  border-radius: 10px;
  padding: 30px 35px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

.conteudo h2 {
  color: #003580;
  font-size: 26px;
  margin-bottom: 20px;
}

.conteudo p {
  color: #333;
  margin-bottom: 15px;
}

.conteudo p:last-of-type {
  margin-bottom: 0;
}

/* NAV DE LINKS */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 10px 0 30px;
}

.nav-links a {
  background-color: #0050c8;
  color: #FFD700;
  padding: 12px 28px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background-color 0.2s, transform 0.2s;
}

.nav-links a:hover {
  background-color: #003580;
  transform: scale(1.05);
}

/* BANNER */
.banner {
  background: linear-gradient(135deg, #003580, #0050c8);
  color: #FFD700;
  text-align: center;
  padding: 40px 30px;
  border-radius: 12px;
  margin-bottom: 30px;
  border: 3px solid #FFD700;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.banner h2 {
  font-size: 42px;
  color: #FFD700;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
  margin-bottom: 10px;
}

.banner p {
  font-size: 18px;
  color: #dce8ff;
}

/* SEÇÕES */
.sobre,
.missao,
.visao,
.valores {
  background-color: #f8f9ff;
  border-left: 6px solid #0050c8;
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

.sobre h2,
.missao h2,
.visao h2,
.valores h2 {
  color: #003580;
  margin-bottom: 12px;
  font-size: 26px;
}

.sobre p,
.missao p,
.visao p,
.valores p {
  color: #333;
}

.missao ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.missao ul li {
  padding: 6px 0;
  border-bottom: 1px solid #e0e0e0;
  color: #333;
  font-size: 17px;
}

.missao ul li strong {
  color: #003580;
}

/* CONTAINERS */
.container,
.container2 {
  width: 85%;
  margin: 20px auto;
  padding: 25px;
  border-radius: 10px;
  background-color: #f8f9ff;
  color: #1a1a1a;
  border-left: 6px solid #FFD700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

.container > p { font-size: 20px; }
.container2 > p { font-size: 22px; }

.container > h2,
.container2 > h2 {
  font-size: 30px;
  text-align: center;
  color: #003580;
}

/* CURSOS */
.cursos-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.curso {
  background-color: #ffffff;
  color: #333;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid #0050c8;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.curso:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,53,128,0.2);
}

.curso img {
  width: 100%;
  border-radius: 10px;
}

.curso a {
  display: block;
  margin-top: 15px;
  background-color: #0050c8;
  color: #FFD700;
  padding: 10px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.curso a:hover {
  background-color: #003580;
  transform: scale(1.05);
}

/* OPÇÕES */
.opcoes {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.opcoes a {
  width: 250px;
  text-align: center;
  background-color: #0050c8;
  color: #FFD700;
  padding: 12px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.opcoes a:hover {
  background-color: #003580;
  transform: scale(1.05);
}

/* ========================
   FOOTER
======================== */
footer {
  background: linear-gradient(135deg, #b50000 0%, #e00000 60%, #cc0000 100%);
  border-top: 5px solid #FFD700;
  color: #fff;
  padding: 30px 20px 20px;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.25);
}

footer h2 {
  color: #FFD700;
  margin-bottom: 10px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

footer p {
  font-size: 15px;
  color: #ffe0e0;
}

/* REDES SOCIAIS */
.redes {
  text-align: center;
  margin-bottom: 20px;
}

.redes a {
  display: inline-block;
  text-decoration: none;
}

.redes img {
  margin: 5px;
  width: 45px;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.redes img:hover {
  transform: scale(1.15);
  filter: brightness(0) saturate(100%) invert(85%) sepia(80%) saturate(500%) hue-rotate(5deg);
}

/* CONTATO */
.contato {
  background-color: transparent;
  color: #fff;
  padding: 10px 5%;
  display: table;
  width: 100%;
  border-top: 1px solid rgba(255, 215, 0, 0.4);
  border-bottom: 1px solid rgba(255, 215, 0, 0.4);
  margin: 15px 0;
}

.contato p {
  display: table-cell;
  vertical-align: top;
  width: 50%;
  padding: 0 10px;
  font-size: 14px;
  color: #ffe0e0;
}

.contato p:first-child {
  text-align: left;
}

.contato p:last-child {
  text-align: right;
  font-size: 13px;
}

.contato .titulo {
  color: #FFD700;
  font-weight: 600;
  font-size: 15px;
}

.contato a img {
  width: 60px;
  padding: 5px;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.contato a img:hover {
  transform: scale(1.1);
}

/* DIREITOS */
.direitos {
  text-align: center;
  margin-top: 15px;
  color: #ffb3b3;
  font-size: 13px;
}

/* ========================
   RESPONSIVIDADE
======================== */

/* Tablet (até 768px) */
@media (max-width: 768px) {
  main {
    width: 95%;
    margin: 20px auto;
  }

  .banner h2 {
    font-size: 30px;
  }

  .banner p {
    font-size: 16px;
  }

  .sobre,
  .missao,
  .visao,
  .valores {
    padding: 20px;
  }

  .sobre h2,
  .missao h2,
  .visao h2,
  .valores h2 {
    font-size: 22px;
  }

  p {
    font-size: 16px;
  }

  .container,
  .container2 {
    width: 95%;
    padding: 18px;
  }

  .cursos-container {
    gap: 20px;
    margin-top: 30px;
  }

  .curso {
    width: 100%;
    max-width: 400px;
  }

  .opcoes {
    margin-top: 30px;
  }

  .opcoes a {
    width: 100%;
    max-width: 300px;
  }

  .conteudo {
    padding: 20px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    padding: 10px 18px;
    font-size: 14px;
  }

  /* Footer */
  .contato {
    display: block;
  }

  .contato p {
    display: block;
    width: 100%;
    text-align: center !important;
    margin-bottom: 12px;
  }

  .redes img {
    width: 38px;
  }
}

/* Mobile (até 480px) */
@media (max-width: 480px) {
  .banner {
    padding: 25px 15px;
  }

  .banner h2 {
    font-size: 24px;
  }

  .banner p {
    font-size: 14px;
  }

  .sobre h2,
  .missao h2,
  .visao h2,
  .valores h2 {
    font-size: 20px;
  }

  p {
    font-size: 14px;
  }

  .missao ul li {
    font-size: 14px;
  }

  .curso {
    width: 100%;
  }

  .opcoes a {
    width: 90%;
    font-size: 14px;
  }

  .nav-links a {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  footer h2 {
    font-size: 20px;
  }

  footer p {
    font-size: 13px;
  }

  .redes img {
    width: 32px;
    margin: 3px;
  }

  .contato .titulo {
    font-size: 13px;
  }
}
