/* ==========================================================================
   CAELIS ERP - DESIGN SYSTEM PREMIUM & ANIMAÇÕES (REFINADO V2)
   Fontes: Outfit (Títulos) & Plus Jakarta Sans (Corpo)
   Paleta: Indigo Profundo, Violeta Neon, Magenta e Neutros Frios.
   ========================================================================== */

/* 1. Importação de Fontes Premium */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* 2. Variáveis de Design System */
:root {
    /* Cores Temáticas baseadas na logo Caelis Gestão */
    --color-primary: #1e40af;       /* Azul/Indigo do Sistema */
    --color-primary-light: #3b82f6; /* Azul Claro do Sistema */
    --color-primary-dark: #0f172a;  /* Slate Escuro */
    --color-accent: #2563eb;        /* Azul Royal Caelis */
    --color-accent-glow: rgba(37, 99, 235, 0.3);
    --color-secondary: #0f172a;     /* Títulos */
    --color-pink: #0ea5e9;          /* Azul Celeste / Ciano para gradientes */
    --color-orange: #f97316;        /* Coral de contraste */
    
    /* Tons Escuros Premium (Glassmorphism e Dark Mode Hero) */
    --color-dark-bg: #090d16;
    --color-dark-card: rgba(17, 24, 39, 0.7);
    --color-dark-border: rgba(255, 255, 255, 0.08);

    /* Tons Claros */
    --color-bg-light: #f8fafc;
    --color-bg-white: #ffffff;
    --color-border: #e2e8f0;
    --color-text-dark: #334155;     /* Slate 700 */
    --color-text-light: #64748b;    /* Slate 500 */
    --color-success: #10b981;
    
    /* Espaçamentos e Bordas */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 32px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Sombras Elevadas */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 40px rgba(49, 46, 129, 0.08);
    --shadow-inset: inset 0 2px 4px rgba(255, 255, 255, 0.05);
}

/* 3. Reset Completo */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--color-secondary);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* 4. Componentes Globais */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Animação de Entrada ao Rolar (Scroll Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Botões Modernos com Micro-interações */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 100px; /* Botões totalmente arredondados estilo SaaS */
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-smooth);
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent) 100%);
    color: var(--color-bg-white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-pink) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

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

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-pink) 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.btn-accent:hover,
.nav-links a.btn-accent:hover {
    background: var(--color-primary); /* Azul escuro do sistema no hover */
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

/* Badges Modernos */
.badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(37, 99, 235, 0.18);
}

/* 5. Header Premium */
.main-header {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--color-primary-dark);
}

.logo img {
    height: 52px;
    width: auto;
    display: block;
}

.logo span {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
}

.nav-links a {
    color: var(--color-text-dark);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

/* 6. Hero Premium (Fundo escuro dinâmico e animado) */
.hero {
    padding-top: 102px;
    padding-bottom: 108px;
    background-color: var(--color-dark-bg);
    color: var(--color-bg-white);
    position: relative;
    overflow: hidden;
    text-align: left;
}

/* Fundo com Gradiente Animado em Tons de Azul */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 45%),
                radial-gradient(circle at 30% 70%, rgba(14, 165, 233, 0.12) 0%, transparent 45%);
    animation: rotateBg 20s linear infinite;
    z-index: 1;
}

@keyframes rotateBg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero .container {
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    max-width: 900px;
    margin: 0;
    color: var(--color-bg-white);
    line-height: 1.15;
}

.hero h1 span {
    color: #3b82f6; /* Azul Royal Brilhante da Marca */
    background: none;
    -webkit-text-fill-color: initial;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    margin: 1.5rem 0 3rem 0;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
}

/* Botões da Hero */
.hero .btn-secondary {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--color-bg-white);
    background-color: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
    background-color: var(--color-bg-white);
    color: var(--color-dark-bg);
    border-color: var(--color-bg-white);
}

/* 7. Abas Interativas (Soluções) */
.features-section {
    padding: 100px 0;
    background-color: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--color-primary-dark);
}

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

