/* ==========================================================================
   CSS Variables & Design System (Based on Reference Images)
   ========================================================================== */
:root {
    /* Colors */
    --clr-dark: #191A1C;
    --clr-darker: #111111;
    --clr-black: #050505;
    --clr-white: #FFFFFF;
    --clr-offwhite: #F8F9FA;
    --clr-gold: #CBAE81;
    --clr-gold-light: #DFCA9D;
    --clr-gold-dark: #A68B5E;
    
    --clr-text-light: #E0E0E0;
    --clr-text-muted: #A0A0A0;
    --clr-text-dark: #333333;
    
    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Effects */
    --transition: all 0.3s ease;
    --radius-lg: 24px;
    --radius-md: 12px;
    --radius-pill: 50px;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-dark: 0 20px 40px rgba(0,0,0,0.4);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--clr-darker);
    color: var(--clr-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.mt-4 { margin-top: 2rem; }

/* ==========================================================================
   Typography Classes (Crucial for the reference look)
   ========================================================================== */
.serif-gold {
    font-family: var(--font-serif);
    color: var(--clr-gold);
    font-weight: 500;
}
.serif-gold-light {
    font-family: var(--font-serif);
    color: var(--clr-gold-light);
    font-weight: 400;
}
.serif-italic-gold {
    font-family: var(--font-serif);
    color: var(--clr-gold);
    font-style: italic;
    font-weight: 400;
}
.bold-sans {
    font-family: var(--font-sans);
    font-weight: 700;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-gradient {
    background: linear-gradient(135deg, #DFCA9D 0%, #B89968 100%);
    color: var(--clr-black);
    font-weight: 600;
}
.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(203, 174, 129, 0.2);
}

.btn-dark-outline {
    background: transparent;
    color: var(--clr-white);
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-dark-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--clr-white);
}

.btn-primary-nav {
    background: transparent;
    color: var(--clr-white);
    border: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-primary-nav:hover {
    color: var(--clr-gold);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    padding: 0.6rem 1.5rem;
    z-index: 1000;
    transition: var(--transition);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.navbar.scrolled {
    background: rgba(17, 17, 17, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.logo-name {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--clr-white);
    text-transform: uppercase;
    letter-spacing: 2px;
}
.logo-desc {
    display: block;
    font-size: 0.55rem;
    letter-spacing: 3px;
    color: var(--clr-gold);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: var(--clr-text-light);
}
.nav-links a:hover {
    color: var(--clr-gold);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--clr-white);
    font-size: 1.8rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(26,21,17,0.7) 0%, rgba(17,17,17,0.98) 100%), url('assets/hero_bg.jpg') center/cover no-repeat;
    padding-top: 100px;
    padding-bottom: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.4rem 0.8rem;
    border-radius: 8px; /* Slightly rounded, not pill */
    font-size: 0.75rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.hero-badge .stars {
    color: #FABB05; /* Google Gold */
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ==========================================================================
   Transition Section (Faixa Dark)
   ========================================================================== */
.transition-section {
    background: var(--clr-darker);
    padding: 5rem 0; 
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.transition-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.transition-left {
    flex: 1;
}
.transition-left h2 {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
}

.transition-right {
    flex: 1;
    border-left: 2px solid var(--clr-gold);
    padding-left: 2rem;
}
.transition-right p {
    color: var(--clr-text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
}

/* ==========================================================================
   Áreas de Atuação (White Background)
   ========================================================================== */
.atuacao {
    background-color: var(--clr-white);
    color: var(--clr-text-dark);
    padding: 6rem 0 8rem 0;
}

.atuacao-header-split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    gap: 4rem;
}

.atuacao-header-left {
    flex: 1;
}
.atuacao-header-left h2 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
    color: var(--clr-darker);
    margin-bottom: 1rem;
}
.accent-line-gradient {
    width: 250px;
    height: 4px;
    background: linear-gradient(to right, var(--clr-gold) 0%, transparent 100%);
}

.atuacao-header-right {
    flex: 1;
    padding-bottom: 0.5rem;
}
.atuacao-header-right h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--clr-darker);
    margin-bottom: 0.5rem;
}
.atuacao-header-right p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.atuacao-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.atuacao-card-vertical {
    background: linear-gradient(to bottom, #1f2122 0%, #111111 100%);
    padding: 3rem 2rem;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease;
}
.atuacao-card-vertical:hover {
    transform: translateY(-5px);
}
.atuacao-card-vertical i {
    font-size: 2.2rem;
    color: var(--clr-gold);
    margin-bottom: 1.5rem;
}
.atuacao-card-vertical h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--clr-white);
    margin-bottom: 1rem;
    line-height: 1.3;
}
.atuacao-card-vertical p {
    font-size: 0.95rem;
    color: #a0a0a0;
    line-height: 1.6;
}

/* ==========================================================================
   Advogados (White Background)
   ========================================================================== */
.advogados {
    background-color: var(--clr-offwhite);
    padding: 6rem 0;
    color: var(--clr-text-dark);
    position: relative;
}

.advogados-header {
    text-align: center;
    margin-bottom: 4rem;
}
.advogados-header h2 {
    font-size: 3rem;
    font-weight: 400;
    color: var(--clr-black);
}
.advogados-header p {
    font-size: 1.2rem;
    color: var(--clr-text-muted);
}

.advogados-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: center;
}

