@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --bg-color: #0f0f0f;
    --card-bg: #1a1a1a;
    --primary-gold: #c5a059;
    --secondary-gold: #e2c99b;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --accent: #d4af37;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

html {
    scroll-padding-top: 80px;
}



h1,
h2,
h3,
.logo-text {
    font-family: 'Playfair Display', serif;
}

/* Glassmorphism Effect */
.glass {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    flex: 1;
    min-width: 300px;
    max-width: 520px;
}

.about-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.2rem 1rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    aspect-ratio: 1 / 1;
}

.about-card:hover {
    background: rgba(197, 160, 89, 0.05);
    border-color: rgba(197, 160, 89, 0.3);
    transform: translateY(-5px);
}

.about-card i {
    font-size: 2.2rem;
    color: var(--primary-gold);
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(197, 160, 89, 0.3));
}

.about-card h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-gold);
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    font-weight: 400;
    min-height: 3.2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.about-card p {
    font-size: 0.85rem;
    color: var(--text-main);
    line-height: 1.4;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.7;
}

@media (max-width: 992px) {
    .about-content {
        justify-content: center;
        text-align: center;
    }

    .about-grid {
        max-width: 100%;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-card {
        aspect-ratio: auto;
        padding: 2.5rem 1.5rem;
    }
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 1rem 0;
    background: rgba(15, 15, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: none;
}

.logo-small {
    height: 45px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

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

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

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(rgba(15, 15, 15, 0.7), rgba(15, 15, 15, 0.9)),
        url('office_bg.jpg');
    /* We'll generate this or use a placeholder */
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.hero-logo-img {
    max-width: 720px;
    width: 90%;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 30px rgba(197, 160, 89, 0.4));
}

.hero h1 {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    font-style: italic;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    margin-top: 1rem;
}

.whatsapp-btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.8rem;
    padding: 1.2rem 3rem;
    background: #25d366;
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    font-size: 1rem;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn-hero:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 1rem;
    font-weight: 600;
    padding: 1.1rem 2.8rem;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: var(--primary-gold);
    color: var(--bg-color);
}

/* Sections */
section {
    padding: 70px 0;
}

#servicos {
    padding-bottom: 40px;
}

#sobre {
    padding-top: 40px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

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

.section-title p {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

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

.service-card {
    padding: 3rem;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

/* Message Section */
.message-bar {
    background: var(--primary-gold);
    color: var(--bg-color);
    padding: 4rem 0;
    text-align: center;
}

.message-bar h2 {
    font-size: 2rem;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Advogado Section */
.advogado-grid {
    display: flex;
    gap: 4rem;
    align-items: center;
    flex-wrap: wrap;
}

.advogado-img-container {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.advogado-img {
    width: 100%;
    border-radius: 4px;
    filter: grayscale(10%);
    transition: var(--transition);
    border: 1px solid rgba(197, 160, 89, 0.3);
    display: block;
}

.advogado-img:hover {
    transform: scale(1.02);
    filter: grayscale(0%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-gold);
}

.advogado-img-container {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.advogado-img-container.revealed {
    opacity: 1;
    transform: translateY(0);
}

.advogado-img-container::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-gold);
    z-index: -1;
}

.advogado-info {
    flex: 1.5;
    min-width: 300px;
}

.advogado-info h3 {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.oab-tag {
    display: inline-block;
    color: var(--secondary-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-weight: 600;
}

.advogado-bio p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    text-align: justify;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: #25d366;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    margin-top: 1rem;
}

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

.whatsapp-btn i {
    font-size: 1.5rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 110px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.5);
}

.scroll-top {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--primary-gold);
    color: var(--bg-color);
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--secondary-gold);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    padding: 60px 0;
    background: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.social-links {
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-gold);
}

.copyright {
    color: #444;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 10px 0;
        width: 100%;
        background: transparent;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links a {
        font-size: 13px;
        padding: 5px;
        white-space: nowrap;
    }

    header {
        padding: 0.5rem 0;
    }

    /* Hide logo on mobile to prioritize menu links visibility as requested */
    .logo {
        display: none;
    }

    .hero h1 {
        font-size: 1.2rem;
    }

    .hero-logo-img {
        max-width: 90%;
    }

    .hero p {
        font-size: 1rem;
    }

    .advogado-grid {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .advogado-bio p {
        text-align: center;
    }

    .advogado-img-container::before {
        display: none;
    }

    .whatsapp-btn i,
    .whatsapp-btn-hero i {
        font-size: 1.5rem;
        /* Increase icon size on mobile */
    }
}

.about-text {
    text-align: justify;
}