@import url('https://fonts.googleapis.com/css2?family=Onset:wght@300;400;700&display=swap');

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #ffffff;
    background-image: radial-gradient(circle, #ECECEC 1px, transparent 1.2px);
    background-size: 15px 15px;
    background-position: 0 0, 10px 10px;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

/* Reset básico */
* {
    box-sizing: border-box;
}

/* Cor da seleção de texto */
::selection {
    background-color: #E3FF8F;
    color: #333;
}

::-moz-selection {
    background-color: #E3FF8F;
    color: #333;
}

/* Responsividade global para imagens */
img {
    max-width: 100%;
    height: auto;
}

/* Melhorias para touch devices */
.btn, .project-btn, .card-btn {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    touch-action: manipulation;
    min-height: 44px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
}

.nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0 20px;
    gap: 40px;
}

.nav-list li {
    margin: 0;
}

.nav-list a {
    font-family: 'Onset', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-list a:hover {
    color: #666;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #E3FF8F;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-list a:hover::after {
    width: 100%;
}

.title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    text-align: center;
    padding-top: 180px;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    z-index: 12;
}

.main-title {
    font-family: 'Onset', sans-serif;
    font-size: 70px;
    font-weight: 350;
    margin: 0;
    color: #333;
    letter-spacing: 2px;
}

.highlighted-subtitle {
    font-family: 'Onset', sans-serif;
    font-size: 50px;
    font-weight: 350;
    margin: 10px 0;
    color: #333;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    z-index: 1;
}

.highlighted-subtitle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -8px;
    right: -8px;
    height: 40px;
    background: #E3FF8F;
    transform: translateY(-50%) rotate(-1deg) scaleX(1.1);
    z-index: -1;
    border-radius: 15px 25px 10px 30px;
    opacity: 0.8;
}

.subtitle {
    font-family: 'Onset', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    margin: 25px 0 0 0;
    color: #666;
    letter-spacing: 1px;
}

.social-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
    position: relative;
    z-index: 13;
}

.btn {
    font-family: 'Onset', sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    border: 2px solid #333;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-linkedin {
    background: transparent;
    color: #333;
}

.btn-linkedin:hover {
    background: #333;
    color: white;
}

.btn-github {
    background: #333;
    color: white;
}

.btn-github:hover {
    background: #555;
    border-color: #555;
}

.mockup-container {
    margin-top: -550px;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}
.mockup-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 300px;
    background: linear-gradient(transparent 0%, rgba(255, 255, 255, 0.3) 30%, #ffffff 70%);
    z-index: 11;
    pointer-events: none;
}
.mockup-image {
    max-width: 1100px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.mockup-image:hover {
    transform: scale(1.02);
}

.signature-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0 80px 0;
    background-color: #ffffff;
}

.signature-image {
    max-width: 400px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.signature-image:hover {
    opacity: 1;
}

.projects-title {
    font-family: 'Onset', sans-serif;
    font-size: 40px;
    font-weight: 350;
    margin: 40px 0 0 0;
    color: #333;
    letter-spacing: 1px;
    text-align: center;
}

.highlighted-word {
    position: relative;
    z-index: 1;
}

.highlighted-word::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -8px;
    right: -8px;
    height: 25px;
    background: #E3FF8F;
    transform: translateY(-50%) rotate(-1deg) scaleX(1.1);
    z-index: -1;
    border-radius: 15px 25px 10px 30px;
    opacity: 0.8;
}

.project-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 95%;
    width: 100%;
    margin-top: 60px;
    padding: 0 20px;
}

.project-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.floating-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.floating-image:hover {
    transform: scale(1.05);
}

.project-info {
    flex: 1;
    text-align: left;
}

.project-name {
    font-family: 'Onset', sans-serif;
    font-size: 32px;
    font-weight: 350;
    margin: 0 0 20px 0;
    color: #333;
    letter-spacing: 1px;
}

.project-description {
    font-family: 'Onset', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: #666;
    margin: 0;
    letter-spacing: 0.3px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    align-items: center;
}

.tech-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: grayscale(20%);
}

.tech-logo:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(0%);
}

.project-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.project-btn {
    font-family: 'Onset', sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid;
}

.btn-github-repo {
    background: #333;
    color: white;
    border-color: #333;
}

.btn-github-repo:hover {
    background: #555;
    border-color: #555;
}

.btn-demo {
    background: transparent;
    color: #333;
    border-color: #333;
}

.btn-demo:hover {
    background: #333;
    color: white;
}

.btn-extension {
    background: #4285f4;
    color: white;
    border-color: #4285f4;
}

.btn-extension:hover {
    background: #3367d6;
    border-color: #3367d6;
}

.cards-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.cards-container {
    display: flex;
    gap: 40px;
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: center;
}

