/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    
}

body {
    background-image: url("assets/background.png");
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}


.top-footer {
    width: 100%;
    padding: 20px 30px;
    display: flex;
    justify-content:center;
    gap: 18px;
}

.top-footer img {
    height: 48px;
    filter: brightness(1.2);
    transition: 0.2s ease;
}

.top-footer img:hover {
    transform: scale(1.1);
    filter: brightness(1.4);
}

/* Área principal */
.container {
    width: 100%;
    max-width: 700px;
    margin-top: 40px;
    text-align: center;
}

.titulo {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: transparent;
    background: linear-gradient(to bottom, #9211ee 50%, #1929f0);
    -webkit-background-clip: text;
    background-clip: text;
}

.subtitulo {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: transparent;
    background: linear-gradient(to bottom, #9211ee 50%, #1929f0);
    -webkit-background-clip: text;
    background-clip: text;
}



/* Variáveis de controle responsivo */
:root {
    --balao-padding-y: 35px;       /* padding vertical */
    --balao-padding-x: 35px;       /* padding horizontal */
    --icon-wrap-width: 62px;       /* largura da área do ícone */
    --icon-gap: 10px;              /* distância entre o ícone e o texto */
    --icon-size: 50px;             /* tamanho do ícone */
}

/* CONTÊINER */
.baloes {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    padding: 20px 26px; /* mais fino no mobile por padrão */
    box-sizing: border-box;
}

/* BALÃO */
.balao {
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgb(12, 248, 221);
    border-radius: 40px;

    padding: var(--balao-padding-y) var(--balao-padding-x);
    padding-left: calc(var(--icon-wrap-width) + var(--icon-gap));

    position: relative;
    display: block;
    color: white;
    font-size: 1.05rem;
    text-decoration: none;

    box-shadow: 0 0 18px rgba(0, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    transition: 0.25s ease-out;
}

/* WRAP do ícone */
.icon-wrap {
    position: absolute;
    left: 180px; /* mais perto da borda */
    top: 50%;
    transform: translateY(-50%);
    width: var(--icon-wrap-width);
    height: calc(100% - var(--balao-padding-y) * 2);

    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Ícone */
.icone {
    width: var(--icon-size);
    height: var(--icon-size);
    display: block;
    filter: brightness(1.2);
    pointer-events: none;
}

/* TEXTO centralizado */
.texto {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.5px;
    pointer-events: none;
}

/* Hover */
.balao:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.28);
}


/* ------------------------- */
/*  RESPONSIVIDADE MOBILE */
/* ------------------------- */

@media (max-width: 600px) {

    :root {
        --balao-padding-y: 28px;
        --balao-padding-x: 22px;
        --icon-wrap-width: 40px;
        --icon-gap: 8px;
        --icon-size: 52px;
    }

    .baloes {
        padding: 18px 20px;
        gap: 18px;
    }

    .balao {
        font-size: 0.98rem; /* levemente menor no mobile */
        border-radius: 32px; /* mais compacto */
    }

    .icon-wrap {
        left: 14px;
    }

    .texto {
        font-size: 1.2rem;
    }
}

/* Ultra compacto (celulares muito pequenos) */
@media (max-width: 360px) {

    :root {
        --icon-size: 28px;
        --icon-wrap-width: 36px;
        --icon-gap: 6px;
    }

    .texto {
        font-size: 0.92rem;
    }
}
