/* =====================================================
   1. BASE / RESET E VARIÁVEIS
===================================================== */
:root {
    /* Cores das Marcas */
    --verde-natura: #2e7d32;
    --roxo-avon: #8a2be2;
    --laranja-alerta: #ff6b00;
    --vermelho-destaque: #d60000;
    
    /* Configuração Atual (Mude aqui para mudar o site todo) */
    --cor-principal: #d60000; /* Padrão Leila Caviquioli */
    --cor-fundo: #f8f9fa;
    --whatsapp: #25d366;
    --text-dark: #333;
    --text-light: #555;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--cor-fundo);
    color: var(--text-dark);
    line-height: 1.6;
}

/* =====================================================
   2. ELEMENTOS DE TOPO E IMAGEM
===================================================== */
.topo-leila img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: var(--shadow);
}

header {
    background: var(--cor-principal);
    color: #fff;
    padding: 20px 15px;
    text-align: center;
}

/* =====================================================
   3. CONTAINERS E SEÇÕES
===================================================== */
section, .aviso-importante, .form-whats, .revistas {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

h2 {
    font-size: 1.2rem;
    color: var(--cor-principal);
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =====================================================
   4. BOTÕES DE LINKS (ESTILO APP)
==================================================== */
.botao-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.botao-links a {
    background: var(--cor-principal);
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-size: 1.05rem;
}

.botao-links a:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Estilo específico para avisos e dicas */
.voce-sabia {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
}

.cupom {
    background: #fff;
    border: 1px dashed var(--vermelho-destaque);
    padding: 2px 8px;
    font-weight: bold;
    color: var(--vermelho-destaque);
    border-radius: 4px;
}

/* =====================================================
   5. GRID DE PDFs (CORRIGIDO PARA O JS)
===================================================== */
#container-pdfs {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dois cards por linha */
    gap: 15px;
    margin-top: 15px;
}

.pdf-card {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.titulo-pdf {
    font-size: 0.85rem;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.botao-pdf {
    color: white;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

/* =====================================================
   6. FORMULÁRIO E CONTATO
===================================================== */
.form-whats input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.form-whats button {
    width: 100%;
    background: var(--whatsapp);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
}

.botao-contato {
    display: block;
    background: var(--laranja-alerta);
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 10px;
}

/* =====================================================
   7. LISTA DE LINKS RÁPIDOS
===================================================== */
ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

ul li a {
    background: #f1f1f1;
    display: block;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
}

/* =====================================================
   8. RODAPÉ E REDES SOCIAIS
===================================================== */
footer {
    background: #222;
    color: #fff;
    padding: 30px 15px;
    text-align: center;
    margin-top: 40px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    color: white;
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--cor-principal);
    transform: scale(1.1);
}

/* =====================================================
   9. RESPONSIVIDADE
===================================================== */
@media (max-width: 480px) {
    #container-pdfs, ul {
        grid-template-columns: 1fr; /* Uma coluna no celular bem pequeno */
    }
    
    section, .aviso-importante, .form-whats {
        margin: 10px;
        padding: 15px;
    }
}