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

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #8b5cf6;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --accent: #06b6d4;
}

/* 🔹 Ajuste global para simular zoom 80% */
html {
    font-size: 14px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1100px; /* 🔹 levemente reduzido para equilíbrio */
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 70px 0 50px;
    text-align: center;
    position: relative;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.container h1 {
    display: flex;
    flex-direction: column;
    font-size: 2.6rem; /* 🔹 levemente reduzido */
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInDown 0.8s ease;
}

.caixa-imagem {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.caixa-imagem img {
    width: 100%;
    border-radius: 50%;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.description {
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-muted);
    font-size: 1rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.section {
    margin: 60px 0;
    animation: fadeIn 1s ease;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text);
    position: relative;
    padding-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.skill-icon {
    font-size: 2.3rem;
    margin-bottom: 10px;
}
.skill-icon .html { color: #F19908; }
.skill-icon .css { color: #2176BB; }
.skill-icon .js { color: #FA9F2E; }
.skill-icon .git { color: #E94F31; }
.skill-icon .api { color: #48657C; }
.skill-icon .java { color: #DF111E; }

.skill-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.experience-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.experience-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary);
}

.experience-title {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.experience-org {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.experience-description {
    color: var(--text-muted);
    line-height: 1.8;
}
.experience-description .destaque-html { color: #F19908; }
.experience-description .destaque-css { color: #2176BB; }
.experience-description .destaque-js { color: #FA9F2E; }
.experience-description .destaque-api { color: #9BFFE1; }
.experience-description .destaque-git { color: #E94F31; }

.cta-section {
    text-align: center;
    padding: 50px 0;
    margin: 70px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text);
}

.cta-text {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1rem;
}

.btn-project {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(37, 99, 235, 0.2);
    color: var(--primary);
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-project:hover {
    background: var(--primary);
    color: white;
    transform: translateY(5px);
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

footer {
    text-align: center;
    padding: 35px 0;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-30px) translateX(20px); }
}

@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; }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}
