/* 🔹 SEÇÃO HERO (TEXTO + IMAGEM) */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    scroll-behavior: smooth;
}

body {
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: system-ui, Arial, Helvetica, sans-serif;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: clamp(300px, 100%, 1500px);
}

.hero,
.info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    width: 100%;
    padding: 2rem;
    gap: 2rem;
}

.info-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    border: .1rem solid #f235aa7e;
    padding: 1rem 1rem 3rem 1rem;
    border-radius: .9rem;
    background-color: rgba(255, 235, 205, 0.25);
}

.title-info {
    width: 100%;
    font-size: 2rem;
    font-weight: 800;
}

.info-content li {
    list-style: none;
}

/* 🔹 ESTILO DO TEXTO */
.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.hero-text h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #121212;
}

.hero-text p {
    font-size: 1rem;
    font-weight: 400;
    color: #121212;
}

.hero-mascote-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

    .hero-mascote-text h1 {
        font-size: 2rem;
        font-weight: 800;
        color: #121212;
    }

    .hero-mascote-text p {
        font-size: 1rem;
        font-weight: 400;
        color: #121212;
    }

span {
    color: #166655;
    font-weight: 500;
    font-weight: bold;
}

/* 🔹 BOTÃO "Falar com Especialista" */
.btn {
    display: inline-block;
    padding: 1rem 1rem;
    background-color: #f235aa;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: .5rem;
    transition: 0.3s;
}


.btna {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    top: 100%;
    border-radius: .4rem;
    border: #f235aa solid;
    background-color: #f235aa;
    padding: .8rem;
    text-decoration: none;
    color: white;
    font-weight: 500;
}

.container-do-botao {
    text-align: center;
}



.btn:hover {
    background-color: #D95585;
}

/* 🔹 ESTILO DA IMAGEM */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    height: max-content;
    border-radius: 10px;
}

.hero-image::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: linear-gradient(160deg,
            rgba(156, 18, 62, 0.801) 50%,
            rgba(67, 33, 191, 0.9),
            rgba(5, 84, 242, 0.8) 30%,
            rgba(242, 157, 53, 0.8),
            rgba(13, 13, 13, 0.8));
    filter: blur(100px);
    z-index: -1;
}




/* 🔹 MEDIA QUERY (AJUSTES PARA TELAS MENORES) */
@media (max-width: 900px) {

    .hero,
    .info {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 2rem 1rem;
        gap: 1rem;
    }

    .hero-text {
        width: 100%;
        text-align: center;
        align-items: center;
    }

    .hero-image {
        width: 100%;
        margin-top: 20px;
    }

    .btn {
        display: inline-block;
        padding: 1rem 2rem;
        background-color: #f235aa;
        color: white;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        border-radius: .5rem;
        transition: 0.3s;
    }

    /* Centraliza o botão em QUALQUER contexto */
    .btn--center {
        display: block; /* vira bloco para poder usar margin auto */
        width: max-content; /* mantém só o necessário */
        margin: 0 auto; /* centraliza em layouts normais */
    }

    /* Se o pai for flex (seu caso em .hero-mascote-text), garante o centro no eixo cruzado */
    .hero-mascote-text .btn--center {
        align-self: center; /* override do align-items:flex-start do pai */
    }

}