/* ==========================================================================
   Nutrilusa - Estilos Principais (CSS)
   ========================================================================== */

/* Resets e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #2d3748;
    background-color: #f8faf9;
    line-height: 1.6;
}

/* Cabeçalho / Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 7%;
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.7rem;
    font-weight: 700;
    color: #2e7d32;
    letter-spacing: -0.5px;
}

.logo span {
    color: #1b5e20;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.navbar nav a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.navbar nav a:hover {
    color: #2e7d32;
}

/* Correção de Contraste para o Botão da Navbar */
.navbar nav a.btn-primary {
    background-color: #2e7d32;
    color: #ffffff !important; /* Força o texto a branco para contraste perfeito */
    padding: 0.65rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.2);
}

.navbar nav a.btn-primary:hover {
    background-color: #1b5e20;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Apresentação (Hero Section) */
.hero {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 5.5rem 5%;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    background-color: #ffffff;
    color: #2e7d32;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.hero h1 {
    font-size: 2.6rem;
    color: #1b5e20;
    margin-bottom: 1.2rem;
    line-height: 1.25;
    font-weight: 700;
}

.hero p {
    font-size: 1.15rem;
    color: #374151;
    margin-bottom: 2.2rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero {
    background-color: #2e7d32;
    color: #ffffff !important;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.25);
}

.btn-hero:hover {
    background-color: #1b5e20;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #ffffff;
    color: #2e7d32;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.2s ease;
    border: 1px solid #c8e6c9;
}

.btn-secondary:hover {
    background-color: #f1f8e9;
    transform: translateY(-2px);
}

/* Títulos de Seção */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.section-header h2 {
    font-size: 2.1rem;
    color: #1b5e20;
    margin-bottom: 0.6rem;
}

.section-header p {
    color: #6b7280;
    font-size: 1rem;
}

/* Grade de Produtos (Afiliação) */
.products {
    padding: 5rem 7%;
    max-width: 1280px;
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 2rem;
}

.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.8rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.card-tag {
    align-self: flex-start;
    background-color: #e8f5e9;
    color: #2e7d32;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    color: #111827;
}

.card p {
    font-size: 0.92rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

/* Caixa de Cupão de Desconto */
.coupon-box {
    background-color: #f0fdf4;
    border: 1px dashed #4ade80;
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.coupon-label {
    display: block;
    font-size: 0.75rem;
    color: #166534;
    font-weight: 600;
    text-transform: uppercase;
}

.coupon-code {
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #15803d;
    letter-spacing: 1px;
    margin: 0.2rem 0;
}

.coupon-discount {
    display: block;
    font-size: 0.8rem;
    color: #166534;
}

.price-container {
    margin-bottom: 1.2rem;
}

.price-label {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2e7d32;
}

.btn-card {
    display: block;
    text-align: center;
    text-decoration: none;
    background-color: transparent;
    border: 2px solid #2e7d32;
    color: #2e7d32;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-card:hover {
    background-color: #2e7d32;
    color: #ffffff;
}

/* Seção de Artigos / Blog */
.articles-section {
    background-color: #ffffff;
    padding: 5rem 7%;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.article-card {
    background-color: #f9fafb;
    border-radius: 10px;
    padding: 1.8rem;
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-meta {
    font-size: 0.8rem;
    color: #2e7d32;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.article-card h3 {
    font-size: 1.15rem;
    color: #1f2937;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.article-card p {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.article-link {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.article-link:hover {
    text-decoration: underline;
}

/* Seção Sobre Nós */
.about-section {
    padding: 4rem 7%;
    background-color: #f8faf9;
    text-align: center;
}

.about-content {
    max-width: 750px;
    margin: 0 auto;
}

.about-content h2 {
    color: #1b5e20;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-content p {
    color: #4b5563;
    font-size: 1rem;
}

/* Rodapé */
footer {
    background-color: #1b5e20;
    color: #d1fae5;
    padding: 3.5rem 7% 2rem 7%;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.footer-logo span {
    color: #81c784;
}

.copyright {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    color: #a7f3d0;
}

.affiliate-disclaimer, .health-disclaimer {
    font-size: 0.78rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #a7f3d0;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsividade */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .navbar nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}
/* Estilos Específicos para Páginas de Artigos */
.article-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 5%;
}

.back-link {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.back-link:hover {
    text-decoration: underline;
}

.article-header h1 {
    font-size: 2.2rem;
    color: #1b5e20;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.article-body {
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.8;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: #1f2937;
}

.article-body h2 {
    font-size: 1.5rem;
    color: #1b5e20;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
/* Remove o sublinhado e estilos padrão de link do logótipo */
.logo-link {
    text-decoration: none;
    display: inline-block;
}