/* =========================================
   ESTILOS ESPECÍFICOS POR SEÇÃO
   ========================================= */

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    background-color: var(--bg-hero);
    background-image: 
        radial-gradient(circle at 50% -20%, rgba(47, 124, 255, 0.15), transparent 70%),
        radial-gradient(circle at 100% 50%, rgba(47, 124, 255, 0.05), transparent 50%),
        radial-gradient(circle at 0% 50%, rgba(47, 124, 255, 0.05), transparent 50%);
    position: relative;
    color: white;
    overflow: hidden;
    /* AJUSTE 4: Divisão Suave via Gradiente */
    border-bottom: none;
}

/* Linha de separação suave para o Hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #9ca3af;
    background: rgba(255,255,255,0.08);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: white;
}

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

.hero-subheadline {
    font-size: 1.25rem;
    color: #e5e7eb;
    font-weight: 500;
    margin-bottom: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-description {
    font-size: 1.125rem;
    color: #9ca3af;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-differentials {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: left;
    /* Linha superior sutil */
    position: relative;
    padding-top: 40px;
    border-top: none; 
}

.hero-differentials::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
}

.differential-item h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.differential-item h4 i {
    color: var(--color-accent);
    font-size: 0.8rem;
}

.differential-item p {
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 400;
}

@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .hero-differentials { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-differentials { grid-template-columns: 1fr; gap: 15px; }
}

/* Gradient Transition Section */
.section-gradient-transition {
    background: linear-gradient(
        to bottom, 
        var(--bg-hero) 0%,
        #060e1f 25%,
        #0f2242 55%,
        #ecf0f6 85%,
        #F9FAFB 100%
    );
    position: relative;
}

.section-gradient-transition .section-header h2 { color: var(--color-white); }
.section-gradient-transition .section-header p { color: #9CA3AF; }

/* Section Header */
.section-header {
    margin-bottom: 50px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--color-text-gray);
    font-size: 1.15rem;
}

/* Conteúdo dos Cards (Interno) */
.icp-card h3, .eco-card h3 {
    margin-bottom: 24px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #111827;
}

.icp-block { margin-bottom: 24px; }
.icp-block:last-child { margin-bottom: 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.05); margin-top: auto; }

.icp-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    padding: 4px 0;
}

.icp-label::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 8px; }
.label-problem { color: #ef4444; }
.label-problem::before { background-color: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.4); }
.label-solution { color: var(--color-accent); }
.label-solution::before { background-color: var(--color-accent); box-shadow: 0 0 8px rgba(47, 124, 255, 0.4); }

.icp-text { color: #4B5563; font-size: 1rem; line-height: 1.6; }
.icp-block:last-child .icp-text { color: #0F172A; font-weight: 500; }

.eco-description { font-size: 1rem; color: #6B7280; line-height: 1.6; margin-bottom: 24px; flex-grow: 1; }
.eco-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); margin-bottom: 24px; width: 100%; }
.eco-list { list-style: none; padding: 0; margin: 0; }
.eco-list li { font-size: 1rem; color: #374151; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.eco-list li:last-child { margin-bottom: 0; }
.eco-list li i { color: var(--color-accent); font-size: 0.8rem; flex-shrink: 0; }

/* Marquee Section */
.marquee-container {
    margin-top: 100px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-label {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 40px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marquee-scroll 80s linear infinite;
}

.marquee-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 32px;
    background-color: #ffffff;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    cursor: default;
}

.marquee-tag:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(47, 124, 255, 0.12);
}

.marquee-tag i {
    font-size: 0.5rem;
    color: var(--color-accent);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.marquee-tag:hover i { opacity: 1; text-shadow: 0 0 5px currentColor; }

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

@media (max-width: 768px) {
    .marquee-track { animation-duration: 50s; gap: 16px; }
    .marquee-tag { padding: 10px 24px; font-size: 0.9rem; }
}

/* Process Section */
.step-item {
    position: relative;
    text-align: center;
    transition: transform 0.3s ease;
}

.step-item:hover { transform: translateY(-5px); }

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--color-white);
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    margin: 0 auto 24px;
    z-index: 2;
    position: relative;
    box-shadow: 0 4px 15px rgba(47, 124, 255, 0.2); /* Glow no número */
}

.step-item::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(47, 124, 255, 0.3), transparent); /* Linha degradê */
    z-index: 1;
    transform: translateY(-50%);
}

.step-item:last-child::after { display: none; }

.step-item h4 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: #111827;
}

.step-item p {
    font-size: 1rem;
    color: #4B5563;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .step-item::after { display: none; }
    .step-item { display: flex; text-align: left; align-items: flex-start; gap: 20px; padding: 0; }
    .step-number { margin: 0; flex-shrink: 0; }
}

/* Results Section */
.results-section {
    background-color: var(--bg-hero);
    color: white;
    text-align: center;
    position: relative;
    background-image: radial-gradient(circle at 50% 50%, rgba(47, 124, 255, 0.03) 0%, transparent 70%);
}

