:root {
  --bg-dark: #05070d;
  --bg-card: rgba(12, 16, 26, 0.72);
  --gold: #d8c292;
  --gold-light: #f3e5c3;
  --gold-border: rgba(216, 194, 146, 0.35);
  --text-main: #edeae4;
  --text-muted: #b6b2a8;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Cinzel', serif;
  --font-sans: 'Montserrat', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  background-image: url('../assets/img/bg-cosmos.jpg');
  background-size: cover;
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 92%;
  max-width: 1220px;
  margin: 0 auto;
}

/* =========================
   VIDEO INTRO OVERLAY
========================= */
.video-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.video-intro.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-intro video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-controls {
  position: absolute;
  bottom: 28px;
  right: 28px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.btn-intro-control {
  background: rgba(5, 7, 13, 0.7);
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: 0.3s ease;
}

.btn-intro-control:hover {
  background: var(--gold);
  color: #05070d;
}

/* =========================
   BOTÕES DOURADOS
========================= */
.btn-gold-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--gold-border);
  background: rgba(10, 14, 24, 0.55);
  color: var(--gold-light);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.btn-gold-outline:hover {
  border-color: var(--gold);
  background: rgba(216, 194, 146, 0.16);
  box-shadow: 0 0 18px rgba(216, 194, 146, 0.25);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 10px;
}

.btn-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* =========================
   HEADER
========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 14px 0;
  border-bottom: 1px solid rgba(216, 194, 146, 0.15);
  background: linear-gradient(to bottom, rgba(5, 7, 13, 0.9), rgba(5, 7, 13, 0.2));
  backdrop-filter: blur(8px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 74px;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-top {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
}

.brand-bottom {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 4px;
  color: var(--gold-light);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--gold-light);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold);
}

/* =========================
   HERO SECTION
========================= */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 150px 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(5, 7, 13, 0.82) 10%, rgba(5, 7, 13, 0.2) 55%, rgba(5, 7, 13, 0.65) 100%),
    linear-gradient(to top, var(--bg-dark) 4%, transparent 35%),
    url('../assets/img/hero-banner.svg');
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 360px;
  align-items: center;
  gap: 40px;
}

.hero-left h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.hero-left h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 14px;
}

.hero-highlight {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--gold-light);
  margin-bottom: 32px;
}

/* CARD EVENTOS */
.events-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(12px);
}

.events-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(216, 194, 146, 0.2);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--gold-light);
}

.icon-sm {
  width: 24px;
  height: 24px;
}

.icon-xs {
  width: 16px;
  height: 16px;
  opacity: 0.9;
}

.events-list {
  list-style: none;
}

.event-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(216, 194, 146, 0.14);
  transition: transform 0.2s ease;
}

.event-item:hover {
  transform: translateX(4px);
}

.event-item h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 4px;
}

.event-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--gold);
}

.events-footer-link {
  display: block;
  text-align: right;
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold-light);
}

/* =========================
   4 PILARES
========================= */
.pillars {
  padding: 60px 0;
}

.pillars-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.pillars-grid::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-border), transparent);
  z-index: 0;
}

.pillar-item {
  position: relative;
  z-index: 1;
}

.pillar-circle {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-circle img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

.pillar-item p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold-light);
  line-height: 1.3;
}

/* =========================
   EXPERIENCIAS HTM
========================= */
.experiences {
  padding: 40px 0 60px;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
}

.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-border), transparent);
}

.section-divider span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 3px;
  color: var(--gold-light);
}

.exp-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
}

.exp-card {
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  position: relative;
}

.exp-card-featured {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
}

.exp-media {
  position: relative;
  height: 100%;
  min-height: 290px;
}

.exp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  padding: 0;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.play-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.75));
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  filter: brightness(1.15);
}

.exp-body {
  padding: 28px;
}

.exp-body h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 3px;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.exp-lead {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.3;
}

.exp-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.exp-card-vertical {
  min-height: 290px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  text-align: center;
}

.exp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 7, 13, 0.95) 25%, rgba(5, 7, 13, 0.25) 100%);
}

.exp-content-bottom {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 24px 18px;
}

.exp-content-bottom h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.exp-content-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* =========================
   BANNER AGENDA TU CITA
========================= */
.cta-section {
  padding: 10px 0 70px;
}

.cta-banner {
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  padding: 30px 36px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 13, 0.65);
}

.cta-left,
.cta-banner .btn-gold-outline {
  position: relative;
  z-index: 1;
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 22px;
}

.cta-icon {
  width: 58px;
  height: 58px;
}

.cta-left h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold-light);
}

.cta-left p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* =========================
   FOOTER BANNER COMPLETO
========================= */
.footer {
  position: relative;
  width: 100%;
  min-height: 400px;
  padding: 64px 0 28px;
  background-color: var(--bg-dark);
  background-image:
    linear-gradient(
      to right,
      rgba(5, 7, 13, 0.78) 0%,
      rgba(5, 7, 13, 0.25) 28%,
      rgba(5, 7, 13, 0.25) 72%,
      rgba(5, 7, 13, 0.82) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(5, 7, 13, 0.9) 0%,
      rgba(5, 7, 13, 0.15) 35%,
      rgba(5, 7, 13, 0.55) 75%,
      rgba(5, 7, 13, 0.95) 100%
    ),
    url('../assets/img/fotter.svg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.footer-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  align-items: center;
  gap: 24px;
  padding-bottom: 34px;
}

.footer-socials {
  display: flex;
  gap: 22px;
  align-items: center;
}

.footer-socials img {
  width: 40px;
  height: 40px;
  opacity: 1;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.9));
  transition: 0.3s;
}

.footer-socials a:hover img {
  transform: translateY(-2px) scale(1.06);
}

.footer-brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin-bottom: 10px;
}

.footer-logo-wrap::before,
.footer-logo-wrap::after {
  content: "";
  width: 110px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-border), transparent);
}

.footer-logo {
  width: 180px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.85));
}

.footer-tagline {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 2.8px;
  color: var(--gold-light);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

.footer-quote {
  text-align: right;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 1), 0 0 18px rgba(0, 0, 0, 0.9);
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(216, 194, 146, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--text-main);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-legal a {
  color: var(--gold-light);
  transition: color 0.25s ease;
}

.footer-legal a:hover {
  color: var(--gold);
  text-decoration: underline;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 980px) {
  .hero-grid,
  .exp-grid,
  .exp-card-featured {
    grid-template-columns: 1fr;
  }

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

  .pillars-grid::before {
    display: none;
  }

  .nav,
  .btn-header {
    display: none;
  }

  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(5, 7, 13, 0.96);
    padding: 20px;
    border-bottom: 1px solid var(--gold-border);
  }

  .menu-toggle {
    display: flex;
  }

  .cta-banner,
  .footer-grid {
    flex-direction: column;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-logo-wrap::before,
  .footer-logo-wrap::after {
    width: 55px;
  }

  .footer-quote {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}