/* =========================================================
   ESTRUTURA COMPARTILHADA - SABORES DO NONNO
   ========================================================= */

.site-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    height: 84px;
    background: #fff;
    border-bottom: 1px solid #e4e0d5;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 5000;
    font-family: "DM Sans", Arial, sans-serif;
}

.site-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-logo {
    width: 112px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 112px;
}

.site-logo img {
    display: block;
    width: 82px;
    height: 72px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 27px;
}

.site-nav a {
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: #29271f;
    transition: 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
    color: #1f6b3a;
}

.site-nav-cta {
    padding: 12px 17px;
    border-radius: 8px;
    background: #1f6b3a;
    color: #fff !important;
}

.site-nav-cta:hover,
.site-nav-cta.active {
    background: #154d2b;
    color: #fff !important;
}

.site-menu-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #154d2b;
    cursor: pointer;
}


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

.site-footer {
    background: #0d311c;
    color: rgba(255, 255, 255, 0.82);
    padding: 52px 0 18px;
    font-family: "DM Sans", Arial, sans-serif;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.45fr auto;
    gap: 38px;
    align-items: start;
}

.site-footer h2 {
    font-family: "Playfair Display", serif;
    font-size: 21px;
    color: #fff;
    margin: 0 0 15px;
}

.site-footer p {
    font-size: 13px;
    line-height: 1.65;
    margin: 0 0 12px;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer small {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    margin-top: 2px;
}


/* =========================================================
   MARCA DO FOOTER
   ========================================================= */

.site-footer-brand img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 4px;
    margin-bottom: 10px;
}

.site-footer-brand p {
    max-width: 250px;
}


/* =========================================================
   BOTÃO WHATSAPP DO FOOTER
   ========================================================= */

.site-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 19px;
    border-radius: 9px;
    background: #fff;
    color: #154d2b !important;
    font-weight: 800;
    font-size: 13px;
    white-space: nowrap;
}


/* =========================================================
   RODAPÉ INFERIOR
   ========================================================= */

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    margin-top: 35px;
    padding-top: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer-bottom > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   POWERED BY OSITEWEB
   ========================================================= */

.site-powered {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: auto;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.site-powered a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.site-powered img {
    display: block;
    width: 90px;
    height: auto;
    max-width: 90px;
    max-height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
    position: static;
    transform: none;
}


/* =========================================================
   WHATSAPP GLOBAL
   ========================================================= */

.wa-icon {
    width: 22px;
    height: 22px;
    display: block;
    flex: 0 0 22px;
}

.btn-whatsapp {
    gap: 9px;
}

.btn-whatsapp .wa-icon {
    width: 21px;
    height: 21px;
}


/* =========================================================
   WHATSAPP FLUTUANTE
   ========================================================= */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 56px;
    padding: 0 18px;
    border-radius: 999px;
    background: #25D366;
    color: #fff !important;
    text-decoration: none;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

.whatsapp-float .wa-icon {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
}


/* =========================================================
   RESPONSIVO - TABLET
   ========================================================= */

@media (max-width: 950px) {

    .site-menu-toggle {
        display: block;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 84px;
        background: #fff;
        padding: 18px 20px 24px;
        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 12px;
        border-radius: 7px;
    }

    .site-nav-cta {
        text-align: center;
        margin-top: 5px;
    }

    .site-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer-action {
        align-self: end;
    }
}


/* =========================================================
   RESPONSIVO - MOBILE
   ========================================================= */

@media (max-width: 620px) {

    .site-container {
        width: calc(100% - 28px);
    }


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

    .site-header {
        height: 70px;
    }

    .site-logo {
        width: 88px;
        height: 64px;
        flex-basis: 88px;
    }

    .site-logo img {
        width: 68px;
        height: 60px;
    }

    .site-nav {
        top: 70px;
    }


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

    .site-footer {
        padding-top: 38px;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }


    /* =====================================================
       LOGO E TEXTO DO FOOTER
       ===================================================== */

    .site-footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .site-footer-brand img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
    }

    .site-footer-brand p {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        text-align: center;
    }


    /* =====================================================
       BOTÃO WHATSAPP DO FOOTER
       ===================================================== */

    .site-footer-action {
        align-self: auto;
    }

    .site-whatsapp {
        width: 100%;
    }


    /* =====================================================
       COPYRIGHT E OSITEWEB
       ===================================================== */

    .site-footer-bottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding-top: 18px;
        text-align: center;
    }

    .site-footer-bottom > span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .site-powered {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .site-powered a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        margin: 0;
        padding: 0;
    }

    .site-powered img {
        display: block;
        width: 82px;
        height: auto;
        max-width: 82px;
        max-height: 30px;
        margin: 0;
        padding: 0;
        border-radius: 0;
        background: transparent;
        object-fit: contain;
        position: static;
        transform: none;
    }


    /* =====================================================
       WHATSAPP FLUTUANTE MOBILE
       ===================================================== */

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        width: 56px;
        height: 56px;
        min-height: 56px;
        padding: 0;
        justify-content: center;
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float .wa-icon {
        width: 29px;
        height: 29px;
    }
}
