/* Estilos Globais */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #777;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Lora', serif;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 5px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0.5rem auto 0;
}

/* Botões */
.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-contato {
    background-color: var(--accent-color);
    color: white;
    padding: 8px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-contato:hover {
    background-color: #c0392b;
    color: white;
}

/* Cabeçalho */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 15px;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

.tagline {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.nav ul {
    display: flex;
}

.nav ul li {
    margin-left: 2rem;
}

.nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav ul li a:hover {
    color: var(--secondary-color);
}

/* Banner */
.banner {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('https://source.unsplash.com/random/1600x900/?lawyer,justice') no-repeat center center/cover;
    height: 30vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.banner-content p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Sobre */
.sobre {
    padding: 4rem 0;
    margin-top: 100px;
    background-color: var(--light-color);
}

.sobre-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.sobre-texto {
    flex: 1;
}

.sobre-texto .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.sobre-texto .section-title::after {
    margin: 0.5rem 0 0;
}

.sobre-texto .btn-primary {
    margin-top: 1.5rem;
    display: inline-block;
}

.sobre-imagem {
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow);
    border: 5px solid white;
}

/* Áreas de Atuação */
.areas {
    padding: 6rem 0;
}

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

.area-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.area-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.area-card h3 {
    margin-bottom: 1rem;
}

/* Depoimentos */
.depoimentos {
    padding: 6rem 0;
    background-color: var(--light-color);
}

.depoimentos-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.depoimento {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 350px;
    position: relative;
}

.depoimento::before {
    content: '"';
    font-size: 5rem;
    color: rgba(52, 152, 219, 0.1);
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: serif;
}

.depoimento-texto {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.depoimento-autor {
    font-weight: 600;
    color: var(--primary-color);
}

/* Contato */
.contato {
    padding: 6rem 0;
}

.contato-content {
    display: flex;
    gap: 4rem;
}

.contato-info, .contato-form {
    flex: 1;
}

.contato-info h3 {
    margin-bottom: 1.5rem;
}

.contato-info ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contato-info ul li i {
    margin-right: 1rem;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Rodapé */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul {
    display: flex;
    gap: 2rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

/* Responsividade */
@media (max-width: 992px) {
    .sobre-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contato-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .banner-content h2 {
        font-size: 2rem;
    }
    
    .banner {
        height: 25vh;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        padding: 1rem 15px;
    }
    
    .nav {
        margin-top: 1rem;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav ul li {
        margin: 0.5rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-links ul {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .sobre {
        margin-top: 150px;
        padding: 4rem 0;
    }
}

@media (max-width: 576px) {
    .banner-content h2 {
        font-size: 1.8rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .depoimentos-slider {
        flex-direction: column;
        align-items: center;
    }
    
    .depoimento {
        max-width: 100%;
    }
    
    .imagem-placeholder {
        width: 200px;
        height: 200px;
        font-size: 3rem;
    }
    
    .sobre {
        margin-top: 180px;
    }
}
