/* CSS Reset e Variáveis */
:root {
    --primary-blue: #2570E9;
    --secondary-blue: #4285f4;
    --text-gray: #797F8D;
    --text-dark: #696b72;
    --bg-light: #F5F7FB;
    --white: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
    line-height: 1.6;
    color: var(--text-dark);
}

/* Layout Principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navegação */
nav {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px var(--shadow-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 40px;
    border-radius: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Seção Hero */
.hero {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-info {
    max-width: 500px;
}

.hero-name {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

/* Botões */
.button-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    min-width: 160px;
}

.btn-primary {
    background-color: var(--secondary-blue);
    color: var(--white);
    border-color: var(--secondary-blue);
}

.btn-primary:hover {
    background-color: #3367d6;
    border-color: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-blue);
    border-color: var(--secondary-blue);
}

.btn-secondary:hover {
    background-color: var(--secondary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.icon-svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Redes Sociais */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    background: var(--white);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.7rem 1.2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Foto de Perfil */
.hero-image {
    display: flex;
    justify-content: center;
}

.profile-img {
    width: 100%;
    max-width: 425px;
    border-radius: 20px;
    box-shadow: 20px 20px 40px rgba(37, 112, 233, 0.2);
    transition: var(--transition);
}

.profile-img:hover {
    transform: translateY(-10px);
    box-shadow: 25px 25px 50px rgba(37, 112, 233, 0.3);
}

/* Seções */
section {
    padding: 4rem 0;
    min-height: 100vh;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards de Projeto */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.card-description {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid #e1e5e9;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 10px var(--shadow-light);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px var(--shadow-medium);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .button-container {
        justify-content: center;
    }

    .btn {
        min-width: 140px;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
}

.social-icon svg {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

/* GitHub */
.social-icon.github svg {
    fill: #333;
}

.social-icon.github:hover {
    background: #333;
    border-color: #333;
}

.social-icon.github:hover svg {
    fill: var(--white);
}

/* LinkedIn */
.social-icon.linkedin svg {
    fill: #0077b5;
}

.social-icon.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-icon.linkedin:hover svg {
    fill: var(--white);
}

.about-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.title-container {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: justify;
}

.about-text p:first-child {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-blue);
}

/* Seção Projetos */
.projects-section {
    padding: 4rem 0;
}

.title-container {
    text-align: center;
    margin-bottom: 2rem;
}

/* Grid de Projetos */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Cards de Projeto */
.project-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: var(--transition);
    position: relative;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.project-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-image:hover img {
    transform: scale(1.05);
}

/* Placeholder para imagens que não carregarem */
.project-image::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--white);
    z-index: 1;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
}

.project-description {
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Tags de Tecnologia */
.project-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 0.3rem 0.7rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: var(--transition);
}

.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 112, 233, 0.3);
}

/* Botão do Projeto */
.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.project-link:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 112, 233, 0.3);
}

.icon-svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Botão Ver Todos */
.projects-cta {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn:hover {
    background: #1e5bc7;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 112, 233, 0.4);
}

/* Loading State */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-gray);
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .project-image {
        height: 200px;
    }

    .project-content {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .projects-section {
        padding: 2rem 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-card {
        border-radius: 8px;
    }

    .project-image {
        height: 180px;
    }

    .tech-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
}

/* Seção de Experiências */
.experience-section {
    padding: 4rem 0;
    background: var(--white);
}

.experience-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Linha do tempo */
.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--bg-light);
    margin-left: -1px;
}

.experience-item {
    position: relative;
    padding: 2rem 0 2rem 3rem;
    border-bottom: 1px solid #f0f0f0;
}

.experience-item:last-child {
    border-bottom: none;
}

/* Indicador circular na timeline */
.experience-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 2.5rem;
    width: 12px;
    height: 12px;
    background: var(--primary-blue);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--bg-light);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.experience-role {
    flex: 1;
    min-width: 250px;
}

.job-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.company {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 500;
}

.period-badge {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(37, 112, 233, 0.2);
}

.job-description {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1rem;
}

/* Seção de Habilidades */
.skills-section {
    padding: 4rem 0;
    background: #ffffff;
}

.subcategory-title{
    display: flex;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.7rem;
    padding-bottom: 20px;
}

