/* --- DESIGN SYSTEM & VARIÁVEIS --- */
:root {
    --primary: #0098FF; /* Laranja Screencorp - Atração e Ação */
    --primary-hover: #0248ac;
    --primary-light: #8eccff;
    --secondary: #2E3C51; /* Azul Escuro Slate - Confiança e Solidez */
    --secondary-light: #8999b3;
    --text-main: #2E3C51;
    --text-light: #8eccff;
    --white: #FFFFFF;
    --border-color: #E2E8F0;
    --max-width: 1200px;
    /*--font-title: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;*/
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & CONFIGURAÇÕES GERAIS --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.ml-lg-3, .mx-lg-3{margin-left: 0.8rem !important}
html {
    scroll-behavior: smooth;
}

body {
    /*font-family: var(--font-body);*/
    color: var(--text-main);
    background-color: #F8FAFC;
    /*line-height: 1.8;
    -webkit-font-smoothing: antialiased;*/
}

/* --- ACESSIBILIDADE E SEO --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --- TIPOGRAFIA --- */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1.2rem;
}

p {
    margin-bottom: 1.6rem;
    font-size: 1.05rem;
    color: #475569;
}

/* --- ESTRUTURA DE LAYOUT --- */
.header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-placeholder {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* --- BOTÕES --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(242, 90, 36, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(242, 90, 36, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #0f172a;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

/* --- EDITORIAL BLOG HERO --- */
.blog-hero {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    color: var(--white);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--primary);
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(242, 90, 36, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.blog-hero-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.blog-category {
    display: inline-block;
    background-color: rgba(242, 90, 36, 0.15);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(242, 90, 36, 0.3);
}

.blog-hero h1 {
    color: var(--white);
    font-size: 2.85rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    color: #94A3B8;
    font-size: 0.95rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* --- MAIN LAYOUT --- */
.main-layout {
    max-width: var(--max-width);
    margin: 3rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

/* Conteúdo do Artigo */
.article-content {
    background-color: var(--white);
    padding: 3.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.article-content h2 {
    font-size: 1.85rem;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.article-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: var(--primary);
}

.article-content h3 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    color: #334155;
}

/* Lista formatada de blog */
.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    color: #475569;
}

/* --- PLACEHOLDERS DE IMAGEM OTIMIZADOS --- */
.image-placeholder-wrapper {
    margin: 2.5rem 0;
    background: #F1F5F9;
    border: 2px dashed #CBD5E1;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.image-placeholder-wrapper:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.image-placeholder-wrapper i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.image-placeholder-wrapper:hover i {
    color: var(--primary);
    transform: scale(1.1);
}

.image-title {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.image-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    max-width: 480px;
}

/* --- MATRIZES E TABELAS --- */
.table-responsive {
    overflow-x: auto;
    margin: 2.5rem 0;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background-color: var(--white);
}

th {
    background-color: var(--secondary);
    color: var(--white);
    font-family: var(--font-title);
    font-weight: 600;
    padding: 1rem 1.5rem;
}

td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

tr:last-child td {
    border-bottom: none;
}

tr:nth-child(even) {
    background-color: var(--primary-light);
}

/* --- CAIXA DE CITACAO / DESTAQUE --- */
.quote-box {
    background-color: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 1.75rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 2.5rem 0;
}

.quote-box p {
    margin-bottom: 0;
    font-style: italic;
    color: var(--secondary);
    font-weight: 500;
    font-size: 1.1rem;
}

/* --- SIDEBAR DE BLOG PERSUASIVA --- */
.sidebar-sticky {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-card {
    background: linear-gradient(135deg, var(--secondary) 0%, #0F172A 100%);
    color: var(--white);
    padding: 2.25rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(242, 90, 36, 0.12);
    border-radius: 50%;
}

.benefit-card h4 {
    color: var(--white);
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.benefit-card h4 i {
    color: var(--primary);
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    color: #94A3B8;
    line-height: 1.6;
}

.benefit-item i {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.brand-info-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.brand-info-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
}

.brand-info-card p {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- CTA BOTTOM BANNER (EDITORIAL) --- */
.cta-bottom {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    color: var(--white);
    padding: 5.5rem 2rem;
    text-align: center;
    position: relative;
    border-top: 4px solid var(--primary);
}

.cta-bottom::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 10% 80%, rgba(242, 90, 36, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.cta-bottom-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-bottom h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.cta-bottom p {
    color: #94A3B8;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* --- FOOTER --- */
.footer {
    background-color: #0F172A;
    color: #64748B;
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid #1E293B;
    font-size: 0.9rem;
}

.footer p {
    margin-bottom: 0.5rem;
}

/* --- MODAL INTERATIVO DE AGENDAMENTO (CRO SIMPLIFICADO) --- */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: var(--white);
    padding: 3.5rem 3rem;
    border-radius: var(--radius-md);
    max-width: 550px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: modalFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-content i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.modal-content h3 {
    font-size: 1.85rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 2.25rem;
    font-size: 1.05rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .sidebar-sticky {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.15rem;
    }
    .article-content {
        padding: 2rem 1.5rem;
    }
    .blog-hero {
        padding: 4rem 1rem;
    }
    .main-layout {
        padding: 0 1rem;
    }
}