/* =========================================================
   RODAPÉ OFICIAL
   APÓSTOLA PATRICIA SANTANA
========================================================= */

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

.footer-premium {
    width: 100%;
    margin: 0;
    padding: 0;

    background:
        radial-gradient(
            ellipse at 50% 35%,
            rgba(217, 154, 39, 0.055) 0%,
            rgba(217, 154, 39, 0.018) 35%,
            transparent 65%
        ),
        #070706;

    color: #ffffff;

    border-top: 1px solid rgba(217, 154, 39, 0.65);

    font-family: "Montserrat", Arial, sans-serif;

    overflow: hidden;
}


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

.footer-premium-inner {
    width: min(1420px, 92%);
    margin: 0 auto;

    padding: 38px 0 36px;

    display: grid;

    grid-template-columns:
        minmax(170px, 0.82fr)
        minmax(390px, 1.65fr)
        minmax(200px, 0.92fr)
        minmax(230px, 1fr);

    align-items: stretch;

    gap: 0;
}


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

.footer-premium-column {
    min-width: 0;

    position: relative;

    padding: 10px 38px;
}


/* LINHAS VERTICAIS */

.footer-premium-column + .footer-premium-column {
    border-left: 1px solid rgba(217, 154, 39, 0.43);
}


/* =========================================================
   TÍTULOS
========================================================= */

.footer-premium-column h4 {
    margin: 0;

    color: #d99a27;

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.2;

    letter-spacing: 2.2px;

    text-transform: uppercase;
}


/* LINHA ABAIXO DOS TÍTULOS */

.footer-heading-line {
    display: block;

    width: 44px;
    height: 2px;

    margin: 14px 0 21px;

    background: #d99a27;
}


/* =========================================================
   LINKS
========================================================= */

.footer-links {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 14px;
}


