@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500&display=swap');

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

:root {
    /* Fontes */
    --font-titles: 'Poppins', sans-serif;
    --font-text: 'Inter', sans-serif;

    /* Cores */
    --color-bg: #1a1a2e;
    --color-surface: #2a2a3e;
    --color-surface-hover: #33334c;
    --color-border: #4a4a6a;
    --color-text: #e4e4f0;
    --color-text-muted: #9494b8;
    --color-primary: #6b6baa;
    --color-primary-light: #8484c4;

    /* Gradientes */
    --gradient-surface: linear-gradient(145deg, var(--color-surface), var(--color-surface-hover));
    --gradient-primary: linear-gradient(145deg, var(--color-primary), var(--color-primary-light));
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    min-height: 100vh;
    padding: 2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile {
    display: grid;
    grid-template-columns: 300px 1fr auto;
    gap: 2rem;
    background: var(--gradient-surface);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.profile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: rgba(42, 42, 62, 0.5);
    border-radius: 15px;
    border: 1px solid var(--color-border);
}

.profile-info img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid var(--color-primary);
    box-shadow: 0 4px 12px rgba(107, 107, 170, 0.2),
        0 0 0 8px rgba(107, 107, 170, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

.profile-info img:hover {
    transform: scale(1.05);
    border-color: var(--color-primary-light);
    box-shadow: 0 6px 16px rgba(107, 107, 170, 0.3),
        0 0 0 12px rgba(107, 107, 170, 0.15);
}

.profile-info h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.profile-info h3 {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
}

.profile-description {
    padding: 1.5rem;
    background: rgba(42, 42, 62, 0.5);
    border-radius: 15px;
    border: 1px solid var(--color-border);
}

.profile-description h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary-light);
}

.profile-description p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.profile-contact {
    padding: 1.5rem;
    background: rgba(42, 42, 62, 0.5);
    border-radius: 15px;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.profile-contact h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary-light);
    position: relative;
    display: inline-block;
}

.profile-contact h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.profile-contact a {
    color: var(--color-text);
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
}

.profile-contact a i {
    font-size: 1.2rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
    width: 24px;
    text-align: center;
}

.profile-contact a:hover {
    background: var(--color-surface-hover);
    border-color: var(--color-primary);
    transform: translateX(5px);
}

.profile-contact a:hover i {
    color: var(--color-primary-light);
    transform: scale(1.1);
}

.profile-contact a.download-cv {
    background: var(--gradient-primary);
    border: none;
    color: var(--color-text);
    font-weight: 500;
    margin-top: 1rem;
}

.profile-contact a.download-cv:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 107, 170, 0.3);
}

.profile-contact a.download-cv i {
    color: var(--color-text);
}

/* Media Queries para o perfil */
@media (max-width: 1200px) {
    .profile {
        grid-template-columns: 250px 1fr;
    }

    .profile-contact {
        grid-column: span 2;
    }

    .contact-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .profile-contact a {
        min-width: 180px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .profile {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .profile-info {
        padding: 1.5rem;
    }

    .profile-info img {
        width: 150px;
        height: 150px;
    }

    .profile-contact {
        grid-column: auto;
    }

    .contact-links {
        flex-direction: column;
    }

    .profile-contact a {
        width: 100%;
    }
}

.skills-section {
    background: var(--gradient-surface);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    height: fit-content;
}

.skills-section h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.skill-category {
    background: var(--color-surface);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    background: var(--color-surface-hover);
}

.skill-category h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.skill-item {
    margin: 0.8rem 0;
}

.skill-item span {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: var(--color-text-muted);
}

.skill-bar {
    background: var(--color-surface);
    height: 6px;
    margin-top: 0.3rem;
    border-radius: 3px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

/* Animação para as barras de habilidade */
@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

.skill-level {
    animation: slideIn 1.5s ease-out forwards;
}

/* Ajustes responsivos */
@media (max-width: 900px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

    body {
        padding: 1rem;
    }
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.career-path {
    background: var(--gradient-surface);
    color: var(--color-text);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
}

.career-path h2 {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.career-path h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -2.4rem;
    width: 20px;
    height: 20px;
    background: var(--color-text);
    border: 4px solid var(--color-primary);
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 0 0 4px rgba(107, 107, 170, 0.1);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
}

.timeline-content {
    background: var(--gradient-surface);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: var(--color-primary-light);
    margin-bottom: 1rem;
}

.timeline-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.career-details h4 {
    color: var(--color-text);
    opacity: 0.9;
    margin: 1.5rem 0 0.8rem;
    font-size: 1.1rem;
}

.career-details ul {
    list-style-type: none;
    padding-left: 0;
}

.career-details li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.career-details li::before {
    content: '•';
    color: var(--color-border);
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.tech-tags span {
    background: var(--color-surface);
    color: var(--color-text);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.tech-tags span:hover {
    background: var(--color-surface-hover);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* Ajustes responsivos atualizados */
@media (max-width: 1200px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .profile {
        grid-template-columns: 1fr;
    }

    .profile-contact {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1rem;
    }

    body {
        padding: 1rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-dot {
        left: -1.9rem;
        width: 16px;
        height: 16px;
    }
}

/* Ajuste nas scrollbars para modo dark */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 5px;
    border: 2px solid var(--color-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-light);
}