@charset "utf-8";
/* Paleta de Cores: */
/* Azul: #007bff (ou um tom semelhante do logo) */
/* Verde: #28a745 (ou um tom semelhante do logo) */
/* Cinza escuro para texto: #333 */
/* Fundo claro: #f8f9fa */

/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px; /* Ajuste o tamanho do logo */
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-nav a {
    text-decoration: none;
    color: #555;
    font-weight: 700;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #007bff; /* Cor azul do logo */
}

/* Seções de Conteúdo */
section {
    padding: 4rem 0;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    color: #007bff; /* Título principal em azul */
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #007bff, #28a745); /* Gradiente azul e verde */
    color: #fff;
    text-align: center;
    padding: 6rem 0;
}

.hero h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    background: #fff;
    color: #007bff;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
}

.btn:hover {
    background: #f0f0f0;
}

.btn-secondary {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background: #218838;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.product-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.product-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.product-item h3 {
    color: #333;
    font-size: 1.2rem;
}

.product-item p {
    font-size: 0.9rem;
    color: #666;
}

.product-link {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
    font-weight: 700;
}

/* Benefícios */
.benefits ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.benefits li {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex: 1 1 200px; /* Faz os itens se ajustarem */
}

/* Filtros de Categoria */
.filter-section {
    margin-bottom: 3rem;
    text-align: center; /* Centraliza a seção */
}

.filter-section h3 {
    text-align: center;
    color: #007bff; /* Título principal em azul */
    margin-bottom: 1rem;
}

.category-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.category-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.category-link:hover, .category-link.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* Seção de Contato */
.contact-section {
    text-align: center;
}

.contact-subtitle {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

/* Mensagens de status */
.message-success {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.message-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

/* Estilo para as mensagens de erro do JavaScript (NOVO) */
.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Rodapé */
footer {
    background: #007bff;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}

/* Responsividade */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }
}
