/* ============================
   MENU DESKTOP (ISOLADO)
============================ */

:root {
    --site-loader-logo: url("../imagens/logo-afd-loader.png?v=2026071439");
}

.brand-loader {
    display: grid;
    place-items: center;
    width: min(280px, 56vw);
    aspect-ratio: 320 / 207;
    animation: brandLoaderPulse 1.5s ease-in-out infinite;
}

.brand-loader img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes brandLoaderPulse {
    0%,
    100% {
        opacity: 0.28;
        transform: scale(0.985);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.site-menu.main-menu {
    width: 100%;
    padding: 25px 40px;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 900;
    transition: box-shadow 0.25s ease;
}

.site-menu.main-menu.is-scrolled {
    box-shadow: 0 10px 24px rgba(40, 30, 22, 0.1);
}

.site-header-logo {
    position: fixed;
    top: 14px;
    left: 26px;
    z-index: 901;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.site-header-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 45px;
    object-fit: contain;
}

.language-switch {
    font-family: 'Aboreto', cursive;
    font-size: 13px;
    letter-spacing: 2px;
    color: #000;
}

.language-switch a,
.language-switch span {
    color: #000;
    text-decoration: none;
}

.language-switch a {
    opacity: 0.45;
    transition: opacity 0.3s ease;
}

.language-switch a.active,
.language-switch a:hover {
    opacity: 1;
}

.site-menu.main-menu .language-switch {
    position: fixed;
    top: 27px;
    right: 34px;
    z-index: 901;
}

.site-menu.main-menu ul {
    display: flex;
    justify-content: center;
    gap: 60px;
    list-style: none;
}

.site-menu.main-menu ul li a {
    font-family: 'Aboreto', cursive;
    font-size: 16px;
    color: #000;
    text-decoration: none;
    letter-spacing: 2px;
    transition: 0.3s;
}

.site-menu.main-menu ul li a:hover {
    opacity: 0.6;
}

/* ============================
   MENU MOBILE (ISOLADO)
============================ */

.site-menu.mobile-nav {
    display: none;
}

.mobile-menu-bar {
    display: none;
}

.site-menu .menu-toggle {
    font-size: 32px;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    position: fixed;
    top: 16px;
    right: 22px;
    z-index: 1201;
    color: #000;
    width: 44px;
    height: 44px;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
}

.site-menu .fullscreen-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 18% 14%, rgba(233, 221, 209, 0.34) 0, rgba(255, 255, 255, 0) 32%),
        radial-gradient(circle at 82% 28%, rgba(233, 221, 209, 0.26) 0, rgba(255, 255, 255, 0) 34%),
        radial-gradient(circle at 20% 84%, rgba(233, 221, 209, 0.22) 0, rgba(255, 255, 255, 0) 30%),
        #fffdfa;
    z-index: 1200;
    padding: 28px 28px 42px;
    text-align: center;
    overflow-y: auto;
    overflow-x: hidden;
}

.site-menu .fullscreen-menu::before,
.site-menu .fullscreen-menu::after {
    content: "";
    position: absolute;
    background-image: url("../imagens/flower_footer.png?v=2026071439");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.22;
    pointer-events: none;
}

.site-menu .fullscreen-menu::before {
    width: 360px;
    height: 420px;
    right: -92px;
    top: -22px;
    transform: rotate(4deg);
    transform-origin: top right;
}

.site-menu .fullscreen-menu::after {
    width: 320px;
    height: 380px;
    left: -96px;
    bottom: -40px;
    transform: scaleX(-1) rotate(-2deg);
    transform-origin: bottom left;
}

.site-menu .fullscreen-menu.active {
    display: flex !important;
    flex-direction: column;
}

.fullscreen-menu__inner {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 88px 0 28px;
}

