/* ==========================================================================
   Doolance — design tokens
   ========================================================================== */
@font-face {
  font-family: 'Bebas Neue';
  src: url('/fonts/BebasNeue.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('/fonts/Jost.ttf') format('truetype');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #121212;
  --bg-2: #1a0209;
  --bg-gradient: linear-gradient(120deg, #121212 0%, #2c0009 100%);
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f1eeee;
  --text-muted: #b3adad;
  --text-faint: #837c7c;
  --primary: #c70039;
  --primary-2: #ff5a6e;
  --primary-gradient: linear-gradient(135deg, #c70039 0%, #ff4d6a 100%);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --container-xs: 30rem;
  --container-sm: 40rem;
  --container-md: 52rem;
  --container-lg: 68rem;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--bg) var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Jost', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 2px solid var(--primary-2);
  outline-offset: 2px;
}

.font-bebas { font-family: 'Bebas Neue', sans-serif; letter-spacing: .02em; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container { width: 100%; margin: 0 auto; padding: 0 1.25rem; }
.container-xs { max-width: var(--container-xs); }
.container-sm { max-width: var(--container-sm); }
.container-md { max-width: var(--container-md); }
.container-lg { max-width: var(--container-lg); }

.section { padding: 3rem 0; }
.stack-sm > * + * { margin-top: .75rem; }
.stack-md > * + * { margin-top: 1.25rem; }
.stack-lg > * + * { margin-top: 2.5rem; }
.text-center { text-align: center; }
.text-muted { color: var(--text-faint); }

main { display: block; padding-top: var(--header-h); }

.page-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
  margin: 1rem 0;
}
.page-subtitle {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  margin: 0 0 1rem;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.menu-toggle-input { position: absolute; opacity: 0; pointer-events: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(18, 18, 18, 0.35);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease;
}

.site-header-inner {
  height: 100%;
  max-width: 82rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; }

.main-nav {
  flex: 1;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.main-nav-links {
  display: flex;
  gap: 1.75rem;
  font-weight: 600;
  font-size: .95rem;
}
.main-nav-links a {
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.main-nav-links a:hover,
.main-nav-links a[aria-current="page"] {
  border-color: var(--primary-2);
  color: #fff;
}

.menu-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  font-size: .85rem;
  color: var(--text);
  user-select: none;
}

@media (min-width: 761px) {
  .main-nav { display: flex; }
  .menu-btn { display: none; }
}

.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 45;
}

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(85vw, 320px);
  background: #161112;
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 46;
  overflow-y: auto;
  padding-bottom: 1rem;
}

.menu-toggle-input:checked ~ .drawer-backdrop { opacity: 1; pointer-events: auto; }
.menu-toggle-input:checked ~ .drawer { transform: translateX(0); }

.drawer-header {
  padding: 1.25rem 1.25rem .5rem;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-faint);
}
.drawer-link {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .85rem 1.25rem;
  border-top: 1px solid var(--border);
}
.drawer-link-title { font-weight: 600; }
.drawer-link-caption { font-size: .8rem; color: var(--text-faint); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  justify-content: center;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary-gradient); color: #fff; box-shadow: 0 6px 18px rgba(199,0,57,.35); }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(199,0,57,.45); }
.btn-light { background: #fff; color: #121212; }
.btn-outline { border-color: rgba(255,255,255,.4); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: #fff; }
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }
.btn-xs { padding: .35rem .85rem; font-size: .75rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 480px;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(10,0,4,.55) 65%, rgba(18,18,18,.95) 100%);
}
.hero-content { max-width: 40rem; }
.hero-title {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1;
  margin: 0;
  color: #f5f2f2;
}
.hero-rule {
  width: 5rem;
  border: none;
  border-top: 2px solid var(--primary-2);
  margin: 1rem auto;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: #e4dede;
  margin: 0 0 1.75rem;
}

/* ==========================================================================
   Banner cards (image + overlay CTA)
   ========================================================================== */
.banners-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 60rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.banner-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  height: var(--banner-h, 20rem);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.banner-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.banner-card:hover img { transform: scale(1.04); }
.banner-card-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.65) 100%);
}
.banner-card-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
  margin: 0 0 .5rem;
  color: #fff;
}
.banner-card-caption {
  max-width: 26rem;
  margin: 0 0 1rem;
  color: #e9e5e5;
  font-size: 1rem;
}

/* ==========================================================================
   Cards / alerts
   ========================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-pad { padding: 1.1rem 1.25rem; }

.alert {
  border-radius: var(--radius-sm);
  padding: .9rem 1.1rem;
  border: 1px solid;
  font-size: .95rem;
}
.alert a { text-decoration: underline; }
.alert-info { background: rgb(3,40,48); border-color: rgb(8,121,144); color: rgb(140,229,248); }
.alert-warning { background: rgb(51,39,1); border-color: rgb(153,116,4); color: rgb(255,218,106); }
.alert-error { background: rgb(44,11,14); border-color: rgb(132,32,41); color: rgb(234,134,143); }
.alert-success { background: rgb(5,27,17); border-color: rgb(15,81,50); color: rgb(117,183,152); }

/* ==========================================================================
   Prose (long-form content pages)
   ========================================================================== */
