/* Hero Section */
.hero-section {
    background: #ffffff;
    padding: 188px 0 0 0;
    position: relative;

    .hero-container {
        max-width: 1440px;
        margin: 0 auto;
        padding: 0 20px;
    }

@media (max-width: 1500px) {
    .hero-container {
        padding: 0 50px;
    }
}

    .hero-content {
        text-align: left;
    }

    .hero-content h1 { 
        font-size: 40px;
        font-weight: 400;
        color: #162134;
        margin-bottom: 30px;
        line-height: 1.2;
        text-align: left;
        font-family: 'Poppins', sans-serif;

        strong{
            font-weight: 700;
            display: block; 
            font-family: 'Poppins', sans-serif;
        }
    }

    .hero-content p {
        font-size: 20px;
        color: #162134;
        margin-bottom: 60px;
        line-height: 1.6;
        text-align: left;
        font-family: 'Poppins', sans-serif;
    }

    .hero-stats {
        display: flex; 
        gap: 50px;
    }

    .stat-item {
        text-align: left;
    }

    .stat-number {
        font-size: 3.5rem;
        font-weight: 700;
        color: #D4272B;
        line-height: 1;
        min-width: 120px;
        display: block
    }

    .stat-label {
        font-size: 1.1rem;
        color: #162134;
        font-weight: 500;
        line-height: 1.2;
        display: block
    }

    .hero-map {
        position: absolute;
        top: -150px;
        right: -250px;
        transition: all 0.3s ease;
        img{
            width: 1300px
        }
        pointer-events: none;
    } 

    .hero-divider {
        position: absolute;
        width: 100%;
        margin-top: -120px;
        img{
            width: 100%;
        }
        pointer-events: none;
    }
    @media (max-width: 1300px) {
        .hero-map {
            top: -175px;
            right: -360px; 
        } 
        .hero-divider {
            margin-top: -50px;
        }
    }

    @media (max-width: 1200px) {
        .hero-map {
            top: -175px;
            right: -360px;
            img{
                width: 1200px
            }
        }       
    }

    @media (max-width: 1100px) {
        .hero-map {
            top: -130px;
            img{
                width: 1100px
            }
        } 

        .hero-content h1 { 
            font-size: 35px;
        }
    
        .hero-content p {
            font-size: 15px;
        }
    }

    @media (max-width: 1000px) {
        .hero-map {
            top: -130px;
            img{
                width: 1100px
            }
        } 
    }

    @media (max-width: 950px) {
        border-bottom: 1px solid #E7E7E7;
        padding-bottom: 100px;
        
        .hero-map {
            top: -220px;
            left: 0px;
            right: 0px;
            img{
                width: 1000px;
                max-width: none;
            }
        } 

        .hero-content h1 { 
            font-size: 35px;
            text-align: center;
            margin-top: 90px;
        }
    
        .hero-content p {
            font-size: 15px;
            text-align: center;
        }

        .hero-divider {
            display: none;
        }

        .hero-stats{
            justify-content: space-between;
            gap: 20px;

            .stat-item {
                text-align: center;
                flex: 1;
            }

            .stat-number {
                font-size: 40px;
                min-width: auto;
            }

            .stat-label {
                font-size: 16px;
            }
        }
    }

    @media (max-width: 768px) {
        .hero-container {
            padding: 0 20px;
        }

        .hero-content h1 br,
        .hero-content p br {
            display: none;
        }
    }
}

