/* Blog Liftbras - Premium B2B Dark Mode Stylesheet */

:root {
    --primary-color: #0066cc; /* Azul Corporativo */
    --accent-color: #00e676;  /* Verde Conversão WP */
    --accent-hover: #00c853;
    --bg-dark: #0f172a;       /* Fundo Principal Dark Slate */
    --bg-card: #1e293b;       /* Fundo Cards Slate 800 */
    --surface-light: #334155; /* Slate 700 */
    --text-white: #f8fafc;
    --text-gray: #cbd5e1;
    --text-muted: #94a3b8;
    --danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.7;
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 800px; /* Narrower width for optimal reading experience */
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar Global (Simplified for Blog) */
.navbar {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-cta {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    background: #000;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
}

.nav-cta:hover {
    background: var(--primary-color);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 40px 0 20px;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--text-white);
}

/* Typography Hub */
h1, h2, h3, h4 {
    color: var(--text-white);
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 25px;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

h3 {
    font-size: 1.5rem;
    margin-top: 40px;
    color: var(--primary-color);
}

p {
    margin-bottom: 20px;
    color: #e2e8f0;
    font-size: 1.1rem;
}

/* Formatting Elements */
strong {
    color: var(--text-white);
    font-weight: 700;
}

ul, ol {
    margin-bottom: 30px;
    padding-left: 20px;
    color: #e2e8f0;
}

li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

blockquote {
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    background: rgba(0, 230, 118, 0.05);
    margin: 30px 0;
    font-size: 1.2rem;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.highlight-box {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
}

.highlight-box h3 {
    margin-top: 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-box.alert {
    border-left: 4px solid var(--danger);
}

/* Images */
.article-hero-img {
    width: 100%;
    max-height: 450px;
    object-fit: contain;
    object-position: center;
    background: rgba(255, 255, 255, 0.02); /* Fundo sutil para preencher a caixa caso a foto seja estreita */
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}

/* Author / Meta Block */
.meta-block {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.meta-block img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.meta-info span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.meta-info strong {
    color: var(--text-white);
    font-weight: 600;
}

/* CTAs - Conversion Engine */
.article-cta {
    background: var(--bg-card);
    border: 2px solid var(--accent-color);
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    margin: 60px 0;
    box-shadow: 0 20px 40px -10px rgba(0, 230, 118, 0.1);
}

.article-cta h3 {
    margin-top: 0;
    color: #fff;
    font-size: 1.8rem;
}

.article-cta p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--accent-color);
    color: #064e3b;
    padding: 18px 36px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 230, 118, 0.4);
    background-color: var(--accent-hover);
}

/* Botão Flutuante Persistente */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* Blog Index Grid */
.blog-header {
    text-align: center;
    padding: 60px 0 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.blog-card {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    border-color: rgba(0, 230, 118, 0.3);
}

.blog-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid var(--primary-color);
}

.blog-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-tag {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.blog-card h3 {
    margin-top: 0;
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-decoration: none;
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
    flex: 1;
}

.read-more {
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card:hover .read-more {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 30px;
    }
    
    .article-cta {
        padding: 30px 20px;
    }
}
