svg {
    width: 16px;
    height: 16px;
}

.hero {
    min-height: calc(100dvh - 70px);
    background: 
        /*radial-gradient(
            circle at 80% 20%,
            rgba(219, 91, 0, 0.18)
        ),*/
        linear-gradient(
            180deg,
            var(--fundo),
            var(--detalhes)
        );
    
}

.hero__estrutura {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 100px 20px;
    gap: 30px;
}

.hero__cabecalho {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    color: var(--textos_hover);
    gap: 30px;
}

.hero__cabecalho h1 {
    letter-spacing: 2px;
    font-size: 35px;
    font-weight: 600;
    line-height: 1.05;
}

.hero__cabecalho p {
    letter-spacing: 2px;
    font-size: 16px;
    line-height: 1.7;
}

.hero__degrade {
    color: var(--detalhes_hover);
}

.hero__contato {
    display: flex;
    text-align: center;
    gap: 20px;
}

.fa-caret-right {
    font-size: 20px;
}

.hero__bloco {
    display: block;
    width: 100%;
    max-width: 580px;
    height: 480px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.navegador__barra {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 30px;
    padding: 8px 14px;
    background: #f8fafc;
    border-bottom: 1px solid hsl(220, 13%, 91%);
    flex-shrink: 0;
}

.navegador__pontos {
    display: flex;
    gap: 8px;
}

.ponto {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ponto.vermelho { background: #ff5f57; }
.ponto.amarelo  { background: #ffbd2e; }
.ponto.verde    { background: #28c840; }

.navegador__url {
    flex: 1;
    margin-right: 60px;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px;
    font-size: 13px;
    text-align: center;
}

.navegador__conteudo {
    position: relative;
    width: 580px;
    min-width: 480px;
    height: calc(480px - 43px);
    overflow: hidden;
    pointer-events: none;
    transform: translateZ(0);
}

.slider__item {
    top: 0;
    left: 0;
    display: flex;
    width: 500%;
    height: 580px;
    animation: troca-img 12s infinite ease-in-out;
    will-change: transform;
}

.slider__item img {
    display: block;
    width: 20%;
    flex-shrink: 0;
    object-fit: cover;
    object-position: top center;
}

.slider__item.img1 {animation-delay: 0s;}
.slider__item.img2 {animation-delay: 3s;}
.slider__item.img3 {animation-delay: 9s;}
.slider__item.img4 {animation-delay: 12s;}
.slider__item.img5 {animation-delay: 15s;}





@media (max-width: 768px) {

    .hero__estrutura{
        grid-template-columns: 1fr;
        padding: 60px 16px;
        gap: 40;
    }

    .hero__cabecalho {
        align-items: center;
        text-align: center;
    }

    .hero__cabecalho h1 {
        font-size: 28px;
    }

    .hero__contato {
        flex-direction: column;
        align-items: center;
    }

    .hero__bloco {
        width: auto;
        max-width: 580px;
        height: auto;
        aspect-ratio: 4/4;
        border-radius: 12px;
    }

    .navegador__conteudo {
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: 4/4;
        min-width: 0;
        object-fit:cover;
    }

    .slider__item {
        height: 100%;
    }

    .slider__item img {
        width: 20%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
        flex-shrink: 0;
    }

}

@keyframes troca-img {
    0%, 20% {
        transform: translateX(0%);
    }

    25%, 40% {
        transform: translateX(-20%);
    }

    45%, 60% {
        transform: translateX(-40%);
    }

    65%, 80% {
        transform: translateX(-60%);
    }

    85%, 99.99% {
        transform: translateX(-80%);
    }

    100% {
        transform: translateX(0);
    }
}
