/* Reset e Variáveis */
:root {
    --color-primary: rgb(27, 61, 63);     
    --color-accent: rgb(161, 128, 93);    
    --color-secondary: rgb(184, 170, 143);
    --color-light: rgb(248, 248, 248);    
    --white: #ffffff;
    --text-color: #333333;
    --light-text: #555555; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color);
    line-height: 1.8; 
    background-color: var(--color-light);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--color-primary);
    font-weight: 600; 
}

img { max-width: 100%; height: auto; display: block; }

.container {
    width: 90%;
    max-width: 1200px; 
    margin: 0 auto;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}
.logo-text .sigla {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--color-accent);
    margin-right: 5px;
}

nav ul { list-style: none; display: flex; gap: 30px; } 
nav a { text-decoration: none; color: var(--color-primary); font-weight: 700; font-size: 0.95rem; transition: 0.3s; }
nav a:hover { color: var(--color-accent); }

.btn-contact {
    background-color: var(--color-primary);
    color: var(--color-light) !important;
    padding: 10px 25px;
    border-radius: 5px; 
}

header.scrolled {
    background-color: var(--color-primary);
    padding: 0.7rem 0;
}
header.scrolled .nav-links a, header.scrolled .logo-text { color: var(--color-light) !important; }
header.scrolled .btn-contact { background-color: var(--color-accent); }

/* Hero */
.hero {
    height: 85vh;
    background-image: url('sala-reuniao.jpg'); 
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 60px; 
    color: var(--color-light); 
    text-align: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(27, 61, 63, 0.75); 
}
.hero-text { position: relative; max-width: 800px; z-index: 1; margin: 0 auto; padding: 0 20px; }
.hero-text h2 { color: var(--color-light); font-size: 3.2rem; margin-bottom: 1.5rem; text-align: center; line-height: 1.2; }

.btn-primary {
    display: inline-block;
    background-color: var(--color-accent); 
    color: var(--white);
    padding: 14px 35px; 
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}
.btn-primary:hover { background-color: var(--color-primary); }

/* Seções Gerais */
.section-padding { padding: 90px 0; } 
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; }
.section-title::after { 
    content: ''; display: block; width: 60px; height: 3px; background-color: var(--color-accent); margin: 15px auto 0;
}

/* O Escritório - Justificado */
.section-desc { 
    text-align: justify !important;
    max-width: 900px; 
    margin: 0 auto 25px auto; 
    font-size: 1.1rem; 
    color: var(--light-text);
    hyphens: auto;
}

.section-desc-light { text-align: center; max-width: 800px; margin: 0 auto 40px; color: var(--color-light); }

.bg-pattern { background-color: var(--color-secondary); padding: 80px 0; }

/* Áreas Grid */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.area-card {
    background: var(--white);
    padding: 35px;
    border-left: 5px solid var(--color-accent); 
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.area-card:hover { transform: translateY(-5px); }

/* Sócio Fundador - Justificado */
.profile-container { display: flex; gap: 60px; align-items: flex-start; flex-wrap: wrap; }
.profile-img { flex: 1; min-width: 300px; }
.profile-img img {
    height: 500px; width: 100%; object-fit: cover; border-radius: 5px;
    box-shadow: 15px 15px 0 var(--color-primary);
}
.profile-text { flex: 2; }
.section-title-left { font-size: 2.5rem; margin-bottom: 20px; text-align: left; }
.section-title-left::after { content: ''; display: block; width: 60px; height: 3px; background-color: var(--color-accent); margin-top: 10px; }

.profile-text p { 
    text-align: justify !important;
    margin-bottom: 20px; 
    font-size: 1.1rem; 
    color: var(--light-text);
    hyphens: auto;
}
.profile-text .role { color: var(--color-accent); font-weight: 700; text-align: left; margin-bottom: 25px; display: block; }

/* Contato */
.bg-dark { background-color: var(--color-primary); color: var(--color-light); }
.text-white { color: var(--color-light) !important; }

.contact-grid { display: flex; gap: 50px; flex-wrap: wrap; }
.contact-info, .contact-form { flex: 1; min-width: 280px; }
form input, form textarea {
    width: 100%; padding: 12px; margin-bottom: 15px; border-radius: 4px; border: none; font-family: inherit;
}

footer { background: #0d1a1d; color: var(--color-secondary); text-align: center; padding: 30px 0; font-size: 0.85rem; }
.footer-link { color: var(--color-secondary); text-decoration: none; margin: 0 10px; }

/* Ajustes Mobile */
@media (max-width: 992px) {
    .profile-container { flex-direction: column; align-items: center; }
    .profile-img img { height: auto; max-width: 100%; }
    .section-title-left { text-align: center; }
    .section-title-left::after { margin: 10px auto; }
    .profile-text p, .section-desc { text-align: justify !important; }
    .hero-text h2 { font-size: 2.2rem; }
}