.project-card {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 20px;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.award-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    font-family: 'Onset', sans-serif;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    border: 1px solid #FFD700;
}

.award-badge i {
    margin-right: 4px;
    color: #B8860B;
}

.card-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 20px;
}

.card-title {
    font-family: 'Onset', sans-serif;
    font-size: 22px;
    font-weight: 400;
    margin: 0 0 15px 0;
    color: #333;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
}

.card-description {
    font-family: 'Onset', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: #666;
    margin: 0 0 15px 0;
    letter-spacing: 0.2px;
    text-align: left;
    width: 100%;
    flex-grow: 1;
}

.card-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    margin-top: auto;
    flex-wrap: wrap;
    align-items: center;
}

.card-btn {
    font-family: 'Onset', sans-serif;
    font-size: 11px;
    font-weight: 400;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    border: 2px solid;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.card-btn.btn-github-repo {
    background: #333;
    color: white;
    border-color: #333;
}

.card-btn.btn-github-repo:hover {
    background: #555;
    border-color: #555;
}

.card-btn.btn-demo-video {
    background: #ff0000;
    color: white;
    border-color: #ff0000;
}

.card-btn.btn-demo-video:hover {
    background: #cc0000;
    border-color: #cc0000;
}

.card-btn.btn-demo-app {
    background: transparent;
    color: #333;
    border-color: #333;
}

.card-btn.btn-demo-app:hover {
    background: #333;
    color: white;
    border-color: #333;
}

.card-tech-stack {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.card-tech-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: grayscale(20%);
}

.card-tech-logo:hover {
    opacity: 1;
    transform: scale(1.15);
    filter: grayscale(0%);
}

/* Career Section */
.career-section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.career-title {
    font-family: 'Onset', sans-serif;
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 60px;
    color: #333;
    letter-spacing: 1px;
}

.circled-word {
    position: relative;
    padding: 5px 15px;
}

.circled-word::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -2px;
    right: -8px;
    bottom: -3px;
    border: 2.5px solid #E3FF8F;
    border-radius: 45px 70px 50px 85px / 60px 40px 75px 55px;
    transform: rotate(-2.2deg);
    z-index: -1;
    opacity: 0.8;
}

/* Logo Carousel */
.logo-carousel {
    width: 100%;
    overflow: hidden;
    margin: 40px 0 60px 0;
    background: rgba(236, 236, 236, 0.3);
    border-radius: 15px;
    padding: 20px 0;
    position: relative;
}

.logo-carousel::before,
.logo-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 50px;
    z-index: 2;
    pointer-events: none;
}

.logo-carousel::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8), transparent);
}

.logo-carousel::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.8), transparent);
}

.logo-track {
    display: flex;
    animation: scroll 20s linear infinite;
    gap: 60px;
    align-items: center;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 60px;
}

.logo-item img {
    max-width: 100px;
    max-height: 50px;
    object-fit: contain;
    opacity: 0.7;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.logo-item img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Logo PD Case específica - maior */
.logo-item img[src*="files/img/logos/pdcase.svg"] {
    max-width: 240px;
    max-height: 140px;
}
.logo-item img[src*="files/img/logos/guardemais.png"] {
    max-width: 240px;
    max-height: 30px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.roadmap-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.roadmap-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
    position: relative;
    text-align: left;
}

.roadmap-year {
    font-family: 'Onset', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    min-width: 120px;
    text-align: center;
    padding: 8px 16px;
    background: #E3FF8F;
    border-radius: 20px;
    border: 1px solid #ECECEC;
    margin-right: 30px;
    margin-top: 5px;
}

.roadmap-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 30px;
    position: relative;
}

.roadmap-dot {
    width: 16px;
    height: 16px;
    background: #333;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #ECECEC;
    position: relative;
    z-index: 2;
}

.roadmap-line {
    width: 2px;
    background: #ECECEC;
    height: 80px;
    position: absolute;
    top: 16px;
    z-index: 1;
}

.roadmap-item:last-child .roadmap-line {
    display: none;
}

.roadmap-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ECECEC;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.roadmap-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.roadmap-position {
    font-family: 'Onset', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
    letter-spacing: 0.5px;
}

.roadmap-company {
    font-family: 'Onset', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin: 0 0 15px 0;
    letter-spacing: 0.3px;
}

.roadmap-description {
    font-family: 'Onset', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: #555;
    margin: 0 0 20px 0;
    letter-spacing: 0.2px;
}

.roadmap-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    font-family: 'Onset', sans-serif;
    font-size: 11px;
    font-weight: 400;
    background: rgba(236, 236, 236, 0.8);
    color: #333;
    padding: 5px 12px;
    border-radius: 15px;
    border: 1px solid #ECECEC;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: #333;
    color: #fff;
    transform: translateY(-1px);
}

