:root {
    --primary: #ca8a04;
    --primary-dark: #a16207;
    --secondary: #eab308;
    --dark: #141b2a;
    --darker: #141b2a;
    --light: #F5F5F7;
    --gray: #8E8E93;
    --card-bg: rgba(20, 27, 42, 0.8);
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', 'Courier New', monospace;
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

a:hover {
    color: var(--secondary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navegação */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(20, 27, 42, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.nav-container.scrolled {
    background-color: rgba(20, 27, 42, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    height: 70px;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    font-family: 'SF Pro Display', sans-serif;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-actions {
    position: absolute;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.language-selector:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(202, 138, 4, 0.3);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--gray);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    opacity: 0.7;
}

.lang-btn:hover {
    color: var(--primary);
    opacity: 1;
}

.lang-btn.active {
    color: var(--primary);
    background-color: rgba(202, 138, 4, 0.15);
    opacity: 1;
}

.lang-separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    user-select: none;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: relative;
    opacity: 0.8;
}

.nav-link:hover {
    color: var(--primary);
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Header Styles */
header {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: var(--darker);
    padding-top: 90px;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(202, 138, 4, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(202, 138, 4, 0.05) 0%, transparent 40%);
    z-index: 0;
    animation: headerPulse 8s ease-in-out infinite;
}

@keyframes headerPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.header-content {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-greeting {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-name {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--light);
    letter-spacing: -2px;
    animation: fadeInUp 1s ease-out 0.3s backwards;
    position: relative;
    display: inline-block;
}

.hero-name::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    animation: underlineGrow 1s ease-out 1s forwards;
    border-radius: 2px;
}

@keyframes underlineGrow {
    to {
        width: 100%;
    }
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--light);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-weight: 500;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-motto {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-style: italic;
    opacity: 0.8;
    animation: fadeInUp 1s ease-out 0.5s backwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.hero-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.7s backwards;
}

.hero-social a {
    color: var(--gray);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-social a:hover {
    color: var(--primary);
    opacity: 1;
    transform: translateY(-5px) scale(1.1);
    background-color: rgba(202, 138, 4, 0.1);
    border-color: rgba(202, 138, 4, 0.3);
    box-shadow: 0 5px 20px rgba(202, 138, 4, 0.2);
}

/* Deprecated styles - kept for compatibility */
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-icons a {
    display: inline-block;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.header-intro h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.header-intro h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.header-intro p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--gray);
    line-height: 1.7;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    border: none;
    cursor: pointer;
    letter-spacing: -0.3px;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(10, 132, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--light);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* Sections */
section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1rem auto 0;
    line-height: 1.7;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(202, 138, 4, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    pointer-events: none;
    z-index: 1;
}

.about-image:hover {
    border-color: rgba(202, 138, 4, 0.4);
    box-shadow: 0 15px 50px rgba(202, 138, 4, 0.15);
}

.about-image:hover::before {
    opacity: 1;
}

.about-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--light);
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.about-text {
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.skill-category {
    background-color: rgba(20, 27, 42, 0.5);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    transition: height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    border-radius: 0 2px 2px 0;
}

.skill-category:hover::before {
    height: 100%;
}

.skill-category:hover {
    transform: translateY(-10px);
    border-color: rgba(202, 138, 4, 0.4);
    box-shadow: 0 15px 50px rgba(202, 138, 4, 0.15);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
    letter-spacing: -0.5px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.skill-category-label {
    color: var(--gray);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    opacity: 0.7;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    position: relative;
    z-index: 1;
}

.skill-tag {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--light);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-weight: 500;
}

.skill-tag:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(202, 138, 4, 0.3);
}

/* Experience Section */
.experience-container {
    display: flex;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.experience-tabs {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 200px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.experience-tab {
    background: none;
    border: none;
    color: var(--gray);
    padding: 1rem 1.5rem;
    text-align: left;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    border-left: 2px solid transparent;
    margin-left: -2px;
}

.experience-tab:hover {
    color: var(--primary);
    background-color: rgba(202, 138, 4, 0.05);
}

.experience-tab.active {
    color: var(--primary);
    border-left-color: var(--primary);
    background-color: rgba(202, 138, 4, 0.1);
}

.experience-content {
    flex: 1;
    position: relative;
}

.experience-item {
    display: none;
}

.experience-item.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.experience-role {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    color: var(--light);
    line-height: 1.4;
}

.experience-company-line {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
    line-height: 1.4;
}

.experience-at {
    color: var(--primary);
}

.experience-date {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.experience-description {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.experience-description p {
    color: var(--light);
    line-height: 1.7;
    opacity: 0.9;
}

/* Deprecated Timeline Styles */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: rgba(10, 132, 255, 0.3);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.timeline-item {
    padding: 1rem 3rem 3rem 3rem;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--darker);
    border: 3px solid var(--primary);
    border-radius: 50%;
    top: 0;
    z-index: 1;
    box-shadow: 0 0 10px rgba(10, 132, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.timeline-item:hover::after {
    background-color: var(--primary);
    transform: scale(1.1);
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(odd)::after {
    right: -14px;
}

.timeline-item:nth-child(even)::after {
    left: -14px;
}

.timeline-content {
    background-color: rgba(20, 27, 42, 0.5);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    max-width: 90%;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.timeline-item:nth-child(odd) .timeline-content {
    border-right: 2px solid var(--primary);
    margin-left: auto;
    margin-right: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: 2px solid var(--primary);
    margin-right: auto;
    margin-left: 0;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: rgba(10, 132, 255, 0.5);
}

.timeline-date {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.timeline-company {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.timeline-desc {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.timeline-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-tech span {
    background-color: rgba(10, 132, 255, 0.1);
    color: var(--primary);
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    border: 1px solid rgba(10, 132, 255, 0.3);
}

/* Para telas muito grandes */
@media (min-width: 1600px) {
    .timeline {
        max-width: 1200px;
    }

    .timeline-content {
        padding: 2.5rem;
        max-width: 85%;
    }

    .timeline-title {
        font-size: 1.8rem;
    }

    .timeline-company {
        font-size: 1.3rem;
    }

    .timeline-desc {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .timeline-tech span {
        font-size: 0.9rem;
        padding: 0.3rem 1rem;
    }
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.education-card {
    background-color: rgba(20, 27, 42, 0.5);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    transition: height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    border-radius: 0 2px 2px 0;
}

.education-card:hover {
    transform: translateY(-10px);
    border-color: rgba(202, 138, 4, 0.3);
    box-shadow: 0 15px 50px rgba(202, 138, 4, 0.1);
}

.education-card:hover::before {
    height: 100%;
}

.education-date {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: rgba(202, 138, 4, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(202, 138, 4, 0.2);
}

.education-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
    color: var(--light);
    font-weight: 700;
    line-height: 1.3;
}

.education-school {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.education-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.project-card {
    background-color: rgba(20, 27, 42, 0.5);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(202, 138, 4, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    pointer-events: none;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(202, 138, 4, 0.4);
    box-shadow: 0 20px 60px rgba(202, 138, 4, 0.15);
}

.project-card:hover::before {
    opacity: 1;
}

.project-image {
    height: 220px;
    background-color: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid rgba(202, 138, 4, 0.2);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    filter: brightness(0.9) contrast(1.1);
}

.project-card:hover .project-image img {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.15);
}

.project-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.project-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    color: var(--light);
    transition: color 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.project-card:hover .project-title {
    color: var(--primary);
}

.project-desc {
    margin-bottom: 1.5rem;
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    background-color: rgba(202, 138, 4, 0.15);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid rgba(202, 138, 4, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    font-weight: 500;
}

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

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links .btn {
    flex: 1;
    text-align: center;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    background-color: rgba(202, 138, 4, 0.1);
    color: var(--primary);
    border: 1px solid rgba(202, 138, 4, 0.3);
}

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

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item-large {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(20, 27, 42, 0.5);
    padding: 1.5rem;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.contact-item-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    transition: height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    border-radius: 0 2px 2px 0;
}

.contact-item-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(202, 138, 4, 0.1);
    border-color: rgba(202, 138, 4, 0.3);
}

.contact-item-large:hover::before {
    height: 100%;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(202, 138, 4, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    border: 1px solid rgba(202, 138, 4, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.contact-item-large:hover .contact-icon {
    background-color: rgba(202, 138, 4, 0.2);
    border-color: var(--primary);
    transform: scale(1.1);
}

.contact-text {
    flex: 1;
}

.contact-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

/* Footer */
footer {
    background-color: #141b2a;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.copyright {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 2rem;
        width: 100%;
    }

    section {
        padding: 6rem 0;
    }

    header {
        height: auto;
        min-height: 100vh;
        padding: 2rem 0;
        padding-top: 90px;
        width: 100%;
    }

    .header-content {
        padding: 1rem 0;
        width: 100%;
    }

    .hero-name {
        font-size: 4rem;
        letter-spacing: -1px;
    }

    .hero-tagline {
        font-size: 1.3rem;
    }

    .hero-motto {
        font-size: 1rem;
    }

    .logo {
        margin-bottom: 1rem;
    }

    .social-icons {
        margin-bottom: 1.5rem;
    }

    .header-intro {
        margin-top: 1rem;
        width: 100%;
    }

    .header-intro h1 {
        font-size: 3.5rem;
        line-height: 1.1;
    }

    .contact-info {
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline {
        margin-left: 20px;
    }

    .timeline::after {
        left: 0;
    }

    .timeline-item {
        width: 100%;
        padding-left: 40px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd) {
        text-align: left;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: -10px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        border-left: 2px solid var(--primary);
        border-right: none;
        margin-bottom: 20px;
    }

    .timeline-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    /* Language selector on mobile */
    .language-selector {
        padding: 0.35rem 0.7rem;
        gap: 0.4rem;
    }

    .lang-btn {
        font-size: 0.85rem;
        padding: 0.25rem 0.5rem;
    }

    .experience-container {
        flex-direction: column;
        gap: 2rem;
    }

    .experience-tabs {
        flex-direction: row;
        overflow-x: auto;
        border-left: none;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        min-width: 100%;
    }

    .experience-tab {
        border-left: none;
        border-bottom: 2px solid transparent;
        margin-left: 0;
        margin-bottom: -2px;
        white-space: nowrap;
        min-height: 44px;
        padding: 1rem 1.5rem;
    }

    .experience-tab.active {
        border-left: none;
        border-bottom-color: var(--primary);
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background-color: rgba(20, 27, 42, 0.98);
        backdrop-filter: saturate(180%) blur(30px);
        -webkit-backdrop-filter: saturate(180%) blur(30px);
        width: 70%;
        height: calc(100vh - 70px);
        padding: 2rem;
        gap: 1.5rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        border-left: 1px solid rgba(202, 138, 4, 0.2);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu.active .nav-link {
        animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) backwards;
    }

    .nav-menu.active .nav-link:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active .nav-link:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu.active .nav-link:nth-child(3) { animation-delay: 0.2s; }
    .nav-menu.active .nav-link:nth-child(4) { animation-delay: 0.25s; }
    .nav-menu.active .nav-link:nth-child(5) { animation-delay: 0.3s; }
    .nav-menu.active .nav-link:nth-child(6) { animation-delay: 0.35s; }

    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .mobile-menu-btn {
        display: none;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .nav-link::after {
        bottom: -2px;
    }

    .hero-name {
        font-size: 3rem;
        letter-spacing: -1px;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .hero-motto {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
        gap: 1rem;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-intro h1 {
        font-size: 2.8rem;
    }

    .header-intro h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .project-image {
        height: 180px;
    }

    .skills-container, .education-grid {
        grid-template-columns: 1fr;
    }

    .skill-category, .education-card {
        margin-bottom: 1rem;
    }

    .timeline-item {
        padding-bottom: 1.5rem;
    }

    .contact-item-large {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1.25rem;
    }

    section {
        padding: 5rem 0;
    }

    .hero-greeting {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        line-height: 1.5;
    }

    .hero-name {
        font-size: 2.5rem;
        letter-spacing: -1px;
        margin-bottom: 1.75rem;
        line-height: 1.2;
    }

    .hero-tagline {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
        line-height: 1.5;
    }

    .hero-motto {
        font-size: 0.9rem;
        margin-bottom: 2.5rem;
        line-height: 1.6;
    }

    .about-content h3 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .about-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .hero-cta {
        margin-bottom: 2.5rem;
        gap: 1rem;
    }

    .hero-cta .btn {
        padding: 1rem 2rem;
        font-size: 0.95rem;
        min-height: 48px;
    }

    .hero-social {
        gap: 1.25rem;
    }

    .hero-social a {
        width: 44px;
        height: 44px;
    }

    .header-intro h1 {
        font-size: 2.2rem;
        word-break: break-word;
        hyphens: auto;
    }

    .header-intro h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .header-intro p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .header {
        height: auto;
        min-height: 100vh;
        padding-top: 1rem;
    }

    .contact-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .contact-item {
        width: 100%;
        padding: 0.4rem 0.8rem;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .contact-item span {
        word-break: break-word;
        margin-left: 0.5rem;
    }

    .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        padding: 0.7rem 1.5rem;
        box-sizing: border-box;
    }

    .btn-outline {
        margin-left: 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .skill-category,
    .education-card,
    .project-card {
        margin-bottom: 0;
    }

    .contact-item-large {
        padding: 1.25rem;
    }

    .timeline-title {
        font-size: 1.3rem;
    }

    .timeline-company {
        font-size: 1rem;
    }

    .timeline-tech {
        margin-top: 0.5rem;
    }

    .footer-links {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 1rem;
    }

    .hero-name {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-motto {
        font-size: 0.85rem;
    }

    .header-intro h1 {
        font-size: 2rem;
    }

    .header-intro h2 {
        font-size: 1.2rem;
    }

    .contact-item {
        font-size: 0.9rem;
    }
}

/* Adicionando animações */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

/* Espaçamento entre itens da timeline */
.timeline-item {
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.timeline-item:hover {
    transform: translateX(5px);
}

.timeline-item:nth-child(odd):hover {
    transform: translateX(-5px);
}

@media (max-width: 992px) {
    .timeline-item:hover, .timeline-item:nth-child(odd):hover {
        transform: translateX(5px);
    }
}

/* Efeito hover nos cards */
.skill-category:hover, .education-card:hover, .project-card:hover, .contact-item-large:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile menu btn */
.mobile-menu-btn {
    display: none; /* Ocultar em telas grandes */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.mobile-menu-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(202, 138, 4, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), height 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.mobile-menu-btn:hover::before {
    width: 100%;
    height: 100%;
}

.mobile-menu-btn:hover {
    border-color: rgba(202, 138, 4, 0.4);
    background-color: rgba(202, 138, 4, 0.1);
}

.mobile-menu-btn svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.mobile-menu-btn:active svg {
    transform: scale(0.9);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex; /* Mostrar apenas em dispositivos móveis */
    }
}
