:root {
    --bg-color: #ffffff; 
    --surface-color: #ffffff; 
    --accent-gold: #8d6e46; /* Slightly more muted, expensive gold */
    --accent-gold-light: #f9f6f2;
    --text-main: #121212; 
    --text-secondary: #404040;
    --text-muted: #888888; 
    --transition-slow: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-fast: 0.3s ease;
    --serif-font: 'Cormorant Garamond', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: color var(--transition-speed) ease;
}

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

h1, h2, h3 {
    font-family: var(--serif-font);
    font-weight: 400; /* Lighter, more elegant weight */
    margin-bottom: 1rem;
    letter-spacing: 0.03em; /* Slightly more spacious */
}

h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
}

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

/* Sections */
.section {
    padding: 10rem 0; /* More generous whitespace */
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-main);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
    margin: 20px auto 0;
}

/* Header & Nav */
header {
    background-color: rgba(22, 21, 19, 0.95); /* Deep elegant dark */
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Subtle bottom border */
}

.logo img {
    max-height: 50px;
    /* Removed the brightness(0) filter so the original white logo shines */
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #e5e7eb; /* Light gray for dark header */
}

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

.btn-contact {
    background-color: transparent;
    color: var(--accent-gold) !important;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    transition: var(--transition-fast);
    border: 1px solid var(--accent-gold);
    display: inline-block;
}

.btn-contact:hover {
    background-color: var(--accent-gold);
    color: #161513 !important;
}

/* Hero Section */
.hero {
    height: 90vh; /* Slightly shorter for a cleaner look */
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(249,250,251,0.5) 100%), url('../images/hero-bg.jpg') center/cover no-repeat;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.profile-img-container {
    position: relative;
}

.profile-img {
    width: 100%;
    border-radius: 8px;
    border: 2px solid var(--accent-gold);
    padding: 5px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.about-role {
    color: var(--accent-gold);
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: block;
}

.about-bio {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.credentials {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.credential-badge {
    background-color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    font-size: 0.9rem;
    color: var(--text-main);
}

/* Areas of Practice */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.area-card {
    background-color: transparent;
    padding: 3rem 2rem;
    border-radius: 4px; /* Subtle radius */
    text-align: left; /* Better for reading paragraphs */
    transition: all 0.5s ease;
    border: 1px solid #f0f0f0; /* Light border all around now */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(141, 110, 70, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.area-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

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

.area-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
}

.area-card:hover .area-icon {
    transform: scale(1.1) rotate(-5deg);
}

.area-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.area-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1; /* Pushes the link to the bottom */
}

.area-link {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto; /* Aligns to bottom */
    transition: gap 0.3s ease;
}

.area-card:hover .area-link {
    gap: 12px; /* Arrow moves subtly on hover */
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.team-card {
    background-color: white;
    border-radius: 0; /* Luxury Boutique feel - sharp corners */
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
}

.team-card:hover {
    border-color: var(--accent-gold);
}

.team-img {
    width: 100%;
    height: 450px; /* Increased height to avoid cropping */
    object-fit: cover;
    object-position: top center;
    filter: grayscale(100%);
    transition: all 0.6s ease;
}

.team-card:hover .team-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    margin-bottom: 0.2rem;
}

.team-info .role {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

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

/* Contact Section */
.contact-section {
    background-color: #161513;
    color: white;
    padding: 8rem 0;
    text-align: center;
    border-top: 2px solid var(--accent-gold);
}

.contact-section h2 {
    color: white;
    font-size: 3.5rem;
}

.contact-section p {
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background-color: #25D366; /* Official WhatsApp Color */
    color: white !important;
    padding: 1.2rem 2.5rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-email {
    background-color: transparent;
    color: white !important;
    padding: 1.2rem 2.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-email:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold) !important;
}

/* Footer */
footer {
    background-color: #0f0e0d; /* Even darker footer */
    color: #f3f4f6;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.footer-section p, .footer-section ul {
    color: var(--text-muted);
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* In a real app, add a hamburger menu */
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Image scaling inside blog cards */
.blog-card-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.area-card:hover .blog-card-img {
    transform: scale(1.05);
}
