/* ============================================================
   POWERFUL SHOWCASE — seção hero estilo "vehicle showcase"
   CSS 100% escopado em .pwf-showcase (não afeta o resto do site)
   ============================================================ */

.pwf-showcase {
    background: #fff;
    padding: 60px 0 20px 0;
    font-family: Poppins, sans-serif;
    color: #101114;
    overflow: hidden;
    /* mesmo empilhamento do .content do tema: fica acima do rodapé fixo */
    position: relative;
    z-index: 4;
}

.pwf-showcase *,
.pwf-showcase *::before,
.pwf-showcase *::after {
    box-sizing: border-box;
}

.pwf-showcase__inner {
    max-width: 1780px;
    margin: 0 auto;
    padding: 0 20px 0 40px;
    container-type: inline-size;
}

/* ---------------- Topo: coluna esquerda + palco ---------------- */

.pwf-showcase__top {
    display: flex;
    align-items: flex-start;
}

.pwf-showcase__left {
    flex: 0 0 22%;
    max-width: 22%;
    padding-top: 2.5cqw;
    position: relative;
    z-index: 3;
}

.pwf-showcase__titlerow {
    display: flex;
    align-items: center;
    gap: 1.5cqw;
}

.pwf-showcase__title {
    font-family: Poppins, sans-serif;
    font-size: 3.1cqw;
    font-weight: 700;
    line-height: 1.05;
    color: #0e0f12;
    margin: 0;
    letter-spacing: -.02em;
    white-space: nowrap;
}

