/* ================= HEADER DA PÁGINA ================= */
.page-header {
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.9), rgba(44, 62, 80, 0.9)),
     url('../images/foto2.png') no-repeat center center/cover;
    padding: 6rem 0;
    text-align: center;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(197, 164, 126, 0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

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

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    box-shadow: 0 0 20px rgba(197, 164, 126, 0.6);
}

.page-header h1 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 3rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

/* ================= PERFIL DO ADVOGADO ================= */
.about-grid-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
}

.about-img-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(197, 164, 126, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.about-img-wrapper:hover::before {
    opacity: 1;
}

.about-img-wrapper img {
    width: 100%;
    transition: transform 0.5s ease;
    filter: brightness(0.9);
}

.about-img-wrapper:hover img { 
    transform: scale(1.05); 
    filter: brightness(1); 
}

/* Moldura decorativa */
.about-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(197, 164, 126, 0.3);
    margin: 15px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    pointer-events: none;
}

.about-img-wrapper:hover::after {
    margin: 10px;
    border-color: var(--accent-gold);
    box-shadow: inset 0 0 30px rgba(197, 164, 126, 0.2);
}

.subtitle {
    color: var(--accent-gold);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
    padding-left: 50px;
}

.subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    box-shadow: 0 0 10px rgba(197, 164, 126, 0.5);
}

.about-content h2 { 
    font-size: 2.5rem; 
    margin-bottom: 1.5rem; 
    color: var(--heading-color);
    position: relative;
    padding-bottom: 1rem;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    box-shadow: 0 0 15px rgba(197, 164, 126, 0.5);
}

.about-content p {
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.stats-row {
    display: flex;
    gap: 3rem;
    margin: 2.5rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
}

.stats-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    box-shadow: 0 0 10px rgba(197, 164, 126, 0.5);
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 1rem;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

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

.stat-item strong {
    display: block;
    font-size: 1.2rem;
    color: var(--accent-gold);
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.stat-item:hover strong {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(197, 164, 126, 0.5);
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ================= VALORES ================= */
.values-section {
    background-color: var(--bg-main);
    position: relative;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 164, 126, 0.3), transparent);
}

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

.value-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255,255,255,0.03);
    border-left: 3px solid var(--accent-gold);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Efeito de luz animado */
.value-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(197, 164, 126, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.value-card:hover::before {
    opacity: 1;
}

/* Gradiente de borda */
.value-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    padding: 1px;
    background: linear-gradient(135deg, var(--accent-gold), transparent, var(--accent-gold-dark));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    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;
}

.value-card:hover::after {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, rgba(26, 26, 26, 1), rgba(30, 30, 30, 1));
}

.value-card i {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 15px;
    background: rgba(197, 164, 126, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.value-card:hover i {
    transform: scale(1.15) rotate(10deg);
    background: rgba(197, 164, 126, 0.2);
    box-shadow: 0 0 25px rgba(197, 164, 126, 0.3);
}

.value-card h3 {
    color: var(--heading-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.value-card:hover h3 {
    color: var(--accent-gold-light);
}

.value-card p {
    color: var(--text-body);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.value-list {
    margin-top: 1rem;
}

.value-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-body);
    transition: var(--transition-fast);
    padding-left: 0;
}

.value-card:hover .value-list li {
    padding-left: 5px;
}

.value-list li i {
    font-size: 0.8rem;
    margin-bottom: 0;
    padding: 0;
    background: none;
    transition: var(--transition-fast);
}

.value-card:hover .value-list li i {
    transform: scale(1.3);
}

/* Timeline (se necessário) */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        var(--accent-gold) 0%, 
        rgba(197, 164, 126, 0.3) 50%, 
        var(--accent-gold) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.timeline-marker {
    width: 20px;
    height: 20px;
    background: var(--accent-gold);
    border-radius: 50%;
    border: 3px solid var(--bg-main);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(197, 164, 126, 0.6);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 968px) {
    .about-grid-full { 
        grid-template-columns: 1fr; 
        gap: 3rem;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
        padding-left: 50px;
    }
    
    .timeline-marker {
        left: 20px;
    }
}

@media (max-width: 640px) {
    .about-content h2 {
        font-size: 2rem;
    }
    
    .subtitle {
        padding-left: 30px;
    }
    
    .subtitle::before {
        width: 20px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .value-card {
        padding: 2rem;
    }
}
