/*
Theme Name: Bekopaper Artesanal
Theme URI: http://seu-dominio.com.br
Description: Tema elegante e orgânico para papelaria artesanal, com identidade visual da artista Samanta.
Version: 1.3 (Ajuste fino da seção Hero)
Author: Beco
*/

/* --- 1. Configurações Globais e Tipografia --- */
@font-face {
    font-family: 'SamantaHand';
    src: url('fonts/Acomicsamok-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-principal: #f3eada;     /* Cor base Papel Pólen Bold */
    --bg-secundario: #e8dcc8;    
    --bg-card: #ffffff;          
    --texto-claro: #3d352a;      /* Marrom café */
    --texto-mutado: #8a7e70;     
    --cor-detalhe: #a67c52;      /* Bronze/Couro */
    --cor-detalhe-hover: #825f3c;
    --borda: #d6ccb9;            
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: 'Georgia', serif; 
    color: var(--texto-claro); 
    line-height: 1.7;
    /* Textura de papel */
    background-image: 
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100" height="100" filter="url(%23noise)" opacity="0.05"/></svg>'), 
        linear-gradient(to bottom, #f3eada, #efe3d2);
    background-repeat: repeat;
}

a { color: inherit; text-decoration: none; transition: 0.3s; }

/* --- 2. Cabeçalho e Menu --- */
header { 
    background-color: rgba(243, 234, 218, 0.95); 
    border-bottom: 1px solid var(--borda); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}
.nav-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 20px; 
}
.logo h1 {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    color: var(--texto-claro);
}
.menu ul {
    list-style: none;
    display: flex;
    gap: 25px; 
    align-items: center;
}
.menu ul li a { 
    font-family: 'SamantaHand', cursive; 
    font-size: 1.3rem; 
    font-weight: normal !important; 
    color: var(--texto-claro) !important; 
}
.menu ul li a:hover { 
    color: var(--cor-detalhe) !important; 
}

/* Carrinho / Caderno de Pedidos Unificado */
.menu-item-carrinho a {
    font-weight: normal !important; 
    color: var(--texto-claro) !important; 
}
.menu-item-carrinho a:hover {
    color: var(--cor-detalhe) !important;
}
.carrinho-contador {
    background: var(--cor-detalhe);
    color: #fff;
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 0.8rem;
    margin-left: 5px;
    font-family: sans-serif; 
}

/* --- 3. Hero Section (Ajustado para Legibilidade) --- */
.hero { 
    position: relative; 
    height: 70vh; /* Aumentado ligeiramente para dar mais imponência */
    min-height: 450px;
    /* Combinação de uma máscara escura gradiente + a sua imagem de fundo */
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('https://lightseagreen-cassowary-918906.hostingersite.com/wp-content/uploads/2026/07/Print-scaled.jpg');
    background-size: cover;
    background-position: center;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-bottom: 2px solid var(--cor-detalhe);
    text-align: center;
    padding: 0 20px;
}
.hero-conteudo {
    max-width: 700px;
}
.hero h1 { 
    font-family: 'Georgia', serif; 
    font-size: 4rem; 
    margin-bottom: 15px; 
    color: #ffffff; /* Texto branco para destacar no fundo escurecido */
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}
.hero p { 
    font-family: 'SamantaHand', cursive; 
    font-size: 1.8rem; 
    color: #f3eada; /* Tom pólen bem clarinho para o subtítulo */
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
.hero .btn-principal { 
    display: inline-block; 
    border: 2px solid #ffffff;
    color: #ffffff; 
    padding: 12px 35px; 
    font-family: 'SamantaHand', cursive;
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px); /* Efeito fosco moderno atrás do botão */
    transition: 0.3s; 
    text-transform: uppercase;
}
.hero .btn-principal:hover { 
    background-color: #ffffff; 
    color: var(--texto-claro); 
}

/* --- 4. Cards e Galeria --- */
.secao { padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
.titulo-secao { font-family: 'Georgia', serif; font-size: 2rem; margin-bottom: 40px; text-align: center; }

.galeria-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; }
.card-post, .card-produto { 
    background-color: var(--bg-card); 
    border: 1px solid var(--borda); 
    border-radius: 2px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.2s;
}
.card-post:hover, .card-produto:hover { transform: translateY(-5px); }

.img-quadrada { width: 100%; aspect-ratio: 1 / 1; background-color: var(--bg-secundario); overflow: hidden; }
.img-quadrada img { width: 100%; height: 100%; object-fit: cover; }
.sem-foto { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--texto-mutado); font-family: 'SamantaHand', cursive; }
.preco { font-family: 'SamantaHand', cursive; color: var(--cor-detalhe); font-size: 1.6rem; margin-top: 10px; }

/* --- 5. WooCommerce --- */
.woocommerce .button { 
    background-color: transparent !important; 
    color: var(--cor-detalhe) !important; 
    border: 1px solid var(--cor-detalhe) !important; 
    font-family: 'SamantaHand', cursive !important;
    font-size: 1.1rem !important;
    border-radius: 0 !important;
    cursor: pointer;
}
.woocommerce .button:hover { background-color: var(--cor-detalhe) !important; color: #fff !important; }

/* --- 6. Rodapé --- */
.site-footer { background-color: #e8dcc8; padding: 60px 20px; border-top: 1px solid var(--borda); }
.footer-container { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-coluna { flex: 1; min-width: 250px; text-align: left; }
.footer-coluna h3 { font-family: 'Georgia', serif; color: var(--texto-claro); font-size: 1.2rem; margin-bottom: 20px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-family: 'SamantaHand', cursive; font-size: 1.3rem; color: var(--texto-claro); transition: color 0.2s; }
.footer-links a:hover { color: var(--cor-detalhe); }
.footer-copyright { text-align: center; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--borda); color: var(--texto-mutado); }

/* --- 7. Responsividade --- */
@media (max-width: 768px) { 
    .nav-container { flex-direction: column; gap: 20px; text-align: center; } 
    .menu ul { flex-direction: column; gap: 15px; }
    .footer-container { flex-direction: column; text-align: center; }
    .footer-coluna { text-align: center; }
}