:root {
    --primary-color: #1e3a8a; /* Azul corporativo profundo */
    --secondary-color: #3b82f6; /* Azul destaque */
    --text-main: #334155;
    --text-light: #64748b;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e1b4b 100%);
    color: white;
    padding: 100px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.profile-img-container {
    flex-shrink: 0;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 30px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: rotate(0deg) scale(1.05);
}

.profile-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.profile-text h2 {
    font-size: 1.4rem;
    font-weight: 500;
    color: #93c5fd;
    margin-bottom: 20px;
    opacity: 0.9;
}

.location {
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links a:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.social-links a i {
    font-size: 1.1rem;
}

/* Sections */
.section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

/* Skills */
.skills-category {
    margin-bottom: 25px;
}

.skills-category h3 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tags span {
    background-color: #e0f2fe;
    color: #0369a1;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #bae6fd;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #cbd5e1;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--secondary-color);
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 2px;
}

.timeline-content h4 {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 15px;
}

.timeline-content ul {
    list-style-position: inside;
    color: var(--text-main);
}

.timeline-content ul li {
    margin-bottom: 8px;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.project-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.project-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.project-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-techs span {
    font-size: 0.8rem;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 4px;
    color: var(--text-main);
    font-weight: 500;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    background: white;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

@media (max-width: 768px) {
    .profile-text h1 {
        font-size: 2rem;
    }
}