/* Container de Abas */
.tabs-container {
    margin-bottom: 3rem;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.5rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-light);
    cursor: pointer;
    border-radius: 100px;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--color-accent);
    background-color: rgba(124, 58, 237, 0.05);
}

.tab-btn.active {
    color: var(--color-bg-white);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

/* Conteúdo das Abas */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.solution-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.solution-info h3 {
    font-size: 2rem;
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
}

.solution-info p {
    color: var(--color-text-dark);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.solution-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.solution-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.solution-features-list i {
    color: var(--color-success);
    font-size: 1.15rem;
    margin-top: 4px;
}

.solution-visual {
    background: radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.1) 0%, transparent 60%);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    position: relative;
}

/* Efeito de Vidro no visual */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.glass-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.glass-panel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.glass-panel-dot.red { background-color: #ef4444; }
.glass-panel-dot.yellow { background-color: #f59e0b; }
.glass-panel-dot.green { background-color: #10b981; }

/* 8. Seção de Recursos (Cards com Bordas Brilhantes) */
.features-grid-section {
    padding: 100px 0;
    background-color: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.grid-card {
    background-color: var(--color-bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.grid-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: var(--shadow-lg);
}

.grid-card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(124, 58, 237, 0.08);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.grid-card:hover .grid-card-icon {
    background-color: var(--color-accent);
    color: var(--color-bg-white);
    transform: scale(1.05);
}

.grid-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary-dark);
}

.grid-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Implantação guiada */
.implantation-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-bg-white) 0%, #f8fbff 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.implantation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.implantation-card {
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    text-align: left;
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 2.5rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-pink) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-bg-white);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}

.implantation-card h3 {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.implantation-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* 9. Blog Section Premium */
.blog-section {
    padding: 100px 0;
    background-color: var(--color-bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.post-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(124, 58, 237, 0.2);
}

.post-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.post-card:hover .post-thumb img {
    transform: scale(1.04);
}

.post-category {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-bg-white);
    padding: 5px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    border-radius: 100px;
    text-transform: uppercase;
    z-index: 10;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.post-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-meta {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.post-content h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
    line-height: 1.35;
}

.post-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    flex-grow: 1;
    line-height: 1.6;
}

.post-readmore {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Outfit', sans-serif;
}

.post-readmore:hover {
    color: var(--color-primary);
}

.post-readmore i {
    transition: var(--transition-smooth);
}

.post-readmore:hover i {
    transform: translateX(5px);
}

/* 10. Layout dos Posts e Sidebar */
.post-container {
    padding-top: 140px;
    padding-bottom: 100px;
}

.post-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 4rem;
}

.post-article {
    background-color: var(--color-bg-white);
    padding: 3.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.post-header-meta {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: 600;
}

.post-header-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-primary-dark);
    line-height: 1.2;
}

.post-featured-image {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
}

.post-body h2 {
    font-size: 1.75rem;
    margin: 3rem 0 1.5rem 0;
    color: var(--color-primary-dark);
    border-left: 5px solid var(--color-accent);
    padding-left: 16px;
}

.post-body h3 {
    font-size: 1.35rem;
    margin: 2rem 0 1.25rem 0;
    color: var(--color-primary);
}

.post-body p {
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
    color: var(--color-text-dark);
    line-height: 1.75;
}

.post-body ul, .post-body ol {
    margin-bottom: 2rem;
    padding-left: 1.75rem;
}

.post-body li {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-dark);
}

/* Tabelas e Caixas no Blog */
.expression-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    box-shadow: var(--shadow-sm);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.expression-table th, .expression-table td {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    border: 1px solid var(--color-border);
}

.expression-table th {
    background-color: var(--color-bg-light);
    color: var(--color-primary-dark);
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-weight: 700;
    color: var(--color-primary-dark);
    font-size: 1.2rem;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.75rem;
}

.faq-answer {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.sidebar-widget {
    background-color: var(--color-bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary-dark);
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 10px;
}

.sidebar-post-item {
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
}

.sidebar-post-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-post-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.sidebar-post-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    line-height: 1.45;
}

