
:root {
    --header-height: 3.5rem;

    --primary-color-blue: #2563EB;
    --second-color-blue: #3B82F6;
    --accent-color: #60A5FA;
    --color-hover: #080F28;
    --principal-tittle: #0000;
    --subtittles: #374151;
    --secondary-text: #FFF;

    --body-font: "Poppins", sans-serif;
    --body-font-2: "Stack Sans Headline", sans-serif;

    --normal-font-size: .938rem;

    --font-regular: 400;
    --font-semi-bold: 600;

    --z-tooltip: 10;
    --z-fixed: 9999;
}


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

footer {
    width: 100%;
    font-family: var(--body-font);
    color: #FFF;
    background-color: var(--color-hover);
}


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

.sociais-part {
    width: 100%;
    min-height: 200px;

    padding: 2rem 1.5rem;

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

    gap: 2rem;

    background:
        radial-gradient(
            circle,
            #1e88e54b 0%,
            var(--color-hover) 70%
        );

    background-color: var(--color-hover);

    border-bottom: 1px solid #264070;
}


/* Logo */

.sociais-part .logo {
    flex-shrink: 0;
}

.img-logo {
    display: block;
    margin-left: 2rem   ;
    width: 150px;
    max-width: 100%;
    height: auto;
}


/* Redes */

.sociais {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 2rem;
}

.social-link {
    width: 42px;
    height: 42px;

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

    border-radius: 5px;

    color: #FFF;
    text-decoration: none;

    font-size: 1.5rem;

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    opacity: .85;
}


/* Cores das redes */

.social-link.facebook {
    background: #0A66C2;
}

.social-link.instagram {
    background: linear-gradient(
        45deg,
        #feda75,
        #fa7e1e,
        #d62976,
        #962fbf,
        #4f5bd5
    );
}

.social-link.linkedin {
    background: #FFF;
    color: #0A66C2;
}


/* =========================
   CONTEÚDO DO FOOTER
========================= */

#footer_content {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(280px, 1.5fr)
        minmax(140px, .7fr)
        minmax(250px, 1fr);

    gap: 3rem;

    padding: 2rem 1.5rem;

    background-color: var(--color-hover);
}


/* =========================
   CONTATOS
========================= */

#footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card {
    display: flex;
    align-items: flex-start;

    gap: 1rem;

    margin: 0;
}

.info-card .icon {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    border-radius: 50%;

    background: #FFF;
    color: #000;

    font-size: 1.25rem;

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


/* IMPORTANTE:
   Não usar .text aqui.
   Evita conflito com o .text do Hero.
*/

.info-card-text {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.info-card-text h3 {
    margin: 0;

    font-size: 1rem;
}

.info-card-text p {
    margin-top: .1rem;

    color: #FFF;

    font-weight: 400;

    font-size: .9rem;

    line-height: 1.4;

    overflow-wrap: anywhere;
}


/* =========================
   LISTA
========================= */

.footer-list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-list li {
    margin-bottom: .6rem;
}

.footer-list h3 {
    margin: 0 0 .75rem;
}

.footer-list a {
    text-decoration: none;
    color: #FFF;

    transition: color .2s ease;
}

.footer-list a:hover {
    color: var(--accent-color);
}


/* =========================
   ORÇAMENTO
========================= */

#footer-subscribe {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#footer-subscribe h1 {
    margin: 0 0 .75rem;

    font-size: 1.25rem;
}


/* Botão */

.btn-fo {
    display: inline-flex;

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

    min-height: 52px;

    padding: 0 2rem;

    background: linear-gradient(
        -45deg,
        #003366,
        #0057b8,
        #0084ff,
        #00fff291
    );

    background-size: 400% 400%;

    animation: gradient 12s ease infinite;

    color: #fff !important;

    font-family: inherit;

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

    letter-spacing: 1px;

    text-transform: uppercase;
    text-decoration: none !important;

    border: none;
    border-radius: 2px;

    cursor: pointer;

    text-align: center;

    transition: transform .2s ease;
}

.btn-fo:hover {
    transform: translateY(-2px);
}


/* =========================
   GRADIENTE
========================= */

@keyframes gradient {

    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


/* =========================
   COPYRIGHT
========================= */

#footer_copyright {
    width: 100%;

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

    padding: 1rem;

    background: var(--color-hover);

    font-size: .9rem;

    text-align: center;

    border-top: 1px solid #264070;
}


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

@media (max-width: 900px) {

    .sociais-part {
        padding: 2rem;
    }

    #footer_content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    #footer-contacts {
        grid-column: 1 / -1;
    }
}


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

@media (max-width: 768px) {

    .sociais-part {
        flex-direction: column;
        align-items: center;
        justify-content: center;

        padding: 2rem 1.5rem;

        gap: 1.5rem;
    }


    .img-logo {
        width: 180px;
    }


    .sociais {
        justify-content: center;

        flex-wrap: wrap;

        gap: 1.5rem;
    }


    #footer_content {
        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 2.5rem;

        padding: 2rem 1.5rem;

        text-align: center;
    }


    #footer-contacts {
        width: 100%;

        align-items: center;
    }


    .info-card {
        width: 100%;
        max-width: 320px;

        flex-direction: column;

        align-items: center;

        text-align: center;

        gap: .8rem;
    }


    .info-card-text {
        align-items: center;
    }


    .info-card-text h3 {
        font-size: .95rem;
    }


    .info-card-text p {
        font-size: .85rem;
    }


    .footer-list {
        width: 100%;
    }


    #footer-subscribe {
        width: 100%;

        align-items: center;
    }


    #footer-subscribe h1 {
        font-size: 1.15rem;
    }


    .btn-fo {
        width: 100%;
        max-width: 300px;

        padding: 0 1rem;
    }


    #footer_copyright {
        padding: 1rem;

        font-size: .8rem;

        text-align: center;
    }
}
