/* --- RESET E VARIÁVEIS GLOBAIS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-dark: #017EDA;      /* Azul da Marca */
    --color-light: #ffffff;     /* Branco */
    --color-grey-bg: #f9f9f9;
    --font-family: 'Poppins', sans-serif;
}

/* CORREÇÃO DO VAZIO LATERAL (A TRAVA DEFINITIVA) */
html {
    width: 100%;
    overflow-x: hidden; /* Impede a rolagem no nível mais alto */
}

body {
    font-family: var(--font-family);
    background-color: var(--color-light);
    color: var(--color-dark);
    line-height: 1.6;
    
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* Reforça a trava no corpo do site */
    position: relative; /* Ajuda a conter elementos absolutos */
    
    /* Espaço para o conteúdo não ficar atrás do menu fixo */
    padding-top: 70px; 
}

/* Utilitários */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.section-padding { padding: 80px 0; }

a { text-decoration: none; color: inherit; }

/* --- ESTILOS DE BOTÕES --- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.btn-dark {
    background-color: var(--color-dark);
    color: var(--color-light);
    border: 2px solid var(--color-dark);
}

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

/* Botão SIM */
.btn-yes {
    background-color: var(--color-dark); 
    color: white;
    border: none;
    z-index: 2;
}

/* Botão NÃO (Outline) */
.btn-no {
    background-color: var(--color-light); 
    color: #DB3733;             
    border: 2px solid #DB3733;  
    transition: all 0.3s ease-out; 
    position: relative;
    z-index: 1;
}

.btn:hover { opacity: 0.8; transform: translateY(-2px); }

/* --- CABEÇALHO (Header Fixo) --- */
.header {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 15px 0;
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000; /* Header sempre por cima */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; 
}

.logo-img {
    height: 40px; 
    width: auto;  
    display: block; 
    transition: transform 0.3s ease;
    cursor: pointer; 
}

.logo-img:hover, .logo-img.mobile-effect {
    transform: rotate(-3deg) scale(1.05);
}

.nav-links a {
    margin: 0 20px;
    font-size: 14px;
    opacity: 1;
}
.nav-links a:hover { opacity: 0.8;}

/* --- HERO SECTION --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px; 
    padding-bottom: 80px;
    gap: 50px;
}

.hero-text { flex: 1; }

.hero-text h1 {
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text p {
    color: #666;
    margin-bottom: 30px;
    max-width: 400px;
}

.hero-buttons { 
    display: flex; 
    gap: 15px; 
    position: relative; 
}

.hero-image-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.main-photo {
    max-width: 400px; 
    width: 90%; 
    border-radius: 20px;
    height: auto; 
    object-fit: cover;
    box-shadow: 20px 20px 0px rgba(0,0,0,0.05); 
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.main-photo:hover, .main-photo.mobile-effect {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 30px 35px 0px rgba(0,0,0,0.1);
}

/* --- BALÕES FLUTUANTES --- */
.floating-tag {
    position: absolute;
    background-color: #DB3733; 
    color: var(--color-light);
    padding: 12px 24px;
    border-radius: 25px;     
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(124, 124, 124, 0.3); 
    transition: all 0.5s ease; 
    cursor: default; 
}

.floating-tag:hover, .floating-tag.mobile-effect {
    transform: translateY(-8px);
}

.floating-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%); 
    border-style: solid;
    border-width: 10px;
}

.pos-1 { top: 20%; left: -20px; }
.pos-1::after {
    right: -13px; bottom: 45px; transform: rotate(20deg);
    border-color: transparent transparent transparent #DB3733;
}

.pos-2 { bottom: 15%; right: -20px; }
.pos-3 { top: 10%; right: -10px; }
.pos-2::after, .pos-3::after {
    left: -13px; bottom: 45px; transform: rotate(-20deg);
    border-color: transparent #DB3733 transparent transparent;
}

