/**
 * ==========================================================================
 * ACP-SG
 * Associação Cidade Praia Salto Grande
 *
 * FOOTER
 * ==========================================================================
 */


/* ==========================================================================
   FOOTER
========================================================================== */

.site-footer {
    position: relative;
    overflow: hidden;
    color: #ffffff;
}


/* ==========================================================================
   ONDAS
========================================================================== */

.site-footer__waves {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 125px;

    overflow: hidden;

    z-index: 1;
}

.site-footer__wave {
    position: absolute;

    left: -5%;
    width: 110%;
    height: 100px;

    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}


/* Onda traseira */

.site-footer__wave--back {
    top: 35px;

    background: var(--cor-agua);

    transform: rotate(-2deg);
}


/* Onda frontal */

.site-footer__wave--front {
    top: 60px;

    background: #063e3a;

    transform: rotate(1.5deg);
}


/* ==========================================================================
   ÁREA PRINCIPAL
========================================================================== */

.site-footer__main {
    position: relative;
    z-index: 2;

    margin-top: 80px;
    padding: 75px 0 55px;

    background: #063e3a;
}


/* ==========================================================================
   GRID PRINCIPAL
========================================================================== */

.site-footer__grid {
    display: grid;

    grid-template-columns:
        1.4fr
        0.8fr
        1fr
        0.9fr;

    gap: 60px;
}


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

.site-footer__logo {
    display: inline-block;

    margin-bottom: 25px;
}

.site-footer__logo img {
    display: block;

    width: 230px;
    max-width: 100%;
}

.site-footer__brand p {
    max-width: 390px;

    margin: 0;

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

    font-size: 0.98rem;
    line-height: 1.8;
}


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

.site-footer__social {
    margin-top: 35px;
}

.site-footer__social > span {
    display: block;

    margin-bottom: 15px;

    color: #9bbb6d;

    font-size: 1.05rem;
    font-weight: 700;
}

.site-footer__social-links {
    display: flex;
    gap: 12px;
}

