/*
Theme Name: Guia de Comprador
Theme URI: https://guiadecomprador.com.br/
Author: Mário Manfron
Author URI: https://guiadecomprador.com.br
Description: Meu tema filho padrão wordpress Guia de Comprador
Tags: landpage, posts, ofertas
Version: 1
Updated: 2026-03-15 08:44:17
*/

/* =========================
IMPORTAR FONTE
========================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* =========================
RESET BÁSICO
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
GLOBAL
========================= */
html, body {
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    background: #fff;
}

/* =========================
CONTAINER PADRÃO
========================= */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================
TIPOGRAFIA
========================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #111;
}

h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

p {
    font-size: 16px;
}

a {
    color: #000;
    text-decoration: none !important;
    transition: 0.2s;
}

a:hover {
    text-decoration: underline;
    color: #333;
}

ul, ol {
    margin: 20px 0 20px 25px;
}

li {
    margin-bottom: 8px;
}

/* =========================
IMAGENS
========================= */
img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}
.post-summary{
	background:#f00;
	margin-top:20px;
}
/* =========================
BOTÃO
========================= */
.btn {
    display: inline-block;
    background: #F09F53;
    color: #fff;
    padding: 14px 26px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    background: #e65c00;
    color: #fff;
}

/* =========================
HEADER
========================= */
.site-header {
    width: 100%;
    background: #111; /* fundo preto */
    border-bottom: 1px solid #222;
    color: #fff;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* separa logo e menu */
    padding: 15px 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-name {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}

.custom-logo {
    max-height: 70px;
    width: auto;
}

/* MENU */
.main-menu .menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.main-menu .menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.main-menu .menu li a:hover {
    color: #ff6b00;
}

/* BOTÃO HAMBURGUER (inicialmente escondido) */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

/* =========================
MOBILE HEADER & MENU
========================= */
@media (max-width: 768px) {
    .site-header .container {
        flex-wrap: nowrap; /* NÃO deixa quebrar */
        justify-content: space-between;
        align-items: center;
    }

    .logo-area {
        gap: 8px;
    }

    .custom-logo {
        max-height: 80px;
    }

    .menu-toggle {
        display: block;
        font-size: 26px;
        color: #fff;
        cursor: pointer;
        flex-shrink: 0;
    }

    .main-menu {
        position: fixed;
        top: 0;
        left: -260px;
        width: 260px;
        height: 100%;
        background: #111;
        padding-top: 70px;
        transition: 0.3s;
        z-index: 1000;
    }

    .main-menu.active {
        left: 0;
    }

    .main-menu .menu {
        flex-direction: column;
        margin: 0;
        padding: 0;
    }

    .main-menu .menu li {
        border-bottom: 1px solid #222;
    }

    .main-menu .menu li a {
        display: block;
        padding: 14px;
        color: #fff;
    }

    .main-menu .menu li a:hover {
        background: #ff6600;
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 999;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* =========================
ESTRUTURA BASE
========================= */
main {
    padding: 0;
}

article {
    margin-bottom: 40px;
}

/* =========================
CARDS (REUTILIZÁVEL)
========================= */
.card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* GRID PADRÃO */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* =========================
FAQ (GLOBAL)
========================= */
.faq-section {
    padding: 60px 20px;
    background: #f7f7f7;
}

.faq-container {
    max-width: 900px;
    margin: auto;
}

.faq-item {
    background: #fff;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

/* =========================
FOOTER
========================= */
.site-footer {
    background: #111; /* fundo preto */
    color: #ccc;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    max-width: 900px;
    margin: auto;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: #ccc;
    margin: 0 5px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

/* =========================
WHATSAPP FLOAT
========================= */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float img {
    width: 32px;
}

@keyframes whatsappPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70%  { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =========================
RESPONSIVO
========================= */
@media (max-width: 768px) {
    h1 { font-size: 26px; }
    h2 { font-size: 22px; }

    .container {
        padding: 0 15px;
    }

    /* HEADER MOBILE */
    .site-header .container {
        flex-direction: column;
        gap: 10px;
    }

    /* GRID */
    .grid {
        grid-template-columns: 1fr;
    }

    /* BOTÃO */
    .btn {
        padding: 12px 18px;
        font-size: 14px;
    }

    /* WHATSAPP */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }
}