/* =========================================================
   BOTOES DA TELA DE INICIO
   Ver projetos | Download CV (lado a lado)
   Entrar em contato (linha inteira, azul)
   ========================================================= */

.inicio .hero-botoes {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(100%, 520px);
    margin: 18px 0 0;
}

.inicio .hero-botoes-linha {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.inicio .hero-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    transition: background .25s ease, border-color .25s ease, transform .2s ease;
}

.inicio .hero-btn > span {
    flex: 1;
    text-align: center;
}

.inicio .hero-btn > i:first-child,
.inicio .hero-btn > i:last-child {
    font-size: 14px;
}

.inicio .hero-btn:hover {
    transform: translateY(-2px);
}

/* contorno: Ver projetos e Download CV (tema escuro) */
.inicio .hero-btn-contorno {
    color: #ffffff;
    border: 1px solid rgba(47, 140, 255, .9);
    background: rgba(4, 12, 28, .35);
    backdrop-filter: blur(4px);
}

.inicio .hero-btn-contorno:hover {
    background: rgba(47, 140, 255, .18);
}

/* botao principal: Entrar em contato */
.inicio .hero-btn-principal {
    justify-content: center;
    color: #ffffff;
    background: #1a7cf5;
    border: 1px solid #1a7cf5;
    font-size: 16px;
}

.inicio .hero-btn-principal:hover {
    background: #0f6be0;
    border-color: #0f6be0;
}

/* tema claro */
body.light .inicio .hero-btn-contorno {
    color: #0f1d3a;
    border-color: #1a7cf5;
    background: rgba(255, 255, 255, .72);
}

body.light .inicio .hero-btn-contorno:hover {
    background: rgba(255, 255, 255, .95);
}

/* computador: botoes um pouco maiores, com o mesmo visual */
@media screen and (min-width: 1024px) {
    .inicio .hero-botoes {
        width: min(100%, 560px);
    }

    .inicio .hero-btn {
        min-height: 56px;
        font-size: 16px;
    }
}

/* celular muito estreito: os dois botoes de cima empilham */
@media screen and (max-width: 360px) {
    .inicio .hero-botoes-linha {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   FUNDO INICIAL SEM TELA PRETA
   a primeira imagem do tema certo entra antes da pagina pintar
   ========================================================= */
.inicio {
    background-color: var(--fundobody);
    background-image: var(--hero-poster);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* =========================================================
   ALINHAMENTO E ESPACAMENTO
   ========================================================= */

/* celular: botoes alinhados com o texto e com respiro na direita */
@media screen and (max-width: 1023px) {
    .inicio .hero-botoes {
        width: auto;
        margin: 18px 16px 0 calc(3px + 1vw);
    }
}

/* computador: texto, icones e botoes deslocados para a direita e alinhados */
@media screen and (min-width: 1024px) {
    section#container div.texto,
    section#container div.icons {
        margin-left: 6vw;
    }

    .inicio .hero-botoes {
        margin-left: 6vw;
        width: min(100%, 560px);
    }
}


/* =========================================================
   CELULAR DEITADO (tela baixa)
   O conteudo do inicio fica mais alto que a tela e o botao
   "Entrar em contato" encostava na secao "Sobre mim".
   So mexe nisso: respiro embaixo da tela de inicio.
   ========================================================= */
@media screen and (orientation: landscape) and (max-height: 520px) {
    section#container {
        box-sizing: border-box;
        padding-bottom: 40px;
    }
}
