/**
 * PARALLAX SECTION - Microlins Bauru Centro
 */

/* ── SECTION ── */
.prlx-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #00236b;
}

/* ── BACKGROUND IMAGE ── */
.prlx-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.prlx-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ── OVERLAY ── */
.prlx-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 20, 80, 0.50) 0%,
      rgba(0, 20, 80, 0.72) 50%,
      rgba(0, 20, 80, 0.88) 100%
    );
}

/* ── CONTENT ── */
.prlx-body {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
  max-width: 860px;
  width: 100%;
  padding: 2rem 1.5rem;
  animation: prlx-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes prlx-in {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ── BADGE ── */
.prlx-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
  animation: prlx-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.prlx-badge-dot {
  width: 6px;
  height: 6px;
  background: #FFCC00;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px #FFCC00;
  animation: prlx-dot 2s ease-in-out infinite;
}

@keyframes prlx-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ── TITLE ── */
.prlx-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  animation: prlx-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.prlx-title em {
  font-style: normal;
  color: #FFCC00;
  display: block;
}

/* ── SUBTITLE ── */
.prlx-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  animation: prlx-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

/* ── BUTTONS ── */
.prlx-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  animation: prlx-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.prlx-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFCC00;
  color: #00236b;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 20px rgba(255, 204, 0, 0.35);
  white-space: nowrap;
}

.prlx-btn-primary:hover {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 204, 0, 0.45);
}

.prlx-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.prlx-btn-outline:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.75);
  transform: translateY(-2px);
}

/* ── STATS BAR ── */
.prlx-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.25rem 2rem;
  backdrop-filter: blur(12px);
  animation: prlx-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.prlx-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
}

.prlx-stat strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFCC00;
  line-height: 1;
  letter-spacing: -0.02em;
}

.prlx-stat span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.2rem;
  white-space: nowrap;
}

.prlx-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* ── SCROLL INDICATOR ── */
.prlx-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: prlx-scroll 2.5s ease-in-out infinite;
  cursor: pointer;
}

@keyframes prlx-scroll {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 1;   transform: translateX(-50%) translateY(6px); }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .prlx-section {
    min-height: 100svh;
  }

  .prlx-stats {
    gap: 0;
    padding: 1rem;
  }

  .prlx-stat {
    padding: 0 1rem;
  }

  .prlx-stat strong {
    font-size: 1.4rem;
  }

  .prlx-stat span {
    font-size: 0.68rem;
  }

  .prlx-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .prlx-sub br {
    display: none;
  }

  .prlx-scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .prlx-stat {
    padding: 0 0.6rem;
  }

  .prlx-stat-divider {
    height: 30px;
  }

  .prlx-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .prlx-btn-primary,
  .prlx-btn-outline {
    justify-content: center;
  }
}

/* ── ANIMAÇÕES GERAIS (scroll, hover, etc) ── */
.scroll-animate {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .prlx-body,
  .prlx-badge,
  .prlx-title,
  .prlx-sub,
  .prlx-actions,
  .prlx-stats {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .prlx-badge-dot {
    animation: none;
  }

  .prlx-scroll {
    animation: none;
    opacity: 0.5;
  }
}