/* Education Section */
.education-section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.education-title {
    font-family: 'Onset', sans-serif;
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 60px;
    color: #333;
    letter-spacing: 1px;
}

.education-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.education-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ECECEC;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: left;
}

.education-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.education-logo {
    background: rgba(255, 255, 255, 0.9);
    width: 80px;
    height: 80px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #ECECEC;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.education-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.education-logo img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.education-content {
    flex: 1;
}

.education-degree {
    font-family: 'Onset', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
    letter-spacing: 0.5px;
}

.education-institution {
    font-family: 'Onset', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #666;
    margin: 0 0 10px 0;
    letter-spacing: 0.3px;
}

.education-period {
    font-family: 'Onset', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    background: rgba(236, 236, 236, 0.8);
    border: 1px solid #ECECEC;
    border-radius: 15px;
    padding: 5px 15px;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 0.3px;
}

.education-description {
    font-family: 'Onset', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: #555;
    margin: 0 0 20px 0;
    letter-spacing: 0.2px;
}

.education-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.highlight-tag {
    font-family: 'Onset', sans-serif;
    font-size: 11px;
    font-weight: 400;
    background: rgba(236, 236, 236, 0.8);
    color: #333;
    padding: 5px 12px;
    border-radius: 15px;
    border: 1px solid #ECECEC;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.highlight-tag:hover {
    background: #333;
    color: #fff;
    transform: translateY(-1px);
}

