/*
Theme Name: Teleforum
Theme URI: https://teleforum.com
Author: Fernando
Author URI: https://teleforum.com/about/
Description: Tema marketplace para Skills, Personas e Agentes IA em Português. Visual moderno estilo SaaS com suporte nativo a produtos Stripe.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: teleforum
Tags: marketplace, ecommerce, minimal, blog
*/

/* ============================================
   TELEFORUM THEME — ESTILOS PRINCIPAIS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

/* ---- VARIÁVEIS ---- */
:root {
    --tf-font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --tf-bg: #ffffff;
    --tf-bg-subtle: #f9fafb;
    --tf-bg-dark: #111827;
    --tf-border: #e5e7eb;
    --tf-border-subtle: #f3f4f6;
    --tf-text: #111827;
    --tf-text-secondary: #6b7280;
    --tf-text-muted: #9ca3af;
    --tf-accent: #0d9488;
    --tf-accent-hover: #0f766e;
    --tf-accent-light: #f0fdfa;
    --tf-star: #f59e0b;
    --tf-radius: 12px;
    --tf-radius-sm: 8px;
    --tf-radius-lg: 16px;
    --tf-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --tf-shadow: 0 4px 16px rgba(0,0,0,0.08);
    --tf-shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --tf-max-width: 1200px;
    --tf-content-width: 760px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--tf-font);
    color: var(--tf-text);
    background: var(--tf-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tf-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--tf-accent-hover); }

/* ---- LAYOUT ---- */
.tf-container {
    max-width: var(--tf-max-width);
    margin: 0 auto;
    padding: 0 24px;
}
.tf-container-narrow {
    max-width: var(--tf-content-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- NAVBAR ---- */
.tf-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--tf-border);
}
.tf-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    max-width: var(--tf-max-width);
    margin: 0 auto;
    padding: 0 24px;
}
.tf-navbar-logo {
    font-size: 18px;
    font-weight: 800;
    color: var(--tf-text) !important;
    letter-spacing: -0.02em;
}
.tf-navbar-logo:hover { color: var(--tf-text) !important; }
.tf-navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.tf-navbar-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--tf-text-secondary);
    padding: 6px 12px;
    border-radius: var(--tf-radius-sm);
    transition: all 0.15s;
}
.tf-navbar-nav a:hover {
    color: var(--tf-text);
    background: var(--tf-bg-subtle);
}
.tf-navbar-nav .current-menu-item a {
    color: var(--tf-text);
    font-weight: 600;
}
.tf-navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.tf-mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--tf-text);
}
@media (max-width: 768px) {
    .tf-navbar-nav { display: none; }
    .tf-mobile-menu-btn { display: block; }
    .tf-navbar-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px; left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--tf-border);
        padding: 12px 24px 20px;
        gap: 2px;
    }
}

/* ---- BOTÕES ---- */
.tf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--tf-font);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--tf-radius-sm);
    padding: 9px 18px;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none !important;
    border: 1px solid transparent;
    white-space: nowrap;
}
.tf-btn-primary {
    background: var(--tf-accent);
    color: #fff !important;
    border-color: var(--tf-accent);
}
.tf-btn-primary:hover {
    background: var(--tf-accent-hover);
    border-color: var(--tf-accent-hover);
    color: #fff !important;
}
.tf-btn-outline {
    background: transparent;
    color: var(--tf-text) !important;
    border-color: var(--tf-border);
}
.tf-btn-outline:hover {
    border-color: #9ca3af;
    color: var(--tf-text) !important;
}
.tf-btn-dark {
    background: var(--tf-text);
    color: #fff !important;
    border-color: var(--tf-text);
}
.tf-btn-dark:hover {
    background: #374151;
    color: #fff !important;
}
.tf-btn-lg { font-size: 16px; padding: 13px 28px; border-radius: var(--tf-radius); }
.tf-btn-sm { font-size: 13px; padding: 6px 14px; }
.tf-btn-block { width: 100%; }