.prose h2 {
  font-size: 1.4rem;
  color: var(--primary-2);
  margin: 0 0 0.25rem;
  font-weight: 600;
}
.prose hr { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }
.prose p { margin: 0 0 .9rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 .9rem; }
.prose li { margin-bottom: .4rem; }
.prose a { text-decoration: underline; }
.prose strong { color: #fff; }
.prose-label { font-size: 1.05rem; color: #ffda6a; margin: 0 0 .35rem; font-weight: 600; }
.prose-eyebrow { letter-spacing: .1em; color: var(--text-faint); margin-top: -.75rem; }

.video-embed { position: relative; width: 100%; }
.video-embed iframe { width: 100%; aspect-ratio: 16/9; height: auto; border-radius: var(--radius); border: 1px solid var(--border); }

/* ==========================================================================
   Price table
   ========================================================================== */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.price-table th, .price-table td {
  padding: .75rem 1rem;
  text-align: left;
}
.price-table thead tr { background: rgba(255,255,255,.06); }
.price-table th { font-weight: 700; }
.price-table th:last-child, .price-table td:last-child { width: 8rem; }
.price-table tbody tr + tr { border-top: 1px solid var(--border); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem;
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery-item {
  margin: 0;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .6rem .75rem .5rem;
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 100%);
  display: flex; flex-direction: column;
}
.gallery-item-title { font-weight: 600; font-size: .9rem; }
.gallery-item-caption { font-size: .75rem; color: var(--text-faint); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .9rem 1.1rem;
  transition: border-color .2s ease;
}
a.contact-item:hover { border-color: var(--primary-2); }
.contact-avatar {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.contact-avatar-green { background: #25b358; }
.contact-avatar-insta { background: radial-gradient(circle at 30% 107%, #fdf497 0, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.contact-avatar-blue { background: #2062cc; }
.contact-avatar-grey { background: #565656; }
.contact-body { flex: 1; display: flex; flex-direction: column; gap: .1rem; }
.contact-caption { font-size: .78rem; color: var(--text-faint); }
.contact-value { font-size: 1rem; }

/* ==========================================================================
   Programação / schedule
   ========================================================================== */
.eventos-especiais { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.event-card-wrap { max-width: 100% }
.event-card { }
.event-card video, .event-card img {
  display: block;
  width: 100%;
  max-height: 38rem;
  object-fit: contain;
  background: #000;
  margin: 0 auto;
}
.event-card-organizador {
  text-align: center;
  padding: .5rem 1.1rem 0;
  font-size: .85rem;
  color: var(--text-faint);
}
.event-card-organizador strong { color: var(--text); }
.schedule-card { padding: .5rem 0 .75rem; max-width: 44rem; margin: 0 auto; }
.schedule-list { list-style: none; margin: 0; padding: 0; }
.schedule-month-header {
  padding: 1.5rem 1.5rem .6rem;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--primary-2);
}
.schedule-list > .schedule-month-header:first-child { padding-top: 1rem; }

.schedule-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  transition: background .2s ease;
}
.schedule-item:hover { background: rgba(255, 255, 255, 0.025); }
.schedule-item-past { opacity: .5; }
.schedule-item-past .schedule-item-meta,
.schedule-item-past .schedule-item-title { text-decoration: line-through; }

/* Calendar-style date tile */
.cal-badge {
  flex-shrink: 0;
  width: 54px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
}
.cal-badge-dow {
  display: block;
  background: var(--primary-gradient);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .25rem 0;
}
.cal-badge-day {
  display: block;
  background: var(--surface-strong);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  padding: .4rem 0 .35rem;
  color: #fff;
}
.schedule-item-past .cal-badge-dow { background: #4a4a4a; }
.schedule-item-past .cal-badge { box-shadow: none; }

.schedule-item-body { display: flex; flex-direction: column; gap: .3rem; min-width: 0; padding-top: .1rem; }
.schedule-item-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: .01em;
  color: #fff;
}
.schedule-item-title-muted {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
  color: var(--text-faint);
}
.schedule-item-meta {
  font-size: .82rem;
  color: var(--text-faint);
  text-transform: capitalize;
  order: -1;
}
.schedule-item-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .1rem; }
.badge { font-size: .7rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; white-space: nowrap; }
.badge-teal { background: #0f6b63; color: #a6f5eb; }
.badge-amber { background: #6b4a0f; color: #ffd8a8; }
.badge-doolance { background: rgba(199, 0, 57, .18); color: #ff9fae; border: 1px solid rgba(199, 0, 57, .5); }

@media (max-width: 480px) {
  .schedule-item { padding: .85rem 1.1rem; gap: .85rem; }
  .cal-badge { width: 46px; }
  .cal-badge-day { font-size: 1.25rem; }
  .schedule-item-title { font-size: 1.3rem; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding: 2.5rem 1.25rem 2rem;
}
.site-footer-inner {
  max-width: 60rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
.site-footer-brand { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.site-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; font-size: .9rem; }
.site-footer-links a:hover { color: var(--primary-2); }
.site-footer-social { display: flex; gap: 1rem; }
.site-footer-social a { opacity: .85; }
.site-footer-social a:hover { opacity: 1; color: var(--primary-2); }
.site-footer-legal { font-size: .78rem; color: var(--text-faint); margin: 0; }

.whatsapp-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 52px; height: 52px;
  border-radius: 999px;
  background: #25b358;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
  z-index: 30;
  transition: transform .2s ease;
}
.whatsapp-fab:hover { transform: scale(1.06); }