/* Contact Section */
.contact-section {
    padding: 80px 40px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-family: 'Onset', sans-serif;
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 50px;
    color: #333;
    letter-spacing: 1px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 25px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ECECEC;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    flex: 1;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-image {
    flex-shrink: 0;
}

.cat-image {
    max-width: 200px;
    height: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.cat-image:hover {
    opacity: 1;
    transform: scale(1.05);
}

.contact-icon {
    background: #E3FF8F;
    color: #333;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    border: 1px solid #ECECEC;
}

.contact-info {
    flex: 1;
    text-align: left;
}

.contact-label {
    font-family: 'Onset', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin: 0 0 5px 0;
    letter-spacing: 0.3px;
}

.contact-email {
    font-family: 'Onset', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.contact-email:hover {
    color: #666;
    text-decoration: underline;
}

/* Project Content Reverse Layout */
.project-content-reverse {
    flex-direction: row;
}

/* Complete Mobile Responsiveness */
@media (max-width: 768px) {
    /* Navigation - Hidden on mobile */
    .navbar {
        display: none;
    }
    
    /* Hero Section */
    .hero-section {
        position: relative;
        height: 100vh;
        overflow: hidden;
    }
    
    .title-container {
        padding-top: 60px;
        min-height: 100vh;
        padding-bottom: 40px;
        padding-left: 20px;
        padding-right: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .main-title {
        font-size: 40px;
        letter-spacing: 1px;
        line-height: 1.2;
    }
    
    .highlighted-subtitle {
        font-size: 28px;
        letter-spacing: 1px;
        line-height: 1.2;
    }
    
    .highlighted-subtitle::before {
        height: 25px;
        border-radius: 10px 15px 8px 20px;
    }
    
    .social-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
        width: 100%;
        max-width: 250px;
    }
    
    .btn {
        justify-content: center;
        width: 100%;
        padding: 15px 20px;
        font-size: 16px;
    }
    
    /* Mockup */
    .mockup-container {
        margin-top: -120px;
        padding: 20px;
        position: absolute;
        bottom: 10%;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
    }
    
    .mockup-image {
        max-width: 380px;
        width: 100%;
    }
    
    .mockup-container::after {
        height: 150px;
        background: linear-gradient(transparent 0%, rgba(255, 255, 255, 0.4) 40%, #ffffff 90%);
    }
    
    /* Signature Section */
    .signature-section {
        padding: 50px 15px 40px;
        margin-top: 0;
    }
    
    .signature-image {
        max-width: 250px;
        width: 100%;
    }
    
    .projects-title {
        font-size: 28px;
        margin: 20px 0 0 0;
        padding: 0 10px;
    }
    
    .highlighted-word::before {
        height: 18px;
        border-radius: 10px 15px 8px 20px;
    }
    
    /* Project Content */
    .project-content,
    .project-content-reverse {
        flex-direction: column;
        gap: 30px;
        margin-top: 30px;
        padding: 0 15px;
        max-width: 100%;
    }
    
    .project-image {
        order: 1;
    }
    
    .project-info {
        order: 2;
        text-align: center;
    }
    
    .project-content-reverse .project-image {
        order: 1;
    }
    
    .project-content-reverse .project-info {
        order: 2;
    }
    
    .floating-image {
        max-width: 280px;
        width: 100%;
    }
    
    .project-name {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .project-description {
        font-size: 14px;
        text-align: left;
    }
    
    .tech-stack {
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }
    
    .tech-logo {
        width: 32px;
        height: 32px;
    }
    
    .project-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
        align-items: center;
    }
    
    .project-btn {
        width: 200px;
        justify-content: center;
        padding: 12px 20px;
    }
    
    /* Cards Section */
    .cards-section {
        padding: 40px 15px;
    }
    
    .cards-container {
        flex-direction: column;
        gap: 30px;
        max-width: 100%;
        padding: 0;
    }
    
    .project-card {
        max-width: none;
        width: 100%;
        padding: 20px 15px;
    }
    
    .card-image {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .card-description {
        font-size: 14px;
        text-align: center;
    }
    
    .card-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .card-btn {
        width: 100%;
        justify-content: center;
    }
    
    .card-tech-stack {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .card-tech-logo {
        width: 24px;
        height: 24px;
    }
    
    /* Career, Education and Contact Sections */
    .career-section,
    .education-section,
    .contact-section {
        padding: 60px 20px;
    }
    
    .career-title,
    .education-title,
    .contact-title {
        font-size: 28px;
    }
    
    .circled-word::after {
        border: 2px solid #E3FF8F;
        border-radius: 30px 50px 35px 60px / 40px 30px 50px 35px;
    }
    
    .logo-carousel {
        margin: 30px 0 40px 0;
        padding: 15px 0;
    }
    
    .logo-track {
        gap: 40px;
    }
    
    .logo-item {
        min-width: 80px;
        height: 40px;
    }
    
    .logo-item img {
        max-width: 70px;
        max-height: 35px;
    }
    
    /* Logo PD Case específica - maior na versão mobile */
    .logo-item img[src*="pdcase.svg"] {
        max-width: 100px;
        max-height: 50px;
    }

    .roadmap-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 40px;
    }
    
    .roadmap-year {
        margin-bottom: 15px;
        margin-right: 0;
        align-self: center;
    }
    
    .roadmap-connector {
        display: none;
    }
    
    .roadmap-content {
        width: 100%;
    }
    
    .education-item {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
        text-align: center;
    }
    
    .education-logo {
        align-self: center;
    }
    
    .education-highlights {
        justify-content: center;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
        text-align: center;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .cat-image {
        max-width: 150px;
        width: 100%;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .title-container {
        padding-top: 40px;
        min-height: 100vh;
        justify-content: center;
    }
    
    .mockup-container {
        bottom: 5%;
    }
    
    .main-title {
        font-size: 32px;
    }
    
    .highlighted-subtitle {
        font-size: 22px;
    }
    
    .mockup-image {
        max-width: 320px;
    }
    
    .floating-image {
        max-width: 240px;
    }
    
    .projects-title,
    .career-title,
    .education-title,
    .contact-title {
        font-size: 24px;
    }
    
    .project-name {
        font-size: 20px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .signature-image {
        max-width: 200px;
    }
    
    .tech-logo {
        width: 28px;
        height: 28px;
    }
    
    .card-tech-logo {
        width: 20px;
        height: 20px;
    }
    
    .project-btn {
        width: 180px;
        font-size: 12px;
        padding: 10px 15px;
    }
    
    .project-description {
        font-size: 13px;
    }
    
    .card-description {
        font-size: 13px;
    }
    
    /* Otimizações adicionais para texto e elementos pequenos */
    .contact-email {
        font-size: 16px;
    }
    
    .contact-label {
        font-size: 14px;
    }
    
    .award-badge {
        font-size: 9px;
        padding: 3px 6px;
    }
    
    .skill-tag, .highlight-tag {
        font-size: 10px;
        padding: 4px 10px;
    }
    
    .roadmap-position {
        font-size: 18px;
    }
    
    .roadmap-company {
        font-size: 14px;
    }
    
    .roadmap-description {
        font-size: 13px;
    }
    
    .education-degree {
        font-size: 20px;
    }
    
    .education-institution {
        font-size: 16px;
    }
    
    .education-description {
        font-size: 13px;
    }
    
    /* Prevenção de overflow horizontal */
    .tech-stack, .card-tech-stack, .roadmap-skills, .education-highlights {
        overflow-x: hidden;
    }
}

/* Tablet Responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
    .main-title {
        font-size: 55px;
    }
    
    .highlighted-subtitle {
        font-size: 40px;
    }
    
    .mockup-image {
        max-width: 750px;
    }
    
    .floating-image {
        max-width: 400px;
    }
    
    .project-content {
        gap: 40px;
        padding: 0 30px;
    }
    
    .cards-container {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }
    
    .project-card {
        max-width: 300px;
        flex: 0 0 calc(50% - 15px);
    }
    
    .projects-title,
    .career-title,
    .education-title,
    .contact-title {
        font-size: 32px;
    }
}