@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.ttf') format('truetype');
    font-style: normal;
    font-display: swap;
}

/* -------- ESTRUTURA BASE -------- */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Poppins';
}

body {
    /*  padding-top: 174px;
*/ display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

#footer {
    flex-shrink: 0;
}

/* -------- HEADER -------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header {
    /*  position: fixed;
*/ top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top {
    background: var(--header-top-bg);
    padding: 10px 0;
}

    .header-top .logo img {
        max-height: 60px;
    }

    .header-top .whatsapp a {
        display: flex;
        align-items: center;
        background: #fff;
        border-radius: 30px;
        padding: 8px 15px;
        text-decoration: none;
        font-weight: bold;
        color: #4BAE4F;
    }

    .header-top .whatsapp img {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }

.header-menu {
    background: var(--header-menu-bg-default);
}

    .header-menu ul {
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0;
        list-style: none;
    }

        .header-menu ul li {
            margin: 0 20px;
        }

            .header-menu ul li a {
                color: var(--header-menu-text-default);
                text-decoration: none;
                font-family: 'Poppins', sans-serif;
                font-weight: 400;
                font-size: 16px;
                line-height: 24px;
                letter-spacing: 0%;
                padding: 15px 0;
                display: block;
                transition: all .3s;
            }

                .header-menu ul li a.active {
                    font-weight: 600;
                }

                .header-menu ul li a:hover {
                    font-weight: bold;
                }

.header-info {
    background: var(--header-info-bg-default);
}

    .header-info ul {
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 10px 0;
        list-style: none;
    }

        .header-info ul li {
            margin: 0 30px;
            color: #fff;
            font-weight: 400;
            font-family: 'Poppins', sans-serif;
            font-size: 18px;
        }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* -------- FOOTER -------- */
footer {
    font-family: 'Poppins', sans-serif;
}

.footer-top {
    background: var(--footer-top-bg);
    width: 100%;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.4fr;
    gap: 64px;
}

.footer-group {
    min-width: 240px;
}

.footer-logo {
    height: 64px;
    margin-bottom: 20px;
}

.footer-title {
    font-weight: 700;
    font-size: 20px;
    color: var(--footer-mobile-text);
    margin: 0 0 16px 0;
}

.footer-subtitle {
    font-weight: 700;
    font-size: 14px;
    color: var(--footer-mobile-text);
    margin: 18px 0 6px 0;
}

.footer-text,
.footer-links a,
.footer-phones a {
    font-weight: 400;
    font-size: 14px;
    color: var(--footer-mobile-text);
    text-decoration: none;
}

.footer-links,
.footer-phones {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-phones li {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
    }

    .footer-phones img {
        width: 22px;
        height: 22px;
    }

    .footer-phones a {
        text-decoration: none;
    }

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

    .footer-social a {
        width: 28px;
        height: 28px;
        display: block;
        /*        line-height: 35px;
*/ text-align: center;
        border-radius: 50%;
        background-color: var(--footer-mobile-text);
        color: var(--footer-top-bg);
        /*        text-indent: 1px;
*/
    }

    .footer-social img {
        width: 28px;
        height: 28px;
    }

.footer-bottom {
    background: var(--footer-bottom-bg);
    width: 100%;
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    color: var(--footer-mobile-text);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

/* ===== HEADER RESPONSIVO ===== */
@media (max-width: 768px) {

    /* Centraliza o logo */
    .header-top .container {
        justify-content: center;
    }

    .header-top .logo {
        display: flex;
        justify-content: center;
        width: 100%;
    }

        .header-top .logo img {
            max-height: 56px;
        }

    .header-top .whatsapp,
    .header-menu,
    .header-info {
        display: none !important;
    }

    .header {
        background-color: #fff;
        box-shadow: none;
    }


    @media (max-width: 680px) {
        .footer-top {
            width: 100vw;
        }

        .footer-grid {
            width: 100vw;
            max-width: 100vw;
            display: grid;
            grid-template-columns: 1fr;
            gap: 32px;
            padding: 32px 20px;
            justify-items: center;
            text-align: center;
        }

        .footer-group.links {
            visibility: hidden;
            height: 0;
            overflow: hidden;
            padding: 0;
            margin: 0;
        }

        .footer-group {
            min-width: auto;
            width: 100%;
        }

        .footer-logo {
            height: 56px;
            margin: 0 auto 16px;
        }

        .footer-title {
            font-size: 18px;
        }

        .footer-subtitle {
            font-size: 13px;
        }

        .footer-text,
        .footer-links a,
        .footer-phones a {
            font-size: 13px;
        }

        .footer-phones {
            align-items: center;
            justify-content: center;
        }

            .footer-phones li {
                justify-content: center;
            }

        .footer-social {
            justify-content: center;
            margin-top: 12px;
        }

        .footer-bottom {
            padding-bottom: 40px;
        }

        .footer-bottom-inner {
            width: 100vw;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            gap: 8px;
        }
    }

    /* ============================
   MODO MOBILE - HOME PAGE
   ============================ */
    @media (max-width: 768px) {

        /* ===== CONFIGURAÇÃO GERAL ===== */
        html,
        body {
            width: 100%;
            margin: 0;
            padding: 0;
            overflow-x: hidden;
            padding-top: 0px !important;
        }

        main {
            width: 100%;
        }

        #header,
        #footer {
            width: 100%;
            max-width: 100%;
        }

    }

    body {
        padding-top: 77px;
    }
}
