/* ==========================================================
   COSTA PLATFORM v1.0 — FOOTER.CSS
   Rodapé Premium — Costa do Sol Tour
   ========================================================== */

/* ==========================
   BASE DO RODAPÉ
   ========================== */

.cst-footer-premium,
.cst-footer-premium * {
    box-sizing: border-box;
}

.cst-footer-premium {
    width: 100%;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(circle at 18% 18%, rgba(212, 175, 55, 0.075), transparent 28%),
        radial-gradient(circle at 86% 42%, rgba(255, 255, 255, 0.045), transparent 32%),
        linear-gradient(180deg, var(--cst-blue) 0%, var(--cst-blue-dark) 100%);

    color: var(--cst-white);
}

.cst-footer-premium a {
    color: inherit;
    text-decoration: none;
}

.cst-footer-premium p,
.cst-footer-premium h3,
.cst-footer-premium ul {
    margin-top: 0;
}

.cst-footer-premium ul {
    list-style: none;
    padding-left: 0;
}

.cst-footer-premium img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================
   FAIXA DE CONFIANÇA
   ========================== */

.cst-footer-trust {
    padding: 34px 0;
}

.cst-footer-trust-inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;

    border: 1px solid rgba(212, 175, 55, 0.30);
    border-radius: 18px;

    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 18px 40px rgba(0, 0, 0, 0.16);

    overflow: hidden;
}

.cst-footer-trust-card {
    position: relative;

    display: flex;
    align-items: center;
    gap: 14px;

    min-height: 104px;
    padding: 22px 20px;

    background: transparent;

    transition:
        background-color var(--cst-transition),
        transform var(--cst-transition);
}

.cst-footer-trust-card:not(:last-child) {
    border-right: 1px solid rgba(212, 175, 55, 0.18);
}

.cst-footer-trust-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 2px;

    background: linear-gradient(
        180deg,
        transparent,
        rgba(212, 175, 55, 0.70),
        transparent
    );

    opacity: 0;
    transition: opacity var(--cst-transition);
}

.cst-footer-trust-card:hover {
    background: rgba(255, 255, 255, 0.035);
}

.cst-footer-trust-card:hover::before {
    opacity: 1;
}

.cst-footer-trust-icon {
    flex: 0 0 auto;

    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(212, 175, 55, 0.42);
    border-radius: 50%;

    color: var(--cst-gold);
    font-size: 17px;
    line-height: 1;

    background:
        radial-gradient(circle at 35% 30%, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.06));

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 18px rgba(0, 0, 0, 0.16);
}

.cst-footer-trust-content {
    min-width: 0;
}

.cst-footer-trust-content strong {
    display: block;

    margin-bottom: 5px;

    color: var(--cst-white);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.18;
    text-transform: uppercase;
    letter-spacing: 0.035em;
}

.cst-footer-trust-content p {
    margin: 0;

    color: var(--cst-white-soft);
    font-size: 13.5px;
    line-height: 1.38;
}

/* ==========================
   RESPONSIVO — TABLET
   ========================== */

@media (max-width: 1024px) {

    .cst-footer-trust-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cst-footer-trust-card {
        min-height: 96px;
    }

    .cst-footer-trust-card:not(:last-child) {
        border-right: none;
    }

    .cst-footer-trust-card:nth-child(odd) {
        border-right: 1px solid rgba(212, 175, 55, 0.18);
    }

    .cst-footer-trust-card:not(:nth-last-child(-n+2)) {
        border-bottom: 1px solid rgba(212, 175, 55, 0.18);
    }
}

/* ==========================
   RESPONSIVO — CELULAR
   ========================== */

@media (max-width: 767px) {

    .cst-footer-trust {
        padding: 26px 0;
    }

    .cst-footer-trust-inner {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }

    .cst-footer-trust-card {
        min-height: auto;
        padding: 20px 18px;
    }

    .cst-footer-trust-card:nth-child(odd) {
        border-right: none;
    }

    .cst-footer-trust-card:not(:last-child) {
        border-bottom: 1px solid rgba(212, 175, 55, 0.18);
    }

    .cst-footer-trust-icon {
        width: 36px;
        height: 36px;
    }
