
/* =========================================================
   SOLARFARM — PASSE SOLAR TEMPORADA 2
   CARD RESPONSIVO
========================================================= */

.passe-solar-card,
.passe-solar-card * {
    box-sizing: border-box;
}

/* =========================================================
   CARD PRINCIPAL
========================================================= */

.passe-solar-card {
    position: relative;
    isolation: isolate;

    width: 100%;
    max-width: 440px;
    min-width: 0;

    margin: 18px auto;
    padding: 18px 16px;

    overflow: hidden;
    border-radius: 16px;

    border: 1px solid rgba(165, 235, 180, 0.30);

    background-color: #092c28;

    background-image:
        linear-gradient(
            135deg,
            rgba(2, 28, 30, 0.90),
            rgba(4, 55, 43, 0.78),
            rgba(3, 25, 31, 0.92)
        ),
        url("/imagens/solar-passe/temporada-2-fundo.webp");

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.20);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

@media (hover: hover) {
    .passe-solar-card:hover {
        transform: translateY(-2px);

        box-shadow:
            0 12px 30px rgba(0, 0, 0, 0.28);
    }
}

/* =========================================================
   CONTEÚDO
========================================================= */

.passe-solar-card-conteudo {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;

    gap: 10px;

    text-align: center;
}

/* =========================================================
   ETIQUETA
========================================================= */

.passe-solar-card-etiqueta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    max-width: 100%;

    padding: 5px 11px;
    border-radius: 20px;

    background: rgba(255, 207, 72, 0.15);
    border: 1px solid rgba(255, 207, 72, 0.35);

    color: #ffe29a;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.7px;

    text-align: center;
}

/* =========================================================
   LOGO DA TEMPORADA
========================================================= */

.passe-solar-card .passe-solar-card-logo {
    display: block;

    width: 80px;
    height: 80px;

    max-width: 100%;
    max-height: 80px;

    min-width: 0;

    margin: 0 auto;

    object-fit: contain;
    flex-shrink: 0;

    filter:
        drop-shadow(0 3px 8px rgba(0, 0, 0, 0.30));
}

/* =========================================================
   TÍTULO
========================================================= */

.passe-solar-card h2 {
    margin: 0;
    padding: 0;

    max-width: 100%;

    color: #ffffff;

    font-size: clamp(15px, 2vw, 18px);
    font-weight: 800;
    line-height: 1.35;

    overflow-wrap: break-word;
}

/* =========================================================
   DESCRIÇÃO
========================================================= */

.passe-solar-card p {
    margin: 0;
    padding: 0;

    width: 100%;
    max-width: 360px;

    color: #e0f5eb;

    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;

    overflow-wrap: break-word;
}

/* =========================================================
   RECOMPENSAS
========================================================= */

.passe-solar-card .passe-solar-card-recompensas {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    width: 100%;
    min-width: 0;

    gap: 7px;
    margin-top: 5px;
}

/* =========================================================
   CADA RECOMPENSA
========================================================= */

.passe-solar-card .passe-solar-recompensa,
.passe-solar-card .passe-solar-card-recompensas > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 1 auto;
    min-width: 0;

    gap: 6px;
    padding: 6px 9px;

    border-radius: 9px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.35);

    color: #f0fff5;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;

    white-space: normal;
    text-align: center;
}

/* =========================================================
   IMAGENS DAS RECOMPENSAS
========================================================= */

.passe-solar-card .passe-solar-card-recompensas img {
    display: block;

    width: 25px;
    height: 25px;

    min-width: 25px;
    max-width: 25px;
    max-height: 25px;

    object-fit: contain;
    flex-shrink: 0;

    filter:
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

/* =========================================================
   TABLET — ATÉ 768px
========================================================= */

@media (max-width: 768px) {

    .passe-solar-card {
        width: 100%;
        max-width: 420px;

        margin: 16px auto;
        padding: 16px 14px;
    }

    .passe-solar-card-conteudo {
        gap: 9px;
    }

    .passe-solar-card .passe-solar-card-logo {
        width: 72px;
        height: 72px;
        max-height: 72px;
    }

    .passe-solar-card h2 {
        font-size: 16px;
    }

    .passe-solar-card p {
        font-size: 11.5px;
    }

    .passe-solar-card .passe-solar-card-recompensas {
        gap: 6px;
    }
}

/* =========================================================
   CELULAR — ATÉ 480px
========================================================= */

@media (max-width: 480px) {

    .passe-solar-card {
        width: 100%;
        max-width: 100%;

        margin: 14px auto;
        padding: 14px 12px;

        border-radius: 13px;

        background-position: center;
    }

    .passe-solar-card-conteudo {
        gap: 8px;
    }

    .passe-solar-card-etiqueta {
        padding: 4px 9px;

        font-size: 9px;
        letter-spacing: 0.4px;
    }

    .passe-solar-card .passe-solar-card-logo {
        width: 65px;
        height: 65px;
        max-height: 65px;
    }

    .passe-solar-card h2 {
        font-size: 15px;
        line-height: 1.35;
    }

    .passe-solar-card p {
        font-size: 11px;
        line-height: 1.5;
    }

    .passe-solar-card .passe-solar-card-recompensas {
        gap: 6px;
        margin-top: 3px;
    }

    .passe-solar-card .passe-solar-recompensa,
    .passe-solar-card .passe-solar-card-recompensas > span {
        gap: 5px;
        padding: 5px 7px;

        font-size: 10px;
        border-radius: 7px;
    }

    .passe-solar-card .passe-solar-card-recompensas img {
        width: 22px;
        height: 22px;

        min-width: 22px;
        max-width: 22px;
        max-height: 22px;
    }
}

/* =========================================================
   CELULARES PEQUENOS — ATÉ 360px
========================================================= */

@media (max-width: 360px) {

    .passe-solar-card {
        padding: 12px 10px;
    }

    .passe-solar-card-conteudo {
        gap: 7px;
    }

    .passe-solar-card .passe-solar-card-logo {
        width: 55px;
        height: 55px;
        max-height: 55px;
    }

    .passe-solar-card h2 {
        font-size: 14px;
    }

    .passe-solar-card p {
        font-size: 10.5px;
    }

    .passe-solar-card .passe-solar-recompensa,
    .passe-solar-card .passe-solar-card-recompensas > span {
        padding: 5px 6px;
        font-size: 9px;
    }

    .passe-solar-card .passe-solar-card-recompensas img {
        width: 19px;
        height: 19px;

        min-width: 19px;
        max-width: 19px;
        max-height: 19px;
    }
}

/* =========================================================
   ACESSIBILIDADE
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .passe-solar-card {
        transition: none;
    }

    .passe-solar-card:hover {
        transform: none;
    }
}

/* =====================================================
   PASSE SOLAR — MANTER CARD NO LOCAL ATUAL
   E EVITAR EXPANSÃO HORIZONTAL
===================================================== */

.brand-panel,
.brand-content {
    min-width: 0;
}

.passe-solar-card {
    width: 100%;
    max-width: min(440px, 100%);
    min-width: 0;
    box-sizing: border-box;
}

.passe-solar-card-conteudo,
.passe-solar-card-recompensas {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 600px) {

    .passe-solar-card {
        width: 100%;
        max-width: 100%;
        margin: 14px 0;
    }

    /* Evita que banners de 468px ampliem a página */
    .brand-panel .anuncio-container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .brand-panel .anuncio-468 {
        display: block;
        max-width: 100%;
    }
}
