/* ===========================
   RESET E BASE
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0d1117;
    color: #e6edf3;
    font-family: sans-serif;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* ===========================
   HEADER
=========================== */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 32px;
    animation: fadeIn 0.8s ease;
}

header img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 2px solid #d4a017;
    margin-bottom: 16px;
    object-fit: cover;
}

h1 {
    font-size: 2rem;
    color: #e6edf3;
    margin-bottom: 6px;
}

.info {
    font-size: 0.9rem;
    color: #8b949e;
}

/* ===========================
   BOTÕES DE NAVEGAÇÃO
=========================== */
.btn {
    display: block;
    text-align: center;
    background-color: #161b22;
    color: #e6edf3;
    text-decoration: none;
    padding: 16px 24px;
    border-radius: 16px;
    border: 1px solid #30363d;
    margin-bottom: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    animation: fadeIn 0.8s ease;
}

.btn:hover {
    background-color: #1c2330;
    border-color: #58a6ff;
    transform: translateY(-2px);
}

/* ===========================
   SEÇÕES
=========================== */
section {
    margin-bottom: 40px;
    animation: fadeIn 0.8s ease;
}

section h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

/* ===========================
   SEÇÃO SOBRE MIM
=========================== */
#sobre {
    background-color: #161b22;
    border: 1px solid #30363d;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 40px;
}

#sobre h2 { 
    font-size: 1.3rem;
    margin-bottom: 16px;
}

#sobre p {
    font-size: 0.95rem;
    color: #8b949e;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* ===========================
   CARDS
=========================== */
.card {
    background-color: #161b22;
    border: 1px solid #30363d;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 14px;
}

.card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.card ul li {
    font-size: 0.875rem;
    color: #8b949e;
}

/* ===========================
   TAGS
=========================== */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.tags span {
    background-color: #161b22;
    border: 1px solid #30363d;
    color: #8b949e;
    font-size: 0.82rem;
    padding: 6px 14px;
    border-radius: 999px;
}

.frase {
    font-size: 0.875rem;
    color: #8b949e;
    font-style: italic;
}

/* ===========================
   ÍCONES SOCIAIS
=========================== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 32px 0;
}

.social-links a {
    color: #8b949e;
    background-color: #161b22;
    border: 1px solid #30363d;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.social-links a:nth-child(1):hover {
    color: #e1306c;
    border-color: #e1306c;
}

.social-links a:nth-child(2):hover {
    color: #0077b5;
    border-color: #0077b5;
}

.social-links a:nth-child(3):hover {
    color: #ff0000;
    border-color: #ff0000;
}

.social-links a:nth-child(4):hover {
    color: #ffffff;
    border-color: #ffffff;
}

/* ===========================
   BOTÕES DE CONTATO
=========================== */
.btn-cta {
    display: block;
    text-align: center;
    background: linear-gradient(90deg, #7dd3fc, #fde68a);
    color: #0d1117;
    text-decoration: none;
    padding: 18px 24px;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-cta:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-email {
    background: linear-gradient(90deg, #f97316, #fde68a);
    margin-top: 12px;
}

/* ===========================
   RODAPÉ
=========================== */
footer {
    text-align: center;
    font-size: 0.8rem;
    color: #8b949e;
    padding-top: 20px;
    margin-top: 32px;
    border-top: 1px solid #30363d;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}