/* ==========================================================================
   Zoom — Casa de Festas
   Stylesheet único do site. Mobile-first: as regras base valem para telas
   pequenas; breakpoints (min-width) vão adicionando/ajustando para telas
   maiores.
   ========================================================================== */

/* Fontes carregadas via <link> no <head> de cada página — mais rápido que @import. */

/* ==========================================================================
   1. RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul { list-style: none; }
fieldset { border: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   2. TEMA — variáveis CSS (modo Adulto = padrão, modo Infantil = override)
   ========================================================================== */
:root {
  /* --- paleta adulto/sofisticado (padrão) --- */
  --bg: #ffffff;
  --bg-soft: #faf7f2;
  --bg-card: #ffffff;
  --ink: #211c17;
  --ink-soft: #5c534a;
  --ink-muted: #948a7d;
  --gold: #b5834a;
  --gold-light: #e4c896;
  --gold-dark: #8a6435;
  --gold-tint: #f6ede0;
  --border: #e7dcc9;
  --overlay: rgba(20, 16, 10, 0.45);
  --accent-1: var(--gold);
  --accent-2: var(--gold-dark);
  --accent-3: var(--gold-light);
  --accent-4: var(--ink);
  --shadow-color: 30, 24, 14;
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;
  --radius-full: 999px;

  /* --- tipografia --- */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --tracking-wide: 0.14em;

  /* --- estrutura --- */
  --header-h: 72px;
  --container-w: 1220px;

  color-scheme: light;
}

[data-theme="infantil"] {
  --bg: #fdf9f3;
  --bg-soft: #f2e9dc;
  --bg-card: #ffffff;
  --ink: #2b2560;
  --ink-soft: #4f4778;
  --ink-muted: #8f89ab;
  --gold: #2fbfaf;
  --gold-light: #7fdcd1;
  --gold-dark: #1f8a7e;
  --gold-tint: #e1f5f2;
  --border: #d3efea;
  --overlay: rgba(43, 37, 96, 0.45);
  --accent-1: #2fbfaf;
  --accent-2: #e8622a;
  --accent-3: #f2854d;
  --accent-4: #e8622a;
  --purple-accent: #6b3fa0;
  --pink-accent: #d6317a;
  --shadow-color: 20, 74, 68;
}

/* Transição suave de cores ao trocar de modo — nunca abrupta */
body, header, footer, .card, .btn, .mode-switch-track, .mode-switch-knob,
.hero-overlay, .ph-media, .tablet-nav, .form-field input,
.form-field textarea, .form-field select {
  transition: background-color 0.5s ease, border-color 0.5s ease,
              color 0.5s ease, box-shadow 0.5s ease;
}
.no-theme-transition, .no-theme-transition * { transition: none !important; }

/* ==========================================================================
   3. BASE
   ========================================================================== */
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--header-h);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 8vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 5.5vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.6rem); }

p { color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--gold-dark);
}
.eyebrow::before {
  content: '';
  width: 26px; height: 1px;
  background: var(--gold);
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}
/* Tablet ganha mais respiro lateral que o celular, sem chegar no gutter do desktop */
@media (min-width: 768px) and (max-width: 1024px) {
  .container { padding: 0 32px; }
}

section { padding: 56px 0; }
@media (min-width: 768px) { section { padding: 88px 0; } }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.section-head p { margin-top: 14px; }

/* --- mostrar/ocultar conforme modo (texto e logo) --- */
.mode-infantil-only { display: none; }
[data-theme="infantil"] .mode-adulto-only { display: none; }
[data-theme="infantil"] .mode-infantil-only { display: inline; }
[data-theme="infantil"] span.mode-infantil-only,
[data-theme="infantil"] img.mode-infantil-only { display: inline-block; }
.mode-infantil-only.block, [data-theme="infantil"] .mode-adulto-only.block { display: none; }
[data-theme="infantil"] .mode-infantil-only.block { display: block; }

