/* Estilos para a página de Projetos */

/* Hero Section */
.projects-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.projects-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #05103C;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1500'%3E%3Cdefs%3E%3Crect stroke='%2305103C' stroke-width='0.3' width='1' height='1' id='s'/%3E%3Cpattern id='a' width='3' height='3' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cuse fill='%23242745' href='%23s' y='2'/%3E%3Cuse fill='%23242745' href='%23s' x='1' y='2'/%3E%3Cuse fill='%2333354e' href='%23s' x='2' y='2'/%3E%3Cuse fill='%2333354e' href='%23s'/%3E%3Cuse fill='%233f4055' href='%23s' x='2'/%3E%3Cuse fill='%233f4055' href='%23s' x='1' y='1'/%3E%3C/pattern%3E%3Cpattern id='b' width='7' height='11' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cg fill='%23484a5c'%3E%3Cuse href='%23s'/%3E%3Cuse href='%23s' y='5' /%3E%3Cuse href='%23s' x='1' y='10'/%3E%3Cuse href='%23s' x='2' y='1'/%3E%3Cuse href='%23s' x='2' y='4'/%3E%3Cuse href='%23s' x='3' y='8'/%3E%3Cuse href='%23s' x='4' y='3'/%3E%3Cuse href='%23s' x='4' y='7'/%3E%3Cuse href='%23s' x='5' y='2'/%3E%3Cuse href='%23s' x='5' y='6'/%3E%3Cuse href='%23s' x='6' y='9'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='h' width='5' height='13' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cg fill='%23484a5c'%3E%3Cuse href='%23s' y='5'/%3E%3Cuse href='%23s' y='8'/%3E%3Cuse href='%23s' x='1' y='1'/%3E%3Cuse href='%23s' x='1' y='9'/%3E%3Cuse href='%23s' x='1' y='12'/%3E%3Cuse href='%23s' x='2'/%3E%3Cuse href='%23s' x='2' y='4'/%3E%3Cuse href='%23s' x='3' y='2'/%3E%3Cuse href='%23s' x='3' y='6'/%3E%3Cuse href='%23s' x='3' y='11'/%3E%3Cuse href='%23s' x='4' y='3'/%3E%3Cuse href='%23s' x='4' y='7'/%3E%3Cuse href='%23s' x='4' y='10'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='c' width='17' height='13' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cg fill='%23515263'%3E%3Cuse href='%23s' y='11'/%3E%3Cuse href='%23s' x='2' y='9'/%3E%3Cuse href='%23s' x='5' y='12'/%3E%3Cuse href='%23s' x='9' y='4'/%3E%3Cuse href='%23s' x='12' y='1'/%3E%3Cuse href='%23s' x='16' y='6'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='d' width='19' height='17' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cg fill='%2305103C'%3E%3Cuse href='%23s' y='9'/%3E%3Cuse href='%23s' x='16' y='5'/%3E%3Cuse href='%23s' x='14' y='2'/%3E%3Cuse href='%23s' x='11' y='11'/%3E%3Cuse href='%23s' x='6' y='14'/%3E%3C/g%3E%3Cg fill='%23585a69'%3E%3Cuse href='%23s' x='3' y='13'/%3E%3Cuse href='%23s' x='9' y='7'/%3E%3Cuse href='%23s' x='13' y='10'/%3E%3Cuse href='%23s' x='15' y='4'/%3E%3Cuse href='%23s' x='18' y='1'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='e' width='47' height='53' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cg fill='%23F60'%3E%3Cuse href='%23s' x='2' y='5'/%3E%3Cuse href='%23s' x='16' y='38'/%3E%3Cuse href='%23s' x='46' y='42'/%3E%3Cuse href='%23s' x='29' y='20'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='f' width='59' height='71' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cg fill='%23F60'%3E%3Cuse href='%23s' x='33' y='13'/%3E%3Cuse href='%23s' x='27' y='54'/%3E%3Cuse href='%23s' x='55' y='55'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='g' width='139' height='97' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cg fill='%23F60'%3E%3Cuse href='%23s' x='11' y='8'/%3E%3Cuse href='%23s' x='51' y='13'/%3E%3Cuse href='%23s' x='17' y='73'/%3E%3Cuse href='%23s' x='99' y='57'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23a)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23b)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23h)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23c)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23d)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23e)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23f)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23g)' width='100%25' height='100%25'/%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