/* A Binswanger no Brasil */
.brasil-section {
    background: #ffffff;
    padding: 70px 0 0 0;
    margin: 0 auto !important;
 
    @media (max-width: 950px) {
        padding: 0 20px;
    }

    .brasil-container {
        max-width: 1440px;
        margin: 0 auto;
        padding: 0 50px;
        text-align: center;
        display: grid;
        grid-template-columns: 40% 1fr;
        gap: 50px;
        


        @media (max-width: 1500px) {
            .brasil-container {
                padding: 0 20px;
            }
        }

        .brasil-header h2 {
            font-size: 24px;
            font-weight: 700;
            color: #162134;
            text-align: left;
            margin: 0;
            font-family: 'Poppins', sans-serif;
        }

        .brasil-subtitle {
            font-size: 27px;
            color: #162134;
            font-weight: 400;
            text-align: left;
            margin: 15px 0;
            font-family: 'Poppins', sans-serif;
        }

        .brasil-description {
            font-size: 18px;
            color: #888888;
            text-align: left;
            margin: 0;
        }

        .brasil-metrics {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
            
        }

        .metric-card {
            background: #F4F4F4;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column; 
            padding: 40px 20px;
            border-radius: 12px;
            /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
        }


        .metric-number {
            font-size: 35px;
            font-weight: 700;
            color: #162134;
        }

        .metric-label {
            font-size: 16px;
            color: #162134;
            font-weight: 500;
        }

        @media (max-width: 1300px) {
            .brasil-metrics {
                gap: 20px;
            }
        }

        @media (max-width: 1200px) {
            .metric-number {
                font-size: 25px;
            }
            
            .metric-label {
                font-size: 12px; 
            }
        }

        @media (max-width: 1024px) {
            grid-template-columns: 1fr;
            padding: 0 0 30px 0px;
            .brasil-metrics {
                grid-template-columns: 1fr 1fr;
                gap: 20px;
            }

            /* .metric-number {
                font-size: 25px;
            }
            
            .metric-label {
                font-size: 12px; 
            } */
        }
 

    }
}

/* Sob Medida Section */
.sob-medida-section {
    padding: 0px 0 10px 0;
    margin-bottom: 0px;
}

.sob-medida-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

@media (max-width: 1500px) {
    .sob-medida-container {
        padding: 0 20px;
    }
}

.sob-medida-container h2 {
    font-size: 29px;
    font-weight: 600;
    color: #162134; 
    font-family: 'Poppins', sans-serif;
    span{  
        color: #D4272B;
        font-size: 34px;
        display: block;
        font-family: 'Poppins', sans-serif;
    }
}

.hexagon-diagram {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 500px;
    margin-top: 100px;
    margin-bottom: 80px;
}

.hexagon-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 263px;
    height: 227px; 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background-image: url(../images/mandala/mandala_center.svg);
    background-size: contain;
    background-repeat: no-repeat;
    span{    
        font-family: 'Poppins', sans-serif;
        font-size: 30px;
        line-height: 35px;
        i{
            display: block;
            font-family: 'Poppins', sans-serif;
        }
    }
}

