:root {
    --cor-primaria: #eaa200;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #222222;
}

.bg-meio {
    position: relative;
    height: 1024px;
    width: 100%;
    max-width: 584px;
    margin: 0 auto;
    background-image: url('./assets/mainBG.png');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.bg-meio::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, #222222 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 584px;
    margin: 0 auto;
    transform: translateY(-65%);
    gap: 40px;
}

.logo {
    width: min(510px, 85%);
    height: auto;
}

.btn img {
    width: 41px;
    height: 41px;
    display: block;
    object-fit: contain;
}

.btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: transparent;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
    border: 2px solid var(--cor-primaria);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.3);
    box-shadow:
        0 0 15px rgba(234, 162, 0, 0.4),
        inset 0 0 10px rgba(234, 162, 0, 0.2);
}

.botoes {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
    padding: 0 10px;
}

.botao-item {
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 120px;
}

.botao-item span {
    font-size: 13px;
    letter-spacing: 0.5px;
    color: #ffffff;
    opacity: 0.85;
    text-align: center;
    white-space: nowrap;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.whats-btn {
    position: fixed;
    left: 50%;
    margin-left: 310px;
    bottom: 170px;
    width: 60px;
    height: auto;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
    opacity: 0.9;
    z-index: 999;
}

.arrow-down {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    animation: bounce 1.5s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

.bg-bio {
    position: relative;
    width: 100%;
    max-width: 584px;
    height: 2800px;
    margin: 0 auto;
    background-image: url('./assets/bgbio-extendido.png');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

.bio-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
}

.titulo-bio {
    margin: 40px auto 0;
    width: min(430px, 85%);
    display: block;
    height: auto;
}

.bio-content p {
    max-width: 600px;
    margin: 50px;
    font-family: 'Poppins', sans-serif;
    color: #fdfdfd;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    line-height: 1.8;
    text-align: left;
    opacity: 0.9;
    word-spacing: 1px;
    margin-bottom: 60px;
}

.bio-content p + p {
    margin-top: 0.1rem;
}

.bio-content p strong {
    color: var(--cor-primaria);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.separador-bio {
    margin-top: 50px;
}

.bio-social-btns {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 10px;
}

.bio-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--cor-primaria);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    box-shadow:
        0 0 15px rgba(234, 162, 0, 0.4),
        inset 0 0 10px rgba(234, 162, 0, 0.2);
    text-decoration: none;
}

.bio-btn img {
    width: 41px;
    height: 41px;
    object-fit: contain;
}

.up-btn {
    position: fixed;
    left: 50%;
    margin-left: 320px;
    bottom: 280px;
    width: 40px;
    height: auto;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
    opacity: 0.9;
    z-index: 999;
}

u {
    text-decoration-color: var(--cor-primaria);
}

.instagram-media {
    max-width: 500px !important;
    width: 100% !important;
}

.bg-tracks {
    position: relative;
    width: 100%;
    max-width: 584px;
    height: 1024px;
    margin: 0 auto;
    background-image: url('./assets/tracksetsbg.png');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    overflow: hidden;
}

.bg-contato {
    position: relative;
    width: 100%;
    max-width: 584px;
    height: 1024px;
    margin: 0 auto;
    background-image: url('./assets/contatobg.png');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding-bottom: 56.25%;
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.telefone-ctt {
    margin-top: -10px;
    margin-bottom: -60px;
}

.email-ctt {
    margin-top: -10px;
}

@media (max-width: 600px) {
    .bg-meio {
        height: 750px;
        max-width: 100%;
        background-size: cover;
    }

    .logo {
        width: 360px;
    }

    .hero-content {
        max-width: 100%;
        transform: translateY(-120px);
        gap: 30px;
    }

    .btn {
        width: 55px;
        height: 55px;
    }

    .btn img {
        width: 35px;
        height: 35px;
    }

    .botoes {
        gap: 35px;
    }

    .arrow-down {
        bottom: 45px;
        width: 40px;
    }

    .titulo-bio {
        width: 260px;
        height: auto;
    }

    .bio-content p {
        width: 320px;
        font-size: 14px;
    }

    .instagram-media {
        max-width: 320px !important;
        width: 100% !important;
        height: 582px;
    }

    .separador-bio {
        max-width: 350px;
    }

    .bg-tracks {
        background-size: contain;
        background-position: center top;
        height: auto;
        aspect-ratio: 584 / 1024;
    }

    .bg-contato {
        background-size: contain;
        background-position: center top;
        height: auto;
        aspect-ratio: 584 / 1100;
    }

    .whats-btn {
        margin-left: 0;
        left: auto;
        right: 16px;
        bottom: 100px;
        width: 52px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(20px);
        transition:
            opacity 0.3s ease,
            transform 0.3s ease;
    }

    .up-btn {
        margin-left: 0;
        left: auto;
        right: 24px;
        bottom: 170px;
        width: 36px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(20px);
        transition:
            opacity 0.3s ease,
            transform 0.3s ease;
    }

    .whats-btn.show,
    .up-btn.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .video-container {
        max-width: 370px;
    }

    .bg-bio {
        height: 2200px;
    }

    .telefone-ctt {
        width: 300px;
    }

    .email-ctt {
        width: 300px;
    }

    .redes-ctt {
        width: 270px;
    }
}

@media (hover: hover) and (pointer: fine) {
    .up-btn:hover,
    .whats-btn:hover {
        transform: scale(1.1);
        opacity: 1;
    }

    .bio-btn:hover,
    .btn:hover {
        transform: scale(1.1);
        box-shadow:
            0 0 25px rgba(234, 162, 0, 0.7),
            inset 0 0 15px rgba(234, 162, 0, 0.4);
        background-color: rgba(234, 162, 0, 0.1);
    }

    .bio-btn:hover img,
    .btn:hover img {
        filter: brightness(0) saturate(100%) invert(20%) sepia(95%)
            saturate(4000%) hue-rotate(215deg) brightness(110%) contrast(115%);
    }

    .botao-item:hover .btn {
        transform: scale(1.1);
    }

    .botao-item:hover span {
        opacity: 1;
        transform: translateY(-2px);
    }
}

@media (hover: none) and (pointer: coarse) {
    .up-btn:active,
    .whats-btn:active {
        transform: scale(0.95);
        opacity: 1;
    }

    .bio-btn:active,
    .btn:active {
        transform: scale(0.95);
        box-shadow:
            0 0 15px rgba(234, 162, 0, 0.4),
            inset 0 0 8px rgba(234, 162, 0, 0.2);
        background-color: rgba(234, 162, 0, 0.15);
    }

    .bio-btn:active img,
    .btn:active img {
        filter: brightness(0) saturate(100%) invert(20%) sepia(95%)
            saturate(4000%) hue-rotate(215deg) brightness(110%) contrast(115%);
    }

    .botao-item:active span {
        opacity: 1;
        transform: translateY(-1px);
    }
}
