/* Design System - Nogueira Neto Advogados */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Montserrat:wght@300;400;600&display=swap');

:root {
    /* Color Palette */
    --primary-color: #FFFFFF;
    --secondary-color: #121212;
    --accent-color: #C5A059;
    --accent-hover: #D4B475;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-dark: #F5F5F5;
    --bg-card: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(197, 160, 89, 0.2);

    /* Spacing */
    --section-padding: 100px 5%;
    --container-max-width: 1200px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html,
body {
    width: 100%;
    margin: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

p {
    text-align: justify;
}

footer p {
    text-align: center;
}

h1,
h2,
h3,
h4 {
    font-family: 'Didot', 'Playfair Display', serif;
    color: var(--secondary-color);
}

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

ul {
    list-style: none;
}

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

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

/* Utilities */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    width: 100%;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

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

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

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

header.scrolled {
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-family: 'Didot', 'Playfair Display', serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #FFFFFF;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

/* Mobile Menu */
.mobile-toggle {
    display: none;
    cursor: pointer;
    color: #FFFFFF;
}

/* Sections */
section {
    padding: var(--section-padding);
}

/* Hero */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('assets/img/hero.png') center/cover;
    text-align: center;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
    color: #FFFFFF;
}

.hero-content p {
    font-size: 1.2rem;
    color: #E0E0E0;
    max-width: 700px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1.2s ease-out;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1.4s ease-out;
}

/* About */
#about {
    background-color: var(--bg-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    text-align: justify;
}

.about-img {
    position: relative;
}

.about-img img {
    border-radius: 8px;
    box-shadow: 20px 20px 0 var(--accent-color);
}

/* Services */
#services {
    background-color: var(--primary-color);
}

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

.service-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    text-align: center;
}

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

.service-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

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

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

/* Team */
#team {
    background-color: var(--bg-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.team-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top;
    filter: grayscale(0.5);
    transition: var(--transition-smooth);
}

.team-card:hover .team-img {
    filter: grayscale(0);
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-info {
    padding: 30px;
}

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

.team-info .role {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.team-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    text-align: justify;
}

/* Location Section */
#location {
    background-color: var(--bg-dark);
}

.location-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.location-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.location-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.location-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    background: rgba(197, 160, 89, 0.1);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.location-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.location-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.location-map {
    position: relative;
}

.map-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    filter: drop-shadow(0 0 30px rgba(197, 160, 89, 0.15));
    transition: var(--transition-smooth);
}

.map-img:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 40px rgba(197, 160, 89, 0.25));
}

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

    .location-map {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Contact */
#contact {
    background-color: var(--primary-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.contact-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    color: var(--secondary-color);
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Footer */
footer {
    padding: 50px 5% 100px;
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 2rem;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
}

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

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Floating CTA Bar Global */
.cta-pill {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #FFFFFF;
    padding: 6px 6px 6px 25px;
    border-radius: 50px;
    z-index: 2000;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.3);
    transition: var(--transition-smooth);
    opacity: 0;
}

.cta-pill.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.cta-name {
    font-family: 'Didot', 'Playfair Display', serif;
    color: #121212;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cta-dot {
    color: var(--accent-color);
    margin: 0;
    font-size: 1.2rem;
}

.cta-tag {
    font-weight: 300;
    font-style: italic;
    color: rgba(0, 0, 0, 0.7);
}

.cta-btn {
    background: linear-gradient(135deg, #C5A059 0%, #D4B475 100%);
    color: #000000;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

.cta-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

/* Responsive Styles */
@media (max-width: 992px) {

    .about-grid,
    .contact-container,
    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .location-map {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 5%;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100vh;
        background: rgba(18, 18, 18, 0.95);
        backdrop-filter: blur(10px);
        padding: 100px 30px;
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        border-left: 1px solid var(--accent-color);
        animation: slideIn 0.4s ease-out;
    }

    @keyframes slideIn {
        from {
            transform: translateX(100%);
        }

        to {
            transform: translateX(0);
        }
    }

    .mobile-toggle {
        display: block;
        font-size: 1.5rem;
        z-index: 1000;
        position: relative;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
        text-align: center;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

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



    .team-img {
        height: 480px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .location-item i {
        font-size: 1.2rem;
        padding: 10px;
    }

    .location-item h4 {
        font-size: 1.1rem;
    }

    .footer-content img {
        display: block;
        margin: 0 auto 20px !important;
    }

    .cta-pill {
        width: 90%;
        padding: 5px;
        bottom: 20px;
    }

    .cta-content {
        gap: 10px;
        justify-content: space-between;
        width: 100%;
    }

    .cta-name {
        font-size: 0.75rem;
        padding-left: 10px;
        letter-spacing: 0.5px;
        line-height: 1.3;
        display: grid;
        grid-template-areas: 
            "brand dot"
            "tag dot";
        align-items: center;
        column-gap: 5px;
    }

    .cta-brand {
        grid-area: brand;
    }

    .cta-dot {
        grid-area: dot;
        margin: 0;
    }

    .cta-tag {
        grid-area: tag;
    }

    .cta-btn {
        padding: 8px 15px;
        font-size: 0.75rem;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .team-img {
        height: 480px;
    }

    .footer-domain {
        font-size: 0.8rem;
    }
}