/* =========================================================
   RODAPÉ — VESTESUL ATACADO
========================================================= */

.site-footer {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;

    background: #FF8579;
    color: #ffffff;

    /*
     * Estende somente o fundo azul até as bordas da tela,
     * sem deslocar o conteúdo do rodapé.
     */
    box-shadow: 0 0 0 100vmax #FF8579;
    clip-path: inset(0 -100vmax);
}

.footer-main {
    width: 100%;
    background: #FF8579;
}


/* =========================================================
   CONTAINER
========================================================= */

.site-footer .container {
    width: 92%;
    max-width: 1280px;

    margin-right: auto;
    margin-left: auto;
}


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

.footer-container {
    display: grid;

    /*
     * 5 COLUNAS:
     * 1. Marca
     * 2. Menu
     * 3. Produtos
     * 4. Contato
     * 5. Institucional
     */
    grid-template-columns:
        minmax(230px, 1.35fr)
        minmax(120px, 0.72fr)
        minmax(170px, 0.95fr)
        minmax(165px, 1.05fr)
        minmax(155px, 1fr);

    align-items: start;

    gap: 26px;

    padding-top: 80px;
    padding-bottom: 70px;
}


/* =========================================================
   MARCA
========================================================= */

.footer-brand {
    min-width: 0;
}

.footer-logo,
.footer-brand img {
    display: block;

    width: 165px;
    max-width: 100%;
    height: auto;

    margin: 0 0 24px;
}

.footer-brand p {
    max-width: 380px;

    margin: 0 0 26px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 16px;
    line-height: 1.8;
}

.footer-whats {
    display: inline-flex;

    min-height: 48px;

    align-items: center;
    justify-content: center;

    padding: 0 24px;

    border-radius: 999px;

    background: #ffffff;
    color: #FF8579;

    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;

    text-decoration: none;

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

.footer-whats:hover {
    color: #FF8579;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.18);

    transform: translateY(-2px);
}


/* =========================================================
   COLUNAS
========================================================= */

.footer-col {
    min-width: 0;
}

.footer-col h3 {
    margin: 0 0 24px;

    color: #ffffff;

    font-size: 19px;
    line-height: 1.25;
}

.footer-col a,
.footer-col p {
    display: block;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.55;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.footer-col a {
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-col a:hover {
    color: #ffffff;

    transform: translateX(5px);
}

/* =========================================================
   CONTATO — EVITAR QUEBRA DO E-MAIL
========================================================= */

.footer-col:nth-of-type(4) p {
    white-space: normal;
}

/* =========================================================
   PARTE INFERIOR
========================================================= */

.footer-bottom {
    width: 100%;

    padding: 23px 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.14);

    background: #FF8579;
}

.footer-bottom-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   NOTEBOOK / TELAS INTERMEDIÁRIAS
========================================================= */

@media (max-width: 1180px) {

    .footer-container {
        grid-template-columns:
            minmax(240px, 1.3fr)
            minmax(110px, 0.75fr)
            minmax(150px, 0.9fr)
            minmax(160px, 0.9fr)
            minmax(150px, 0.9fr);

        gap: 30px;
    }

    .footer-brand p {
        font-size: 15px;
    }

    .footer-col a,
    .footer-col p {
        font-size: 14px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .footer-container {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 48px 40px;

        padding-top: 65px;
        padding-bottom: 58px;
    }

    /*
     * Marca ocupa toda a primeira linha.
     */
    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand p {
        max-width: 560px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .site-footer .container {
        width: 88%;
    }

    .footer-container {
        grid-template-columns: 1fr;

        gap: 34px;

        padding-top: 54px;
        padding-bottom: 46px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-logo,
    .footer-brand img {
        width: 150px;

        margin-bottom: 20px;
    }

    .footer-brand p {
        max-width: none;

        margin-bottom: 23px;

        font-size: 15px;
        line-height: 1.7;
    }

    .footer-whats {
        width: 100%;
        box-sizing: border-box;
    }

    .footer-col h3 {
        margin-bottom: 17px;

        font-size: 18px;
    }

    .footer-col a,
    .footer-col p {
        margin-bottom: 11px;

        font-size: 14px;
    }

    .footer-bottom {
        padding: 21px 0;
    }

    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;

        gap: 8px;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}


/* =========================================================
   CELULARES PEQUENOS
========================================================= */

@media (max-width: 430px) {

    .site-footer .container {
        width: 88%;
    }

    .footer-container {
        gap: 30px;

        padding-top: 48px;
        padding-bottom: 42px;
    }

    .footer-logo,
    .footer-brand img {
        width: 140px;
    }

    .footer-brand p {
        font-size: 14px;
    }

    .footer-col h3 {
        font-size: 17px;
    }

    .footer-col a,
    .footer-col p {
        font-size: 14px;
    }
}


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

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

    .footer-whats,
    .footer-col a {
        transition: none;
    }
}
/* =========================================================
   DADOS LEGAIS DA EMPRESA
========================================================= */

.footer-legal {
    margin-top: 20px;
    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    text-align: center;
}

.footer-legal p {
    margin: 0;

    color: rgba(255, 255, 255, 0.52);

    font-size: 11px;
    line-height: 1.7;
}

.footer-legal p + p {
    margin-top: 2px;
}


/* =========================================================
   DADOS LEGAIS — MOBILE
========================================================= */

@media (max-width: 767px) {

    .footer-legal {
        margin-top: 18px;
        padding-top: 18px;
    }

    .footer-legal p {
        font-size: 10px;
        line-height: 1.65;
    }
}
/* Vestesul: acentos roxos e contato legível */
.site-footer .footer-col a:hover { color: #F3D8FF; }
.site-footer .footer-whats { color: #8520B5; }
.site-footer .footer-col p, .site-footer .footer-col a { overflow-wrap: anywhere; white-space: normal; }
