/* Reset e fontes */
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background-color: #f9fdfb;
    color: #333;
}

/* NAVBAR */
.navbar {
    background: linear-gradient(90deg, #29a849, #007b5f);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar .logo img {
    height: 55px;
}

.navbar .menu {
    display: flex;
    gap: 20px;
    list-style: none;
    transition: all 0.3s ease-in-out;
}

.menu li a {
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s;
}

.menu li a:hover {
    background-color: #6bd38a;
    color: #fff;
}

/* BOTÃO MENU MOBILE */
.menu-toggle {
    font-size: 28px;
    display: none;
    cursor: pointer;
    color: #fff;
}

/* CARROSSEL */
#carousel-imagens img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
}

/* SESSÃO DE CARDS */
.cards-section {
    padding: 60px 20px;
    text-align: center;
    background: #eafaf2;
}

.cards-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #14773a;
}

.cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    width: 300px;
    text-align: center;
    padding: 20px;
    text-decoration: none;
    color: #000;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.card img {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 15px;
}

/* TEXTO */
.content-text {
    padding: 50px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
    line-height: 1.6;
}

.content-text h2 {
    color: #007b5f;
    margin-bottom: 20px;
}

/* BOTÃO WHATSAPP */
.whatsapp-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #25d366;
    border-radius: 50%;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: pulse 2s infinite;
    transition: transform 0.2s;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button img {
    width: 28px;
    height: 28px;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* FOOTER */
.footer {
    background: linear-gradient(90deg, #007b5f, #29a849);
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 25px;
    text-align: center;
    width: 100%;   /* força ocupar toda largura */
    box-sizing: border-box;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #007b5f;
        padding: 20px 0;
        text-align: center;
    }

    .menu.show {
        display: flex;
        animation: fadeIn 0.4s ease-in-out;
    }

    .menu-toggle {
        display: block;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Ajustes para cards flip */
.card-flip {
    width: 280px;
    height: 360px;
    perspective: 1000px;
    margin: 10px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.card-flip:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-front {
    background: #2d9c7b;
    color: #fff;
}

.card-back {
    background: #36a391;
    color: #fff;
    transform: rotateY(180deg);
}

/* Animação scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
