/* ===== INTRO OVERLAY (Canhão de Luz) ===== */
#intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease;
}

#intro-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

#spotlight-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#intro-logo {
  position: relative;
  z-index: 2;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.1;
  opacity: 0;
  filter: blur(20px);
  transition: opacity 1s ease, filter 1s ease;
  text-shadow: 0 0 60px #ffd203aa, 0 0 120px #7c015966;
}

#intro-logo.visible {
  opacity: 1;
  filter: blur(0px);
}

/* ===== HEADER ===== */
#header {
  background: transparent;
}

#header.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 210, 3, 0.1);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Logo dynamic size */
.header-logo {
  height: 5rem; /* Equivale a h-20 */
}

#header.scrolled .header-logo {
  height: 3.5rem; /* Equivale a h-14 */
}


/* Nav Links */
.nav-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffd203;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #ffd203;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-link {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.mobile-link:hover {
  color: #ffd203;
}

/* ===== HERO ===== */
.hero-bg {
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-bg.zoomed {
  transform: scale(1);
}

/* Beam effects */
.beam {
  position: absolute;
  width: 3px;
  height: 70vh;
  top: 0;
  transform-origin: top center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2s ease;
}

.beam::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, #ffd203aa, transparent);
  filter: blur(8px);
  width: 40px;
  left: -20px;
}

.beam-1 {
  left: 20%;
  background: linear-gradient(to bottom, rgba(255, 210, 3, 0), rgba(255, 210, 3, 0.6), rgba(255, 210, 3, 0));
  transform: rotate(-20deg);
  animation: sweepBeam1 3s ease-out 1.5s forwards;
}

.beam-2 {
  left: 50%;
  background: linear-gradient(to bottom, rgba(124, 1, 89, 0), rgba(124, 1, 89, 0.8), rgba(124, 1, 89, 0));
  transform: rotate(0deg);
  animation: sweepBeam2 3s ease-out 1.8s forwards;
}

.beam-3 {
  left: 80%;
  background: linear-gradient(to bottom, rgba(255, 210, 3, 0), rgba(255, 210, 3, 0.6), rgba(255, 210, 3, 0));
  transform: rotate(20deg);
  animation: sweepBeam3 3s ease-out 2.1s forwards;
}

@keyframes sweepBeam1 {
  0% {
    opacity: 0;
    transform: rotate(-40deg);
  }

  30% {
    opacity: 0.7;
  }

  100% {
    opacity: 0.4;
    transform: rotate(-15deg);
  }
}

@keyframes sweepBeam2 {
  0% {
    opacity: 0;
    transform: rotate(30deg);
  }

  30% {
    opacity: 0.6;
  }

  100% {
    opacity: 0.3;
    transform: rotate(5deg);
  }
}

@keyframes sweepBeam3 {
  0% {
    opacity: 0;
    transform: rotate(40deg);
  }

  30% {
    opacity: 0.7;
  }

  100% {
    opacity: 0.4;
    transform: rotate(15deg);
  }
}

/* Hero Title */
.hero-title {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease 0.5s;
}

.hero-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.glow-text {
  text-shadow: 0 0 40px #ffd203aa, 0 0 80px #ffd20366;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffd203;
  color: #7c0159;
  font-weight: 800;
  font-size: 1rem;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(255, 210, 3, 0.4);
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  background: white;
  color: #7c0159;
  box-shadow: 0 0 60px rgba(255, 210, 3, 0.6);
  transform: translateY(-2px) scale(1.03);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: #ffd203;
  color: #ffd203;
  transform: translateY(-2px);
}

/* Counter animate */
.counter {
  display: block;
}

/* ===== BADGE ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 210, 3, 0.1);
  border: 1px solid rgba(255, 210, 3, 0.3);
  color: #ffd203;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  background: rgba(255, 210, 3, 0.05);
  border-color: rgba(255, 210, 3, 0.2);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

.service-card:hover {
  border-color: rgba(255, 210, 3, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(124, 1, 89, 0.3);
}

.service-img-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}

.service-card:hover .service-img {
  transform: scale(1.08);
}



.service-content {
  padding: 1.75rem;
  position: relative;
}

.service-icon-wrap {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.service-tags span {
  background: rgba(255, 210, 3, 0.1);
  border: 1px solid rgba(255, 210, 3, 0.2);
  color: #ffd203;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

/* Mini service cards */
.service-card-mini {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 2rem;
  transition: all 0.4s ease;
  cursor: pointer;
}

.service-card-mini:hover {
  background: rgba(124, 1, 89, 0.15);
  border-color: rgba(255, 210, 3, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(124, 1, 89, 0.3);
}

/* ===== PORTFOLIO ===== */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  background: #111;
  width: 100%;
  height: 100%;
}

.portfolio-item img,
.portfolio-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover img,
.portfolio-item:hover video {
  transform: scale(1.08);
}

.portfolio-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(124, 1, 89, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-caption {
  opacity: 1;
}

.portfolio-caption span {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ===== DIFERENCIAIS ===== */
.diff-card {
  padding: 1.5rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.diff-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-6px);
}

/* ===== CONTACT FORM ===== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  resize: vertical;
}

.form-group select option {
  background: #1a0014;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #ffd203;
  background: rgba(255, 210, 3, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 210, 3, 0.1);
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  border-color: rgba(255, 210, 3, 0.3);
  transform: translateY(-4px);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 3rem 2.5rem;
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.testimonial-card:hover {
  background: linear-gradient(145deg, rgba(124, 1, 89, 0.1) 0%, rgba(124, 1, 89, 0.05) 100%);
  border-color: rgba(255, 210, 3, 0.3);
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 20px rgba(124, 1, 89, 0.2);
}

.quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 2.5rem;
  font-family: serif;
  font-size: 8rem;
  line-height: 1;
  color: #ffd203;
  opacity: 0.1;
  pointer-events: none;
}

.testimonial-text {
  position: relative;
  z-index: 1;
  line-height: 1.8;
}

.testimonial-author {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

/* ===== LIGHTBOX ===== */
#lightbox.active {
  display: flex !important;
  opacity: 1 !important;
}

#lightbox-content img,
#lightbox-content video {
  max-width: 100%;
  max-height: 90vh;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}

/* ===== SCROLL REVEAL ===== */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up {
  transform: translateY(50px);
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: #7c0159;
  border-radius: 9999px;
}

/* ===== SMOOTH SCROLL ===== */
html {
  scroll-behavior: smooth;
}