/* Importação das fontes */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@400;700&display=swap');

/* Variáveis de Cores */
:root {
    --color-bg-dark: #0C101C;
    --color-primary: #DAA520; /* Dourado/Bronze */
    --color-secondary: #1F2A38; /* Fundo Secundário */
    --color-text-light: #EBEBEB;
    --color-text-grey: #5A6273;
    --color-white: #FFFFFF;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--color-text-light);
    background-color: var(--color-bg-dark);
    line-height: 1.6;
    scroll-behavior: smooth; /* Efeito de Scroll Suave */
}

/* Utilitários */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--color-primary);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    line-height: 1.2;
}

.section {
    padding: 80px 0;
}

.section-subtitle {
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 2px;
    margin-bottom: 5px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    text-align: center;
}

.section h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 15px;
}

.section-description {
    text-align: center;
    color: var(--color-text-grey);
    max-width: 700px;
    margin: 0 auto 40px auto;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
    font-size: 0.9em;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
}

.btn-primary:hover {
    background-color: #a37c1a; /* Escurece o dourado */
    color: var(--color-bg-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
}

.btn-secondary i {
    margin-right: 8px;
}

/* HEADER / NAVEGAÇÃO */
#header {
    background-color: var(--color-bg-dark);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s;
    padding: 15px 0;
}

/* Estilo para o Header após scroll (Adicionado pelo JS) */
#header.scrolled {
    background-color: rgba(12, 16, 28, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--color-text-light);
}

.logo i {
    color: var(--color-primary);
    margin-right: 10px;
}

#nav-menu ul {
    list-style: none;
    display: flex;
}

#nav-menu ul li {
    margin-left: 30px;
}

#nav-menu ul li a {
    padding: 5px 0;
    position: relative;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.9em;
}

#nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s;
}

#nav-menu ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none; /* Esconde no desktop */
    font-size: 1.5em;
    cursor: pointer;
    color: var(--color-primary);
}

