﻿/* --- CONFIGURAÇÕES GERAIS --- */

:root {
    --azul-fonte: #02256e;
    --azul-claro: #2a52be;
    --azul-escuro: #002d6b;
    --azul-destaque: #0056b3;
    --verde-forte: #026117;
    --verde-suave-transparente: rgba(2, 97, 23, 0.03);

    --chumbo: #444444;
    --cinza-fonte: #585858;
    --cinza-escuro: #666666;
    --cinza-medio: #777777;
    --cinza-fundo: #f5f7fa;
    --branco: #ffffff;
    --cinza-borda-clara: #f0f0f0;
    --verde-forte: #026117;
    --verde-suave-transparente: rgba(2, 97, 23, 0.03);
    --sombra-suave: rgba(0,0,0,0.1);
    --sombra-media: rgba(0, 0, 0, 0.2);
    --sombra-forte: rgba(0,0,0,0.4);
}

html {
    scroll-behavior: smooth;
}

.titulo {
    color: var(--azul-fonte);
    font-size: 35px;
    margin-bottom: 20px;
    display: block;
}

.texto {
    font-size: 22px;
    color: var(--chumbo);
    line-height: 1.8;
    text-align: left;
}

/* --- DESCRIÇÃO, SOLUÇÕES E MEIO AMBIENTE (CONTEÚDO) --- */

#Desc-ImgCarsl {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
}

#Soluc-ImgMaq {
    display: flex;
    flex-direction: row !important; 
    align-items: center;
    justify-content: center;
    padding: 60px 8%;
    gap: 60px;
    background-color: var(--cinza-fundo);
    padding-bottom: 0px;
}

#MeioAmb-ImgMeioAmb {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 10%;      
    gap: 80px 0 0 80px;
}

.txt-ame, .txt-soluc, .txt-MeioAmb {
    font-family: "Inter", sans-serif; 
    font-size: 25px;
    color: var(--cinza-fonte);
    line-height: 1;
}

.txt-ame {
    flex: 1;
    width: 40%;
    transform: translateX(-60px);
}

.txt-ame strong {
    color: var(--azul-fonte);
}

.txt-ame span {
    font-size: 45px;
    font-weight: 600;
    margin-bottom: 35px;
}

.txt-ame span strong {
    color: var(--azul-fonte);
    font-size: 50px;
    font-weight: 900;
}

.txt-ame span.titulo,
.txt-soluc span.titulo,
.txt-MeioAmb span.titulo {
    position: relative;
    width: fit-content;
    padding-bottom: 14px;
    margin-bottom: 25px;
}

.txt-ame span.titulo::after,
.txt-soluc span.titulo::after,
.txt-MeioAmb span.titulo::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;                 
    width: 60px;
    height: 4px;
    background-color: var(--azul-claro);
    transition: width 0.7s ease-in-out;
}

.txt-ame span.titulo:hover::after,
.txt-soluc span.titulo:hover::after,
.txt-MeioAmb span.titulo:hover::after {
    width: 100%;         
}

.txt-soluc {
    width: 100%; 
    height: 40%;
    transform: translateY(-50px);
    font-size: 18px;
}

.txt-soluc .titulo {
    font-family: 'Segoe UI', Arial, sans-serif;
}

.txt-soluc span {
    font-size: 45px;
    font-weight: 600;
    margin-bottom: 35px;
}

.txt-MeioAmb { 
    position: relative;
    flex: 1;
    width: 33%;
}

.txt-MeioAmb .titulo {
    font-family: 'Segoe UI', Arial, sans-serif; 
}

.txt-MeioAmb span {
    font-size: 45px;
    font-weight: 600;
    margin-bottom: 35px;
}

.container-foto {
    position: relative;
    width: 55%; 
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    transform: translateX(30px);
}


.texto-icones-maquina {
    flex: 1;
    display: flex;
    flex-direction: column; 
    gap: 30px;
    width: 80%;
    transform: translateX(-150px);
}

.container-icones-maquina {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    width: 100%;
}

.icone-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transform: translateY(-65px);
    transition: 0.3s ease-in-out;
}

