/* ==============================================
   ESTRUTURA BASE E HEADER (Reutilizável)
   ============================================== */
.container-vit-padrao {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px;
    font-family: "Oswald", sans-serif;
    flex: 1;
    display: flex;
    flex-direction: column;

    * {
        box-sizing: border-box;
    }
}

.header-vit {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--bg-base-grey-dark);
    padding-bottom: 15px;

    h1 {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
        color: var(--text-dark);
        font-weight: 600;
        margin: 0;
        text-transform: uppercase;
    }

    span {
        font-size: 1.1rem;
        color: var(--text-grey);
    }
}

/* ==============================================
   BANNER HERO
   ============================================== */
.envio-hero {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    position: relative;
    border: 1px solid var(--bg-base-grey-dark);
    background-color: var(--bg-base-dark);

    .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.8;

        &.hide-img {
            display: none;
        }
    }

    .hero-placeholder {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--text-grey);

        &.show-placeholder {
            display: flex;
        }

        i {
            font-size: 4rem;
            margin-bottom: 10px;
            color: var(--text-yellow);
        }

        h2 {
            font-size: 2rem;
            letter-spacing: 2px;
            margin: 0;
            color: var(--text-light);
        }
    }

    @media (max-width: 768px) {
        height: 200px;
    }
}

/* ==============================================
   GRID PRINCIPAL E TEXTO (POLÍTICA)
   ============================================== */
.envio-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;

    @media (max-width: 900px) {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.envio-texto {
    background-color: var(--bg-base-light);
    padding: 30px;
    border-radius: 12px;

    h2 {
        font-size: 1.5rem;
        color: var(--text-dark);
        margin: 30px 0 20px 0;
        display: flex;
        align-items: center;
        gap: 10px;
        text-transform: uppercase;

        &:first-child {
            margin-top: 0;
        }

        i {
            color: var(--text-yellow);
        }
    }

    p {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1.05rem;
        line-height: 1.7;
        color: #444;
        margin-bottom: 15px;
        text-align: justify;
    }

    ul {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1.05rem;
        line-height: 1.7;
        color: #444;
        margin-bottom: 20px;
        padding-left: 20px;

        li {
            margin-bottom: 8px;
        }
    }
}

/* ==============================================
   CARD DE INFORMAÇÕES (SUPORTE)
   ============================================== */
.envio-info-card {
    background-color: var(--bg-base-light);
    border: 1px solid var(--bg-base-grey-dark);
    border-radius: 12px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 20px;

    .card-titulo {
        font-size: 1.2rem;
        color: var(--text-dark);
        margin: 0 0 20px 0;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--bg-base-grey);
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 600;

        i {
            color: var(--text-yellow);
        }
    }

    .card-description {
        font-size: 0.95rem;
        color: var(--text-grey);
        margin-bottom: 20px;
        font-family: Arial, Helvetica, sans-serif;
        line-height: 1.5;
    }

    .info-list {
        display: flex;
        flex-direction: column;
        gap: 15px;

        .info-item {
            display: flex;
            flex-direction: column;
            gap: 2px;

            span {
                font-size: 0.85rem;
                color: var(--text-grey);
                font-weight: 600;
                text-transform: uppercase;
            }

            strong {
                font-size: 1rem;
                color: var(--text-dark);
                font-weight: 500;
            }
        }
    }

    .envio-action {
        margin-top: 25px;
        border-top: 1px dashed var(--bg-base-grey-dark);
        padding-top: 20px;

        .btn-rastreio {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            height: 45px;
            border-radius: 8px;
            background-color: var(--bg-base-dark);
            color: var(--text-light);
            text-decoration: none;
            font-size: 1rem;
            font-weight: 600;
            text-transform: uppercase;
            transition: 0.3s ease;

            &:hover {
                background-color: var(--text-yellow);
                color: var(--bg-base-dark);
            }
        }
    }
}

/* ==============================================
   ANIMAÇÕES
   ============================================== */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.5s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}