:root {
    --bg-dark: #0A0C10; 
    --bg-panel: #11141A; 
    --gold: #C9A96E; 
    --gold-hover: #E3C58B;
    --text-light: #F8FAFC;
    --text-muted: #94A3B8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background-color: var(--bg-dark); }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

h1, h2, h3, .logo, summary { 
    font-family: 'Playfair Display', serif; 
    font-weight: 400; 
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }

/* --- CABEÇALHO --- */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    display: flex; justify-content: space-between; align-items: center;
    padding: 2rem 5%;
    background-color: transparent;
    transition: all 0.5s ease;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.navbar.scrolled {
    background-color: rgba(10, 12, 16, 0.95);
    backdrop-filter: blur(12px);
    padding: 1.2rem 5%;
    border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.logo { font-size: 1.6rem; letter-spacing: 1px; color: var(--text-light); }
.gold-dot { color: var(--gold); }

nav { display: flex; align-items: center; gap: 2.5rem; }
nav a { text-decoration: none; color: var(--text-light); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; transition: color 0.3s; }
nav a:hover { color: var(--gold); }

.btn-outline-gold {
    border: 1px solid var(--gold);
    color: var(--gold) !important;
    padding: 0.8rem 1.8rem;
    transition: all 0.3s ease;
}
.btn-outline-gold:hover {
    background-color: var(--gold);
    color: var(--bg-dark) !important;
}

/* --- 1. HERO (Split Screen Editorial) --- */
.hero-section {
    position: relative;
    min-height: 90vh; /* Ajustado para não cortar conteúdo no fundo */
    display: flex;
    align-items: center;
    padding-top: 130px; /* Mais espaço para o menu */
    padding-bottom: 5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
    align-items: center;
}

.hero-text { max-width: 580px; }
.subtitle { color: var(--gold); text-transform: uppercase; letter-spacing: 3px; font-size: 0.8rem; margin-bottom: 1.5rem; }

/* Título reduzido de 4.5rem para 3.6rem */
.hero-text h1 { font-size: 3.6rem; line-height: 1.15; margin-bottom: 2rem; color: var(--text-light); }
.italic-gold { font-style: italic; color: var(--gold); }
.description { font-size: 1.1rem; color: var(--text-muted); max-width: 520px; line-height: 1.7; margin-bottom: 3rem; font-weight: 300;}

.scroll-down {
    display: inline-flex; align-items: center; gap: 0.8rem;
    color: var(--text-light); text-decoration: none;
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px;
    transition: color 0.3s;
}
.scroll-down:hover { color: var(--gold); }

/* Imagem reduzida para não engolir a tela */
.hero-visual {
    position: relative;
    height: 60vh; 
    max-height: 550px; /* Teto máximo de altura */
    margin-top: 0; 
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px; 
    box-shadow: -20px 20px 50px rgba(0,0,0,0.8);
    position: relative;
    z-index: 2;
    filter: contrast(1.1) brightness(0.85); 
}

.gold-frame {
    position: absolute;
    bottom: -20px; 
    right: -20px; 
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold); 
    z-index: 1;
}

/* --- ESTATÍSTICAS --- */
.stats-section {
    background-color: var(--bg-panel);
    padding: 5rem 0;
    border-top: 1px solid rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.02);
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 2rem; }
.stat-item h3 { font-size: 3.5rem; color: var(--gold); margin-bottom: 0.5rem; line-height: 1; }
.stat-item p { text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; color: var(--text-muted); }

/* --- CSS GRID AVANÇADO (O Escritório) --- */
.about-section { padding: 10rem 0; }
.advanced-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
}

.grid-image {
    grid-column: 1 / 8; 
    grid-row: 1;
    z-index: 1;
}

.grid-image img { 
    width: 100%; 
    height: 650px; 
    object-fit: cover; 
    box-shadow: 20px 20px 50px rgba(0,0,0,0.5);
}

.grid-text-box {
    grid-column: 6 / 13; 
    grid-row: 1;
    z-index: 2;
    background: rgba(17, 20, 26, 0.98); 
    backdrop-filter: blur(10px);
    padding: 5rem;
    border: 1px solid rgba(201, 169, 110, 0.2); 
    box-shadow: -20px 20px 60px rgba(0,0,0,0.8); 
}

.grid-text-box h2 { font-size: 2.8rem; margin-bottom: 2rem; line-height: 1.2; }
.grid-text-box p { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.8; font-size: 1.05rem; font-weight: 300;}

.link-gold { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--gold); text-decoration: none; margin-top: 1.5rem; font-weight: 500; font-family: 'Playfair Display', serif; font-size: 1.2rem; font-style: italic; }
.link-gold i { transition: transform 0.3s; }
.link-gold:hover i { transform: translateX(8px); }

/* --- ÁREAS DE ATUAÇÃO --- */
.practice-section { padding: 4rem 0 10rem 0; }
.practice-flex { display: flex; gap: 8rem; align-items: flex-start; }
.practice-title { flex: 1; position: sticky; top: 150px; }
.practice-title h2 { font-size: 4.5rem; line-height: 1.1; color: var(--text-light); }
.practice-list { flex: 1.2; margin-top: 1rem; }

.practice-item {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 2.5rem 0;
}
summary {
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--gold); }

.icon-plus { color: var(--gold); transition: transform 0.5s ease; }
details[open] summary .icon-plus { transform: rotate(135deg); } 

.practice-content { padding-top: 2rem; }
.practice-content p { color: var(--text-muted); line-height: 1.8; font-size: 1.1rem; font-weight: 300;}

/* --- ANIMAÇÕES --- */
.hidden { opacity: 0; transform: translateY(40px); transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.show { opacity: 1; transform: translateY(0); }

/* --- RESPONSIVIDADE --- */
@media (max-width: 1000px) {
    .navbar { padding: 1.5rem 5%; }
    nav { display: none; }
    
    .hero-grid { grid-template-columns: 1fr; margin-top: 40px; gap: 3rem;}
    .hero-text h1 { font-size: 3rem; }
    .hero-visual { height: 400px; min-height: auto;}
    .gold-frame { display: none; } 
    
    .stats-grid { grid-template-columns: 1fr; gap: 3rem; }
    
    .grid-image { grid-column: 1 / 13; }
    .grid-image img { height: 400px; }
    .grid-text-box { grid-column: 1 / 13; margin-top: -80px; padding: 3rem 2rem; }
    
    .practice-flex { flex-direction: column; gap: 4rem; }
    .practice-title { position: static; }
    .practice-title h2 { font-size: 3.5rem; }
    summary { font-size: 1.6rem; }
}