/* ===================================
   Almeida Paes Advocacia - Premium Design
   =================================== */

/* Reset e Configurações Básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores Premium */
    --primary-color: #1a1a1a;
    --secondary-color: #c9a961;
    --gold-light: #d4b87e;
    --gold-dark: #b8954d;
    --dark-gray: #2d2d2d;
    --medium-gray: #666666;
    --light-gray: #e8e8e8;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #555555;
    
    /* Tipografia */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    /* Sombras Premium */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    
    /* Transições */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    background-color: var(--white);
}

/* Tipografia Premium */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header Premium */
.header {
    background-color: var(--dark-gray);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--light-gray);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    height: 100px;
    width: auto;
    display: block;
    margin-top: 2px; /* margem superior */
    margin-bottom: 10px; /* margem inferior */
}

.logo:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: var(--backup-bg-color, white);
    font-weight: 600;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.menu-toggle .bar {
    width: 28px;
    height: 3px;
    background-color: var(--bg-light);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section Premium */
.hero {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(45, 45, 45, 0.9) 100%);
    color: var(--white);
    padding: var(--spacing-xxl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/images/office-modern-2.jpg') center/cover;
    opacity: 0.2;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, transparent 100%);
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero p {
    color: var(--white);
    font-size: 1.35rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s backwards;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-accent {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Botões Premium */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 2px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(201, 169, 97, 0.3);
}

.btn-primary:hover {
    background-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 169, 97, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Seções Premium */
.section {
    padding: var(--spacing-xxl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    display: block;
    margin: var(--spacing-md) auto 0;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.section-title p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    font-weight: 300;
}

.section-bg {
    background-color: #c9a961;
}

/* Cards Premium */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.card {
    background-color: var(--white);
    border-radius: 4px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--gold-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-light), var(--light-gray));
    border-radius: 50%;
    transition: var(--transition);
}

.card:hover .card-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--gold-light));
    transform: scale(1.1);
}

.card-icon img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: var(--transition);
}

.card:hover .card-icon img {
    filter: grayscale(0%) brightness(0) invert(1);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* Profile Section Premium */
.profile-section {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
    margin: var(--spacing-lg) auto;
    max-width: 1200px;
}

.profile-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-gray));
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.profile-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(201, 169, 97, 0.1) 100%);
}

.profile-content {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-content h3 {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.profile-title {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.5px;
}

.profile-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

/* Footer Premium */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-gray) 100%);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-sm);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--gold-light), var(--secondary-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.35rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.9;
}

.footer-section a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Formulário Premium */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
}

/* WhatsApp Float Button Premium */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25d366, #20ba5a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-xl);
}

.whatsapp-float svg {
    width: 38px;
    height: 38px;
    fill: var(--white);
}

/* Scroll to Top Button Premium */
.scroll-top {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--secondary-color), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Animações Premium */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* Service Detail Section */
.service-detail {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 4px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--secondary-color);
}

.service-detail h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    background: var(--bg-light);
    border-left: 3px solid var(--secondary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.service-list li:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

/* Contact Info Cards */
.contact-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--white);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 3px solid var(--secondary-color);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Responsividade Premium */
@media (max-width: 1024px) {
    .profile-section {
        grid-template-columns: 1fr;
    }
    
    .profile-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .nav {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: var(--dark-gray);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .profile-image {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero {
        min-height: 60vh;
        padding: var(--spacing-lg) 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .whatsapp-float,
    .scroll-top {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-top {
        bottom: 90px;
        right: 20px;
    }
}


/* Instagram Grid Styles */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.instagram-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.instagram-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Instagram Profile Card */
.instagram-profile {
    padding: var(--spacing-lg);
    text-align: center;
}

.instagram-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-md);
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.instagram-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instagram-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-body);
    font-weight: 600;
}

.instagram-bio {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.instagram-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.stat-item strong {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-item span {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
}

.instagram-follow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--spacing-md);
}

/* Instagram Post Card */
.instagram-post {
    display: flex;
    flex-direction: column;
}

.instagram-post-header {
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--light-gray);
}

.post-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.post-author img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
}

.post-author span {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.post-badge {
    background: linear-gradient(135deg, var(--secondary-color), var(--gold-light));
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.instagram-post-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-light);
}

.instagram-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.instagram-card:hover .instagram-post-image img {
    transform: scale(1.05);
}

.instagram-post-content {
    padding: var(--spacing-md);
}

.post-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.post-actions svg {
    cursor: pointer;
    transition: var(--transition);
}

.post-actions svg:hover {
    transform: scale(1.2);
}