.site-footer__social-links a {
    width: 48px;
    height: 48px;

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

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;

    color: #ffffff;

    font-size: 1.1rem;

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

.site-footer__social-links a:hover {
    background: #7d9b61;
    border-color: #7d9b61;

    color: #ffffff;

    transform: translateY(-3px);
}


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

.site-footer__column h3 {
    margin: 0 0 25px;

    color: #9bbb6d;

    font-size: 1rem;
    font-weight: 700;

    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-footer__column h3::after {
    content: "";

    display: block;

    width: 55px;
    height: 1px;

    margin-top: 12px;

    background: rgba(155, 187, 109, 0.65);
}

.site-footer__column ul {
    margin: 0;
    padding: 0;
}

.site-footer__column li {
    margin-bottom: 14px;
}

.site-footer__column li a {
    color: rgba(255, 255, 255, 0.9);

    font-size: 0.95rem;
    line-height: 1.5;

    transition:
        color var(--transicao),
        padding-left var(--transicao);
}

.site-footer__column li a:hover {
    color: #9bbb6d;
    padding-left: 4px;
}


/* ==========================================================================
   CONTATO
========================================================================== */

.site-footer__contact li {
    display: flex;

    align-items: flex-start;

    gap: 14px;

    margin-bottom: 20px;
}

.site-footer__contact-icon {
    flex: 0 0 25px;

    color: #9bbb6d;

    font-size: 1.05rem;

    text-align: center;
}

.site-footer__contact li > span:last-child,
.site-footer__contact li a {
    color: rgba(255, 255, 255, 0.9);

    font-size: 0.95rem;
    line-height: 1.65;
}

.site-footer__contact li a:hover {
    color: #9bbb6d;
}


/* ==========================================================================
   DIVISOR
========================================================================== */

.site-footer__divider {
    position: relative;

    height: 35px;

    margin: 50px 0 35px;

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

.site-footer__divider::before {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    top: 50%;

    height: 1px;

    background: rgba(155, 187, 109, 0.28);
}

.site-footer__divider span {
    position: relative;
    z-index: 1;

    width: 45px;
    height: 45px;

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

    background: #063e3a;

    color: #9bbb6d;

    font-size: 1.1rem;
}


/* ==========================================================================
   NEWSLETTER
========================================================================== */

.site-footer__newsletter {
    display: flex;

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

    gap: 50px;
}

.site-footer__newsletter-text {
    display: flex;

    align-items: center;

    gap: 25px;

    max-width: 470px;
}

.site-footer__newsletter-icon {
    width: 70px;
    height: 70px;

    flex: 0 0 70px;

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

    border: 1px solid #9bbb6d;
    border-radius: 50%;

    color: #9bbb6d;

    font-size: 1.5rem;
}

.site-footer__newsletter-text h3 {
    margin: 0 0 7px;

    color: #9bbb6d;

    font-size: 1rem;
    font-weight: 700;

    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-footer__newsletter-text p {
    margin: 0;

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

    font-size: 0.92rem;
    line-height: 1.5;
}


/* ==========================================================================
   FORMULÁRIO NEWSLETTER
========================================================================== */

.site-footer__newsletter-form {
    display: flex;

    width: min(100%, 520px);
}

.site-footer__newsletter-form input {
    min-width: 0;
    height: 58px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-right: 0;

    border-radius: 8px 0 0 8px;

    background: transparent;

    color: #ffffff;
}

.site-footer__newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.site-footer__newsletter-form input:focus {
    border-color: #9bbb6d;

    box-shadow: none;
}

.site-footer__newsletter-form .btn {
    min-width: 155px;

    border-radius: 0 8px 8px 0;

    background: #7d9b61;
    border-color: #7d9b61;
}

.site-footer__newsletter-form .btn:hover {
    background: #91ad73;
    border-color: #91ad73;
}


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

.site-footer__bottom {
    position: relative;
    z-index: 3;

    padding: 22px 0;

    background: #04312e;
}

.site-footer__bottom-inner {
    display: flex;

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

    gap: 25px;
}

.site-footer__bottom p {
    margin: 0;

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

    font-size: 0.78rem;
}

.site-footer__bottom a {
    color: rgba(255, 255, 255, 0.88);
}

.site-footer__bottom a:hover {
    color: #9bbb6d;
}


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

.site-footer__legal {
    display: flex;

    align-items: center;

    gap: 12px;
}

.site-footer__legal span {
    color: rgba(255, 255, 255, 0.3);
}


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

@media (max-width: 1050px) {

    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 50px;
    }

    .site-footer__newsletter {
        align-items: flex-start;

        flex-direction: column;
    }

    .site-footer__newsletter-form {
        width: 100%;

        max-width: 650px;
    }

    .site-footer__bottom-inner {
        flex-wrap: wrap;
    }

}


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

@media (max-width: 768px) {

    .site-footer__waves {
        height: 95px;
    }

    .site-footer__wave {
        height: 75px;
    }

    .site-footer__wave--back {
        top: 30px;
    }

    .site-footer__wave--front {
        top: 48px;
    }


    .site-footer__main {
        margin-top: 60px;

        padding: 60px 0 45px;
    }


    .site-footer__grid {
        grid-template-columns: 1fr;

        gap: 42px;
    }


    .site-footer__brand p {
        max-width: 100%;
    }


    .site-footer__newsletter-text {
        align-items: flex-start;
    }


    .site-footer__newsletter-form {
        flex-direction: column;

        gap: 10px;
    }

    .site-footer__newsletter-form input,
    .site-footer__newsletter-form .btn {
        width: 100%;

        border-radius: 6px;
    }

    .site-footer__newsletter-form input {
        border-right: 1px solid rgba(255, 255, 255, 0.25);
    }


    .site-footer__bottom-inner {
        flex-direction: column;

        align-items: flex-start;

        text-align: left;
    }


    .site-footer__legal {
        flex-wrap: wrap;
    }

}


/* ==========================================================================
   CELULAR PEQUENO
========================================================================== */

@media (max-width: 480px) {

    .site-footer__logo img {
        width: 200px;
    }


    .site-footer__newsletter-text {
        gap: 16px;
    }


    .site-footer__newsletter-icon {
        width: 55px;
        height: 55px;

        flex-basis: 55px;

        font-size: 1.2rem;
    }

}