/* ===== RESET E PADRONIZAÇÃO ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  letter-spacing: -0.01em;
}

body {
  background: #fdfdfd;
  color: #333;
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: 76px;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

/* ===== TIPOGRAFIA E TEXTOS (CORRIGIDO) ===== */
section {
  padding: 60px 10% 40px;
  scroll-margin-top: 90px;
}


h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #ffd700;
  margin: 15px auto 0;
  border-radius: 2px;
}

section h3 {
  font-size: 1.6rem;
  color: #008080;
  margin: 2.5rem 0 1rem 0;
  text-align: center;
  font-weight: 600;
}

section p {
  max-width: 850px;
  margin: 0 auto 1.5rem auto;
  font-size: 1.1rem;
  color: #555;
  text-align: center; /* Resolvido: evita espaços estranhos entre palavras */
  line-height: 1.8;
  font-weight: 300;
}

/* ===== HEADER & NAVEGAÇÃO ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

header .logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #008080;
  display: flex;
  align-items: center;
  gap: 10px;
}

nav ul {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  list-style: none;
}

nav li { position: relative; padding: 10px 0; }

nav a {
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
}

nav a:hover {
  background: #008080;
  color: #fff;
}

/* DROPDOWN */
nav .dropdown ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: none;
  min-width: 220px;
  padding: 10px 0;
  z-index: 100;
}

nav .dropdown.open > ul { display: block !important; }

nav .dropdown ul li a {
  display: block;
  padding: 10px 20px;
  color: #333;
}

/* BOTÕES */
.btn-consulta {
  background: #ffd700;
  color: #000;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: #008080;
  cursor: pointer;
  z-index: 3000;
}

/* ===== EQUIPA (SWIPER) ===== */
.myTeam.swiper {
  padding: 0 50px 50px 50px;
}

.team-card {
  background: #fff; 
  padding: 2.5rem; 
  border-radius: 15px; 
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid #008080;
  margin-bottom: 20px;
  object-fit: cover;
}

.team-card .btn-consulta { margin-top: 15px !important; }

.swiper-button-next, .swiper-button-prev { color: #008080 !important; }
.swiper-pagination-bullet-active { background: #008080 !important; }

/* ===== HERO & OUTROS (SIMPLIFICADO) ===== */
.hero { height: 100vh; background: url("https://images.pexels.com/photos/3757942/pexels-photo-3757942.jpeg") center/cover no-repeat; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; }
.hero h1 { font-size: 3.5rem; text-shadow: 2px 2px 10px #000; padding: 0 20px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.card { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); transition: 0.4s; padding-bottom: 20px; text-align: center; }
.card img { height: 200px; width: 100%; object-fit: cover; margin-bottom: 15px; }

.gallery { perspective: 1200px; height: 450px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.carousel { width: 300px; height: 200px; position: relative; transform-style: preserve-3d; animation: rotateGallery 25s infinite linear; }
.carousel img { position: absolute; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
@keyframes rotateGallery { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }

/* ===== FOOTER ===== */
footer { background: #1a1a1a; color: #fff; padding: 60px 20px 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.social a { font-size: 1.5rem; margin-right: 15px; color: #fff; }

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
  header { padding: 1rem; }
  header .logo { font-size: 1.1rem; }
  
  header .btn-consulta {
    order: 2; 
    margin-left: auto; 
    font-size: 0.75rem;
    padding: 0.5rem 0.8rem;
  }

  .menu-toggle { display: block; order: 3; margin-left: 10px; }

  .team-card .btn-consulta { margin-left: 0 !important; margin-right: 0 !important; }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #141414;
    padding-top: 80px;
    transition: 0.4s ease;
    z-index: 2000;
  }

  nav.active { right: 0; }
  nav ul { flex-direction: column; align-items: flex-start; }
  nav ul li { width: 100%; border-bottom: 1px solid #333; }
  nav ul li a { color: #fff; padding: 20px !important; display: block; }
  nav ul li ul { position: relative; background: #000; display: none !important; }
  nav ul li.open > ul { display: block !important; }
}
/* ===== FORMULÁRIO CONTACTOS (CORREÇÃO ALINHAMENTO) ===== */
.contactos form {
  max-width: 600px;
  margin: 40px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contactos form input,
.contactos form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  font-family: inherit;
}

.contactos form input:focus,
.contactos form textarea:focus {
  border-color: #008080;
}

.contactos form button {
  width: 100%;
  padding: 14px;
  background: #008080;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.contactos form button:hover {
  background: #006666;
}
/* ===== EQUIPA – ALINHAMENTO CÉDULA PROFISSIONAL ===== */
.team-card p {
  margin-bottom: 6px;
}

.team-card p:last-of-type {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #666;
}

/* ===== EQUIPA – UNIFORMIZAR ALTURA DOS CARDS ===== */
.team-card {
  min-height: 520px;
  justify-content: space-between;
}

.team-card h3 {
  margin-bottom: 8px;
}
/* ===== EQUIPA – CORREÇÃO DEFINITIVA DO DESALINHAMENTO ===== */
.team-card p:first-of-type {
  min-height: 3.2em;   /* reserva espaço para 2 linhas */
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
}
/* ===== CORREÇÃO SCROLL COM HEADER FIXO ===== */
section {
  scroll-margin-top: 90px;
}

#top-secreto-easter {
  position: absolute;
  bottom: 120px;
  right: 20px;
  width: 30px;
  height: 30px;
  background: transparent;
  border-radius: 50%;
  z-index: 9999;

  cursor: default;        /* NÃO muda o símbolo do rato */
  pointer-events: auto;

  display: flex;
  align-items: center;
  justify-content: center;

  color: transparent;
  font-size: 22px;
  font-weight: bold;
}
