/*
Theme Name: AfiliaMax - Tema de Afiliados
Theme URI: https://seusite.com
Author: Alexsandra
Author URI: https://seusite.com
Description: Tema WordPress otimizado para sites de afiliados com reviews, comparativos e ofertas. Design focado em conversão.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: afilia-max
Tags: affiliate, reviews, ecommerce, responsive, custom-colors
*/

/* ==========================================================================
   VARIÁVEIS CSS - CORES DE ALTA CONVERSÃO
   ========================================================================== */
:root {
    /* Cores Principais - Laranja/Vermelho para urgência e ação */
    --cor-primaria: #FF6B35;          /* Laranja vibrante - CTA principal */
    --cor-primaria-hover: #E55A2B;
    --cor-secundaria: #004E89;         /* Azul confiança */
    --cor-secundaria-hover: #003D6B;
    
    /* Cores de Conversão */
    --cor-sucesso: #28A745;            /* Verde - Preços, economia */
    --cor-alerta: #FFC107;             /* Amarelo - Promoções */
    --cor-urgencia: #DC3545;           /* Vermelho - Ofertas limitadas */
    --cor-destaque: #FF4757;           /* Vermelho coral - Badges */
    
    /* Tons Neutros */
    --cor-texto: #2D3436;
    --cor-texto-claro: #636E72;
    --cor-fundo: #F8F9FA;
    --cor-fundo-card: #FFFFFF;
    --cor-borda: #E9ECEF;
    
    /* Gradientes de Conversão */
    --gradiente-cta: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    --gradiente-header: linear-gradient(135deg, #004E89 0%, #1A659E 100%);
    --gradiente-oferta: linear-gradient(135deg, #DC3545 0%, #FF6B6B 100%);
    
    /* Tipografia */
    --fonte-principal: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --fonte-titulos: 'Poppins', sans-serif;
    
    /* Espaçamentos */
    --espacamento-xs: 0.5rem;
    --espacamento-sm: 1rem;
    --espacamento-md: 1.5rem;
    --espacamento-lg: 2rem;
    --espacamento-xl: 3rem;
    
    /* Bordas e Sombras */
    --borda-radius: 12px;
    --borda-radius-sm: 8px;
    --sombra-card: 0 4px 15px rgba(0, 0, 0, 0.08);
    --sombra-card-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --sombra-botao: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* ==========================================================================
   RESET E BASE
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--fonte-principal);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--cor-texto);
    background-color: var(--cor-fundo);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   TIPOGRAFIA
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--fonte-titulos);
    font-weight: 700;
    line-height: 1.2;
    color: var(--cor-texto);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

/* ==========================================================================
   CONTAINER E LAYOUT
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--espacamento-sm);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--espacamento-sm);
}

/* ==========================================================================
   HEADER - Estilo TechTudo Modernizado
   ========================================================================== */
.site-header {
    background: var(--gradiente-header);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Barra superior com informações */
.top-bar {
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: var(--espacamento-md);
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-social {
    display: flex;
    gap: var(--espacamento-sm);
}

.top-bar-social a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.top-bar-social a:hover {
    color: var(--cor-primaria);
}

/* Header principal */
.header-main {
    padding: var(--espacamento-sm) 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--espacamento-md);
}

/* Logo */
.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    height: 45px;
    width: auto;
    /* PLACEHOLDER: logo-placeholder.png (200x50px) */
}

.site-logo .logo-text {
    font-family: var(--fonte-titulos);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-logo .logo-text span {
    color: var(--cor-primaria);
}

/* Busca */
.header-search {
    flex: 1;
    max-width: 500px;
}

.search-form {
    display: flex;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-form:focus-within {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--cor-primaria);
}

.search-form input[type="search"] {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
}

.search-form input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-form button {
    padding: 12px 20px;
    background: var(--cor-primaria);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background: var(--cor-primaria-hover);
}

/* ==========================================================================
   NAVEGAÇÃO PRINCIPAL
   ========================================================================== */
.main-navigation {
    background: rgba(0, 0, 0, 0.15);
}

.main-navigation .container {
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: var(--cor-primaria);
}

.nav-menu > li > a i {
    font-size: 1.1rem;
}

/* Submenu */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--cor-fundo-card);
    box-shadow: var(--sombra-card-hover);
    border-radius: 0 0 var(--borda-radius-sm) var(--borda-radius-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--cor-texto);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: none;
    border-bottom: 1px solid var(--cor-borda);
}

.nav-menu .sub-menu a:hover {
    background: var(--cor-fundo);
    color: var(--cor-primaria);
    padding-left: 25px;
}

/* Menu Mobile Toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

/* ==========================================================================
   SLIDER DE DESTAQUES
   ========================================================================== */
