:root {
    font-family: "Montserrat", sans-serif;

    scroll-behavior: smooth;
    
    /* Variavéis do site */
    --main-color: #212121;
    --second-color: #f6b53c;
    --third-bg-color: #eaeaea;
    --third-color: #82B443;
    --main-text-color: #000000;

}

h1 {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: "Titillium Web", sans-serif;
    margin-bottom: 30px;
}

p {
    line-height: 20pt;
}

.btn {
    background-color: var(--second-color);
    color: var(--main-text-color);
    padding: 20px 45px;
    font-weight: 600;
}

.container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 50px 150px;
}

header > nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1050px;
    margin: 0 auto;
    padding: 25px 150px;
}

header > nav .logo-aggrebind-latam {
    width: 250px;
    margin-left: -15px;
}

header > nav > .links {
    display: flex;
    gap: 8px;
    padding-top: 16px;
    text-transform: uppercase;
    font-family: "Titillium Web", sans-serif;
}

header > nav > div a {
    text-decoration: none;
    color: var(--main-text-color);
    font-weight: 600;
    padding: 10px;
}

header > nav > div a:hover {
    color: var(--third-color);
    transition: 0.5s;
    /* font-weight: 800; */
}

header > nav > .div-btn-menu-hamburguer {
    display: none;
}

header > nav > .div-btn-menu-hamburguer svg {
    width: 35px;
}

header > nav .nav-contato {
    background-color: var(--third-color);
}

header > nav .nav-contato:hover {
    color: #000000;
}
main > .section-principal {
    background-color: rgb(0, 0, 0);
}

main > .section-principal {
    background-image: url(../img/banner-01.png);
    background-size: 600px;
    background-repeat: no-repeat;
    height: 560px;
}

main > .section-principal > div {
    padding-top: 100px;
    display: flex;
}

.div-img-barril {
    width: 100%;
}

main > .section-principal > div h1 {
    /* text-transform: uppercase; */
    max-width: 800px;
    line-height: 34pt;
    margin-bottom: 10px;
    color: var(--third-color);
    font-size: 2.4rem;
}

main > .section-principal > div p {
    color: white;
    margin-bottom: 50px;
}

/* main > .section-principal > div b {
    font-weight: 500;
    color: white;
} */

main > .section-principal img {
    max-width: 440px;
    display: none;
}

/* main > .section-sobre {
    background-image: url(../img/pistas.png);
    background-size: 450px;
    background-position-x: 180px;
    background-position-y: -5px;
    background-position-x: right;
    background-repeat: no-repeat;
}

main > .section-sobre h1, p {
    width: 85%;
} */

main > .section-sobre {
    /* padding-bottom: 30px; */
    background-image: url(../img/pistas.png);
    background-repeat: no-repeat;
    background-position: right;
    background-position-y: -2px;
    background-size: 350px;
}


main > .section-sobre p {
    margin-bottom: 10px;
    width: 85%;
}

main > .section-vantagens {
    background-color: var(--third-bg-color);
}

main > .section-vantagens > div {
    display: flex;
    gap: 5%;
}

main > .section-vantagens > div img {   
    width: 200px;
    margin-bottom: 15px;
}

main > .section-vantagens > div h1 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* main > .section-vantagens > div p {
    text-align: justify
} */

main > .section-comunidade {
    display: flex;
    align-items: center;
    margin-top: 50px;
}

.div-comunidade-img {
    padding: 30px;
    box-shadow: 0 2px 18px 0 rgba(0, 0, 0, .3);
    height: 100%;
}

.div-texto-comunidade {
    padding-left: 50px;
}

main > .section-comunidade img {
    max-width: 400px;
    /* border: 10px solid var(--third-color); */
}

main > .section-sobre-o-trabalho > div {
    display: flex;
    gap: 20px;
    margin-top: 50px;
}


main > .section-sobre-o-trabalho strong {
    font-weight: 800;
}

