/* CSS Reset & Roots */
:root {
    /* Color Palette - Navy & Gold */
    --primary-bg: #031124; /* Very dark navy */
    --secondary-bg: #091c36; /* Lighter navy */
    --accent-gold: #c6a258; /* Elegant gold */
    --accent-gold-hover: #e0bc6e;
    --accent-gold-dark: #91753c;
    --text-main: #f0f4f8; /* Soft white/blue */
    --text-muted: #94a3b8; /* Slate gray */
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Transitions */
    --padding-section: 6rem 0;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

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

/* Typography Tools */
h1, h2, h3, h4, .logo-title {
    font-family: var(--font-heading);
    font-weight: 700;
}

.text-gold {
    color: var(--accent-gold);
}

.text-muted {
    color: var(--text-muted);
}

.mb-3 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.text-center { text-align: center; }
.d-inline-block { display: inline-block; }

.subtitle {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    margin-bottom: 1rem;
    display: block;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: var(--padding-section);
}

.bg-dark {
    background-color: var(--secondary-bg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--primary-bg);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(198, 162, 88, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-outline:hover {
    background-color: var(--accent-gold);
    color: var(--primary-bg);
}

.btn-text {
    color: var(--text-main);
    padding: 0.75rem 0;
    position: relative;
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: var(--transition-fast);
}

.btn-text:hover::after {
    width: 100%;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(198, 162, 88, 0.4);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #ffffff !important;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-fast);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(3, 17, 36, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(198, 162, 88, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--accent-gold);
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.4rem;
    line-height: 1;
    color: var(--text-main);
}

.logo-subtitle {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: var(--transition-fast);
    position: relative;
}

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 70% 30%, #0c2b53 0%, var(--primary-bg) 70%);
    overflow: hidden;
}

/* Subtle background pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.05;
    background-image: linear-gradient(var(--accent-gold) 1px, transparent 1px), linear-gradient(90deg, var(--accent-gold) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(3,17,36,0.9) 0%, rgba(3,17,36,0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding-top: 120px; /* Aumenta o espaço em relação ao header */
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(145deg, var(--secondary-bg), var(--primary-bg));
    border-radius: 8px;
    border: 1px solid rgba(198, 162, 88, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 8rem;
    color: rgba(198, 162, 88, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

/* Glassmorphism Badge */
.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: rgba(3, 17, 36, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(198, 162, 88, 0.3);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.experience-badge .number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent-gold);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-list {
    list-style: none;
    margin-top: 2rem;
}

.about-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.05rem;
}

/* Services Section */
.services h2 {
    font-size: 2.8rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--primary-bg);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(198, 162, 88, 0.1);
    transition: var(--transition-fast);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    border-color: rgba(198, 162, 88, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(198, 162, 88, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.service-card:hover .icon-wrapper {
    background: var(--accent-gold);
    color: var(--primary-bg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

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

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    border-top: 1px solid rgba(198, 162, 88, 0.1);
    border-bottom: 1px solid rgba(198, 162, 88, 0.1);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: 5rem 0 2rem;
    background-color: #020b18;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    max-width: 300px;
}

.footer h4 {
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(198, 162, 88, 0.1);
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-bg);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
}

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

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.in-view {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, #nav-btn { display: none; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 2.8rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn-large { text-align: center; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    /* Mobile Menu Active styling */
    .nav-active .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-bg);
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
}

/* Lawyer Image Overlay */
.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(198, 162, 88, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.about-image img {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.lawyer-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(3, 17, 36, 1) 0%, rgba(3, 17, 36, 0.85) 45%, transparent 100%);
    padding: 6rem 1.5rem 2rem 1.5rem;
    text-align: center;
    pointer-events: none;
}
.lawyer-overlay h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-bottom: 0.1rem;
    color: var(--text-light);
}
.lawyer-overlay p {
    font-size: 0.95rem;
    color: #e0e0e0;
    margin: 0;
    font-weight: 300;
}