.skills-container {
    max-width: 1000px;
    margin: 0 auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.skill-category {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.category-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-icon {
    width: 24px;
    height: 24px;
    padding: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 6px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #f0f0f0;
}

.skill-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.skill-name {
    font-weight: 500;
    color: var(--text-dark);
}

.skill-level {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-dots {
    display: flex;
    gap: 3px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bg-light);
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-blue);
}

.skill-text {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* Alternativa com barras de progresso */
.skill-bar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-bar {
    height: 6px;
    background: var(--bg-light);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 3px;
    transition: width 0.6s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .experience-timeline::before {
        left: 20px;
    }

    .experience-item {
        padding-left: 3.5rem;
    }

    .experience-item::before {
        left: 14px;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .job-title {
        font-size: 1.1rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .skill-category {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {

    .experience-section,
    .skills-section {
        padding: 2rem 0;
    }

    .experience-item {
        padding: 1.5rem 0 1.5rem 3rem;
    }

    .period-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }

    .skill-category {
        padding: 1.2rem;
    }

    .category-title {
        font-size: 1.1rem;
    }
}

/* Seção de Contato - Design Moderno e Minimalista */
.contact-section {
    padding: 5rem 0;
    position: relative;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}


/* Container flex para CTA e contatos lado a lado */
.cta {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 4rem;
}

/* CTA Principal Minimalista */
.contact-cta {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem 2rem;
    border: 1px solid #e8ecef;
    flex: 1;
    min-width: 300px;
}

.cta-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.primary-contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 112, 233, 0.2);
}

.primary-contact-button:hover {
    background: #1e5bc7;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 112, 233, 0.3);
}

.primary-contact-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Lista de contatos empilhados verticalmente */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border: 2px solid #f1f3f4;
    border-radius: 12px;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.contact-item:hover {
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 112, 233, 0.15);
}

.contact-icon-minimal {
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.contact-details {
    text-align: left;
}

.contact-type {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-data {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

/* Redes sociais elegantes */
.social-section {
    padding-top: 2rem;
    border-top: 1px solid #e8ecef;
}

.social-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-links-minimal {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link-minimal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.social-link-minimal:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 112, 233, 0.3);
}

.social-link-minimal svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* Separador elegante */
.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 2px;
    margin: 0 auto 2rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 0;
    }

    .contact-section .section-title {
        font-size: 2.2rem;
    }

    .cta {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-cta {
        padding: 2rem 1.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .contact-info {
        gap: 1.5rem;
    }

    .contact-item {
        justify-content: flex-start;
        text-align: left;
    }

    .primary-contact-button {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 2rem 0;
    }

    .cta {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-cta {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .cta-title {
        font-size: 1.3rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .contact-item {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .contact-details {
        text-align: center;
    }

    .social-links-minimal {
        gap: 0.8rem;
    }

    .social-link-minimal {
        width: 45px;
        height: 45px;
    }
}

/* ============================================
   ANIMAÇÕES DE CARREGAMENTO DA PÁGINA
   ============================================ */

/* Animações base */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estado inicial dos elementos (invisíveis) */
.animate-on-load {
    opacity: 0;
    transform: translateY(30px);
}

.animate-left {
    opacity: 0;
    transform: translateX(-30px);
}

.animate-right {
    opacity: 0;
    transform: translateX(30px);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.9);
}

.animate-down {
    opacity: 0;
    transform: translateY(-30px);
}

/* ============================================
   ANIMAÇÕES ESPECÍFICAS POR SEÇÃO
   ============================================ */

/* Navegação */
nav {
    animation: slideInDown 0.8s ease-out forwards;
}

.nav-container {
    animation: fadeIn 1s ease-out 0.2s forwards;
    opacity: 0;
}

/* Seção Hero */
.hero-name {
    animation: fadeInLeft 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.hero-title {
    animation: fadeInLeft 0.8s ease-out 0.5s forwards;
    opacity: 0;
}

.hero-description {
    animation: fadeInLeft 0.8s ease-out 0.7s forwards;
    opacity: 0;
}

.button-container {
    animation: fadeInUp 0.8s ease-out 0.9s forwards;
    opacity: 0;
}

.social-links {
    animation: fadeInUp 0.8s ease-out 1.1s forwards;
    opacity: 0;
}

.profile-img {
    animation: scaleIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

/* Títulos de seção */
.section-title {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.section-subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

/* Cards de projeto */
.project-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.project-card:nth-child(1) {
    animation-delay: 0.1s;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.3s;
}

.project-card:nth-child(4) {
    animation-delay: 0.4s;
}

.project-card:nth-child(5) {
    animation-delay: 0.5s;
}

.project-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Timeline de experiência */
.experience-item {
    animation: fadeInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.experience-item:nth-child(1) {
    animation-delay: 0.1s;
}

.experience-item:nth-child(2) {
    animation-delay: 0.3s;
}

.experience-item:nth-child(3) {
    animation-delay: 0.5s;
}

/* Cards de habilidades */
.skill-category {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.skill-category:nth-child(1) {
    animation-delay: 0.2s;
}

.skill-category:nth-child(2) {
    animation-delay: 0.4s;
}

.skill-category:nth-child(3) {
    animation-delay: 0.6s;
}

/* Seção de contato */
.contact-cta {
    animation: fadeInLeft 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.contact-info {
    animation: fadeInRight 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.social-links-minimal {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

/* ============================================
   ANIMAÇÕES DE SCROLL (INTERSECTION OBSERVER)
   ============================================ */

/* Classe para elementos que ainda não apareceram */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

/* Classe aplicada quando o elemento entra em view */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease-out;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease-out;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}


/* ============================================
   EFEITOS ESPECIAIS
   ============================================ */


@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--primary-blue);
    }
}

/* Efeito de hover suave global */
* {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Desabilitar animações para usuários que preferem movimento reduzido */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .typing-effect {
        animation: none !important;
        width: 100% !important;
        border-right: none !important;
    }
}

footer{
    margin: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    background-color: #1D283A;
    height: 5rem;
}