/* PR-VIBECURB-05 — integração dos assets finais/controlados. */

/* Marca Mappa: lockup horizontal discreto no desktop e símbolo no compacto. */
.vb-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: clamp(112px, 8.1vw, 138px);
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.vb-brand img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: left center;
}

.vb-brand__logo {
  width: 100%;
  height: auto;
  filter:
    brightness(1.72)
    saturate(.9)
    contrast(1.04)
    drop-shadow(0 0 1px rgba(255, 253, 247, .2));
}

.vb-brand__mark {
  display: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Assinaturas do hero sem placas de fundo. */
.vb-hero__signatures {
  align-items: center;
  gap: 1rem;
}

.vb-hero__signature {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.vb-hero__signature img {
  display: block;
  object-fit: contain;
  background: transparent;
}

.vb-hero__signature--it img {
  width: 35px;
  height: 35px;
  padding: 0;
  filter: none;
}

.vb-hero__signature--it span {
  color: var(--vb-paper);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.vb-hero__signature--lumen {
  padding: 0;
  background: transparent;
}

.vb-hero__signature--lumen img {
  width: 96px;
  height: 29px;
  padding: 0;
  filter: none;
}

/* Luma: retrato editorial centralizado, mantendo os textos na hierarquia original. */
.vb-interpretive-layer__core {
  overflow: hidden;
}

.vb-interpretive-layer__halo {
  z-index: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 253, 247, .98) 0 42%, rgba(242, 236, 221, .94) 58%, rgba(242, 236, 221, .25) 76%, transparent 77%);
  box-shadow:
    inset 0 0 0 1px rgba(242, 236, 221, .58),
    0 0 48px rgba(242, 236, 221, .22);
}

.vb-interpretive-layer__core img.vb-luma-asset {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 5%;
  width: auto;
  height: 112%;
  max-width: none;
  margin: 0;
  object-fit: contain;
  object-position: center top;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .16));
}

.vb-interpretive-layer__actions {
  z-index: 2;
}

.vb-interpretive-layer__core blockquote {
  z-index: 3;
}

/* Composição estática desktop: Luma ampliada e textos ancorados na base. */
@media (min-width: 1081px) {
  .vb-interpretive-layer__core::after {
    content: "";
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    height: 52%;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(12, 23, 21, 0) 0%,
      rgba(12, 23, 21, .08) 30%,
      rgba(12, 23, 21, .58) 72%,
      rgba(12, 23, 21, .82) 100%
    );
  }

  .vb-interpretive-layer__core img.vb-luma-asset {
    left: 62%;
    top: 10%;
    height: 160%;
  }

  .vb-interpretive-layer__actions {
    position: absolute;
    z-index: 3;
    right: 2.5rem;
    bottom: 14.5rem;
    left: 0.5rem;

    display: grid !important;
    grid-template-columns:
      max-content .75rem
      max-content .75rem
      max-content .75rem
      max-content;
    align-items: center;
    justify-content: center;
    column-gap: .3rem;
    row-gap: .25rem;

    text-align: center;
    text-shadow: 0 2px 12px rgba(12, 23, 21, .58);
  }

  .vb-interpretive-layer__actions span {
    grid-column: 1 / -1;
    white-space: nowrap;
  }

  .vb-interpretive-layer__actions b {
    white-space: nowrap;
    margin: 0;
  }

  .vb-interpretive-layer__actions i {
    width: .75rem;
    margin: -3px;
  }

  #luma .vb-interpretive-layer__core blockquote {
    position: absolute !important;
    z-index: 4;
    inset: auto 1.4rem 10px 1.4rem !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    transform: none !important;
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 14px 34px rgba(12, 23, 21, .18);
    backdrop-filter: blur(9px);
  }
}

/* InspiredTech no rodapé: símbolo + nome, sem placa. */
.vb-footer__brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .75rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.vb-footer__brand-lockup img {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: transparent;
  filter: none;
}