main > .section-sobre-o-trabalho img {
    width: 70px;
}

main > .section-sobre-o-trabalho .tkd {
    margin-bottom: 70px;
}

main > .section-sobre-o-trabalho h2 {
    font-weight: 800;
}

.section-projetos {
    background-color: #000000;
    color: white;
    padding: 50px 0;
}

.section-contatos img {
    padding-top: 60px;
    padding-left: 30px;
}

main > .section-projetos > div h1 {
    font-size: 1.5rem;
}

main > .section-projetos > div > div {
    display: flex;
    gap: 5%;
    margin-bottom: 60px;
}

/* main > .section-projetos > div > div > div {
    display: flex ;
    flex-direction: column;
    justify-content: space-between;
} */

main > .section-projetos > div img {
    width: 100%;
    margin-bottom: 15px;
}

main > .section-contatos {
    display: flex;
    justify-content: center;
    padding: 80px 0;
}

main > .section-solucoes > div {
    display: flex;
    gap: 5%;
}

main > .section-solucoes > div h1 {
    font-size: 1rem;
    margin-top: 20px;
    margin-bottom: 20px;
}

main > .section-solucoes iframe {
    width: 200px;
}

.form-container {
    /* background-color: #ffffff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    width: 100%;
}
.form-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333333;
    /* text-align: center; */
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #555555;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 20px;
    font-size: 14px;
    /* border: 1px solid #cccccc; */
    border: none;
    background-color: rgb(235, 235, 235);
    /* border-radius: 5px; */
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #d2a500;
}
.form-group-inline {
    display: flex;
    gap: 20px;
}
.form-group-inline .form-group {
    flex: 1;
}
.form-group textarea {
    resize: none;
    height: 100px;
}
.btn:hover {
    background-color: #b38600;
}

.form-container button {
    border: none;
}

.div-texto-principal {
    padding-left: 15%;
}

.section-noticias {
    background-color: #eaeaea;
}

.noticias-eventos {
    display: flex;
    gap: 5%;
}

.noticias-eventos > div {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
}

.noticias-eventos img {
    width: 100%;
}

/* #country {
    width: 102%;
} */

footer {
    background-color: var(--main-color);
    color: white;
}

footer a {
    color: white;
    padding-bottom: 20px;
    line-height: 30px;
}

footer h1 {
    color: var(--second-color);
    font-size: 1.2rem;
}

footer img {
    width: 250px;
    margin-bottom: 30px;
}

footer > .tke  {
    display: flex;
    gap: 100px;
}

footer .tkb {
    padding-top: 0;
}

footer .tkb > div {
    display: flex;
    margin-top: 50px;
    justify-content: space-between;
}

footer .tkb > div img {
    width: 28px;
    padding: 0px 8px;
}

/* Estilizando os passos */
.step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    /* margin-bottom: 30px; */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.3s ease, transform 1.3s ease;
}

/* Quando visível na rolagem */
.step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Estilo do Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* Fundo branco */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Conteúdo centralizado */
.preloader-content {
    text-align: center;
}

/* Estilo da barra de carregamento */
.loading-bar {
    position: relative;
    width: 200px;
    height: 8px;
    background-color: #d9d9d9; /* Fundo da barra */
    margin: 20px auto 0;
    border-radius: 4px;
    overflow: hidden;
}

/* Progresso dentro da barra */
.progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #82b540; /* Cor do progresso */
    animation: load-progress 3s linear forwards;
    border-radius: 4px;
}