/* --- reveal on scroll --- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   4. BOTÕES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(var(--shadow-color), 0.55);
}
.btn-primary:hover { box-shadow: 0 12px 26px -8px rgba(var(--shadow-color), 0.65); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--ink);
}
.btn-outline:hover { background: var(--gold-tint); }

.btn-ghost {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--gold);
  padding: 8px 4px;
}

.btn-block { width: 100%; }
.btn-lg { padding: 18px 34px; font-size: 1.02rem; }

/* ==========================================================================
   5. HEADER + LOGO
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
/* O blur do fundo vai num pseudo-elemento próprio, atrás do conteúdo (logo,
   nav, switch). Em vários navegadores mobile (Safari/Chrome), aplicar
   backdrop-filter direto no mesmo elemento que contém a logo em SVG faz o
   navegador rasterizar a camada inteira — incluindo a logo — numa resolução
   menor, deixando-a borrada só no celular. Isolando em ::before, o blur
   afeta só o fundo, e a logo permanece nítida. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-link { display: flex; align-items: center; height: 40px; }
.logo-link img { height: 100%; width: auto; }

.desktop-nav { display: none; }
@media (min-width: 1025px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  .desktop-nav a {
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ink-soft);
    position: relative;
    padding: 6px 0;
  }
  .desktop-nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width 0.25s ease;
  }
  .desktop-nav a:hover::after,
  .desktop-nav a.is-active::after { width: 100%; }
  .desktop-nav a.is-active { color: var(--ink); }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-cta { display: none; }
@media (min-width: 1180px) { .header-cta { display: inline-flex; padding: 12px 22px; font-size: 0.85rem; } }

/* --- botão hambúrguer: nav principal em qualquer tela abaixo do desktop ---
   Celular e tablet (retrato ou paisagem) usam o mesmo menu hambúrguer; só
   o desktop (>=1025px) mostra a navegação por extenso (.desktop-nav). */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-s);
}
@media (min-width: 1025px) { .nav-toggle { display: none; } }
.nav-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.nav-toggle-icon {
  position: absolute;
  top: 50%; left: 50%;
  width: 22px; height: 22px;
  stroke: var(--ink);
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-toggle .icon-close { opacity: 0; transform: translate(-50%, -50%) rotate(-90deg) scale(0.6); }
.nav-toggle.is-active .icon-open { opacity: 0; transform: translate(-50%, -50%) rotate(90deg) scale(0.6); }
.nav-toggle.is-active .icon-close { opacity: 1; transform: translate(-50%, -50%) rotate(0) scale(1); }

/* --- painel de navegação (aberto pelo hambúrguer) --- */
.tablet-nav {
  display: block;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 290;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 24px 40px -28px rgba(var(--shadow-color), 0.4);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease;
}
@media (min-width: 1025px) { .tablet-nav { display: none; } }
.tablet-nav.is-open { max-height: 80vh; opacity: 1; overflow-y: auto; }

.tablet-nav-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 20px 20px 6px;
  max-width: var(--container-w);
  margin: 0 auto;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .tablet-nav-links { grid-template-columns: repeat(3, 1fr); padding: 22px 32px 6px; }
}
.tablet-nav-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px;
  border-radius: var(--radius-s);
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}
.tablet-nav-links a.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
}
/* O switch Kids/Adulto já mora fixo no header (ao lado do hambúrguer), então
   o rodapé do painel mostra só o CTA de orçamento. */
.tablet-nav-footer {
  padding: 18px 20px 24px;
  max-width: var(--container-w);
  margin: 0 auto;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .tablet-nav-footer { padding: 18px 32px 26px; }
}

/* ==========================================================================
   6. SWITCH INFANTIL / ADULTO
   ========================================================================== */
.mode-switch {
  --track-w: 168px;
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}
.mode-switch-track {
  position: relative;
  width: var(--track-w);
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--gold-tint);
  border: 1px solid var(--border);
  cursor: pointer;
  touch-action: pan-y;
}
.mode-switch-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.mode-switch-half {
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  z-index: 3; /* acima do knob, para poder ganhar destaque quando selecionado */
  pointer-events: none;
  transition: color 0.25s ease, font-weight 0.25s ease, font-size 0.25s ease, text-shadow 0.25s ease;
}
.mode-switch-half.infantil { left: 0; }
.mode-switch-half.adulto { right: 0; }
.mode-switch-half.is-active {
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.mode-switch-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: calc(50% - 4px);
  height: calc(100% - 6px);
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 4px 10px -3px rgba(var(--shadow-color), 0.5);
  transform: translateX(100%); /* padrão = modo Adulto (metade direita) */
  transition: transform 0.28s cubic-bezier(.4,0,.2,1);
  z-index: 2;
}
[data-theme="infantil"] .mode-switch-knob { transform: translateX(0); }
.mode-switch-track.is-dragging .mode-switch-knob { transition: none; }

