/*
Theme Name: GCV Advogados
Description: Tema personalizado para o escritório GCV Advogados - Gonçalves, Carboni & Viana Advogados Associados. Desenvolvido seguindo as diretrizes da LGPD para sites de advocacia.
Version: 1.0
Author: Desenvolvimento Personalizado
Text Domain: gcv-theme
*/

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores exatas do logo GCV */
    --primary-color: #3C0D0D; /* Marrom escuro do gradiente superior */
    --secondary-color: #6E4E4E; /* Marrom claro do gradiente inferior */
    --accent-color: #C0C0C0; /* Prata metálico das letras */
    --text-dark: #2C1810; /* Texto escuro para fundos claros */
    --text-light: #F5F5F5; /* Texto claro */
    --background-light: #FAFAFA;
    --background-dark: #1A1A1A;
    --border-color: #E0E0E0;
    --shadow-color: rgba(60, 28, 28, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 2.5rem 0;
    box-shadow: 0 2px 10px var(--shadow-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    color: var(--text-light);
    text-decoration: none;
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    margin-left: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.logo-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.2rem;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.main-navigation a:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}





/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    color: var(--primary-color);
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    opacity: 0.95;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 2rem 0;
    opacity: 0.9;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

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

.hero-icon {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Sections */
.content-section {
    padding: 5rem 0;
}

.content-section:nth-child(even) {
    background-color: var(--background-light);
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Practice Areas Blocks */
.practice-area-block {
    background: white;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.practice-area-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.area-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.area-header i {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    display: block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.area-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.area-content {
    padding: 2.5rem;
}

.area-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 500;
}

.services-grid .service-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.services-grid .service-item:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.services-grid .service-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.services-grid .service-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.services-grid .service-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-grid .service-item li {
    font-size: 0.9rem;
    color: var(--text-dark);
    padding: 0.3rem 0;
    border-bottom: 1px solid #eee;
}

.services-grid .service-item li:last-child {
    border-bottom: none;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.text-block {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.text-block:hover {
    transform: translateY(-5px);
}

.text-block h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.text-block p {
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

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

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

/* Team Section */
.team-section {
    background: white;
}

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

.team-member {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.member-photo {
    flex-shrink: 0;
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.member-info h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.member-oab {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.member-description {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.member-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.specialty {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 5rem 0;
}

.contact-section .section-title,
.contact-section .section-subtitle {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-details h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-details p {
    margin: 0;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background: white;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    opacity: 0;
    position: absolute;
    cursor: pointer;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label a {
    color: var(--accent-color);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: white;
}

/* Footer */
.site-footer {
    background: var(--background-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.6;
}

/* LGPD Compliance */
.lgpd-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 1rem;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.lgpd-banner.show {
    transform: translateY(0);
}

.lgpd-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.lgpd-text {
    flex: 1;
    font-size: 0.9rem;
}

.lgpd-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Areas Section Styles */
.areas-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.areas-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 3rem;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.area-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: left 0.3s ease;
}

.area-card:hover::before {
    left: 0;
}

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.area-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.area-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.area-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.area-services {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.area-services li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding-left: 1.5rem;
}

.area-services li:last-child {
    border-bottom: none;
}

.area-services li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .hero-section {
        padding: 6rem 0 3rem;
        margin-top: 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .areas-section h2 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image div {
        width: 100% !important;
        max-width: 300px !important;
        height: 200px !important;
        font-size: 2rem !important;
    }
    
    /* Áreas de Atuação Mobile */
    .areas-section {
        padding: 4rem 0;
        overflow: hidden;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        max-width: 100%;
        margin-top: 2rem;
    }
    
    .area-card {
        background: white;
        border-radius: 15px;
        padding: 2rem 1.5rem;
        text-align: center;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(0,0,0,0.05);
        max-width: 100%;
        margin: 0 auto;
    }
    
    .area-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        border-color: var(--accent-color);
    }
    
    .area-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }
    
    .area-card:hover::before {
        transform: scaleX(1);
    }
    
    .area-icon {
        font-size: 2.5rem;
        color: var(--accent-color);
        margin-bottom: 1.2rem;
        transition: all 0.3s ease;
    }
    
    .area-card:hover .area-icon {
        color: var(--primary-color);
        transform: scale(1.1);
    }
    
    .area-card h3 {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 1rem;
        line-height: 1.3;
        transition: color 0.3s ease;
    }
    
    .area-card:hover h3 {
        color: var(--secondary-color);
    }
    
    .area-card p {
        font-size: 0.9rem;
        line-height: 1.6;
        color: var(--text-dark);
        margin: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .area-services {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(0,0,0,0.1);
    }
    
    .area-services h4 {
        font-size: 1rem;
        font-weight: 600;
        color: var(--primary-color);
        margin-bottom: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .area-services ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .area-services li {
        font-size: 0.85rem;
        color: var(--text-dark);
        padding: 0.3rem 0;
        position: relative;
        padding-left: 1.2rem;
    }
    
    .area-services li::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: var(--accent-color);
        font-weight: bold;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .team-member {
        margin: 0 0.5rem;
    }
    
    .member-photo {
        height: 200px;
        font-size: 3rem;
    }
    
    .member-info {
        padding: 1.2rem;
    }
    
    .member-name {
        font-size: 1.2rem;
    }
    
    .lgpd-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .lgpd-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .content-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    /* Header Mobile - reduzir altura */
    .site-header {
        padding: 0.5rem 0;
    }
    
    .header-container {
        padding: 0.5rem 1rem;
        min-height: 60px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .logo-subtitle {
        font-size: 0.6rem;
    }
    
    /* LGPD Banner Mobile - reduzir tamanho */
    .lgpd-banner {
        padding: 0.75rem;
    }
    
    .lgpd-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .lgpd-text {
        font-size: 0.8rem;
    }
    
    .lgpd-text strong {
        font-size: 0.85rem;
        display: block;
        margin-bottom: 0.25rem;
    }
    
    .lgpd-text p {
        margin: 0;
        line-height: 1.3;
    }
    
    .lgpd-actions {
        display: flex;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .lgpd-actions .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    /* Checkbox mobile - aumentar tamanho mantendo proporções do desktop */
    .checkmark {
        width: 30px;
        height: 30px;
        background: rgba(255, 255, 255, 0.2);
        border: 3px solid rgba(255, 255, 255, 0.5);
        border-radius: 6px;
        position: relative;
        flex-shrink: 0;
        transition: all 0.3s ease;
    }

    .checkbox-label input[type="checkbox"]:checked + .checkmark {
        background: var(--accent-color);
        border-color: var(--accent-color);
    }

    .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
        content: '';
        position: absolute;
        left: 9px;
        top: 3px;
        width: 9px;
        height: 15px;
        border: solid white;
        border-width: 0 3px 3px 0;
        transform: rotate(45deg);
    }
    
    .checkbox-label {
        gap: 1rem;
        font-size: 1rem;
    }
    
    .hero-section {
        padding: 5rem 0 2.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .areas-section h2 {
        font-size: 1.8rem;
    }
    
    .area-card {
        padding: 1.5rem 1.2rem;
        margin: 0 0.25rem;
    }
    
    .area-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .area-card h3 {
        font-size: 1.1rem;
    }
    
    .area-card p {
        font-size: 0.85rem;
    }
    
    .area-services li {
        font-size: 0.8rem;
    }
    
    .subcategory {
        font-size: 0.8rem;
        padding: 0.25rem 0.6rem;
    }
    
    .team-member {
        margin: 0 0.25rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 1.5rem;
    }
    
    .member-photo {
        height: 180px;
        font-size: 2.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 0 auto;
    }
    
    .photo-placeholder {
        width: 100px;
        height: 100px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .member-info {
        padding: 1rem;
        text-align: center;
        width: 100%;
    }
    
    .member-name {
        font-size: 1.1rem;
    }
    
    .member-role,
    .member-oab {
        font-size: 0.9rem;
    }
    
    .member-description {
        font-size: 0.85rem;
    }
    
    .about-image div {
        height: 150px !important;
        font-size: 1.5rem !important;
    }
    
    .content-section {
        padding: 2.5rem 0;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
a:focus,
button:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Animações CSS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Classes de animação */
.animate-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-bounce {
    animation: bounce 1s ease-in-out;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-zoom-in {
    animation: zoomIn 0.6s ease-out forwards;
}

/* Delays para animações em sequência */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* Estado inicial para elementos animados */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-load {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-load.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Hover effects melhorados */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(60, 13, 13, 0.2);
}

.team-member {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-member:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(60, 13, 13, 0.15);
}

/* Animações para botões */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Animações para navegação */
.main-navigation a {
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(60, 13, 13, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Correções Gerais Mobile */
@media screen and (max-width: 768px) {
    /* Prevenção de overflow horizontal */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    * {
        box-sizing: border-box;
        max-width: 100%;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        margin: 0 auto;
        overflow: hidden;
    }
    
    /* Ajustes de tipografia mobile */
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    p, span, div {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Imagens responsivas */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    /* Seções principais */
    section {
        padding: 3rem 0;
        overflow: hidden;
    }
    
    /* Ajuste do body para header fixo */
    body {
        padding-top: 80px;
    }

/* Responsividade Mobile - Smartphones (320px - 768px) */
    /* Header Mobile */
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .header-container {
        padding: 0.8rem 1rem;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        position: relative;
    }
    
    .logo {
        flex-shrink: 0;
    }
    
    .logo-content {
        align-items: center;
        gap: 0.8rem;
    }
    
    .logo-img {
        height: 50px;
        max-width: 150px;
    }
    
    .logo-text-content {
        display: flex;
        flex-direction: column;
    }
    
    .logo-subtitle {
        font-size: 0.65rem;
        line-height: 1.1;
        opacity: 0.9;
        display: block;
    }
    
    /* Navegação Mobile - ocultar completamente */
    .main-navigation {
        display: none !important;
    }
    
    /* Garantir que nenhum ícone de menu apareça */
    .menu-toggle,
    .mobile-menu-toggle,
    .hamburger,
    .nav-toggle,
    .menu-icon,
    .mobile-menu-icon,
    .menu-button,
    .mobile-menu-button,
    [class*="menu-toggle"],
    [class*="hamburger"],
    [class*="nav-toggle"] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Ocultar qualquer pseudo-elemento que possa criar ícones */
    .header-container::before,
    .header-container::after,
    .main-navigation::before,
    .main-navigation::after {
        display: none !important;
        content: none !important;
    }
    

    
    /* Hero Section Mobile */
    .hero-section {
        padding: 7rem 0 4rem;
        margin-top: 60px;
        text-align: center;
        min-height: 60vh;
        overflow: hidden;
        position: relative;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 1rem;
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    
    .hero-text {
        width: 100%;
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center;
        width: 100%;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        text-align: center;
        width: 100%;
        display: block;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        max-width: 95%;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
    }
    
    .hero-description p {
        text-align: center;
        margin: 0 auto;
        width: 100%;
    }
    
    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        text-align: center;
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    /* Container Mobile */
    .container {
        padding: 0 1rem;
    }
    
    /* Sections Mobile */
    .content-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    /* Grid Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    /* Cards Mobile */
    .service-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    /* About Section Mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text {
        font-size: 1rem;
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    /* Team Members Mobile */
    .team-section {
        padding: 4rem 0;
        overflow: hidden;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .team-member {
        background: white;
        border-radius: 15px;
        padding: 2rem 1.5rem;
        text-align: center;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .team-member:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    }
    
    .member-photo {
        width: 100px;
        height: 100px;
        margin: 0 auto;
        flex-shrink: 0;
        display: block;
    }

    .photo-placeholder {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
        border: 4px solid var(--accent-color);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }
    
    .member-info {
        padding: 0;
        text-align: center;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .member-info h3 {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 0.3rem;
        line-height: 1.3;
    }
    
    .member-role {
        font-size: 0.9rem;
        color: var(--accent-color);
        margin-bottom: 0.3rem;
        font-weight: 600;
    }
    
    .member-oab {
        font-size: 0.8rem;
        color: var(--text-muted);
        margin-bottom: 1rem;
        font-style: italic;
    }
    
    .member-specialties {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        margin-top: auto;
    }
    
    .specialty {
        background: var(--primary-color);
        color: white;
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        border-radius: 15px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }
    
    /* Footer Mobile */
    .site-footer {
        padding: 3rem 0 2rem;
        overflow: hidden;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .footer-section {
        background: rgba(255,255,255,0.05);
        padding: 2rem 1.5rem;
        border-radius: 15px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.1);
        transition: all 0.3s ease;
    }
    
    .footer-section:hover {
        background: rgba(255,255,255,0.08);
        transform: translateY(-5px);
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
        color: var(--text-light);
        margin-bottom: 1.5rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        position: relative;
    }
    
    .footer-section h3::after {
        content: '';
        position: absolute;
        bottom: -0.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 3px;
        background: var(--accent-color);
        border-radius: 2px;
    }
    
    .footer-section p,
    .footer-section li {
        color: rgba(255,255,255,0.8);
        line-height: 1.6;
        margin-bottom: 0.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .footer-section ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .footer-section li {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        transition: all 0.3s ease;
    }
    
    .footer-section li:last-child {
        border-bottom: none;
    }
    
    .footer-section li:hover {
        padding-left: 1rem;
        color: var(--accent-color);
    }
    
    .footer-section a {
        color: rgba(255,255,255,0.8);
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .footer-section a:hover {
        color: var(--accent-color);
        text-decoration: underline;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        text-align: center;
    }
    
    .footer-bottom p {
        color: rgba(255,255,255,0.6);
        font-size: 0.9rem;
        margin: 0;
    }
    
    /* Social Links Mobile */
    .social-links {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        background: rgba(255,255,255,0.1);
        border-radius: 50%;
        color: var(--text-light);
        font-size: 1.5rem;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }
    
    .social-links a:hover {
        background: var(--accent-color);
        border-color: var(--accent-color);
        transform: translateY(-3px) scale(1.1);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    
    /* Botões Mobile */
    .btn {
        padding: 1.2rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 320px;
        margin: 0.5rem auto;
        display: block;
        border-radius: 10px;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 600;
        position: relative;
        overflow: hidden;
    }
    
    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }
    
    .btn-primary {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        border: none;
        color: white;
    }
    
    .btn-secondary {
        background: transparent;
        border: 2px solid var(--accent-color);
        color: var(--accent-color);
    }
    
    .btn-secondary:hover {
        background: var(--accent-color);
        color: white;
    }
    
    /* Contact Section Mobile */
    .contact-section {
        padding: 4rem 0;
        overflow: hidden;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .contact-info {
        background: rgba(255, 255, 255, 0.1);
        padding: 2rem 1.5rem;
        border-radius: 15px;
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
        margin-bottom: 2rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
        color: white;
        margin-bottom: 1.5rem;
        text-align: center;
        font-weight: 700;
    }
    
    .contact-form {
        background: rgba(255, 255, 255, 0.1);
        padding: 2rem 1.5rem;
        border-radius: 15px;
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
        margin: 0;
        max-width: 100%;
    }
    
    .contact-form h3 {
        font-size: 1.5rem;
        color: white;
        margin-bottom: 1.5rem;
        text-align: center;
        font-weight: 700;
    }
    
    .contact-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1.2rem;
        margin: 0 0 1rem 0;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
    }
    
    .contact-item:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        color: var(--text-dark);
        background: var(--accent-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }
    
    .contact-item:hover .contact-icon {
        background: white;
        color: var(--primary-color);
        transform: scale(1.1);
    }
    
    .contact-details {
        flex: 1;
    }
    
    .contact-details strong {
        display: block;
        color: white;
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 600;
    }
    
    .contact-details span {
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.95rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Formulários Mobile */
    .form-group {
        margin-bottom: 1.5rem;
        position: relative;
    }
    
    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        color: white;
        font-weight: 600;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }
    
    .form-control {
        width: 100%;
        padding: 1.2rem;
        font-size: 1rem;
        border: 2px solid rgba(0,0,0,0.1);
        border-radius: 10px;
        background: white;
        transition: all 0.3s ease;
        box-sizing: border-box;
    }
    
    .form-control:focus {
        outline: none;
        border-color: var(--accent-color);
        box-shadow: 0 0 0 3px rgba(var(--accent-color-rgb), 0.1);
        transform: translateY(-2px);
    }
    
    .form-control::placeholder {
        color: var(--text-muted);
        opacity: 0.7;
    }
    
    textarea.form-control {
        min-height: 120px;
        resize: vertical;
    }
    
    .btn-primary {
        width: 100%;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        font-weight: 600;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        border: none;
        border-radius: 10px;
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }
    
    /* Animações Mobile - Reduzir movimento */
    .animate-fade-in {
        animation-duration: 0.5s;
    }
    
    .animate-slide-up,
    .animate-slide-left,
    .animate-slide-right {
        animation-duration: 0.6s;
    }
    
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
    
    /* Touch-friendly */
    .service-card,
    .team-member,
    .btn,
    .main-navigation a {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    /* Scroll suave mobile */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Prevenir zoom em inputs */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px;
    }
}

/* Smartphones pequenos (320px - 480px) */
@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    .header-container {
        padding: 0 0.5rem;
    }
}

/* Responsividade Tablet - (768px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    /* Header Tablet */
    .header-container {
        padding: 0 1.5rem;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    .main-navigation ul {
        gap: 1.5rem;
    }
    
    .main-navigation a {
        font-size: 0.95rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Hero Section Tablet */
    .hero-section {
        padding: 7rem 0 4rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    /* Container Tablet */
    .container {
        padding: 0 1.5rem;
    }
    
    /* Grid Adaptativo Tablet */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Cards Tablet */
    .service-card {
        padding: 1.8rem;
    }
    
    .service-icon {
        font-size: 2.8rem;
    }
    
    /* About Section Tablet */
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .about-text {
        font-size: 1.05rem;
    }
    
    /* Team Members Tablet */
    .member-photo {
        height: 220px;
    }
    
    /* Footer Tablet */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Botões Tablet */
    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
        width: auto;
        display: inline-block;
    }
    
    /* Contact Section Tablet */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    /* Formulários Tablet */
    .form-control {
        padding: 0.8rem;
    }
    
    /* Touch-friendly para tablet */
    .service-card,
    .team-member,
    .btn {
        min-height: 48px;
        touch-action: manipulation;
    }
    
    /* Grid específico para seções especiais */
    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Otimizações de layout para tablet */
    .section-title {
        font-size: 2.2rem;
    }
    
    .content-section {
        padding: 3.5rem 0;
    }
    
    /* Navegação tablet - manter desktop style */
    .main-navigation {
        display: block;
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
    }
    
    .main-navigation ul {
        flex-direction: row;
        padding: 0;
    }
    
    .main-navigation li {
        border-bottom: none;
    }
    
    .main-navigation a {
        border-radius: 5px;
    }
    

}

/* High Resolution Displays (Retina) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize icons and graphics for high DPI */
    .area-icon i,
    .member-photo i,
    .hero-content i {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Sharper borders and shadows */
    .area-card,
    .team-member,
    .btn {
        border-width: 0.5px;
    }
    
    /* Optimize gradients */
    .hero-section::before {
        background: linear-gradient(135deg, 
            rgba(60, 13, 13, 0.95) 0%, 
            rgba(110, 78, 78, 0.85) 100%);
    }
}

/* Large Desktop Screens (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-title {
        font-size: 6rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .areas-grid,
    .team-grid {
        gap: 3rem;
    }
    
    .area-card,
    .team-member {
        padding: 3rem;
    }
}

/* Ultra-wide Screens (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-section {
        min-height: 100vh;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
}

/* Optimize for reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .animate-on-load,
    .animate-on-scroll {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #f5f5f5;
        --bg-color: #1a1a1a;
        --card-bg: #2d2d2d;
    }
    
    body {
        background-color: var(--bg-color);
        color: var(--text-color);
    }
    
    .area-card,
    .team-member {
        background-color: var(--card-bg);
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* Print styles */
@media print {
    .site-header,
    .lgpd-banner,
    .loading-spinner {
        display: none;
    }
    
    .hero-section {
        margin-top: 0;
        page-break-inside: avoid;
    }
    
    .area-card,
    .team-member {
        page-break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    /* Desabilitar animações na impressão */
    *,
    *::before,
    *::after {
        animation-duration: 0s !important;
        animation-delay: 0s !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
    
    .animate-on-load,
    .animate-on-scroll {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
/* Ajustes de contraste solicitados (cards sempre claros) */
:root { --card-light-bg: #ffffff; }
.area-card, .team-member { background: var(--card-light-bg); }
.area-card h3, .member-info h3 { color: var(--primary-color); }
.area-card p, .area-services li, .team-member p { color: var(--text-dark); }

@media (prefers-color-scheme: dark) {
    .area-card, .team-member { background: var(--card-light-bg) !important; color: var(--text-dark) !important; }
    .area-card h3, .member-info h3 { color: var(--primary-color) !important; }
    .area-card p, .area-services li, .team-member p { color: var(--text-dark) !important; }
}
/* Team hover expansion: show full description and enlarge photo on hover or when expanded */
.team-member { position: relative; overflow: hidden; }
.team-member .member-description { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.35s ease, opacity 0.35s ease; }
.team-member:hover .member-description,
.team-member.expanded .member-description { max-height: 500px; opacity: 1; }
.team-member:hover .photo-placeholder,
.team-member.expanded .photo-placeholder { transform: scale(1.12); }
.team-member { cursor: pointer; }

/* Fix alignment issues - ensure all team cards have consistent height and alignment */
.team-grid {
    align-items: stretch;
}

.team-member {
    min-height: 200px;
    align-items: flex-start;
}

.member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.member-specialties {
    margin-top: auto;
    padding-top: 0.5rem;
}

/* Support touch devices: use .expanded class toggled via JS */
@media (hover: none) {
  .team-member .member-description { max-height: 0; opacity: 0; }
  .team-member.expanded .member-description { max-height: 500px; opacity: 1; }
}

/* Logo Image Styles */
.logo-img {
    height: 90px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

.hero-logo {
    height: 100px;
    width: auto;
    max-width: 350px;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* Responsive adjustments for logo */
@media (max-width: 768px) {
    .logo-img {
        height: 70px;
        max-width: 220px;
    }
    
    .hero-logo {
        height: 75px;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 55px;
        max-width: 170px;
    }
    
    .hero-logo {
        height: 60px;
        max-width: 180px;
    }
}

/* Enhanced Logo Layout Styles */
.logo-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text-content {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 0.2rem;
}

.logo-subtitle {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.2;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 2rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    transition: all 0.3s ease;
    cursor: pointer;
    display: none; /* Ocultado temporariamente */
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* Responsive adjustments for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
    
    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }
}

/* Unified Team Section Styles */
.unified-team {
    max-width: 1000px;
    margin: 0 auto;
}

.team-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.team-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
}

.lawyers-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.lawyer-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.lawyer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.lawyer-header {
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 1rem;
}

.lawyer-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.lawyer-oab {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
    font-style: italic;
}

.lawyer-description {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.lawyer-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.lawyer-specialties .specialty {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.lawyer-specialties .specialty:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Team Values Section */
.team-values {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    text-align: center;
}

.team-values h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.value-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.value-item h5 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.value-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    color: white;
}

/* Responsive adjustments for unified team */
@media (max-width: 768px) {
    .lawyer-card {
        padding: 2rem 1.5rem;
    }
    
    .lawyer-header h3 {
        font-size: 1.3rem;
    }
    
    .team-values {
        padding: 2rem 1.5rem;
    }
    
    .team-values h4 {
        font-size: 1.6rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-item {
        padding: 1.5rem;
    }
}

/* WhatsApp Button Styles */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
    border: none;
    cursor: pointer;
    margin-top: 1rem;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    color: white !important;
    text-decoration: none;
}

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

.lawyer-contact,
.member-contact {
    margin-top: 1.5rem;
    text-align: center;
}

/* Responsive adjustments for WhatsApp buttons */
@media (max-width: 768px) {
    .whatsapp-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }
}