/* === Paleta ===
  Fundo: Preto carvão (#1B1B1B)
  Texto: Branco / Cinza-claro
  Destaques: Dourado (#C8A75E)
*/

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: #e8e8e8;
  background-color: #1B1B1B;
  scroll-behavior: smooth;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
}

section {
  padding: 80px 10%;
  text-align: center;
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 10%, transparent 100%);
  box-sizing: border-box;
}

.navbar.scrolled {
  background: #121212;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.logo img {
  height: 45px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #C8A75E;
}

.nav-links li {
  align-content: center;
}

/* === Hamburger === */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  transition: 0.3s;
}

.hamburger.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === Hero === */
.hero {
  background: url('../image/hero-bg.jpeg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  color: #fff;
}

.hero h1 {
  font-size: 2.2em;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.btn {
  background-color: #C8A75E;
  color: #1B1B1B;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background-color: #b1904f;
  color: #fff;
}

/* === Serviços === */
.services {
  background: #222;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: #2b2b2b;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  color: #C8A75E;
}

/* === Metodologia === */
.methodology {
  background: #1B1B1B;
}

.methodology p {
  font-size: 1.1em;
  margin: 15px 0;
}

/* === Missão === */
.mission {
  background: linear-gradient(180deg, #111, #1B1B1B);
  color: #fff;
  padding: 100px 10%;
}

.mission h2 {
  color: #C8A75E;
}

/* === Contacto === */
.contact {
  background: #222;
}

.contact-info {
  margin-bottom: 40px;
  font-size: 1.1em;
}

.contact a {
  color: #C8A75E;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

/* === Política de Privacidade === */
.privacy-policy {
  text-align: left;
}

.privacy-policy h2 {
  color: #C8A75E;
}
.privacy-policy .contact {
  background: unset;
}

/* === Rodapé === */
footer {
  background: #121212;
  color: #aaa;
  text-align: center;
  padding: 20px 10%;
  font-size: 0.9em;
}

footer a {
  color: #C8A75E;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* === Responsividade === */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #121212;
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
  }

  .nav-links.active {
    max-height: 400px;
  }

  .nav-links li {
    text-align: center;
    padding: 15px 0;
  }

  .hero h1 {
    font-size: 1.6em;
  }

  .hero p {
    font-size: 1em;
  }
}
