html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #302e34; /* 💡 Fundo atualizado */
}

main {
  flex: 1 0 auto;
}

header, footer {
  background-color: #b1974b;
  color: #302e34;
  padding: 20px 0;
  text-align: center;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

footer p {
  margin: 0;
}

h1, h2 {
  color: #ffffff;
  text-align: center;
  margin-top: 20px;
}

p, ul {
  color: #ffffff;
  text-align: left;
  margin: 20px 0;
}

footer {
  background-color: #b1974b;
  color: #302e34;
  padding: 20px 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-center {
  display: block;
  margin: 40px auto;
  max-width: 250px;
  width: 100%;
  height: auto;
  border: 4px solid #b1974b;
  border-radius: 16px;
  transition: transform 0.4s cubic-bezier(.4,2,.6,1), box-shadow 0.4s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.logo-center:hover {
  transform: scale(0.92);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

/* Galeria */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
  max-width: 900px;
  margin: 40px auto;
  padding-bottom: 60px; /* ✅ espaçamento extra para footer */
}

.gallery-photo, .gallery-video {
  width: 100%;
  aspect-ratio: 3/2;
  border: 4px solid #b1974b;
  border-radius: 16px;
  transition: transform 0.4s cubic-bezier(.4,2,.6,1), box-shadow 0.4s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  display: block;
  background: #fff;
  object-fit: cover;
}

.gallery-photo:hover,
.gallery-video:hover {
  transform: scale(0.92);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  margin-bottom: 24px;
}

.custom-controls {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 12px;
}

.custom-controls button {
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s;
}

.custom-controls button:hover {
  background: #b1974b;
  color: #302e34;
}

/* Scroll to top */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #b1974b;
  color: #fff;
  font-size: 2.5rem;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  z-index: 1000;
  opacity: 0.85;
  transition: background 0.2s, opacity 0.2s, visibility 0.2s;
  visibility: visible;
  pointer-events: auto;
}


.scroll-to-top.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Cookie Banner */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #222;
  color: #fff;
  padding: 15px;
  text-align: center;
  z-index: 1000;
}

#cookie-banner a {
  color: #b1974b;
  text-decoration: underline;
}

#cookie-banner button {
  margin-left: 10px;
  padding: 5px 15px;
  background: #b1974b;
  color: #222;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  background: #302e34;
  color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  z-index: 1001;
  max-width: 90%;
  width: 400px;
  text-align: left;
}

.cookie-modal h3 {
  margin-top: 0;
  color: #b1974b;
}

.cookie-modal label {
  display: block;
  margin: 10px 0;
}

.cookie-modal button {
  margin-top: 15px;
  background: #b1974b;
  color: #302e34;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
  transition: background 0.2s;
}

.cookie-modal button:hover {
  background: #b1974b;
}

/* Política de Privacidade */
.privacy-container {
  padding: 20px;
  max-width: 800px;
  margin: auto;
}

.privacy-list {
  list-style-type: disc;
  margin-left: 40px;
}

.page-title {
  color: #b1974b;
  margin-bottom: 10px;
}

.text-center {
  text-align: center;
}

.no-margin-bottom {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-photo,
  .gallery-video {
    max-width: 90%;
    margin: 0 auto;
  }

  nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}

.spacer-60 {
  height: 60px;
}

@media (min-width: 1024px) {
  .gallery {
    gap: 32px 150px; /* 150px de espaço horizontal entre as colunas no desktop */
    max-width: 1100px;
  }
}

