/* GERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 2;
  color: #333;
  background: transparent;
  background-color: white;

}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* BARRA DO TOPO */
.topbar {
  background: white;
  padding: 1rem 0;
}

.topbar .container {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  font-size: 1rem;
}

/* NAVEGAÇÃO */
.main-nav {
  background: white;
  color: white;
  padding: 10px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  max-width: 200px;
  background-color: white;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: black;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.8;
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
}

/* INDEX CAROUSEL */

.hero {
  height: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero img {
  max-width: 1200px;
  width: 100%;
  height: auto;
}

/*
.hero-slides {
  display: flex;
  flex-direction: column;
  height: auto;
}

.slide {
  position: relative;
  width: 100%;
  min-height: 450px;
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
  opacity: 1;
  transition: none;
}

.hero-slides .slide {
  display: none;
}

.hero-slides .slide.active {
  display: block;
}

 TEXTO DO HERO
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.hero-cta {
  padding: 0.8rem 1.5rem;
  background: #ffffff;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.hero-cta:hover {
  background: #ffffff;
}
*/
/* BOTÕES REDES SOCIAIS */
.social-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
  text-align: center;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: white;
  color: black;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-btn:hover {
  background-color: white;
}

.social-btn i {
  font-size: 3rem;
}

/* MAIN PARA TODAS AS PÁGINAS */
main.container {
  padding: 2rem 0;
}

main.container h1 {
  margin-bottom: 1rem;
  font-size: 2rem;
  text-align: center;
}

main.container p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 2;
}

/* FAQ */
.faq-item {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: white;
  border-radius: 4px;
}

.faq-item h3 {
  margin-bottom: 0.5rem;
}

/* RODAPÉ */
footer {
  background: rgba(20, 20, 20, 0.63);
  color: black;
  padding: 20px 0;
  text-align: center;
  margin-top: 2rem;
}

.footer-container {
  display: flex; 
  gap: 2rem; 
  justify-content: center; 
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
}

.footer-logo img {
  max-width: 100px;
  background-color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-links a {
  margin: 0 5px;
  text-decoration: none;
  color: black;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-top { 
  margin-bottom: 1rem; 
}

.footer-bottom {
  margin-top: 1rem;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* BOTÕES DE SERVIÇOS */
/* Secção de botões com imagens circulares e legenda */
.servicos-buttons {
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.servicos-buttons h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.buttons-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.servicos-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.servicos-item p {
  transition: color 0.3s ease, transform 0.3s ease;
}

.servicos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  background-color: black;
  border-radius: 50%;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.servicos-btn:hover {
  background-color: grey;
}

.servicos-btn img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 2px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
  border-radius: 50%;
}

.servicos-item:hover .servicos-btn img {
  border-color: #007bff;
  transform: scale(1.05);
}

/* Estilização do texto das legendas dos botões de serviços */
.servicos-item p {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: black;
  font-weight: 600;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Efeito hover que afeta tanto a imagem quanto o texto */
.servicos-item:hover p {
  color: grey;
  transform: translateY(-5px);
}

/* FORMULÁRIO DE CONTATO */
.contact-form {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background-color: #f0f0f0;
  border-radius: 5px;
}

.contact-form .form-group {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #f0f0f0;
  border-radius: 2px;
  font-size: 1.2rem;
}

.contact-container {
  display: flex;
  gap: 5rem;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
  margin-top: 8em;
}

.contact-form-wrapper {
  flex: 1; 
}

.contact-submit {
  display: inline-block;
  padding: 10px 20px;
  background: black;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-items: center;
  margin-top: 10px;
}


.contact-submit:hover {
  background: #0056b3;
}

.line-input {
  border: none;
  border-bottom: 1.5px solid #ccc;
  outline: none;
  width: 90%;
  padding: 3px 0;
}


/* STYLING do texto sobre a equipa */
.team-info {
  padding: 1rem 0;
  text-align: center;
  background-color: #f0f0f0; 
  margin-bottom: 1rem;
}

.team-info p {
  font-size: 1.1rem;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
}

/* Certificações - container fixo no lado direito */
.certifications {
  position: fixed;
  top: 50%;                
  right: 0;
  padding-right: 7rem;                 
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem;
  z-index: 500;   
         
}

/* Garante que a página ocupe 100% da altura e o footer fique abaixo */
html, body {
  height: 100%;
  margin: 0;
}

/* Envolve o conteúdo principal (exceto elementos fixos) */
.main-content {
  padding-bottom: 100px;  
  flex: 1;
}

/* Wrapper usando Flexbox para distribuir o conteúdo e o footer */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


/* Cada item de certificação */
.certification-item {
  width: 200px;            
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.certification-item img {
  display: block;
  width: 100%;
  height: auto;
  padding-right: 1rem;  
}

/* Efeito de hover para as certificações */
.certification-item:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Equipa - Membros (Sidebar no lado esquerdo) */
.team-members {
  position: fixed;          
  top: 50%;                  
  left: 0;                   
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem;
  background-color: #f0f0f0; 
  z-index: 1000;           
  border-right: 1px solid #ccc;
}

.team-member {
  width: 300px;             
  text-align: center;
}

.team-member img {
  width: 100%;
  height: auto;
  border-radius: 50%;        
  transition: transform 0.3s ease;
}

.team-member:hover img {
  transform: scale(1.05);   
}

.team-member-info h4 {
  margin: 0.3rem 0 0.1rem;
  font-size: 1rem;
  color: #333;
}


/* RESPONSIVIDADE PARA MOBILE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    background: white;
    padding: 1rem;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
}