/* ==========================================================================
   Footer Styles - Paróquia São Gonçalo do Sapucaí
   Variáveis CSS consolidadas em design-system.css
   ========================================================================== */

/* Footer main container */
.c-footer {
    background-color: rgb(var(--rgb-charcoal-1));
    overflow: hidden;
    padding: 60px var(--x-80) 30px var(--x-80);
    position: relative;
}

/* Footer top container */
.c-footer__top-container {
    align-items: flex-end;
    display: flex;
    gap: var(--x-40);
    justify-content: space-between;
}

@media screen and (max-width: 990px) {
    .c-footer__top-container {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Footer left side */
.c-footer__left {
    flex-shrink: 0;
}

/* Logo container */
.c-footer__logo-container {
    margin-bottom: 20px;
}

.c-footer__logo-link {
    display: inline-block;
}

.c-footer__logo-img {
    height: auto;
    max-width: 260px;
    width: 100%;
}

/* Social container */
.c-footer__social-container {
    margin-top: var(--y-50);
}

.c-footer__social-title {
    color: rgb(var(--rgb-white));
    display: block;
    font-family: var(--ff);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.6px;
    line-height: 1.3em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.c-footer__social-items {
    align-items: center;
    display: flex;
    gap: 7px;
}

.c-footer__social-link {
    align-items: center;
    background-color: rgb(var(--rgb-charcoal-2));
    border-radius: 50%;
    display: flex;
    height: 40px;
    justify-content: center;
    transition: background-color 0.3s;
    width: 40px;
}

.c-footer__social-link:hover {
    background-color: #343538;
}

.c-footer__social-svg {
    fill: rgb(var(--rgb-white));
    height: 18px;
    width: 18px;
}

/* Footer right side - Newsletter */
.c-footer__right {
    flex: 1;
    max-width: 500px;
}

@media screen and (max-width: 990px) {
    .c-footer__right {
        max-width: 100%;
    }
}

.c-footer__newsletter-container {
    background: rgb(var(--rgb-light-turquoise));
    border-radius: 25px;
    padding: var(--y-50) var(--x-40);
}

.c-footer__newsletter-suptitle {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.6px;
    margin-bottom: 14px;
    text-transform: uppercase;
    color: rgb(var(--rgb-charcoal-1));
    font-family: var(--ff);
    font-weight: 500;
    line-height: 1.3em;
}

.c-footer__newsletter-title {
    color: rgb(var(--rgb-charcoal-1));
    font-family: var(--ff);
    font-weight: 500;
    line-height: 1.3em;
    font-size: var(--fz-30);
    margin: 0;
}

.c-footer__newsletter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
}

.c-footer__newsletter-buttons>a {
    flex: 1 0 auto;
}

/* Footer mobile container */
.c-footer__mobile {
    width: 100%;
}

@media screen and (min-width: 991px) {
    .c-footer__mobile {
        display: none;
    }
}

#style-gMbEI.style-gMbEI {
    display: none;
}

/* Copyright container */
.c-footer__copyright-container {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding-bottom: 14px;
    padding-top: var(--y-60);
}

@media screen and (max-width: 768px) {
    .c-footer__copyright-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

.c-footer__copyright-left {
    align-items: center;
    display: flex;
    gap: var(--x-40);
}

@media screen and (max-width: 768px) {
    .c-footer__copyright-left {
        flex-direction: column;
        gap: 10px;
    }
}

.c-footer__copyright-right {
    align-items: center;
    display: flex;
    gap: var(--x-40);
}

@media screen and (max-width: 768px) {
    .c-footer__copyright-right {
        flex-direction: column;
        gap: 10px;
    }
}

.c-footer__copyright {
    color: rgb(var(--rgb-white));
    font-family: var(--ff);
    font-size: 0.8125rem;
    line-height: 1.3em;
    margin: 0;
}

.c-footer__copyright-link {
    color: rgb(var(--rgb-white));
    font-family: var(--ff);
    font-size: 0.8125rem;
    line-height: 1.3em;
    transition: color 0.3s;
    text-decoration: none;
}

.c-footer__copyright-link:hover {
    color: rgba(var(--rgb-white), 0.6);
}

/* Fast links container */
.c-footer__fast-links-container {
    border-top: 1px solid rgb(var(--rgb-charcoal-3));
    padding-top: 30px;
}

.c-footer__fast-links {
    align-items: center;
    display: flex;
    gap: 10px;
}

@media screen and (max-width: 768px) {
    .c-footer__fast-links {
        flex-wrap: wrap;
    }
}

.c-footer__fast-link-container {
    flex: 1;
}

@media screen and (max-width: 768px) {
    .c-footer__fast-link-container {
        flex: 1 1 calc(50% - 5px);
    }
}

/* Fast link buttons - estilos base em design-system.css */

/* Page layout sticky container */
.o-page-layout__sticky-container {
    align-items: flex-end;
    bottom: var(--y-20);
    display: flex;
    left: 20px;
    position: absolute;
    top: 0;
}

.o-page-layout__sticky {
    bottom: var(--y-20);
    position: sticky;
}

/* Button styles - estilos base em design-system.css */

/* Cookies button */
.c-button-cookies {
    align-items: center;
    background-color: rgb(var(--rgb-white));
    border-radius: 50%;
    bottom: 10px;
    box-shadow: 0 0 10px rgba(var(--rgb-black), 0.25);
    display: flex;
    height: 50px;
    justify-content: center;
    left: 10px;
    position: fixed;
    transition: all 0.3s;
    width: 50px;
    z-index: 109;
    border: none;
    cursor: pointer;
}

.c-button-cookies:hover {
    background-color: rgb(var(--rgb-charcoal-1));
    box-shadow: 0 0 10px rgba(var(--rgb-white), 0.35);
}

.c-button-cookies:hover .c-button-cookies__svg {
    fill: rgb(var(--rgb-white));
}

.c-button-cookies__svg {
    fill: rgb(var(--rgb-charcoal-1));
    height: 20px;
    transition: fill 0.3s;
    width: 20px;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 576px) {
    .c-footer {
        padding: 40px 20px 20px 20px;
    }

    .c-footer__newsletter-container {
        padding: 30px 20px;
    }

    .c-footer__newsletter-title {
        font-size: 1.25rem;
    }

    .c-footer__newsletter-buttons {
        flex-direction: column;
    }

}