.icone {
    width: 90px;
    height: 90px;
    margin-bottom: 15px;
    background: var(--branco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px var(--sombra-suave);
    transition: 0.3s ease-in-out;
}

.icone img {
    width: 70px;
    height: auto;
}

.icone:hover {
    transform: scale(1.1) translateY(-10px);
    box-shadow: 0 4px 8px var(--sombra-forte);
}

.icone-info:hover {
    transform: translateY(-72px);
}

.informacaoDoIcone h3 {
    color: var(--azul-fonte);
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.informacaoDoIcone p {
    font-size: 13px;
    color: var(--cinza-escuro);
    line-height: 1.4;
}

/* --- IMAGENS ILUSTRATIVAS --- */

.imgCarrossel {
    width: 750px; 
    height: 510px;
    border-radius: 30px;
    overflow: hidden;
}

.imgCarrossel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imgMaq {
    position: relative; 
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px; 
    left: 0; 
    transition: 0.4s ease-in-out;
}

.imgMaq::before {
    content: "";
    position: absolute;
    width: 350px;  
    height: 350px; 
    background: linear-gradient(35deg, var(--azul-fonte) 0%, var(--azul-claro) 100%);
    border-radius: 40px; 
    transform: rotate(-30deg); 
    z-index: 1; 
    box-shadow: 0 20px 40px var(--sombra-media);
}

.imgMaq img {
    position: relative;
    z-index: 2; 
    width: 500px;
    height: auto;
    margin-right: 55px;
    filter: drop-shadow(15px 15px 30px var(--sombra-media));
    transition: 0.3s ease-in-out;
}

.imgMaq:hover {
    transform: translateY(-20px);
}

.imgMaq img:hover {
    transform: scale(1.05) translateY(-20px);
}

.imgMeioAmb {
    width: 33%; 
    display: flex;
    justify-content: center;
    transition: 0.4s ease-in-out;
}

.imgMeioAmb img {
    display: block;
    width: 700px;
    height: auto;
    transition: none !important;
    border: none !important;
    filter: none !important;     
    box-shadow: none !important;  
    transform: none !important;
    z-index: 5;
}

.imgMeioAmb:hover {
    transform: translateY(-15px);
}

/* CARD MEIO AMBIENTE */

.container-card-MeioAmb {
    width: 33%;
}

.card-MeioAmb {
    width: 285px;  
    height: 420px;
    background-color: var(--branco);
    border-radius: 30px;
    box-shadow: 0px 10px 20px 0px var(--sombra-suave);
    display: flex;
    flex-direction: column;
    justify-content: space-around; 
    padding: 30px 25px;
    z-index: 5; 
    gap: 1px;
    transform: translateX(130px);
}

.texto-info-2 {
    font-size: 12px;
    color: var(--cinza-fonte);
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
}

.texto-info-2 p {
    font-size: 14px;
    color: var(--cinza-medio);
    margin: 0;
    text-transform: none; /* Reset para o parÃ¡grafo nÃ£o ficar todo em caps */
}

.item-info-2 {
    display: flex;
    align-items: center;
    gap: 15px; 
    padding: 20px 0;
    border-bottom: 1px solid var(--cinza-borda-clara);
    position: relative;
    transition: all 0.3s ease-in-out;
}

.item-info-2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;                   
    bottom: 20px;                
    width: 0;                            
    background-color: var(--verde-forte);
    transition: width 0.3s ease;
    border-radius: 0 2px 2px 0;
}

.item-info-2:hover {
    padding-left: 15px; 
    background-color: var(--verde-suave-transparente); 
}

.item-info-2:hover::before {
    width: 5px; 
}

.item-info-2:last-child {
    border-bottom: none;
}

.item-info-2 img {
    width: 50px; 
    height: auto;
}

.destaque-2 {
    font-size: 16px; 
    font-weight: 800;
    color: var(--verde-forte);
    line-height: 1.2;
}

/* CARD BRANCO */

.card-branco {
    position: absolute;
    width: 270px;  
    height: auto;
    max-height: 95%;
    background-color: var(--branco);
    border-radius: 30px;
    box-shadow: -15px 15px 40px var(--sombra-suave);
    top: 50%;
    left: -40px; 
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center; 
    padding: 30px 25px;
    z-index: 10; 
    gap: 1px;
}

.item-info {
    display: flex;
    align-items: center; 
    gap: 20px; 
    margin-bottom: 0; 
    padding-bottom: 15px;
    border-bottom: 1px solid var(--cinza-borda-clara);
}

.item-info:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.item-info img {
    width: 50px;
    height: auto;
}

.texto-info {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    color: var(--cinza-fonte);
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    padding-left: 0;
    transition: all 0.4s ease;
}

.texto-info::before {
    content: "";
    position: absolute;
    left: -10px;    
    top: 0;
    width: 4px;       
    height: 100%;
    background-color: var(--azul-destaque);
    opacity: 0;       
    transition: all 0.3s ease;
}

.item-info:hover .texto-info {
    padding-left: 15px; 
    color: var(--azul-destaque);     
}

.item-info:hover .texto-info::before {
    left: 0;           
    opacity: 1;        
}

.label {
    color: var(--azul-fonte);
    font-weight: 650; 
    font-size: 13px;
    margin-top: 10px;
}

.texto-info .destaque {
    font-size: 22px;
    font-weight: 800;
    color: var(--azul-fonte);
    line-height: 1.1;
    margin: 2px 0;
}

.texto-info p {
    font-size: 14px;
    color: var(--cinza-medio);
    margin: 0;
    text-transform: none;
}

/* --- RESPONSIVIDADE (MOBILE/TABLET) --- */

@media (max-width: 900px) {
    #Desc-ImgCarsl, #MeioAmb-ImgMeioAmb {
        overflow-x: hidden; 
        width: 100%;
        box-sizing: border-box;
    }

    #Soluc-ImgMaq {
        width: 100%;
        box-sizing: border-box;
    }

    .titulo {
        font-size: 28px;
    }

    .texto {
        font-size: 18px;
    }

    #Desc-ImgCarsl {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
        gap: 30px;
    }

    .container-foto {
        width: 100%;
        max-width: 100%; 
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        margin-left: 0;
        transform: none;
    }

    .imgCarrossel {
        width: 100%;
        max-width: 100%;
        height: 380px;
        border-radius: 20px;
        order: 1; 
    }

    .txt-ame {
        width: 100%;
        transform: none;
        text-align: center;
    }

    #Soluc-ImgMaq {
        flex-direction: column !important;
        padding: 40px 5%;
        gap: 30px;
    }

    .txt-soluc {
        width: 100%;
        transform: none;
        text-align: center;
    }

    .texto-icones-maquina {
        width: 100%;
        transform: none;
        align-items: center;
    }

    .container-icones-maquina {
        grid-template-columns: repeat(4, 1fr);
        width: 100%;
    }

    .icone-info {
        transform: none;
        align-items: center;
        text-align: center;
    }

    .informacaoDoIcone h3 {
        font-size: 13px;
    }

    .imgMaq { 
        padding: 60px 30px; 
        overflow: visible; 
        justify-content: center; 
        position: relative; 
    }
    
    .imgMaq::before { 
        width: 260px; 
        height: 260px; 
        top: 50%; 
        left: 50%; 
        transform: translate(-50%, -50%) rotate(-30deg); 
    } 
    
    .imgMaq img { 
        width: 280px;
        transform: translateX(-15px); 
        margin-right: 0; 
    }

    .imgMaq img:hover {
        transform: translateX(-15px) translateY(-15px);
    }

    .icone-info:hover {
    transform: translateY(-30px);
    }

    #MeioAmb-ImgMeioAmb {
        flex-direction: column;
        align-items: center;
        padding: 40px 5%;
        gap: 40px;
    }

    .txt-MeioAmb {
        width: 100%;
        text-align: center;
    }

    .imgMeioAmb {
        width: 100%;
        justify-content: center;
    }

    .imgMeioAmb img {
        width: 100%;
        max-width: 500px;
    }

    .container-card-MeioAmb {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .card-MeioAmb {
        transform: none;
        width: 100%;
        max-width: 380px;
    }

    .card-branco {
        position: static;
        transform: none;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        box-shadow: 0 10px 30px var(--sombra-suave);
        left: auto;
        top: auto;
        order: 2; 
    }

    .txt-ame span::after,
    .txt-soluc span::after,
    .txt-MeioAmb span::after {
        display: none !important;
        content: none !important;
    }
}
/* --- MOBILE (até 768px) --- */

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }

    .txt-ame span::after,
    .txt-ame span:hover::after,
    .txt-soluc span::after,
    .txt-soluc span:hover::after,
    .txt-MeioAmb span::after,
    .txt-MeioAmb span:hover::after {
        display: none;
    }
    
    .titulo {
        font-size: 24px;
        margin-bottom: 15px;
    }


    .texto {
        font-size: 16px;
        line-height: 1.6;
    }

    .sliderIndex {
    margin-top: 25px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 5px 10px 6px rgba(0, 0, 0, 0.2) !important;
    }

    #Desc-ImgCarsl,
    #Soluc-ImgMaq,
    #MeioAmb-ImgMeioAmb {
        padding: 30px 15px;
        max-width: 100vw; 
    }

    .card-branco {
        box-shadow: 0 15px 10px 10px rgba(2, 37, 110, 0.15);
    }

    #Soluc-ImgMaq{
        flex-direction: column !important;
        padding: 80px 0px !important;
        gap: 20px;
        overflow: visible;
    }

    #Soluc-ImgMaq .titulo{
        margin-top: 40px;
    }

    .texto-icones-maquina {
        width: 100%;
        transform: none;
    }
    
    .txt-soluc {
        transform: none;
        text-align: center;
        width: 100%;
    }
    
    .txt-soluc .texto {
        padding: 0 10px;
    }

    .icone-info {
        transform: none;
        align-items: center;
        text-align: center;
    }

    .icone-info:hover {
        transform: none;
    }

    .imgMaq {
        padding: 80px 0px;  
        width: 100%;
        line-height: 0;
        overflow: visible !important;
        display: flex;
        justify-content: center;
        box-sizing: border-box;
    }

    .imgMaq::before {
        width: 260px; 
        height: 260px; 
        top: 50%; 
        left: 50%; 
        transform: translate(-50%, -50%) rotate(-30deg); 
    }

    .imgMaq img { 
        width: 220px; 
        max-width: 100%;
        height: auto;
        margin-right: 0; 
    }

    .imgCarrossel {
        height: 260px;
        border-radius: 15px;
    }

    .container-icones-maquina {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .icone {
        width: 70px;
        height: 70px;
    }

    .icone img {
        width: 50px;
    }

    .informacaoDoIcone h3 {
        font-size: 12px;
    }

    .informacaoDoIcone p {
        font-size: 11px;
    }

    .card-MeioAmb {
        width: 100%;
        max-width: 340px;
        height: auto;
        padding: 20px;
    }

    .destaque-2 {
        font-size: 14px;
    }

    .texto-info .destaque {
        font-size: 18px;
    }

    .label {
        font-size: 12px;
    }
}

/* --- MOBILE PEQUENO (até 480px) --- */

@media (max-width: 480px) {
    .titulo {
        font-size: 20px;
    }

    .texto {
        font-size: 14px;
    }

    .txt-maq {
        font-size: 14px;
    }

    .imgCarrossel {
        height: 220px;
        border-radius: 12px;
    }

    .imgMaq {
    padding: 20px;
    overflow: visible !important;
    justify-content: center;
    }

    .imgMaq::before {
    width: 180px;
    height: 180px;
    }

    .imgMaq img {
    width: 160px;
    margin-right: 0;
    }

    .container-icones-maquina {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .icone {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    .icone img {
        width: 40px;
    }

    .icone:hover,
    .icone-info:hover,
    .imgMaq:hover,
    .imgMeioAmb:hover {
        transform: none !important;
    }

    .container-foto {
        position: static;
        width: 100%;
    }

    .card-branco {
        padding: 20px 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .item-info {
        gap: 12px;
    }

    .item-info img {
        width: 38px;
    }

    .texto-info .destaque {
        font-size: 16px;
    }

    .card-MeioAmb {
        max-width: 100%;
        border-radius: 20px;
        box-sizing: border-box;
    }

    .item-info-2 img {
        width: 38px;
    }
}