.results-section .section-header h2 { color: white; margin-bottom: 16px; }
.results-section .section-header p { color: #9CA3AF; font-size: 1.15rem; max-width: 600px; margin: 0 auto; }

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 80px auto;
    max-width: 1000px;
    padding: 40px 0;
    /* Bordas degradê */
    border-top: none;
    border-bottom: none;
    position: relative;
}

.results-grid::before, .results-grid::after {
    content: '';
    position: absolute;
    left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.results-grid::before { top: 0; }
.results-grid::after { bottom: 0; }

.result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.result-item h3 {
    font-size: 4.5rem;
    color: var(--color-accent); /* Default color, JS handles transition */
    margin-bottom: 16px;
    line-height: 1;
    font-family: var(--font-heading);
    letter-spacing: -0.04em;
    text-shadow: 0 0 20px rgba(47, 124, 255, 0.3); /* Glow default */
    /* REMOVIDO transition: color para não "atrasar" o JS */
    position: relative;
    display: inline-block;
}

.result-item p {
    color: #E5E7EB;
    font-size: 1.125rem;
    font-weight: 500;
}

/* SHINE EFFECT (KPI ANIMATION) - Opcional A (Discreto) */
.shine-active {
    position: relative;
    overflow: hidden; /* Corta o brilho fora do texto se display:inline-block */
}

/* Criando o efeito de brilho via pseudo-elemento no texto */
.shine-active::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-25deg);
    animation: result-shine 1s forwards;
    pointer-events: none;
    mix-blend-mode: overlay; /* Mistura para ficar mais natural */
}

@keyframes result-shine {
    100% { left: 150%; }
}

.disclaimer {
    font-size: 0.9rem;
    color: #6B7280;
    margin-top: 20px;
    opacity: 0.8;
    font-style: italic;
}

@media (max-width: 992px) {
    .results-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .result-item h3 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .results-grid { grid-template-columns: 1fr; gap: 60px; margin: 50px 0; }
    .results-grid::before, .results-grid::after { display: none; }
}

/* CTA Banner */
.cta-banner {
    background-color: var(--color-accent);
    color: white;
    padding: 100px 0;
    text-align: center;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.1); /* Profundidade interna */
}

.cta-banner h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 2.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .cta-banner h2 { font-size: 1.5rem; }
}

/* Contact Specifics - REDESIGN "Split Card" */
.contact-wrapper {
    display: grid;
    /* Grid de colunas: 400px Sidebar, resto Form */
    grid-template-columns: 400px 1fr; 
    gap: 0; 
    background: white;
    padding: 0;
    border-radius: 24px; 
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4); 
    overflow: hidden;
    align-items: stretch;
    width: 100%; 
    border: 1px solid rgba(255,255,255,0.05);
}

/* Lado Esquerdo: Sidebar com Imagem e Infos */
.contact-sidebar {
    background-color: #EFF6FF; 
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(0,0,0,0.03); 
}

