* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
 
}

section {
    width: 100%;
    padding: 40px 0;
}

/* Cores específicas para cada bloco */
.section-cinza {
    background-color: #cccccc;
}

.section-branca {
    background-color: #ffffff;
}

/* Container para centralizar o conteúdo dentro da seção colorida */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 100%;
    position: sticky;
    top: 0;
    background-color: rgb(1, 61, 21);
    z-index: 1;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-logo {
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.navbar-container .navbar-menu {
    display: flex;
    text-align: center;
    gap: 1.5rem;
    list-style: none;
}

.navbar-container .navbar-menu li a {
    text-decoration: none;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 500;
    padding: 3px 20px;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.7s ease; /* Animação de transição */
    white-space: nowrap;
    display: inline-block; 
}

.navbar-container .navbar-menu li a:hover {
    color: #ffffff;
    background: transparent;
    border-color: transparent; 
    transform: scale(1.15) translateY(-2px); 
}

.navbar-toggle {
    display: none;
    background: transparent;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: #fff;
    transition: all 0.3s ease-in-out;
}

.navbar-container .navbar-menu.active {
    display: flex;
}

.has-submenu {
    position: relative;
}

.submenu {
    display: none;
    list-style: none;
    background-color: rgb(1, 61, 21); 
    padding: 10px 0;
    border-radius: 10px;
}

@media (min-width: 801px) {
    .submenu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        min-width: 180px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    }

    .has-submenu:hover .submenu {
        display: block;
    }
    
    .submenu li a {
        font-size: 1rem !important; 
        display: block;
        padding: 10px 20px !important;
    }
}

@media (max-width: 800px) {
    .submenu {
        position: static; 
        width: 100%;
        background: rgba(0, 0, 0, 0.1); 
        margin-top: 10px;
    }

    .has-submenu.active .submenu {
        display: block;
    }

}

@media (max-width: 800px) {
    .navbar {
        backdrop-filter: none;
    }

    .navbar-container .navbar-menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.7rem !important; 
        position: absolute;
        height: 100vh;
        width: 250px;
        top: 0;
        right: 0;
        padding: 5rem 1.5rem;
        box-shadow: 0 10px 10px rgba(0,0,0,0.5);
        backdrop-filter: blur(10px);
    }

    .navbar-toggle {
        display: block;
        z-index: 1;
    }

        .navbar-toggle.active .bar:nth-child(2){
        opacity: 0;
    }

    .navbar-toggle.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }

    .navbar-toggle.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 480px){
    .navbar-container {
        padding: 0 1rem;
    }

    .navbar-logo {
        font-size: 1.7rem;
    }

    .navbar-container .navbar-menu li a {
        font-size: 1.2rem;
        padding: 3px 15px;
    }

}
/* MENU MOBILE */

.navbar-toggle{
    display:none;
    background:transparent;
    border:none;
    cursor:pointer;
}

.bar{
    display:block;
    width:25px;
    height:3px;
    margin:5px auto;

    background:#ffffff;

    transition:all .3s ease;
}

@media (max-width:800px){

    .navbar-menu{
        display:none;

        flex-direction:column;
        align-items:flex-start;

        position:absolute;
        top:0;
        right:0;

        width:250px;
        height:100vh;

        padding:5rem 1.5rem;

        gap:1.7rem;

        backdrop-filter:blur(10px);

        box-shadow:0 10px 10px rgba(0,0,0,0.5);
    }

    .navbar-menu.active{
        display:flex;
    }

    .navbar-toggle{
        display:block;
        z-index:1000;
    }

    .submenu{
        position:static;
        width:100%;

        margin-top:10px;

        background:rgba(0,0,0,0.1);
    }

    .has-submenu.active .submenu{
        display:block;
    }

    .navbar-toggle.active .bar:nth-child(2){
        opacity:0;
    }

    .navbar-toggle.active .bar:nth-child(1){
        transform:translateY(8px) rotate(45deg);
    }

    .navbar-toggle.active .bar:nth-child(3){
        transform:translateY(-8px) rotate(-45deg);
    }
}

@media (max-width:480px){

    .navbar-container{
        padding:0 1rem;
    }

    .navbar-menu li a{
        font-size:1.2rem;
        padding:3px 15px;
    }

    .navbar-logo img{
        height:60px;
    }
}

/* CABEÇALHO */

.cabecalho{
    width:100%;
    height:500px;
    background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url('../img/quadradosustentabilidade3.jpeg');
    background-size:cover;
    background-position:center;
    display:flex;
    flex-direction:column;
}

