/* ===== Fonte ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

:root {
    --primary-color: #ffffff;     /* Branco */
    --secondary-color: #f7f7f7;   /* Branco suave para fundo */
    --text-color: #3b3d2f;        /* Verde militar escuro para textos */
    --border-color: #6b8e23;      /* Verde oliva para bordas */
    --highlight-color: #556b2f;   /* Verde militar forte para botões e hover */
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* ===== Header ===== */
.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 3rem; /* espaço fixo entre centro e direita */
}


/* Área esquerda (WhatsApp) alinhada à esquerda */
.header-left {
    justify-self: start;
}

/* Área central com a logo principal */
.header-center {
    justify-self: center;
}

/* Central logo */
.header-center .logo {
    height: 60px;          /* altura controlada */
    max-width: 150px;      /* limite horizontal */
    object-fit: contain;   /* mantém proporção sem estourar */
}

/* WhatsApp */
.header-left img {
    height: 40px;          /* tamanho fixo */
    width: auto;
}

/* Área direita com ícone + nome alinhados à direita */
.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-self: end;
    margin-left: 2rem; /* dá um respiro da logo central */
}


/* Flor da direita */
.header-right .flower-icon {
    height: 35px;          /* tamanho fixo */
    width: auto;
}

/* Texto do nome do site */
.site-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
}

/* ===== Navegação ===== */
nav {
    text-align: center;
    margin-top: 1rem;
}

.nav-menu {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--highlight-color);
}

hr {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin: 1rem auto;
    width: 80%;
}

/* ===== Main ===== */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    margin-bottom: 3rem;
}

h2 {
    text-align: center;
    color: var(--text-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--border-color);
    margin: 0.5rem auto 0 auto;
    border-radius: 2px;
}

/* ===== Cards de Produto ===== */
.product-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.product-card {
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    width: 280px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.product-card h3 {
    color: var(--text-color);
    font-size: 1.4rem;
    margin: 0.5rem 0;
}

.buy-button {
    display: inline-block;
    background-color: var(--highlight-color);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.buy-button:hover {
    background-color: #445522;
    transform: scale(1.05);
}

/* ===== Seção Sobre ===== */
#sobre {
    text-align: center;
}

#sobre p {
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
}

.message {
    font-style: italic;
    font-weight: 600;
    color: var(--highlight-color);
    font-size: 1.1rem;
}

/* ===== Pré-Rodapé ===== */
.pre-footer-message {
    text-align: center;
    margin: 3rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

/* ===== Footer ===== */
footer {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--primary-color);
    color: var(--text-color);
    border-top: 2px solid var(--border-color);
}

.logo {
    width: 75px;
    background-color: white;
    border-radius: 50%;
    padding: 5px;
}

/* ===== Responsividade ===== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .product-gallery {
        flex-direction: column;
        align-items: center;
    }
}

