/* VARIÁVEIS GLOBAIS */
:root {
    --light-theme: #66cc66;
    --dark-theme: #2e7d01;
    --light-bg: #f9f9f9;
    --dark-bg: #cecece;
    --medium-dark-bg: #f0f0f0;
    --light-font: #888;
    --dark-font: #333;
    --dark-theme-font: #207700; 
    --light-gradient-theme: linear-gradient(to right,#66cc66,#99cc33);
    --dark-gradient-theme: linear-gradient(to right, #67c136, #2e7d01);
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-font);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.faixa{
    height: 33px; 
    padding: 0% 5% 0% 5%; 
    background-color: var(--dark-bg);
}
.faixa a{
    color: #ffffff; 
    font-size: 11pt;
    font-weight: bold; 
    float: right; 
    margin-top: 2px; 
    padding: 4px 2% 4px 2%; 
}

/* HEADER */
header {
    padding: 20px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    width: 250px;
    height: 61px;
    float: left;
    background: url("../img/logo-mobile.png") no-repeat;
    font-size: 0;
}

.btn-menu {
    display: none;
    background-color: transparent;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

/* MENU desktop */
.menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu ul {
    display: flex;
    gap: 10px;
    list-style: none;
}

.menu ul li a {
    color: var(--light-font);
    text-decoration: none;
    font-weight: bold;
    padding: 15px;
    transition: background-color 1s
}

/* BORDA NO HOVER */
.menu ul li a:hover {
    color: white;
    background-color: var(--dark-bg);
}

/* Botão fechar no menu mobile */
.btn-close {
    display: none;
    background-color: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

/* BOTÕES E GRADIENTES */

.bg-cor {
    background-color: #FFF;
}

.radius {
    border-radius: 7px;
}

/* HERO */
#hero {
    display: flex;
    background-image: var(--dark-gradient-theme);
    color: white;
    padding: 64px 0;
    text-align: left;
}

.banner {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.banner-itens {
    width: 100%;
    max-width: 550px;
}

.banner-itens img {
    width: 100%;
    height: auto;
    display: block;
}

#banner-left h2 {
    font-size: 2.5rem;
    margin-top: 32px;
    margin-bottom: 32px;
}

#banner-left h3 {
    margin-bottom: 48px;
}

#banner-left a {
    margin-bottom: 48px;
}

.close-btn {
    margin-top: 15px;
    cursor: pointer;
    color: white;
    background-color: #007bff;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
}

/* BOTÕES GERAIS */
.btn {
    background-color: var(--light-theme);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--dark-theme);
}

/* TEXTOS E SEÇÕES */
.texto {
    padding: 100px 0;
    text-align: center;
    font-size: 2.5rem;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
}

#img-texto {
    background-color: var(--medium-dark-bg);
}

#img-texto img {
    height: auto;
}

#img-texto p {
    flex: 1;
    font-size: 2rem;
}

/* BENEFITS */
#benefits {
    background-color: var(--medium-dark-bg);
    padding: 50px 0;
    text-align: center;
}

#benefits h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark-theme);
}

.benefits-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.benefit {
    width: 100%;
    max-width: 350px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.benefit h3 {
    font-size: 1.5rem;
    color: var(--dark-theme);
    margin-bottom: 15px;
}

/* FEATURES */
#features {
    padding: 50px 0;
    background-color: var(--medium-dark-bg);
    text-align: center;
}

#features h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark-theme);
}

.features-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.feature {
    width: 100%;
    max-width: 350px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.feature img {
    max-width: 300px;
    margin-top: 15px;
}

.feature h3 {
    font-size: 1.5rem;
    color: var(--dark-theme);
    margin-bottom: 10px;
}

/* WHATSAPP BUTTON */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-button img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.whatsapp-button img:hover {
    transform: scale(1.1);
}

/* FOOTER */
footer {
    background-color: var(--dark-theme);
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

/* OVERLAY MENU MOBILE */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {

    .flex-container {
        flex-direction: column;
        text-align: center;
    }

    .btn-menu {
        display: flex;;
        width: 58px;
        height: 58px;
        background: var(--light-gradient-theme);
        border-radius: 50%; /* círculo */
        align-items: center;
        justify-content: center;
        transition: background 0.3s ease, transform 0.2s ease;
    }

    /* efeito ao tocar/clicar */
    .btn-menu:hover {
        background: var(--dark-theme);
        transform: scale(1.05);
    }

    .menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        
        z-index: 999;

        /* CENTRALIZAÇÃO */
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;

        padding-top: 10vh;
       
    }

    .menu.show {
        display: flex;
    }

    .btn-close {
        display: block;
        top: 20px;
        right: 25px;
    }

    .menu ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .menu ul li a {
        color: white;
        font-size: 1.6rem;
        padding: 14px 28px;
    }

    .menu ul li a:hover {
        color: var(--light-theme);
        border: 2px solid var(--light-theme);
        border-radius: 6px;
        background-color: unset;
    }

    #hero {
        text-align: center;
    }

    #banner-left {
        padding-bottom: 32px;
    }

    #banner-left h2 {
        margin-top: 0px;
    }

    .banner-itens img {
        max-width: 100%;
    }

    #img-texto img {
        width: 450px;
    }
}
