/* ================ GLOBAL STYLES ================ */
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/*----- FOOTER RESPONSIVO -----*/
* {
    font-family: "Poppins", sans-serif;
}

/* Rodapé principal */
footer {
    background-color: black;
    text-decoration: none;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
}

/* Container principal do footer */
.footerUp {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    padding: 20px;
    color: var(--cor-branca);
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Links das redes sociais */
.RSlinks {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Títulos das seções */
.h6 {
    margin: 10px 0;
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    color: var(--cor-branca);
}

/* Ícones do footer */
.footer-icon {
    width: 16px;
    height: 16px;
    fill: var(--cor-principal);
    transition: all 0.3s ease;
    vertical-align: middle;
    /* Adicione esta linha */
    margin-bottom: 2px;
    /* Ajuste fino se necessário */
}

.contatos {
    text-decoration: none;
    color: white;
}

.cnt {
    text-decoration: none;
    color: white;
}

/* Seção de conexão */
.cconect a {
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Efeito hover nos links */
.cconect a:hover {
    text-decoration: underline;
    color: var(--cor-principal);
    transform: translateY(-2px);
}

.footer-icon:hover {
    transform: scale(1.2);
    fill: var(--cor-branca);
}

/* ===== MEDIA QUERIES RESPONSIVAS ===== */

/* Tablets grandes e desktops pequenos (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .contatos {
        text-decoration: none;
        color: white;
    }

    .cnt {
        text-decoration: none;
        color: white;
    }

    p {
        text-decoration: none;
    }

    .footerUp {
        padding: 15px;
        gap: 15px;
    }

    .RSlinks {
        gap: 30px;
    }

    footer h6 {
        font-size: 0.95rem;
    }
}

/* Tablets (481px - 768px) */
@media screen and (max-width: 768px) {
    .contatos {
        text-decoration: none;
        color: white;
    }

    .footerUp {
        flex-direction: column;
        align-items: center;
        padding: 20px 15px;
        gap: 25px;
    }

    .RSlinks {
        gap: 25px;
        justify-content: center;
    }

    footer h6 {
        font-size: 1.1rem;
        margin: 15px 0 10px 0;
    }

    .footer-icon {
        width: 18px;
        height: 18px;
    }
}

/* Smartphones grandes (376px - 480px) */
@media screen and (max-width: 480px) {
    footer {
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }

    .footerUp {
        padding: 15px 10px;
        gap: 20px;
    }

    .RSlinks {
        gap: 20px;
        flex-wrap: wrap;
    }

    footer h6 {
        font-size: 1rem;
        margin: 12px 0 8px 0;
    }

    .footer-icon {
        width: 20px;
        height: 20px;
    }

    .cconect a {
        font-size: 0.95rem;
        padding: 5px;
    }
}

/* Smartphones pequenos (320px - 375px) */
@media screen and (max-width: 375px) {
    .footerUp {
        padding: 12px 8px;
        gap: 15px;
    }

    .RSlinks {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }

    footer h6 {
        font-size: 0.9rem;
        margin: 10px 0 6px 0;
    }

    .footer-icon {
        width: 22px;
        height: 22px;
    }

    .cconect {
        text-align: center;
    }

    .cconect a {
        font-size: 0.9rem;
        display: block;
        margin: 5px 0;
        padding: 8px;
    }
}

/* Telas muito pequenas (até 320px) */
@media screen and (max-width: 320px) {
    footer {
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }

    .footerUp {
        padding: 10px 5px;
        gap: 12px;
    }

    .RSlinks {
        gap: 12px;
        flex-direction: column;
    }

    footer h6 {
        font-size: 0.85rem;
        margin: 8px 0 4px 0;
    }

    .footer-icon {
        width: 24px;
        height: 24px;
    }

    .cconect a {
        font-size: 0.85rem;
        padding: 10px 5px;
    }
}

/* Telas grandes (acima de 1200px) */
@media screen and (min-width: 1200px) {
    p {
        text-decoration: none;
    }

    .footerUp {
        padding: 30px 20px;
        gap: 40px;
    }

    .RSlinks {
        gap: 60px;
    }

    footer h6 {
        font-size: 1.1rem;
        margin: 15px 0;
    }

    .footer-icon {
        width: 18px;
        height: 18px;
    }
}

/* Orientação landscape para smartphones */
@media screen and (max-height: 500px) and (orientation: landscape) {
    p {
        text-decoration: none;
    }

    .footerUp {
        flex-direction: row;
        padding: 10px 15px;
        gap: 20px;
    }

    .RSlinks {
        flex-direction: row;
        gap: 20px;
    }

    footer h6 {
        font-size: 0.9rem;
        margin: 5px 0;
    }
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {

    .cconect a,
    .footer-icon {
        transition: none;
    }

    .cconect a:hover {
        transform: none;
    }

    .footer-icon:hover {
        transform: none;
    }
}