/* Estilo da imagem */
.sidebar-image {
    width: 100%;
    height: 300px; 
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

/* Conteúdo abaixo da imagem */
.sidebar-content {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.sidebar-content h3 {
    font-size: 1.35rem;
    margin-bottom: 24px;
    color: #1e3a8a;
    font-weight: 700;
    line-height: 1.3;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #374151;
    font-size: 1rem;
    font-weight: 500;
}

.contact-item i {
    font-size: 1.4rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.icon-whatsapp { color: #25D366; }
.icon-email { color: #3B82F6; }
.icon-clock { color: #3B82F6; }

/* Lado Direito: Formulário */
.contact-form {
    padding: 60px 50px; 
    background-color: #FFFFFF;
}

/* Inputs com fundo cinza claro para contraste */
.contact-form .form-control, 
.contact-form .form-select {
    background-color: #F9FAFB;
    border-color: #E5E7EB;
}

.contact-form .form-control:focus, 
.contact-form .form-select:focus {
    background-color: #FFFFFF;
    border-color: var(--color-accent);
}

#form-message { margin-top: 15px; padding: 10px; border-radius: var(--border-radius); display: none; font-size: 0.9rem; text-align: center; }
.success-msg { background-color: #d1fae5; color: #065f46; }
.form-support-text { font-size: 0.85rem; color: #6B7280; margin-top: 15px; text-align: center; }

/* Breakpoint para Tablets e Mobile (Stack Vertical) */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr; /* Coluna única */
    }
    
    .contact-sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .sidebar-image {
        height: 240px;
    }
    
    .contact-form {
        padding: 40px 25px;
    }
}

/* Footer Specifics */
.footer-brand h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.footer-brand p { font-size: 0.95rem; color: #6B7280; }

.footer-col h5 {
    color: white;
    margin-bottom: 24px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: #9CA3AF; transition: all 0.3s; width: fit-content; }
.footer-nav a:hover { color: white; transform: translateX(5px); }

.footer-contact li { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #9CA3AF; }
.footer-contact i { color: var(--color-accent); font-size: 1rem; width: 20px; text-align: center; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
}

.footer-social a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(47, 124, 255, 0.3);
}

/* ======================================================
   CONTATO PAGE - ESTILOS EXCLUSIVOS (ISOLADOS)
   ====================================================== */

.contact-hero {
    padding-top: 200px;
    padding-bottom: 60px;
    position: relative;
}

.contact-grid-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .contact-hero { padding-top: 160px; padding-bottom: 40px; }
    .contact-grid-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* Glass Card Genérico */
.glass-card {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(96, 165, 250, 0.2);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    background: rgba(30, 41, 59, 0.5);
}

/* Info Cards Stack */
.info-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.info-card-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1.2rem;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 0 15px rgba(47, 124, 255, 0.1);
    flex-shrink: 0;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.info-value {
    color: white;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

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

/* Highlight WhatsApp */
.highlight-whatsapp-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.4) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-color: rgba(16, 185, 129, 0.2);
    text-align: center;
}

.hw-content h3 { color: white; margin-bottom: 8px; font-size: 1.2rem; }
.hw-content p { font-size: 0.9rem; color: #cbd5e1; margin-bottom: 20px; }

/* Contact Form Specifics */
.form-wrapper-card { padding: 40px; }

.form-header { margin-bottom: 30px; }
.form-header h3 { font-size: 1.8rem; color: white; margin-bottom: 8px; }
.form-header p { color: #94a3b8; }

.form-label-sm {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
}

.input-with-icon { position: relative; }
.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 2;
    transition: color 0.3s;
}

.contact-page-form .form-control {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    padding-left: 44px; /* Space for icon */
    height: 50px;
    font-size: 0.95rem;
    border-radius: 8px;
}

.contact-page-form textarea.form-control {
    padding-left: 16px; /* Reset padding for textarea */
    height: auto;
    padding-top: 16px;
}

.contact-page-form .form-control:focus {
    background: rgba(15, 23, 42, 0.9);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(47, 124, 255, 0.15);
}

.contact-page-form .form-control:focus + .input-icon, 
.input-with-icon:focus-within .input-icon {
    color: var(--color-accent);
}

.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-wrapper-card { padding: 24px; }
    .form-row-grid { grid-template-columns: 1fr; gap: 0; }
}

.form-microcopy {
    margin-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* ======================================================
   BLOG PAGE - ESTILOS EXCLUSIVOS
   ====================================================== */

/* Hero do Blog */
.blog-hero {
    padding-top: 180px;
    padding-bottom: 60px;
    position: relative;
}

@media (max-width: 992px) {
    .blog-hero { padding-top: 140px; padding-bottom: 40px; }
}

/* Toolbar de Filtros */
.blog-toolbar-section {
    position: sticky;
    top: 80px; /* Ajuste conforme altura do header */
    z-index: 90;
    margin-bottom: 20px;
}

.blog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 24px;
    background: rgba(11, 15, 20, 0.85); /* Mais opaco para legibilidade */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Busca */
.search-box {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.9rem;
}

.search-box input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    background: rgba(255,255,255,0.08);
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 2px rgba(47, 124, 255, 0.15);
}

/* Chips de Filtro */
.filter-chips {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px; /* Para scrollbar não colar */
    flex: 2;
    justify-content: center;
    scrollbar-width: none; /* Firefox */
}
.filter-chips::-webkit-scrollbar { display: none; }

.chip {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: #94a3b8;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.chip:hover {
    background: rgba(255,255,255,0.05);
    color: white;
    border-color: rgba(255,255,255,0.3);
}

.chip.active {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    box-shadow: 0 2px 10px rgba(47, 124, 255, 0.25);
}

/* Ordenação */
.sort-box select {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #cbd5e1;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
}

.sort-box select:focus { border-color: var(--color-accent); }

@media (max-width: 992px) {
    .blog-toolbar { flex-direction: column; align-items: stretch; gap: 16px; }
    .search-box { max-width: 100%; }
    .filter-chips { justify-content: flex-start; padding-bottom: 10px; }
    .sort-box { text-align: right; }
}

/* Grid de Posts */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
}

/* Blog Card */
.blog-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-6px);
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 15px 40px -10px rgba(0,0,0,0.4), 0 0 20px rgba(47, 124, 255, 0.05);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.blog-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(47, 124, 255, 0.9);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

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

.card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 12px;
}

.card-meta i { margin-right: 6px; color: var(--color-accent); opacity: 0.8; }

.blog-card h3 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.2s;
}

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

.blog-card p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1; /* Empurra o link para baixo */
}

.read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: #60a5fa;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: gap 0.2s;
}

.read-more:hover {
    color: white;
    gap: 12px;
}
