@import '_global.css';

header.topPage {
    display: none;
}

main#postventa {
    max-width: none;
    padding: 0;
    background: #fff;
    color: var(--color2);
}

.postHero {
    position: relative;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: clamp(76px, 8vw, 126px) 0 clamp(64px, 7vw, 104px);
    background: #171510;
    color: #fff;
}

.postHero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("../img/postventa01.jpg") center center / cover no-repeat;
    background-attachment: fixed;
    transform: scaleX(-1) scale(1.04);
}

.postHero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(18, 16, 12, 0.5) 0%, rgba(18, 16, 12, 0.28) 42%, rgba(18, 16, 12, 0.04) 100%),
        linear-gradient(0deg, rgba(18, 16, 12, 0.06), rgba(18, 16, 12, 0.06));
}

.postHeroGrid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(360px, 720px);
    align-items: center;
}

.postHeroText {
    border-left: 7px solid var(--color1);
    padding-left: clamp(22px, 3.4vw, 48px);
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.46);
}

.postHero h1,
.postSupport h2,
.postVideo h2,
.postFaq h2 {
    line-height: 0.95;
}

.postHero h1 {
    max-width: 8ch;
    margin-bottom: 26px;
    color: #fff;
    font-size: clamp(4rem, 8vw, 7.2rem);
    font-weight: 900;
}

.postHero h1 span {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(2.6rem, 5.3vw, 5rem);
    font-weight: 300;
}

.postHero p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.08rem, 1.48vw, 1.24rem);
    line-height: 1.68;
}

.postHeroActions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 28px 0 18px;
}

.postHeroMail {
    color: #fff;
    font-size: 0.98rem;
    font-weight: 900;
}

.postHeroSchedule {
    font-weight: 700;
}

.postSupportImage img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.subtitulo {
    display: block;
    color: var(--color2);
    font-size: clamp(2.2rem, 4.5vw, 4.4rem);
    font-weight: 300;
}

.subtitulo_destacado {
    display: block;
    color: var(--color1);
    font-size: clamp(2.7rem, 5.6vw, 5.8rem);
    font-weight: 900;
}

.postSupport {
    padding: clamp(76px, 9vw, 128px) 0;
    background: #fff;
}

.postSupportGrid {
    display: grid;
    grid-template-columns: minmax(360px, 1fr) minmax(360px, 0.92fr);
    gap: clamp(30px, 6vw, 84px);
    align-items: center;
}

.postSupportCopy {
    border-left: 7px solid var(--color1);
    padding-left: clamp(22px, 3vw, 38px);
}

.postSupportCopy p,
.postVideoText p,
.postFaqHeader p {
    color: #34322e;
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    line-height: 1.72;
}

.postContactCards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
}

.postContactCards a,
.postContactCards div {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    background: #f5f5f3;
    border: 1px solid #e8e4dc;
    border-radius: 8px;
    color: var(--color2);
    font-weight: 900;
    word-break: break-word;
}

.postContactCards i {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--color1);
    color: #fff;
}

.postSupportImage {
    height: clamp(380px, 42vw, 560px);
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 22px 58px rgba(37, 35, 29, 0.13);
}

.postVideo {
    padding: clamp(76px, 9vw, 126px) 0;
    background: #f5f5f3;
}

.postVideoGrid {
    display: grid;
    grid-template-columns: minmax(460px, 1fr) minmax(320px, 0.72fr);
    gap: clamp(30px, 6vw, 84px);
    align-items: center;
}

.postVideoText {
    border-left: 7px solid var(--color1);
    padding-left: clamp(22px, 3vw, 38px);
}

.postVideoFrame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #171510;
    box-shadow: 0 24px 64px rgba(37, 35, 29, 0.18);
}

.postVideoFrame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.postFaq {
    padding: clamp(80px, 9vw, 128px) 0;
    background: #fff;
}

.postFaqHeader {
    display: grid;
    grid-template-columns: minmax(380px, 0.7fr) minmax(460px, 1fr);
    column-gap: clamp(72px, 9vw, 150px);
    row-gap: clamp(30px, 5vw, 64px);
    align-items: center;
    margin-bottom: clamp(34px, 5vw, 64px);
}

.postFaqTitleBlock {
    border-left: 7px solid var(--color1);
    padding-left: clamp(22px, 3vw, 38px);
}

.postFaqMedia {
    height: clamp(260px, 28vw, 430px);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(37, 35, 29, 0.16);
}

.postFaqMedia video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.postFaqGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.postFaq details {
    background: #fff;
    border: 1px solid #e8e4dc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(37, 35, 29, 0.07);
}

.postFaq details[open] {
    border-color: rgba(211, 38, 25, 0.34);
    box-shadow: 0 20px 48px rgba(37, 35, 29, 0.1);
}

.postFaq summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 22px 60px 22px 24px;
    color: var(--color2);
    font-family: 'Roboto', Arial, sans-serif;
    font-size: clamp(1rem, 1.38vw, 1.2rem);
    font-weight: 300;
    line-height: 1.25;
}

.postFaq summary::-webkit-details-marker {
    display: none;
}

.postFaq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 22px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border-radius: 999px;
    background: var(--color1);
    color: #fff;
    font-weight: 900;
}

.postFaq details[open] summary::after {
    content: "-";
}

.postFaqBody {
    padding: 0 24px 24px;
    color: #34322e;
    font-size: 0.98rem;
    line-height: 1.7;
}

.postFaqBody p + p,
.postFaqBody ul + p,
.postFaqBody p + ul {
    margin-top: 12px;
}

.postFaqBody ul {
    padding-left: 20px;
}

.postFaqBody li + li {
    margin-top: 7px;
}

.postFaqBody a {
    color: var(--color1);
    font-weight: 900;
}

@media (max-width: 1080px) {
    .postSupportGrid,
    .postVideoGrid,
    .postFaqHeader,
    .postFaqGrid {
        grid-template-columns: 1fr;
    }

    .postContactCards {
        grid-template-columns: 1fr;
    }

    .postVideoText {
        order: -1;
    }

}

@media (max-width: 760px) {
    .postHero {
        min-height: auto;
        padding-top: 58px;
    }

    .postHero::before {
        background:
            linear-gradient(0deg, rgba(18, 16, 12, 0.32), rgba(18, 16, 12, 0.32)),
            linear-gradient(90deg, rgba(18, 16, 12, 0.48), rgba(18, 16, 12, 0.12));
    }

    .postHero::after {
        background-attachment: scroll;
        background-position: center center;
    }

    .postFaqMedia {
        height: clamp(210px, 58vw, 320px);
    }

    .postHero h1 {
        font-size: clamp(3.4rem, 17vw, 5rem);
    }

    .postHero h1 span {
        font-size: clamp(2.2rem, 11vw, 3.6rem);
    }

    .postHeroActions {
        align-items: flex-start;
        flex-direction: column;
    }

    .postFaq summary {
        padding: 20px 58px 20px 20px;
    }

    .postFaqBody {
        padding: 0 20px 22px;
    }
}