/* ---- BADGES ---- */
.tf-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.tf-badge-skill { background: #eff6ff; color: #1d4ed8; }
.tf-badge-persona { background: #fdf4ff; color: #7e22ce; }
.tf-badge-agent { background: #fff7ed; color: #c2410c; }
.tf-badge-free { background: #f0fdf4; color: #15803d; }
.tf-badge-new { background: #fef9c3; color: #854d0e; }

/* ---- CARDS DE PRODUTO ---- */
.tf-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 24px 0;
}
.tf-card {
    background: var(--tf-bg);
    border: 1px solid var(--tf-border);
    border-radius: var(--tf-radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.tf-card:hover {
    box-shadow: var(--tf-shadow);
    border-color: #d1d5db;
    transform: translateY(-2px);
}
.tf-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.tf-card-icon {
    width: 48px; height: 48px;
    border-radius: 10px;
    background: var(--tf-bg-subtle);
    border: 1px solid var(--tf-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    overflow: hidden;
}
.tf-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.tf-card-meta { flex-grow: 1; }
.tf-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--tf-text);
    margin-bottom: 2px;
    line-height: 1.3;
}
.tf-card-subtitle { font-size: 12px; color: var(--tf-text-secondary); }
.tf-card-desc {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tf-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--tf-border-subtle);
}
.tf-card-author {
    display: flex; align-items: center; gap: 7px;
    font-size: 13px; color: var(--tf-text-secondary);
}
.tf-card-author-avatar {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--tf-bg-dark);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700;
    flex-shrink: 0;
}
.tf-card-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--tf-text);
}
.tf-card-price-free { color: var(--tf-accent); }
.tf-card-actions { display: flex; align-items: center; gap: 8px; }

/* ---- PÁGINA DE PRODUTO ---- */
.tf-product-wrap {
    max-width: var(--tf-max-width);
    margin: 0 auto;
    padding: 32px 24px 60px;
}
.tf-product-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}
.tf-product-sidebar { position: sticky; top: 80px; }

/* Product header */
.tf-product-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--tf-border);
}
.tf-product-avatar {
    width: 80px; height: 80px;
    border-radius: 16px;
    background: var(--tf-bg-subtle);
    border: 1px solid var(--tf-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 42px;
    flex-shrink: 0;
    overflow: hidden;
}
.tf-product-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tf-product-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--tf-text);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}
.tf-product-subtitle {
    font-size: 15px;
    color: var(--tf-text-secondary);
    margin-bottom: 10px;
}
.tf-product-rating {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--tf-text-secondary);
}
.tf-stars { color: var(--tf-star); letter-spacing: 1px; }

/* Secções do produto */
.tf-product-section { margin-bottom: 36px; }
.tf-product-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--tf-text);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--tf-border);
}
.tf-product-section p {
    font-size: 15px;
    color: #374151;
    line-height: 1.75;
    margin-bottom: 14px;
}
.tf-product-section ul, .tf-product-section ol {
    margin: 0 0 14px 20px;
    font-size: 15px;
    color: #374151;
    line-height: 1.8;
}

/* Capabilities */
.tf-capabilities { list-style: none; margin: 0; padding: 0; }
.tf-capabilities li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    color: #374151;
    border-bottom: 1px solid var(--tf-border-subtle);
    line-height: 1.5;
}
.tf-capabilities li:last-child { border-bottom: none; }
.tf-capabilities li::before {
    content: "✓";
    color: var(--tf-accent);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 13px;
}

/* Buy box */
.tf-buy-box {
    background: var(--tf-bg);
    border: 1px solid var(--tf-border);
    border-radius: var(--tf-radius);
    padding: 24px;
    margin-bottom: 16px;
}
.tf-buy-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--tf-text);
    letter-spacing: -0.03em;
    margin-bottom: 2px;
    line-height: 1;
}
.tf-buy-price-type {
    font-size: 13px;
    color: var(--tf-text-muted);
    margin-bottom: 20px;
}
.tf-buy-guarantee {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--tf-text-muted);
    margin-top: 10px;
    text-align: center;
    justify-content: center;
}