/* Efeito de hover - quando qualquer item está em hover, todos os outros subitens ficam com opacidade reduzida */
.hexagon-diagram:hover .hexagon-item .hexagon-sub-items{
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.hexagon-diagram:hover .hexagon-item{
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.hexagon-diagram:hover .hexagon-item:before,
.hexagon-diagram:hover .hexagon-item:after{
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hexagon-diagram:hover .hexagon-item:hover{
    opacity: 1;
    transition: opacity 0.3s ease;
}
.hexagon-diagram:hover .hexagon-item:hover:before,
.hexagon-diagram:hover .hexagon-item:hover:after{
    opacity: 1;
    transition: opacity 0.3s ease;
}
.hexagon-diagram:hover .hexagon-item:hover .hexagon-sub-items{
    opacity: 1;
    transition: opacity 0.3s ease;
    -moz-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.hexagon-item:hover{
    cursor: pointer;
}   

.hexagon-left{
    .hexagon-item{
        position: absolute;
        background-size: cover;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;

        .hexagon-sub-items{
            position: absolute;
            top: 0;
            left: 0; 
            
            .hexagon-sub-item-wrapper{
                display: flex;            
                .hexagon-sub-item{
                    width: 183px;
                    height: 72px;
                    background-size: contain;
                    background-repeat: no-repeat;
                    color: #162134;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    span{
                        margin-left: -10px;
                    }
                }
            }

            @media (max-width: 1000px) {
                display: none;
            }
        }

        &.top{
            width: 286px;
            height: 233px;
            background-image: url(../images/mandala/mandala_left_top.svg);
            background-size: contain;
            background-repeat: no-repeat;
            top: 19px;
            left: 105px;

            &:before{
                content: '';
                position: absolute;
                top: 26px;
                left: 0px;
                right: 0px;
                height: 2px;
                width: 150px;
                background: #D4272B;
                @media (max-width: 1000px) {
                    display: none;
                }
            }
            
            &::after{
                content: '';
                position: absolute;
                top: 22px;
                left: 150px;
                width: 10px;
                height: 10px;
                border-radius: 50%;
                background: #D4272B;
                @media (max-width: 1000px) {
                    display: none;
                }
            }
            
           
            .hexagon-sub-items{
                top: -80px;
                left: -138px;
                .hexagon-sub-item-wrapper{
                    &:nth-child(2){
                        margin-left: -55px;
                        margin-top: 6px;
                    }   
                    &:nth-child(3){
                        margin-left: -97px;
                        margin-top: 6px;
                    }   
                    .hexagon-sub-item{
                        background-image: url(../images/mandala/mandala_sub_right.svg);
                        margin-left: -32px;   

                        img{
                            width: 50px
                        }
                    }
                }
            }
        }
        &.mid{
            width: 230px;
            height: 107px; 
            background-image: url(../images/mandala/mandala_left_mid.svg);
            background-size: contain;
            background-repeat: no-repeat;
            top: 257px;
            left: 116px;
            span{
                margin-left: -30px;
            }

            &:before{
                content: '';
                position: absolute;
                top: 17px;
                left: -25px;
                right: 0px;
                height: 2px;
                width: 50px;
                background: #D4272B;
                @media (max-width: 1000px) {
                    display: none;
                }
            }
            
            &::after{
                content: '';
                position: absolute;
                top: 13px;
                left: 17px;
                width: 10px;
                height: 10px;
                border-radius: 50%;
                background: #D4272B;
                @media (max-width: 1000px) {
                    display: none;
                }
            }

            .hexagon-sub-items{
                top: -80px;
                left: -290px;


                .hexagon-sub-item-wrapper{
                    .hexagon-sub-item{
                        background-image: url(../images/mandala/mandala_sub_right.svg);
                        margin-left: -32px;
                    }
                    &:nth-child(2){
                        margin-top: 6px;
                        .hexagon-sub-item{
                            background-image: url(../images/mandala/mandala_sub_left.svg);
                            margin-left: -32px;
                        }
                    }   
                    &:nth-child(3){
                        margin-left: 50px;
                        margin-top: 6px;
                        .hexagon-sub-item{
                            background-image: url(../images/mandala/mandala_sub_left.svg);
                            margin-left: -32px;
                        }
                    }   
                    
                }
            }
        }
        &.bottom{
            width: 295px;
            height: 107px; 
            background-image: url(../images/mandala/mandala_left_bottom.svg);
            background-size: contain;
            background-repeat: no-repeat;
            bottom: 23px;
            left: 180px;
            span{
                margin-left: -30px;
            }

            &:before{
                content: '';
                position: absolute;
                top: 20px;
                left: -30px;
                right: 0px;
                height: 2px;
                width: 50px;
                background: #D4272B;    
                @media (max-width: 1000px) {
                    display: none;
                }
            }
            
            &::after{
                content: '';
                position: absolute;
                top: 16px;
                left: 17px;
                width: 10px;
                height: 10px;
                border-radius: 50%;
                background: #D4272B;
                @media (max-width: 1000px) {
                    display: none;
                }
            }


            .hexagon-sub-items{
                top: -33px;
                left: -310px;


                .hexagon-sub-item{
                    background-image: url(../images/mandala/mandala_sub_left.svg);
                    margin-left: -32px;
                }

                .hexagon-sub-item-wrapper{
                    &:nth-child(2){
                        margin-top: 6px;
                        margin-left: 50px;
                    }   
                    &:nth-child(3){
                        margin-left: 250px;
                        margin-top: 6px; 
                    }   
                    
                }
            }
        }
    }
}


.hexagon-right{
    .hexagon-item{
        position: absolute;
        background-size: cover;
        color: #fff;
        align-items: center;
        display: flex;
        justify-content: center;
        font-size: 14px;

        .hexagon-sub-items{
            position: absolute;
            top: 0;
            
            .hexagon-sub-item-wrapper{
                display: flex;            
                .hexagon-sub-item{
                    width: 183px;
                    height: 72px;
                    background-size: contain;
                    background-repeat: no-repeat;
                    color: #162134;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    span{
                        margin-left: -10px;
                    }
                }
            }
            @media (max-width: 1000px) {
                display: none;
            }
        }

        &.top{
            width: 286px;
            height: 120px;
            background-image: url(../images/mandala/mandala_right_top.svg);
            background-size: contain;
            background-repeat: no-repeat;
            top: 19px;
            right: 172px; 

            &:before{
                content: '';
                position: absolute;
                top: 26px; 
                right: 0px;
                height: 2px;
                width: 80px;
                background: #D4272B;        
                @media (max-width: 1000px) {
                    display: none;
                }
            }
            
            &::after{
                content: '';
                position: absolute;
                top: 22px;
                right: 70px;
                width: 10px;
                height: 10px;
                border-radius: 50%;
                background: #D4272B;
                @media (max-width: 1000px) {
                    display: none;
                }
            }

            .hexagon-sub-items{
                top: -80px;
                right: -342px;
                .hexagon-sub-item-wrapper{
                    &:nth-child(2){
                        margin-left: 38px;
                        margin-top: 6px;
                    }   
                    &:nth-child(3){
                        margin-left: 78px;
                        margin-top: 6px;
                    }   
                    .hexagon-sub-item{
                        background-image: url(../images/mandala/mandala_sub_left.svg);
                        margin-left: -32px;
                        img{
                            width: 100px
                        }
                    }
                }
            }
        }
        &.mid{
            width: 233px;
            height: 113px;
            background-image: url(../images/mandala/mandala_right_mid.svg);
            background-size: contain;
            background-repeat: no-repeat;
            top: 137px;
            right: 92px;

            &:before{
                content: '';
                position: absolute;
                top: 96px; 
                right: 0px;
                height: 2px;
                width: 80px;
                background: #D4272B;
                @media (max-width: 1000px) {
                    display: none;
                }
            }
            
            &::after{
                content: '';
                position: absolute;
                top: 92px;
                right: 70px;
                width: 10px;
                height: 10px;
                border-radius: 50%;
                background: #D4272B;
                @media (max-width: 1000px) {
                    display: none;
                }
            }

            .hexagon-sub-items{
                top: 40px;
                right: -303px;

                .hexagon-sub-item-wrapper{
                    .hexagon-sub-item{
                        background-image: url(../images/mandala/mandala_sub_left.svg);
                        margin-left: -32px;
                    }
                    &:nth-child(2){
                        margin-top: 6px;
                        .hexagon-sub-item{
                            background-image: url(../images/mandala/mandala_sub_right.svg);
                            margin-left: -32px;
                        }
                    }    
                    
                }
            }
        }
        &.bottom{
            width: 268px;
            height: 224px;
            background-image: url(../images/mandala/mandala_right_bottom.svg);
            background-size: contain;
            background-repeat: no-repeat;
            bottom: 20px;
            right: 121px;
            
            
            &:before{
                content: '';
                position: absolute;
                top: 176px; 
                right: 0px;
                height: 2px;
                width: 120px;
                background: #D4272B;
                @media (max-width: 1000px) {
                    display: none;
                }
            }
            
            &::after{
                content: '';
                position: absolute;
                top: 172px;
                right: 110px;
                width: 10px;
                height: 10px;
                border-radius: 50%;
                background: #D4272B;
                @media (max-width: 1000px) {
                    display: none;
                }
            }

            .hexagon-sub-items{
                top: 80px;
                right: -280px;


                .hexagon-sub-item{
                    background-image: url(../images/mandala/mandala_sub_right.svg);
                    margin-left: -32px;
                }

                .hexagon-sub-item-wrapper{
                    &:nth-child(2){
                        margin-top: 6px;
                        margin-left: -35px;
                    }   
                    &:nth-child(3){
                        margin-left: -75px;
                        margin-top: 6px; 
                    }   
                    
                }
            }
        }
    }
}

.hexagon-content {
    color: white;
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.3;
} 

/* Timeline Section */
.timeline-section {
    background: #ffffff;
    padding: 50px 0 0 0;
    border-top: 1px solid #E7E7E7;
    position: relative;
    margin-top: 50px;

    .timeline-arrow-mobile{
        display: none;
        width: 100%;
        position: absolute;
        img{
            width: 95%;
            position: absolute;
            margin-top: -10px;
        }

        @media (max-width: 1250px) {
            display: block;
            top: 450px;
        }

        @media (max-width: 900px) {            
            top: 388px;
        }
        @media (max-width: 655px) {            
            top: 416px;
        }
        @media (max-width: 391px) {            
            top: 447px;
        }
    }
    
}

.timeline-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 50px;
}

@media (max-width: 1500px) {
    .timeline-container {
        padding: 0 50px;
    }
}

.timeline-container h2 {
    font-size: 32px;
    font-weight: 400;
    color: #162134;
    margin-bottom: 60px;
    font-family: 'Poppins', sans-serif;
    strong{
        font-weight: 700;
        font-family: 'Poppins', sans-serif;
    }
}

@media (max-width: 900px) {
    .timeline-section {
        padding: 50px 0 0 0;
        margin: 0 auto;
    }
    .timeline-container h2 {
        font-size: 25px;
    }
}


.timeline-content{
    margin-top: 100px;
    position: relative;

    .timeline-row{
        display: flex;
        justify-content: space-between;
        width: 80%;
        /* gap: 90px; */
        padding-left: 100px;

      
        .timeline-item{
            display: grid;
            grid-template-columns: 60px 1fr;
            gap: 30px;
            position: relative;
            min-height: 150px;
            max-width: 350px;
            margin-top: 10px;
            padding-bottom: 15px;

            &:before{
                content: '';
                position: absolute;
                bottom: 85%;
                left: 66px;
                right: 0;
                width: 10px;
                height: 10px;
                background: #162134;
                border-radius: 50%;
            }

            &::after{
                content: '';
                position: absolute;
                bottom: 0;
                left: 70px;
                right: 0;
                width: 1px;
                height: 85%;
                border-left: 1px dashed #162134;
            }

            .icon{
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                width: 60px;
                height: 100%;
                img{
                    max-width: 100%;
                    max-height: 100%;
                    width: auto;
                    height: auto;
                    object-fit: contain;
                }
            }
            
            .content{    
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
                align-items: flex-start;

                .year{
                    color: #D4272B;
                    font-size: 23px;
                    font-weight: 800;
                    margin-right: 40px; 
                }

                .grid{
                    display: grid;
                    grid-template-columns: 1fr 1fr;
                    gap: 10px;
                }
                
                p{
                    font-size: 14px;
                    color: #626262; 
                    display: flex;
                    gap: 10px;
                    align-items: center;
              
                    strong{
                        color: #162134;
                        font-weight: 800;
                    }
                }
            }
        }

         &.down{
            margin-top: -10px;
            align-items: flex-start;
            padding-left: 150px;

            .timeline-item{               
                padding-bottom: 0;
                padding-top: 15px;
                min-height: auto;
                height: auto;
                 
                &:before{
                    top: auto;
                    bottom: 0;
                }
    
                &::after{
                    top: 0;
                    bottom: 10px;
                    height: calc(100% - 10px);
                }
                .icon{
                    justify-content: flex-end;
                    align-items: center;
                    img{
                        max-width: 100%;
                        max-height: 100%;
                        width: auto;
                        height: auto;
                        object-fit: contain;
                    }
                }
                .content{    
                    justify-content: flex-end;                    
                }
            }

        }
    }

    .timeline-arrow{
        width: 100%;
        margin-top: -10px;
        img{
            width: 95%;
            /* position: absolute;
            margin-top: -10px; */
        }

    }
    

    @media (max-width: 1250px) {
        overflow-x: auto;
        white-space: nowrap;
        padding-left: 0px;
        margin-bottom: 0px;

        .timeline-arrow{
            position: sticky;
            left: 0;
            z-index: 5;
            margin-top: -17px;

            img {
                /* position: relative;
                width: 100%; */
            }
        }

        .timeline-row{
            padding-left: 30px;
            &.down{
                padding-left: 60px;
            }

            .timeline-item{
                &::after{
                    bottom: 6px;
                }

                .content {
                    white-space: normal;
                    min-width: 150px;
                    
                    p{
                        display: block;
                    }

                    .text{
                        display: flex;
                        gap: 15px;
                        align-items: self-start;
                    }
                }

                &:nth-child(5){
                    .content {
                        min-width: 208px;
                    }
                }

                &:nth-child(6){
                    .text{
                        display: block
                    }
                    img{
                        max-width: 80px
                    }
                }
            }
            &.down{
                .timeline-item{
                    &::after{
                        bottom: 6px;
                        top: -4px;
                        height: 93%;
                    }
                }
            }
        }
    }
    
}


/* Ecossistema Section */
.ecosistema-section {
    border-top: 1px solid #E7E7E7;
    padding: 50px 0 0 0;
    margin-top: 70px;
    @media (max-width: 900px) {
        margin-top: 20px;
    }
}

.ecosistema-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px; 
}

