/* =========================================
   1. RESET & BASE
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

/* =========================================
   2. SEÇÃO: HOME 
   ========================================= */

.home-section {
  background-image: url("../img/fdo-home.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  width: 100%;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  overflow: visible; /* Alterado de hidden para visible para o botão poder sobressair na base */
  padding-bottom: 0;
}

.home-middle-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 90%;
  max-width: 1250px;
  margin: 15px auto 20px auto;
  position: relative;
  z-index: 10;
  flex: 1;
}

/* Barra cinza superior */
.top-announcement-bar {
  background-color: #333333;
  color: #ffffff;
  width: 100%;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.5px;
  padding: 16px 10px;
  text-transform: uppercase;
  z-index: 1002;
}

.header {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-start;
  margin-top: 25px;
  z-index: 999;
}

.logo-container {
  position: relative;
  width: 23%;
  min-width: 180px;
  max-width: 290px;
  padding-left: 7%; 
  z-index: 25;
  margin-top: -15px;
}

.logo {
  width: 100%;
  max-width: 100%;
  filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.5));
}

.header-content {
  width: 80%;
  display: flex;
  flex-direction: column;
  padding-top: 15px;
}

.barra-dourada {
  background-color: #bfa15f;
  height: 50px;
  width: 100%;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 5%;
  margin-left: -35px;
  position: relative;
  z-index: 1;
}

.subtitle {
  display: none;
}

.navbar ul {
  list-style: none;
  display: flex;
  align-items: center;
}

.navbar li {
  display: flex;
  align-items: center;
}

.navbar li:not(:last-child)::after {
  content: "|";
  color: #ffffff;
  margin: 0 15px;
  font-size: 16px;
}

.navbar a {
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: #ffffff;
  margin: 3px 0;
  border-radius: 3px;
  transition: 0.3s;
}

/* Banner law-banner.png aumentado (largura máxima ampliada para 360px) */
.home-main-container {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
}

.home-banner-wrapper {
  width: 100%;
}