/* Creator box */
.tf-creator-box {
    border: 1px solid var(--tf-border);
    border-radius: var(--tf-radius);
    padding: 20px;
    margin-bottom: 16px;
}
.tf-creator-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--tf-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}
.tf-creator-header {
    display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.tf-creator-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--tf-bg-dark);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 800;
    flex-shrink: 0;
    overflow: hidden;
}
.tf-creator-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tf-creator-name { font-weight: 700; font-size: 15px; color: var(--tf-text); }
.tf-creator-role { font-size: 12px; color: var(--tf-text-secondary); }
.tf-creator-bio {
    font-size: 13px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Details table */
.tf-details-box {
    border: 1px solid var(--tf-border);
    border-radius: var(--tf-radius);
    padding: 20px;
    margin-bottom: 16px;
}
.tf-details-title { font-size: 13px; font-weight: 600; color: var(--tf-text); margin-bottom: 12px; }
.tf-details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--tf-border-subtle);
    font-size: 13px;
}
.tf-details-row:last-child { border-bottom: none; }
.tf-details-label { color: var(--tf-text-secondary); }
.tf-details-value { color: var(--tf-text); font-weight: 500; }

/* Ratings */
.tf-rating-overview {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px;
    background: var(--tf-bg-subtle);
    border-radius: var(--tf-radius);
    margin-bottom: 20px;
}
.tf-rating-score {
    text-align: center;
    flex-shrink: 0;
}
.tf-rating-score-num {
    font-size: 52px;
    font-weight: 800;
    color: var(--tf-text);
    line-height: 1;
    letter-spacing: -0.03em;
}
.tf-rating-score-stars { font-size: 20px; color: var(--tf-star); margin: 4px 0; }
.tf-rating-score-count { font-size: 12px; color: var(--tf-text-muted); }
.tf-rating-bars { flex-grow: 1; }
.tf-rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 7px;
    font-size: 13px;
    color: var(--tf-text-secondary);
}
.tf-rating-bar-row:last-child { margin-bottom: 0; }
.tf-rating-bar-label { width: 36px; flex-shrink: 0; }
.tf-rating-bar-track {
    flex-grow: 1;
    height: 6px;
    background: var(--tf-border);
    border-radius: 3px;
    overflow: hidden;
}
.tf-rating-bar-fill {
    height: 100%;
    background: var(--tf-star);
    border-radius: 3px;
    transition: width 0.6s ease;
}
.tf-rating-bar-count { width: 20px; text-align: right; flex-shrink: 0; }

/* Reviews */
.tf-review {
    padding: 20px 0;
    border-bottom: 1px solid var(--tf-border-subtle);
}
.tf-review:last-child { border-bottom: none; }
.tf-review-title { font-weight: 700; font-size: 15px; color: var(--tf-text); margin-bottom: 2px; }
.tf-review-meta {
    font-size: 11px;
    font-weight: 600;
    color: var(--tf-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.tf-review-stars { color: var(--tf-star); font-size: 13px; margin-bottom: 8px; }
.tf-review-body { font-size: 14px; color: #374151; line-height: 1.65; }

/* Version history */
.tf-version {
    padding: 16px;
    background: var(--tf-bg-subtle);
    border: 1px solid var(--tf-border-subtle);
    border-radius: var(--tf-radius-sm);
    margin-bottom: 12px;
}
.tf-version-header {
    display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap;
}
.tf-version-num { font-weight: 700; font-size: 15px; color: var(--tf-text); }
.tf-version-latest {
    background: var(--tf-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
}
.tf-version-date { font-size: 13px; color: var(--tf-text-muted); }
.tf-version-body { font-size: 13px; color: #374151; line-height: 1.65; }

/* ---- HOMEPAGE ---- */
.tf-home-hero {
    padding: 72px 0 56px;
    border-bottom: 1px solid var(--tf-border);
}
.tf-home-hero h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--tf-text);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
    max-width: 640px;
}
.tf-home-hero .tf-hero-sub {
    font-size: 18px;
    color: var(--tf-text-secondary);
    max-width: 520px;
    line-height: 1.6;
    margin-bottom: 28px;
}
.tf-home-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.tf-home-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 40px 0;
    border-bottom: 1px solid var(--tf-border);
    margin-bottom: 48px;
}
.tf-home-feature-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.tf-home-feature-desc { font-size: 14px; color: var(--tf-text-secondary); line-height: 1.55; }

/* Section header */
.tf-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
}
.tf-section-head h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--tf-text);
    letter-spacing: -0.02em;
}
.tf-section-head a {
    font-size: 14px;
    font-weight: 500;
    color: var(--tf-accent);
}
.tf-home-section { margin-bottom: 56px; }