.hero-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: var(--espacamento-lg);
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
    height: 500px;
    /* PLACEHOLDER: slide-placeholder-1.jpg (1200x500px) */
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        transparent 100%
    );
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--espacamento-xl);
    color: #fff;
    max-width: 600px;
}

.slide-badge {
    display: inline-block;
    padding: 6px 15px;
    background: var(--cor-primaria);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: var(--espacamento-sm);
}

.slide-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: var(--espacamento-sm);
    line-height: 1.2;
}

.slide-excerpt {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: var(--espacamento-md);
}

.slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--gradiente-cta);
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: var(--sombra-botao);
    transition: all 0.3s ease;
}

.slide-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

/* Controles do Slider */
.slider-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 10px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--cor-primaria);
    border-color: var(--cor-primaria);
}

/* Indicadores */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active,
.slider-dot:hover {
    background: var(--cor-primaria);
    transform: scale(1.2);
}

/* ==========================================================================
   SEÇÃO DE CATEGORIAS
   ========================================================================== */
.categorias-section {
    padding: var(--espacamento-xl) 0;
    background: var(--cor-fundo-card);
}

.section-header {
    text-align: center;
    margin-bottom: var(--espacamento-lg);
}

.section-title {
    font-size: 2rem;
    color: var(--cor-texto);
    margin-bottom: var(--espacamento-xs);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradiente-cta);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--cor-texto-claro);
    font-size: 1.1rem;
    margin-top: var(--espacamento-sm);
}

/* Grid de Categorias */
.categorias-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--espacamento-md);
}

.categoria-card {
    position: relative;
    border-radius: var(--borda-radius);
    overflow: hidden;
    box-shadow: var(--sombra-card);
    transition: all 0.4s ease;
    height: 250px;
    /* PLACEHOLDER: categoria-placeholder.jpg (600x400px) */
}

.categoria-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--sombra-card-hover);
}

.categoria-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.categoria-card:hover img {
    transform: scale(1.1);
}

.categoria-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--espacamento-md);
}

.categoria-icon {
    font-size: 2.5rem;
    color: var(--cor-primaria);
    margin-bottom: var(--espacamento-sm);
}

.categoria-nome {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.categoria-count {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Categoria em destaque (maior) */
.categoria-card.destaque {
    grid-column: span 2;
    height: 300px;
}

/* ==========================================================================
   CARDS DE PRODUTOS/OFERTAS
   ========================================================================== */
.produtos-section,
.ofertas-section {
    padding: var(--espacamento-xl) 0;
}

.ofertas-section {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFF 100%);
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--espacamento-md);
}

/* Card de Produto */
.produto-card {
    background: var(--cor-fundo-card);
    border-radius: var(--borda-radius);
    overflow: hidden;
    box-shadow: var(--sombra-card);
    transition: all 0.3s ease;
    position: relative;
}

.produto-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-card-hover);
}

/* Badges */
.produto-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.badge {
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    color: #fff;
}

.badge-oferta {
    background: var(--cor-urgencia);
    animation: pulse 2s infinite;
}

.badge-novo {
    background: var(--cor-sucesso);
}

.badge-destaque {
    background: var(--cor-primaria);
}

.badge-comparativo {
    background: var(--cor-secundaria);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Imagem do Produto */
.produto-imagem {
    position: relative;
    padding: var(--espacamento-md);
    background: #f8f9fa;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* PLACEHOLDER: produto-placeholder.jpg (400x400px) */
}

.produto-imagem img {
    max-height: 180px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.produto-card:hover .produto-imagem img {
    transform: scale(1.08);
}

/* Botão de favorito */
.btn-favorito {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cor-fundo-card);
    border: none;
    box-shadow: var(--sombra-card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-texto-claro);
    transition: all 0.3s ease;
}

.btn-favorito:hover,
.btn-favorito.active {
    color: var(--cor-urgencia);
    transform: scale(1.1);
}

/* Conteúdo do Produto */
.produto-content {
    padding: var(--espacamento-md);
}

.produto-categoria {
    font-size: 0.8rem;
    color: var(--cor-primaria);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.produto-titulo {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cor-texto);
    margin-bottom: var(--espacamento-sm);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.produto-titulo a:hover {
    color: var(--cor-primaria);
}

/* Avaliação */
.produto-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--espacamento-sm);
}

.rating-stars {
    display: flex;
    gap: 2px;
    color: #FFC107;
}

.rating-count {
    font-size: 0.85rem;
    color: var(--cor-texto-claro);
}

/* Preços */
.produto-precos {
    margin-bottom: var(--espacamento-md);
}

.preco-antigo {
    font-size: 0.9rem;
    color: var(--cor-texto-claro);
    text-decoration: line-through;
}

.preco-atual {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cor-sucesso);
}

