/* ARQUIVO: public/assets/css/style.css
   VERSÃO: 4.1 (Com Zoom de Produto)
*/

/* --- 1. RESET E VARIÁVEIS --- */
:root {
    --cor-primaria: #E12F2B;
    --cor-secundaria: #EA6F53;
    --cor-destaque: #FFD98F;
    --cor-fundo-suave: #fff7fb;
    --cor-cinza-claro: #e7dde8;
    --cor-texto: #333333;
    --cor-branco: #ffffff;
    
    --container-width: 1200px;
    --header-height: 90px;
    --shadow-suave: 0 4px 15px rgba(0,0,0,0.05);
    
    --font-principal: 'Nunito', sans-serif;
    --font-titulos: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-principal);
    color: var(--cor-texto);
    background-color: var(--cor-branco);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

/* --- 2. UTILITÁRIOS --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}
.section-padding { padding: 80px 0; }
.bg-suave { background-color: var(--cor-fundo-suave); }

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    text-align: center;
}
.btn-primary { background-color: var(--cor-primaria); color: var(--cor-branco); }
.btn-primary:hover { background-color: #b82320; transform: translateY(-2px); }

.btn-outline-white { border: 2px solid var(--cor-branco); color: var(--cor-branco); background: transparent; }
.btn-outline-white:hover { background-color: var(--cor-branco); color: var(--cor-primaria); }

.btn-secondary { border: 2px solid var(--cor-primaria); color: var(--cor-primaria); background: transparent; }

/* --- 3. HEADER (CABEÇALHO) --- */
.main-header {
    width: 100%;
    background: var(--cor-branco);
    box-shadow: var(--shadow-suave);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--cor-primaria);
    color: var(--cor-branco);
    padding: 8px 0;
    font-size: 0.85rem;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: var(--cor-branco); margin-right: 15px; }

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    position: relative; /* Importante para posicionamento */
}

.logo img { height: 36px; width: auto; }

/* Menu Desktop */
.main-nav { display: flex; align-items: center; height: 100%; }
.main-nav > ul { display: flex; gap: 20px; align-items: center; }

.main-nav > ul > li { position: relative; display: flex; align-items: center; height: 100%; }
.main-nav > ul > li > a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--cor-texto);
    padding: 10px 5px;
}
.main-nav > ul > li > a:hover { color: var(--cor-primaria); }

/* Submenu (Dropdown) */
.submenu {
    position: absolute;
    top: 80%; /* Ajuste fino */
    left: 0;
    background: var(--cor-branco);
    min-width: 240px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 3px solid var(--cor-primaria);
    display: none;
    z-index: 1100;
    padding: 10px 0;
    border-radius: 0 0 5px 5px;
}
.has-submenu:hover .submenu { display: block; }
.submenu li { width: 100%; display: block; height: auto; }
.submenu li a {
    padding: 12px 20px;
    font-size: 0.85rem;
    border-bottom: 1px solid #f5f5f5;
    width: 100%;
    display: block;
}
.submenu li a:hover { background: #f9f9f9; color: var(--cor-primaria); padding-left: 25px; border-left: 3px solid var(--cor-primaria); }

/* Botões Especiais no Menu */
.highlight-link {
    background-color: var(--cor-destaque);
    padding: 8px 18px !important;
    border-radius: 20px;
    display: inline-block !important;
}
.btn-restricted {
    border: 1px solid var(--cor-cinza-claro);
    padding: 6px 15px !important;
    border-radius: 4px;
    font-size: 0.8rem !important;
}

.search-trigger {
    background: none; border: none; cursor: pointer; font-size: 1.2rem; color: var(--cor-primaria);
}

.mobile-menu-btn { display: none; font-size: 1.5rem; background: none; border: none; cursor: pointer; color: var(--cor-primaria); }


/* --- 4. MODAL DE PESQUISA (CRÍTICO - RECUPERADO) --- */
.search-modal {
    display: none; /* Começa ESCONDIDO */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 2000; /* Acima de tudo */
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
/* Quando ativo (via JS), usa display flex */
.search-modal[style*="display: flex"] {
    display: flex !important;
}

.search-content {
    width: 90%; max-width: 600px; text-align: center; position: relative;
}
.close-search {
    position: absolute; top: -50px; right: 0;
    font-size: 2.5rem; cursor: pointer; color: var(--cor-primaria);
}
.search-content input {
    width: 100%; padding: 15px; font-size: 1.5rem;
    border: none; border-bottom: 2px solid var(--cor-primaria);
    background: transparent; outline: none; text-align: center;
}
.search-content button { margin-top: 20px; }


/* --- 5. HERO SECTION --- */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-color: #63240b; /* Fallback */
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 1;
}
.hero-content {
    position: relative; z-index: 2; color: var(--cor-branco); max-width: 800px;
}
.hero-content h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; color: #fff; }
.hero-buttons { display: flex; gap: 15px; margin-top: 30px; }


/* --- 6. WIDGETS & CARDS --- */
.geo-search-box {
    background: var(--cor-branco);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: -50px;
    position: relative; z-index: 10;
}
.search-form-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; align-items: end;
}
.form-control { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; }

