body {
  font-family: 'Inter', sans-serif;
  background: #f5f7f9;
  color: #222;
  margin: 0;
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 2rem;
}

/* ===== HERO ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: left;
}

.hero img {
  width: 260px;
  height: 260px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #111;
  margin: .25rem 0;
}

.hero small {
  color: #666;
  display: block;
  margin-bottom: .25rem;
}

.hero div {
  max-width: 550px;
}

.dates {
  display: flex;
  gap: 1rem;
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}

/* ===== ABAS ===== */
.tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.tab {
  background: #ddd;
  border: none;
  padding: .6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background .3s, color .3s;
}

.tab.active, .tab:hover {
  background: #1e4e52;
  color: #fff;
}

.tab-pane {
  display: none;
  margin-top: 2rem;
}

.tab-pane.active {
  display: block;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-size: .9rem;
}

/* ===== GALERIA ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.gallery-grid a {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid a:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* Imagens e vídeos */
.gallery-grid img,
.gallery-grid video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform .25s ease;
}

/* Miniatura de vídeo */
.video-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Ícone de play sobreposto */
.play-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 14px;
  padding: 6px 8px;
  border-radius: 50%;
  line-height: 1;
  transition: background 0.3s;
}

.play-badge:hover {
  background: rgba(0,0,0,0.9);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox.open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .8);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 82vh;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img,
.lightbox-content video {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}

.lb-btn {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, .85);
  border: none;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ===== FORMULÁRIO DE MENSAGENS ===== */
#mensagens form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

#mensagens label {
  font-weight: 600;
  color: #1e4e52;
}

#mensagens input[type="text"],
#mensagens textarea,
#mensagens input[type="file"] {
  width: 100%;
  font-size: 1rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s;
}

#mensagens input:focus,
#mensagens textarea:focus {
  border-color: #1e4e52;
}

#mensagens button {
  align-self: center;
  background: #1e4e52;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

#mensagens button:hover {
  background: #226167;
}

/* ===== LISTA DE MENSAGENS ===== */
.mensagens-lista {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.mensagem-item {
  background: #fff;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.mensagem-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.mensagem-item p {
  margin: 0.5rem 0 0;
  color: #222;
}

.mensagem-imagem {
  max-width: 100%;
  border-radius: 8px;
  margin-top: 0.5rem;
}

/* ===== TOPO ===== */
.top-logo {
  text-align: center;
  margin-bottom: 3rem;
}

.top-logo img {
  width: 180px;
  height: auto;
  opacity: 0.9;
  margin-top: 1rem;
}

/* ===== RESPONSIVIDADE ===== */
@media(max-width: 700px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero img {
    width: 200px;
    height: 200px;
  }

  .tabs {
    flex-wrap: wrap;
  }

  /* Miniaturas menores no mobile */
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 8px;
  }

  .gallery-grid img,
  .video-thumb video {
    height: 100px;
  }

  .play-badge {
    font-size: 12px;
    padding: 4px 6px;
  }

  .dates {
    justify-content: center;
    text-align: center;
  }
}
