/* RESET */
:root {
    --color-primary: #0B4157;
    --color-gold: #C5A059;
    --color-dark: #15191F;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Manrope', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--color-dark); color: #f5f5f5; overflow-x: hidden; }

/* UTILITÁRIOS */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.gold-text { color: var(--color-gold); }
.text-dark { color: #333; }
.text-light { color: #F5F5F5; } /* Novo utilitário para texto claro */
.relative-z { position: relative; z-index: 2; } /* Garante que o conteúdo fique sobre overlays */

.section { padding: 80px 0; }
.white-bg { background: #FFF; color: #333; }
.light-bg { background: #F8F9FA; color: #333; }
.section-title { font-family: var(--font-heading); font-size: 2.5rem; text-align: center; margin-bottom: 50px; }
.shadow-md { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.img-fit { width: 100%; height: auto; border-radius: 4px; object-fit: cover; }

/* --- NOVO ESTILO: SECÇÃO COM FUNDO DE IMAGEM --- */
.bg-image-overlay {
    position: relative;
    /* Usa a imagem da mesa como fundo */
    background-image: url('advogado-mesa.png'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito parallax elegante */
    padding: 100px 0; /* Um pouco mais de espaço vertical */
}

/* Overlay Escuro para a secção de atuação */
.section-overlay-dark {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Gradiente azul escuro/preto com alta opacidade para contraste */
    background: linear-gradient(to bottom, rgba(11, 65, 87, 0.92), rgba(13, 16, 20, 0.98));
    z-index: 1;
}

/* HEADER BRANCO */
.header { background: rgba(255,255,255,0.98); padding: 15px 0; position: fixed; width: 100%; top: 0; z-index: 1000; border-bottom: 1px solid #eee; }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.header-logo { height: 50px; width: auto; object-fit: contain; }
.header nav { display: flex; align-items: center; gap: 20px; }
.header nav a:not(.btn) { text-decoration: none; color: var(--color-primary); font-weight: 700; text-transform: uppercase; font-size: 0.9rem; }

/* BOTÃO INTERATIVO (HOVER) */
.btn-hover-change {
    position: relative; display: inline-flex; justify-content: center; align-items: center; width: 200px; height: 45px; border: 2px solid var(--color-primary); color: var(--color-primary); font-weight: 700; text-transform: uppercase; text-decoration: none; overflow: hidden; border-radius: 4px; transition: all 0.3s ease; background: transparent;
}
.btn-text-original, .btn-text-hover { position: absolute; width: 100%; text-align: center; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
.btn-text-original { transform: translateY(0); opacity: 1; }
.btn-text-hover { transform: translateY(100%); opacity: 0; color: #000; }
.btn-hover-change:hover { background-color: var(--color-gold); border-color: var(--color-gold); }
.btn-hover-change:hover .btn-text-original { transform: translateY(-150%); opacity: 0; }
.btn-hover-change:hover .btn-text-hover { transform: translateY(0); opacity: 1; }

/* BOTÃO GOLD PADRÃO */
.btn-gold { background: var(--color-gold); color: #000; padding: 12px 30px; border-radius: 4px; text-decoration: none; font-weight: 700; display: inline-block; text-transform: uppercase; border: none; cursor: pointer; transition: 0.3s; }
.btn-gold:hover { background: #e0b86a; transform: translateY(-2px); }

/* HERO */
.hero { height: 90vh; background: url('hero-bg.png') center/cover fixed; position: relative; display: flex; align-items: center; margin-top: 80px; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(11,65,87,0.9), rgba(21,25,31,0.6)); }
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero h1 { font-family: var(--font-heading); font-size: 4rem; line-height: 1.1; margin: 20px 0; }
.tagline { color: var(--color-gold); font-weight: 700; letter-spacing: 2px; }

/* SOBRE & IMAGENS */
.split-layout { display: flex; gap: 50px; align-items: center; }
.text-block, .image-block-single { flex: 1; }
.white-bg h2 { color: var(--color-primary); margin-bottom: 20px; font-size: 2.8rem; }
.lead-text { color: var(--color-primary); font-weight: 600; font-size: 1.1rem; }

/* CARDS (Agora sobre o fundo de imagem) */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { 
    background: #FFF; 
    padding: 30px; 
    border-left: 3px solid var(--color-primary); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    transition: 0.3s; 
}
.card:hover { transform: translateY(-5px); border-left-color: var(--color-gold); }
.card h3 { font-family: var(--font-heading); color: var(--color-primary); margin-bottom: 10px; font-size: 1.5rem; }
.card p { font-size: 0.95rem; color: #666; }

/* RODAPÉ (3 COLUNAS) */
.footer { background: #0d1014; padding: 60px 0 30px; text-align: center; }
.contact-wrapper-3col { display: flex; gap: 30px; text-align: left; align-items: center; justify-content: center; margin-top: 30px; }
.contact-col { flex: 1; }

.contact-info { border-right: 1px solid rgba(255,255,255,0.1); padding-right: 20px; color: #ccc; }
.info-item { margin-bottom: 20px; }
.info-item strong { color: var(--color-gold); text-transform: uppercase; font-size: 0.85rem; }

.contact-form-col { flex: 1.2; }
input, textarea { width: 100%; padding: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; border-radius: 4px; font-family: var(--font-body); }
input:focus, textarea:focus { outline: none; border-color: var(--color-gold); }

/* Ajuste da imagem do rodapé */
.contact-image-right img { width: 100%; height: 350px; object-fit: cover; border-radius: 4px; }

.copyright { margin-top: 40px; font-size: 0.8rem; opacity: 0.4; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }

/* MOBILE (Responsividade) */
@media (max-width: 900px) {
    .header-content { flex-direction: column; gap: 10px; }
    .header nav { flex-wrap: wrap; justify-content: center; }
    
    .split-layout, .contact-wrapper-3col { flex-direction: column; gap: 40px; }
    
    .hero h1 { font-size: 2.8rem; }
    
    .text-block, .image-block-single { width: 100%; text-align: center; }
    
    .contact-info { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; text-align: center; }
    
    /* Ajuste da imagem do rodapé no mobile para não ocupar muito espaço */
    .contact-image-right img { height: 200px; object-position: top; } 
}