.cards-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 30px;
}
.card-service {
    background: #fff; padding: 30px; box-shadow: var(--shadow-suave); border-radius: 8px; text-align: center;
}
/* --- CORREÇÃO DOS ÍCONES DOS CARDS (Atualizar no style.css) --- */
.card-service i {
    font-family: "Font Awesome 6 Free", "FontAwesome", sans-serif !important; /* Força a fonte correta */
    font-weight: 900; /* Necessário para ícones sólidos (fas) */
    font-size: 3rem; /* Tamanho grande */
    color: var(--cor-secundaria);
    margin-bottom: 20px;
    display: inline-block; /* Garante que respeite margens */
    width: auto;
    height: auto;
    line-height: 1;
}

/* Efeito Hover no Card faz o ícone pular */
.card-service:hover i {
    transform: scale(1.1); /* Aumenta um pouco */
    transition: transform 0.3s ease;
}


/* --- 7. FOOTER --- */
.main-footer {
    background-color: #2c2c2c; color: #cccccc; padding: 60px 0 20px 0; margin-top: auto;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { max-width: 200px; margin-bottom: 20px; }
.footer-col h3 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; }
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px; background: #25D366; color: #fff;
    width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; z-index: 99;
}

/* --- 8. RESPONSIVIDADE (MOBILE) --- */
@media (max-width: 992px) {
    .top-bar { display: none; }
    .mobile-menu-btn { display: block; }
    
    .nav-container { padding: 0 20px; }

    .main-nav {
        display: none; /* Esconde menu desktop */
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--cor-branco);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        align-items: flex-start;
        height: auto;
    }
    
    .main-nav.active { display: flex; } /* JS ativa */
    
    .main-nav > ul { flex-direction: column; width: 100%; align-items: flex-start; gap: 0; }
    .main-nav > ul > li { width: 100%; border-bottom: 1px solid #eee; height: auto; display: block; }
    .main-nav > ul > li > a { padding: 15px 0; display: block; width: 100%; }

    .submenu { position: static; box-shadow: none; display: none; padding-left: 20px; border: none; }
    .has-submenu.active .submenu { display: block; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero-content h1 { font-size: 2rem; }
    .search-form-grid { grid-template-columns: 1fr; }
}

/* --- 9. ESTILOS DE AUTENTICAÇÃO (LOGIN/CADASTRO) --- */

.auth-wrapper {
    min-height: 80vh; /* Ocupa quase a tela toda */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cor-fundo-suave);
    padding: 40px 20px;
}

.auth-card {
    background: #ffffff;
    width: 100%;
    max-width: 450px; /* Largura ideal para leitura */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); /* Sombra elegante */
    text-align: center;
    border-top: 5px solid var(--cor-primaria); /* Detalhe da marca no topo */
}

.auth-header {
    margin-bottom: 30px;
}
.auth-header h2 {
    font-size: 1.8rem;
    color: var(--cor-texto);
    margin-bottom: 5px;
}
.auth-header p {
    font-size: 0.95rem;
    color: #888;
}

/* Estilo dos Inputs do Login */
.auth-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}
.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #555;
}
.auth-form input {
    width: 100%;
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #fcfcfc;
    transition: all 0.3s;
}
.auth-form input:focus {
    border-color: var(--cor-primaria);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(225, 47, 43, 0.1); /* Glow suave */
    outline: none;
}

/* Botão de Login Full Width */
.btn-block {
    width: 100%;
    display: block;
    padding: 14px;
    font-size: 1rem;
}

/* Links auxiliares */
.auth-links {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    justify-content: space-between;
}
.auth-links a:hover {
    color: var(--cor-primaria);
    text-decoration: underline;
}

