/* ==========================================================================
   VARIÁVEIS E CONFIGURAÇÕES GERAIS
   ========================================================================== */
:root {
    --primary-dark: #2B2D36;
    --accent-gold: #D1B256;
    --light-bg: #F9F9FA;
    --text-dark: #1F2024;
    --text-light: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   CABEÇALHO E NAVEGAÇÃO (Logo Grande e Caixa Fina)
   ========================================================================== */
header {
    /* Degradê ajustado: Branco puro na esquerda (camuflando a logo) indo para cinza claro na direita */
    background: linear-gradient(to right, #FFFFFF 40%, #EBECF0 100%);
    padding: 0 10%; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 6px solid var(--accent-gold); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); 
    height: 215px; /* Altura levemente maior para dar o "respiro" no topo */
}

.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-container img {
    height: 280px; /* Tamanho base */
    width: auto;
    display: block;
    mix-blend-mode: multiply;
    margin-top: 0; /* Removemos a margem negativa que estava achatando no topo */
    
    /* A MÁGICA AQUI: Dá um zoom de 35% na logo sem estragar a altura do cabeçalho */
    transform: scale(1.35); 
    transform-origin: left center; /* Faz o zoom crescer a partir da esquerda */
}

nav a {
    color: var(--primary-dark);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-gold);
}

/* ==========================================================================
   NAVEGAÇÃO (Menu Interativo em formato Box)
   ========================================================================== */
nav a {
    color: var(--primary-dark);
    text-decoration: none;
    margin-left: 10px; /* Reduzido levemente para acomodar o preenchimento da caixa */
    padding: 8px 18px; /* Cria a dimensão da "box" ao redor do texto */
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px; /* Bordas levemente arredondadas para sofisticação */
    transition: all 0.3s ease; /* Suaviza todas as animações */
}

/* O efeito Mágico ao passar o mouse */
nav a:hover {
    background-color: var(--primary-dark); /* A caixa fica grafite escura */
    color: var(--accent-gold); /* O texto fica dourado */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Leve sombra projetada */
    transform: translateY(-2px); /* Efeito de flutuar/levantar a caixa */
}

/* ==========================================================================
   SEÇÃO HERO (Themis mais clara + Escuro apenas na esquerda)
   ========================================================================== */
.hero {
    /* O degradê agora protege o texto na esquerda (95% escuro), mas zera (0% escuro) na direita, iluminando a estátua */
    background-image: linear-gradient(to right, rgba(43, 45, 54, 0.95) 20%, rgba(43, 45, 54, 0.8) 40%, rgba(43, 45, 54, 0.1) 500%, rgba(43, 45, 54, 0) 60%), 
                      url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&q=80&w=1920');
    background-attachment: fixed;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 160px 5% 140px;
    color: var(--text-light);
    display: flex;
    align-items: center; 
    min-height: 85vh;
}

.hero-inner {
    display: flex;
    justify-content: space-between; 
    align-items: stretch; /* FORÇA AMBAS AS COLUNAS A TEREM A MESMA ALTURA EXATA */
    width: 100%;
    max-width: 1350px; 
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap; 
}

/* === COLUNA DA ESQUERDA === */
.hero-content {
    max-width: 650px; 
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--text-light);
}

.hero h1 span {
    color: var(--accent-gold);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 45px;
    font-weight: 300;
    opacity: 0.9;
}

.btn-gold {
    background-color: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    padding: 14px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
    align-self: flex-start; /* Impede que o botão estique */
}

.btn-gold:hover {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    box-shadow: 0 0 20px rgba(209, 178, 86, 0.4);
}

/* === COLUNA DA DIREITA (ARTIGOS ESTICADOS) === */
.hero-articles {
    max-width: 600px; 
    flex: 1; 
    display: flex;
    flex-direction: column; /* Prepara a coluna para esticar o conteúdo interno */
}

.articles-title {
    font-family: 'Cinzel', serif;
    font-size: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold) !important;
    margin-bottom: 15px !important;
    font-weight: 600 !important;
}

.articles-grid {
    display: flex;
    flex-direction: row; 
    gap: 20px;
    flex: 1; /* FORÇA A GRADE DE CARTÕES A PREENCHER TODO O RESTO DA ALTURA */
}

