/*
Theme Name: Viva Cetogênica Pro
Theme URI: https://viva.cetogenica.com
Author: Seu Nome
Description: Tema focado em performance e SEO para nicho de saúde e receitas.
Version: 1.1
License: GNU General Public License v2 or later
Text Domain: viva-cetogenica
*/

/* 1. RESET E TIPOGRAFIA */
body {
    font-family: 'Helvetica', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2. HEADER E LOGO */
.site-header {
    background: #ffffff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 2px solid #27ae60;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
}

.logo a {
    text-decoration: none;
    color: #27ae60;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.logo p {
    margin: 0;
    font-size: 0.85rem;
    color: #7f8c8d;
}

/* 3. MENU DE NAVEGAÇÃO */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.main-navigation li {
    margin-left: 20px;
}

.main-navigation a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 5px;
}

.main-navigation a:hover {
    color: #27ae60;
    background: #eef9f1;
}

.main-navigation .current-menu-item a {
    color: #27ae60;
}

/* 4. BOTÃO DE DESTAQUE (DESAFIO KETO 7 DIAS) */
.main-navigation li:last-child a {
    background: #27ae60;
    color: #ffffff !important;
    padding: 10px 22px !important;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    margin-left: 10px;
}

.main-navigation li:last-child a:hover {
    background: #219150;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
    color: #fff !important;
}

/* 5. RESPONSIVIDADE (CELULARES E TABLETS) */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        text-align: center;
    }

    .main-navigation ul {
        margin-top: 20px;
        flex-direction: column;
        width: 100%;
    }

    .main-navigation li {
        margin: 8px 0;
        width: 100%;
    }

    .main-navigation li:last-child {
        margin-top: 15px;
    }

    .main-navigation li:last-child a {
        display: inline-block;
        margin-left: 0;
    }

    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.4rem; }

    .grid-layout {
        grid-template-columns: 1fr;
    }
/* --- ESTILO DO RODAPÉ (FOOTER) PROFISSIONAL --- */
.site-footer {
    background-color: #1e272e; /* Fundo escuro premium */
    color: #d2dae2;
    padding: 40px 0 15px; /* Reduzido para ocupar menos espaço vertical */
    margin-top: 50px;
    font-size: 0.9rem;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; /* 3 colunas horizontais */
    gap: 30px;
    margin-bottom: 25px;
}

.site-footer .footer-column h3, 
.site-footer .footer-column h4 {
    color: #27ae60; /* Destaque na cor da marca */
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-footer .footer-column p {
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.site-footer .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-column ul li {
    margin-bottom: 8px;
}

.site-footer .footer-column a {
    color: #d2dae2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer .footer-column a:hover {
    color: #27ae60;
}

/* Ícones Sociais */
.site-footer .social-icons {
    margin-top: 15px;
}

.site-footer .social-icons a {
    font-size: 1.4rem;
    margin-right: 15px;
    display: inline-block;
}

/* Ícones de Contato (E-mail e WhatsApp) */
.site-footer .footer-column p i {
    margin-right: 8px;
    color: #27ae60;
}

/* Linha final de Copyright */
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
    text-align: center;
    font-size: 0.8rem;
    color: #808e9b;
}

/* Responsividade (Celulares e Tablets) */
@media (max-width: 768px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr; /* Empilha tudo em 1 coluna no celular */
        text-align: center;
        gap: 30px;
    }
    .site-footer .social-icons a {
        margin: 0 10px;
    }
}