.img-law-banner {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.home-content {
  position: absolute;
  bottom: -25px; /* Metade para cima na linha vermelha, metade sobre a barra dourada */
  right: 8%; /* Alinhado esteticamente à direita */
  z-index: 100; /* Garante que fique acima de todas as camadas */
  margin-bottom: 0;
}

/* Botão "INSCREVA-SE!" com o tamanho padronizado das outras seções */
.btn-inscreva-se {
  display: inline-block;
  background-color: #8c1d2b;
  color: #ffffff;
  text-decoration: none;
  padding: 25px 63px; /* Aumentado proporcionalmente em ~40% */
  border-radius: 40px;
  font-size: 31px; /* Aumentado de 22px para 31px (~40% maior) */
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
  white-space: nowrap;
}

.btn-inscreva-se:hover {
  background-color: #701621;
  transform: scale(1.05);
}

/* Fio/Barra vermelho-vinho no fim exato da seção, sem deixar espaços */
.home-bottom-border {
  background-color: #8c1d2b;
  width: 100%;
  height: 8px; /* Espessura da linha vermelha */
  margin-top: auto;
  position: relative;
  z-index: 50;
}

/* =========================================
   3. SEÇÃO: QUEM SOMOS
   ========================================= */
.quem-somos-section {
  width: 100%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

/* Faixa Dourada Ocupando 100% da Largura */
.qs-header-full {
  background-color: #bfa15f;
  width: 100%;
  padding: 40px 10%;
}

.qs-header-full h2 {
  color: #ffffff;
  font-size: 65px;
  font-style: italic;
  font-weight: bold;
  line-height: 0.9;
}

.qs-header-full h2 span {
  font-size: 38px;
  font-weight: normal;
}

/* Container do texto e logos lado a lado */
.qs-content-container {
  display: flex;
  width: 100%;
  padding: 50px 10%;
  align-items: center;
}

/* Coluna da Esquerda (Texto) */
.qs-info {
  flex: 0 0 55%;
  padding-right: 5%;
  display: flex;
  flex-direction: column;
}

.qs-info p {
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 20px;
  text-align: justify;
}

/* Container do Botão Centralizado */
.container-botao-qs {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* Coluna da Direita (Logos em Quadrado 2x2) */
.qs-logos {
  flex: 0 0 45%;
  display: grid;
  grid-template-columns: repeat(2, 200px); /* Cria a grelha de 2 colunas */
  gap: 30px;
  justify-content: center;
  align-content: center;
}

.qs-logos img {
  width: 200px;
  height: 200px;
  object-fit: contain; /* Mantém a proporção das logos sem cortar */
}

/* =========================================
   4. SEÇÃO: SOBRE O CURSO
   ========================================= */
.sobre-curso-section {
  background-color: #ffffff;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  padding-bottom: 0;
}

.sobre-curso-header {
  background-color: #8c1d2b;
  width: 100%;
  padding: 30px 8%;
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.titulo-secao {
  color: #ffffff;
  text-align: right;
  font-size: 65px;
  font-style: italic;
  font-weight: bold;
  line-height: 0.9;
}

.titulo-secao span {
  font-size: 38px;
  font-weight: normal;
}

.sobre-curso-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 0 0;
  gap: 50px;
}

.coluna-imagem {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 3;
  margin-top: -110px;
  margin-bottom: 0; /* Garante que a foto da aluna não gera margem em baixo */
}

.img-aluna {
  max-width: 100%;
  height: auto;
  display: block;
  transform: translateY(0);
}

.coluna-tabela {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  margin-bottom: 30px;
}

.tabela-curso {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: #333333;
  margin-bottom: 20px;
}

.tabela-curso td {
  border: 1px solid #8c1d2b;
  padding: 15px;
  vertical-align: middle;
}

.col-destaque {
  font-weight: bold;
  width: 35%;
  background-color: #fcfcfc;
}

.container-botao-tabela {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.btn-inscreva-se-vinho {
  display: inline-block;
  background-color: #8c1d2b;
  color: #ffffff;
  text-decoration: none;
  padding: 0.9vw 2.5vw;
  border-radius: 3vw;
  font-size: 1.3vw;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.btn-inscreva-se-vinho:hover {
  background-color: #701621;
  transform: scale(1.05);
}

/* =========================================
   5. SEÇÃO: COORDENAÇÃO ACADÊMICA
   ========================================= */
.foto-mobile {
  display: none;
}

.coordenacao-section {
  background-color: #ffffff;
  width: 100%;
  padding: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.coordenacao-header {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 40px;
}

.coordenacao-header-full {
  background-color: #bfa15f;
  width: 100%;
  padding: 40px 10%;
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0;
}

.titulo-coordenacao {
  color: #8c1d2b;
  text-align: left;
  font-size: 65px;
  font-style: italic;
  font-weight: bold;
  line-height: 0.9;
}

.titulo-coordenacao span {
  font-size: 38px;
  font-weight: normal;
}

.coordenacao-container {
  display: flex;
  align-items: flex-start;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  gap: 0;
}

.coordenacao-imagem-col {
  flex: 1.1;
  display: flex;
  justify-content: flex-start;
}

.img-coordenadores {
  width: 100%;
  height: auto;
  display: block;
  max-height: 850px;
  object-fit: cover;
  object-position: top left;
}

.coordenacao-textos-col {
  flex: 0.9;
  padding-top: 20px;
  padding-right: 8%;
  display: flex;
  flex-direction: column;
}

.bloco-coordenador {
  margin-bottom: 1vw;
}

.bloco-coordenador h3 {
  font-size: 16px;
  color: #000;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-weight: bold;
}

.bloco-coordenador p {
  font-size: 13px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 10px;
  font-weight: 600;
}

.container-botao-coord {
  width: 100%;
  max-width: 1300px;
  margin: -20px auto 0 auto;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.btn-inscreva-se-dourado {
  display: inline-block;
  background-color: #bfa15f;
  color: #8c1d2b;
  text-decoration: none;
  padding: 0.9vw 2.5vw;
  border-radius: 3vw;
  font-size: 1.3vw;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.btn-inscreva-se-dourado:hover {
  background-color: #a88b4d;
  transform: scale(1.05);
}

/* =========================================
   6. SEÇÃO: CORPO DOCENTE
   ========================================= */
.docentes-section {
  background-color: #ffffff;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.docentes-header-full {
  background-color: #8c1d2b;
  width: 100%;
  padding: 40px 10%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 0;
}

.docentes-header-full h2 {
  color: #bfa15f;
  text-align: left;
  font-size: 65px;
  font-style: italic;
  font-weight: bold;
  line-height: 0.9;
}

.docentes-header-full h2 span {
  font-size: 38px;
  font-weight: normal;
}

.docentes-header {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 5% 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.docentes-subtitle {
  color: #bfa15f;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 10px;
}

.titulo-docentes {
  color: #8c1d2b;
  text-align: right;
  font-size: 65px;
  font-style: italic;
  font-weight: bold;
  line-height: 0.9;
}

.titulo-docentes span {
  font-size: 38px;
  font-weight: normal;
}

.docentes-instrucao {
  text-align: center;
  font-size: 16px;
  color: #555555;
  background-color: #ffffff;
  padding: 25px 20px 0 20px;
  font-style: italic;
  font-weight: bold;
}

.carousel-container {
  background-color: #ffffff;
  width: 100%;
  padding: 50px 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 0;
}

.carousel-track-wrapper {
  width: 85%;
  max-width: 1000px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.docente-card {
  flex: 0 0 calc(25% - 15px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.docente-card img {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid #8c1d2b;
  margin-bottom: 15px;
  background-color: #f0f0f0;
}

/* Nome do professor em preto */
.docente-card h4 {
  color: #000000;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

/* Título/função do professor em preto */
.docente-card p {
  color: #333333;
  font-size: 13px;
  font-weight: normal;
}

.carousel-btn {
  display: block;
  background: none;
  border: none;
  color: #8c1d2b;
  font-size: 50px;
  cursor: pointer;
  padding: 0 15px;
  transition: transform 0.2s;
}

.carousel-btn:hover {
  transform: scale(1.2);
}

.docentes-lista-nomes {
  background-image: url("../img/fdo-docente2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  padding: 60px 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.docentes-lista-nomes ul {
  list-style: none;
  text-align: center;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  row-gap: 20px;
}
.docentes-lista-nomes li {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.docentes-lista-nomes li br {
  display: block;
  content: "";
  margin-top: -4px;
}

.docentes-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 50px;
}

/* Janela Flutuante (Tooltip) dos Professores */
.tooltip-professor {
  position: absolute;
  width: 380px;
  background-color: rgba(45, 40, 35, 0.95);
  color: #ffffff;
  padding: 20px;
  font-size: 13px;
  line-height: 1.5;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.tooltip-professor.ativo {
  opacity: 1;
  visibility: visible;
}

.tooltip-professor p {
  margin-bottom: 15px;
}

.tooltip-professor p:last-child {
  margin-bottom: 0;
}

/* =========================================
   7. SEÇÃO: INVESTIMENTO E PAGAMENTO
   ========================================= */
.investimento-section {
  width: 100%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Faixa Vermelha Ocupando 100% da Largura */
.investimento-header-full {
  background-color: #8c1d2b;
  width: 100%;
  padding: 40px 10%;
  display: flex;
  justify-content: flex-start;
}

.investimento-header-full h2 {
  color: #ffffff;
  text-align: left;
  font-size: 65px;
  font-style: italic;
  font-weight: bold;
  line-height: 0.9;
}

.investimento-header-full h2 span {
  font-size: 38px;
  font-weight: normal;
}

/* Bloco principal (o seu quadrado vermelho) com largura fixa e rigorosamente centrado */
.investimento-content-container {
  display: flex;
  width: 1000px; /* Largura fixa controlada para o bloco vermelho */
  max-width: 95%; /* Garante responsividade em ecrãs menores */
  margin: 40px auto; /* Centra horizontalmente na página */
  padding: 20px 0;
  align-items: center;
  justify-content: space-between; /* Distribui a imagem à esquerda e valores à direita */
  gap: 40px;
}

.investimento-imagem {
  width: 420px; /* Largura exata para a coluna da imagem */
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.investimento-imagem img {
  height: 360px;
  width: auto;
  object-fit: contain;
  display: block;
}

.investimento-info {
  width: 520px; /* Largura exata para a coluna dos valores */
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.investimento-valores {
  display: flex;
  flex-direction: column;
  gap: 35px;
  width: 100%;
  align-items: flex-start;
}

/* Posicionamento relativo para ancorar a imagem do Lote 01 de 200x200px */
.valor-lote-wrapper {
  position: relative;
  width: 100%;
}

.img-lote01 {
  position: absolute;
  top: -165px;
  right: 0;
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.valor-linha {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.valor-preco {
  position: relative;
  color: #8c1d2b;
  display: flex;
  align-items: flex-start;
}

.img-taxado {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 320px;
  height: auto;
  pointer-events: none;
  z-index: 5;
}

.moeda {
  font-size: 28px;
  margin-right: 8px;
  margin-top: 6px;
  font-weight: bold;
}

.montante {
  font-size: 70px;
  font-style: italic;
  font-weight: bold;
  line-height: 0.8;
  letter-spacing: -2px;
}

.valor-desc {
  text-align: right;
  font-size: 26px;
  line-height: 1.1;
}

.destaque-dourado {
  color: #bfa15f;
  font-style: italic;
  font-weight: bold;
}

.destaque-vermelho {
  color: #8c1d2b;
  font-weight: normal;
  font-size: 22px;
}

.container-botao-investimento {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  width: 100%;
}

.btn-inscreva-se-cinza {
  display: inline-block;
  background-color: #6a6a6a;
  color: #ffffff;
  text-decoration: none;
  padding: 15px 40px;
  border-radius: 35px;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.btn-inscreva-se-cinza:hover {
  background-color: #888888;
  transform: scale(1.05);
}

/* =========================================
   8. SEÇÃO: FALE CONOSCO (RODAPÉ)
   ========================================= */
.footer-section {
  background-color: #8c1d2b;
  padding: 80px 0;
  color: #ffffff;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo-area {
  text-align: center;
  margin-bottom: 50px;
}

.footer-logo {
  max-width: 220px;
  height: auto;
  margin-bottom: 15px;
}

.footer-executiva {
  color: #bfa15f;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-citacao-area {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin-bottom: 70px;
}

.icone-aspas {
  position: absolute;
  top: -25px;
  left: -40px;
  width: 60px;
  height: auto;
}

.texto-citacao {
  font-size: 24px;
  font-style: italic;
  line-height: 1.4;
  font-weight: 300;
}

.texto-citacao strong {
  font-weight: 800;
  font-style: italic;
}

.footer-contatos {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 50px;
  gap: 20px;
}

.contato-item {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.contato-item:nth-child(1) {
  justify-content: flex-end;
}
.contato-item:nth-child(2) {
  justify-content: center;
}
.contato-item:nth-child(3) {
  justify-content: flex-start;
}

.icone-contato {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.contato-item p,
.footer-instagram p {
  font-size: 16px;
  font-style: italic;
  line-height: 1.4;
}

.footer-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #bfa15f;
}

/* =========================================
   9. RESPONSIVIDADE GERAL (MEDIA QUERIES)
   ========================================= */

/* ----- ECRÃS MÉDIOS (Tablets) ----- */
@media (max-width: 950px) {
  .menu-toggle {
    display: flex;
  }
  #nav-menu {
    display: none !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 5%;
    background-color: #bfa15f;
    width: 220px;
    border-radius: 0 0 8px 8px;
    padding: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    overflow: hidden;
  }
  #nav-menu.active {
    display: flex !important;
  }
  .navbar li {
    width: 100%;
    justify-content: center;
    padding: 0;
  }
  .navbar li a {
    display: block;
    width: 100%;
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
  .navbar li:last-child a {
    border-bottom: none;
  }
  .navbar li:not(:last-child)::after {
    content: none;
  }
  .subtitle {
    font-size: 1.5vw;
    margin-left: 0;
  }
  .home-content {
    bottom: 8vw;
    left: 11vw;
  }

  .btn-inscreva-se {
    font-size: 3.2vw;
    padding: 2.2vw 6vw;
    border-radius: 5vw;
  }

  .btn-inscreva-se-vinho,
  .btn-inscreva-se-dourado,
  .btn-inscreva-se-cinza {
    font-size: 22px;
    padding: 18px 45px;
  }

  /* Quem Somos Tablet */
  .qs-content-container {
    flex-direction: column;
    padding: 40px 5%;
    gap: 50px;
  }
  .qs-info {
    flex: 1;
    padding-right: 0;
  }
  .qs-logos {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 200px);
    justify-content: center;
  }
  .qs-header-full h2 {
    font-size: 45px;
  }
  .qs-header-full h2 span {
    font-size: 28px;
  }

  .sobre-curso-container {
    flex-direction: column;
    padding: 20px 5%;
    gap: 30px;
  }
  .coluna-imagem {
    display: none;
  }
  .coluna-tabela {
    margin-top: 20px;
    align-items: center;
  }
  .titulo-secao {
    font-size: 45px;
  }
  .titulo-secao span {
    font-size: 28px;
  }

  .coordenacao-textos-col {
    width: 100%;
    padding-top: 40px;
    padding-right: 0;
    text-align: center;
  }
  .titulo-coordenacao {
    font-size: 45px;
    text-align: center;
  }
  .titulo-coordenacao span {
    font-size: 28px;
  }
  .coordenacao-container {
    flex-direction: column;
    padding: 0 5%;
  }
  .desktop-img {
    display: none !important;
  }
  .foto-mobile {
    display: block;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    margin: 0 auto 20px auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  }
  .bloco-coordenador {
    margin-bottom: 40px;
  }

  .docentes-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }
  .titulo-docentes {
    text-align: center;
    font-size: 55px;
  }
  .titulo-docentes span {
    font-size: 32px;
  }

  .carousel-container {
    padding: 40px 5%;
  }
  .carousel-btn {
    display: none;
  }
  .carousel-track-wrapper {
    width: 100%;
    overflow: hidden;
  }
  .carousel-track {
    flex-direction: row;
    gap: 20px;
  }
  .docente-card {
    flex: 0 0 calc(50% - 10px);
    width: auto;
  }
  .docente-card img {
    width: 220px;
    height: 220px;
  }

  .tooltip-professor {
    width: 320px;
    font-size: 12px;
  }

  /* Docentes Grelha Tablet */
  .docentes-lista-nomes {
    padding: 50px 5%;
    justify-content: center;
  }
  .docentes-lista-nomes ul {
    text-align: center;
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .docentes-lista-nomes li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
  }

  /* Investimento Tablet */
  .investimento-content-container {
    flex-direction: column;
    padding: 40px 5%;
    gap: 50px;
  }
  .investimento-imagem,
  .investimento-info {
    flex: 1;
    width: 100%;
    padding-left: 0;
  }
  .investimento-imagem img {
    height: 350px;
  }
  .investimento-header-full {
    justify-content: center;
  }
  .investimento-header-full h2 {
    text-align: center;
    font-size: 50px;
  }

  .footer-contatos {
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    margin: 0 auto 50px auto;
    gap: 30px;
  }

  .contato-item:nth-child(1),
  .contato-item:nth-child(2),
  .contato-item:nth-child(3) {
    justify-content: flex-start;
    text-align: left;
    flex-direction: row;
  }

  .footer-instagram {
    width: fit-content;
    margin: 0 auto;
  }
}

/* =========================================
   9. RESPONSIVIDADE GERAL (MEDIA QUERIES)
   ========================================= */

/* ----- ECRÃS MÉDIOS (Tablets) ----- */
@media (max-width: 950px) {
  .menu-toggle {
    display: flex;
  }
  #nav-menu {
    display: none !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 5%;
    background-color: #bfa15f;
    width: 220px;
    border-radius: 0 0 8px 8px;
    padding: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    overflow: hidden;
  }
  #nav-menu.active {
    display: flex !important;
  }
  .navbar li {
    width: 100%;
    justify-content: center;
    padding: 0;
  }
  .navbar li a {
    display: block;
    width: 100%;
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
  .navbar li:last-child a {
    border-bottom: none;
  }
  .navbar li:not(:last-child)::after {
    content: none;
  }

  /* Quem Somos Tablet */
  .qs-content-container {
    flex-direction: column;
    padding: 40px 5%;
    gap: 50px;
  }
  .qs-info {
    flex: 1;
    padding-right: 0;
  }
  .qs-logos {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 200px);
    justify-content: center;
  }
  .qs-header-full h2 {
    font-size: 45px;
  }
  .qs-header-full h2 span {
    font-size: 28px;
  }
}

/* ----- TELAS PEQUENAS (Celulares) ----- */
@media (max-width: 600px) {
  .home-section {
    background-image: none !important;
    background-color: #ffffff;
    min-height: auto;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .home-middle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 20px auto 0 auto;
    position: relative;
    gap: 25px;
  }

  .home-main-container {
    width: 90% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    display: flex;
    justify-content: center;
  }

  .home-banner-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .img-law-banner {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    margin: 0 auto;
  }

  .home-content {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    margin: 0 auto !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    transform: none !important;
  }

  .btn-inscreva-se {
    font-size: 20px;
    padding: 15px 35px;
    border-radius: 30px;
    max-width: 300px;
    width: 100%;
    margin: 0 auto !important;
    display: block !important;
  }

  /* Quem Somos Celular */
  .qs-header-full {
    padding: 25px 5%;
    text-align: center;
  }
  .qs-header-full h2 {
    font-size: 35px;
  }
  .qs-header-full h2 span {
    font-size: 22px;
  }
  .qs-content-container {
    padding: 30px 5%;
    gap: 40px;
  }
  .qs-info p {
    font-size: 15px;
  }
  .qs-logos {
    grid-template-columns: 200px;
    gap: 30px;
  }
  .investimento-imagem {
    display: none !important;
  }
}
}
