/* ================================================================
   BIGPIRES — PÁGINA SOBRE NÓS (information/bigpires)
   catalog/view/stylesheet/bigpires-sobre.css
   ================================================================ */

/* ================================================================
   1. HERO — slideshow CSS
   ================================================================ */

.bp-sobre__hero {
  position: relative;
  width: 100%;
  height: 48vh;
  min-height: 300px;
  overflow: hidden;
}

/* 4 slides com animação CSS */
.bp-sobre__hero-slides {
  position: absolute;
  inset: 0;
}

.bp-sobre__hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: bpHeroFade 20s infinite;
}

.bp-sobre__hero-slide:nth-child(1) {
  animation-delay: 0s;
}

.bp-sobre__hero-slide:nth-child(2) {
  animation-delay: 5s;
}

.bp-sobre__hero-slide:nth-child(3) {
  animation-delay: 10s;
}

.bp-sobre__hero-slide:nth-child(4) {
  animation-delay: 15s;
}

@keyframes bpHeroFade {
  0% {
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  25% {
    opacity: 1;
  }

  30% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* Overlay escuro suave sobre o hero */
.bp-sobre__hero-slides::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

/* ================================================================
   2. QUEM SOMOS — logo + texto + vídeo YouTube
   ================================================================ */

.bp-sobre__intro {
  background: #fff;
  padding: 80px 0 72px;
}

.bp-sobre__intro-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Coluna esquerda */
.bp-sobre__intro-left {
  display: flex;
  flex-direction: column;
}

.bp-sobre__intro-logo {
  width: 120px;
  height: auto;
  display: block;
  margin-bottom: 28px;
}

.bp-sobre__intro-heading {
  font-family: 'Palanquin', sans-serif;
  font-size: 3rem;
  font-weight: 400;
  color: #39323D;
  line-height: 1.1;
  margin: 0 0 14px;
}

.bp-sobre__intro-heading strong {
  font-weight: 700;
}

.bp-sobre__intro-sub {
  font-family: 'Palanquin', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b4fa0;
  margin: 0 0 24px;
}

.bp-sobre__intro-text p {
  font-family: 'Palanquin', sans-serif;
  font-size: 0.92rem;
  color: #39323D;
  line-height: 1.8;
  margin: 0 0 14px;
}

.bp-sobre__intro-text p:last-child {
  margin-bottom: 0;
}

/* Coluna direita — vídeo YouTube portrait */
.bp-sobre__intro-right {
  display: flex;
  justify-content: center;
}

.bp-sobre__video-wrap {
  position: relative;
  width: 100%;
  max-width: 340px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(107, 79, 160, 0.18);
  aspect-ratio: 9 / 16;
}

/* iframe do vídeo portrait (autoplay + loop) */
.bp-sobre__video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── YouTube lite embed — usado no showroom ── */
.bp-yt-lite {
  position: relative;
  cursor: pointer;
  background: #000;
  display: block;
  width: 100%;
  height: 100%;
}

.bp-yt-lite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .2s;
}

.bp-yt-lite:hover img {
  opacity: 0.82;
}

.bp-yt-lite__btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 45px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,.55));
  transition: transform .2s;
}

.bp-yt-lite:hover .bp-yt-lite__btn {
  transform: translate(-50%, -50%) scale(1.13);
}

/* iframe injectado pelo JS ao clicar */
.bp-yt-lite-active {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ================================================================
   3. MISSÃO & VISÃO — dois cards escalonados
   ================================================================ */

.bp-sobre__mv {
  background: #fff;
  padding: 80px 0 0;
  overflow: visible;
}

.bp-sobre__mv-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Card base */
.bp-sobre__card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(107, 79, 160, 0.10);
  overflow: hidden;
}

.bp-sobre__card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.bp-sobre__card-body {
  padding: 36px 36px 40px;
}

.bp-sobre__card-title {
  font-family: 'Palanquin', sans-serif;
  font-size: 2rem;
  font-weight: 400;
  color: #39323D;
  margin: 0 0 14px;
}

.bp-sobre__card-text {
  font-family: 'Palanquin', sans-serif;
  font-size: 0.92rem;
  color: #555;
  line-height: 1.75;
  margin: 0;
}

/* Card Visão: offset para baixo */
.bp-sobre__card--visao {
  margin-top: 80px;
  box-shadow: 0 4px 32px rgba(107, 79, 160, 0.18);
}

/* Imagem no fundo do card Visão */
.bp-sobre__card--visao .bp-sobre__card-img {
  order: 2;
  z-index: 2;
}

.bp-sobre__card--visao .bp-sobre__card-body {
  order: 1;
}

.bp-sobre__card--visao {
  display: flex;
  flex-direction: column;
}

/* ================================================================
   4. BIGPIRES LETTERING — marca d'água + imagem destaque
   ================================================================ */

.bp-sobre__lettering {
  position: relative;
  background: #fff;
  overflow: hidden;
  margin-top: -60px;
  height: 50vh;
}

/* Imagem destaque flutuante */
.bp-sobre__lettering-feature {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-bottom: -30px;
}

.bp-sobre__lettering-feature-img {
  width: 320px;
  max-width: 90%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(107, 79, 160, 0.18);
  border: 2px solid rgba(107, 79, 160, 0.12);
  display: block;
  object-fit: cover;
}

/* BigPires wordmark */
.bp-sobre__lettering-wordmark {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  height: auto;
  opacity: 1;
}

/* ================================================================
   5. MÓDULOS DO BACKOFFICE (content_top / content_bottom)
   ================================================================ */

.bp-sobre__modules {
  background: #fff;
  padding: 0 0 40px;
}

/* ================================================================
   6. RESPONSIVO
   ================================================================ */

@media (max-width: 991.98px) {
  .bp-sobre__intro-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 40px;
  }

  .bp-sobre__video-wrap {
    max-width: 280px;
    margin: 0 auto;
  }

  .bp-sobre__mv-inner {
    grid-template-columns: 1fr;
    padding: 0 40px;
  }

  .bp-sobre__card--visao {
    margin-top: 0;
  }

  .bp-sobre__lettering-feature-img {
    width: 220px;
  }
}

@media (max-width: 575.98px) {
  .bp-sobre__hero {
    height: 36vh;
    min-height: 200px;
  }

  .bp-sobre__intro {
    padding: 56px 0 48px;
  }

  .bp-sobre__intro-inner {
    padding: 0 24px;
    gap: 36px;
  }

  .bp-sobre__intro-heading {
    font-size: 2.2rem;
  }

  .bp-sobre__mv-inner {
    padding: 0 24px;
  }

  .bp-sobre__card-body {
    padding: 24px 24px 28px;
  }

  .bp-sobre__card-title {
    font-size: 1.6rem;
  }

  .bp-sobre__lettering {
    padding-top: 40px;
  }
}