.post-caption {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.post-link {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.post-link:hover {
    color: var(--gold-dark);
    text-decoration: underline;
}

/* Responsividade Instagram */
@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}



/* Location Grid Styles */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 968px) {
    .location-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .location-grid iframe {
        height: 350px !important;
    }
}

@media (max-width: 480px) {
    .location-grid iframe {
        height: 300px !important;
    }
}



/* Enhanced Profile Section */
.profile-section-enhanced {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 0;
    margin: var(--spacing-lg) auto;
    max-width: 1300px;
    border: 1px solid var(--light-gray);
}

.profile-image-enhanced {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-gray));
    min-height: 600px;
}

.profile-image-enhanced img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(201, 169, 97, 0.15) 100%);
    z-index: 1;
}

.profile-section-enhanced:hover .profile-image-enhanced img {
    transform: scale(1.05);
}

.profile-content-enhanced {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.profile-header h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    line-height: 1.2;
}

.profile-title-enhanced {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.profile-bio {
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-left: 4px solid var(--secondary-color);
    border-radius: 4px;
}

.profile-bio p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
}

.profile-education,
.profile-expertise {
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--light-gray);
}

.profile-education h4,
.profile-expertise h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    display: flex;
    align-items: center;
}

.profile-education h4 svg,
.profile-expertise h4 svg {
    color: var(--secondary-color);
}

.education-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.education-list li {
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    background: var(--bg-light);
    border-left: 3px solid var(--secondary-color);
    border-radius: 4px;
    transition: var(--transition);
    font-size: 1rem;
    color: var(--text-light);
}

.education-list li:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.education-list li strong {
    color: var(--primary-color);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, var(--bg-light), var(--white));
    border-radius: 8px;
    border: 2px solid var(--light-gray);
    transition: var(--transition);
    font-weight: 600;
    color: var(--text-dark);
}

.expertise-item:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.expertise-icon {
    font-size: 1.8rem;
}

/* Responsividade Enhanced Profile */
@media (max-width: 1024px) {
    .profile-section-enhanced {
        grid-template-columns: 1fr;
    }
    
    .profile-image-enhanced {
        min-height: 450px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-content-enhanced {
        padding: var(--spacing-md);
    }
    
    .profile-header h3 {
        font-size: 2rem;
    }
    
    .profile-title-enhanced {
        font-size: 1.1rem;
    }
    
    .profile-image-enhanced {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .profile-header h3 {
        font-size: 1.75rem;
    }
    
    .profile-image-enhanced {
        min-height: 350px;
    }
}

/* Mission, Vision, Values */
.mission-vision {
    padding: 5rem 0;
    background-color: white;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.mvv-item {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: #f9fafb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mvv-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4c6af 0%, #4b3929 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.mvv-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.mvv-item p {
    color: #6b7280;
    line-height: 1.6;
}

/* Offices Section */
.offices {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.office-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.office-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.office-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.office-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #c9a961;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.office-content {
    padding: 2rem;
}

.office-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.office-address {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: #6b7280;
    font-weight: 500;
}

.office-address i {
    color: #c9a961;
    font-size: 1.125rem;
}

.office-info {
    margin-bottom: 1.5rem;
}

.office-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #374151;
    font-size: 0.875rem;
}

.office-detail i {
    color: #c9a961;
    width: 16px;
    text-align: center;
}

.office-content p {
    color: #6b7280;
    line-height: 1.6;
}

/* Header da seção */
.section-header .badge {
  display: inline-block;
  background: #c9a961;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 12px;
}
.section-header h2 {
  margin: 0 0 8px;
  font-size: 28px;
}
.section-header p {
  margin: 0 0 28px;
  color: #000000;
  line-height: 1.4;
}

/* Grid: 2 colunas fixas em desktop */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 por linha */
  gap: 32px;
  align-items: start;
}

/* Galeria */
/* --- layout container (adicionado margin:0 auto para centralizar) --- */
.gallery-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #fafafa;
  padding: 40px 0;
}

.gallery-container {
    overflow: hidden;
    border-radius: 16px;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.07),
        0 10px 20px rgba(255, 2, 2, 0.1),
        0 20px 40px rgba(201, 170, 97, 0.705);
    background: linear-gradient(145deg, #c9a961 0%, #c9a961 100%);
    padding: 50px 40px;
    cursor: grab;
    user-select: none;
    border: 1px solid rgba(201, 169, 97, 0.2);
    position: relative;
    max-width: 1100px;   /* centra e limita largura */
    margin: 0 auto;      /* <--- centraliza a galeria na página */
}