/* --- FAIXA INCLINADA (MARQUEE) --- */
.marquee-container {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 15px 0;
    overflow: hidden; /* Esconde o que sai da tela */
    transform: rotate(-2deg);
    margin: 60px 0;
    
    /* Garante que a faixa seja maior que a tela para não cortar */
    width: 110vw;        
    margin-left: -5vw;   
}

.marquee-content {
    display: flex;
    /* "max-content" faz a div ter a largura exata do texto inteiro, sem quebrar linha */
    width: max-content; 
    
    /* AQUI ESTÁ A MÁGICA: */
    /* 20s = tempo da volta completa (quanto menor, mais rápido) */
    /* linear = velocidade constante (sem acelerar/frear) */
    /* infinite = nunca para */
    animation: marquee-loop 20s linear infinite;
}

.marquee-content span {
    white-space: nowrap;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    
    /* Adiciona um espaço no final para quando o loop reiniciar não colar o texto */
    padding-right: 50px; 
}

/* A ANIMAÇÃO (O Motor do Loop) */
@keyframes marquee-loop {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        /* Move a faixa para a esquerda exatamente METADE do seu tamanho. */
        /* Como o texto está duplicado, a metade é exatamente o ponto de reinício. */
        transform: translateX(-50%); 
    }
}
/* --- SERVIÇOS (AJUSTADO PARA NOVA COPY) --- */
.section-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-header p { color: #666; margin-bottom: 25px; }
.header-btn { margin-bottom: 60px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    column-gap: 80px;
    row-gap: 40px;
}

.service-item {
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; /* Alinha no topo para caber o texto embaixo */
    padding-bottom: 20px; 
    border-bottom: 1px solid #ddd; 
    cursor: pointer;
}

/* Ajuste para o texto ficar bonito */
.service-item div {
    flex: 1;
    padding-right: 20px;
}

.service-item h3 { font-size: 1.4rem; font-weight: 600; }
.rotate-arrow { font-size: 24px; transform: rotate(45deg); transition: transform 0.3s; }
.service-item:hover .rotate-arrow { transform: rotate(45deg) translate(5px, -5px); }

/* --- PROJETOS RECENTES --- */
.projects h2 { margin-bottom: 10px; font-size: 2.5rem; }
.projects-grid {
    display: grid; grid-template-columns: 1.5fr 1fr; 
    grid-template-rows: repeat(2, 300px); gap: 25px;
}
.project-item { border-radius: 20px; overflow: hidden; background-color: #eee; }
.project-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.project-item:hover img { transform: scale(1.05); }
.item-1 { grid-row: 1 / 3; } 

/* --- NOVA SEÇÃO: CTA FINAL (NEW!) --- */
.cta-box {
    background-color: #f4f4f4; 
    padding: 80px 20px;
    border-radius: 30px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.cta-box h2 {
    font-size: 2.5rem;
    max-width: 700px;
    line-height: 1.2;
    color: var(--color-dark);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
    background-color: #DB3733;
}

/* --- RODAPÉ --- */
.footer {
    background-color: var(--color-dark); 
    color: var(--color-light);
    padding: 60px 0; 
    text-align: center; 
    margin-top: auto;
}
.footer-content {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 30px;
}
.social-links { display: flex; justify-content: center; gap: 25px; }
.social-links a { color: var(--color-light); font-size: 32px; transition: all 0.3s ease; }
.social-links a:hover { opacity: 1; transform: translateY(-5px); color: #ffffff; }
.copyright p { font-size: 14px; font-weight: 300; opacity: 0.6; }

/* --- PERSONALIZAÇÃO DA BARRA DE ROLAGEM (SCROLLBAR) --- */

/* 1. A largura da barra */
::-webkit-scrollbar {
    width: 14px; /* Aumentei um pouquinho para o gradiente aparecer melhor */
}

/* 2. O trilho (fundo escuro) */
::-webkit-scrollbar-track {
    background: #ffffff; 
}

/* 3. A barra em si (o "polegar") */
::-webkit-scrollbar-thumb {
    /* Para o gradiente funcionar com espaçamento, usamos background-image */
    background-color: transparent;
    background-image: linear-gradient(to bottom, #55c4f7, #017EDA);
    
    border-radius: 10px;
    
    /* O TRUQUE: Borda transparente + background-clip */
    /* A borda transparente cria o espaço vazio ao redor */
    border: 4px solid transparent;
    
    /* Isso diz pro navegador: "Pinte o gradiente SÓ dentro, não na borda" */
    background-clip: content-box; 
}

/* 4. Efeito quando passa o mouse */
::-webkit-scrollbar-thumb:hover {
    background-image: linear-gradient(to bottom, #55c4f7, #0061a8); 
    /* Não precisa mudar a borda aqui, o efeito visual acontece na cor */
}

/* --- RESPONSIVIDADE (Mobile) --- */
.hamburger { display: none; }

@media (max-width: 768px) {
    
    .header-content { position: relative; justify-content: center; padding: 0; }
    .hamburger {
        display: block; font-size: 32px; cursor: pointer; color: var(--color-light);
        position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    }
    .nav-links {
        position: absolute; top: 70px; left: 0; width: 100%; background-color: #DB3733;
        border-radius: 50px; 
        flex-direction: column; align-items: center; padding: 40px 0; gap: 30px;
        display: none; z-index: 1000; border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    .nav-links.active { display: flex; animation: descidaSuave 0.3s ease; }
    .nav-links a { color: #ffffff !important; font-size: 20px; opacity: 1; }
    .header .btn-white { display: none; }
    
    /* Hero Mobile */
    .hero { 
        flex-direction: column; 
        text-align: center; 
        padding-top: 20px; 
        gap: 20px;
    }
    
    .hero-text h1 { font-size: 2.2rem; line-height: 1.2; }

    /* Espaço entre texto e botões */
    .hero-text p {
        margin-bottom: 30px; 
        font-size: 1.1rem;
    }
    
    .hero-buttons { 
        justify-content: center; flex-direction: column; align-items: center; 
        width: 100%; padding: 0 20px; gap: 15px;
        min-height: 110px; 
    }
    
    .btn { padding: 10px 24px; font-size: 14px; width: 80%; max-width: 300px; }
    .btn-no { width: auto; min-width: 200px; }

    /* Mini Balões Mobile */
    .floating-tag {
        display: block; 
        padding: 8px 16px; 
        font-size: 12px;   
        border-radius: 20px;
        box-shadow: 0 5px 15px rgba(124, 124, 124, 0.2);
    }
    .floating-tag::after { border-width: 6px; }

    .pos-1 { top: 15%; left: -5px; }
    .pos-1::after {
        right: -9px; bottom: auto; top: 50%; transform: translateY(-50%);
        border-color: transparent transparent transparent #DB3733;
    }
    .pos-2 { bottom: 10%; right: -5px; }
    .pos-3 { top: 5%; right: -5px; }
    .pos-2::after, .pos-3::after {
        left: -9px; bottom: auto; top: 50%; transform: translateY(-50%);
        border-color: transparent #DB3733 transparent transparent;
    }

    .marquee-container { width: 120vw; margin-left: -10vw; }
    .services-grid { grid-template-columns: 1fr; }
    .projects-grid { display: flex; flex-direction: column; }
    .project-item { height: 300px; }
    
    /* Ajuste do CTA no mobile */
    .cta-box h2 { font-size: 1.8rem; }
}

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

/* --- MODAL --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.8); z-index: 3000;
    display: none; justify-content: center; align-items: center; padding: 20px;
}
.modal-overlay.show { display: flex; animation: fadeIn 0.3s ease; }
.modal-content {
    background-color: var(--color-light); padding: 40px; border-radius: 20px;
    max-width: 400px; width: 100%; text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2); transform: scale(1);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-content p { margin-bottom: 40px; color: #666; }

/* --- ESTILO DO BLOG (MAGAZINE STYLE) --- */

/* Container Principal */
.magazine-container {
    max-width: 1200px;
    margin: 0 auto;
    color: #017EDA;
}

/* Cabeçalho do Blog "BIG TITLE" */
.magazine-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.big-title {
    font-size: 12vw; /* Gigante e responsivo */
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
    margin: 0;
    margin-top: 30px;
    letter-spacing: -2px;
}

/* Categorias (Botões ovais do topo) */
.categories {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.categories span {
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #017EDA; /* Cor do texto "CATEGORIAS:" */
}

/* --- CSS ATUALIZADO PARA AS CATEGORIAS --- */

.cat-pill {
    text-decoration: none;
    /* Removi o background-color fixo daqui */
    border-radius: 50px;
    padding: 5px 15px;
    font-size: 0.8rem;
    color: #ffffff;
    text-transform: uppercase;
    transition: all 0.3s;
    font-weight: bold;
}

/* Cores específicas para o cabeçalho */

/* Arquitetura (Azul) */
.cat-pill.cat-azul {
    background-color: #017EDA;
}
.cat-pill.cat-azul:hover {
    background-color: #0056b3; /* Azul mais escuro no hover */
}

/* Interiores (Vermelho) */
.cat-pill.cat-vermelho {
    background-color: #DB3733;
}
.cat-pill.cat-vermelho:hover {
    background-color: #b12d2a; /* Vermelho mais escuro no hover */
}

/* Dicas (Cinza ou outra cor) */
.cat-pill.cat-cinza {
    background-color: #212121;
}
.cat-pill.cat-cinza:hover {
    background-color: #080808;
}

/* Dicas (Cinza ou outra cor) */
.cat-pill.cat-amarelo {
    background-color: #ffe81c;
}
.cat-pill.cat-amarelo:hover {
    background-color: #e0d130;
}
/* --- GRADE E CARDS (ALTERADO PARA OVAL) --- */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; /* Espaço entre os cards */
    border: none; /* Sem borda na grade geral */
    margin-bottom: 40px;
}

/* O Cartão do Post */
.post-card {
    /* Borda completa e arredondada */
    border: 1px solid #e9e9e9; 
    border-radius: 40px; /* Deixa oval */
    overflow: hidden; /* Garante que a imagem não saia da borda redonda */
    
    padding: 0; /* Zero padding para a imagem colar nas bordas */
    display: flex;
    flex-direction: column;
    background: #fbfbfb;
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-5px); /* Sobe um pouco */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Imagem */
.post-image img {
    width: 100%;
    height: 250px; 
    object-fit: cover; 
    display: block;
    margin-bottom: 20px;
}

/* Ajuste de espaçamento interno do texto (já que tiramos o padding do card) */
.post-card h2, 
.post-card p, 
.post-footer {
    padding-left: 25px;
    padding-right: 25px;
}

/* Meta dados (Data e Tag) */
.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px 0 25px; /* Espaçamento interno específico */
    margin-bottom: 15px;
    font-size: 0.75rem;
    color: #017EDA; /* Cor da data (azul para aparecer no fundo branco) */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- TAGS COLORIDAS --- */

/* Estilo Base da Tag */
.tag {
    padding: 4px 12px;
    border-radius: 20px;
    color: #ffffff;
    font-weight: bold;
    font-size: 0.7rem;
    text-transform: uppercase;
}

/* Cores Específicas - Use essas classes no HTML */
.tag-azul {
    background-color: #017EDA;
}

.tag-vermelho {
    background-color: #DB3733;
}

.tag-amarelo {
    background-color: #ffe81c;
}

.tag-cinza {
    background-color: #212121;
}

/* Títulos e Texto */
.post-card h2 {
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    font-weight: 700;
    line-height: 1.2;
    color: #017EDA;
}

.post-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 30px;
    flex-grow: 1; 
}

/* Rodapé do card */
.post-footer {
    font-size: 0.75rem;
    color: #017EDA;
    border-top: 1px solid #eee; /* Linha separadora interna */
    padding-top: 15px;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    margin-top: auto;
}

/* Responsividade */
@media (max-width: 600px) {
    /* 1. Deixa os posts em uma coluna só */
    .posts-grid {
        grid-template-columns: 1fr; 
    }

    /* 2. Ajusta a borda do card para não ficar redonda demais */
    .post-card {
        border-radius: 30px; 
    }

    /* 3. AQUI ESTÁ A MÁGICA DO RESPIRO: */
    .magazine-container {
        /* Aumentando o espaço lateral de 20px para 35px */
        padding-left: 35px; 
        padding-right: 35px;
    }
}

/* ================================================================= */
/* PÁGINA DO ARTIGO COMPLETA (FINAL)                    */
/* ================================================================= */

.floating-back-btn {
    position: fixed;
    left: 30px;
    top: 100px; /* Desktop: Abaixo do menu */
    width: 45px;
    height: 45px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1001; /* Acima de tudo */
    color: var(--primary-blue);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-back-btn:hover {
    background-color: #017EDA;
    color: white;
    transform: translateX(-5px);
}

/* ========================================= */
/* 4. HERO PARALLAX (LÓGICA CORRIGIDA)      */
/* ========================================= */
.parallax-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    margin-top: 0 !important;
}

.parallax-hero .layer {
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
}

/* Camada 1: Fundo (Ancorado no chão) */
.layer-bg {
    z-index: 1;
    bottom: 0;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* Camada 2: Título (Centralizado) */
.layer-titlee {
    z-index: 2;
    position: absolute;
    
    /* CENTRALIZAÇÃO HORIZONTAL (O Segredo) */
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    
    /* Posição Vertical Inicial */
    top: 3%; /* Começa um pouco acima do meio */
    
    /* Tamanho */
    width: 60%; 
    max-width: 600px;
    height: auto;
    
    /* Importante: Começa sem transform nenhum para o JS assumir */
    transform: none;
}

/* Camada 3: Frankenstein (Ancorado no chão) */
.layer-frank {
    z-index: 3;
    bottom: 0;
    height: 100%; /* Mesma altura do fundo */
    object-fit: cover;
}
.hero-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Importante: Deixa você clicar nas coisas embaixo se precisar */
    pointer-events: none; 
    
    /* Z-Index: Fica em cima do Frank (3) mas embaixo do degradê branco (5) */
    z-index: 4; 
    
    /* O Efeito Visual */
    background: radial-gradient(
        circle, 
        rgba(0,0,0,0) 35%,      /* Centro transparente (mostra o conteúdo) */
        rgba(0,0,0,0.3) 60%,    /* Escurece suavemente */
        rgba(0,0,0,0.9) 100%    /* Bordas pretas fortes */
    );
    
    /* Opcional: Mistura a sombra com a imagem para ficar mais natural */
    mix-blend-mode: multiply; 
}
/* Degradê para suavizar a base hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, #fff 10%, transparent);
    z-index: 4;
}*/

/* --- 3. ESTRUTURA DO CONTEÚDO (WRAPPER) --- */

/* ========================================= */
/* 5. ESTRUTURA E SIDEBAR                   */
/* ========================================= */
.article-content-wrapper {
    position: relative;
    z-index: 10;
    background: #fff;
    margin-top: -50px; /* Efeito sobreposição */
    border-radius: 30px 30px 0 0;
    padding-bottom: 50px;
}

.article-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 60px 1fr; /* Coluna Sidebar + Texto */
    gap: 40px;
}

/* Sidebar Desktop (Sticky) */
.social-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: sticky;
    top: 150px;
    height: fit-content;
    z-index: 90;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #f0f2f5;
    color: #017EDA;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #017EDA;
    color: white;
    transform: translateY(-3px);
}

/* ========================================= */
/* 6. CONTEÚDO E TIPOGRAFIA                 */
/* ========================================= */
.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

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

.highlight-blue {
    color: #017EDA;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.article-body h3 {
    color: #017EDA;
    font-size: 1.4rem;
    margin-top: 30px;
    font-weight: 600;
}

.article-quote {
    border-left: 4px solid #017EDA;
    padding-left: 20px;
    font-style: italic;
    font-size: 1.3rem;
    color: #ffffff;
    margin: 40px 0;
    background: #55c4f7;
    padding: 30px;
    border-radius: 0 10px 10px 0;
}

.article-image-container img {
    width: 100%;
    border-radius: 20px;
    margin: 30px 0 10px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-image-container figcaption {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

/* Lista Customizada */
.custom-list { list-style: none; padding: 0; }
.custom-list li {
    margin-bottom: 10px; padding: 15px;
    background: #f8f9fa; border-radius: 8px;
    border-left: 3px solid var(--primary-blue);
}

/* ========================================= */
/* 7. CTA E RODAPÉ (SEM BORDAS)             */
/* ========================================= */
.article-cta {
    background-color: #f9f9f9;
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid #eee;
}

.cta-content h2 {
    color: var(--primary-blue);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.cta-button {
    display: inline-block;
    background-color: #DB3733;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(219, 55, 51, 0.3);
}

.cta-button:hover {
    background-color: #b52a27;
    transform: scale(1.05);
}
/* Botão Voltar ao Topo */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #017EDA;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background-color: #0056b3; transform: translateY(-5px); }

/* ========================================= */
/* 8. RESPONSIVIDADE (MOBILE)               */
/* ========================================= */
@media (max-width: 768px) {
    /* Header e Menu */
    .header-content .btn-white { display: none; }
    .nav-links { display: none; /* Adicione lógica de menu JS se tiver */ }
    
    /* Parallax Ajustado */
    .parallax-hero { height: 70vh; }
    
   .layer-bg, 
    .layer-frank {
        height: 100% !important; /* Ambos ocupam tudo */
        width: 100% !important;
        bottom: 0;
        top: auto; /* Reseta qualquer top anterior */
        
        /* Garante que ambos cortem do mesmo jeito */
        object-fit: cover;
        object-position: center bottom; /* Ancora no chão */
    }

    /* 3. Título (Ajuste Independente) */
    .layer-title { 
        width: 70% !important; /* Título maior para ler */
        top: 20%;              /* Posição vertical */
        transform: translate(-50%, -50%) !important; /* Mantém centralizado */
    }

    /* Sidebar Fixa na Lateral Esquerda */
    .social-sidebar {
        position: fixed;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        gap: 10px;
        z-index: 100;
    }
    
    .social-icon {
        background: rgba(240, 242, 245, 0.9);
        box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
        width: 35px; height: 35px;
    }
    
    /* Botão Voltar (Abaixo do Menu) */
    .floating-back-btn {
        top: 85px; 
        left: 20px;
        width: 40px; height: 40px; font-size: 1.3rem;
        background-color: #fff;
        color: var(--primary-blue);
    }
    
    /* Layout com RESPIRO LATERAL */
    .article-container {
        grid-template-columns: 1fr;
        padding-left: 60px; /* Espaço para a sidebar fixa */
        padding-right: 35px; /* Respiro lateral direito */
        padding-top: 40px;
    }
    
    /* Ajuste para o Blog Principal (Grade) */
    .magazine-container {
        padding-left: 35px;
        padding-right: 35px;
    }
    
    /* Ajuste do botão topo */
    #backToTop { bottom: 20px; right: 20px; }
}