.vb-footer__brand-lockup span {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Tablet e mobile: a composição central mantém a mesma hierarquia do desktop,
   mas usa crop mais próximo, textos fixos no topo/base e largura controlada. */
@media (max-width: 1080px) {
  .vb-brand {
    width: 42px;
    height: 42px;
  }

  .vb-brand__logo {
    display: none !important;
  }

  .vb-brand__mark {
    display: block !important;
    width: 42px;
    height: 42px;
    object-position: center;
  }

  .vb-interpretive-layer__core {
    min-height: clamp(430px, 62vw, 560px);
    padding: 0;
    isolation: isolate;
  }

  .vb-interpretive-layer__halo {
    inset: 8% 6% 13%;
  }

  .vb-interpretive-layer__core img.vb-luma-asset {
    left: 54%;
    top: 4%;
    height: 146%;
  }

  .vb-interpretive-layer__actions {
    position: absolute;
    z-index: 3;
    top: 1rem;
    right: .8rem;
    bottom: auto;
    left: .8rem;

    display: grid !important;
    grid-template-columns:
      max-content .55rem
      max-content .55rem
      max-content .55rem
      max-content;
    align-items: center;
    justify-content: center;
    column-gap: .24rem;
    row-gap: .2rem;

    text-align: center;
    text-shadow: 0 2px 10px rgba(12, 23, 21, .62);
  }

  .vb-interpretive-layer__actions span {
    grid-column: 1 / -1;
    white-space: nowrap;
  }

  .vb-interpretive-layer__actions b {
    margin: 0;
    white-space: nowrap;
    font-size: .62rem;
    letter-spacing: .06em;
  }

  .vb-interpretive-layer__actions i {
    width: .55rem;
    margin: 0;
  }

  #luma .vb-interpretive-layer__core blockquote {
    position: absolute !important;
    z-index: 4;
    top: auto !important;
    right: auto !important;
    bottom: clamp(.75rem, 2vw, 1rem) !important;
    left: 50% !important;
    width: min(680px, calc(100% - 2rem)) !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: clamp(.9rem, 2vw, 1.1rem) !important;
    transform: translateX(-50%) !important;
    background: rgba(255, 255, 255, .07);
    box-shadow: 0 12px 30px rgba(12, 23, 21, .18);
    backdrop-filter: blur(10px);
    font-size: clamp(1.05rem, 2.1vw, 1.25rem);
    line-height: 1.3;
  }
}

@media (max-width: 1080px) and (orientation: landscape) {
  .vb-interpretive-layer__core {
    min-height: 430px;
  }

  .vb-interpretive-layer__halo {
    inset: 8% 9% 12%;
  }

  .vb-interpretive-layer__core img.vb-luma-asset {
    left: 52%;
    top: -2%;
    height: 148%;
  }

  .vb-interpretive-layer__actions {
    top: .9rem;
  }

  #luma .vb-interpretive-layer__core blockquote {
    width: min(680px, calc(100% - 3rem)) !important;
    bottom: .85rem !important;
  }
}

@media (max-width: 720px) {
  .vb-brand {
    width: 38px;
    height: 38px;
  }

  .vb-brand__mark {
    width: 38px;
    height: 38px;
  }

  .vb-interpretive-layer__core {
    min-height: 520px;
  }

  .vb-interpretive-layer__halo {
    inset: 10% 4% 13%;
  }

  .vb-interpretive-layer__core img.vb-luma-asset {
    left: 63%;
    top: 12%;
    height: 180%;
  }

  .vb-interpretive-layer__actions {
    top: -10.5rem;
    right: .25rem;
    left: .25rem;
    transform: translateX(-17px);
    grid-template-columns:
      max-content .42rem
      max-content .42rem
      max-content .42rem
      max-content;
    column-gap: .18rem;
    row-gap: .18rem !important;
  }

  .vb-interpretive-layer__actions > span {
    font-size: .6rem;
  }

  .vb-interpretive-layer__actions b {
    font-size: .67rem !important;
    letter-spacing: .045em;
  }

  .vb-interpretive-layer__actions i {
    width: .5rem !important;
  }

  #luma .vb-interpretive-layer__core blockquote {
    width: calc(100% - 1.5rem) !important;
    bottom: .75rem !important;
    padding: .85rem 1rem !important;
    font-size: clamp(1.03rem, 5vw, 1.18rem);
    background: rgba(12, 23, 21, .4) !important;
    color: #fffdf7 !important;

    box-shadow: 0 12px 30px rgba(12, 23, 21, .32) !important;

    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;

    text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
    line-height: 1.34;
  }

  .vb-footer__brand-lockup img {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 1080px)
  and (max-height: 520px)
  and (orientation: landscape) {

  .vb-interpretive-layer__halo {
    inset: 3% 5% 7% 12%;

    background:
      radial-gradient(
        circle 330px at 50% 40%,
        rgba(255, 253, 247, .98) 0 50%,
        rgba(242, 236, 221, .94) 64%,
        rgba(242, 236, 221, .25) 80%,
        transparent 81%
      );
  }

  .vb-interpretive-layer__core img.vb-luma-asset {
    left: 57%;
    top: 12%;
    height: 175%;
  }
}

@media (max-width: 420px) {
  .vb-interpretive-layer__actions b {
    font-size: .54rem;
  }

  .vb-interpretive-layer__actions > span {
    font-size: .58rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vb-brand,
  .vb-hero__signature img,
  .vb-footer__brand-lockup img,
  .vb-interpretive-layer__core img.vb-luma-asset {
    transition: none;
  }
}