.preco-parcelas {
    font-size: 0.85rem;
    color: var(--cor-texto-claro);
}

.economia-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(40, 167, 69, 0.1);
    color: var(--cor-sucesso);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    margin-top: 8px;
}

/* Marketplace */
.produto-marketplace {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: var(--espacamento-sm) 0;
    border-top: 1px solid var(--cor-borda);
    margin-bottom: var(--espacamento-sm);
}

.marketplace-logo {
    height: 20px;
    width: auto;
}

.marketplace-nome {
    font-size: 0.85rem;
    color: var(--cor-texto-claro);
}

/* Botões de Ação */
.produto-acoes {
    display: flex;
    gap: 10px;
}

.btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: var(--borda-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primario {
    background: var(--gradiente-cta);
    color: #fff;
    box-shadow: var(--sombra-botao);
}

.btn-primario:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.btn-secundario {
    background: var(--cor-fundo);
    color: var(--cor-texto);
    border: 2px solid var(--cor-borda);
}

.btn-secundario:hover {
    border-color: var(--cor-primaria);
    color: var(--cor-primaria);
}

.btn-amazon {
    background: #FF9900;
    color: #000;
}

.btn-amazon:hover {
    background: #E88B00;
}

.btn-mercadolivre {
    background: #FFE600;
    color: #000;
}

.btn-mercadolivre:hover {
    background: #E6CF00;
}

/* ==========================================================================
   SEÇÃO OFERTAS DO DIA
   ========================================================================== */
.ofertas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--espacamento-lg);
}

.ofertas-timer {
    display: flex;
    align-items: center;
    gap: var(--espacamento-sm);
    background: var(--cor-urgencia);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
}

.timer-icon {
    font-size: 1.5rem;
    animation: pulse 1s infinite;
}

.timer-digits {
    display: flex;
    gap: 5px;
}

.timer-digit {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 5px;
    min-width: 40px;
    text-align: center;
}

/* ==========================================================================
   SEÇÃO REVIEWS
   ========================================================================== */
.reviews-section {
    padding: var(--espacamento-xl) 0;
    background: var(--cor-fundo);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--espacamento-lg);
}

/* Card Review Principal */
.review-card-principal {
    background: var(--cor-fundo-card);
    border-radius: var(--borda-radius);
    overflow: hidden;
    box-shadow: var(--sombra-card);
}

.review-card-principal .review-imagem {
    height: 350px;
    position: relative;
}

.review-card-principal .review-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-card-principal .review-content {
    padding: var(--espacamento-lg);
}

/* Cards Review Lateral */
.reviews-lateral {
    display: flex;
    flex-direction: column;
    gap: var(--espacamento-md);
}

.review-card-mini {
    display: flex;
    gap: var(--espacamento-md);
    background: var(--cor-fundo-card);
    border-radius: var(--borda-radius);
    padding: var(--espacamento-md);
    box-shadow: var(--sombra-card);
    transition: all 0.3s ease;
}

.review-card-mini:hover {
    transform: translateX(5px);
    box-shadow: var(--sombra-card-hover);
}

.review-card-mini .review-imagem {
    width: 120px;
    height: 100px;
    flex-shrink: 0;
    border-radius: var(--borda-radius-sm);
    overflow: hidden;
}

.review-card-mini .review-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-card-mini .review-content {
    flex: 1;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: var(--espacamento-sm);
    margin-bottom: var(--espacamento-xs);
    font-size: 0.85rem;
    color: var(--cor-texto-claro);
}

.review-categoria-tag {
    background: var(--cor-primaria);
    color: #fff;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.review-titulo {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--espacamento-xs);
    line-height: 1.3;
}

.review-titulo a:hover {
    color: var(--cor-primaria);
}

/* Nota do Review */
.review-nota {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nota-valor {
    background: var(--cor-sucesso);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.9rem;
}

.nota-texto {
    font-size: 0.85rem;
    color: var(--cor-texto-claro);
}

/* ==========================================================================
   SEÇÃO COMPARATIVOS
   ========================================================================== */
.comparativos-section {
    padding: var(--espacamento-xl) 0;
    background: var(--cor-fundo-card);
}

.comparativo-card {
    background: var(--cor-fundo);
    border-radius: var(--borda-radius);
    overflow: hidden;
    box-shadow: var(--sombra-card);
    transition: all 0.3s ease;
}

.comparativo-card:hover {
    box-shadow: var(--sombra-card-hover);
}

.comparativo-header {
    background: var(--gradiente-header);
    color: #fff;
    padding: var(--espacamento-md);
    text-align: center;
}

.comparativo-header h3 {
    color: #fff;
    font-size: 1.2rem;
}

.comparativo-produtos {
    display: flex;
    padding: var(--espacamento-md);
    gap: var(--espacamento-md);
}

.comparativo-produto {
    flex: 1;
    text-align: center;
    padding: var(--espacamento-md);
    background: var(--cor-fundo-card);
    border-radius: var(--borda-radius-sm);
}

.comparativo-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cor-primaria);
}

