﻿/* --- CONFIGURAÇÕES GLOBAIS --- */
:root {
    --verde-musgo: #4A5D4E;
    --laranja: #FF8C00;
    --texto: #444;
    --branco: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--texto);
    background-color: var(--branco);
    overflow-x: hidden;
}

/* --- HEADER --- */
header {
    background: var(--branco);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--verde-musgo);
}
.logo img { height: 70px; width: auto; }
nav a { margin-left: 20px; text-decoration: none; color: var(--verde-musgo); font-weight: 600; }

/* --- TÍTULOS --- */
.section-title { text-align: center; padding: 40px 0 10px; color: var(--verde-musgo); }
.divisor { height: 4px; width: 60px; background: var(--laranja); margin: 0 auto 40px; }

/* --- A ESTRUTURA QUE NÃO PODE QUEBRAR --- */
.conteudo-texto {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* FORÇANDO A GRID A SER UMA LINHA */
.grid {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* FORÇANDO O CARD A TER TAMANHO FIXO */
.card {
    flex: 0 1 300px !important; /* Não deixa crescer além de 300px */
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--verde-musgo);
    margin-bottom: 20px;
    overflow: hidden; /* Corta o que sobrar da imagem */
    display: flex;
    flex-direction: column;
}

/* DOMANDO AS IMAGENS GIGANTES */
.card img {
    width: 300px !important;  /* Força a largura exata do card */
    height: 300px !important; /* Força uma altura quadrada */
    object-fit: cover !important; /* Faz a foto caber no quadrado sem esticar */
    display: block !important;
}

.card h4 { padding: 15px 10px 5px; color: var(--verde-musgo); text-align: center; }
.card p { padding: 0 15px 20px; font-size: 0.9rem; text-align: center; color: #666; }

/* BLOCO VERDE / INSTAGRAM */
.bg-verde {
    background: var(--verde-musgo);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
}
.btn-home { 
    display: inline-block; 
    background: var(--laranja); 
    color: white; 
    padding: 10px 20px; 
    text-decoration: none; 
    border-radius: 5px; 
    margin-top: 15px; 
}

/* WHATSAPP */
.whatsapp-float { position: fixed; bottom: 20px; right: 20px; z-index: 999; }