.sidebar-post-title:hover {
    color: var(--color-accent);
}

.sidebar-post-meta {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.sidebar-category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.sidebar-category-item:hover {
    background-color: rgba(124, 58, 237, 0.05);
    color: var(--color-accent);
}

.sidebar-category-count {
    background-color: var(--color-bg-light);
    color: var(--color-text-light);
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* 11. CTA Section Premium (Fundo com Gradiente Glow) */
.cta-section {
    background-color: var(--color-dark-bg);
    color: var(--color-bg-white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 10;
}

.cta-section h2 {
    color: var(--color-bg-white);
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 3rem auto;
    opacity: 0.8;
}

/* 12. Footer Premium */
.main-footer {
    background-color: var(--color-dark-bg);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 40px 0;
    font-size: 0.95rem;
    border-top: 1px solid var(--color-dark-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-widget h4 {
    color: var(--color-bg-white);
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
}

.footer-widget ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-widget a:hover {
    color: var(--color-bg-white);
}

.footer-bottom {
    border-top: 1px solid var(--color-dark-border);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 13. Ajustes de Responsividade */
@media (max-width: 992px) {
    .hero {
        text-align: center;
        padding-top: 88px;
        padding-bottom: 80px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .post-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .nav-links {
        display: none; /* Seria ideal menu hambúrguer no mobile */
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* ==========================================================================
   Diagrama de Conexões Dinâmico Caelis (100% SVG Responsivo)
   ========================================================================== */
.flow-diagram-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 440px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.diagram-svg {
    display: block;
    overflow: visible;
    width: 100%;
    height: 100%;
}

/* Hub Central */
.hub-bg {
    fill: url(#hub-gradient);
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 3.5;
    filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.6));
    animation: svgHubPulse 3s ease-in-out infinite alternate;
}

@keyframes svgHubPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(37, 99, 235, 0.5)); }
    100% { transform: scale(1.04); filter: drop-shadow(0 0 35px rgba(37, 99, 235, 0.8)); }
}

.hub-text-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 11px;
    fill: #ffffff;
    text-anchor: middle;
    letter-spacing: 1px;
}

/* Nós Periféricos */
.node-bg {
    fill: #090d16; /* Fundo escuro igual ao do Hero */
    stroke: var(--color-accent);
    stroke-width: 2;
    transition: var(--transition-smooth);
}

.flow-node-group {
    cursor: pointer;
}

.flow-node-group foreignObject,
.flow-node-group .node-icon-fa {
    pointer-events: none;
}

.flow-node-group:hover .node-bg {
    fill: url(#hub-gradient);
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 3;
    filter: drop-shadow(0 0 14px rgba(14, 165, 233, 0.65));
}

.node-icon-fa {
    transition: var(--transition-smooth);
}

.flow-node-group:hover .node-icon-fa {
    color: #ffffff !important;
}

.node-label-svg {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 10.5px;
    fill: rgba(255, 255, 255, 0.8);
    text-anchor: middle;
}

.flow-node-group:hover .node-label-svg {
    fill: #ffffff;
}

/* SVG Conectores Animados */
.diagram-connections {
    filter: drop-shadow(0 0 8px rgba(14, 165, 233, 0.65));
}

.connection-path {
    stroke: rgba(14, 165, 233, 0.95); /* Ciano brilhante */
    stroke-width: 4;
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 8, 12;
    animation: connectionDash 1.2s linear infinite;
    vector-effect: non-scaling-stroke;
}

@keyframes connectionDash {
    to {
        stroke-dashoffset: -30;
    }
}

/* ==========================================================================
   Estilização do Blog e Posts (Hub & Artigos)
   ========================================================================== */
.blog-header {
    background-color: var(--color-bg-light);
    color: var(--color-primary-dark);
    padding: 120px 0 45px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.blog-header h1 {
    font-size: 2.75rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
    font-weight: 800;
}

.blog-header p {
    color: var(--color-text-light);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}