.container-cabecalho {
    width: 100%;
    max-width: 1200px; /*Não importa o tamanho da tela, o conteúdo não pode ser maior que 1200px.*/
    margin: 0 auto;    
    box-sizing: border-box;
    display: flex;
    align-items: center; 
    height: 100%;      
    padding: 0 50px;
}

img {
    width: auto;
    height: 75px;
}

.conteudo-cabecalho {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    font-family: sans-serif;
}

.conteudo-cabecalho h1 {
    font-size: 48px;
    margin: 0;
    padding: 0;
    line-height: 1.1;
}

.conteudo-cabecalho p {
    font-size: 20px;
    margin-top: 20px;
}

/* TÍTULOS */

h2 {
    text-align: center;
    font-family: 'Georgia', serif; 
    color: #3C593B; 
    font-weight: normal;
    font-size: 48px;
    margin: 0px auto 30px auto; 
    position: relative; 
}

h2::after {
    content: ''; 
    display: block; 
    width: 60px; 
    height: 3px; 
    background-color: #C19A6B; 
    margin: 15px auto 0 auto; 
}

/* CICLO COMPLETO */

.ciclo-completo {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 0 50px;
}

.ciclo-completo-conteudo {
    flex: 0 1 250px;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    border: 3px solid #0000004D;
    transition: all .3s ease;

    /* importante */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.ciclo-completo-conteudo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.ciclo-completo-conteudo h3 {
    font-size: 22px;
    word-break: break-word;
    color: #3C593B;
    margin: 5px 0;
}

.ciclo-completo-conteudo p {
    font-family: Arial, Helvetica, sans-serif;
    color: #666666;
    font-size: 16px;
    text-align: center;
    margin: 5px 0;
}

.ciclo-completo-conteudo img {
    width: 50px;
    height: 50px;
}

.icone-cor { 
    background-color: #E0EFE0; 
    border-color: #A8D1A8;
}

/* SEÇÕES PRINCIPAIS */

.planejamento,
.tecnologia-industria{
    width:100%;
    padding:60px 20px;
    background-color:#cccccc;
}

.responsabilidade{
    width:100%;
    padding:80px 20px;
    background-color:#ffffff;
}

.subtitulo,
.texto,
.texto-responsabilidade,
.texto-tecnologia,
.texto-inferior{
    max-width:1100px;
    margin:0 auto 50px;
    color:#666666;
    font-size:16px;
    line-height:1.9;
    text-align:center;
}

/* CARDS */

.cards{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:25px;
    margin-bottom:50px;
}

.card{
    width:320px;
    height:320px;
    overflow:hidden;
    border-radius:10px;
    transition:transform .3s ease;
}

.card:hover{
    transform:translateY(-5px);
}

.card img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.seta{
    font-size:60px;
    color:#3C593B;
}

/* RESPONSABILIDADE */

.cards-responsabilidade{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    flex-wrap:wrap;
    gap:25px;
}

.item-responsabilidade{
    width:220px;
    text-align:center;
}

.item-responsabilidade img{
    width:50px;
    height:50px;
    object-fit:contain;
    display:block;
    margin:0 auto 20px auto;
}

.item-responsabilidade h3{
    font-size:18px;
    font-weight:normal;
    color:#3C593B;
    margin-bottom:12px;
    line-height:1.3;
}

.item-responsabilidade p{
    color:#666666;
    font-size:15px;
    line-height:1.8;
}

/* TECNOLOGIA */

.imagem-industria{
    max-width:1100px;
    margin:0 auto 50px;
}

.imagem-industria img{
    width:100%;
    height:450px;
    object-fit:cover;
    border-radius:8px;
}

/* ===FOOTER=== */

.rodape-completo{
    width:100%;
    font-family:Arial, Helvetica, sans-serif;
}

.rodape-container{
    width:100%;
    max-width:1200px;
    margin:0 auto;
}

/* ===FAIXA VERDE=== */

.rodape-verde{
    background:rgb(1,61,21);
    color:#fff;
    padding:18px 0;
}

.rodape-verde .rodape-container{
    display:flex;
    justify-content:center;
    align-items:center;
}

.conteudo-footer{
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:0 20px;
}

.conteudo-footer:first-child{
    border-right:1px solid rgba(255,255,255,.35);
}

.titulo-footer{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-bottom:8px;
}

.titulo-footer h4{
    margin:0;
    font-size:16px;
    font-weight:500;
    letter-spacing:.5px;
}

.titulo-footer svg{
    width:18px;
    height:18px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.conteudo-footer p{
    margin:0;
    color:#e0e0e0;
    font-size:14px;
    line-height:1.5;
}

/* ===RODAPÉ CINZA=== */

.rodape-escuro{
    background:#cccccc;
    color:#1a1a1a;
}

.rodape-grid{
    display:grid;
    grid-template-columns:1fr 1px 1fr 1px 1.15fr;
    gap:28px;
    align-items:start;
    padding:35px 20px;
}

/* ===COLUNA LOGO=== */

.col-logo{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.logo-footer{
    width:100%;
    max-width:230px;
    height:auto;
    margin-bottom:15px;
}

.caixa-redes{
    display:flex;
    justify-content:center;
    gap:15px;
    margin-top:5px;
}

.caixa-redes a{
    color:rgb(1,61,21);
    transition:color .3s ease;
}

.caixa-redes a:hover{
    color:#C19A6B;
}

/* ===LINHAS VERTICAIS=== */

.divisoria-footer{
    width:1px;
    background:#9c9c9c;
    align-self:stretch;
}

/* ===COLUNA E-MAILS=== */

/* ===E-MAILS=== */

.col-emails{
    display:flex;
    flex-direction:column;
}

.col-emails h3{
    text-align:center;
    margin:0 0 22px;
    color:rgb(1,61,21);
    font-size:16px;
    letter-spacing:1px;
    font-weight:600;
}

.col-emails p{
    margin:0 0 12px;
    font-size:13px;
    text-transform:uppercase;
    line-height:1.5;
}

.col-emails strong{
    color:rgb(1,61,21);
    font-weight:600;
}

.col-emails a{
    color:#1a1a1a;
    text-decoration:none;
}

.col-emails a:hover{
    text-decoration:underline;
}

/* ===COLUNA LOCALIZAÇÃO=== */

.col-localizacao{
    display:flex;
    flex-direction:column;
}

.col-localizacao h3{
    text-align:center;
    margin:0 0 22px;
    color:rgb(1,61,21);
    font-size:16px;
    letter-spacing:1px;
    font-weight:600;
    text-transform:uppercase;
}

.localizacao-conteudo{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
    align-items:start;
}

.endereco-footer{
    display:flex;
    align-items:flex-start;
}

.endereco-footer p{
    margin:0;
    font-size:15px;
    line-height:1.7;
}

.mapa-footer{
    display:flex;
    justify-content:center;
}

#map{
    width:100%;
    max-width:250px;
    height:170px;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 2px 6px rgba(0,0,0,.12);
}

/* ===MAPA=== */

#map{
    width:100%;
    max-width:330px;
    height:170px;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 2px 6px rgba(0,0,0,.12);
}

/* ===DIREITOS AUTORAIS=== */

.rodape-direitos{
    background:rgb(1,61,21);
    border-top:1px solid rgba(255,255,255,.15);
    text-align:center;
    padding:18px 20px;
}

.rodape-direitos p{
    margin:0;
    color:#ffffff;
    font-size:13px;
    letter-spacing:.3px;
}

/* ===RESPONSIVIDADE=== */

@media (max-width: 992px){

    .rodape-grid{
        grid-template-columns:1fr;
        gap:35px;
        padding:40px 20px;
        text-align:center;
    }

    .divisoria-footer{
        display:none;
    }

    .col-logo,
    .col-emails,
    .col-localizacao{
        align-items:center;
    }

    .logo-footer{
        max-width:240px;
    }

    #map{
        width:100%;
        max-width:450px;
        height:220px;
        margin:0 auto;
    }

    .localizacao-conteudo{
    display:flex;
    flex-direction:column;
    gap:25px;

}

.divisoria-localizacao{
    display:none;
}

.endereco-footer{
    justify-content:center;
    text-align:center;
}

.mapa-footer{
    justify-content:center;
}

}

@media (max-width:768px){

    .rodape-verde .rodape-container{
        flex-direction:column;
        gap:20px;
        padding:0 20px;
    }

    .conteudo-footer{
        width:100%;
        padding:0;
    }

    .conteudo-footer:first-child{
        border-right:none;
        border-bottom:1px solid rgba(255,255,255,.25);
        padding-bottom:20px;
    }

    .titulo-footer h4{
        font-size:15px;
    }

    .conteudo-footer p{
        font-size:14px;
    }

    .col-emails h3,
    .col-localizacao h3{
        font-size:22px;
    }

    .col-emails a,
    .col-localizacao p{
        font-size:15px;
    }

}

@media (max-width:480px){

    .rodape-grid{
        padding:35px 15px;
    }

    .logo-footer{
        max-width:200px;
    }

    .caixa-redes{
        gap:15px;
    }

    .caixa-redes svg{
        width:24px;
        height:24px;
    }

    #map{
        height:190px;
    }

}