/* Página Sobre Nós */
.hero-about {
  --hero-progress: 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-top: var(--nav-height);
}

.hero-about .hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  background-image: url('../Fotos/empresa.webp');
  background-size: cover;
  background-position: center;
}

.hero-about .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.65), rgba(0,0,0,0.25));
  z-index: 2;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.hero-about .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: calc(50% + 21.4% * var(--hero-progress, 0)) center;
  z-index: 1;
}

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

.hero-about .hero-left {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-about .hero-copy {
  opacity: calc(1 - var(--hero-progress, 0));
  transform: translate3d(0, calc(28px * var(--hero-progress, 0)), 0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-logo-desktop {
  display: none;
}

.hero-logo-motion {
  display: none;
}

.hero-logo-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
  filter: saturate(1.7) contrast(1.15) brightness(1.08);
}

.hero-logo-desktop .hero-logo-video {
  max-width: 2800px;
}

.hero-logo-motion .hero-logo-video {
  width: clamp(700px, 82vw, 420px);
  margin: 0 auto;
}

.hero-about.hero-mobile-controlled {
  min-height: 100vh;
}

.hero-about.hero-mobile-controlled .hero-video {
  transition: object-position 0.25s ease;
}

.hero-about.hero-mobile-controlled .hero-left {
  will-change: opacity, transform;
}

.hero-about.hero-mobile-controlled .hero-bg::after {
  opacity: calc(1 - var(--hero-progress, 0));
}

.hero-about .hero-left h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
}

@media (min-width: 721px) {
  .hero-about .hero-left {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-logo-desktop {
    display: block;
    position: absolute;
    right: clamp(20px, 6vw, 120px);
    top: clamp(80px, 14vh, 220px);
    width: min(800px, 45vw);
    pointer-events: none;
    z-index: 3;
  }

  .hero-logo-desktop .hero-logo-video {
    width: 100%;
    transform: none;
  }
}

.about-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  padding: 110px 0 140px;
}

.about-card {
  position: relative;
  padding: 34px 32px 38px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(240,240,255,0.8));
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: 0 30px 60px rgba(15, 15, 15, 0.12);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-card::before {
  content: "";
  position: absolute;
  inset: 12px 14px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.55);
  pointer-events: none;
}

.about-card h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #111;
  position: relative;
}

.about-card h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--accent, #C9A86B);
}

.about-card p {
  color: #3f3f3f;
  line-height: 1.75;
  font-size: 1rem;
}

@media (max-width: 720px) {
  /* Mantém empresa.webp no mobile, sem override */
  .hero-about {
    min-height: 70vh;
    text-align: center;
    padding-top: calc(var(--nav-height) + 30px);
  }

  .hero-about .hero-inner {
    justify-content: center;
  }

  .hero-about .hero-video {
    display: none;
  }

  .hero-about .hero-left {
    min-height: 260px;
  }

  .hero-logo-motion {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .hero-logo-motion.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .about-sections {
    padding: 80px 0 110px;
    gap: 24px;
  }

  .about-card {
    padding: 28px 24px 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-about {
    --hero-progress: 0 !important;
  }

  .hero-about .hero-copy {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }

  .hero-about .hero-video {
    object-position: 50% center !important;
    transition: none;
  }

  .hero-logo-motion {
    opacity: 0;
    transform: none;
    transition: none;
  }
}