/* =========================
   RESET BÁSICO
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

/* =========================
   BODY
========================= */
body {
  position: relative;
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  background-color: #dad8cb;
}

body.home-page {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* =========================
   TOPO VERDE
========================= */
.page-top-rect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
  background: #4a5244;
  z-index: 0;
}

header,
.hero,
.cards-section,
.brand-strip {
  position: relative;
  z-index: 1;
}

/* =========================
   HEADER
========================= */
header {
  position: relative;
  height: 50px;
  margin: 50px 8vw 0 8vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  height: 40px;
}

header .btn-reservar {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #dad8cb;
  border: 1px solid #dad8cb;
  padding: 0.65rem 1.4rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  background-color: transparent;
}

header .btn-reservar:hover {
  background: #dad8cb;
  color: #4a5244;
}

/* =========================
   HERO
========================= */
.hero {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hero-title {
  color: #DCD9D5;
  font-family: "EB Garamond", serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  line-height: 1.2;
}

.hero-subtitle {
  margin-top: 16px;
  color: #c8c5bc;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  font-family: "Work Sans", sans-serif;
  font-weight: 300;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  margin-top: 60px;
  color: #DCD9D5;
  font-size: 11px;
  font-family: "Work Sans", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-block;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* =========================
   CARDS GRID
========================= */
.cards-section {
  margin-top: 70px;
  margin-bottom: 72px;
  padding: 0 16px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 379px));
  gap: 16px;
  row-gap: 52px;
  justify-content: center;
}

/* CARD BASE */
.card {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  cursor: pointer;
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

/* IMAGE — overflow hidden no card para evitar "vazar" no hover */
.card-img-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
}

.card-img {
  width: 100%;
  height: 468px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.card:hover .card-img {
  transform: scale(1.05);
}

/* IMAGENS */
.card-1 .card-img { background-image: url('../img/LAGO-eventos.png'); }
.card-2 .card-img { background-image: url('../img/Quinta-dos-Carvalhos.png'); }
.card-3 .card-img { background-image: url('../img/Quinta-dos-Teixeiras.png'); }
.card-4 .card-img { background-image: url('../img/Quinta-de-Santiago.png'); }
.card-5 .card-img { background-image: url('../img/Quinta-da-Serracao.png'); }

/* TEXTO CARD */
.card-text {
  margin-top: 14px;
}

.card-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #333;
}

.card-location {
  font-size: 13px;
  font-weight: 400;
  color: #7a7870;
  margin-top: 2px;
}

/* CARD HIGHLIGHT (6º) */
.card-highlight {
  background: #ffffff;
  border-radius: 2px;
  padding: 40px 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.card-highlight-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.info-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 4px;
}

.info-desc {
  color: #7a7870;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}

/* separador entre blocos */
.info-block {
  padding-bottom: 28px;
  border-bottom: 1px solid #ece9e3;
}

.info-block:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

/* =========================
   CATERING
========================= */
.catering-video-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.catering-video-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.catering-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  /* escurece ligeiramente o vídeo */
  filter: brightness(0.75);
}

.catering-video-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
  margin-left: 10vw;
  background: rgba(183, 161, 121, 0.95);
  padding: 44px 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}

.catering-video-content h4 {
  font-family: "EB Garamond", serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.catering-video-content p {
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,253,0.9);
}

/* =========================
   BRAND STRIP (MANTIDO)
========================= */
.brand-strip {
  width: 100%;
  background: #4a5244;
  padding: 40px 20px;
}

.brand-strip-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.brand-text {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #dcd9d5;
  text-align: center;
}

.brand-logos {
  display: flex;
  gap: 50px;
  align-items: center;
}

.brand-logo-link { text-decoration: none; }
.logo-small { height: 50px; }
.logo-large { height: 70px; }

/* =========================
   LIGHTBOX
========================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 100;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 2px;
}

.close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 36px;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  transition: color 0.2s;
}
.close:hover { color: #fff; }

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: color 0.2s;
  user-select: none;
}
.nav:hover { color: #fff; }
.prev { left: 24px; }
.next { right: 24px; }

/* =========================
   FOOTER
========================= */
footer {
  background-color: rgba(220, 217, 213, 0.9);
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
}

.footer-content {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 0 120px;
  font-family: "Work Sans", sans-serif;
  font-size: 8pt;
  color: #333333;
}

.footer-links a {
  margin-left: 20px;
  text-decoration: none;
  color: #333333;
}

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

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  .page-top-rect { height: 480px; }

  /* HEADER */
  header {
    margin: 20px;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    height: auto;
  }

  header .logo { height: 34px; }

  /* HERO */
  .hero {
    padding-top: 40px;
  }

  .hero-cta { margin-top: 36px; }

  /* CARDS */
  .cards-section {
    margin-top: 40px;
    margin-bottom: 60px;
    padding: 0 20px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .card-img { height: auto; aspect-ratio: 4/5; }

  .card-highlight {
    padding: 32px 24px;
  }

  /* CATERING */
  .catering-video-wrapper {
    height: auto;
    min-height: 400px;
    padding: 48px 20px;
    align-items: flex-end;
  }

  .catering-video-content {
    margin: 0;
    max-width: 100%;
    padding: 28px 24px;
  }

  /* BRAND STRIP */
  .brand-logos {
    flex-direction: column;
    gap: 24px;
  }

  .logo-small { height: 40px; }
  .logo-large { height: 60px; }

  /* FOOTER */
  footer { height: auto; padding: 12px 0; }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0 20px;
    text-align: center;
  }

  .footer-links { display: flex; gap: 15px; }
  .footer-links a { margin: 0; }
}