/* ============================================
   O Drama da Paixão — Semana Santa 2026
   HOME / LANDING PAGE STYLES
   ============================================ */

/* ── Design Tokens ── */
:root {
  --passion-red: #d31d1d;
  --passion-red-hover: #b01818;
  --passion-glow: rgba(211, 29, 29, 0.6);
  --gold-glow: rgba(255, 215, 0, 0.6);
  --transition-speed: 0.3s;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
  background-color: #000;
  font-family: "Georgia", "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Full-Screen Cinematic Background ── */
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  will-change: transform, filter;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%),
    linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 40%);
  z-index: 2;
}

/* ── White-Out Transition Overlay ── */
.transition-overlay {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
}

/* ── Content Layer ── */
.content-layer {
  position: relative;
  z-index: 10;
  height: 100vh;
  height: 100dvh; 
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
  padding: 1rem;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* MUDANÇA: Alinha ao topo para liberar a coroa */
  justify-content: flex-start; 
  height: 100%;
  padding: 0; 
  max-width: 800px;
  width: 100%;
}

/* ── Title Block ── */
.title-block {
  opacity: 0;
  transform: translateY(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  /* MUDANÇA: Padding mínimo para grudar no topo */
  padding-top: 0.5rem; 
  margin-top: 2rem;
}

.subtitle-top {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 300;
  font-size: clamp(1.1rem, 3vw, 1.75rem);
  text-transform: uppercase;
  letter-spacing: 0.5em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.2rem;
}

.title-main {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(4.5rem, 15vw, 10rem);
  line-height: 0.85;
  color: var(--passion-red);
  text-shadow: 
    0 0 40px rgba(211, 29, 29, 0.3),
    0 4px 20px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.02em;
}

.subtitle-bottom {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-style: italic;
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.2rem;
  letter-spacing: 0.05em;
}

.subtitle-bottom .text-passion {
  color: var(--passion-red);
  font-weight: 700;
}

/* ── Actions Block ── */
.actions-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-top: auto; 
  margin-bottom: 3rem; 
}

/* ── Button Row (two CTAs side by side) ── */
.btn-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  opacity: 0;
  transform: translateY(20px);
  flex-wrap: wrap;
}

.btn-passion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--passion-red);
  color: white;
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  font-size: clamp(0.75rem, 2vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.85rem 1.8rem;
  border: 2px solid transparent;
  border-radius: 9999px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(211, 29, 29, 0.3);
  transition: 
    background-color var(--transition-speed) ease,
    transform var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.btn-passion:hover {
  background-color: var(--passion-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(211, 29, 29, 0.5);
}

.btn-passion:active {
  transform: translateY(0);
  box-shadow: 0 5px 20px rgba(211, 29, 29, 0.4);
}

.btn-passion::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.btn-passion:active::after {
  opacity: 1;
  transform: scale(2.5);
  transition: 0s;
}

/* ── Outline Variant (Entrar no Evento) ── */
.btn-passion--outline {
  background-color: transparent;
  border: 2px solid var(--passion-red);
  color: white;
  box-shadow: 0 10px 40px rgba(211, 29, 29, 0.15);
  font-size: clamp(0.65rem, 1.6vw, 0.85rem);
  padding: 0.7rem 1.4rem;
}

.btn-passion--outline:hover {
  background-color: var(--passion-red);
  border-color: var(--passion-red);
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(211, 29, 29, 0.4);
}

.btn-passion--outline:active {
  transform: translateY(0);
  box-shadow: 0 5px 20px rgba(211, 29, 29, 0.3);
}

/* ── Admin Link ── */
.admin-link-wrap {
  opacity: 0;
  transform: translateY(10px);
}

.admin-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.35);
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: clamp(0.65rem, 1.5vw, 0.8rem);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color var(--transition-speed) ease;
  -webkit-tap-highlight-color: transparent;
}

.admin-link:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* ── Responsive Adjustments ── */
@media (max-width: 640px) {
  .content-wrapper {
    padding: 0;
  }

  .title-block {
    padding-top: 0.5rem;
  }

  .btn-passion {
    padding: 0.8rem 1.5rem;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
  }

  .btn-row {
    gap: 0.6rem;
  }
}

@media (min-width: 1024px) {
  .content-wrapper {
    padding: 0;
  }

  .title-block {
    padding-top: 1rem;
  }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}