/* --- track (sem mudança funcional) --- */
.gallery-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* --- item: agora permite largura fixa/fluida para cards verticais --- */
.gallery-item {
    flex: 0 0 auto;      /* não ocupa 100% mais — permite múltiplos cards em telas largas */
    width: 320px;        /* largura do card (ajuste conforme desejar) */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- wrapper agora usa aspect-ratio 9:16 para imagens verticais --- */
.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;    /* controla largura máxima do card */
    aspect-ratio: 9 / 16; /* força proporção vertical 9:16 */
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(201, 169, 97, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

/* esse ::before mantém seu efeito gráfico sobre o card */
.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    background: linear-gradient(135deg,
        rgba(201, 169, 97, 0.3) 0%,
        transparent 30%,
        transparent 70%,
        rgba(201, 169, 97, 0.2) 100%);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.image-wrapper:hover::before {
    opacity: 1;
}

/* imagem preenche o wrapper mantendo cobertura (sem distorcer) */
.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: brightness(0.95) contrast(1.05);
}

.image-wrapper:hover img {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.1);
}

/* overlay ajustada para vertical (menos padding inferior exagerado) */
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        transparent 100%);
    padding: 28px 18px 16px;   /* reduzido para combinar com altura vertical */
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.image-overlay::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        #c9a961 50%,
        transparent 100%);
    border-radius: 2px;
}

.image-description {
    color: #c9a961;
    font-size: 15px;
    font-style: italic;
    letter-spacing: 0.8px;
    line-height: 1.4; /* ligeiro ajuste */
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

.gallery-controls { display: flex; justify-content: space-between; margin-top: 35px; padding: 0 20px; position: relative; } .control-btn { background: linear-gradient(135deg, rgba(201, 169, 97, 0.15) 0%, rgba(201, 169, 97, 0.05) 100%); border: 2px solid #c9a961; color: #c9a961; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); backdrop-filter: blur(10px); position: relative; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); } .control-btn::before { content: ''; position: absolute; inset: -2px; border-radius: 50%; padding: 2px; background: linear-gradient(135deg, #c9a961 0%, transparent 50%, #c9a961 100%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.3s ease; } .control-btn:hover::before { opacity: 1; } .control-btn:hover { background: linear-gradient(135deg, #c9a961 0%, #b89850 100%); color: #1f1f1f; transform: scale(1.1); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2), 0 0 20px rgba(201, 169, 97, 0.3); } .control-btn:active { transform: scale(0.95); } .control-btn svg { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3)); } .gallery-indicators { display: flex; justify-content: center; gap: 14px; margin-top: 30px; } .indicator { width: 10px; height: 10px; border-radius: 50%; background: rgba(201, 169, 97, 0.25); border: 2px solid rgba(201, 169, 97, 0.4); cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; box-shadow: 0 2px 4px rgba(238, 0, 0, 0.2); } .indicator::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid transparent; transition: border-color 0.3s ease; } .indicator.active { background: linear-gradient(135deg, #c9a961 0%, #b89850 100%); border-color: #c9a961; transform: scale(1.3); box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3), 0 0 12px rgba(201, 169, 97, 0.4); } .indicator.active::before { border-color: rgba(201, 1
/* controles e indicadores mantidos — sem mudanças necessárias */69, 97, 0.3); } .indicator:hover { background: rgba(201, 169, 97, 0.5); transform: scale(1.15); }

/* --- responsividade: cards fluem e ficam proporcionais --- */
@media (max-width: 1024px) {
    .gallery-item {
        width: 280px;
    }
    .image-wrapper {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 40px 15px;
    }

    .gallery-container {
        padding: 35px 25px;
    }

    /* mobile: usar porcentagem da viewport para manter proporção 9:16 */
    .gallery-item {
        width: 46vw;       /* dois cards quase lado a lado em tablets/mobiles largos */
        max-width: 360px;
    }
    .image-wrapper {
        max-width: 100%;
        aspect-ratio: 9 / 16;
        height: auto;
    }

    .image-description {
        font-size: 14px;
    }

    .control-btn {
        width: 45px;
        height: 45px;
    }

    .gallery-indicators {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 30px 10px;
    }

    .gallery-container {
        padding: 30px 20px;
    }

    .gallery-item {
        width: 64vw;  /* no celular, o card ocupa maior parte da largura */
    }

    .image-wrapper {
        aspect-ratio: 9 / 16;
        height: auto;
    }

    .image-description {
        font-size: 13px;
        letter-spacing: 0.5px;
    }

    .control-btn {
        width: 40px;
        height: 40px;
    }
}