.comparativo-produto img {
    max-height: 120px;
    margin: 0 auto var(--espacamento-sm);
}

.comparativo-produto-nome {
    font-weight: 600;
    margin-bottom: var(--espacamento-xs);
}

.comparativo-produto-preco {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--cor-sucesso);
}

.comparativo-footer {
    padding: var(--espacamento-md);
    background: var(--cor-fundo-card);
    text-align: center;
}

/* ==========================================================================
   SEÇÃO VALE A PENA
   ========================================================================== */
.vale-pena-section {
    padding: var(--espacamento-xl) 0;
    background: linear-gradient(135deg, #F0FFF4 0%, #FFF 100%);
}

.vale-pena-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--espacamento-md);
}

.vale-pena-card {
    background: var(--cor-fundo-card);
    border-radius: var(--borda-radius);
    overflow: hidden;
    box-shadow: var(--sombra-card);
    transition: all 0.3s ease;
}

.vale-pena-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-card-hover);
}

.vale-pena-veredito {
    padding: var(--espacamento-sm) var(--espacamento-md);
    font-weight: 700;
    text-align: center;
    font-size: 0.9rem;
}

.veredito-sim {
    background: var(--cor-sucesso);
    color: #fff;
}

.veredito-talvez {
    background: var(--cor-alerta);
    color: #000;
}

.veredito-nao {
    background: var(--cor-urgencia);
    color: #fff;
}

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.newsletter-section {
    padding: var(--espacamento-xl) 0;
    background: var(--gradiente-header);
    color: #fff;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    color: #fff;
    margin-bottom: var(--espacamento-sm);
}

.newsletter-content p {
    opacity: 0.9;
    margin-bottom: var(--espacamento-lg);
}

.newsletter-form {
    display: flex;
    gap: var(--espacamento-sm);
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    padding: 15px 30px;
    background: var(--gradiente-cta);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: #1A1A2E;
    color: rgba(255, 255, 255, 0.8);
    padding: var(--espacamento-xl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--espacamento-xl);
    padding-bottom: var(--espacamento-xl);
}

.footer-brand .site-logo {
    margin-bottom: var(--espacamento-md);
}

.footer-brand p {
    margin-bottom: var(--espacamento-md);
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: var(--espacamento-sm);
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--cor-primaria);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: #fff;
    margin-bottom: var(--espacamento-md);
    font-size: 1.1rem;
}

.footer-column ul li {
    margin-bottom: var(--espacamento-sm);
}

.footer-column ul li a:hover {
    color: var(--cor-primaria);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--espacamento-md) 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom .disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: var(--espacamento-sm);
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 1200px) {
    .produtos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .categorias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categoria-card.destaque {
        grid-column: span 2;
    }
    
    .produtos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .vale-pena-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .top-bar {
        display: none;
    }
    
    .header-main .container {
        flex-wrap: wrap;
    }
    
    .header-search {
        order: 3;
        width: 100%;
        max-width: none;
        margin-top: var(--espacamento-sm);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: var(--gradiente-header);
        transition: left 0.3s ease;
        z-index: 2000;
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        padding-top: 60px;
    }
    
    .nav-menu > li > a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .slide {
        height: 350px;
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .categorias-grid {
        grid-template-columns: 1fr;
    }
    
    .categoria-card.destaque {
        grid-column: span 1;
    }
    
    .produtos-grid {
        grid-template-columns: 1fr;
    }
    
    .comparativo-produtos {
        flex-direction: column;
    }
    
    .comparativo-vs {
        transform: rotate(90deg);
        padding: var(--espacamento-sm);
    }
    
    .vale-pena-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* ==========================================================================
   UTILITÁRIOS
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--espacamento-xs); }
.mb-2 { margin-bottom: var(--espacamento-sm); }
.mb-3 { margin-bottom: var(--espacamento-md); }
.mb-4 { margin-bottom: var(--espacamento-lg); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--espacamento-xs); }
.mt-2 { margin-top: var(--espacamento-sm); }
.mt-3 { margin-top: var(--espacamento-md); }
.mt-4 { margin-top: var(--espacamento-lg); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Aviso de Afiliado - Depois do Menu */
.affiliate-notice {
    background: #fff3cd;
    color: #856404;
    padding: 10px 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 2px solid #ffc107;
}

.affiliate-notice p {
    margin: 0;
}

@media (max-width: 768px) {
    .affiliate-notice {
        font-size: 0.8rem;
        padding: 8px 15px;
        line-height: 1.4;
    }
}


