/* ===== VARIÁVEIS E ESTILOS GLOBAIS ===== */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #27ae60;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== HEADER E NAVEGAÇÃO ===== */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

/* MENU DESKTOP */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background-color: var(--light-color);
    padding: 1rem 0;
    margin-top: 60px;
}

.breadcrumb-links {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumb-links li {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-links li:not(:last-child)::after {
    content: ">";
    margin-left: 0.5rem;
}

.breadcrumb-links a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb-links a:hover {
    text-decoration: underline;
}

/* ===== SEÇÃO HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8rem 0 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.6;
}

.highlight {
    color: var(--accent-color);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* ===== SEÇÃO SOBRE ===== */
.about {
    padding: 5rem 0;
    background: var(--light-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark-color);
    opacity: 0.8;
}

.image-frame {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    transition: var(--transition);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.3);
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* ===== SEÇÃO CARREIRA ===== */
.career {
    padding: 5rem 0;
    background: white;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 4rem;
    padding: 2rem 1rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
    width: 100%;
}

.timeline-date {
    width: 100px;
    padding: 0.5rem 1rem 0.5rem 0;
    text-align: right;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 0.9rem;
    flex-shrink: 0;
    height: 3rem;
    background-color: white;
}

.timeline-content {
    flex: 1;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    border-left: 4px solid var(--secondary-color);
    margin-left: 1rem;
    min-height: 180px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 25px;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 3px var(--secondary-color);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
/* ===== TIMELINE DESKTOP ===== */
@media (min-width: 769px) {
    .timeline {
        position: relative;
        max-width: 1200px;
        margin: 0 auto 4rem;
        padding: 3rem 0;
    }

    .timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
        transform: translateX(-50%);
    }

    .timeline-item {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        margin-bottom: 4rem;
        position: relative;
        width: 100%;
    }

    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }

    .timeline-item:nth-child(even) {
        flex-direction: row-reverse;
    }

    .timeline-date {
        width: 45%;
        padding: 1rem 2rem;
        text-align: right;
        font-weight: bold;
        color: var(--primary-color);
        font-size: 1.1rem;
        position: relative;
        z-index: 2;
    }

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

    .timeline-content {
        width: 45%;
        padding: 2.5rem;
        background: white;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        position: relative;
        border-top: 4px solid var(--secondary-color);
        margin: 0 2rem;
        min-height: 220px;
        transition: var(--transition);
    }

    .timeline-item:nth-child(odd) .timeline-content {
        border-top-color: var(--secondary-color);
    }

    .timeline-item:nth-child(even) .timeline-content {
        border-top-color: var(--accent-color);
    }

    .timeline-content:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

    .timeline-content::before {
        content: '';
        position: absolute;
        top: 30px;
        width: 20px;
        height: 20px;
        background: var(--secondary-color);
        border-radius: 50%;
        border: 4px solid white;
        box-shadow: 0 0 0 3px var(--secondary-color);
        z-index: 3;
    }

    .timeline-item:nth-child(odd) .timeline-content::before {
        right: -42px;
        left: auto;
    }

    .timeline-item:nth-child(even) .timeline-content::before {
        left: -42px;
        right: auto;
        background: var(--accent-color);
        box-shadow: 0 0 0 3px var(--accent-color);
    }

    .timeline-content h3 {
        color: var(--primary-color);
        margin-bottom: 0.8rem;
        font-size: 1.4rem;
        font-weight: 700;
    }

    .timeline-content h4 {
        color: var(--secondary-color);
        margin-bottom: 1.2rem;
        font-weight: 600;
        font-size: 1.1rem;
    }

    .timeline-item:nth-child(even) .timeline-content h4 {
        color: var(--accent-color);
    }

    .timeline-content p {
        color: #666;
        line-height: 1.7;
        margin-bottom: 1.8rem;
        font-size: 1rem;
    }

    .tech-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .tech-tags span {
        background: linear-gradient(135deg, var(--light-color), #e9ecef);
        padding: 0.4rem 1rem;
        border-radius: 20px;
        font-size: 0.85rem;
        color: var(--dark-color);
        border: 1px solid #e9ecef;
        font-weight: 500;
        transition: var(--transition);
    }

    .tech-tags span:hover {
        background: var(--secondary-color);
        color: white;
        transform: translateY(-2px);
    }

    .timeline-item:nth-child(even) .tech-tags span:hover {
        background: var(--accent-color);
    }
}

/* ===== TIMELINE DESKTOP GRANDE ===== */
@media (min-width: 1200px) {
    .timeline-content {
        padding: 3rem;
        min-height: 240px;
    }

    .timeline-content h3 {
        font-size: 1.5rem;
    }

    .timeline-content h4 {
        font-size: 1.2rem;
    }

    .timeline-content p {
        font-size: 1.05rem;
    }
}
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tech-tags span {
    background: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    color: var(--dark-color);
    border: 1px solid #e9ecef;
    font-weight: 500;
}

/* ===== FORMAÇÃO ACADÊMICA ===== */
.education {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.education-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 1.8rem;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.education-item {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
    text-align: left;
}

.education-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.education-icon {
    font-size: 1.8rem;
    color: var(--secondary-color);
    text-align: center;
}

.education-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.education-institution {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.education-period {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.education-desc {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* ===== SEÇÃO HABILIDADES ===== */
.skills {
    padding: 5rem 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-name {
    font-weight: 600;
    color: var(--dark-color);
}

.skill-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 4px;
    width: 0;
    transition: width 1s ease-in-out;
}

/* ===== SEÇÃO PROJETOS ===== */
.projects {
    padding: 5rem 0;
    background: var(--light-color);
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.filter-btn {
    background: white;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.9rem;
    outline: none;
}

.filter-btn:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.filter-btn.active {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 1.5rem;
}

.project-category {
    display: inline-block;
    background: var(--light-color);
    color: var(--dark-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.project-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: var(--light-color);
    color: var(--dark-color);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
}

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

.project-link {
    padding: 0.5rem 1rem;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: var(--transition);
    flex: 1;
    text-align: center;
}

.project-link:hover {
    background: var(--primary-color);
}

.projects-cta {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ===== SEÇÃO CONTATO ===== */
.contact {
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    width: 40px;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

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

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.contact-btn {
    width: 100%;
    margin-top: 1rem;
}

/* ===== PÁGINA DE DETALHES DO PROJETO ===== */
.project-hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.project-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.project-tag {
    background-color: rgba(255,255,255,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.project-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

.project-main {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.sidebar-card h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    color: var(--primary-color);
}

.project-gallery {
    margin: 2rem 0;
}

.gallery-main {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid #eee;
}

.gallery-main img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.gallery-thumb {
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
    border: 2px solid transparent;
}

.gallery-thumb:hover, .gallery-thumb.active {
    opacity: 1;
    border-color: var(--secondary-color);
}

.gallery-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.content-section {
    margin: 2rem 0;
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.features-list {
    list-style: none;
}

.features-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.features-list li::before {
    content: "✓";
    color: var(--success-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-item {
    background-color: var(--light-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-navigation {
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
    border-top: 1px solid #eee;
    margin-top: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
    max-width: 45%;
}

.project-nav-item:hover {
    color: var(--secondary-color);
}

.project-nav-item.prev {
    text-align: left;
}

.project-nav-item.next {
    text-align: right;
    flex-direction: row-reverse;
    margin-left: auto;
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo .logo {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== RESPONSIVIDADE ===== */

/* MOBILE FIRST - Menu Mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0.5rem 0;
        margin-left: 0;
    }

    .nav-links a {
        display: block;
        padding: 0.5rem 0;
    }

    /* Layout Mobile */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-content {
        grid-template-columns: 1fr;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .project-nav-item {
        max-width: 100%;
    }
    
    .category-filters {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* DESKTOP - Menu Desktop */
@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
    }

    .menu-toggle {
        display: none;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-item {
        justify-content: center;
        align-items: flex-start;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: row-reverse;
    }
    
    .timeline-date {
        width: 45%;
        padding: 1rem 2rem;
        text-align: right;
        font-size: 1rem;
    }
    
    .timeline-item:nth-child(even) .timeline-date {
        text-align: left;
    }
    
    .timeline-content {
        width: 45%;
        margin-left: 0;
        padding: 2rem;
        min-height: 200px;
    }
    
    .timeline-content::before {
        left: auto;
        top: 30px;
        width: 16px;
        height: 16px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before {
        right: -38px;
        left: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -38px;
        right: auto;
        background: var(--accent-color);
        box-shadow: 0 0 0 3px var(--accent-color);
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        border-left: none;
        border-right: 4px solid var(--accent-color);
    }
    
    .education-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .education-item {
        flex-direction: row;
        text-align: left;
        padding: 2rem;
    }
    
    .education-icon {
        text-align: left;
        margin-top: 0.5rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .timeline {
        padding: 2rem 0;
    }
    
    .timeline-content {
        min-height: 180px;
    }
    
    .education-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Pequeno */
@media (max-width: 480px) {
    .timeline {
        padding: 1rem 0.5rem;
    }
    
    .timeline-date {
        width: 80px;
        padding: 0.5rem 0.5rem 0.5rem 0;
        font-size: 0.8rem;
    }
    
    .timeline-content {
        padding: 1.2rem;
        margin-left: 0.5rem;
        min-height: auto;
    }
    
    .timeline-content::before {
        left: -10px;
        top: 20px;
        width: 16px;
        height: 16px;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .timeline-content h4 {
        font-size: 0.9rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .tech-tags span {
        padding: 0.2rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .education-item {
        padding: 1.2rem;
    }
    
    .education-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    
    .category-filters {
        gap: 0.4rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        border-width: 1px;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 360px) {
    .timeline-date {
        width: 70px;
        font-size: 0.75rem;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .timeline-content h3 {
        font-size: 1rem;
    }
    
    .education-item {
        padding: 1rem;
    }
    
    .education-content h4 {
        font-size: 1rem;
    }
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .education-item,
    .project-card,
    .btn,
    .filter-btn,
    .social-link,
    .image-frame {
        transition: none;
    }
    
    .education-item:hover,
    .project-card:hover,
    .btn:hover,
    .filter-btn:hover,
    .social-link:hover,
    .image-frame:hover {
        transform: none;
    }
}