@media (max-width: 1500px) {
    .ecosistema-container {
        padding: 0 50px;
    }
}

.ecosistema-container h2 {
    font-size: 32px;
    font-weight: 400;
    color: #162134;
    margin-bottom: 60px;
    font-family: 'Poppins', sans-serif;
    strong{
        font-weight: 700;
        font-family: 'Poppins', sans-serif;
    }
}



.ecosistema-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}



@media (max-width: 900px) {
    .timeline-section {
        padding: 50px 0 0 0;
        margin: 0 auto;
        overflow: hidden;
    }
    .ecosistema-container h2 {
        font-size: 25px;
    }


    .ecosistema-cards {
        grid-template-columns: 1fr;
    }
}

.ecosistema-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid #DDDDDD;

    .ecosistema-logo {
        height: 30px;
        display: flex;
        align-items: center;
        margin-bottom: 100px;
        @media (max-width: 900px) {
            margin-bottom: 50px;
        }
    }

    h3{
        font-size: 12px;
    }


    h3 {
        font-size: 15px;
        font-weight: 800;
        color: #162134;
        margin-bottom: 0px;
    }

    p {
        color: #162134;
        line-height: 1.6;
        margin-bottom: 30px;
        font-size: 15px;
    }

    .btn-secondary {
        background: #162134;
        color: white;
        border: none;
        padding: 12px 24px;
        border-radius: 8px;
        font-weight: 500;
        cursor: pointer;
        transition: background 0.3s ease;
    }
    

    &.kognita {
        button {
            background: #CD3576;
        }
    }
    
    &.taba {
        button {
            background: #A42FCE;
        }
    }
    
    &.landsight {
        button {
            background: #D4272B;
        }
    }
    
} 

