/* Sobre Page Styles */
.sobre-main {
    min-height: calc(100vh - 200px);
    padding-top: 80px;
    background-color: #F7F7F7;
}

/* Wave Dividers */
.wave-divider {
    width: 100%;
    height: 120px;
    display: block;
    line-height: 0;
    margin: 0;
    padding: 0;
    background-color: transparent;
    overflow: hidden;
    position: relative;
}

.wave-1 {
    background-color: #F7F7F7;
}

.wave-2 {
    background-color: #FFFFFF;
}


.wave-4 {
    background-color: #F7F7F7;
}

.wave-divider svg {
    width: 120%;
    height: 100%;
    display: block;
    position: absolute;
    left: -10%;
    animation: wave-animation 6s ease-in-out infinite;
}

@keyframes wave-animation {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-5%);
    }
    100% {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .wave-divider {
        height: 80px;
    }
}

.sobre-section {
    padding: 0;
    width: 100%;
}

.sobre-row {
    min-height: 600px;
}

.principios-row {
    background-color: #F7F7F7;
}

.missao-row {
    background-color: #FFFFFF;
}

.missao-section {
    background-color: #FFFFFF;
    padding: 80px 0;
}

.team-section {
    padding: 100px 0;
    background: #F7F7F7;
}

.team-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #000000;
}

.team-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 32px;
    max-width: 820px;
}

.team-marquee-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.team-marquee {
    overflow: hidden;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    white-space: nowrap;
}

.team-track {
    display: flex;
    gap: 16px;
    width: max-content;
    will-change: transform;
    transform: translateZ(0); /* Força aceleração por GPU */
    backface-visibility: hidden; /* Melhora performance da animação */
}

.team-card {
    width: 300px;
    height: 320px;
    background: #ffffff;
    border-radius: 8px;
    flex-shrink: 0;
    overflow: hidden;
}

.team-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: translateZ(0); /* Força aceleração por GPU */
    image-rendering: -webkit-optimize-contrast; /* Otimiza renderização */
}

.team-card img.team-img-top {
    object-position: center top;
}


.sobre-title-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}


.sobre-section-title {
    font-size: 52px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    line-height: 1.3;
}

.title-line {
    display: block;
}

.sobre-content-wrapper {
    display: flex;
    flex-direction: column;
}

.sobre-text {
    font-size: 20px;
    line-height: 1.5;
    color: #333333;
    margin-top: 24px;
    text-align: left;
}

.sobre-text:last-child {
    margin-bottom: 0;
}

.sobre-text strong {
    color: #472c65;
    font-weight: 600;
}


@media (max-width: 992px) {
    .team-card {
        width: 250px;
        height: 270px;
    }
}

.sobre-image-wrapper {
    width: 100%;
    height: 100%;
    padding: 0 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.missao-section .sobre-image-wrapper {
    padding: 0 40px 0 0;
}

.sobre-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .sobre-row {
        min-height: auto;
        padding: 40px 0;
    }
    
    .sobre-title-wrapper {
        padding: 30px 0;
        gap: 15px;
    }
    
    .sobre-section-title {
        font-size: 2rem;
    }
    
    .sobre-content-wrapper {
        padding: 15px 0 30px 0;
    }
    
    .sobre-image-wrapper {
        padding: 20px 0;
    }
}

@media (max-width: 768px) {
    .sobre-main {
        padding-top: 70px;
    }
    
    .sobre-row {
        padding: 30px 0;
    }
    
    .sobre-title-wrapper {
        padding: 20px 0;
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
    
    .sobre-section-title {
        font-size: 1.75rem;
    }
    
    .sobre-content-wrapper {
        padding: 15px 0;
    }
    
    .sobre-text {
        font-size: 0.9375rem;
        text-align: left;
    }
    
    .sobre-image-wrapper {
        padding: 20px 0;
    }
    
    .team-section {
        padding: 60px 0;
    }
    
    .team-title {
        font-size: 36px;
    }
    
    .team-card {
        width: 200px;
        height: 220px;
    }
    
    .team-track {
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .sobre-row {
        padding: 20px 0;
    }
    
    .sobre-title-wrapper {
        padding: 15px 15px 0 15px;
    }
    
    .sobre-section-title {
        font-size: 1.5rem;
    }
    
    .sobre-content-wrapper {
        padding: 10px 15px 15px 15px;
    }
    
    .sobre-text {
        font-size: 0.875rem;
        margin-bottom: 15px;
    }
    
    .sobre-image-wrapper {
        padding: 15px;
    }
    
    .team-section {
        padding: 40px 0;
    }
    
    .team-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .team-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .team-card {
        width: 160px;
        height: 180px;
    }
    
    .team-track {
        gap: 10px;
    }
    
}

/* Parceiros Section */
.parceiros-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.parceiros-title-wrapper {
    margin-bottom: 60px;
}

.parceiros-title {
    font-size: 52px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    position: relative;
    display: inline-block;
}

.parceiros-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 200px;
    height: 5px;
    background: #f9a10e;
    border-radius: 2px;
}

.parceiros-category-row {
    margin-top: 50px;
    margin-bottom: 30px;
}

.parceiros-category-row:first-of-type {
    margin-top: 0;
}

.parceiros-category-title {
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    margin: 0;
}

.parceiros-logos-row {
    margin-bottom: 20px;
}

.parceiro-logo-col {
    margin-bottom: 30px;
}

.parceiro-logo-wrapper {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: #FFFFFF;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.parceiro-logo-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.parceiro-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.parceiro-logo-wrapper:hover .parceiro-logo {
    filter: grayscale(0%);
}

@media (max-width: 992px) {
    .parceiros-section {
        padding: 80px 0;
    }
    
    .parceiro-logo-wrapper {
        height: 140px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .parceiros-section {
        padding: 60px 20px;
    }
    
    .parceiros-title {
        font-size: 36px;
    }
    
    .parceiros-title-wrapper {
        padding: 0;
        margin-bottom: 40px;
    }
    
    .parceiros-category-title {
        font-size: 20px;
    }
    
    .parceiros-category-row {
        padding: 0;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    
    .parceiros-logos-row {
        padding: 0;
        margin-bottom: 15px;
    }
    
    .parceiro-logo-col {
        margin-bottom: 20px;
    }
    
    .parceiro-logo-wrapper {
        height: 120px;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .parceiros-section {
        padding: 40px 20px;
    }
    
    .parceiros-title {
        font-size: 28px;
    }
    
    .parceiros-title-wrapper {
        margin-bottom: 30px;
    }
    
    .parceiros-category-title {
        font-size: 18px;
    }
    
    .parceiros-category-row {
        margin-top: 30px;
        margin-bottom: 15px;
    }
    
    .parceiro-logo-wrapper {
        height: 100px;
        padding: 12px;
    }
}