.projects-hero-container {
    position: relative;
    z-index: 2;
}

.projects-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.projects-hero-description {
    font-size: 1.25rem;
    color: var(--light);
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1.2s ease;
}

/* Filtro de Projetos */
.projects-filter {
    padding: 50px 0 30px;
    background-color: var(--dark);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: var(--light);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.filter-btn.active {
    background-color: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
}

/* Galeria de Projetos */
.projects-gallery {
    padding: 30px 0 100px;
    background-color: var(--dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-item {
    background-color: var(--dark-light);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-buttons {
    display: flex;
    gap: 10px;
}

.project-info {
    padding: 20px;
}

.project-info h2 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 5px;
}

.project-info h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 5px;
}

.project-info p {
    color: var(--light);
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tag {
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent);
}

/* Processo de Desenvolvimento */
.projects-process {
    padding: 100px 0;
    background-color: var(--primary-dark);
}

.projects-process .section-title,
.projects-process .section-description {
    margin-bottom: 20px;
    color: var(--white);
}

.projects-process .section-description {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
    color: var(--light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.process-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    flex-shrink: 0;
}

.process-step-content h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 10px;
}

.process-step-content p {
    color: var(--light);
    line-height: 1.6;
}

/* Depoimentos */
.projects-testimonials {
    padding: 100px 0;
    background-color: var(--dark);
}

.projects-testimonials .section-title {
    margin-bottom: 60px;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-item {
    display: none;
}

.testimonial-content {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 30px;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    transform: rotate(45deg);
    z-index: 1;
}

.testimonial-content p {
    color: var(--light);
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.testimonial-content p::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -15px;
    z-index: -1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
}

.testimonial-author-info h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author-info p {
    color: var(--light);
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.testimonial-prev,
.testimonial-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background-color: var(--accent);
}

/* CTA Section */
.projects-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.projects-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern-dots.png');
    opacity: 0.1;
    z-index: 1;
}

.projects-cta-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.projects-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.projects-cta-description {
    font-size: 1.1rem;
    color: var(--light);
    margin-bottom: 40px;
}

.projects-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Modal de Projetos */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow-y: auto;
    padding: 50px 0;
}

.project-modal-content {
    background-color: var(--dark);
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.project-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.project-modal-close:hover {
    color: var(--accent);
}

.project-modal-header {
    padding: 30px;
    background-color: var(--primary-dark);
}

.project-modal-header h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin: 0;
}

.project-modal-body {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.project-modal-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.project-modal-info h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin: 25px 0 15px;
}

.project-modal-info h3:first-child {
    margin-top: 0;
}

.project-modal-info p {
    color: var(--light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.project-modal-info ul {
    color: var(--light);
    padding-left: 20px;
    margin-bottom: 20px;
}

.project-modal-info ul li {
    margin-bottom: 8px;
}

.project-modal-cta {
    margin-top: 30px;
}

/* Responsividade */
@media (max-width: 992px) {
    .project-modal-body {
        grid-template-columns: 1fr;
    }
    
    .projects-hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .projects-hero {
        padding: 100px 0 60px;
    }
    
    .projects-hero-title {
        font-size: 2.2rem;
    }
    
    .projects-hero-description {
        font-size: 1.1rem;
    }
    
    .projects-gallery,
    .projects-process,
    .projects-testimonials,
    .projects-cta {
        padding: 70px 0;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .projects-cta-title {
        font-size: 2rem;
    }
    
    .projects-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .projects-hero-title {
        font-size: 1.8rem;
    }
    
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .project-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .project-modal-body {
        padding: 20px;
    }
    
    .projects-cta-title {
        font-size: 1.8rem;
    }
}


