/* Variáveis e Configurações Gerais */
:root {
    --navy: #0A192F;
    --gold: #C5A059;
    --off-white: #F8F9FA;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

h1, h2, h3, .font-serif {
    font-family: 'Playfair Display', serif;
}

/* Cores Customizadas */

.bg-navy { background-color: var(--navy); }
.text-gold { color: var(--gold); }
.bg-gold { background-color: var(--gold); }
.border-gold { border-color: var(--gold); }
.text-navy { color: var(--navy); }

/* Estilo do Hero */
.hero-bg {
    background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1350&q=80');
}

/* Estilos da Equipe */




/* Container das imagens dos advogados */
.team-image-wrapper {
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 4px;
    background-color: #f1f1f1;
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

/* Container das imagens dos estagiários */
.intern-image-wrapper {
    aspect-ratio: 1/1; /* Quadrado para estagiários fica mais moderno */
    overflow: hidden;
    border-radius: 8px;
    background-color: #f8fafc;
}

.intern-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.team-card:hover img, .intern-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Animação de Fade In ao trocar de aba */
.animate-fade {
    animation: fadeIn 0.4s ease-in forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Formulário e Botões */
.form-input {
    border: 1px solid #e2e8f0;
    padding: 0.75rem;
    border-radius: 0.25rem;
    background-color: white;
}

.form-input:focus {
    outline: 2px solid var(--navy);
}

.btn-primary {
    background-color: var(--navy);
    color: white;
    font-weight: 700;
    padding: 1rem;
    border-radius: 0.25rem;
    transition: 0.3s;
    letter-spacing: 0.1em;
}

.btn-primary:hover {
    background-color: #1a2a44;
    transform: translateY(-2px);
}

/* WhatsApp Flutuante */
.whatsapp-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background-color: #22c55e;
    color: white;
    padding: 1rem;
    border-radius: 9999px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 100;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    background-color: #16a34a;
    transform: scale(1.1);
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Estilização dos Cards Modernos */
.modern-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 30px rgba(10, 25, 47, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(197, 160, 89, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 25, 47, 0.12);
    border-color: var(--gold);
}

/* Número Decorativo ao Fundo */
.card-number {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(197, 160, 89, 0.05);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    user-select: none;
    transition: 0.4s;
}

.modern-card:hover .card-number {
    color: rgba(197, 160, 89, 0.12);
}

/* Caixa do Ícone */
.icon-box {
    width: 60px;
    height: 60px;
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 2rem;
    transition: 0.4s;
}

.modern-card:hover .icon-box {
    background: var(--gold);
    color: var(--navy);
    transform: rotateY(180deg);
}

/* Linha de destaque animada no pé do card */
.card-line {
    width: 40px;
    height: 3px;
    background: var(--gold);
    margin-top: 1.5rem;
    transition: width 0.4s ease;
}

.modern-card:hover .card-line {
    width: 100%;
}

/* Botão Principal do Hero */
.btn-hero-main {
    background: linear-gradient(135deg, var(--gold) 0%, #a68541 100%);
    color: var(--navy);
    padding: 1.25rem 2.5rem;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

.btn-hero-main:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.4);
    filter: brightness(1.1);
}

/* Cards Flutuantes (Glassmorphism) */
.floating-card {
    position: absolute;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    z-index: 20;
    animation: floating 3s ease-in-out infinite;
}

/* Animação de Flutuação */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Títulos no Hero */
#home h1 {
    text-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Navbar Estilizada */
#main-header.scrolled {
    background: rgba(10, 25, 47, 0.85); /* Navy com transparência */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem 0; /* Diminui a altura ao rolar */
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Links da Navbar Desktop */
.nav-link {
    color: #e2e8f0;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--gold);
}

/* Botão da Navbar */
.btn-nav-gold {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-nav-gold:hover {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}

/* Mobile Links */
.mobile-link {
    color: white;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    transition: color 0.3s;
}

.mobile-link:hover {
    color: var(--gold);
}

#mobile-menu.active {
    transform: translateX(0);
}

/* Ajustes para a Seção Vantagens */
#vantagens {
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

#vantagens h3 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Efeito de destaque suave no parágrafo */
#vantagens p span {
    position: relative;
    display: inline-block;
}

/* Ícones do checklist com brilho */
#vantagens [data-lucide] {
    filter: drop-shadow(0 0 5px rgba(197, 160, 89, 0.5));
}

/* Botões de Filtro (Tabs) */



/* Card dos Advogados */
.team-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4/5;
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.5s;
}

