/*Banner */
.header-banner {
  position: relative;
  background-image: url('../img/img_candidatura/fundo_candidatura.JPG'); 
  background-position: center;
  height: 400px; 
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;     
  background-size: cover; 
}

.header-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); 
  z-index: 1;
}
  
.overlay-banner {
  background-color: transparent; 
  color: white;
  text-align: center;
  padding: 2rem;
  width: 100%;
  max-width: 1000px;
  position: relative;
  z-index: 2; 
}

/*Banner- Texto*/ 
.overlay-banner h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
  
.breadcrumb-nav {
  font-size: 1rem;
  margin-top: 0.5rem;
}
  
.breadcrumb-nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}
  
.breadcrumb-nav span {
  margin: 0 0.3rem;
  color: #dac187;
}
  
.breadcrumb-nav .active {
  color: #dac187; /* ou outra cor de destaque */
  font-weight: 700;
}

/*Cor*/
.cor-texto{
  color: #0e0f2c;
}

 /* Estilo base para checkbox */
 input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  border: 2px solid #0e0f2c;
  border-radius: 6px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  position: relative;
  outline: none;
  transition: all 0.2s ease-in-out;
}

/* Quando está marcado */
input[type="checkbox"]:checked {
  background-color: #0e0f2c;
  border-color: #0e0f2c;
}

.botao-sobre {
  display: inline-flex; /* melhor alinhamento do ícone */
  align-items: center;
  justify-content: center;
  background-color: #dac187;
  color: white;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 30px 30px 30px 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: auto;               /* evita que estique */
  max-width: 250px;          /* limite opcional */
  white-space: nowrap;       /* evita quebra de linha */
  margin-top: 20px;
}

.botao-sobre:hover {
  background-color: #dcc592;
  transform: scale(1.08); /* ← aqui é o efeito de aumento */
}

.caixa-guia {
  border: 1px solid #e2d9c4; 
  padding: 2rem;
  position: relative;
  background-color: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  border: 4px solid #e2d9c4;  
}

/* RESPONSIVO GERAL PARA candidatura.css */

/* Tablets (≤ 992px) */
@media (max-width: 992px) {
  .header-banner {
    height: 320px;
  }

  .overlay-banner h1 {
    font-size: 2rem;
  }

  .breadcrumb-nav {
    font-size: 0.95rem;
  }

  .botao-sobre {
    font-size: 0.85rem;
    padding: 10px 20px;
  }

  .caixa-guia {
    padding: 1.5rem;
  }
}

/* Telemóveis (≤ 768px) */
@media (max-width: 768px) {
  .header-banner {
    height: 260px;
    background-position: center;
  }

  .overlay-banner {
    padding: 1.5rem;
  }

  .overlay-banner h1 {
    font-size: 1.6rem;
  }

  .breadcrumb-nav {
    font-size: 0.9rem;
    margin-top: 0.3rem;
  }

  .botao-sobre {
    font-size: 0.8rem;
    max-width: 90%;
    padding: 10px 18px;
  }

  .caixa-guia {
    padding: 1rem;
  }
}

/* Telemóveis pequenos (≤ 480px) */
@media (max-width: 480px) {
  .header-banner {
    height: 220px;
  }

  .overlay-banner h1 {
    font-size: 1.4rem;
  }

  .breadcrumb-nav {
    font-size: 0.85rem;
  }

  .botao-sobre {
    font-size: 0.75rem;
    padding: 8px 14px;
  }

  .caixa-guia {
    padding: 0.8rem;
    border-width: 3px;
  }
}

#mensagemEnviada {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  margin-top: 1rem;
  font-weight: 500;
}
#mensagemEnviada.show {
  opacity: 1;
}