:root {
    --bg-color: #050a08;        /* Preto esverdeado profundo */
    --card-bg: #0d1411;         /* Cor dos cartões */
    --card-hover: #141f1a;      /* Cor ao passar o mouse */
    --accent: #98c392;          /* Verde Sálvia (Destaque) */
    --text-main: #e8ecea;       /* Branco "sujo" (mais confortável) */
    --text-muted: #6f8078;      /* Cinza esverdeado */
    --border: rgba(152, 195, 146, 0.1);
    --glow: rgba(152, 195, 146, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow-x: hidden;
}

/* Luz Ambiente (Glow no fundo) */
.ambient-light {
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(152,195,146,0.08) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 420px;
    z-index: 1;
}

/* HEADER */
header {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeIn 0.8s ease;
}

.profile-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.05);
}

/* Indicador de Status (Piscando) */
.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    background-color: var(--accent);
    border-radius: 50%;
    border: 2px solid var(--bg-color);
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(152, 195, 146, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(152, 195, 146, 0); }
    100% { box-shadow: 0 0 0 0 rgba(152, 195, 146, 0); }
}

.header-text h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.role {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.75rem;
    background: rgba(152, 195, 146, 0.1);
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
}

.bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* BENTO GRID LAYOUT */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Duas colunas */
    gap: 12px;
}

/* Estilos Gerais do Cartão */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card:hover {
    background: var(--card-hover);
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

/* Cartão Principal (Ocupa 2 colunas) */
.main-cta {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--accent), #7fa67a);
    color: #050a08;
    border: none;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.main-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(152, 195, 146, 0.4);
}
.main-cta h3 { color: #050a08; font-weight: 700; font-size: 1.1rem; }
.main-cta p { color: rgba(5, 10, 8, 0.8); font-size: 0.85rem; }
.tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(0,0,0,0.1);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 5px;
}
.card-icon {
    background: rgba(255,255,255,0.2);
    width: 35px; height: 35px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* Cartões Pequenos (Portfólio/CV) */
.icon-top {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 10px;
}
.card h3 { font-size: 1rem; margin-bottom: 2px; }
.small-desc { font-size: 0.75rem; color: var(--text-muted); }

/* Cartões Largos (GitHub/Linkedin) */
.wide-card {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}
.row-content { display: flex; align-items: center; gap: 15px; }
.big-icon { font-size: 1.5rem; color: var(--text-main); }
.external-icon { color: var(--text-muted); font-size: 0.9rem; }

/* Botão Email (Cursor Pointer) */
.copy-email { cursor: pointer; }

/* Footer */
footer {
    text-align: center;
    margin-top: 40px;
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Toast Notification */
#toast {
    visibility: hidden;
    min-width: 150px;
    background-color: var(--accent);
    color: #050a08;
    text-align: center;
    border-radius: 50px;
    padding: 10px;
    position: fixed;
    z-index: 10;
    bottom: 30px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
#toast.show { visibility: visible; animation: fadein 0.5s, fadeout 0.5s 2.5s; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadein { from {bottom: 0; opacity: 0;} to {bottom: 30px; opacity: 1;} }
@keyframes fadeout { from {bottom: 30px; opacity: 1;} to {bottom: 0; opacity: 0;} }