.article-card {
    flex: 1; 
    background: rgba(255, 255, 255, 0.05); 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px); 
    border: 1px solid rgba(255, 255, 255, 0.15); 
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.article-card:hover {
    background: rgba(255, 255, 255, 0.12); 
    border-color: var(--accent-gold);
    transform: translateY(-4px); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.article-card .tag {
    font-size: 0.75rem;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-card h4 {
    font-size: 0.95rem;
    line-height: 1.5;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    margin: 0;
}

/* ==========================================================================
   SEÇÃO ÁREAS DE ATUAÇÃO
   ========================================================================== */
.expertise {
    padding: 100px 5%;
    text-align: center;
    background-color: var(--light-bg);
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.4rem;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 2px;
    background-color: var(--accent-gold);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.grid-expertise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: #ffffff;
    padding: 45px 35px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border-top: 3px solid transparent;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    border-top-color: var(--accent-gold);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.card-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 25px;
    border: 2px solid var(--accent-gold);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-inner {
    transform: rotate(-45deg);
    color: var(--accent-gold);
    font-weight: bold;
}

.card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* ==========================================================================
   SEÇÃO SOBRE / LOCALIZAÇÃO (Altura Reduzida, Centralizado e Com Movimento)
   ========================================================================== */
.about-location {
    background-color: var(--primary-dark);
    color: var(--text-light);
    height: 380px;           /* Altura vertical reduzida e travada */
    display: flex;
    justify-content: center; /* Centraliza o conteúdo perfeitamente na VERTICAL */
    align-items: center;     /* Centraliza o conteúdo perfeitamente na HORIZONTAL */
    padding: 0 5%;           /* Remove o preenchimento vertical antigo */
    overflow: hidden;
}

.about-container {
    max-width: 600px;        /* Ajustado levemente para melhor distribuição do texto */
    text-align: center;
    
    /* EFEITO DE MOVIMENTO PURO CSS (Surgimento dinâmico conforme rola a tela) */
    animation: revelarAoRolar linear both;
    animation-timeline: view();
    animation-range: entry 15% cover 40%;
}

.about-container p {
    font-size: 1.15rem;
    margin-bottom: 0;        /* Removido para garantir a centralização vertical matemática */
    font-weight: 300;
    opacity: 0.9;
}

/* Animação sincronizada com a rolagem do navegador */
@keyframes revelarAoRolar {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95); /* Começa mais baixo, apagado e levemente menor */
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);       /* Flutua suavemente para a posição original */
    }
}

/* ==========================================================================
   RODAPÉ 
   ========================================================================== */
footer {
    background-color: #1F2024;
    color: rgba(255,255,255,0.7);
    padding: 50px 5% 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 30px;
    gap: 20px;
}

.info-basica {
    text-align: left;
}

.info-basica p {
    margin-bottom: 8px;
    font-size: 1.05rem;
    line-height: 1.4;
}

.info-basica a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.info-basica a:hover {
    color: #ffffff;
}

.footer-socials {
    text-align: right;
}

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}

/* ==========================================================================
   BOTÃO WHATSAPP FLUTUANTE
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; 
    color: #FFF;
    border-radius: 50px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
    z-index: 1000; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   RESPONSIVIDADE (Ajustes para Mobile)
   ========================================================================== */
@media (max-width: 768px) {
    header { 
        flex-direction: column; 
        padding: 15px; 
        height: auto;
    }
    .logo-container img {
        margin-top: 0;
    }
    nav { 
        margin-top: 15px; 
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    nav a { 
        margin: 5px 10px; 
        font-size: 0.85rem; 
    }
    .hero {
        background-attachment: scroll; 
        background-position: center right;
        padding-top: 100px;
        min-height: auto;
    }
    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-articles {
        margin-top: 40px;
        width: 100%;
    }
    .articles-grid {
        flex-direction: column;
    }
    .hero h1 { 
        font-size: 2.2rem; 
    }
    .footer-grid {
        flex-direction: column;
        text-align: center;
    }
    .info-basica {
        text-align: center;
        margin-bottom: 15px;
    }
    .footer-socials {
        text-align: center;
        width: 100%;
    }
    .social-links {
        justify-content: center;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
}