.site-menu .close-menu {
    position: fixed;
    top: 28px;
    right: 28px;
    font-size: 34px;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
    z-index: 1202;
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-menu .menulist {
    list-style: none;
    padding: 0 24px;
    display: block !important;
    width: 100%;
    max-width: 520px;
}

.site-menu .menulist li {
    margin: 0;
    display: block !important;
}

.site-menu .menulist li a {
    font-family: 'Aboreto';
    font-size: clamp(24px, 4.8vw, 44px);
    color: #171513;
    text-decoration: none;
    letter-spacing: 5px;
    display: inline-block;
    padding: 12px 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-menu .menulist li a:hover {
    opacity: 0.64;
    transform: translateY(-1px);
}

.site-header-logo--mobile-panel {
    position: absolute;
    top: 28px;
    left: 28px;
    z-index: 1202;
    align-items: flex-start;
    justify-content: flex-start;
}

.site-header-logo--mobile-panel img {
    max-height: 72px;
}

.mobile-menu-divider {
    width: 100%;
    max-width: 360px;
    margin-top: 12px;
}

.mobile-menu-divider span {
    position: relative;
    display: block;
    width: 100%;
    height: 26px;
}

.mobile-menu-divider span::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../imagens/icon_flower_span.png?v=2026071439");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.site-menu .social-icons {
    display: flex;
    gap: 34px;
    margin-top: 14px;
    padding-left: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.site-menu .social-icons a {
    font-size: 28px;
    color: #171513;
    text-decoration: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-menu .social-icons a:hover {
    opacity: 0.7;
    transform: translateY(-1px);
}

.site-menu .mobile-language-switch {
    margin: 4px 0 0 0;
    font-size: 20px;
    text-align: center;
    letter-spacing: 4px;
}

.site-menu .mobile-language-switch a,
.site-menu .mobile-language-switch span {
    color: #171513;
}

.site-menu.mobile-nav.menu-open .site-header-logo--mobile,
.site-menu.mobile-nav.menu-open .mobile-menu-bar {
    opacity: 0;
    pointer-events: none;
}

/* ============================
   RESPONSIVE (ISOLADO)
============================ */

@media (max-width: 1024px) {
    .site-menu.main-menu {
        display: none !important;
    }
    .site-menu.mobile-nav {
        display: block !important;
        position: relative;
        z-index: 1201;
    }
    .site-header-logo--mobile {
        position: fixed;
        top: 16px;
        left: 18px;
        z-index: 1201;
    }
    .mobile-menu-bar {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 76px;
        background: #fff;
        z-index: 1199;
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
        transition: box-shadow 0.25s ease;
    }
    .mobile-menu-bar.is-scrolled {
        box-shadow: 0 10px 24px rgba(40, 30, 22, 0.1);
    }
    .site-menu.mobile-nav .menu-toggle {
        display: flex !important;
    }
    .site-menu.mobile-nav.menu-open .menu-toggle {
        display: none !important;
    }
    .site-menu.mobile-nav .fullscreen-menu {
        display: none;
    }
    .site-menu.mobile-nav .fullscreen-menu.active {
        display: flex !important;
    }
}

@media (max-width: 700px) {
    .site-menu .fullscreen-menu {
        padding: 24px 20px 34px;
    }

    .site-header-logo--mobile-panel {
        top: 22px;
        left: 18px;
    }

    .site-header-logo--mobile-panel img {
        max-height: 56px;
    }

    .site-menu .close-menu {
        top: 22px;
        right: 18px;
        font-size: 30px;
    }

    .fullscreen-menu__inner {
        min-height: calc(100vh - 48px);
        justify-content: flex-start;
        gap: 14px;
        padding: 124px 0 18px;
    }

    .site-menu .menulist li a {
        font-size: clamp(24px, 5vw, 42px);
        letter-spacing: 0px;
        padding: 12px 0;
    }

    .mobile-menu-divider {
        max-width: 260px;
        margin-top: 8px;
    }

    .site-menu .mobile-language-switch {
        font-size: 18px;
    }

    .site-menu .social-icons {
        gap: 26px;
        margin-top: 10px;
    }

    .site-menu .social-icons a {
        font-size: 24px;
    }

    .site-menu .fullscreen-menu::before {
        width: 250px;
        height: 300px;
        right: -88px;
        top: 36px;
    }

    .site-menu .fullscreen-menu::after {
        width: 250px;
        height: 300px;
        left: -92px;
        bottom: -24px;
    }
}
