/* ==========================================================================
   ETNORUMOS — PRODUÇÃO DE AUDIOVISUAIS
   Clean, Ultra-Transparent Liquid Glass Landing Page
   ========================================================================== */

:root {
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --text-primary: #ffffff;
  --text-secondary: rgba(241, 245, 249, 0.9);
  --text-muted: rgba(203, 213, 225, 0.78);

  --mouse-x: 50%;
  --mouse-y: 50%;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #050811;
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ==========================================================================
   CRYSTAL-CLEAR STAGE BACKGROUND
   ========================================================================== */
.scene-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: #050811;
}

.bg-image-layer {
  position: absolute;
  inset: -2%;
  background-image: url('../assets/bg-stage-alt.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* Keep the auditorium, LED wall and lighting crisp and clearly visible */
  filter: brightness(0.95) contrast(1.05) saturate(1.1);
  transform: scale(1.02);
  animation: subtleCameraDrift 28s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes subtleCameraDrift {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.06) translate3d(-0.8%, -0.8%, 0);
  }
}

/* Very light vignette just on the outer edges so the stage shines through */
.bg-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(5, 8, 17, 0.08) 0%, rgba(5, 8, 17, 0.42) 85%, rgba(5, 8, 17, 0.72) 100%),
    linear-gradient(180deg, rgba(5, 8, 17, 0.35) 0%, transparent 25%, transparent 75%, rgba(5, 8, 17, 0.65) 100%);
}

/* ==========================================================================
   PAGE STRUCTURE & TOP BAR
   ========================================================================== */
.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.25rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #fbbf24;
  box-shadow: 0 0 10px #fbbf24;
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid #fbbf24;
  animation: pulseDot 2.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.8); opacity: 0.85; }
  100% { transform: scale(2.1); opacity: 0; }
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.28);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

/* ==========================================================================
   ULTRA-TRANSPARENT LIQUID GLASS CARD
   ========================================================================== */
.main-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.liquid-glass-card {
  position: relative;
  width: 100%;
  max-width: 720px;
  border-radius: 32px;
  /* Pure, ultra-translucent water-like liquid glass so the stage behind is clearly visible */
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.11) 0%,
    rgba(15, 23, 42, 0.18) 52%,
    rgba(255, 255, 255, 0.07) 100%
  );
  backdrop-filter: blur(10px) saturate(135%);
  -webkit-backdrop-filter: blur(10px) saturate(135%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 24px 60px -15px rgba(0, 0, 0, 0.48),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.52),
    inset 0 -1px 2px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
  animation: fadeUpGlass 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeUpGlass {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Liquid Specular Rim Highlight */
.glass-specular-rim {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.25px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.65) 0%,
    rgba(255, 255, 255, 0.12) 38%,
    rgba(255, 255, 255, 0.08) 65%,
    rgba(255, 255, 255, 0.45) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

/* Subtle Interactive Glare */
.glass-cursor-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    480px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 255, 255, 0.11),
    transparent 65%
  );
  pointer-events: none;
  z-index: 1;
}

.card-content {
  position: relative;
  z-index: 3;
  padding: clamp(2rem, 4.5vw, 3.25rem) clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

/* Free-Floating Centered Logo (No Box) */
.brand-logo {
  width: clamp(145px, 20vw, 195px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.45));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-logo:hover {
  transform: scale(1.03);
}

/* Clean Editorial Typography */
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  max-width: 22ch;
  text-wrap: balance;
}

.text-highlight {
  background: linear-gradient(95deg, #7dd3fc 0%, #bef264 55%, #fde047 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  color: var(--text-secondary);
  max-width: 54ch;
  line-height: 1.65;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

/* Minimalist Service Row */
.services-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: rgba(6, 10, 22, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.service-pill {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.service-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

/* Single Clean CTA Button */
.cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.35rem;
  width: 100%;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #070b16;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow:
    0 14px 32px -6px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.6);
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-contact:hover {
  background: #ffffff;
  transform: translateY(-3px) scale(1.015);
  box-shadow:
    0 20px 40px -6px rgba(0, 140, 255, 0.38),
    0 0 0 1px #ffffff;
}

.btn-contact:active {
  transform: translateY(0) scale(0.99);
}

.arrow-icon {
  transition: transform 0.25s ease;
}

.btn-contact:hover .arrow-icon {
  transform: translateX(4px);
}

.email-caption {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   MINIMAL FOOTER
   ========================================================================== */
.bottom-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

.footer-location {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.bottom-footer strong {
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 640px) {
  .page-wrapper {
    padding: 1rem 1rem 1.25rem;
    gap: 1.25rem;
  }

  .top-bar {
    justify-content: space-between;
    gap: 0.5rem;
  }

  .status-pill {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }

  .social-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.76rem;
  }

  .liquid-glass-card {
    border-radius: 26px;
  }

  .card-content {
    padding: 1.85rem 1.25rem;
    gap: 1.25rem;
  }

  .brand-logo {
    width: 140px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .services-row {
    border-radius: 18px;
    padding: 0.65rem 0.9rem;
    gap: 0.4rem 0.6rem;
  }

  .service-pill {
    font-size: 0.76rem;
  }

  .btn-contact {
    width: 100%;
    padding: 0.92rem 1.25rem;
  }

  .bottom-footer {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    font-size: 0.75rem;
    gap: 0.4rem;
    padding-bottom: env(safe-area-inset-bottom, 0.4rem);
  }
}

@media (max-width: 390px) {
  .top-bar {
    flex-direction: column;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-image-layer,
  .status-dot::after,
  .liquid-glass-card {
    animation: none !important;
  }
}