/* Soluções Completas Section */
.solucoes-completas-section {
    padding: 0px 50px; 
    margin-top: 30px;

    .solucao-container { 
        max-width: 1440px;
        margin: 0 auto;
        
        h2 {
            color: #162134;
            font-size: 32px;
            font-weight: 400;
            font-family: 'Poppins', sans-serif;
            margin-bottom: 50px;
            padding-left: 0;
            strong{
                font-weight: 800;
            }
        }
        
        .solucao-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
        }
        
        .border-bottom {
            border-bottom: 1px solid #E3E3E3;
        }

        .border-right {
            border-right: 1px solid #E3E3E3;
        }

        .border-top {
            border-top: 1px solid #E3E3E3;
        }

        .initial-item {
            padding-left: 0px !important;
        }

        .grid-item {
            padding: 25px 50px 30px 50px;
            h4 {
                color: #162134;
                font-size: 20px;    
                font-weight: 400;

                display: -webkit-box;
                -webkit-line-clamp: 2; /* Limita a 2 linhas */
                line-clamp: 2; /* Compatibilidade padrão */
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
                word-wrap: break-word;
                hyphens: auto; /* Quebra palavras automaticamente */
                font-family: 'Poppins', sans-serif;
                margin-bottom: 15px;
            }
            p {
                color: #676767;
                font-size: 16px;
                line-height: 24px;
            }
        }

    }
    @media (max-width: 1024px) {
        margin-top: 0px;
        padding: 0px;

        .solucao-container { 
            h2 {
                padding-left: 50px;
                margin-bottom: 40px;
            }
            
            .solucao-grid {
                grid-template-columns: 1fr 1fr;
            }
            
            .initial-item {
                padding-left: 50px !important;
            }
    
            .grid-item {
                padding-left: 50px !important;

                &:nth-child(odd) {
                    border-right: none !important;
                } 
                &:nth-child(even) {
                    border-right: 1px solid #E3E3E3 !important;
                }
                &:nth-child(1),
                &:nth-child(2),
                &:nth-child(3),
                &:nth-child(4) {
                    border-bottom: 1px solid #E3E3E3 !important;
                }
            }
        }
    }
    @media (max-width: 600px) {
        margin-top: 0px;
        padding: 0px;

        .solucao-container { 
            h2 {
                padding-left: 50px;
                font-size: 25px;
                margin-bottom: 30px;
            }
            
            .solucao-grid {
                grid-template-columns: 1fr;
            }

            .initial-item {
                padding-left: 50px !important;
            }
    
            .grid-item {
                padding-left: 50px !important;
                border-right: none !important;
                border-bottom: 1px solid #E3E3E3;
                
                &:last-child {
                    border-bottom: none;
                }
            }
        }
    }
}

