/*
Theme Name: Eficacia Comercial Premium
Author: Antigravity AI
Description: Ultra-premium, dark-mode theme for Eficacia Comercial Blog. Features glassmorphism and high-performance layout.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eficacia-premium
*/

/* --- Design Tokens --- */
:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #f97316;
    --accent-hover: #ea580c;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --container-width: 1200px;
}

/* --- Base Styles --- */
* {
    box-sizing: border-box;
}

body {
    background-color: var(--primary);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: var(--accent-hover);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header --- */
.site-header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.logo span {
    color: var(--accent);
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.main-nav a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: var(--accent);
}

/* --- Blog Grid --- */
.hero-section {
    padding: 100px 0 60px;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    padding-bottom: 100px;
}

/* --- Cards (Glassmorphism) --- */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-12px);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

.card-image-link {
    display: block;
    height: 240px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.card:hover .card-image {
    transform: scale(1.1);
}

.card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 700;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.card-title a {
    color: #fff;
}

.card-excerpt {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 25px;
}

.card-footer {
    margin-top: auto;
}

.btn-premium {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2);
}

.btn-premium:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.3);
    color: #fff;
}

/* --- Footer --- */
.site-footer {
    background: #070b14;
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
}

.footer-inner {
    text-align: center;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 40px;
}

/* --- Single Post Page --- */
.single-post-header {
    padding: 80px 0;
    text-align: center;
}

.single-post-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass-bg);
    padding: 50px;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
}

.single-post-content p {
    font-size: 1.15rem;
    margin-bottom: 25px;
    color: #cbd5e1;
}

/* --- Responsiveness --- */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .post-grid { grid-template-columns: 1fr; }
    .single-post-content { padding: 30px; }
}

/* Botão Voltar ao Site no Header */
.btn-back-site {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--accent);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-back-site:hover {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.4);
}

/* Ajuste para o menu mobile ou telas menores */
.header-inner {
    flex-wrap: wrap;
    gap: 15px;
}