/* ==========================================================================
   8. WHATSAPP FLUTUANTE
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0));
  z-index: 320;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.35);
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }
@media (min-width: 768px) {
  .whatsapp-float { bottom: 28px; right: 28px; }
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 10px 24px -8px rgba(0,0,0,0.35), 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 10px 24px -8px rgba(0,0,0,0.35), 0 0 0 10px rgba(37,211,102,0); }
}

/* ==========================================================================
   9. HERO
   ========================================================================== */
.hero {
  /* Quanto o FUNDO do hero "vaza" por baixo do header/barra fixa — só o
     fundo, nunca o conteúdo (texto), que tem que ficar sempre legível e
     livre da barra fixa, não importa a altura da tela. */
  --hero-bleed: var(--header-h);
  position: relative;
  height: 92vh;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: visible;
}

.hero-media {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  top: calc(-1 * var(--hero-bleed));
  height: calc(100% + var(--hero-bleed));
  overflow: hidden;
  z-index: 0;
}
.hero-bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-bg-fallback { position: absolute; inset: 0; }
.hero-media.is-video-ready .hero-bg-fallback { display: none; }

.hero-color-glow {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  top: calc(-1 * var(--hero-bleed));
  height: calc(100% + var(--hero-bleed));
  z-index: 2;
  pointer-events: none;
  opacity: 0.75;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle at 0% 0%, var(--accent-1) 0%, transparent 42%),
    radial-gradient(circle at 100% 0%, var(--accent-3) 0%, transparent 42%),
    radial-gradient(circle at 0% 100%, var(--accent-2) 0%, transparent 42%),
    radial-gradient(circle at 100% 100%, var(--accent-1) 0%, transparent 46%);
}
.hero-bg-fallback .ph-media-label { display: none; }

