/* style.css - Estilos principais do portfólio */
:root {
    /* Cores - Tema Claro */
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #FF5722;
    --accent-dark: #E64A19;
    --accent-light: #FF8A65;
    --text-primary: #2c3e50;
    --text-secondary: #546e7a;
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --border-color: #dee2e6;
    --card-shadow: 0 4px 12px rgba(0,0,0,0.08);
    --header-bg: rgba(255, 255, 255, 0.95);
    --success-color: #28a745;
    --error-color: #dc3545;
}

.dark-theme {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --text-primary: #f8f9fa;
    --text-secondary: #adb5bd;
    --accent-color: #FF8A65;
    --accent-dark: #FF5722;
    --accent-light: #FFAB91;
    --border-color: #343a40;
    --card-shadow: 0 4px 12px rgba(0,0,0,0.3);
    --header-bg: rgba(18, 18, 18, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Canvas de partículas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* REMOVER fundos semi-transparentes de todas as seções */
.hero, .skills, #contact.skills, #about, #projects, footer {
    background-color: transparent;
}

/* Header */
header {
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-theme header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-left: 10px;
}

.logo-text span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 30px;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.theme-toggle:hover {
    background-color: rgba(255, 87, 34, 0.1);
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.menu-btn:hover {
    background-color: rgba(255, 87, 34, 0.1);
}

/* Hero Section */
.hero {
    color: var(--text-primary);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    padding-right: 30px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    position: relative;
}

.hero-text h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.typewriter {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--accent-color);
    font-weight: 600;
    min-height: 70px;
    display: flex;
    align-items: center;
}

.typewriter-text {
    border-right: 3px solid var(--accent-color);
    padding-right: 5px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { border-color: var(--accent-color); }
    50% { border-color: transparent; }
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.profile-image-container {
    position: relative;
    display: inline-block;
}

.profile-image {
    width: 100%;
    max-width: 400px;
    border-radius: 50%;
    border: 5px solid var(--accent-color);
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.3);
}

.no-image {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 50%;
    margin: 0 auto;
}

.no-image i {
    font-size: 4rem;
    margin-bottom: 15px;
}

.no-image p {
    font-weight: 600;
    font-size: 1.2rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.4);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: white;
}

.btn.loading {
    pointer-events: none;
    opacity: 0.8;
    position: relative;
    overflow: hidden;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

.btn .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* ===== CORREÇÃO DA CENTRALIZAÇÃO DOS BOTÕES ===== */
.project-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 35px 0;
    flex-wrap: wrap;
    width: 100%;
    padding: 20px 0;
}

.project-links .btn {
    min-width: 160px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 25px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex: 0 1 auto;
}

.project-links .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.25);
}

.project-links .btn-outline:hover {
    background: var(--accent-color);
    color: white;
}

/* Para projetos com apenas 1 botão, garantir que fique centralizado */
.project-links.center {
    justify-content: center;
}

/* Nos cards da página inicial */
.project-info .project-links {
    justify-content: center;
    margin: 20px 0 0 0;
}

.project-info .project-links .btn {
    min-width: 140px;
    padding: 12px 20px;
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
    border: 2px solid transparent;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background-color: var(--accent-dark);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

/* Logo Fatec com fundo adaptável */
.fatec-logo-footer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.dark-theme .fatec-logo-footer {
    background: rgba(30, 30, 30, 0.9);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.fatec-logo-footer a {
    display: block;
    text-decoration: none;
}

.fatec-logo-footer img {
    height: 30px;
    width: auto;
    display: block;
    filter: brightness(0.3);
}

.dark-theme .fatec-logo-footer img {
    filter: brightness(2);
}

.fatec-logo-footer div {
    color: #333;
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
}

.dark-theme .fatec-logo-footer div {
    color: #fff;
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

.resume-download {
    margin-top: 30px;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.skill-card {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.skill-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.skill-card:hover .skill-icon {
    transform: scale(1.2);
}

.skill-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--text-primary);
}

/* Projects Section */
.projects-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.screenshot-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 10px;
}

.screenshot-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.screenshot-placeholder p {
    font-weight: 600;
    font-size: 1.1rem;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 8px;
}

.project-tag {
    background-color: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.project-links .btn {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    font-size: 0.9rem;
}

.projects-cta {
    text-align: center;
    margin-top: 50px;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--text-primary);
}

.contact-info p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-details {
    margin: 25px 0;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-details i {
    color: var(--accent-color);
    width: 20px;
}

.contact-social {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 50%;
    text-align: center;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    text-decoration: none;
    box-shadow: var(--card-shadow);
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 87, 34, 0.3);
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group input.success,
.form-group textarea.success {
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Footer */
footer {
    background-color: transparent;
    color: var(--text-primary);
    text-align: center;
    padding: 40px 0 20px;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-content .contact-social {
    margin-bottom: 20px;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 20px;
}

.institutional {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 100px;
    right: 30px;
    background: var(--success-color);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1001;
    max-width: 300px;
}

.toast.show {
    transform: translateX(0);
}

.toast.error {
    background: var(--error-color);
}

/* Animações */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Responsividade */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .typewriter {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-content,
    .about-content,
    .contact-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text,
    .about-text,
    .contact-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-text h1::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .typewriter {
        font-size: 1.8rem;
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: left 0.3s;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    
    .theme-toggle {
        margin-left: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.3rem;
    }
    
    .typewriter {
        font-size: 1.5rem;
        min-height: 60px;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn, .btn-outline {
        width: 100%;
        max-width: 250px;
        margin: 5px 0;
    }
    
    .back-to-top {
        bottom: 70px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .fatec-logo-footer {
        bottom: 15px;
        right: 15px;
        padding: 6px;
    }

    .fatec-logo-footer img {
        height: 25px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-social {
        justify-content: center;
    }

    /* Responsividade para botões centralizados */
    .project-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .project-links .btn {
        width: 100%;
        max-width: 280px;
        min-width: auto;
    }
    
    .project-info .project-links {
        flex-direction: row;
        gap: 10px;
    }
    
    .project-info .project-links .btn {
        flex: 1;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 80px;
        min-height: 90vh;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .typewriter {
        font-size: 1.3rem;
        min-height: 50px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-text h2 {
        font-size: 1.6rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-card {
        padding: 20px;
    }
    
    .project-info {
        padding: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .back-to-top {
        bottom: 60px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .fatec-logo-footer {
        bottom: 10px;
        right: 10px;
    }

    /* Responsividade para botões em mobile pequeno */
    .project-links {
        gap: 12px;
        margin: 25px 0;
    }
    
    .project-links .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .project-info .project-links {
        flex-direction: column;
    }
    
    .project-info .project-links .btn {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .back-to-top,
    .theme-toggle,
    .menu-btn,
    .fatec-logo-footer {
        display: none !important;
    }
    
    #particles-canvas {
        display: none;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero, section {
        page-break-inside: avoid;
    }
}

/* Estilos específicos para a página de projetos */
.projects-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Garantir que as imagens não quebrem o layout */
img {
    max-width: 100%;
    height: auto;
}

/* Melhorar acessibilidade para focos */
.btn:focus,
.social-icon:focus,
.filter-btn:focus,
.theme-toggle:focus,
.menu-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Suporte para reduzir movimento */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}