/* Importação de Fonte do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* --- PERSONALIZAÇÃO --- */
/* Altere as variáveis abaixo para customizar as cores e fontes da sua página */
:root {
    --cor-fundo: #f0f2f5;
    --cor-texto: #1c1e21;
    --cor-principal: #007bff; /* Cor dos links e detalhes */
    --cor-container: #ffffff;
    --sombra-box: 0 4px 12px rgba(0, 0, 0, 0.1);
    --fonte-principal: 'Poppins', sans-serif;
}

/* Modo Escuro manual */
body.dark-mode {
    --cor-fundo: #121212;
    --cor-texto: #e4e6eb;
    --cor-principal: #3b82f6;
    --cor-container: #1e1e1e;
    --sombra-box: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.theme-toggle {
    background-color: var(--cor-container);
    color: var(--cor-texto);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    margin-top: 15px;
}

.theme-toggle:hover {
    transform: translateY(-2px);
}

/* --- ESTILOS GERAIS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fonte-principal);
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* --- CABEÇALHO --- */
.header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 680px;
    width: 100%;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--cor-container);
    box-shadow: var(--sombra-box);
}

.profile-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-description {
    font-size: 1rem;
    color: var(--cor-texto);
    opacity: 0.8;
}

/* --- SEÇÃO DE LINKS --- */
.links-container {
    width: 100%;
    max-width: 680px;
    display: grid;
    gap: 15px;
}

.link-item {
    background-color: var(--cor-container);
    display: block;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--cor-texto);
    font-weight: 600;
    text-align: center;
    box-shadow: var(--sombra-box);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.link-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    color: var(--cor-principal);
}

.link-item i {
    margin-right: 12px;
    font-size: 1.2rem;
    vertical-align: middle;
}

.link-description {
    display: block;
    font-size: 0.85rem;
    font-weight: 300;
    margin-top: 4px;
    opacity: 0.7;
}

/* --- SEÇÃO DE COMPARTILHAMENTO --- */
.share-section {
    max-width: 680px;
    width: 100%;
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background-color: var(--cor-container);
    border-radius: 12px;
    box-shadow: var(--sombra-box);
}

.share-section h2 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    text-decoration: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.share-btn:hover {
    opacity: 0.85;
}

.share-btn.whatsapp { background-color: #25D366; }
.share-btn.instagram { background-color: #f21d64; }
.share-btn.telegram { background-color: #1877F2; }

/* --- RODAPÉ --- */
.footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    font-size: 0.9rem;
    color: var(--cor-texto);
    opacity: 0.7;
    max-width: 680px;
    width: 100%;
}

.footer a {
    color: var(--cor-principal);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.contact-info, .footer-links {
    margin-bottom: 15px;
}

/* --- BOTÃO VOLTAR AO TOPO --- */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--cor-principal);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--sombra-box);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .profile-name {
        font-size: 1.5rem;
    }
    .profile-description {
        font-size: 0.9rem;
    }
}