/* Time Section */
.time-section {
    background: #F9F9F9;
    padding: 50px 0 80px 0;
}

.time-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px; 
}

@media (max-width: 1500px) {
    .time-container {
        padding: 0 50px;
    }
}

.time-container h2 {
    font-size: 32px;
    font-weight: 400;
    color: #162134;
    margin-bottom: 60px;
    font-family: 'Poppins', sans-serif;
    strong{
        font-weight: 700;
        font-family: 'Poppins', sans-serif;
    }
}

.time-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}



@media (max-width: 900px) {
    .time-section {
        padding: 50px 0 0 0;
        margin: 0 auto;
    }
    .time-container h2 {
        font-size: 25px;
    }


    .time-main {
        grid-template-columns: 1fr;
    }
}


.time-profile {
    display: flex; 
    gap: 30px;
    text-align: left;
    background: #162134;
    border-radius: 15px;
    padding: 20px;

    img {
        width: 150px;
        height: 160px;
        border-radius: 15px;
        object-fit: cover;
        flex-shrink: 0;
    }
    
    .profile-info h3 {
        font-size: 28px;
        font-weight: 800;
        color: #fff;
        margin-bottom: 0px;
        font-family: 'Poppins', sans-serif;
    }
    
    .profile-role {
        font-size: 24px;
        color: #fff;
        font-weight: 200;
        margin-bottom: 15px;
        font-family: 'Poppins', sans-serif;
    }
    
    .profile-info p {
        color: #fff;
        line-height: 1.6;
        font-size: 14px;
        max-width: 80%;
        font-family: 'Poppins', sans-serif;
        font-weight: 300;
    }
    @media (max-width: 600px) {
        display: block;
    }
}

