/* Design Tokens & Variables */
:root {
    /* Colors */
    --clr-bg-deep: #0a0a0c;
    --clr-bg-surface: #121214;
    --clr-bg-card: rgba(26, 26, 30, 0.6);
    --clr-gold: #D4AF37;
    --clr-gold-hover: #F3E5AB;
    --clr-gold-dark: #997A15;
    --clr-text-main: #F8F9FA;
    --clr-text-muted: #A0A0A5;
    --clr-border: rgba(212, 175, 55, 0.15);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 5rem 0;
    
    /* Transitions */
    --transition-smooth: all 0.3s ease-in-out;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

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

.text-center {
    text-align: center;
}

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

.mb-3 { margin-bottom: 1rem; }
.mt-4 { margin-top: 2rem; }

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-dark));
    color: var(--clr-bg-deep);
    font-family: var(--font-body);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--clr-gold-hover), var(--clr-gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

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

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--clr-gold);
    border: 1px solid var(--clr-gold);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--clr-gold-hover);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 10, 12, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

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

.logo-dr {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-gold);
    letter-spacing: 1px;
}

.logo-desc {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-text-muted);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-text-main);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--clr-gold);
    transition: var(--transition-smooth);
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--clr-gold);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.8) 50%, rgba(10, 10, 12, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-text {
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--clr-gold);
    border-radius: 50px;
    color: var(--clr-gold);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.1rem;
    color: var(--clr-text-main);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Info Banner */
.info-banner {
    background: var(--clr-bg-surface);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    padding: 1.5rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--clr-text-muted);
}

.info-item i {
    color: var(--clr-gold);
    font-size: 1.2rem;
}

.info-item strong {
    color: var(--clr-text-main);
    display: block;
}

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

.sobre-img-container {
    position: relative;
    border-radius: 8px;
}

.sobre-img-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--clr-gold);
    border-radius: 8px;
    z-index: 0;
}

.sobre-img {
    border-radius: 8px;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--clr-bg-surface);
    border: 1px solid var(--clr-border);
    padding: 1.5rem;
    border-radius: 8px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

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

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--clr-text-muted);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--clr-text-main);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.sobre-content p {
    color: var(--clr-text-muted);
    margin-bottom: 1rem;
}

.sobre-signature {
    margin-top: 2.5rem;
    border-left: 3px solid var(--clr-gold);
    padding-left: 1.5rem;
}

.signature-name {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.signature-oab {
    color: var(--clr-gold);
    font-size: 0.9rem;
}

/* Áreas de Atuação */
.atuacao {
    background-color: var(--clr-bg-surface);
}

.section-header {
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--clr-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--clr-border);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--clr-gold);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.glass-card:hover .card-icon {
    background: var(--clr-gold);
    color: var(--clr-bg-deep);
}

.glass-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

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

/* Diferenciais / CTA */
.cta-section {
    position: relative;
    background-image: url('assets/hero_bg.png'); /* Reusing bg, could be another */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 12, 0.9);
}

.cta-content {
    position: relative;
    z-index: 10;
}

.diferenciais-flex {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.diferencial-item {
    text-align: center;
    max-width: 250px;
}

.diferencial-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.diferencial-item h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.diferencial-item p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: #050506;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer h4 {
    color: var(--clr-gold);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-contact p {
    color: var(--clr-text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--clr-gold);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--clr-text-muted);
    font-size: 0.8rem;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

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

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

.slide-in-left.visible, .slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .sobre-img-container {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3.5rem 0;
    }

    .nav-links, .btn-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        justify-content: flex-start;
        padding: 0.5rem 0;
    }
    
    .diferenciais-flex {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .experience-badge {
        bottom: -15px;
        right: -10px;
        padding: 1rem;
    }
    
    .experience-badge .number {
        font-size: 2rem;
    }
}
