@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
}

::-webkit-scrollbar-track {
    background-color: #e8eee6;
}

::-webkit-scrollbar {
    width: 8px;
    background: #0d570f;
}

::-webkit-scrollbar-thumb {
    background: #62ad7f;
}

::selection {
    background-color: #0a530a78;
    /* Cor do fundo da seleção */
    color: white;
    /* Cor do texto quando selecionado */
}

header {
    height: 80px;
    width: 100%;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 999;
}

.header-content {
    width: 70%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 170px;
    height: auto;
    cursor: pointer;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 18px;
}

nav a:hover {
    color: #0d570f;
}

header button {
    border: none;
    background-color: transparent;
}

.header__botoes {
    display: flex;
    gap: 20px;
}

.header__botoes button {
    font-size: 20px;
}

.selected {
    border-bottom: 2px solid #54856b;
    margin-top: 7.5px;
    padding-bottom: 5px;
    border-radius: 2px;
}

.hero {
    background-color: #54856b;
    width: 100%;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 150px;
    margin-top: 100px;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
}

.hero h1 {
    font-size: 50px;
    color: #fcfcfc;
    text-align: left;
}

.hero p {
    color: rgba(255, 255, 255, 0.596);
    font-size: 17px;
}

.botao-principal {
    border: none;
    color: #54856b;
    background-color: rgb(255, 255, 255);
    padding: 15px 15px 15px 15px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 20px;
}

.botao-principal:hover {
    background-color: #cee4d8;
}

