/* ------------------------------
   Casa de Eventos — Stylesheet
   - Mobile-first, responsivo, acessível
   - Foco em performance e SEO
   - Sem frameworks
---------------------------------*/

/* RESET MODERNO */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui,-apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, sans-serif;
  color: #0f172a;
  background: #ffffff;
  line-height: 1.6;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
::selection { background: #fde68a; color: #111827; }

/* DESIGN TOKENS */
:root {
  --container: 1120px;
  --accent: #0369a1;
  --accent-contrast: #0b1324;
  --muted: #64748b;
  --bg-soft: #f8fafc;
  --shadow: 0 10px 15px rgba(2,6,23,0.08), 0 4px 6px rgba(2,6,23,0.06);
  --radius: 18px;
}

/* UTILITÁRIOS */
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(2.5rem, 3vw + 1rem, 5rem) 0; }
.grid { display: grid; gap: 1rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--accent);
  color: white;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  color: #0369a1; /* cor com bom contraste */
  border: 2px solid #0369a1;
}
.badge {
  display: inline-block;
  padding: .35rem .65rem;
  background: #e0f2fe;
  border-radius: 999px;
  color: #0369a1;
  font-weight: 600;
  font-size: .85rem;
}

/* HEADER / NAV */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: color-mix(in oklab, white 80%, transparent);
  border-bottom: 1px solid #e2e8f0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 800;
  letter-spacing: .4px;
}
.nav__brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #38bdf8, #06b6d4);
  box-shadow: var(--shadow);
}

.nav__links a.btn {
  background: var(--accent);
  color: #fff;
}
.nav__links a.btn:hover {
  background: #0d98d6;
}

.nav__links a {
  display: inline-flex;
  align-items: center;      /* alinha verticalmente */
  height: 100%;             /* garante alinhamento com botão */
}

.nav__links {
  display: flex;
  gap: 1rem;
  align-items: center;      /* alinha todos os itens na horizontal */
}

.nav__toggle {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
}
@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
}

/* HERO */
.hero { display: grid; gap: 1.25rem; align-items: center; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.2fr 1fr; gap: 2rem; }
}
.hero__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero__copy h1 {
  font-size: clamp(1.75rem, 3vw + 1rem, 3rem);
  line-height: 1.2;
  margin: 0 0 .75rem;
}
.hero__copy p { color: var(--muted); margin: 0 0 1.25rem; }
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* FEATURES */
.features {
  background: var(--bg-soft);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.features__grid { display: grid; gap: 1rem; }
@media (min-width: 720px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: white;
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 100%;
}
.card h3 { margin: 0 0 .25rem; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }

/* GALERIA */
.gallery__grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery__grid a {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery__grid img {
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* LAYOUT DE PREÇOS */
.pricing__wrap {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .pricing__wrap {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
}

/* MAPA */
.map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
}

.map img,
.map iframe {
  display: block;
  width: 100%;
  height: 350;
  max-width: 100%;
}

/* FOOTER */
.footer {
  background: #0b1324;
  color: #e2e8f0;
  padding: 2rem 0;
  margin-top: 2rem;
}
.footer a { color: #bae6fd; }
.footer__grid { display: grid; gap: 1rem; }
@media (min-width: 720px) {
  .footer__grid { grid-template-columns: 1.2fr .8fr; }
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.footer__brand .nav__brand-logo { box-shadow: none; }

/* ANIMAÇÕES (com prefers-reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* BOTÕES DE REDES SOCIAIS */
.btn-whatsapp {
  background: #128c3c;
  color: white;
} 
.btn-whatsapp:hover {
  background: #0f7c34;
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}
.btn-instagram:hover {
  opacity: 0.9;
}

.btn-facebook {
  background: #1877F2;
  color: white;
}
.btn-facebook:hover {
  background: #145ecb;
}

/* ÍCONES (Lucide) */
.btn .icon {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
  stroke-width: 2.2;
}