/* A folha é carregada apenas na página do Painel Retrátil Pop-Up. */
.gb-pop-up-hero {
    padding-block: clamp(2.5rem, 5vw, 4.75rem);
}

.gb-pop-up-hero__layout {
    display: grid;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
}

.gb-pop-up-hero__copy .section-description {
    max-width: 58ch;
    margin-inline: auto;
}

.gb-pop-up-hero__composition {
    position: relative;
    isolation: isolate;
    width: min(100%, 580px);
    aspect-ratio: 1.1;
    margin: 0 auto;
}

.gb-pop-up-hero__composition::before {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 78%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #fff;
}

.gb-pop-up-hero__photo {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    width: 48%;
    height: auto;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 10px 14px rgb(4 17 42 / 26%));
}

.gb-pop-up-montagem,
.gb-pop-up-ficha {
    padding-block: clamp(3.5rem, 6vw, 6rem);
}

.gb-pop-up-montagem__layout {
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.gb-pop-up-montagem__media {
    width: min(100%, 335px);
    margin: 0 auto;
}

.gb-pop-up-montagem__media video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 406 / 720;
    background: #0b2855;
    border-radius: 0.875rem;
}

.gb-pop-up-montagem__media figcaption {
    color: #3d536e;
    font-size: 0.875rem;
    margin-top: 0.75rem;
    text-align: center;
}

.gb-pop-up-montagem__copy h2 {
    margin-bottom: 1rem;
}

.gb-pop-up-montagem__copy .lista-vantagens {
    margin-block: 1.25rem 1.75rem;
}

#produtos-gallery-container .produtos-gallery-item img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.gb-pop-up-ficha {
    background: #fff;
    color: #122d52;
}

.gb-pop-up-ficha h2 {
    margin-bottom: 1.5rem;
}

.gb-pop-up-ficha__destaques,
.gb-pop-up-ficha__detalhes {
    display: grid;
    gap: 1rem;
}

.gb-pop-up-ficha__destaques {
    margin-bottom: 1rem;
}

.gb-pop-up-ficha__destaques > div,
.gb-pop-up-ficha__detalhes > div {
    padding: clamp(1.125rem, 2.5vw, 1.75rem);
    border: 1px solid #dae2ec;
    border-radius: 0.875rem;
    background: #fff;
}

.gb-pop-up-ficha dt,
.gb-pop-up-ficha p {
    color: #3d536e;
    font-weight: 400;
}

.gb-pop-up-ficha h3,
.gb-pop-up-ficha dd,
.gb-pop-up-ficha li {
    color: #122d52;
}

.gb-pop-up-ficha dd {
    margin: 0;
    font-weight: 600;
}

.gb-pop-up-ficha__destaques dd {
    margin-top: 0.25rem;
    font-size: clamp(1.5rem, 2.6vw, 2.25rem);
    line-height: 1.2;
}

.gb-pop-up-ficha__detalhes h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.gb-pop-up-ficha__especificacoes {
    margin: 0;
}

.gb-pop-up-ficha__especificacoes > div {
    display: grid;
    gap: 0.25rem 1rem;
    padding-block: 0.65rem;
    border-bottom: 1px solid #e1e7ef;
}

.gb-pop-up-ficha__especificacoes > div:last-child {
    border-bottom: 0;
}

.gb-pop-up-ficha__inclusos {
    margin-bottom: 1.25rem;
    padding-left: 1.15rem;
}

.gb-pop-up-ficha__inclusos li {
    list-style: disc;
    margin-bottom: 0.4rem;
}

@media (min-width: 576px) {
    .gb-pop-up-ficha__destaques {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gb-pop-up-ficha__especificacoes > div {
        grid-template-columns: minmax(6rem, 0.7fr) 1.3fr;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    #produtos-gallery-container > div {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (min-width: 992px) {
    .gb-pop-up-hero__layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .gb-pop-up-hero__copy .section-description {
        margin-inline: 0;
    }

    #produtos-gallery-container > div {
        width: 25%;
    }

    .gb-pop-up-montagem__layout {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    }

    .gb-pop-up-ficha__detalhes {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    }
}

@media (max-width: 991.98px) {
    .gb-pop-up-hero__copy {
        text-align: center;
    }

    .gb-pop-up-hero__copy h1 {
        text-wrap: balance;
    }

    .gb-pop-up-hero__copy .btn {
        margin-inline: auto;
    }

    .gb-pop-up-montagem__copy {
        grid-row: 1;
    }
}
