/* Variáveis de Cores */
:root {
    --primary-color: #ea1212; /* Um tom de vermelho/vinho escuro para o topo e destaques */
    --secondary-color: #333;
    --text-color: #555;
    --light-bg: #f8f8f8;
    --dark-bg: #333;
    --whatsapp-green: #25D366;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Tipografia */
h1, h2, h3 {
    color: var(--secondary-color);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5em;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: 2.5em;
    padding-top: 40px;
}

h3 {
    font-size: 1.5em;
}

p {
    margin-bottom: 15px;
}

/* Estrutura Geral */
section {
    padding: 60px 0;
    text-align: center;
}

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

/* Header e Navegação */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Top Bar Ajustada */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 0.9em;
}

.contact-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.endereco {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
    font-size: 1.2em; /* Aumento maior */
}

.endereco-line2 {
    font-weight: bold;
    text-align: center;
}

.localizacao {
    font-weight: bold;
    color: white;
    text-align: center;
    flex: 1;
}

.telefone {
    font-weight: bold;
    color: white;
    text-align: right;
}

.localizacao i, .telefone i {
    margin-right: 5px;
}

.phone-number {
    font-weight: bold;
    color: white !important;
    text-decoration: none;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 28px; /* Reduzido de 15px para 5px */
}

.logo img {
    height: 70px; /* Reduzido de 60px para 50px */
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    padding: 5px 0;
    transition: color 0.3s, border-bottom 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: url('images/banner-1.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    color: white;
    max-width: 800px;
}

.hero-content p {
    font-size: 1.5em;
    margin: 20px 0 30px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--whatsapp-green);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    gap: 12px;
}

.btn-whatsapp i {
    font-size: 1.3em;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Atuação Section */
.atuacao-section {
    background-color: white;
    padding-top: 20px;
}

.atuacao-section h2 {
    color: rgb(0, 0, 0);
}

.atuacao-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.area-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    min-height: 250px;
    background-size: cover !important;
    background-position: center !important;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.3s;
}

.area-card:hover {
    transform: translateY(-5px);
}

.area-card h3 {
    text-align: left;
    margin-bottom: 10px;
    font-size: 1.8em;
    color: white;
}

.area-card p {
    font-size: 0.9em;
    color: white;
}

/* Escritório Section */
.escritorio-section {
    background-color: #333;
    display: flex;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
    width: 100%;
}

.escritorio-content {
    flex: 1;
    margin-left: 40px;
    margin-right: 40px;
    padding: 0 20px;
    color: white;
    text-align: justify;
}

.escritorio-content h2 {
    text-align: left;
    padding-top: 0;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
    color: white;
}

.escritorio-image {
    flex: 1;
    min-width: 45%;
    max-width: 500px;
}

.escritorio-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.missao {
    margin-top: 30px;
    padding: 20px;
    border-left: 5px solid var(--primary-color);
    background-color: white;
    border-radius: 0 8px 8px 0;
}

.missao h3 {
    text-align: left;
    color: var(--primary-color);
}

.missao blockquote {
    font-style: italic;
    margin-top: 10px;
    color: var(--secondary-color);
}

/* Nova seção de testemunhos modificada */
.testemunhos-section-modificado {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 20px;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.testemunhos-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.testemunhos-content h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5em;
    color: rgb(8, 8, 8);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.depoimentos-flutuantes {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.depoimento-flutuante {
    flex: 1;
    min-width: 300px;
    padding: 25px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.95);
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(5px);
}

.depoimento-flutuante:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.foto-cliente {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
}

.foto-cliente img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.estrelas {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.1em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.depoimento-flutuante h3 {
    color: #ea1212;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.depoimento-flutuante p {
    color: rgb(8, 8, 8);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Equipe Section */
.equipe-section {
    background-color: var(--dark-bg);
    color: white;
}

.equipe-section h2 {
    color: white;
}

.equipe-section .subtitle {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.advogado-card {
    background-color: white;
    color: var(--text-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.advogado-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 5px solid var(--primary-color);
}

.advogado-card h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.advogado-card .oab {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.advogado-card p {
    font-size: 0.9em;
    text-align: justify;
}

/* Contato Section - ESTILO PADRÃO PARA INDEX E CRIMINAL */
.contato-section {
    background-color: #555;
    padding: 40px 0 0 0;
}

.contato-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contato-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
}

.contato-info {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.info-coluna {
    flex: 1;
    text-align: left;
}

.info-coluna h3 {
    color: white;
    text-align: left;
    margin-bottom: 20px;
    font-size: 1.3em;
    border-bottom: 2px solid #ea1212;
    padding-bottom: 5px;
    display: inline-block;
}

.info-coluna p {
    margin-bottom: 10px;
    color: white;
    font-size: 1em;
}

.info-coluna i {
    color: white;
    margin-right: 10px;
    width: 20px;
}

.mapa {
    width: 100%;
    margin: 0;
    padding: 0;
}

.mapa iframe {
    width: 100%;
    border-radius: 0;
    height: 400px;
}

/* Footer */
footer {
    background-color: #ea1212;
    color: white;
    padding: 10px 0 .05px 0;
    text-align: center;
    font-size: 0.9em;
    font-weight: 700;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--whatsapp-green);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

/* ESTILOS ESPECÍFICOS PARA A PÁGINA CRIMINAL */
.criminal-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/criminal_background.jpg') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.criminal-hero h1 {
    font-size: 4em;
}

.criminal-content {
    background-color: white;
    padding: 60px 0;
}

.criminal-content .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

.criminal-content h2 {
    text-align: left;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
    margin-top: 30px;
    color: var(--secondary-color);
}

.criminal-content h3 {
    text-align: left;
    margin-top: 25px;
    color: var(--secondary-color);
}

.criminal-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.criminal-content .plantao-section {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
    text-align: center;
}

.criminal-content .plantao-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.criminal-content .plantao-section a {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.criminal-content .plantao-section a:hover {
    background-color: var(--secondary-color);
}

/* RESPONSIVIDADE GERAL */
@media (max-width: 992px) {
    .main-nav {
        flex-direction: column;
        padding: 10px 20px;
    }
    .nav-links {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-links li {
        margin: 5px 10px;
    }
    .atuacao-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .escritorio-section {
        flex-direction: column;
        text-align: center;
    }
    .escritorio-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    .escritorio-content h2 {
        text-align: center;
    }
    .missao h3 {
        text-align: center;
    }
    .equipe-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contato-info {
        flex-direction: column;
        text-align: center;
    }
    .info-coluna h3 {
        text-align: center;
    }
    .depoimentos-flutuantes {
        flex-direction: column;
        align-items: center;
    }
    .depoimento-flutuante {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }
    h2 {
        font-size: 2em;
    }
    .atuacao-grid, .equipe-grid {
        grid-template-columns: 1fr;
    }
    .contact-info {
        flex-direction: column;
        text-align: center;
    }
    .contact-info span {
        margin-bottom: 5px;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
    .testemunhos-section-modificado {
        padding: 60px 15px;
    }
    .testemunhos-section h2 {
        font-size: 2em;
    }
    .contato-info {
        flex-direction: column;
        gap: 30px;
    }
    .info-coluna {
        text-align: center;
    }
    .mapa iframe {
        height: 300px;
    }
    .criminal-content .container {
        padding: 0 15px;
    }
    .criminal-content h2 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .contato-section h2 {
        font-size: 2em;
    }
    .mapa iframe {
        height: 250px;
    }
    .endereco {
        flex-direction: column;
        gap: 10px;
    }
    .localizacao, .telefone {
        text-align: center;
    }
}