/* ==========================================================
   LANDING PAGE DE RECARGAS

   Este arquivo contém apenas os estilos da página inicial.
   Cada propriedade está em uma linha para facilitar a edição.
   ========================================================== */


/* ----------------------------------------------------------
   BLOCO PRINCIPAL
   ---------------------------------------------------------- */
.recharge-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 48px;
    align-items: center;
    margin: 28px 0;
    padding: clamp(32px, 6vw, 76px);
    border-radius: 32px;
    background: linear-gradient(
        135deg,
        #071a38 0%,
        #0b3971 62%,
        var(--brand) 160%
    );
    color: #ffffff;
    box-shadow: 0 28px 70px rgba(7, 26, 56, 0.19);
}

.recharge-hero::before {
    content: "";
    position: absolute;
    right: -12%;
    bottom: -60%;
    left: 35%;
    height: 520px;
    background: radial-gradient(
        circle,
        color-mix(in srgb, var(--brand) 70%, transparent),
        transparent 68%
    );
    opacity: 0.5;
}

.recharge-hero-copy {
    position: relative;
    z-index: 1;
}

.recharge-hero .eyebrow {
    color: #8edcff;
}

.recharge-hero h1 {
    max-width: 780px;
    margin: 0.18em 0;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.98;
}

.recharge-hero p {
    max-width: 650px;
    color: #dcecff;
    font-size: 1.08rem;
}

.landing-primary {
    background: var(--brand);
    box-shadow: 0 10px 28px color-mix(
        in srgb,
        var(--brand) 45%,
        transparent
    );
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 22px;
    color: #cfe9ff;
    font-size: 0.88rem;
}


/* ----------------------------------------------------------
   CELULAR ILUSTRATIVO
   ---------------------------------------------------------- */
.recharge-phone {
    position: relative;
    z-index: 1;
    width: min(100%, 330px);
    margin: auto;
    padding: 14px;
    border: 7px solid #152139;
    border-radius: 38px;
    background: #020813;
    box-shadow: 0 28px 55px rgba(0, 0, 0, 0.53);
    transform: rotate(3deg);
}

.phone-screen {
    display: grid;
    gap: 11px;
    min-height: 420px;
    padding: 32px 18px;
    border-radius: 26px;
    background: linear-gradient(180deg, #f8fbff, #eaf5ff);
    color: #10213a;
}

.phone-screen small {
    color: #61718a;
}

.phone-screen b {
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.phone-screen span {
    display: block;
    padding: 15px;
    border: 1px solid #d7e8f7;
    border-radius: 13px;
    background: #ffffff;
    font-weight: 800;
}


/* ----------------------------------------------------------
   TÍTULOS DAS SEÇÕES
   ---------------------------------------------------------- */
.section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.section-title h2 {
    margin: 0.2em 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
}


/* ----------------------------------------------------------
   CARTÕES DE CATEGORIAS
   ---------------------------------------------------------- */
.category-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 26px 0 44px;
}

.category-showcase > a {
    display: flex;
    gap: 18px;
    min-height: 220px;
    padding: 26px;
    border: 1px solid #dce8f2;
    border-radius: 24px;
    background: linear-gradient(145deg, #ffffff, #f3f9ff);
    color: var(--ink);
    box-shadow: 0 16px 36px rgba(16, 40, 74, 0.05);
    transition: 0.2s ease;
}

.category-showcase > a:hover {
    transform: translateY(-5px);
    border-color: var(--brand);
    box-shadow: 0 20px 44px rgba(16, 40, 74, 0.1);
}

.category-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #e6f5ff;
    font-size: 1.75rem;
}

.category-showcase small {
    color: var(--brand);
    font-weight: 900;
    letter-spacing: 0.08em;
}

.category-showcase h3 {
    margin: 0.35em 0;
    font-size: 1.55rem;
}

.category-showcase p {
    min-height: 54px;
    color: var(--muted);
}

.category-showcase b {
    color: var(--brand);
}


/* ----------------------------------------------------------
   QUADRO DE MARCAS E OPERADORAS
   ---------------------------------------------------------- */
.brand-showcase {
    margin: 18px 0 48px;
    padding: clamp(22px, 4vw, 42px);
    border: 1px solid #dce8f2;
    border-radius: 28px;
    background: linear-gradient(155deg, #ffffff, #f2f8ff);
}

.brand-showcase .section-title h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.brand-group {
    margin-top: 28px;
}

.brand-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px;
}

.brand-group-head h3 {
    margin: 0;
}

.brand-group-head a {
    color: var(--brand);
    font-weight: 850;
}

.brand-rail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 12px;
}