.language-selector {
    position: relative;
    display: inline-block;
    font-family: Arial, sans-serif;
  }
  
  .selected {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .selected:hover {
    background-color: rgb(238, 238, 238);
    transition: 1s;
  }
  
  .selected .arrow {
    margin-left: auto;
  }
  
  .flag {
    width: 20px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
  }
  
  .options {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: none;
    z-index: 10;
    width: 100%;
  }
  
  .options li {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .options li:hover {
    background-color: #f0f0f0;
  }
  
  .options li:active {
    background-color: #ddd;
  }
  

/* Animação do progresso */
@keyframes load-progress {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

/* Ocultar o conteúdo principal enquanto o preloader está ativo */
.main-content {
    display: none;
}

@media (max-width: 1350px) {
    header > nav > div a {
        font-size: 13px;
    }
}


/* Estilo Responsivo */
@media (max-width: 1250px) {

    main > .section-projetos > div > div {
        flex-wrap: wrap;
    }

    .btn {
        background-color: var(--second-color);
        color: var(--main-text-color);
        padding: 20px 25px;
        font-size: 12px;
        font-weight: 600;
    }

    main > .section-principal > div h1 {
        /* text-transform: uppercase; */
        font-size: 1.8rem;
    }

    header > nav .logo-aggrebind-latam {
        width: 90%;
        margin-left: -15px;
    }

    .form-container {
        width: 70%;
    }

    main > .section-sobre {
        background-image: none;
    }

    .section-contatos img {
        padding-top: 60px;
        padding-left: 30px;
        width: 70%;
    }

    main > .section-sobre p {
        margin-bottom: 10px;
        width: 100%;
    }

    h1 {
        font-size: 1.6rem;
    }

    main > .section-principal > div {
        padding-top: 70px;
        padding-bottom: 100px;
        display: block;
    }

    .div-texto-principal {
        padding-left: 0;
    }

    header > nav > .links {
        display: none;
    }

    header > nav > .div-btn-menu-hamburguer {
        display: block;
    }

    main > .section-contatos {
        flex-wrap: wrap;
    }

    header > nav {
        padding: 20px 40px;
    }

    main > .section-vantagens > div {
        gap: 40px;
        flex-direction: column;
    }

    main > .section-comunidade {
        flex-direction: column;
    }

    main > .section-projetos > div {
        gap: 40px;
        flex-direction: column;
    }

    footer > .tke {
        gap: 50px;
        flex-direction: column;
    }

    footer .tkb > div {
        margin-top: 50px;
        flex-direction: column;
        gap: 20px;
    }

    .container {
        max-width: 1050px;
        margin: 0 auto;
        padding: 40px;
    }

    main > .section-principal img {
        max-width: 100%;
        margin-top: 50px;
    }

    main > .section-principal {
        height: auto;
        padding-bottom: 0px;
        background-image: none;
    }

    main > .section-comunidade img {
        width: 100%;
        padding: 0;
    }

    
.div-texto-comunidade {
    padding-left: 0;
    margin-top: 50px;
}
    
    main > .section-sobre-o-trabalho img {
        width: 30px;
    }

    main > .section-sobre-o-trabalho {
        font-size: 0.9rem;
    }

    main > .section-solucoes iframe {
        width: 100%;
        height: 250px;
    }

    main > .section-solucoes > div {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    

    /* Estilo no menu hamburguer */
    #menu-links {
        position: absolute;
        top: 160px;
        left: 0;
        width: 100%;
        background-color: rgb(237, 237, 237);
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 50px;
        padding: 0;
        opacity: 0; /* Transparente inicialmente */
        height: 0; /* Altura zero inicialmente */
        overflow: hidden;
        transition: opacity 0.3s ease-in-out, height 0.3s ease-in-out;
        z-index: 10;
    }
    
    #menu-links.active {
        display: flex; /* Torna o menu visível */
        opacity: 1; /* Torna opaco */
        height: auto; /* Expande até o tamanho do conteúdo */
        padding: 50px 0;
        margin-top: -18px;
    }
    
    #menu-links a {
        color: var(--main-text-color);
        font-size: 18px;
        text-decoration: none;
    }
    /* Fim do estilo menu hamburguer */
  }

@media (max-width: 1150px) {

    main > .section-projetos > div h1 {
        text-align: left;
    }

    #preloader img {
        width: 80%;
    }
}