.footer-links a {
    display: inline-block;

    margin: 0;
    padding: 0;

    color: #e7e1d9;

    font-family: "Montserrat", Arial, sans-serif;

    font-size: 12px;
    font-weight: 400;

    line-height: 1.35;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.footer-links a:hover {
    color: #d99a27;

    transform: translateX(3px);
}


/* =========================================================
   BLOCO CENTRAL
========================================================= */

.footer-brand-center {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;

    text-align: center;

    padding-top: 0;
}


/* =========================================================
   LOGO
========================================================= */

.footer-logo-link {
    display: flex;

    width: 100%;

    align-items: center;

    justify-content: center;

    margin: -14px auto 6px;

    padding: 0;

    line-height: 0;

    text-decoration: none;
}


.footer-logo-img {
    display: block;

    width: 100%;

    max-width: 355px;

    height: auto;

    margin: 0 auto;

    padding: 0;

    object-fit: contain;

    object-position: center;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   IMPORTANTE
   NÃO MOSTRAR A ANTIGA LINHA / LOSANGO
========================================================= */

.footer-diamond,
.footer-center-line {
    display: none !important;
}


/* =========================================================
   ENSINO • LIBERTAÇÃO • CURA • RESTAURAÇÃO
========================================================= */

.footer-ministry-line {
    width: 100%;

    max-width: 355px;

    margin: 3px auto 0;

    padding: 0;

    color: #eee7de;

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 15px;
    font-weight: 600;

    line-height: 1.55;

    letter-spacing: 3.8px;

    text-align: center;

    text-transform: uppercase;
}


/* =========================================================
   FRASE ABAIXO
========================================================= */

.footer-ministry-subtitle {
    width: 100%;

    max-width: 355px;

    margin: 7px auto 0;

    padding: 0;

    color: #b8a58a;

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 17px;
    font-weight: 500;

    font-style: italic;

    line-height: 1.45;

    text-align: center;
}


/* =========================================================
   REDES SOCIAIS
========================================================= */

.footer-social {
    display: flex;

    align-items: center;

    gap: 12px;

    margin: 0;
}


.footer-social a {
    width: 40px;
    height: 40px;

    margin: 0;
    padding: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #d99a27;

    border-radius: 50%;

    color: #d99a27;

    background: transparent;

    font-family: "Montserrat", Arial, sans-serif;

    font-size: 15px;
    font-weight: 700;

    line-height: 1;

    text-decoration: none;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}


.footer-social a:hover {
    color: #070706;

    background: #d99a27;

    transform: translateY(-2px);
}


/* =========================================================
   TEXTO DAS REDES
========================================================= */

.footer-social-text {
    max-width: 230px;

    margin: 20px 0;

    padding: 0;

    color: #aaa199;

    font-family: "Montserrat", Arial, sans-serif;

    font-size: 10px;
    font-weight: 300;

    line-height: 1.65;
}


/* =========================================================
   BOTÃO WHATSAPP
========================================================= */

.footer-whatsapp {
    width: fit-content;

    min-width: 188px;
    min-height: 42px;

    margin: 0;

    padding: 0 18px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    border: 1px solid #d99a27;

    border-radius: 30px;

    background: transparent;

    color: #e2ad3d;

    font-family: "Montserrat", Arial, sans-serif;

    font-size: 10px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: 0.2px;

    text-decoration: none;

    text-transform: uppercase;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.footer-whatsapp-icon {
    display: block;

    width: 15px;
    height: 15px;

    flex: 0 0 15px;

    color: #d99a27;
}


.footer-whatsapp-arrow {
    margin-left: 3px;

    font-size: 14px;

    line-height: 1;
}


.footer-whatsapp:hover {
    background: #d99a27;

    color: #070706;

    transform: translateY(-2px);
}


.footer-whatsapp:hover .footer-whatsapp-icon {
    color: #070706;
}


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

.footer-premium-bottom {
    width: 100%;

    border-top: 1px solid rgba(217, 154, 39, 0.78);

    background: rgba(0, 0, 0, 0.18);
}


.footer-premium-bottom-inner {
    width: min(1420px, 92%);

    min-height: 56px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    color: #8e8881;

    font-family: "Montserrat", Arial, sans-serif;

    font-size: 9px;
    font-weight: 300;

    line-height: 1.4;
}


/* =========================================================
   PRIVACIDADE / TERMOS
========================================================= */

.footer-legal {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 14px;
}


.footer-legal a {
    margin: 0;
    padding: 0;

    color: #8e8881;

    font-family: "Montserrat", Arial, sans-serif;

    font-size: 9px;

    text-decoration: none;

    transition: color 0.25s ease;
}


.footer-legal a:hover {
    color: #d99a27;
}


.footer-legal-divider {
    color: #a46e18;
}


/* =========================================================
   NOTEBOOK / TELA MÉDIA
========================================================= */

@media (max-width: 1180px) {

    .footer-premium-inner {
        width: 94%;

        grid-template-columns:
            minmax(145px, 0.8fr)
            minmax(330px, 1.5fr)
            minmax(175px, 0.9fr)
            minmax(190px, 1fr);
    }


    .footer-premium-column {
        padding-left: 24px;
        padding-right: 24px;
    }


    .footer-logo-img {
        max-width: 320px;
    }


    .footer-ministry-line {
        font-size: 13px;

        letter-spacing: 3px;
    }


    .footer-social-text {
        max-width: 200px;
    }

}


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

@media (max-width: 900px) {

    .footer-premium-inner {
        width: min(760px, 90%);

        padding: 42px 0 36px;

        grid-template-columns: 1fr 1fr;

        gap: 40px 0;
    }


    .footer-premium-column {
        padding: 0 34px;
    }


    .footer-premium-column + .footer-premium-column {
        border-left: none;
    }


    /* LOGO PRIMEIRO */

    .footer-brand-center {
        order: -1;

        grid-column: 1 / -1;

        padding-bottom: 12px;

        border-left: none !important;
    }


    .footer-logo-img {
        max-width: 340px;
    }


    .footer-ministry-line {
        max-width: 410px;

        font-size: 14px;

        letter-spacing: 3px;
    }


    .footer-ministry-subtitle {
        font-size: 14px;
    }


    /* COLUNAS INFERIORES */

    .footer-ministry-column,
    .footer-social-column {
        border-left: 1px solid rgba(217, 154, 39, 0.38);
    }


    .footer-premium-bottom-inner {
        width: 90%;
    }

}

/* =========================================================
   CELULAR — RODAPÉ COMPACTO E ORGANIZADO
========================================================= */
@media (max-width: 620px) {

    .footer-premium .footer-premium-inner {
        width: 92% !important;
        max-width: 500px !important;
        margin: 0 auto !important;
        padding: 26px 0 24px !important;

        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        grid-template-areas:
            "brand brand"
            "nav ministry"
            "social social" !important;

        column-gap: 18px !important;
        row-gap: 19px !important;
        align-items: start !important;
    }

    .footer-premium .footer-premium-column {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border-left: 0 !important;
        text-align: center !important;
    }

    /* 1º bloco: logo */
    .footer-premium .footer-brand-center {
        grid-area: brand !important;
        order: initial !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    /* 2º bloco: Navegação */
    .footer-premium .footer-premium-inner > .footer-premium-column:nth-child(1) {
        grid-area: nav !important;
    }

    /* 3º bloco: Ministério */
    .footer-premium .footer-premium-inner > .footer-premium-column:nth-child(3) {
        grid-area: ministry !important;
    }

    /* 4º bloco: Redes */
    .footer-premium .footer-premium-inner > .footer-premium-column:nth-child(4) {
        grid-area: social !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* LOGO */
    .footer-premium .footer-logo-link {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        margin: 0 auto 6px !important;
        padding: 0 !important;
        line-height: 0 !important;
    }

    .footer-premium .footer-logo-img {
        display: block !important;

        width: 100% !important;
        max-width: 410px !important;
        height: auto !important;

        margin: 0 auto !important;
        padding: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;

        object-fit: contain !important;
        object-position: center !important;
    }

    .footer-premium .footer-diamond,
    .footer-premium .footer-center-line {
        display: none !important;
    }

    .footer-premium .footer-ministry-line {
        width: 100% !important;
        max-width: 355px !important;

        margin: 1px auto 0 !important;
        padding: 0 !important;

        font-size: 9.5px !important;
        line-height: 1.45 !important;
        letter-spacing: 1.65px !important;
        text-align: center !important;
    }

    .footer-premium .footer-ministry-subtitle {
        width: 100% !important;
        max-width: 355px !important;

        margin: 2px auto 0 !important;
        padding: 0 !important;

        font-size: 9.5px !important;
        line-height: 1.45 !important;
        text-align: center !important;
    }

    /* TÍTULOS DAS COLUNAS */
    .footer-premium .footer-premium-column h4 {
        margin: 0 !important;

        font-size: 12px !important;
        line-height: 1.25 !important;
        letter-spacing: 1.25px !important;
        text-align: center !important;
    }

    .footer-premium .footer-heading-line {
        display: block !important;

        width: 30px !important;
        height: 2px !important;

        margin: 9px auto 13px !important;

        background: #d99a27 !important;
    }

    /* LINKS */
    .footer-premium .footer-links {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;

        width: 100% !important;
        gap: 7px !important;
    }

    .footer-premium .footer-links a {
        display: block !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 9px !important;
        line-height: 1.4 !important;
        text-align: center !important;
        white-space: normal !important;
    }

    .footer-premium .footer-links a:hover {
        transform: none !important;
    }

    /* REDES */
    .footer-premium .footer-social {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        gap: 9px !important;
        margin: 0 auto !important;
    }

    .footer-premium .footer-social a {
        width: 32px !important;
        height: 32px !important;

        font-size: 9px !important;
    }

    .footer-premium .footer-social-text {
        width: 100% !important;
        max-width: 245px !important;

        margin: 12px auto !important;

        font-size: 8px !important;
        line-height: 1.5 !important;
        text-align: center !important;
    }

    /* WHATSAPP */
    .footer-premium .footer-whatsapp {
        width: auto !important;
        min-width: 150px !important;
        min-height: 35px !important;

        margin: 0 auto !important;
        padding: 0 13px !important;

        gap: 6px !important;

        font-size: 8px !important;
    }

    .footer-premium .footer-whatsapp-icon {
        width: 12px !important;
        height: 12px !important;
        flex: 0 0 12px !important;
    }

    .footer-premium .footer-whatsapp-arrow {
        font-size: 11px !important;
    }

    /* COPYRIGHT */
    .footer-premium .footer-premium-bottom-inner {
        width: 90% !important;
        min-height: auto !important;

        margin: 0 auto !important;
        padding: 14px 0 !important;

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

        gap: 7px !important;

        font-size: 7.5px !important;
        line-height: 1.45 !important;
        text-align: center !important;
    }

    .footer-premium .footer-legal {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        gap: 8px !important;
        flex-wrap: wrap !important;
    }

    .footer-premium .footer-legal a {
        font-size: 7.5px !important;
    }
}


/* =========================================================
   CELULAR PEQUENO
========================================================= */
@media (max-width: 420px) {

    .footer-premium .footer-premium-inner {
        width: 94% !important;
        padding: 22px 0 20px !important;

        column-gap: 10px !important;
        row-gap: 18px !important;
    }

    .footer-premium .footer-logo-img {
        width: 100% !important;
        max-width: 360px !important;
    }

    .footer-premium .footer-ministry-line {
        max-width: 270px !important;

        font-size: 8.5px !important;
        letter-spacing: 1.25px !important;
    }

    .footer-premium .footer-ministry-subtitle {
        font-size: 9px !important;
    }

    .footer-premium .footer-premium-column h4 {
        font-size: 11px !important;
        letter-spacing: 1px !important;
    }

    .footer-premium .footer-heading-line {
        width: 27px !important;
        margin: 8px auto 12px !important;
    }

    .footer-premium .footer-links {
        gap: 6px !important;
    }

    .footer-premium .footer-links a {
        font-size: 8.5px !important;
    }

    .footer-premium .footer-social a {
        width: 30px !important;
        height: 30px !important;
    }

    .footer-premium .footer-social-text {
        margin: 11px auto !important;
        font-size: 7.5px !important;
    }

    .footer-premium .footer-whatsapp {
        min-width: 145px !important;
        min-height: 34px !important;

        font-size: 7.5px !important;
    }

    .footer-premium .footer-premium-bottom-inner,
    .footer-premium .footer-legal a {
        font-size: 7px !important;
    }
}


@media (max-width: 620px) {

    /* LOGO MENOR */
    .footer-premium .footer-logo-img {
        width: 100% !important;
        max-width: 285px !important;
        height: auto !important;
        margin: 0 auto !important;
    }

    /* TÍTULOS NAVEGAÇÃO / MINISTÉRIO */
    .footer-premium .footer-premium-column h4 {
        font-size: 12px !important;
        letter-spacing: 1.7px !important;
        line-height: 1.2 !important;
    }

    /* LINKS: INÍCIO, SOBRE, CURSOS / CURA INTERIOR ETC. */
    .footer-premium .footer-links a {
        font-size: 10px !important;
        line-height: 1.35 !important;
        padding: 3px 0 !important;
    }

    .footer-premium .footer-links {
        gap: 3px !important;
    }
}
