/* --- VARIÁVEIS E ESTILOS GLOBAIS --- */
:root {
    --dark-bg: #1a1a1a;
    --dark-bg-secondary: #2c2c2c;
    --primary-text: #f5f5f5;
    --secondary-text: #a0a0a0;
    --accent-color: #D4AF37;
    --white: #ffffff;
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg-secondary);
    color: var(--primary-text);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

section {
    padding: 80px 0;
}

/* --- CABEÇALHO E NAVEGAÇÃO --- */
.header {
    background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--primary-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- SEÇÃO HERO --- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('background.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; /* Deslocamento por causa do header fixo */
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content p {
    font-size: 1.25rem;
    margin: 20px 0 30px;
    color: var(--secondary-text);
    font-weight: 300;
}

.highlight-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 40px;
    font-weight: 600;
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--dark-bg);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --- ÁREAS DE ATUAÇÃO --- */
.practice-areas {
    background-color: var(--dark-bg);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--dark-bg-secondary);
    padding: 35px;
    border-radius: 10px;
    border-left: 4px solid transparent;
    transition: transform 0.3s, border-left-color 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-left-color: var(--accent-color);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--primary-text);
}

.card p {
    color: var(--secondary-text);
    font-size: 0.95rem;
}

/* --- SOBRE --- */
.about {
    background-color: var(--dark-bg-secondary);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap; 
    justify-content: center;
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden; 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.profile-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    max-height: 500px;
}

.about-text {
    flex: 1.2;
    min-width: 300px;
}

.about-text h2 {
    text-align: left;
}

.about-text h2::after {
    left: 0;
    transform: translateX(0);
}

.about-text .quote {
    font-style: italic;
    font-size: 1.3rem;
    color: var(--accent-color);
    margin: 15px 0 25px;
    font-weight: 500;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--secondary-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-text p i {
    color: var(--accent-color);
}

/* --- RODAPÉ --- */
.footer {
    background-color: var(--dark-bg);
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col .footer-logo {
    height: 40px;
    margin-bottom: 15px;
}

.footer-col h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-item i {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid var(--dark-bg-secondary);
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: var(--secondary-text);
}


/* --- RESPONSIVIDADE (MOBILE-FIRST) --- */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background-color: var(--dark-bg);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transform: translateY(-120%);
        transition: transform 0.3s ease-in-out;
        z-index: -1;
    }

    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-menu ul {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .menu-toggle {
        display: block;
    }
    
    .about-container {
        flex-direction: column;
        gap: 30px;
    }

    .about-image {
        width: 100%;
        max-width: 400px;
        height: auto;
    }
    
    .profile-photo {
        max-height: 450px;
    }
}


.oab-footer {
    font-size: 0.9rem;
    color: var(--secondary-text);
    margin-top: 10px;
}