.time-grid {
    display: flex;
    gap: 30px;

    .slick-list{
        overflow: initial !important;
    }
}

.time-grid.slick-slider .slick-slide {
    padding: 0 15px;
}

.time-grid.slick-slider .slick-slide .time-member {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    height: 280px !important;
    /* display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important; */
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .time-grid .slick-dots {
        display: none !important;
    }

    .time-grid {
        padding-bottom: 30px;
    }
}

.time-member {
    background: #ECECEC;
    border-radius: 15px;
    padding: 25px 20px !important;
    margin: 0 15px;
    height: 280px !important;
    /* display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important; */
    box-sizing: border-box !important;

    img {
        width: 130px;
        height: 130px;
        border-radius: 15px;
        object-fit: cover;
        margin-bottom: 20px;
        flex-shrink: 0;
    }

    .member-name {
        font-size: 1rem;
        font-weight: 600;
        color: #162134;
        border-left: 3px solid #D4272B; 
        padding-left: 5px;
        flex-shrink: 0;
        font-family: 'Poppins', sans-serif;
    }

    .member-role {
        font-size: 0.9rem;
        color: #6c757d;
        max-width: 250px;
        font-family: 'Poppins', sans-serif;
        margin-top: 12px;
    }
}

/* Força altura igual para todos os time-members */
/* .slick-slide .time-member,
.time-grid .time-member {
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
} */