/* Caixa de Erro */
.alert-danger {
    background-color: #fde8e8;
    color: #c53030;
    padding: 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid #fbd5d5;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- 10. ÁREA RESTRITA (DASHBOARD / PAINEL) --- */

.dashboard-header {
    background: var(--cor-primaria);
    color: #fff;
    padding: 40px 0 80px 0; /* Padding inferior maior para o efeito de sobreposição */
    border-radius: 0 0 20px 20px;
    margin-bottom: -40px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    position: relative;
    z-index: 10;
}

.dash-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
}

/* Card de Perfil Lateral */
.profile-summary {
    text-align: center;
}
.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    background-color: #eee;
}
.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}
.status-ativa { background-color: #e6fffa; color: #047857; border: 1px solid #047857; }
.status-pendente { background-color: #fffbeb; color: #d97706; border: 1px solid #d97706; }
.status-inativa { background-color: #fef2f2; color: #dc2626; border: 1px solid #dc2626; }

/* Lista de Ações Rápidas */
.action-list a {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    color: var(--cor-texto);
    font-weight: 600;
    transition: 0.2s;
}
.action-list a:hover {
    background-color: var(--cor-fundo-suave);
    color: var(--cor-primaria);
    padding-left: 20px;
}
.action-list a i { margin-right: 15px; color: var(--cor-secundaria); width: 20px; text-align: center; }
.action-list a:last-child { border-bottom: none; }

/* Estatísticas Rápidas */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.stat-box {
    background: var(--cor-fundo-suave);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}
.stat-number { font-size: 2rem; font-weight: 700; color: var(--cor-primaria); display: block;}
.stat-label { font-size: 0.85rem; color: #666; text-transform: uppercase; letter-spacing: 1px;}

@media (max-width: 768px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr; }
}

/* --- 11. ÁREA ADMINISTRATIVA (SUPER ADMIN) --- */

.admin-body {
    background-color: #f4f6f9;
    display: flex;
    flex-direction: row !important; /* <--- ISSO CONSERTA O ERRO (Força lado a lado) */
    min-height: 100vh;
    overflow-x: hidden; /* Evita rolagem horizontal */
}

/* Garante que o Sidebar não encolha nem estique */
.admin-sidebar {
    width: 260px;
    background-color: #2c3e50;
    color: #fff;
    flex-shrink: 0; /* Impede encolhimento */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Altura total */
}

.admin-logo {
    padding: 20px;
    text-align: center;
    background-color: #1a252f;
    border-bottom: 1px solid #34495e;
}
.admin-logo h3 { color: #fff; margin: 0; font-size: 1.2rem; }
.admin-logo span { color: var(--cor-secundaria); font-size: 0.8rem; }

.admin-menu { padding: 20px 0; flex: 1; }
.admin-menu ul li a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: #b8c7ce;
    border-left: 4px solid transparent;
    transition: 0.2s;
}
.admin-menu ul li a:hover, 
.admin-menu ul li a.active {
    background-color: #34495e;
    color: #fff;
    border-left-color: var(--cor-secundaria);
}
.admin-menu ul li a i { margin-right: 15px; width: 20px; text-align: center; }

/* Área de Conteúdo */
/* Garante que o conteúdo ocupe o resto */
.admin-content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    width: calc(100% - 260px); /* Largura calculada */
    background-color: #f4f6f9;
}

.admin-topbar {
    background: #fff;
    height: 60px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 30px;
}

.admin-main {
    padding: 30px;
    flex: 1;
}

/* Tabelas Admin */
.table-responsive { overflow-x: auto; }
.table-admin {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.table-admin thead { background-color: #34495e; color: #fff; }
.table-admin th, .table-admin td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.table-admin tr:hover { background-color: #f9f9f9; }

/* Badges de Status Específicos */
.badge { padding: 5px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.badge-success { background: #d4edda; color: #155724; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-danger { background: #f8d7da; color: #721c24; }

/* Responsividade Admin */
@media (max-width: 992px) {
    .admin-sidebar { width: 70px; }
    .admin-menu ul li a span { display: none; } /* Esconde texto, mostra só ícone */
    .admin-logo h3 { display: none; }
}

/* --- 12. FORMULÁRIOS DO ADMIN --- */
/* --- CSS DE FORMULÁRIOS ADMIN --- */
.admin-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    margin-top: 20px;
    display: block; /* Garante visibilidade */
}
.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.admin-form-group { margin-bottom: 20px; }
.admin-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}
.admin-form-group input, 
.admin-form-group select, 
.admin-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    background: #fff;
}
.admin-form-group input:focus, 
.admin-form-group select:focus, 
.admin-form-group textarea:focus {
    border-color: var(--cor-primaria);
    outline: none;
    box-shadow: 0 0 0 3px rgba(225, 47, 43, 0.1);
}
.admin-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* FAQ Styles */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out; /* Animação suave */
}

/* Quando estiver ativo (opcional, para mudar cor do texto) */
.faq-question.active {
    color: var(--cor-primaria);
}

/* --- 13. BLOG & SIDEBAR --- */

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Conteúdo maior, Sidebar menor */
    gap: 40px;
}

/* Card Horizontal */
.blog-card-horizontal {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s;
}
.blog-card-horizontal:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

.blog-card-img { width: 35%; position: relative; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.blog-card-horizontal:hover .blog-card-img img { transform: scale(1.05); }
.img-placeholder { width: 100%; height: 100%; background: #eee; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #ccc; }

.blog-card-content { width: 65%; padding: 25px; display: flex; flex-direction: column; }

.blog-meta { font-size: 0.8rem; color: #999; margin-bottom: 10px; display: flex; align-items: center; gap: 15px; }
.badge-cat { background: var(--cor-fundo-suave); color: var(--cor-primaria); padding: 3px 10px; border-radius: 4px; font-weight: 700; text-transform: uppercase; font-size: 0.7rem; }

.blog-title { font-size: 1.4rem; margin-bottom: 10px; line-height: 1.3; }
.blog-title a { color: var(--cor-texto); }
.blog-title a:hover { color: var(--cor-primaria); }

.blog-excerpt { color: #666; font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }

.blog-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f5f5f5; padding-top: 15px; margin-top: auto; }
.author-mini { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: #555; font-weight: 600; }
.avatar-circle { width: 30px; height: 30px; background: #eee; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #aaa; }
.read-more { color: var(--cor-primaria); font-weight: 700; font-size: 0.9rem; }

/* SIDEBAR WIDGETS */
.blog-sidebar .widget {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
}

.widget-title {
    font-size: 1.1rem;
    color: var(--cor-texto);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--cor-fundo-suave);
    position: relative;
}
.widget-title::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 50px; height: 2px; background: var(--cor-primaria);
}

/* Search Widget */
.search-widget form { position: relative; }
.search-widget input { width: 100%; padding: 12px 40px 12px 15px; border: 1px solid #eee; border-radius: 50px; background: #fcfcfc; }
.search-widget button { position: absolute; right: 5px; top: 5px; background: var(--cor-primaria); color: #fff; border: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; }

/* Category List */
.cat-list li { border-bottom: 1px solid #f9f9f9; }
.cat-list li:last-child { border: none; }
.cat-list a { display: flex; justify-content: space-between; padding: 12px 0; color: #666; font-size: 0.95rem; }
.cat-list a:hover { color: var(--cor-primaria); padding-left: 5px; }
.cat-list span { background: #f0f0f0; color: #999; padding: 2px 8px; border-radius: 10px; font-size: 0.75rem; }

/* Recent Posts Widget */
.recent-item { display: flex; gap: 15px; margin-bottom: 20px; align-items: center; }
.recent-item:last-child { margin-bottom: 0; }
.recent-thumb { width: 70px; height: 70px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-info h4 { font-size: 0.95rem; margin-bottom: 5px; line-height: 1.3; color: var(--cor-texto); }
.recent-item:hover h4 { color: var(--cor-primaria); }
.recent-info small { color: #999; font-size: 0.8rem; }

/* Responsividade Blog */
@media (max-width: 992px) {
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { order: -1; margin-bottom: 40px; } /* Sidebar sobe no mobile */
    .blog-card-horizontal { flex-direction: column; }
    .blog-card-img { width: 100%; height: 200px; }
    .blog-card-content { width: 100%; }
}

/* --- CORREÇÃO: BOTÃO DA MODAL DE PESQUISA --- */

.search-content button {
    margin-top: 30px;          /* Espaço do campo de texto */
    width: 100%;               /* Botão Largo */
    max-width: 300px;          /* Mas não exagerado em telas grandes */
    padding: 15px 30px;        /* Altura confortável */
    font-size: 1.1rem;         /* Texto legível */
    font-weight: 800;          /* Negrito forte */
    text-transform: uppercase; /* Caixa alta */
    letter-spacing: 1px;       /* Espaçamento entre letras */
    
    background-color: var(--cor-primaria);
    color: #fff;
    border: none;
    border-radius: 50px;       /* Arredondado */
    cursor: pointer;
    
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(225, 47, 43, 0.3); /* Sombra vermelha suave */
}

.search-content button:hover {
    background-color: #b82320; /* Cor mais escura no hover */
    transform: translateY(-3px); /* Leve subida */
    box-shadow: 0 15px 35px rgba(225, 47, 43, 0.5); /* Sombra mais forte */
}

/* Ajuste para Mobile */
@media (max-width: 768px) {
    .search-content button {
        width: 100%; /* No celular ocupa tudo */
        max-width: none;
    }
}

/* --- 14. BANNER LGPD --- */
.lgpd-banner {
    position: fixed;
    bottom: -100px; /* Começa escondido embaixo */
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: 20px 0;
    z-index: 9999;
    border-top: 4px solid var(--cor-primaria);
    transition: bottom 0.5s ease-out;
}

.lgpd-banner.show {
    bottom: 0; /* Sobe para aparecer */
}

.lgpd-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.lgpd-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
}

.lgpd-content a {
    color: var(--cor-primaria);
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .lgpd-content {
        flex-direction: column;
        text-align: center;
    }
    .lgpd-content button {
        width: 100%;
    }
}

/* dobra-blog-home */
/* Grid Layout */
    .blog-home-grid {
        display: grid;
        gap: 30px;
        /* Mobile: 1 coluna */
        grid-template-columns: 1fr; 
    }

    /* Tablet: 2 colunas */
    @media (min-width: 768px) {
        .blog-home-grid { grid-template-columns: 1fr 1fr; }
    }

    /* Desktop: 3 colunas FIXAS (Isso impede que 1 post tome tudo) */
    @media (min-width: 992px) {
        .blog-home-grid { grid-template-columns: repeat(3, 1fr); }
    }

    /* Estilo do Card */
    .blog-home-card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
    
    .blog-home-card {
        background: #fff; border-radius: 12px; overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid #f0f0f0;
        display: flex; flex-direction: column; height: 100%;
        transition: transform 0.3s;
    }
    .blog-home-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

    /* Imagem */
    .blog-card-thumb { height: 200px; position: relative; overflow: hidden; background: #eee; }
    .blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
    .blog-home-card:hover .blog-card-thumb img { transform: scale(1.05); }
    
    .no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: #ccc; }
    
    .blog-cat-badge { position: absolute; top: 15px; right: 15px; background: #fff; color: var(--cor-primaria); padding: 4px 10px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }

    /* Corpo */
    .blog-card-body { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
    .blog-card-body .date { font-size: 0.8rem; color: #999; margin-bottom: 10px; display: block; }
    .blog-card-body h3 { font-size: 1.15rem; margin: 0 0 10px 0; line-height: 1.4; font-weight: 700; color: var(--cor-texto); }
    .blog-card-body p { font-size: 0.9rem; color: #666; margin-bottom: 20px; line-height: 1.6; }
    .read-more { margin-top: auto; color: var(--cor-primaria); font-weight: 700; font-size: 0.9rem; }
    
    /* Estilos básicos para garantir que o menu expandível funcione bem */
.nav-link { 
    display: flex; 
    align-items: center; 
    padding: 15px; 
    color: #fff; 
    text-decoration: none; 
}
.nav-link span { 
    margin-left: 10px; 
}
.collapse-item {
    padding: 10px 15px;
    display: block;
    color: #333;
    text-decoration: none;
}
.collapse-item:hover {
    background-color: #f0f0f0;
}
.collapse-item i {
    margin-right: 5px;
}

/* --- 15. ZOOM MODAL (NOVO) --- */
.zoom-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
}
.zoom-modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation-name: zoom;
    animation-duration: 0.3s;
}
@keyframes zoom {
    from {transform:scale(0.8); opacity: 0;} 
    to {transform:scale(1); opacity: 1;}
}
.zoom-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.zoom-close:hover,
.zoom-close:focus {
    color: var(--cor-destaque);
    text-decoration: none;
    cursor: pointer;
}
/* Classe para colocar na imagem do produto */
.img-zoom-trigger {
    cursor: zoom-in;
    transition: 0.3s;
}
.img-zoom-trigger:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* CSS AUXILIAR PARA O LAYOUT */
:root {
    --cor-primaria: #e74c3c; /* Ajuste para a cor real da ADOULASRJ */
    --cor-secundaria: #F4A460;
    --cor-branco: #ffffff;
}

.section-padding {
    padding: 60px 0;
}

.bg-suave {
    background-color: #f9f9f9;
}

/* Grid dos Cards de Serviço */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card-service {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card-service:hover {
    transform: translateY(-5px);
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--cor-primaria);
    color: #fff;
}

.btn-secondary {
    background-color: var(--cor-secundaria);
    color: #fff;
}

.btn-outline-white {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--cor-primaria);
}