/* ============================================================
   HOME.CSS — Estilos exclusivos da homepage
   Não alterar estilo.css global. Usar apenas classes .home-*
   ============================================================ */

/* Override do main para a homepage (full-width sem padding) */
main.home-main {
  max-width: 100%;
  padding: 0;
  margin: 0;
  min-height: auto;
}

/* ===== HERO ===== */
.home-hero {
  min-height: calc(100vh - 65px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.48);
  padding: 80px 20px 60px;
  text-align: center;
}

.hero-inner {
  max-width: 820px;
  width: 100%;
}

.hero-inner h1 {
  font-size: 2.6em;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.75);
  margin-bottom: 0.25em;
  line-height: 1.2;
}

.hero-greeting {
  font-size: 1.3em;
  color: #b2ff59;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  margin-bottom: 0.3em;
}

.hero-subtitle {
  font-size: 1.2em;
  color: #f0f0f0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  margin-bottom: 0.5em;
  line-height: 1.5;
}

.hero-mensagem {
  font-size: 1em;
  color: #b2ff59;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  margin-bottom: 2em;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2em;
}

.btn-cta {
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05em;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: #4caf50;
  color: #fff;
  box-shadow: 0 4px 14px rgba(76, 175, 80, 0.45);
}

.btn-primary:hover {
  background: #388e3c;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(76, 175, 80, 0.55);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.55);
}

/* ===== ESTRUTURA DE SEÇÃO GENÉRICA ===== */
.section-inner {
  max-width: 1050px;
  margin: 0 auto;
  padding: 64px 24px;
}

.section-inner h2 {
  text-align: center;
  font-size: 1.9em;
  margin-bottom: 40px;
  color: #3e2723;
}

/* ===== VÍDEO DE APRESENTAÇÃO ===== */
.home-video {
  background: rgba(0, 0, 0, 0.52);
  text-align: center;
}

.home-video .section-inner h2 {
  display: inline-block;
  color: #3e2723;
  background: #fff;
  padding: 10px 32px;
  border-radius: 8px;
  margin-bottom: 32px;
}

.video-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.video-wrapper video {
  width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

@media (max-width: 780px) {
  .home-video .section-inner {
    padding: 36px 16px;
  }

  .video-wrapper video {
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .home-video .section-inner {
    padding: 28px 16px;
  }

  .video-wrapper video {
    border-radius: 6px;
    box-shadow: none;
  }
}

/* ===== DIFERENCIAIS ===== */
.home-diferenciais {
  background: #faf8f2;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.card-icon {
  font-size: 2.4em;
  margin-bottom: 12px;
  display: block;
}

.card h3 {
  font-size: 1.1em;
  color: #3e2723;
  margin-bottom: 8px;
  font-weight: 700;
}

.card p {
  font-size: 0.92em;
  color: #666;
  line-height: 1.55;
}

/* ===== GALERIA ===== */
.home-galeria {
  background: #f0f7f0;
}

.home-galeria .section-inner h2 {
  color: #2e7d32;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.galeria-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
}

.galeria-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.galeria-link {
  text-align: center;
  margin-top: 12px;
}

.galeria-link a {
  color: #2e7d32;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05em;
}

.galeria-link a:hover {
  text-decoration: underline;
}

/* ===== PACOTES ===== */
.home-pacotes {
  background: #fff;
}

.pacotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 20px;
}

.pacote-card {
  background: #faf8f2;
  border: 2px solid #e0d2ba;
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pacote-card:hover {
  border-color: #5d4037;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.pacote-card h3 {
  font-size: 1.25em;
  color: #3e2723;
  margin-bottom: 12px;
  font-weight: 700;
}

.pacote-card p {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 22px;
  line-height: 1.6;
}

.btn-pacote {
  display: inline-block;
  padding: 11px 26px;
  background: #5d4037;
  color: #fff;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  transition: background 0.2s, transform 0.2s;
}

.btn-pacote:hover {
  background: #3e2723;
  transform: translateY(-1px);
}

.pacotes-link {
  text-align: center;
  margin-top: 8px;
}

.pacotes-link a {
  color: #5d4037;
  font-weight: 600;
  text-decoration: none;
  font-size: 1em;
}

.pacotes-link a:hover {
  text-decoration: underline;
}

/* ===== CONTATO ===== */
.home-contato {
  background: #5d4037;
}

.home-contato .section-inner h2 {
  color: #b2ff59;
}

.contato-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
  margin-bottom: 16px;
}

.contato-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 26px 16px;
  transition: background 0.2s;
}

.contato-item:hover {
  background: rgba(255, 255, 255, 0.14);
}

.contato-icon {
  font-size: 2.2em;
  display: block;
  margin-bottom: 10px;
}

.contato-item strong {
  display: block;
  font-size: 0.95em;
  margin-bottom: 8px;
  color: #b2ff59;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85em;
}

.contato-item a {
  color: #fff;
  text-decoration: none;
  font-size: 1em;
  font-weight: 600;
  word-break: break-word;
}

.contato-item a:hover {
  text-decoration: underline;
  color: #b2ff59;
}

.contato-horario {
  text-align: center;
  font-size: 0.95em;
  color: #e8d5c0;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 780px) {
  .hero-inner h1 {
    font-size: 1.8em;
  }

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

  .btn-cta {
    padding: 12px 24px;
    font-size: 1em;
  }

  .section-inner {
    padding: 44px 16px;
  }

  .section-inner h2 {
    font-size: 1.5em;
    margin-bottom: 28px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .galeria-grid img {
    height: 160px;
  }

  .pacotes-grid {
    grid-template-columns: 1fr;
  }

  .contato-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .hero-inner h1 {
    font-size: 1.5em;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn-cta {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

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

  .galeria-grid {
    grid-template-columns: 1fr;
  }

  .galeria-grid img {
    height: 200px;
  }
}

/* ===== SOBRE O LOCAL ===== */
.home-sobre-local {
  padding: 60px 20px;
  background-color: #f9f6f0;
}

.home-sobre-local h2 {
  font-size: 1.8rem;
  color: #2c5f2e;
  margin-bottom: 16px;
}

.home-sobre-local p {
  max-width: 800px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 16px;
}

/* ===== COMO CHEGAR ===== */
.home-como-chegar {
  padding: 60px 20px;
  background-color: #eef4ee;
}

.home-como-chegar h2 {
  font-size: 1.8rem;
  color: #2c5f2e;
  margin-bottom: 16px;
}

.home-como-chegar p {
  max-width: 800px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 12px;
}

.home-como-chegar a {
  color: #2c5f2e;
  font-weight: 600;
}

/* =====================================================
   ACCORDION MOBILE — ativo apenas em max-width: 768px
   ===================================================== */

@media (max-width: 768px) {

  [data-accordion="trigger"] {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    padding-right: 8px;
  }

  .accordion-icon {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 8px;
  }

  [data-accordion="content"] {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  [data-accordion="section"].is-open [data-accordion="content"] {
    max-height: 1000px;
  }

  [data-accordion="section"].is-open .accordion-icon {
    transform: rotate(180deg);
  }

}
