/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    
}

body {
    background: #0a0418 url("assets/background.webp") center / cover;
    background-attachment: fixed;
    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: 4.0rem;
    font-weight: 800;
    margin-top: 40px;
    color: transparent;
    background: linear-gradient(to bottom, #9211ee 50%, #1929f0);
    -webkit-background-clip: text;
    background-clip: text;
}

.subtitulo {
    font-size: 1.5rem;
    line-height: 1.35;
    font-weight: 800;
    margin: 50px;
    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: 60px;             /* 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;
    margin-bottom: 40px;
}

/* 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);
}

.social-icon img {
    filter: none !important;
    transition: 0.2s ease;
    width: 60px;
    height: 60px;
}


/* ------------------------- */
/*  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;
        margin-bottom: 10px;
    }

    .balao {
        font-size: 0.98rem; /* levemente menor no mobile */
        border-radius: 32px; /* mais compacto */
    }

    .icon-wrap {
        left: 14px;
    }

    .texto {
        font-size: 1.2rem;
    }

    .titulo {
        font-size: 2.4rem;
        margin-top: 60px;
    }

    .subtitulo {
        font-size: 1.1rem;
        margin: 40px 30px;
    }

    .top-footer {
        margin-top: 10px;
    }
}

/* Ultra compacto (celulares muito pequenos) */
@media (max-width: 360px) {

    :root {
        --icon-size: 28px;
        --icon-wrap-width: 36px;
        --icon-gap: 6px;
    }

    .titulo {
        font-size: 2.2rem;
        margin-top: 60px;
    }

    .subtitulo {
        font-size: 1.1rem;
        margin: 30px 10px;
    }

    .texto {
        font-size: 0.92rem;
    }

    .top-footer {
        margin-top: 20px;
    }
}

/* balão só de texto (link para o site principal) */
.balao-site {
    padding-left: var(--balao-padding-x);
    border-color: rgba(193, 140, 255, 0.6);
}

/* .icon-wrap e .texto agora são <span>: precisam se comportar como bloco */
.icon-wrap { display: flex; }
.texto { display: block; }
.social-icon { display: inline-block; line-height: 0; }

.balao:focus-visible,
.social-icon:focus-visible {
    outline: 2px solid #c18cff;
    outline-offset: 3px;
}