.hero-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  top: calc(-1 * var(--hero-bleed));
  height: calc(100% + var(--hero-bleed));
  background: linear-gradient(180deg, rgba(20,16,10,0.25) 0%, var(--overlay) 70%, rgba(10,8,5,0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px 64px;
  max-width: 780px;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-content { padding-left: 32px; padding-right: 32px; padding-bottom: 80px; }
}
.hero-content .eyebrow { color: var(--gold-light); }
.hero-content .eyebrow::before { background: var(--gold-light); }
.hero-content h1 { color: #fff; margin: 14px 0 16px; }
.hero-content p { color: rgba(255,255,255,0.86); max-width: 520px; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-btn-outline { color: #fff; border-color: rgba(255,255,255,0.6); }

.hero-scroll-cue {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 20px;
  display: none;
}
@media (min-width: 768px) { .hero-scroll-cue { display: block; } }
.hero-scroll-cue::after {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { top: 8px; opacity: 1; } 70% { top: 22px; opacity: 0; } 100% { top: 8px; opacity: 0; } }

/* ==========================================================================
   10. PLACEHOLDER DE MÍDIA (foto/vídeo)
   Uso: <div class="ph-media" data-label="Salão Principal"><img ...></div>
   Se a imagem/vídeo real carregar, ela cobre o placeholder. Se falhar
   (ou ainda não existir), o placeholder decorativo com o rótulo aparece.
   ========================================================================== */
.ph-media {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.14), transparent 55%),
    linear-gradient(135deg, var(--accent-1), var(--gold) 45%, var(--accent-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph-media::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 14px);
}
.ph-media img, .ph-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ph-media.has-photo .ph-media-label { display: none; }
.ph-media img[src*="hall-entrada"],
.ph-media img[src*="camarim"] { object-position: center 25%; }
.ph-media-label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-align: center;
  padding: 16px;
}
.ph-media-label svg { width: 30px; height: 30px; opacity: 0.9; }
.ph-media-label span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.95;
  max-width: 220px;
}

/* ==========================================================================
   11. CARDS GENÉRICOS
   ========================================================================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.card-body { padding: 22px; }
.card-media { aspect-ratio: 4 / 3; }

/* ==========================================================================
   12. GALERIA HORIZONTAL "STORIES" (ambientes)
   ========================================================================== */
.story-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 20px;
  padding: 4px 20px 18px;
  margin: 0 -20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.story-scroll::-webkit-scrollbar { display: none; }
.story-item {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 78vw;
  max-width: 320px;
  border-radius: var(--radius-m);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
  box-shadow: 0 14px 30px -14px rgba(var(--shadow-color), 0.35);
}
.story-item .ph-media { position: absolute; inset: 0; }
.story-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(10,8,5,0.78));
  color: #fff;
}
.story-caption h3 { color: #fff; font-size: 1.15rem; }
.story-caption p { color: rgba(255,255,255,0.82); font-size: 0.85rem; margin-top: 4px; }

@media (min-width: 768px) {
  .story-item { width: 320px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .story-scroll { padding-left: 32px; padding-right: 32px; margin-left: -32px; margin-right: -32px; scroll-padding-left: 32px; }
}
@media (min-width: 1100px) {
  .story-scroll { justify-content: center; }
}

/* ==========================================================================
   13. "MONTE SEU EVENTO"
   ========================================================================== */
.builder {
  background: var(--ink);
  border-radius: var(--radius-l);
  padding: 36px 22px;
  color: #fff;
}
[data-theme="infantil"] .builder { background: var(--accent-4); }
.builder .section-head h2, .builder .section-head p { color: #fff; }
.builder .section-head p { color: rgba(255,255,255,0.75); }
.builder-form {
  display: grid;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .builder-form { grid-template-columns: 1fr 1fr; }
  .builder-form .btn { grid-column: 1 / -1; }
}
.builder-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
}
.builder-form select, .builder-form input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-s);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.builder-form select option { color: #111; }

/* ==========================================================================
   14. BRINQUEDOS — cards por faixa etária
   ========================================================================== */
.age-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .age-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .age-grid { grid-template-columns: repeat(3, 1fr); } }

.age-card { display: flex; flex-direction: column; height: 100%; }
.age-card .card-media { aspect-ratio: 16/10; }
.age-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--gold-tint);
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}
.age-card ul { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.age-card li {
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
}
.age-card li::before {
  content: '✦';
  position: absolute; left: 0; top: 0;
  color: var(--gold);
  font-size: 0.7rem;
}

.safety-strip {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 40px;
}
@media (min-width: 768px) { .safety-strip { grid-template-columns: repeat(3, 1fr); } }
.safety-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-soft);
  border-radius: var(--radius-m);
}
.safety-item svg { width: 26px; height: 26px; flex-shrink: 0; stroke: var(--gold-dark); margin-top: 2px; }
.safety-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.safety-item p { font-size: 0.88rem; }

/* ==========================================================================
   15. TIPOS DE EVENTO
   ========================================================================== */
.event-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .event-grid { grid-template-columns: repeat(2, 1fr); } }
.event-card { position: relative; }
.event-card .card-media { aspect-ratio: 5/4; }
.event-card .card-body { position: relative; }
.event-card h3 { margin-bottom: 8px; }

/* ==========================================================================
   16. SOBRE — timeline / valores
   ========================================================================== */
.about-grid {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 60px; } }
.about-media { aspect-ratio: 4/5; border-radius: var(--radius-l); overflow: hidden; }
@media (min-width: 900px) { .about-grid.reverse .about-media { order: 2; } }
.about-grid + .about-grid { margin-top: 64px; }