.pwf-infochip {
    flex: 0 0 auto;
    width: 3.4cqw;
    height: 3.4cqw;
    border-radius: 50%;
    border: 1px solid #ececef;
    background: #fdfdfe;
    box-shadow: 0 6px 18px rgba(16, 17, 20, .05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #16181b;
    font-size: 1cqw;
}

.pwf-showcase__subtitle {
    margin: 1cqw 0 0 0;
    font-size: 1.15cqw;
    font-weight: 400;
    color: #9aa0ab;
    letter-spacing: .01em;
    padding-right: 1.5cqw;
}

/* pílulas de categorias */
.pwf-pills {
    display: flex;
    flex-direction: column;
    gap: 1.3cqw;
    margin-top: 4.2cqw;
}

.pwf-pill {
    width: 9.6cqw;
    min-width: 190px;
    padding: 1.15cqw 1cqw;
    border-radius: 999px;
    border: 1px solid #e9e9ec;
    background: #f6f6f6;
    color: #17181c;
    font-family: Questrial, sans-serif;
    font-size: 1cqw;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(16, 17, 20, .04);
    transition: all .25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.pwf-pill:hover {
    border-color: #cfcfd6;
    transform: translateY(-2px);
}

.pwf-pill.is-active {
    background: #0c0c0e;
    border-color: #0c0c0e;
    color: #fff;
    font-weight: 500;
}

/* ---------------- Palco (imagem do carro + overlays) ---------------- */

.pwf-stage {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    aspect-ratio: 2238 / 1144;
    container-type: inline-size;
    z-index: 1;
    border-radius: 2.2cqw;
    overflow: hidden;
    transform: translateZ(0);
    /* garante o recorte dos cantos no Safari */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.pwf-stage__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* dica "passe o mouse para ouvir" — some quando o som está ativo */
.pwf-sound-hint {
    position: absolute;
    left: 1.4cqw;
    bottom: 1.4cqw;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: .5cqw;
    padding: .6cqw 1cqw;
    border-radius: 999px;
    background: rgba(11, 11, 13, .55);
    color: #fff;
    font-family: Questrial, sans-serif;
    font-size: .9cqw;
    letter-spacing: .01em;
    pointer-events: none;
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: blur(6px);
    transition: opacity .3s ease, transform .3s ease;
}

.pwf-sound-hint i {
    font-size: 1cqw;
}

/* enquanto o som toca, esconde a dica e revela um leve destaque na borda */
.pwf-stage--sound .pwf-sound-hint {
    opacity: 0;
    transform: translateY(.6cqw);
}

/* balão de informação */
.pwf-bubble {
position: absolute;
    left: 11.2%;
    top: 27.2%;
    width: 24%;
    min-height: 18.4%;
    background: rgb(243, 244, 246);
    border-radius: 1.7cqw;
    padding: 2.25cqw 1.5cqw;
    font-size: 0.9cqw;
    line-height: 1.55;
    color: rgb(103 103 103);
    z-index: 3;
    border: 1px solid rgb(224, 224, 224);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: blur(8px);

    background: rgb(3 3 3 / 5%);

}

/* cartão preto "Potência Incomparável" */
.pwf-power-card {
    position: absolute;
    left: 74.1%;
    top: 13.4%;
    width: 23.8%;
    z-index: 3;
}

.pwf-power-card__head {
    display: flex;
    align-items: center;
    gap: 1.2cqw;
    background: #0b0b0d;
    border-radius: 1.7cqw 1.7cqw .6cqw .6cqw;
    padding: 1.5cqw 1.3cqw;
    color: #fff;
    font-size: 1.1cqw;
    font-weight: 500;
    box-shadow: 0 8px 22px rgba(11, 11, 13, .15);
}

.pwf-power-card__icon {
    flex: 0 0 auto;
    width: 4.4cqw;
    height: 4.4cqw;
    border-radius: 50%;
    background: #29292d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8cqw;
    color: #fff;
}

.pwf-power-card__body {
    margin-top: 0;
    background: #f6f6f8;
    border-radius: .6cqw .6cqw 1.7cqw 1.7cqw;
    padding: 2.25cqw 1.5cqw;
    min-height: 9.1cqw;
    font-size: .95cqw;
    line-height: 1.55;
    color: #666b73;
}

/* pílula acessórios / chip de potência */
.pwf-accessory-pill {
position: absolute;
    left: 74.1%;
    top: 46.1%;
    width: 24%;
    height: 6.7cqw;
    display: flex;
    align-items: center;
    gap: 1.2cqw;
    background: rgb(243 244 246 / 70%);
    border-radius: 999px;
    padding: 0.65cqw;
    text-decoration: none;
    color: rgb(22, 24, 27);
    font-size: 1.1cqw;
    font-weight: 500;
    z-index: 3;
    transition: box-shadow 0.25s, transform 0.25s;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: blur(8px);
}

.pwf-accessory-pill:hover {
    box-shadow: 0 14px 30px rgba(16, 17, 20, .12);
    transform: translateY(-2px);
    color: #16181b;
}

.pwf-accessory-pill__icon {
    flex: 0 0 auto;
    width: 4.55cqw;
    height: 4.55cqw;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6cqw;
    color: #26282c;
}

/* ---------------- Hotspots sobre o carro ---------------- */

.pwf-hs-label {
    position: absolute;
    height: 4.5cqw;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.2cqw;
    border-radius: 999px;
    background: rgba(74, 60, 48, .95);
    color: #fff;
    font-size: 1.05cqw;
    font-weight: 400;
    letter-spacing: .01em;
    white-space: nowrap;
    z-index: 4;
}

.pwf-hs-dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(74, 60, 48, .88);
    z-index: 4;
}

.pwf-hs-dot::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 28%;
    height: 28%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #0b0b0d;
}

/* posições individuais (medidas sobre o enquadramento do vídeo) */
.pwf-hs-label--ecu    { left: 6.7%;  top: 57.3%; width: 14.8cqw; }
.pwf-hs-dot--ecu      { left: 22.5%; top: 56.8%; width: 5cqw;    height: 5cqw; }

.pwf-hs-dot--launch   { left: 45.8%; top: 40.6%; width: 5cqw;    height: 5cqw; }
.pwf-hs-label--launch { left: 51.5%; top: 41.1%; width: 12.5cqw; }

.pwf-hs-label--dsg    { left: 28.9%; top: 67.8%; width: 12.2cqw; }
.pwf-hs-dot--dsg      { left: 42%;   top: 67.3%; width: 5cqw;    height: 5cqw; }

.pwf-hs-dot--vmax     { left: 77.5%; top: 63.3%; width: 5.2cqw;  height: 5.2cqw; }
.pwf-hs-label--vmax   { left: 83.2%; top: 63.8%; width: 12.4cqw; }

/* ---------------- Destaques (cards) ---------------- */

.pwf-features {
    margin-top: 1cqw;
}

.pwf-features__heading {
    display: flex;
    align-items: center;
    gap: 1.4cqw;
    margin-left: 5.6cqw;
}

.pwf-features__heading h2 {
    font-family: Poppins, sans-serif;
    font-size: 1.9cqw;
    font-weight: 700;
    color: #0e0f12;
    margin: 0;
    letter-spacing: -.01em;
}

.pwf-features__row {
    display: flex;
    align-items: center;
    gap: 1.4cqw;
    margin-top: 1.8cqw;
}

.pwf-features__nav {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1cqw;
    padding-left: .4cqw;
}

.pwf-features__arrow {
    width: 3.6cqw;
    height: 3.6cqw;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    border: 1px solid #e9e9ec;
    background: #fff;
    color: #17181c;
    font-size: 1.1cqw;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(16, 17, 20, .05);
    transition: all .25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.pwf-features__arrow:hover {
    background: #0c0c0e;
    border-color: #0c0c0e;
    color: #fff;
}

.pwf-cards {
    display: flex;
    gap: 1.6cqw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 1cqw .2cqw 1.4cqw .2cqw;
    scrollbar-width: none;
    -ms-overflow-style: none;
    min-width: 0;
}

.pwf-cards::-webkit-scrollbar {
    display: none;
}

.pwf-card {
    position: relative;
    flex: 0 0 auto;
    width: 21.2cqw;
    min-width: 265px;
    min-height: 11.6cqw;
    border-radius: 1.6cqw;
    border: 1px solid #ececef;
    background: #fbfbfb;
    padding: 1.1cqw 1.3cqw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    scroll-snap-align: start;
  
}

.pwf-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1cqw;
}

.pwf-card__icon {
    flex: 0 0 auto;
    width: 3.7cqw;
    height: 3.7cqw;
    min-width: 46px;
    min-height: 46px;
    border-radius: 50%;
    border: 1px solid #e9e9ec;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3cqw;
    color: #17181c;
}

.pwf-card__ghost {
    font-size: 2cqw;
    font-weight: 500;
    color: #d8d9de;
    line-height: 1.15;
    text-align: right;
    letter-spacing: -.01em;
}

.pwf-card__num {
    font-size: 3.3cqw;
    font-weight: 700;
    color: #101114;
    line-height: 1;
    letter-spacing: -.02em;
    white-space: nowrap;
}

.pwf-card__num em {
    font-style: normal;
    font-weight: 400;
    font-size: .45em;
    color: #b9bcc3;
}

.pwf-card__label {
    margin-top: 1cqw;
}

.pwf-card__label span {
    display: block;
    font-size: .95cqw;
    color: #8a8f98;
}

.pwf-card__label strong {
    display: block;
    font-size: 1.4cqw;
    font-weight: 700;
    color: #101114;
    letter-spacing: -.01em;
    margin-top: .1cqw;
}

/* card 1 — com foto */
.pwf-card--photo .pwf-card__img {
    position: absolute;
    top: .6cqw;
    right: .6cqw;
    bottom: .6cqw;
    width: 47%;
    height: calc(100% - 1.2cqw);
    object-fit: cover;
    border-radius: 1.2cqw;
}

.pwf-card--photo .pwf-card__num,
.pwf-card--photo .pwf-card__label {
    max-width: 50%;
    text-align: center;
    margin-right: 155px;
}

/* card 4 — pílula preta de tecnologias */
.pwf-card__blackpill {
    background: #0c0c0e;
    color: #fff;
    border-radius: 1.1cqw;
    padding: .8cqw 1.2cqw;
    margin-top: 1cqw;
}

.pwf-card__blackpill strong {
    display: block;
    font-size: 1.25cqw;
    font-weight: 700;
    letter-spacing: .02em;
}

.pwf-card__blackpill span {
    display: block;
    font-size: .8cqw;
    opacity: .85;
    margin-top: .15cqw;
    white-space: nowrap;
}

/* info extra visível apenas no mobile */
.pwf-mobile-info {
    display: none;
}

/* ---------------- Responsivo ---------------- */

@media only screen and (max-width: 1024px) {

    .pwf-showcase {
        padding: 90px 0 40px 0;
    }

    /* sem cursor em telas de toque: a dica de hover não se aplica */
    .pwf-sound-hint {
        display: none;
    }

    .pwf-showcase__top {
        flex-direction: column;
    }

    .pwf-showcase__left {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
        padding-top: 0;
        margin-bottom: 22px;
    }

    .pwf-stage {
        width: 100%;
    }

    .pwf-showcase__titlerow {
        gap: 14px;
    }

    .pwf-showcase__title {
        font-size: clamp(30px, 7.5vw, 44px);
        white-space: normal;
    }

    .pwf-infochip {
        width: 44px;
        height: 44px;
        font-size: 14px;
    }

    .pwf-showcase__subtitle {
        font-size: 15px;
        margin-top: 8px;
    }

    /* pílulas viram linha rolável */
    .pwf-pills {
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
        margin-top: 18px;
        padding-bottom: 6px;
        scrollbar-width: none;
    }

    .pwf-pills::-webkit-scrollbar {
        display: none;
    }

    .pwf-pill {
        width: auto;
        min-width: 0;
        flex: 0 0 auto;
        padding: 10px 22px;
        font-size: 13px;
    }

    .pwf-features {
        margin-top: 30px;
    }

    .pwf-features__heading {
        margin-left: 0;
    }

    .pwf-features__heading h2 {
        font-size: 24px;
    }

    .pwf-features__nav {
        display: none;
    }

    .pwf-features__row {
        margin-top: 14px;
    }

    .pwf-cards {
        gap: 14px;
        padding: 6px 2px 10px 2px;
    }

    .pwf-card {
        width: 265px;
        min-height: 150px;
        border-radius: 20px;
        padding: 14px 16px;
    }

    .pwf-card__icon {
        font-size: 16px;
    }

    .pwf-card__ghost {
        font-size: 22px;
    }

    .pwf-card__num {
        font-size: 40px;
    }

    .pwf-card__label {
        margin-top: 10px;
    }

    .pwf-card__label span {
        font-size: 12px;
    }

    .pwf-card__label strong {
        font-size: 16px;
        margin-top: 2px;
    }

    .pwf-card--photo .pwf-card__img {
        top: 8px;
        right: 8px;
        bottom: 8px;
        height: calc(100% - 16px);
        border-radius: 14px;
    }

    .pwf-card__blackpill {
        border-radius: 14px;
        padding: 10px 14px;
        margin-top: 10px;
    }

    .pwf-card__blackpill strong {
        font-size: 15px;
    }

    .pwf-card__blackpill span {
        font-size: 10px;
        margin-top: 2px;
    }
}

@media only screen and (max-width: 767px) {

    .pwf-showcase {
        padding: 30px 0 30px 0;
    }

    .pwf-showcase__inner {
        padding: 0 16px;
    }

    /* cards de apoio ficam ocultos no celular: os destaques
       assumem o lugar logo após o palco */
    .pwf-mobile-info {
        display: none;
    }

    /* ---- Destaques em grade (estilo app) ---- */

    .pwf-features {
        margin-top: 22px;
    }

    .pwf-features__heading {
        justify-content: space-between;
    }

    .pwf-features__heading .pwf-infochip {
        width: 44px;
        height: 44px;
        font-size: 15px;
    }

    .pwf-features__row {
        /* a nav de setas está oculta: bloco simples evita o
           dimensionamento max-content do grid como item flex */
        display: block;
        margin-top: 14px;
    }

    /* grade: card com foto em largura total + demais em 2 colunas */
    .pwf-cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        width: 100%;
        overflow: visible;
        padding: 0 0 4px 0;
        scroll-snap-type: none;
    }

    .pwf-card {
        width: 100%;
        min-width: 0;
        min-height: 200px;
        border-radius: 22px;
        padding: 16px;
    }

    /* número desce para a própria linha quando não cabe ao lado do ícone */
    .pwf-card__top {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .pwf-card--photo {
        grid-column: 1 / -1;
        min-height: 180px;
    }

    /* textos ajustados à largura da meia-coluna */
    .pwf-card__ghost {
        font-size: 17px;
    }

    .pwf-card__num {
        font-size: 34px;
    }

    .pwf-card--photo .pwf-card__num {
        font-size: 40px;
    }

    .pwf-card__label span {
        font-size: 11.5px;
    }

    .pwf-card__label strong {
        font-size: 15px;
    }

    .pwf-card__blackpill {
        padding: 10px 12px;
    }

    .pwf-card__blackpill strong {
        font-size: 14px;
    }

    .pwf-card__blackpill span {
        white-space: normal;
        font-size: 9.5px;
        line-height: 1.4;
    }
}
