/* Responsividade Geral */
@media (max-width: 830px) {
    .hero {
        margin-top: 120px;
        width: 130%;
        margin-left: -15%;
        height: 400px;
    }

    .hero img.hero-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0;
    }

    header {
        flex-wrap: wrap;
        justify-content: center;
        padding-bottom: 10px;
        height: auto;
    }

    .header-logo {
        margin: 0px;
        padding: 0px;
        order: -1;
    }

    .nav-left,
    .nav-right {
        width: 100%;
        justify-content: center;
        gap: 30px;
        margin: 5px 0;
    }

    .nav-left a,
    .nav-right a {
        display: inline-block;
        text-align: center;
    }

    .hero {
        width: 100vw;
        height: 500px;
        overflow: hidden;
        margin: 0;
    }

    .hero img.hero-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
        padding-top: 270px;
        display: block;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Fundo desktop: logo única em diagonal */
@media (min-width: 769px) {
    body::before {
        background: none;
    }

    body::after {
        content: "";
        position: fixed;
        top: 50%;
        left: 50%;
        width: 1200px;
        height: 1200px;
        background: url('../assets/logo.png') no-repeat center;
        background-size: contain;
        opacity: 0.05;
        transform: translate(-50%, -50%) rotate(-15deg);
        z-index: -1;
        pointer-events: none;
    }
}
