.bg-header{
    /*margin-top: 50px;*/
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding: 24px;
    /*border-radius: 60px;*/
    background-color: #ff0000;
    background: linear-gradient(rgba(29, 63, 44, 0.6), rgba(29, 63, 44, 0.6)), url('/images/soy-plantation-2.jpg'); 
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-ksagro{
    /*margin-top: 50px;*/
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding: 24px;
    /*border-radius: 60px;*/
    background-color: #ff0000;
    background: linear-gradient(rgba(29, 63, 44, 0.6), rgba(29, 63, 44, 0.6)), url('/images/ksagro_img2.png'); 
    background-size:cover;
    background-repeat: no-repeat;

    background-position: center;
    position: relative;
    overflow: hidden;
    /*max-width: 1920px;*/
}

.bg-ksagro .diagonal{
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background: rgba(14, 56, 20, 0.884);
    clip-path: polygon(0 0, 100% 0, 65% 100%, 0% 100%);
    z-index: 5;
    transition: background 0.3s ease;
    /*border-radius: 60px 0px 60px 0px;*/

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 60px;
    text-align: left;
}

.bg-kssilo{
    /*margin-top: 50px;*/
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding: 24px;
    /*border-radius: 60px;*/
    background-color: #ff0000;
    background: linear-gradient(rgba(72, 92, 139, 0.541), rgba(15, 19, 17, 0.897)), url('/images/kssilo_img.jpg'); 
    background-size:cover;
    background-repeat: no-repeat;

    background-position: center;
    position: relative;
    overflow: hidden;
    /*max-width: 1920px;*/
}

.bg-kssilo .diagonal{
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background: rgba(56, 33, 139, 0.884);
    clip-path: polygon(0 0, 100% 0, 65% 100%, 0% 100%);
    z-index: 5;
    transition: background 0.3s ease;
    /*border-radius: 60px 0px 60px 0px;*/

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 60px;
    text-align: left;
}

.bg-kslog{
    /*margin-top: 50px;*/
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding: 24px;
    /*border-radius: 60px;*/
    background-color: #ff0000;
    background: linear-gradient(rgba(68, 55, 42, 0.8), rgba(68, 55, 42, 0.8)), url('/images/kslog_img.jpg'); 
    background-size:cover;
    background-repeat: no-repeat;

    background-position: center;
    position: relative;
    overflow: hidden;
    /*max-width: 1920px;*/
}

.bg-kslog .diagonal{
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background: rgba(167, 76, 33, 0.884);
    clip-path: polygon(0 0, 100% 0, 65% 100%, 0% 100%);
    z-index: 5;
    transition: background 0.3s ease;
    /*border-radius: 60px 0px 60px 0px;*/

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 60px;
    text-align: left;
}

.bg-itgestor{
    /*margin-top: 50px;*/
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding: 24px;
    /*border-radius: 60px;*/
    background-color: #ff0000;
    background: linear-gradient(rgba(85, 47, 32, 0.158), rgba(85, 47, 32, 0.158)), url('/images/itgestor_img.jpg'); 
    background-size:cover;
    background-repeat: no-repeat;

    background-position: center;
    position: relative;
    overflow: hidden;
    /*max-width: 1920px;*/
}

.bg-itgestor .diagonal{
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background: rgba(167, 76, 33, 0.884);
    clip-path: polygon(0 0, 100% 0, 65% 100%, 0% 100%);
    z-index: 5;
    transition: background 0.3s ease;
    /*border-radius: 60px 0px 60px 0px;*/

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 60px;
    text-align: left;
}

.logo-slide {
    width: 240px;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .bg-header {
        padding: 32px;
    }
}
@media (max-width: 1024px) {
    .subtitulo-versoes {
        font-size: 22px;
    }

    .logo {
        width: 70%;
    }

    .bg-ksagro .diagonal {
        padding-left: 40px;
    }
    .bg-kssilo .diagonal {
        padding-left: 40px;
    }
    .bg-kslog .diagonal {
        padding-left: 40px;
    }
    .bg-itgestor .diagonal {
        padding-left: 40px;
    }
}

@media (max-width: 640px) {

    .bg-ksagro .diagonal, .bg-kssilo .diagonal, .bg-kslog .diagonal, .bg-itgestor .diagonal {
        width: 100% !important;
        clip-path: none !important;
        border-radius: 0 0 60px 60px !important;
        align-items: center !important;
        text-align: center !important;
    }

    .subtitulo-versoes {
        font-size: 34px !important;   /* texto menor */
        line-height: 1.3 !important;
        text-align: center !important;
        margin-bottom: 50px !important;
    }

    .logo-container {
        justify-content: center !important;
        margin-bottom: 10px !important;
    }

    .logo {
        width: 300px !important;
        max-width: 400px ;
    }

    .solucoes-enterprise .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .bg-header > div.absolute {
        position: static;
        width: 100%;
        padding: 0 16px;
        margin: 0 auto;
    }

    .hero-enterprise h1 {
        font-size: 30px !important;
        line-height: 1.25 !important;
    }

    .hero-enterprise p {
        font-size: 18px !important;
        line-height: 1.6 !important;
    }

    .hero-enterprise .hero-eyebrow {
        font-size: 12px !important;
        margin-bottom: 8px !important;
        letter-spacing: 0.06em !important;
    }

    .hero-actions .btn {
        font-size: 15px;
        padding: 12px 20px;
    }

    /*tratamento mobile slider solucoes*/
    .slide,
    .slide > div {
        height: auto !important;
        min-height: 100vh;
    }

    .slide-ksagro .bg-ksagro {
        background-color: #2f855a; 
    }

    .slide-kssilo .bg-kssilo {
        background-color: #2563eb; 
    }

    .slide-kslog .bg-kslog {
        background-color: #f97316; 
    }

    .slide .absolute {
        position: static !important;
        width: 100% !important;
        padding: 80px 20px 60px;
        margin: 0 auto;
        text-align: center;
    }

    .slide h1,
    .slide p {
        color: #ffffff;
        text-align:left !important;
    }

    .slide p {
        font-size: 14px !important;
    }

    .hero-enterprise {
        display: flex;
        justify-content: center;
    }

    .hero-enterprise .container {
        max-width: 520px;
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

     .container{
        max-width: 100%;
    }
    .slide-ksagro h1,
    .slide-kssilo h1,
    .slide-kslog h1{
        font-size: 24px !important; 
        text-transform: uppercase !important;
        line-height: 1.25 !important;
        margin-bottom: 16px;
    }

    .logo-slide {
        width: 210px;
    }
}

.conteudo-diagonal{
    display: flex;
    flex-direction: column;
    max-width: 70%;
    gap: 20px;
    transform: translateY(-100px);
}

.logo-container{
    display: flex;
    justify-content: flex-start;
}

.logo{
    width: 80%;
    height: auto;
}

.subtitulo{
    font-size: 48px;
    text-transform: uppercase;
    font-weight: bold;
    color: rgb(235, 235, 235);
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.subtitulo-versoes{
    margin: 0;
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    color: rgb(235, 235, 235);
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.2;
}

.slider_m_acesso{
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    /*border-radius: 60px;*/
    overflow: hidden;
}

.slides{
    position: relative;
    width: 100%;
    height: 600px;
}

.slides-content {
  display: flex;
  width: 500%;
  /*height: 500px;*/
  transition: margin-left 1s ease;
}

.slides input{
    display: none;
}

.slide{
    width: 20%;
    position: relative;
    flex-shrink: 0;
}


.nav_manual{
    position: absolute;
    width:100%;
    bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 50px;
    z-index: 20;
    pointer-events: auto;
}

.nav_manual .manual-btn:hover{
    background-color: rgba(255,255,255,0.9);
    transform: scaleX(1.2);
}


.nav_auto{
    position: absolute;
    width: 100%;
    bottom: 61px;
    gap: 25px;
    display: flex;
    justify-content: center;
}

.nav_auto div{
    width: 14px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

#radio1:checked ~ .nav_auto .auto_btn1,
#radio2:checked ~ .nav_auto .auto_btn2,
#radio3:checked ~ .nav_auto .auto_btn3,
#radio4:checked ~ .nav_auto .auto_btn4{
  background-color: #ffffff;
  transform: scaleX(1.15);
}

.slide a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.slide .diagonal{
    transition: transform 0.5s ease, filter 0.5s ease;
}

.slide a:hover {
    filter: brightness(0.85);
    .diagonal{
        transform: scale(1.03);
    }
}

.slide .diagonal:hover{
    transform: scale(1.03);
}

.btn-solucoes{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 14px 28px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: #fff !important;
    background: transparent;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.85s ease;
    
}

.btn-solucoes:hover{
    background: rgba(55, 139, 67, 0.9) !important;
}


html {
    scroll-behavior: smooth;
}

#solucoes{
    scroll-margin-top: 120px;
}

.institutional-highlight {
    padding-left: 32px !important;
}

.institutional-highlight ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.institutional-highlight li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #374151;
}

.institutional-highlight li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #2f855a;
    font-weight: 700;
}