.values-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-top: 20px;
}
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1025px) { .values-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.value-item { text-align: center; padding: 26px 18px; }
.value-item svg { width: 32px; height: 32px; stroke: var(--gold-dark); margin: 0 auto 14px; }
.value-item h3 { font-size: 1rem; margin-bottom: 6px; }
.value-item p { font-size: 0.85rem; }

/* ==========================================================================
   17. FORMULÁRIO DE CONTATO
   ========================================================================== */
.contact-layout {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1.1fr 0.9fr; } }

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-s);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  font-size: 0.95rem;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--gold-tint);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-error {
  display: none;
  font-size: 0.78rem;
  color: #b3261e;
  margin-top: 6px;
}
.form-field.has-error input,
.form-field.has-error textarea,
.form-field.has-error select { border-color: #b3261e; }
.form-field.has-error .form-error { display: block; }

.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  cursor: pointer;
}
.radio-pill input { accent-color: var(--gold); }
.radio-pill:has(input:checked) { border-color: var(--gold); background: var(--gold-tint); }

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-m);
  background: var(--gold-tint);
  border: 1px solid var(--gold-light);
  color: var(--ink);
  font-size: 0.9rem;
  margin-top: 18px;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 22px; height: 22px; stroke: var(--gold-dark); flex-shrink: 0; }

.contact-info-card {
  background: var(--bg-soft);
  border-radius: var(--radius-l);
  padding: 30px 26px;
}
.contact-info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-row:last-of-type { border-bottom: none; }
.contact-info-row svg { width: 22px; height: 22px; stroke: var(--gold-dark); flex-shrink: 0; margin-top: 2px; }
.contact-info-row h3 { font-size: 0.95rem; margin-bottom: 3px; }
.contact-info-row p { font-size: 0.88rem; }