.team-card:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Overlay do Card */
.team-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(4px);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

/* Animação de entrada dos Grids */
.team-grid.animate-in {
    animation: slideUp 0.6s ease-out forwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Títulos das colunas do footer */
.footer-title {
    color: white;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--gold);
}

/* Ícones de redes sociais no footer */
.social-icon-footer {
    width: 36px;
height: 36px;
background-color: rgba(255, 255, 255, 0.05);
display: flex;
align-items: center;
justify-content: center;
border-radius: 4px;
color: var(--gold);
transition: all 0.3s ease;
border: 1px solid rgba(197, 160, 89, 0.1);
}

.social-icon-footer:hover {
    background-color: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

/* Efeito nos links de lista do footer */
footer ul li a {
    position: relative;
    display: inline-block;
}

footer ul li a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--gold);
}

footer ul li a:hover {
    padding-left: 5px;
}

footer ul li a:hover::before {
    opacity: 1;
}

/* Inputs Modernos */
.modern-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease;
}

.modern-input:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.2);
}

.modern-input::placeholder {
    color: #4b5563;
}

/* Animação para a mensagem de sucesso */
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
    animation: fadeInScale 0.5s ease-out forwards;
}

/* Ajuste de ícones Lucide no contato */
#contato .social-icon-footer:hover {
    background-color: var(--gold);
    color: var(--navy);
}

/* Estilização da Seção Instagram */
.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(188, 24, 136, 0.2);
}

.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(188, 24, 136, 0.4);
    filter: brightness(1.1);
}

/* Mockup de Celular Realista */
.phone-mockup {
    width: 280px;
    height: 560px;
    background: #111;
    border: 12px solid #222;
    border-radius: 36px;
    position: relative;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.3);
    overflow: hidden;
}

/* "Notch" do celular */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #222;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.screen {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
}

.reel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instagram-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 40%);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

/* Estilização do Mapa */
#localizacao iframe {
    filter: grayscale(20%) contrast(105%); /* Deixa o mapa mais sóbrio, combinando com o site */
    transition: filter 0.5s ease;
}

#localizacao iframe:hover {
    filter: grayscale(0%) contrast(100%); /* Volta as cores ao passar o mouse */
}

/* Efeito de borda na coluna do mapa */
.map-container-shadow {
    box-shadow: 0 20px 50px rgba(10, 25, 47, 0.1);
}

/* Estilos para o FAQ */
.faq-item.active {
    border-color: var(--gold);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.faq-item.active .faq-question {
    color: var(--gold);
}

.faq-item.active i {
    transform: rotate(180deg);
}

/* Estilos para a seção de Stats */
.stat-item {
    padding: 1rem;
    position: relative;
}

/* Adiciona um separador visual entre os números no desktop */
@media (min-width: 1024px) {
    .stat-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 20%;
        height: 60%;
        width: 1px;
        background: rgba(197, 160, 89, 0.3);
    }
}

/* Efeito nos cards de serviço */
.service-card {
    perspective: 1000px;
}

.service-card ul li i {
    flex-shrink: 0;
}

/* Ajuste na Jornada do Cliente */
.step-number {
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.2);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.animate-marquee {
    display: flex;
    width: 200%;
    animation: marquee 20s linear infinite;
}

.modern-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* --- Atualização da Seção de Equipe --- */

/* Container de botões com scroll horizontal no mobile */
.team-tabs-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;     /* Firefox */
    padding-bottom: 5px;
}

.team-tabs-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

/* Botão Base */
.tab-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #64748b;
    cursor: pointer;
    border: none;
    background: transparent;
    flex: 1 0 auto; /* Impede que o botão encolha no mobile */
    text-align: center;
}

/* Botão Ativo - Usando suas variáveis */
.tab-btn.active {
    background-color: var(--navy) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(10, 25, 47, 0.2);
}

/* Efeito de Hover para Desktop */
@media (min-width: 768px) {
    .tab-btn:hover:not(.active) {
        background-color: rgba(0, 0, 0, 0.05);
        color: var(--navy);
    }
}