.provider-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 96px;
    padding: 14px;
    border: 1px solid #dce8f2;
    border-radius: 16px;
    background: #ffffff;
    color: var(--ink);
    text-align: center;
    transition: 0.18s ease;
}

.provider-brand:hover {
    transform: translateY(-3px);
    border-color: var(--brand);
    box-shadow: 0 12px 28px rgba(16, 40, 74, 0.09);
}

.provider-brand img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: contain;
}

.provider-brand > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #e6f5ff;
    color: var(--brand);
    font-weight: 950;
}

.provider-brand [hidden] {
    display: none !important;
}

.provider-brand b {
    font-size: 0.83rem;
    line-height: 1.15;
}


/* ----------------------------------------------------------
   PASSOS: ESCOLHA, PAGUE E ACOMPANHE
   ---------------------------------------------------------- */
.landing-how {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0 60px;
}

.landing-how > div {
    padding: 24px;
    border-radius: 20px;
    background: #071a38;
    color: #ffffff;
}

.landing-how span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brand);
    font-weight: 900;
}

.landing-how h3 {
    margin: 0.7em 0 0.2em;
}

.landing-how p {
    margin: 0;
    color: #c9d9ec;
}

.catalog-note {
    color: var(--muted);
    text-align: center;
}


/* ----------------------------------------------------------
   RODAPÉ DO TENANT
   ---------------------------------------------------------- */
.tenant-footer {
    margin: 58px calc(50% - 50vw) 0;
    padding: 46px max(24px, calc((100vw - 1190px) / 2));
    background: #071a38;
    color: #d7e5f5;
}

.tenant-footer-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 42px;
}

.tenant-footer h3,
.tenant-footer h4 {
    margin: 0.3em 0 0.8em;
    color: #ffffff;
}

.tenant-footer p {
    margin: 0.45em 0;
    color: #b9cbe0;
}

.tenant-footer a {
    color: #d7eaff;
}

.tenant-footer-logo {
    max-width: 150px;
    max-height: 58px;
    margin-bottom: 12px;
    padding: 5px;
    border-radius: 8px;
    background: #ffffff;
    object-fit: contain;
}

.tenant-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #91a8c2;
    font-size: 0.78rem;
}


/* ----------------------------------------------------------
   AJUSTES PARA CELULAR E TABLET
   ---------------------------------------------------------- */
@media (max-width: 850px) {
    .recharge-hero {
        grid-template-columns: 1fr;
        padding: 36px 24px;
        border-radius: 24px;
    }

    .recharge-hero h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .recharge-phone {
        display: none;
    }

    .category-showcase {
        grid-template-columns: 1fr;
    }

    .category-showcase > a {
        min-height: 0;
    }

    .landing-how {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .tenant-footer-main {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tenant-footer-bottom {
        flex-direction: column;
    }

    .tenant-footer {
        padding-top: 34px;
        padding-bottom: 34px;
    }
}

@media (max-width: 620px) {
    .brand-showcase {
        padding: 22px 16px;
        border-radius: 22px;
    }

    .brand-group-head {
        align-items: flex-end;
    }

    .brand-group-head h3 {
        font-size: 1rem;
    }

    .brand-rail {
        display: flex;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
    }

    .provider-brand {
        flex: 0 0 132px;
        scroll-snap-align: start;
    }
}
