
/*Site total*/
body {
  background-color: #0e0f2c;
  font-family: 'Poppins', sans-serif;
}

.cor-fundo{
  background-color: #f0f4f8;
}

.cor-fundo.container-fluid {
  position: relative;
}
  
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #0e0f2c;
  padding-top: 10px;
}

header.oculto {
  top: -100px;
}

header.fixo {
  top: 0;
  transition: top 0.4s ease;
}

main {
  padding-top: 92px; /* ajusta conforme a altura real do teu header */
}

.linha-separadora {
  border: none;
  height: 4px;
  background-color: #dac187; /* cor dourada, ou muda à tua escolha */
  width: 100%;
  max-width: 1000px;
  margin: 3rem auto;
  border-radius: 2px;
}

/*Logotipo*/
.logo-wrapper {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  height: 66px;
}

.logo-texto {
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transition: max-width 0.5s ease, opacity 0.5s ease;
}

.logo-wrapper:hover .logo-texto {
  max-width: 290px; /*Distância entre o M e o Letras*/
  opacity: 1;
  
}

.logo-texto img {
  height: 70px;
  
}

.logo-m {
  height: 80px;
  transition: transform 0.5s ease;
}

.logo-wrapper:hover .logo-m {
  transform: translateX(10px);
}

.custom-shape-divider-top-1745426758 {
  position: relative; /* ← Isso faz com que o conteúdo abaixo respeite a altura da onda */
  width: 100%;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}

.custom-shape-divider-top-1745426759 { /*Para ficar sobreposto*/
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}

.shape-fill {
  fill: #0e0f2c;
  height: 10px;
}

/*Seta de navegação*/
.seta-hover {
  transition: transform 0.3s ease;
  display: inline-block;
}

/* Gira 90º para baixo no hover ou se o menu estiver aberto */
.nav-item.dropdown:hover .seta-hover,
.nav-item.dropdown.show .seta-hover {
  transform: rotate(-90deg);
}

/*Navegação*/
.nav-link {
  color: #ffffff;
  transition: color 0.3s ease;
  padding-bottom: 10px;
}

.nav-link:hover,
.nav-item.dropdown:hover > .nav-link {
  color: #dac187;
}

.nav-item.dropdown.show > .nav-link,
.nav-item.dropdown:hover > .nav-link {
  color: #dac187;
}

.nav-item.dropdown:not(:hover):not(.show) > .nav-link {
  color: #fff !important;
}

/* Corrigir foco sem alterar cor */
.nav-link:focus,
.nav-link:focus-visible,
.nav-link:active,
.nav-item.dropdown:focus,
.nav-item.dropdown:focus-within {
  outline: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
  color: #dac187 !important; /* ✅ herdará a cor correta (branco ou dourado) */
}

/* Dropdown */
.custom-dropdown {
  border-radius: 1px;
  background-color: rgba(14, 15, 44, 0.90);
}

.menu-title {
  color: #dac187;
  font-weight: bold;
  font-size: 2.0rem;
  text-transform: uppercase;
}

.link-menu {
  display: block;
  text-decoration: none;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  padding-left: 1rem;
}

.link-menu:hover {
  color: #dac187;
}

/*Footer ondas*/
.custom-shape-divider-bottom-1745831522 {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.custom-shape-divider-bottom-1745831522 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 101px;
}

.custom-shape-divider-bottom-1745831522 .shape-fill {
  fill: #0e0f2c;
}

/*Footer*/
.footer-site {
  background-color: #0e0f2c;
  color: white;
}

.footer-site .row {
  margin-top: 30px;
}

.footer-site a {
  color: white;
  text-decoration: none;
}

.footer-site a:hover {
  color: #dac187;
}

.footer-site .bi {
  color: white;
  transition: 0.3s;
}

.footer-site .bi:hover {
  color: #dac187;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  font-size: 0.875rem;
}

.footer-site img {
  max-width: 100%;
  height: auto;
}

.cor-titulo{
  color: #dac187;
}

.certificado {
  width: 140px;
  height: 100px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 30px;
}

.certificado:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.certificado img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* RESPONSIVO GERAL */

/* Tablets (≤ 992px) */
@media (max-width: 992px) {
  .logo-texto {
    max-width: 180px;
  }

  .menu-title {
    font-size: 1.5rem;
  }

  .link-menu {
    font-size: 0.95rem;
    padding-left: 0.5rem;
  }

  .certificado {
    width: 120px;
    height: 90px;
    margin-top: 20px;
  }

  .footer-site .row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .footer-site img {
    max-width: 80%;
  }

  .footer-legal {
    text-align: center;
    padding: 1rem 0.5rem;
  }
}

/* Telemóveis (≤ 768px) */
@media (max-width: 768px) {
  header {
    padding-top: 6px;
  }

  main {
    padding-top: 80px;
  }

  .logo-wrapper {
    height: 56px;
    justify-content: center;
  }

  .logo-m {
    height: 60px;
  }

  .logo-texto {
    display: none; /* escondido no mobile para poupar espaço */
  }

  .custom-shape-divider-top-1745426758,
  .custom-shape-divider-top-1745426759 {
    display: none; /* esconder ondas decorativas no mobile se ocuparem espaço */
  }

  .link-menu {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    padding-left: 0.5rem;
  }

  .menu-title {
    font-size: 1.3rem;
    text-align: center;
  }

  .certificado {
    width: 100px;
    height: 80px;
  }

  .footer-site .row {
    flex-direction: column;
    text-align: center;
  }

  .footer-site img {
    margin: 0 auto;
  }
}

/* Telemóveis pequenos (≤ 480px) */
@media (max-width: 480px) {
  .menu-title {
    font-size: 1.1rem;
  }

  .certificado {
    width: 90px;
    height: 70px;
  }

  .link-menu {
    font-size: 0.85rem;
  }

  .footer-legal {
    font-size: 0.75rem;
  }

  .linha-separadora {
    margin: 2rem auto;
  }
}