.contatos {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.insta {
    width: 40px;
}

.whats {
    width: 40px;
}

.hero__video {
    display: flex;
    justify-content: center;
    align-items: center;
}

video {
    width: 300px;
    border-radius: 10px;
}

.servicos {
    width: 70%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.servicos h1,
.informacoes h1 {
    margin-top: 100px;
    text-align: center;
    font-size: 40px;
    border-bottom: 7px dotted #54856ba9;
    width: 400px;
}

.servicos__cards {
    margin-top: 80px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.servicos__card {
    width: 350px;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.servicos__card img {
    border-radius: 10px;
}

.servicos__card h2 {
    text-align: left;
    font-size: 23px;
    margin-top: 10px;
}

.servicos__card p {
    text-align: justify;
    margin-top: 5px;
}

.sobrenos {
    background-color: #54856b;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 150px;
}

.sobrenos p {
    color: rgba(255, 255, 255, 0.765);
    max-width: 100rem;
    text-align: center;
    font-size: 23px;
}

.clientes {
    width: 100%;
    height: 250px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.clientes h1 {
    font-size: 40px;
}

.clientes img {
    width: 160px;
    margin-top: 30px;
}

.informacoes {
    max-width: 80vw;
    margin: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.informacoes__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 80px;
}

.informacoes__card {
    perspective: 1000px;
    width: 320px;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transform-style: preserve-3d;
    transition: transform 0.8s;
    padding: 10px;
    box-sizing: border-box;
}

.card-front,
.card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
}

.card-back {
    transform: rotateY(180deg);
}

.informacoes__card.flipped .card-content {
    transform: rotateY(180deg);
}

.btn-toggle {
    display: inline-block;
    margin-top: 10px;
    padding: 12px;
    background-color: #54856b;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-toggle:hover {
    background-color: #416652;
}

button {
    cursor: pointer;
}

.card-content p {
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
}

#agropalma {
    width: 160px;
}

#belem {
    width: 100px;
}

#phosfaz {
    width: 130px;
}

.cta {
    background-image: url('../assets/banner\ verde.png');
    background-size: 100%;
    background-position-y: 30%;
    text-align: center;
    width: 100%;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-top: 150px;
}

.cta__glass {
    /* From https://css.glass */
    background: rgba(3, 36, 14, 0.588);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: 70%;
    width: 80%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.cta h1 {
    font-size: 70px;
    color: #fff;
}

.cta p {
    max-width: 90rem;
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
}

footer {
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 30px;
}

footer img {
    width: 150px;
}

footer p {
    margin-top: 15px;
}

@media screen and (max-width: 767px) {
    header {
        height: 65px;
        width: 100%;
        justify-content: left;
        padding: 0px 20px;
    }

    .header-content {
        width: 100%;
    }

    .logo {
        width: 140px;
    }

    nav {
        display: none;
    }

    .hero__container {
        margin-top: 20px;
        flex-direction: column;
        gap: 20px;
        padding: 10px;
    }

    .hero-left {
        text-align: center;
    }

    .hero-left h1 {
        font-size: 30px;
        text-align: center;
        margin-top: 30px;
    }

    .hero-right {
        width: 270px;
        height: 130px;
    }

    .botao-principal {
        width: 190px;
        height: 40px;
        padding: 0;
        font-size: 18px;
    }

    .hero-right {
        display: none;
    }

    video {
        display: none;
    }

    .servicos h1,
    .informacoes h1 {
        font-size: 30px;
        width: 270px;
    }

    .servicos__card {
        width: 270px;
    }

    .servicos__card h2 {
        font-size: 21px;
        margin-top: 20px;
    }

    .sobrenos {
        padding: 5px;
        margin-top: 100px;
    }

    .sobrenos p {
        font-size: 14px;
    }

    .clientes {
        padding: 10px;
        height: 400px;
        justify-content: center;
        align-items: center;
    }

    .clientes h1 {
        font-size: 28px;
    }

    .clientes__imagens {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    .clientes img {
        width: 70px;
    }

    .cta {
        height: 35rem;
        background-repeat: no-repeat;
        background-size: 400%;
        background-position-x: center;
        margin-top: 50px;
    }

    .cta__glass {
        height: 520px;
        width: 90%;
        gap: 20px;
        padding: 20px;
    }

    .cta h1 {
        font-size: 29px;
    }

    .cta p {
        font-size: 14px;
        text-align: justify;
    }

    footer {
        text-align: center;
        font-size: 12px;
        padding: 5px;
    }

    footer p {
        margin-top: 5px;
    }

    .btn-container {
        flex-direction: column;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    header {
        height: 65px;
        width: 100%;
        justify-content: left;
        padding: 0px 50px;
    }

    nav {
        display: none;
    }

    .hero__container {
        margin-top: 0px;
        flex-direction: column;
        gap: 20px;
        padding-top: 100px;
    }

    .hero-left {
        text-align: center;
    }

    .hero-left h1 {
        font-size: 42px;
        text-align: center;
    }

    .hero-left p {
        font-size: 19px;
        text-align: center;
    }

    .hero-right {
        width: 270px;
        height: 130px;
    }

    .botao-principal {
        width: 190px;
        height: 40px;
        padding: 0;
        font-size: 18px;
    }

    .hero-right {
        display: none;
    }

    video {
        display: none;
    }

    .servicos {
        width: 100%;
    }

    .servicos__card {
        width: 250px;
    }

    .sobrenos {
        padding: 10px;
        margin-top: 50px;
    }

    .sobrenos p {
        font-size: 18px;
    }

    .clientes {
        padding: 10px;
        height: 350px;
        justify-content: center;
        align-items: center;
    }

    .clientes__imagens {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    .clientes img {
        width: 80px;
    }

    .informacoes {
        width: 100%;
    }

    .informacoes__cards {
        width: 100%;
        justify-content: space-around;
    }

    .informacoes__card {
        width: 285px;
    }

    .cta {
        height: 30rem;
        background-repeat: no-repeat;
        background-size: 150%;
        background-position-x: center;
        margin-top: 50px;
    }

    .cta__glass {
        height: 440px;
        width: 90%;
        gap: 25px;
        padding: 20px;
    }

    .cta h1 {
        font-size: 38px;
    }

    .cta p {
        font-size: 17px;
        text-align: justify;
    }

    footer {
        text-align: center;
        font-size: 12px;
        padding: 5px;
    }
}

.btn-container {
    display: flex;
    gap: 8px;
}

#portfolio {
    text-decoration: none;
    color: #54856b;
}