/* ==========================================================================
   DESIGN SYSTEM & CUSTOM STYLES - PILOTTO ADVOCACIA
   ========================================================================== */

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

/* Variables */
:root {
    --gold-primary: #D4AF37;     /* Elegant Metallic Gold */
    --gold-light: #F3E5AB;       /* Lighter Gold for Hover */
    --gold-dark: #C5A02B;        /* Darker Gold for Accents */
    --gold-glow: rgba(212, 175, 55, 0.25);
    
    --black-deep: #050505;       /* Pitch Black */
    --black-primary: #0B0B0B;    /* Main Dark Background */
    --black-secondary: #121212;  /* Cards / Header Background */
    --black-tertiary: #1E1E1E;   /* Input Field Background */
    
    --white-pure: #FFFFFF;       /* Pure White */
    --white-soft: #F9F9F9;       /* Soft White Text */
    --white-muted: #E0E0E0;      /* Slightly Muted text */
    
    --gray-light: #A0A0A0;       /* Standard Gray */
    --gray-dark: #333333;        /* Dark Gray for Borders */
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Montserrat', 'Inter', sans-serif;
    
    --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
    
    --max-width: 1200px;
    --header-height: 80px;
}

/* Base Resets */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--black-primary);
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--black-primary);
    color: var(--white-soft);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--black-deep);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--white-pure);
    font-weight: 600;
}

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

ul {
    list-style: none;
}

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

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

.section {
    width: 100%;
    padding: 100px 0;
    position: relative;
    scroll-margin-top: var(--header-height);
}

.section-dark {
    background-color: var(--black-primary);
}

.section-darker {
    background-color: var(--black-deep);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-subtitle {
    font-family: var(--font-sans);
    color: var(--gold-primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--gold-primary);
    border-radius: 2px;
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    gap: 10px;
    max-width: 100%;
}

.btn-primary {
    background-color: var(--gold-primary);
    color: var(--black-deep);
    border: 1px solid var(--gold-primary);
}

.btn-primary:hover {
    background-color: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white-pure);
    border: 1px solid var(--gold-primary);
}

.btn-secondary:hover {
    background-color: var(--gold-primary);
    color: var(--black-deep);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.1);
}

/* Sticky Header & Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background-color: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    height: 70px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--white-pure);
}

.logo-text span {
    color: var(--gold-primary);
}

.logo-icon {
    width: 35px;
    height: 35px;
    fill: var(--gold-primary);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--white-muted);
    position: relative;
    padding: 10px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-primary);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--white-pure);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--gold-primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--white-pure);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* Mobile CTA (Hidden on Desktop) */
.mobile-cta-item {
    display: none;
}

/* Lawyer OAB inline (Hidden on Desktop) */
.lawyer-oab-inline {
    display: none;
}

/* Performance Stats Layout */
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    border-left: 2px solid var(--gold-primary);
    padding-left: 20px;
}

.stat-number {
    font-size: 2.2rem;
    font-family: var(--font-serif);
    color: var(--gold-primary);
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    color: var(--white-muted);
}

/* Menu Backdrop Overlay */
.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.menu-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

/* Page Load Animations */
@keyframes pageFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pageFadeInUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pageFadeInScale {
    from {
        opacity: 0;
        transform: scale(0.97) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.header {
    animation: pageFadeInDown 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-content .hero-subtitle {
    animation: pageFadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.15s;
}

.hero-content .hero-title {
    animation: pageFadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.3s;
}

.hero-content .hero-description {
    animation: pageFadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.45s;
}

.hero-content .hero-buttons {
    animation: pageFadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.6s;
}

.hero-image-box {
    animation: pageFadeInScale 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.4s;
}

/* Hero Section */
.hero {
    width: 100%;
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 20% 30%, #151515 0%, #050505 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    z-index: 10;
}

.hero-image-box {
    border: 2px solid var(--gold-primary);
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.12);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.hero-image-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(212, 175, 55, 0.25);
    border-color: var(--gold-light);
}

.hero-image-box img {
    width: 100%;
    height: auto;
    display: block;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--black-primary), transparent);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero-subtitle {
    color: var(--gold-primary);
    font-weight: 600;
    letter-spacing: 3px;
    font-size: 0.95rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

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

.hero-title span {
    color: var(--gold-primary);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--white-muted);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Specialties Section */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.specialty-card {
    background-color: var(--black-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.specialty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.specialty-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--gold-glow);
}

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

.specialty-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    background-color: rgba(212, 175, 55, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.specialty-card:hover .specialty-icon-container {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
}

.specialty-icon {
    width: 30px;
    height: 30px;
    fill: var(--gold-primary);
    transition: var(--transition-smooth);
}

.specialty-card:hover .specialty-icon {
    fill: var(--black-deep);
}

.specialty-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    transition: var(--transition-fast);
}

.specialty-card:hover h3 {
    color: var(--gold-primary);
}

.specialty-card p {
    color: var(--gray-light);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.specialty-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    gap: 8px;
    width: fit-content;
}

.specialty-link svg {
    width: 14px;
    height: 14px;
    fill: var(--gold-primary);
    transition: var(--transition-fast);
}

.specialty-link:hover svg {
    transform: translateX(5px);
}

/* About Us / Lawyers Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-text {
    font-size: 1.05rem;
    color: var(--white-muted);
    margin-bottom: 30px;
}

.lawyers-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.lawyer-card {
    background-color: var(--black-secondary);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

.lawyer-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

.lawyer-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.lawyer-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.lawyer-card:hover .lawyer-image-wrapper img {
    transform: scale(1.05);
}

.lawyer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.85), transparent 70%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.lawyer-info {
    padding: 25px 20px;
}

.lawyer-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.lawyer-role {
    font-family: var(--font-sans);
    color: var(--gold-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.lawyer-bio {
    font-size: 0.9rem;
    color: var(--gray-light);
    margin-bottom: 20px;
}

.lawyer-oab {
    font-size: 0.75rem;
    color: var(--gray-medium);
    display: block;
}

/* Differentials Section */
.differentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.diff-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--black-secondary);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
}

