/* Correções responsivas do site público. Não altera o layout desktop. */
@media (max-width: 1023px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    img,
    iframe,
    video {
        max-width: 100%;
    }

    .site-header-inner {
        min-width: 0;
        gap: 12px !important;
        padding: 10px 16px !important;
    }

    .site-header-logo-wrap {
        min-width: 0;
        max-width: calc(100% - 56px);
    }

    .site-header-logo {
        display: block;
        width: 118px !important;
        max-width: 32vw;
        height: auto !important;
        max-height: 64px;
        object-fit: contain;
    }

    .site-menu-toggle {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        min-width: 44px;
        padding: 0 !important;
    }

    .site-mobile-menu {
        width: 100%;
        max-width: 100vw;
        padding: 18px 16px !important;
        box-sizing: border-box;
    }

    .site-mobile-menu a,
    .site-mobile-menu input {
        max-width: 100%;
    }

    .site-footer-content {
        min-width: 0;
    }

    .site-footer-logo {
        display: block;
        width: min(220px, 55vw) !important;
        max-width: 100%;
        height: auto !important;
    }

    .site-footer-contact p,
    .site-footer-bottom p {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 450px) {
    .site-header-inner {
        gap: 8px !important;
        padding: 8px 10px !important;
    }

    .site-header-logo-wrap {
        max-width: calc(100% - 48px);
    }

    .site-header-logo {
        width: 92px !important;
        max-width: 30vw;
        max-height: 50px;
    }

    .site-menu-toggle {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .site-mobile-menu {
        padding: 16px 12px !important;
    }

    .site-footer-content {
        padding: 40px 16px !important;
    }

    .site-footer-logo {
        width: min(160px, 48vw) !important;
        margin-left: auto;
        margin-right: auto;
        align-self: center !important;
    }

    .site-footer-nav {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 10px 16px !important;
        text-align: center;
    }

    .site-footer-nav a {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .site-footer-contact {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .site-footer-bottom {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 375px) {
    .site-header-logo {
        width: 82px !important;
        max-width: 28vw;
    }

    .site-header-inner {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

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

@media (max-width: 340px) {
    .site-header-logo {
        width: 72px !important;
        max-width: 27vw;
        max-height: 44px;
    }

    .site-menu-toggle {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        min-width: 38px;
    }
}
