/* ═══════════════════════════════════════════════
   Encanto das Areias — Estilos Compartilhados
   Usado por todas as páginas do site
   ═══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #FFFAF7;
  color: #1C1008;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

/* ── Ornamento de texto ── */
.ornament::before, .ornament::after {
  content: '—';
  color: #E8621A;
  margin: 0 0.55rem;
  opacity: 0.6;
}

/* ── Animações Hero ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-fade-up { animation: fadeUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.anim-d1 { animation-delay: 0.15s; opacity: 0; }
.anim-d2 { animation-delay: 0.35s; opacity: 0; }
.anim-d3 { animation-delay: 0.55s; opacity: 0; }
.anim-d4 { animation-delay: 0.75s; opacity: 0; }

/* ── Navbar ── */
#navbar {
  transition: background-color 0.45s ease,
              backdrop-filter  0.45s ease,
              box-shadow       0.45s ease,
              padding          0.35s ease;
}
#navbar.scrolled {
  background-color: rgba(28, 16, 8, 0.96) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 24px rgba(0,0,0,0.35);
  padding-top:    0.65rem;
  padding-bottom: 0.65rem;
}

/* ── Nav underline animado ── */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  height: 1px; width: 0;
  background: #E8621A;
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* ── Drawer mobile ── */
#mobile-menu    { transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1); }
#mobile-overlay { transition: opacity  0.3s ease; }

/* ── WhatsApp pulse ── */
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0  0   rgba(37, 211, 102, 0.50); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0  0   rgba(37, 211, 102, 0); }
}
.wa-pulse { animation: wa-pulse 2.6s ease-out infinite; }

/* ── Zoom de imagem nos cards ── */
.card-img { transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1); }
.event-card:hover .card-img { transform: scale(1.06); }
.card-arrow { transition: transform 0.3s ease; }
.event-card:hover .card-arrow { transform: translateX(5px); }

/* ── Número de métrica ── */
.metric-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1;
  color: #E8621A;
}

/* ── Botão Hero CTA (laranja — index) ── */
.hero-cta {
  background: #E8621A;
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}
.hero-cta:hover {
  background: #F07030;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(232,98,26,0.40);
}

/* ── Botão Hero CTA âmbar (páginas internas) ── */
.hero-cta-amber {
  background: linear-gradient(135deg, #C97C2A 0%, #E09A4A 50%, #C97C2A 100%);
  background-size: 200% auto;
  transition: background-position 0.5s ease, transform 0.25s ease, box-shadow 0.3s ease;
}
.hero-cta-amber:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(201,124,42,0.45);
}

/* ── Subtítulo hero: legibilidade ── */
.hero-subtitle {
  text-shadow: 0 1px 8px rgba(28,16,8,0.70), 0 2px 24px rgba(28,16,8,0.55);
}

/* ── Galeria de fotos (páginas internas) ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 280px 240px;
  gap: 8px;
}
.gi-1 { grid-column: 1 / 7;  grid-row: 1; }
.gi-2 { grid-column: 7 / 10; grid-row: 1; }
.gi-3 { grid-column: 10 / 13; grid-row: 1; }
.gi-4 { grid-column: 1 / 5;  grid-row: 2; }
.gi-5 { grid-column: 5 / 9;  grid-row: 2; }
.gi-6 { grid-column: 9 / 13; grid-row: 2; }

@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
    gap: 6px;
  }
  .gi-1 { grid-column: 1 / 3; grid-row: 1; }
  .gi-2 { grid-column: 1 / 2; grid-row: 2; }
  .gi-3 { grid-column: 2 / 3; grid-row: 2; }
  .gi-4 { grid-column: 1 / 2; grid-row: 3; }
  .gi-5 { grid-column: 2 / 3; grid-row: 3; }
  .gi-6 { display: none; }
}

.gallery-item { position: relative; overflow: hidden; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
  display: block;
}
.gallery-item:hover img { transform: scale(1.05); }

.gi-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,16,8,0.55) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-item:hover .gi-overlay { opacity: 1; }

.gi-label {
  position: absolute; bottom: 10px; left: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,250,247,0.9);
  opacity: 0; transform: translateY(5px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.gallery-item:hover .gi-label { opacity: 1; transform: translateY(0); }

/* ── Divisor decorativo ── */
.divider-ornament { display: flex; align-items: center; gap: 1rem; }
.divider-ornament::before,
.divider-ornament::after { content: ''; flex: 1; height: 1px; }
.divider-ornament::before { background: linear-gradient(to right,  transparent, rgba(201,124,42,0.4)); }
.divider-ornament::after  { background: linear-gradient(to left,   transparent, rgba(201,124,42,0.4)); }

/* ── Card com borda lateral âmbar ── */
.outdoor-card {
  border-left: 3px solid #C97C2A;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.outdoor-card:hover {
  border-color: #E8621A;
  box-shadow: 0 8px 32px rgba(232,98,26,0.08);
}

/* ── Botão CTA (laranja) ── */
.cta-btn {
  background: #E8621A;
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}
.cta-btn:hover {
  background: #F07030;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(232,98,26,0.40);
}

/* ── FAQ Accordion ── */
.faq-content {
  transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              padding    0.25s ease;
}
.faq-content[style*="max-height"] {
  padding-bottom: 1.25rem;
}
.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