/* ---- BLOG ---- */
.tf-blog-wrap {
    max-width: var(--tf-max-width);
    margin: 0 auto;
    padding: 48px 24px 80px;
}
.tf-blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.tf-blog-card {
    border: 1px solid var(--tf-border);
    border-radius: var(--tf-radius);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.tf-blog-card:hover {
    box-shadow: var(--tf-shadow);
    transform: translateY(-2px);
}
.tf-blog-card-img {
    width: 100%; height: 200px;
    object-fit: cover;
    background: var(--tf-bg-subtle);
}
.tf-blog-card-body { padding: 20px; }
.tf-blog-card-date { font-size: 12px; color: var(--tf-text-muted); margin-bottom: 8px; }
.tf-blog-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--tf-text);
    margin-bottom: 8px;
    line-height: 1.35;
}
.tf-blog-card-title a { color: var(--tf-text) !important; }
.tf-blog-card-title a:hover { color: var(--tf-accent) !important; }
.tf-blog-card-excerpt { font-size: 14px; color: var(--tf-text-secondary); line-height: 1.6; }

/* ---- ARTIGO SINGULAR ---- */
.tf-article-wrap {
    max-width: var(--tf-content-width);
    margin: 0 auto;
    padding: 48px 24px 80px;
}
.tf-article-header { margin-bottom: 32px; }
.tf-article-header .tf-article-date {
    font-size: 13px;
    color: var(--tf-text-muted);
    margin-bottom: 12px;
}
.tf-article-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--tf-text);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.tf-article-header .tf-article-excerpt {
    font-size: 18px;
    color: var(--tf-text-secondary);
    line-height: 1.6;
}
.tf-article-content { font-size: 16px; color: #374151; line-height: 1.8; }
.tf-article-content h2 { font-size: 24px; font-weight: 700; color: var(--tf-text); margin: 36px 0 14px; }
.tf-article-content h3 { font-size: 20px; font-weight: 700; color: var(--tf-text); margin: 28px 0 12px; }
.tf-article-content p { margin-bottom: 18px; }
.tf-article-content ul, .tf-article-content ol { margin: 0 0 18px 24px; line-height: 1.8; }
.tf-article-content li { margin-bottom: 4px; }
.tf-article-content blockquote {
    border-left: 3px solid var(--tf-accent);
    padding: 12px 20px;
    margin: 24px 0;
    background: var(--tf-accent-light);
    border-radius: 0 var(--tf-radius-sm) var(--tf-radius-sm) 0;
    font-style: italic;
    color: #374151;
}
.tf-article-content code {
    background: var(--tf-bg-subtle);
    border: 1px solid var(--tf-border);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Fira Code', monospace;
}
.tf-article-content pre {
    background: var(--tf-bg-dark);
    color: #e5e7eb;
    padding: 20px;
    border-radius: var(--tf-radius-sm);
    overflow-x: auto;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.6;
}
.tf-article-content pre code {
    background: none;
    border: none;
    padding: 0;
    color: #e5e7eb;
    font-size: inherit;
}
.tf-article-content img {
    border-radius: var(--tf-radius);
    margin: 24px auto;
}
.tf-article-content a { color: var(--tf-accent); text-decoration: underline; }

/* ---- BREADCRUMB ---- */
.tf-breadcrumb {
    font-size: 13px;
    color: var(--tf-text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.tf-breadcrumb a { color: var(--tf-text-muted); }
.tf-breadcrumb a:hover { color: var(--tf-text-secondary); }
.tf-breadcrumb-sep { color: var(--tf-border); }

/* ---- PAGE HEADER ---- */
.tf-page-header {
    padding: 40px 0 32px;
    border-bottom: 1px solid var(--tf-border);
    margin-bottom: 32px;
}
.tf-page-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--tf-text);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.tf-page-header p { font-size: 16px; color: var(--tf-text-secondary); }

/* ---- FILTROS DE CATEGORIA ---- */
.tf-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.tf-filter-btn {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--tf-border);
    background: var(--tf-bg);
    color: var(--tf-text-secondary);
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}
.tf-filter-btn:hover, .tf-filter-btn.active {
    background: var(--tf-text);
    color: #fff !important;
    border-color: var(--tf-text);
}
.tf-filter-btn-skill.active { background: #1d4ed8; border-color: #1d4ed8; }
.tf-filter-btn-persona.active { background: #7e22ce; border-color: #7e22ce; }
.tf-filter-btn-agent.active { background: #c2410c; border-color: #c2410c; }

/* ---- FOOTER ---- */
.tf-footer {
    background: var(--tf-bg-dark);
    color: #9ca3af;
    padding: 48px 0 24px;
    margin-top: 80px;
}
.tf-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.tf-footer-brand { }
.tf-footer-logo {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}
.tf-footer-tagline { font-size: 14px; line-height: 1.6; max-width: 260px; }
.tf-footer-col-title {
    font-size: 13px;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 14px;
}
.tf-footer-links { list-style: none; }
.tf-footer-links li { margin-bottom: 8px; }
.tf-footer-links a {
    font-size: 14px;
    color: #9ca3af !important;
    transition: color 0.15s;
}
.tf-footer-links a:hover { color: #fff !important; }
.tf-footer-bottom {
    border-top: 1px solid #1f2937;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
.tf-footer-bottom-links {
    display: flex; gap: 16px;
}
.tf-footer-bottom-links a { color: #9ca3af !important; }
.tf-footer-bottom-links a:hover { color: #fff !important; }

/* ---- PAGINAÇÃO ---- */
.tf-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 40px 0;
}
.tf-pagination a, .tf-pagination span {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: var(--tf-radius-sm);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--tf-border);
    color: var(--tf-text-secondary) !important;
    transition: all 0.15s;
}
.tf-pagination a:hover { border-color: var(--tf-accent); color: var(--tf-accent) !important; }
.tf-pagination .current {
    background: var(--tf-accent);
    border-color: var(--tf-accent);
    color: #fff !important;
}

/* ---- MENSAGENS / NOTICES ---- */
.tf-notice {
    padding: 14px 18px;
    border-radius: var(--tf-radius-sm);
    font-size: 14px;
    margin-bottom: 16px;
}
.tf-notice-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.tf-notice-error { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }
.tf-notice-info { background: var(--tf-accent-light); border: 1px solid #99f6e4; color: #0f766e; }

/* ---- RESPONSIVO ---- */
@media (max-width: 1024px) {
    .tf-product-layout { grid-template-columns: 1fr 280px; gap: 32px; }
    .tf-home-hero h1 { font-size: 42px; }
    .tf-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .tf-product-layout { grid-template-columns: 1fr; }
    .tf-product-sidebar { position: static; order: -1; }
    .tf-home-hero { padding: 40px 0 32px; }
    .tf-home-hero h1 { font-size: 30px; }
    .tf-home-hero .tf-hero-sub { font-size: 16px; }
    .tf-home-features { grid-template-columns: 1fr; gap: 20px; }
    .tf-blog-grid { grid-template-columns: 1fr; }
    .tf-products-grid { grid-template-columns: 1fr; }
    .tf-rating-overview { flex-direction: column; gap: 16px; }
    .tf-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .tf-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .tf-article-header h1 { font-size: 26px; }
    .tf-page-header h1 { font-size: 26px; }
}
