/* Variáveis de Cores - Baseadas na sua paleta e no estilo minimalista */
:root {
    --cor-fundo: #0D0D0D;
    --cor-texto: #FEE9BF;
    --cor-primaria: #64B6AC;
    --cor-secundaria: #022873;
    --cor-borda: rgba(254, 233, 191, 0.1);
    --cor-card: rgba(100, 182, 172, 0.05);
    --cor-card-hover: rgba(100, 182, 172, 0.15);
    --transicao: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modo Claro */
html.light {
    --cor-fundo: #FEE9BF;
    --cor-texto: #0D0D0D;
    --cor-borda: rgba(13, 13, 13, 0.1);
    --cor-card: rgba(100, 182, 172, 0.1);
    --cor-card-hover: rgba(100, 182, 172, 0.2);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

    hr{
        border: none;
        border-top: 3px solid var(--cor-borda);
        margin: 2rem 0;
        padding: 20px;
    }

    .linksecundario {
        color: var(--cor-texto);
        text-decoration: none;
        font-size: 0.9rem;
        opacity: 0.8;
        transition: var(--transicao);
        margin: 10px 0;
    }
body {
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 1rem;
    transition: var(--transicao);
    overflow-x: hidden;
}

/* Header & Logo */
.topo-acoes {
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    z-index: 10;
}

.logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(100, 182, 172, 0.2));
}

.botao-tema {
    background: none;
    border: 1px solid var(--cor-borda);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--cor-texto);
    transition: var(--transicao);
}

.botao-tema:hover {
    background-color: var(--cor-card-hover);
    transform: rotate(15deg);
}

.icone-lampada {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

/* Perfil & Hero */
main {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    animation: fadeInDown 1s ease-out;
}

.foto-perfil {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--cor-primaria);
    padding: 5px;
    transition: var(--transicao);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.foto-perfil:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(100, 182, 172, 0.3);
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

h3 {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Grid de Cards */
article {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 800px;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.opcoes {
    background-color: var(--cor-card);
    border: 1px solid var(--cor-borda);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    color: var(--cor-texto);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transicao);
    position: relative;
    overflow: hidden;
}

.opcoes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(100, 182, 172, 0.05));
    opacity: 0;
    transition: var(--transicao);
}

.opcoes:hover {
    transform: translateY(-8px);
    background-color: var(--cor-card-hover);
    border-color: var(--cor-primaria);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.opcoes:hover::before {
    opacity: 1;
}

.opcoes h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    transition: var(--transicao);
}

.opcoes:hover h3 {
    color: var(--cor-primaria);
    transform: scale(1.05);
}

/* Footer & Redes */
footer {
    text-align: center;
    margin-top: auto;
    padding-bottom: 2rem;
    animation: fadeIn 1.5s ease-out 0.5s backwards;
}

.redes-sociais {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.rede-link {
    color: var(--cor-texto);
    font-size: 0.9rem;
    text-decoration: none;
    opacity: 0.6;
    transition: var(--transicao);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    border: 1px solid transparent;
}

.rede-link:hover {
    opacity: 1;
    color: var(--cor-primaria);
    border-color: var(--cor-primaria);
    background: rgba(100, 182, 172, 0.05);
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.cafe-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cor-primaria);
    color: #0D0D0D;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transicao);
}

.cafe-link:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: 0 10px 20px rgba(100, 182, 172, 0.3);
}

/* Animações */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsividade */
@media (max-width: 600px) {
    h1 { font-size: 2rem; }
    article {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .foto-perfil {
        width: 150px;
        height: 150px;
    }
    .opcoes {
        padding: 2rem 1rem;
    }
    .redes-sociais {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

}
