/* Reset e Fonte */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Paleta de Cores */
:root {
  --verde-claro: #d8e2dc;
  --verde-medio: #a5c4b0;
  --verde-escuro: #5a7d5e;
  --bege: #f0e6d2;
  --marrom: #8b5a2b;
  --cinza: #6c757d;
  --branco: #ffffff;
}

/* Corpo */
body {
  margin: 0;
  padding: 0;
  background-color: var(--bege);
  color: #333;
  /*line-height: 1.6;*/
}

/* Cabeçalho */
header {
  background-color: var(--branco);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 1rem 0;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--verde-escuro);
  text-decoration: none;
}

.logo-img {
  height: 130px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}

.logo-img.shrink {
  height: 50px;
}

/* Botão hamburguer (desktop: escondido) */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--verde-escuro);
  cursor: pointer;
}

.hamburger.active {
  transform: rotate(90deg);
  content: "✖";
}

/* Menu padrão (desktop) */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: #2f4f4f;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

nav ul li a:hover {
  color: white;
  border-bottom: 2px solid white;
}

/* Banner */
.banner {
  min-height: 120vh;
  background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/img001.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
}

.banner-content {
  color: white;
  max-width: 800px;
  padding: 2rem;
}

.banner h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Seções */
section {
 margin: 0;
 padding: 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--verde-escuro);
  font-size: 2.2rem;
}

.about {
  padding: 5rem 0;
  background-color: white;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.about-text {
  flex: 1;
  min-width: 300px;
  padding-right: 2rem;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Rodapé */
footer {
  background-color: var(--verde-escuro);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin-bottom: 1.5rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

footer a {
  color: var(--bege);
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: white;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--verde-claro);
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--marrom);
  color: white;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.cookie-banner p {
  margin-bottom: 1rem;
  flex: 1;
  min-width: 250px;
}

.cookie-banner a {
  color: var(--bege);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
}

.cookie-btn:hover {
  opacity: 0.8;
}

.accept-btn {
  background-color: var(--bege);
  color: var(--verde-escuro);
}

.reject-btn {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

/* Responsividade */
@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo-img {
    height: 70px;
    vertical-align: middle;
  }

  .hamburger {
    display: block;
    margin-left: auto;
  }

  .menu-principal {
  display: none;
  flex-direction: column;
  background-color: var(--branco);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.menu-principal.active {
  display: flex;
  max-height: 500px; /* ou o valor que acomode seus links */
}

  .menu-principal ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  nav ul {
    margin-top: 1rem;
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 0.5rem 0;
  }

  .banner h1 {
    font-size: 2.2rem;
  }

  .about-content {
    flex-direction: column;
  }

  .about-text {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  section {
  margin: 0;
  padding: 0;
  border: none;
}
}