/* SEÇÃO HERO */
.hero-section {
    background: url("./img/Banner.jpg") no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 60px; /* Espaço para o header fixo */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.80); /* Escurece a imagem */
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.oab-tag {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
    padding: 5px 15px;
    border-radius: 3px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.hero-content h2 {
    font-size: 4em;
    margin-bottom: 20px;
    color: var(--color-white);
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--color-text-light);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* SEÇÃO SOBRE */
.about-section {
    background-color: var(--color-secondary);
}

.about-flex {
    display: flex;
    gap: 60px;
    align-items: center;
    text-align: left;
    margin-top: 40px;
}

.about-image-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background-color: var(--color-primary);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-image-placeholder {
    width: 100%;
    height: 450px;
    background-color: var(--color-bg-dark);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5em;
    color: var(--color-text-grey);
}

.about-text-content {
    flex: 2;
}

.about-text-content h2 {
    text-align: left;
    font-size: 3em;
    color: var(--color-primary);
}

.about-text-content p {
    margin-bottom: 20px;
    color: var(--color-text-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    background-color: var(--color-bg-dark);
    padding: 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--color-text-light);
}

.stat-item i {
    color: var(--color-primary);
    font-size: 1.5em;
    margin-right: 15px;
}

.stat-item span {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1em;
}

/* SEÇÃO ÁREAS DE ATUAÇÃO */
.areas-section {
    background-color: var(--color-bg-dark);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.area-card {
    background-color: var(--color-secondary);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.area-card i {
    font-size: 3em;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.area-card h4 {
    font-size: 1.5em;
    color: var(--color-text-light);
}

.area-card p {
    color: var(--color-text-grey);
    font-size: 0.95em;
}

/* SEÇÃO DEPOIMENTOS */
.testimonials-section {
    background-color: var(--color-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--color-bg-dark);
    padding: 30px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.quote-icon {
    font-size: 4em;
    color: var(--color-primary);
    line-height: 0.5;
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.5;
}

.testimonial-card p {
    margin: 20px 0;
    font-style: italic;
    color: var(--color-text-light);
    min-height: 100px; /* Garante que os cards tenham altura similar */
}

.rating i {
    color: gold;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--color-text-grey);
}

.client-initials {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-bg-dark);
    margin-right: 15px;
    text-transform: uppercase;
}

.initials-ce { background-color: #8A2BE2; } /* Azul Violeta */
.initials-ap { background-color: #00CED1; } /* Turquesa Escuro */
.initials-rs { background-color: #FF6347; } /* Vermelho Tomate */

.client-info strong {
    display: block;
    color: var(--color-primary);
}

.client-info span {
    color: var(--color-text-grey);
    font-size: 0.9em;
}

/* SEÇÃO CONTATO */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-top: 40px;
    text-align: left;
}

.contact-form-card {
    background-color: var(--color-secondary);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-form-card h4 {
    color: var(--color-primary);
    font-size: 1.8em;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--color-text-light);
    font-size: 0.9em;
    text-transform: uppercase;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-text-grey);
    border-radius: 5px;
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    font-size: 1em;
}

.form-group textarea {
    resize: vertical;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--color-text-grey);
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: var(--color-secondary);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.info-card i {
    font-size: 2em;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.info-card h4 {
    font-size: 1.4em;
    color: var(--color-text-light);
    margin-bottom: 5px;
}

.info-card p {
    color: var(--color-text-grey);
    margin: 5px 0;
}

.whatsapp-link {
    color: var(--color-primary);
    font-weight: 700;
    margin-top: 10px;
    display: inline-block;
}

/* RODAPÉ */
.footer {
    background-color: var(--color-bg-dark);
    padding: 40px 0 0 0;
    border-top: 1px solid var(--color-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    flex-wrap: wrap; /* Para quebrar em mobile */
}

.footer-brand {
    max-width: 300px;
    margin-bottom: 20px;
}

.brand-description {
    color: var(--color-text-grey);
    margin-top: 15px;
}

.social-links a {
    font-size: 1.5em;
    margin-right: 15px;
    color: var(--color-text-grey);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--color-primary);
}

.footer-links, .footer-info {
    margin-bottom: 20px;
}

.footer-links h4, .footer-info h4 {
    color: var(--color-primary);
    font-size: 1.2em;
    margin-bottom: 15px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.footer-links ul, .footer-info ul {
    list-style: none;
}

.footer-links ul li, .footer-info ul li {
    margin-bottom: 10px;
}

.footer-links ul li a, .footer-info ul li a {
    color: var(--color-text-grey);
}

.oab-footer-tag {
    color: var(--color-primary);
    font-weight: 700;
}

.footer-bottom {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid var(--color-secondary);
    background-color: #080B13;
}

.footer-bottom p {
    font-size: 0.85em;
    color: var(--color-text-grey);
}

/* BOTÃO FIXO WHATSAPP */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366; /* Cor do WhatsApp */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* ==================================== */
/* 📱 RESPONSIVIDADE (Mobile/Tablet) */
/* ==================================== */

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }

    /* HERO */
    .hero-content h2 {
        font-size: 3em;
    }
    
    /* SOBRE */
    .about-flex {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .about-text-content h2 {
        text-align: center;
    }

    .about-image-card {
        max-width: 100%;
    }

    /* CONTATO */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* RODAPÉ */
    .footer-content {
        justify-content: space-around;
        text-align: center;
    }

    .footer-brand, .footer-links, .footer-info {
        flex-basis: 45%;
        margin-bottom: 30px;
    }

    .social-links {
        margin-top: 15px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* HEADER */
    #nav-menu {
        display: none; /* Esconde a navegação no mobile */
    }

    .menu-toggle {
        display: block; /* Mostra o ícone de menu hamburger */
    }

    /* Menu Aberto (Adicionado pelo JS) */
    #nav-menu.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-bg-dark);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        padding: 10px 0;
    }

    #nav-menu.active ul {
        flex-direction: column;
        align-items: center;
    }

    #nav-menu.active ul li {
        margin: 10px 0;
        width: 90%;
        text-align: center;
        border-bottom: 1px solid var(--color-secondary);
        padding-bottom: 10px;
    }

    #nav-menu.active ul li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    #nav-menu.active ul li a::after {
        display: none;
    }

    /* HERO */
    .hero-section {
        height: 80vh; /* Altura um pouco menor */
    }

    .hero-content h2 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1em;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 80%;
        margin: 0 auto;
        text-align: center;
    }

    /* SOBRE */
    .stats-grid {
        grid-template-columns: 1fr; /* Uma coluna no mobile */
    }

    /* ÁREAS */
    .areas-grid {
        grid-template-columns: 1fr; /* Uma coluna no mobile */
    }

    /* DEPOIMENTOS */
    .testimonials-grid {
        grid-template-columns: 1fr; /* Uma coluna no mobile */
    }

    /* RODAPÉ */
    .footer-content {
        flex-direction: column;
        text-align: left;
    }

    .footer-brand, .footer-links, .footer-info {
        flex-basis: 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .footer-links ul, .footer-info ul {
        padding-left: 20px;
    }

    .footer-links h4, .footer-info h4 {
        text-align: left;
    }
}


/* ==================================== */
/* 🚀 EFEITO REVEAL ON SCROLL (AOS) */
/* ==================================== */

/* Classe base para todos os elementos que vão aparecer */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Estado ativo (quando o elemento está na viewport) */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Variações de Animação (Opcional) */

/* Aparecer da Esquerda */
.reveal.from-left {
    transform: translateX(-50px);
}
.reveal.active.from-left {
    transform: translateX(0);
}

/* Aparecer com Atraso (Para itens em grid, como Áreas ou Depoimentos) */
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; }

/* NOVO CSS PARA A FOTO REAL DA ADVOGADA */

.advogada-photo {
    width: 100%;
    height: 450px; /* Mantém a altura do placeholder */
    object-fit: cover; /* Garante que a imagem cubra o espaço sem distorcer */
    border-radius: 5px; /* Mantém o arredondamento */
    display: block;
}

/* Opcional: Remove o placeholder quando a foto for inserida */
.about-image-placeholder {
    display: none; 
}

/* Ajuste o about-image-card para não ter padding extra */
.about-image-card {
    /* ... propriedades anteriores ... */
    padding: 0; /* Remove o padding, pois a borda será feita com a imagem */
}