.diff-card:hover {
    border-color: rgba(212, 175, 55, 0.15);
    transform: translateY(-5px);
}

.diff-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition-smooth);
}

.diff-card:hover .diff-icon-wrapper {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px var(--gold-glow);
}

.diff-icon {
    width: 32px;
    height: 32px;
    fill: var(--gold-primary);
    transition: var(--transition-smooth);
}

.diff-card:hover .diff-icon {
    fill: var(--black-deep);
}

.diff-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.diff-card p {
    color: var(--gray-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    justify-content: center;
    max-width: 750px;
    margin: 0 auto;
    width: 100%;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-intro p {
    color: var(--white-muted);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    min-width: 0;
}

.contact-item-icon {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    background-color: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--gold-primary);
}

.contact-text {
    min-width: 0;
}

.contact-text h4 {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--gold-primary);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-text p,
.contact-text a {
    display: block;
    font-size: 0.95rem;
    color: var(--white-muted);
    word-break: break-all;
    overflow-wrap: break-word;
    max-width: 100%;
}

.contact-text a:hover {
    color: var(--gold-primary);
}

/* Contact Form styling */
.contact-form-card {
    background-color: var(--black-secondary);
    padding: 50px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.form-grid.full-width {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-light);
}

.form-input {
    width: 100%;
    max-width: 100%;
    background-color: var(--black-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 14px 18px;
    color: var(--white-pure);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.form-input::placeholder {
    color: var(--gray-dark);
}

.form-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D4AF37'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 40px;
}

select.form-input option {
    background-color: var(--black-tertiary);
    color: var(--white-pure);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

/* Modals for Specialty Details */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background-color: var(--black-secondary);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    max-width: 650px;
    width: 90%;
    padding: 40px;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px var(--gold-glow);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close svg {
    width: 18px;
    height: 18px;
    fill: var(--white-muted);
    transition: var(--transition-fast);
}

.modal-close:hover svg {
    fill: var(--gold-primary);
    transform: rotate(90deg);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-header .modal-icon-container {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    background-color: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.modal-header .modal-icon {
    width: 25px;
    height: 25px;
    fill: var(--gold-primary);
}

.modal-title {
    font-size: 1.8rem;
    line-height: 1.2;
}

.modal-body {
    color: var(--white-muted);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.modal-body p {
    margin-bottom: 15px;
}

.modal-body ul {
    margin-top: 15px;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 8px;
    position: relative;
    list-style-type: none;
}

.modal-body li::before {
    content: '•';
    color: var(--gold-primary);
    font-size: 1.25rem;
    position: absolute;
    left: -15px;
    top: -2px;
}

/* Footer Section */
.footer {
    background-color: var(--black-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: var(--white-muted);
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

.social-link:hover svg {
    fill: var(--black-deep);
}

.footer-links h3,
.footer-contact h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--white-pure);
    margin-bottom: 25px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-link {
    font-size: 0.9rem;
    color: var(--gray-light);
}

.footer-nav-link:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--gray-light);
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    min-width: 0;
}

a.footer-contact-item:hover {
    color: var(--gold-primary);
}

.footer-contact-item span {
    display: block;
    word-break: break-all;
    overflow-wrap: break-word;
    max-width: 100%;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    fill: var(--gold-primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gray-medium);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

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

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-left {
    transform: translateX(-40px);
}

.reveal.reveal-right {
    transform: translateX(40px);
}

.reveal.reveal-scale {
    transform: scale(0.92);
}

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

/* Stagger Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Dynamic Glow Effect */
@keyframes goldPulse {
    0% { box-shadow: 0 0 5px rgba(212, 175, 55, 0.2); }
    50% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.5); }
    100% { box-shadow: 0 0 5px rgba(212, 175, 55, 0.2); }
}

.pulse-glow:hover {
    animation: goldPulse 2s infinite;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-image-box {
        width: 100%;
        max-width: 550px;
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-wrapper {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .contact-form-card {
        width: 100%;
        max-width: 100%;
    }
    
    .differentials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    /* Previne desalinhamento horizontal causado por animações laterais no mobile */
    .reveal.reveal-left,
    .reveal.reveal-right {
        transform: translateY(35px);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -280px;
        left: auto;
        width: 280px;
        height: 100vh;
        background-color: rgba(11, 11, 11, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 30px 40px;
        gap: 25px;
        transition: var(--transition-smooth);
        border-left: 1px solid rgba(212, 175, 55, 0.15);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        z-index: 999;
        border-top: none;
    }
    
    .nav-menu.active {
        right: 0;
        left: auto;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .mobile-cta-item {
        display: block;
    }
    
    .hero {
        height: auto;
        min-height: auto;
        padding: 130px 0 60px;
        background-attachment: scroll;
        background-position: center center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Centralização e alinhamento dos Cards de Especialidades */
    .specialties-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 25px;
    }
    
    .specialty-card {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
        padding: 30px 20px;
        align-items: center;
        text-align: center;
    }
    
    .specialty-icon-container {
        margin: 0 auto 20px;
    }
    
    .specialty-link {
        margin: 0 auto;
    }
    
    /* Alinhamento dos Advogados */
    .lawyers-container {
        grid-template-columns: 1fr;
        justify-items: center;
        max-width: 450px;
        width: 100%;
        margin: 0 auto;
        gap: 25px;
    }
    
    .lawyer-card {
        width: 100%;
    }
    
    /* Alinhamento dos Diferenciais */
    .differentials-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 25px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .contact-form-card {
        padding: 30px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .navbar > .btn {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .modal-content {
        padding: 25px 15px;
    }
    
    .modal-title {
        font-size: 1.4rem;
    }
    
    .contact-form-card {
        padding: 25px 15px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item {
        border-left: 2px solid var(--gold-primary);
        padding-left: 15px;
        text-align: left;
    }
    
    /* Advogados: Formato vertical, espaçoso e centralizado */
    .lawyers-container {
        max-width: 100%;
    }
    
    .lawyer-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .lawyer-image-wrapper {
        width: 110px;
        height: 110px;
        border-radius: 50%;
        margin: 0 auto 20px;
        border: 3px solid var(--gold-primary);
        overflow: hidden;
        aspect-ratio: 1/1;
        flex-shrink: 0;
    }
    
    .lawyer-card:hover .lawyer-image-wrapper img {
        transform: scale(1.05);
    }
    
    .lawyer-info {
        padding: 0;
    }
    
    .lawyer-name {
        font-size: 1.25rem;
        margin-bottom: 5px;
    }
    
    .lawyer-role {
        font-size: 0.8rem;
        margin-bottom: 12px;
        display: block;
    }
    
    .lawyer-oab-inline {
        display: block;
        color: var(--gray-light);
        font-weight: 500;
        font-size: 0.75rem;
        margin-top: 5px;
    }
    
    .lawyer-bio {
        font-size: 0.85rem;
        margin-bottom: 0;
        line-height: 1.5;
        display: block;
        overflow: visible;
        -webkit-line-clamp: unset;
    }
    
    .lawyer-overlay {
        display: none !important;
    }
    
    /* Diferenciais: Restauração da simetria e alinhamento central */
    .diff-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
        background-color: var(--black-secondary);
        border: 1px solid rgba(255, 255, 255, 0.03);
        border-radius: 8px;
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .diff-icon-wrapper {
        width: 60px;
        height: 60px;
        margin: 0 auto 20px;
        flex-shrink: 0;
    }
    
    .diff-icon {
        width: 28px;
        height: 28px;
    }
    
    .diff-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .diff-card p {
        font-size: 0.88rem;
        line-height: 1.5;
    }
}

@media (max-width: 360px) {
    .logo-text {
        font-size: 1.0rem;
    }
    .logo {
        gap: 8px;
    }
    .logo-icon {
        width: 28px !important;
        height: 28px !important;
    }
}