/* Valores Section */   
 .valores-section {
    padding: 0 0 50px 0;

     h2 {
        font-size: 32px;
        font-weight: 400;
        color: #162134;
        margin-bottom: 40px;
        font-family: 'Poppins', sans-serif;
        strong{
            font-weight: 700;
            font-family: 'Poppins', sans-serif;
        }
        @media (max-width: 900px) {
            font-size: 25px;
        }
    
    }
    
    .valores-container {
        max-width: 1440px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    @media (max-width: 1500px) {
        .valores-container {
            padding: 0 20px;
        }
    }

    .valoresImg {
        background: #162134; 
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        width: 100%;
        height: 100%;
        height: 500px;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        color: #fff;
        overflow: hidden;
        border-radius: 15px;
        transition: height 0.3s;
    
        @media (max-width: 1700px) {
        height: 640px;
    
        div {
            &:hover p {
            max-height: 150px !important;
            }
        }
        }
    
        @media (max-width: 1024px) {
        grid-template-columns: none;
        height: 400px;
    
        div {
            padding: 0px 30px var(--bh) !important;
    
            h2 {
            font-size: 28px !important;
            }
    
            p {
            width: 90% !important;
            font-size: 14px !important;
            }
        }
    
        div:nth-child(2) {
            border-left: none !important;
            border-right: none !important;
            border-top: 1px solid rgba(255, 255, 255, 0.4);
            border-bottom: 1px solid rgba(255, 255, 255, 0.4);
        }
        }
    
        @media (max-width: 768px) {
        height: 440px;
    
        div {
            padding: 0px 30px 25px !important;
    
            h2 {
            font-size: 26px !important;
            }
        }
        }
    
        div:nth-child(2) {
        border-left: 1px solid rgba(255, 255, 255, 0.4);
        border-right: 1px solid rgba(255, 255, 255, 0.4);
        }
    
        /* @media (max-width: 768px) {
        div {
            padding: 0px 30px 30px !important;
    
            h2 {
            font-size: 24px !important;
            }
        }
        } */
    
        div {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 0px 30px 50px;
        cursor: pointer;
        transition: 0.3s;
    
        &:hover {
            background: rgba(0, 0, 0, 0.4);
            transition: 0.3s;
    
            p {
            opacity: 1;
            transition: 0.3s;
            max-height: 70px;
            }
        }
    
        h2 {
            font-size: 32px;
            font-weight: 500;
            margin: 0;
            color: #fff;
        }
    
        p {
            max-height: 0;
            opacity: 0;
            width: 95%; 
            transition: 0.3s;
            font-size: 16px !important;
            line-height: 23px !important;
        }
        }
    }
}

@media (max-width: 1000px) {

.sob-medida-section{
    margin: 0 auto;
    padding: 0;
    margin-bottom: 0px;
}
.hexagon-diagram{
    height: auto;
    .hexagon-center{
        position: relative;
        top: inherit;
        left: inherit;
        transform: none;
        width: 100%;
        height: auto;
        background: #2D3A51;
        border-radius: 20px;
        padding: 20px 0;
        margin-bottom: 10px;
    }
    .hexagon-left,
    .hexagon-right{
        .hexagon-item{
            background: #162134;
            position: relative;
            width: 100%;
            height: auto;
            padding: 20px 0;
            margin-bottom: 10px;
            top: inherit;
            left: inherit;
            right: inherit;
            bottom: inherit;
            transform: none;
            border-radius: 20px;
            span{
                margin-left: 0;
            }
        }
    } 
}
}