/* ================================================================
   BIGPIRES — PÁGINA SHOWROOM
   catalog/view/stylesheet/bigpires-showroom.css
   ================================================================ */

/* ================================================================
   1. HERO — imagem fullwidth 90vh
   ================================================================ */

.bp-showroom__hero {
  width: 100%;
  height: 90vh;
  min-height: 500px;
  overflow: hidden;
  display: block;
}

.bp-showroom__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ================================================================
   2. GALERIA — título + grid fotos/vídeo
   ================================================================ */

.bp-showroom__gallery {
  background: #fff;
  padding: 80px 0 100px;
}

.bp-showroom__gallery-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Cabeçalho da secção ── */
.bp-showroom__gallery-header {
  text-align: center;
  margin-bottom: 48px;
}

.bp-showroom__gallery-title {
  font-family: 'Palanquin', sans-serif;
  font-size: 2.75rem;
  font-weight: 400;
  color: #39323D;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.bp-showroom__gallery-title strong {
  font-weight: 700;
}

.bp-showroom__gallery-sub {
  font-family: 'Palanquin', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #6b4fa0;
  text-transform: uppercase;
  margin: 0;
}

/* ── Grid: 2 colunas de fotos + 1 coluna de vídeo ── */
.bp-showroom__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 16px;
  align-items: stretch;
}

/* Colunas de fotos (flex vertical) */
.bp-showroom__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bp-showroom__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  flex-shrink: 0;
}

/* Coluna do vídeo — estica para igualar a altura das fotos */
.bp-showroom__video-wrap {
  border-radius: 12px;
  overflow: hidden;
  align-self: stretch;
}

/* YouTube lite embed no showroom (layout diferente: sem aspect-ratio, usa min-height) */
.bp-showroom__video-wrap {
  position: relative;
}

.bp-showroom__video-wrap .bp-yt-lite {
  position: relative;
  inset: unset;
  width: 100%;
  min-height: 480px;
}

.bp-showroom__video-wrap .bp-yt-lite img {
  position: relative;
  inset: unset;
  min-height: 480px;
}

.bp-showroom__video-wrap .bp-yt-lite-active {
  min-height: 480px;
}

/* ================================================================
   3. SECÇÃO LOCALIZAÇÃO — texto + mapa
   ================================================================ */

.bp-showroom__location {
  background: #f5f5f5;
  padding: 80px 0;
}

.bp-showroom__location-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: center;
}

/* ── Título: pin + "Onde estamos" / "Localizados?" ── */
.bp-showroom__location-title {
  font-family: 'Palanquin', sans-serif;
  margin: 0 0 2.5rem;
  line-height: 1.2;
}

.bp-showroom__location-title .line1 {
  display: block;
  font-size: 2.5rem;
  font-weight: 400;
  color: #39323D;
}

.bp-showroom__location-title .line1 .fa-location-dot {
  color: #6b4fa0;
}

.bp-showroom__location-title .line2 {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #39323D;
}

/* ── Label "Showroom" ── */
.bp-showroom__location-label {
  font-family: 'Palanquin', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #6b4fa0;
  margin: 0 0 0.5rem;
}

/* ── Morada ── */
.bp-showroom__location-address {
  font-family: 'Palanquin', sans-serif;
  font-size: 0.95rem;
  color: #39323D;
  line-height: 1.75;
  margin: 0 0 2rem;
  font-style: normal;
}

/* ── Botão "Agendar uma visita" ── */
.bp-showroom__location-btn {
  display: inline-block;
  font-family: 'Palanquin', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1.75rem;
  background: #6b4fa0;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.22s;
}

.bp-showroom__location-btn:hover {
  background: #4e3580;
  color: #fff;
  text-decoration: none;
}

/* ── Mapa ── */
.bp-showroom__location-map {
  height: 480px;
  border-radius: 8px;
  overflow: hidden;
}

.bp-showroom__location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ================================================================
   4. RESPONSIVO
   ================================================================ */

@media (max-width: 991.98px) {
  .bp-showroom__gallery-title {
    font-size: 2.1rem;
  }

  .bp-showroom__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .bp-showroom__video-wrap {
    grid-column: 1 / -1;
    align-self: auto;
  }

  .bp-showroom__video-wrap .bp-yt-lite,
  .bp-showroom__video-wrap .bp-yt-lite img,
  .bp-showroom__video-wrap .bp-yt-lite-active {
    min-height: 360px;
  }

  .bp-showroom__location-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bp-showroom__location-map {
    height: 360px;
  }
}

@media (max-width: 575.98px) {
  .bp-showroom__hero {
    height: 60vh;
  }

  .bp-showroom__gallery {
    padding: 56px 0 72px;
  }

  .bp-showroom__gallery-inner,
  .bp-showroom__location-inner {
    padding: 0 24px;
  }

  .bp-showroom__gallery-title {
    font-size: 1.75rem;
  }

  .bp-showroom__grid {
    grid-template-columns: 1fr;
  }

  .bp-showroom__video-wrap {
    grid-column: 1;
  }

  .bp-showroom__video-wrap .bp-yt-lite,
  .bp-showroom__video-wrap .bp-yt-lite img,
  .bp-showroom__video-wrap .bp-yt-lite-active {
    min-height: 280px;
  }

  .bp-showroom__location-title .line1,
  .bp-showroom__location-title .line2 {
    font-size: 1.85rem;
  }

  .bp-showroom__location-map {
    height: 280px;
  }
}