.map-embed {
  border-radius: var(--radius-m);
  overflow: hidden;
  margin-top: 20px;
  aspect-ratio: 16/10;
  border: 1px solid var(--border);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   18. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding: 52px 0 28px;
}
[data-theme="infantil"] .site-footer { background: #1f1a45; }
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-brand img { height: 44px; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.88rem; max-width: 320px; }
.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-social { display: flex; gap: 12px; margin-top: 6px; }
.footer-social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { border-color: var(--gold-light); background: rgba(255,255,255,0.06); }
.footer-social svg { width: 18px; height: 18px; fill: #fff; }

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

/* ==========================================================================
   19. PÁGINA — cabeçalho interno (páginas que não são a home)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 64px 0 40px;
  text-align: center;
  background: var(--bg-soft);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: var(--gold-tint);
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { justify-content: center; }
.breadcrumb { font-size: 0.8rem; color: var(--ink-muted); margin-top: 10px; }
.breadcrumb a { color: var(--gold-dark); }

/* ==========================================================================
   20. UTILITÁRIOS
   ========================================================================== */
.text-center { text-align: center; }
.mt-lg { margin-top: 40px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.bg-soft { background: var(--bg-soft); }

/* ==========================================================================
   21. MODO INFANTIL — base neutra (bege) em todo o site; turquesa, laranja,
   roxo e rosa entram só como acentos pequenos e alternados (botões, ícones,
   bordas, títulos) — nunca como fundo de seção inteira. Turquesa e laranja
   nunca aparecem no mesmo elemento/seção para não ficarem sobrepostos:
   turquesa segue como cor-base de ícones/links/bordas; laranja fica restrito
   aos botões de CTA (.btn-cta-orange) e outline/ghost; roxo só no botão do
   hero e em detalhes pontuais (foco de teclado); rosa no scroll-cue do hero
   e nos hovers do rodapé.
   ========================================================================== */
[data-theme="infantil"] .btn-outline { border-color: var(--accent-2); }
[data-theme="infantil"] .btn-outline:hover { background: rgba(232, 98, 42, 0.12); }
[data-theme="infantil"] .btn-ghost { text-decoration-color: var(--accent-2); }

[data-theme="infantil"] .footer-social a:hover { border-color: var(--pink-accent); background: rgba(214, 49, 122, 0.15); }
[data-theme="infantil"] .radio-pill input { accent-color: var(--pink-accent); }

/* roxo: só acento pontual (foco de teclado) fora do hero */
[data-theme="infantil"] .nav-toggle:focus-visible,
[data-theme="infantil"] .mode-switch-track:focus-visible { outline-color: var(--purple-accent); }

/* botão de CTA (Monte seu evento + CTAs finais de orçamento/agendar visita):
   laranja sólido, nunca dividindo espaço com o turquesa */
[data-theme="infantil"] .btn-cta-orange {
  background: var(--accent-4);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(232, 98, 42, 0.45);
}
[data-theme="infantil"] .btn-cta-orange:hover { box-shadow: 0 12px 26px -8px rgba(232, 98, 42, 0.55); }

/* "Monte seu evento": vira um cartão claro sobre o fundo bege da seção,
   em vez de bloco cheio de cor */
[data-theme="infantil"] .builder {
  background: var(--bg-card);
  color: var(--ink);
  border: 1px solid var(--border);
}
[data-theme="infantil"] .builder .section-head h2,
[data-theme="infantil"] .builder .section-head p { color: var(--ink); }
[data-theme="infantil"] .builder .section-head p { color: var(--ink-soft); }
[data-theme="infantil"] .builder-form label { color: var(--ink-soft); }
[data-theme="infantil"] .builder-form select,
[data-theme="infantil"] .builder-form input {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--ink);
}

/* hero/banner principal: vídeo (hero-infantil.mp4) + overlay escuro voltam
   a aparecer no modo Kids; o glow multicolor segue escondido (era colorido
   demais) e cada cor viva do modo Kids vira um acento pequeno e isolado
   (turquesa no rótulo, roxo no botão principal, laranja na borda do botão
   secundário, rosa no detalhe do scroll-cue) */
[data-theme="infantil"] .hero-color-glow {
  display: none;
}
[data-theme="infantil"] .hero-content .eyebrow { color: var(--accent-1); }
[data-theme="infantil"] .hero-content .eyebrow::before { background: var(--accent-1); }
[data-theme="infantil"] .hero .btn-primary {
  background: var(--purple-accent);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(107, 63, 160, 0.45);
}
[data-theme="infantil"] .hero .btn-primary:hover { box-shadow: 0 12px 26px -8px rgba(107, 63, 160, 0.55); }
[data-theme="infantil"] .hero-btn-outline {
  border-color: var(--accent-4);
}
[data-theme="infantil"] .hero-btn-outline:hover { background: rgba(232, 98, 42, 0.18); }
[data-theme="infantil"] .hero-scroll-cue::after { background: var(--pink-accent); }

/* ==========================================================================
   16. DESTAQUE DO SWITCH INFANTIL/ADULTO (coachmark de primeira visita)
   Halo dourado + leve balanço no botão, e um balãozinho de dica. Cor fixa
   (não usa --gold, que muda para verde-água no modo infantil) porque o
   convite é sempre para "vir conhecer o modo Kids".
   ========================================================================== */
.mode-switch.is-spotlight .mode-switch-track {
  animation: zoom-spotlight-glow 2.4s ease-in-out infinite,
             zoom-spotlight-swing 3.6s ease-in-out infinite;
}
@keyframes zoom-spotlight-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(181, 131, 74, 0), 0 0 12px 1px rgba(181, 131, 74, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(181, 131, 74, 0.16), 0 0 20px 5px rgba(181, 131, 74, 0.55); }
}
/* balanço comprimido nos primeiros ~44% do ciclo (~2 idas-e-vindas), e parado
   pelo resto (~2s de pausa) — repete pra sempre até a pessoa clicar no switch */
@keyframes zoom-spotlight-swing {
  0%, 44.4%, 100% { transform: translateX(0); }
  8.9% { transform: translateX(-4px); }
  17.8% { transform: translateX(3px); }
  26.7% { transform: translateX(-2px); }
  35.6% { transform: translateX(1px); }
}

.zoom-coachmark {
  position: fixed;
  z-index: 999;
  max-width: min(230px, calc(100vw - 24px));
  padding: 10px 32px 10px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2a2118, #1c1712);
  border: 1px solid rgba(181, 131, 74, 0.45);
  box-shadow: 0 16px 32px -14px rgba(0, 0, 0, 0.5);
  color: #fff;
  font-family: var(--font-sans, inherit);
  font-size: 0.8rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.zoom-coachmark.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.zoom-coachmark-close {
  position: absolute;
  top: 4px; right: 4px;
  width: 22px; height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  line-height: 1;
}
.zoom-coachmark-close:hover,
.zoom-coachmark-close:focus-visible { background: rgba(255, 255, 255, 0.14); color: #fff; }