/* Red Square logic here! */
.advogado-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.lawyer-img-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background-color: #FF0000;
    display: block;
}

.advogado-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.adv-text h3 {
    color: var(--clr-white);
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}
.adv-text p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}
.adv-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    color: var(--clr-white);
    font-size: 1.5rem;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.advogados-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 2rem; /* Add some breathing room */
}
.advogados-text h3 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--clr-darker);
    line-height: 1.2;
}
.advogados-text p {
    margin-bottom: 1.5rem;
    color: #444444;
    font-size: 1.15rem;
    line-height: 1.8;
}

/* ==========================================================================
   Contato (Dark Background)
   ========================================================================== */
.contato {
    background: linear-gradient(to right, #111111 0%, #1a1a1a 100%);
    padding: 2.5rem 0 3.5rem 0;
}
.contato-header {
    text-align: center;
    margin-bottom: 2rem;
}
.contato-header h2 {
    font-size: 2.8rem;
    font-weight: 400;
}

.contato-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.info-item i {
    font-size: 2rem;
    color: var(--clr-gold);
}
.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--clr-white);
}
.info-item p {
    color: var(--clr-text-muted);
}

.contato-form-wrapper {
    background: var(--clr-dark);
    padding: 3rem;
    border-radius: var(--radius-lg);
}
.contato-form h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.form-group { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: var(--clr-white);
    font-family: var(--font-sans);
    transition: var(--transition);
}
.form-group input:focus, .form-control:focus {
    outline: none;
    border-bottom-color: var(--clr-gold);
}

.form-group textarea {
    resize: none;
    min-height: 80px;
}

/* Custom Scrollbar for Textarea */
.form-group textarea::-webkit-scrollbar {
    width: 6px;
}
.form-group textarea::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}
.form-group textarea::-webkit-scrollbar-thumb {
    background: var(--clr-gold);
    border-radius: 4px;
}
.form-group textarea::-webkit-scrollbar-thumb:hover {
    background: #d4a96b;
}

.form-group.full-width {
    grid-column: 1 / -1;
}
.form-disclaimer { margin-top: 1.5rem; font-size: 0.8rem; color: var(--clr-text-muted); text-align: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--clr-black);
    padding-top: 4rem;
}
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-desc { color: var(--clr-text-muted); margin: 1.5rem 0; font-size: 0.9rem; }
.social-links a { color: var(--clr-white); font-size: 1.2rem; }
.footer-col h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.5rem; color: var(--clr-white); }
.footer-col a { display: block; color: var(--clr-text-muted); margin-bottom: 0.8rem; font-size: 0.9rem; }
.footer-col a:hover { color: var(--clr-gold); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
    color: var(--clr-text-muted);
    font-size: 0.85rem;
}

.agency-banner {
    background-color: #ffffff;
    color: #111111;
    text-align: center;
    padding: 0.5rem 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}
.agency-banner a {
    color: #111111;
    text-decoration: none;
}
.agency-banner a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
    .navbar {
        padding: 0.6rem 1.5rem;
        flex-wrap: wrap;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(17,17,17,0.95);
        backdrop-filter: blur(10px);
        padding: 2rem;
        border-radius: var(--radius-md);
        text-align: center;
        gap: 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 10px;
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu-btn { display: block; }
    
    .hero-text h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 1rem; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    
    .transition-flex { flex-direction: column; text-align: left; gap: 2rem; }
    .transition-left h2 { font-size: 2rem; }
    .transition-right { border-left: none; padding-left: 0; border-top: 2px solid var(--clr-gold); padding-top: 1rem; }
    
    .atuacao-header-split { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .atuacao-header-left h2 { font-size: 2.2rem; }
    .atuacao-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    
    .advogados-header h2 { font-size: 2.2rem; line-height: 1.2; }
    .advogados-grid { grid-template-columns: 1fr; gap: 2rem; }
    .advogados-text { padding-right: 0; }
    .advogados-text h3 { font-size: 2rem; }
    
    .contato-header h2 { font-size: 2rem; line-height: 1.3; }
    .contato-container { grid-template-columns: 1fr; gap: 3rem; }
    .contato-form-wrapper { padding: 2rem 1.5rem; }
    
    .footer-container { grid-template-columns: 1fr; gap: 2rem; }
    
    .agency-banner { font-size: 0.65rem; padding: 0.5rem 1rem; }
}
