/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #2563eb;
}

.header-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-whatsapp:hover {
    background: #128c7e;
}

.btn-contact {
    background: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-contact:hover {
    background: #1d4ed8;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    background: #10b981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: #2563eb;
}

.hero p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature i {
    color: #10b981;
    font-size: 1.2rem;
}

.hero-image {
    position: relative;
}

.advogado-foto {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.credentials {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.credential {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.credential i {
    color: #2563eb;
}

/* Seções */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #1e293b;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Áreas de Atuação - ESPAÇAMENTO AJUSTADO */
.areas-atuacao {
    padding: 50px 0; /* Reduzido de 80px para 50px para diminuir o espaçamento */
    background: #f8fafc;
}

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

.area-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.area-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.area-icon i {
    color: white;
    font-size: 1.5rem;
}

.area-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.area-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.area-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.area-card li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.area-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
}

.btn-consultar {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: transform 0.3s;
}

.btn-consultar:hover {
    transform: translateY(-2px);
}

/* Por que Escolher */
.por-que-escolher {
    background: white;
}

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

.escolher-item {
    text-align: center;
    padding: 2rem;
}

.escolher-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.escolher-icon i {
    color: white;
    font-size: 2rem;
}

.escolher-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.escolher-item p {
    color: #64748b;
}

/* Sobre o Advogado */
.sobre-advogado {
    background: #f8fafc;
}

.sobre-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.sobre-text h3 {
    font-size: 1.3rem;
    color: #2563eb;
    margin-bottom: 2rem;
}

.sobre-text p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.sobre-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.sobre-stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sobre-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}

.sobre-stat-label {
    color: #64748b;
    font-size: 0.9rem;
}

.sobre-text h4 {
    font-size: 1.3rem;
    color: #1e293b;
    margin: 2rem 0 1rem;
}

.formacao-list {
    list-style: none;
}

.formacao-list li {
    padding: 0.5rem 0;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.formacao-list i {
    color: #2563eb;
}

.sobre-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Depoimentos - ESPAÇAMENTO AJUSTADO */
.depoimentos {
    background: white;
    padding: 50px 0; /* Reduzido para diminuir o espaçamento */
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 50px; /* AJUSTE PRINCIPAL: Reduzido significativamente o espaçamento inferior */
}

.depoimento {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #2563eb;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars i {
    color: #fbbf24;
}

.depoimento p {
    font-style: italic;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cliente strong {
    color: #1e293b;
    font-weight: 600;
}

.cliente span {
    color: #64748b;
    font-size: 0.9rem;
}

/* CTA - ESPAÇAMENTO AJUSTADO */
.cta {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    text-align: center;
    padding: 50px 0; /* Reduzido para diminuir o espaçamento */
    margin-top: 50px; /* AJUSTE PRINCIPAL: Reduzido significativamente o espaçamento superior */
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.cta-subtitle {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.btn-cta {
    background: #10b981;
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s, background 0.3s;
}

.btn-cta:hover {
    transform: translateY(-3px);
    background: #059669;
}

/* Contato */
.contato {
    background: #f8fafc;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.contato-info h4 {
    color: #1e293b;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.contato-info h4:first-child {
    margin-top: 0;
}

.contato-info p {
    color: #64748b;
    line-height: 1.6;
}

.contato-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contato-form h3 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contato-form p {
    color: #64748b;
    margin-bottom: 2rem;
}

.btn-agendar {
    background: #25d366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s;
}

.btn-agendar:hover {
    background: #128c7e;
}

.mapa {
    text-align: center;
    margin-top: 3rem;
}

.mapa h3 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mapa p {
    color: #64748b;
    margin-bottom: 2rem;
}

.mapa-container {
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 15px;
    overflow: hidden;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #94a3b8;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #94a3b8;
}

.footer-contact i {
    color: #2563eb;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Responsividade */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .header-buttons {
        gap: 0.5rem;
    }
    
    .btn-whatsapp, .btn-contact {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .credentials {
        position: static;
        margin-top: 1rem;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .escolher-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sobre-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .depoimentos-grid {
        grid-template-columns: 1fr;
    }
    
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .escolher-grid {
        grid-template-columns: 1fr;
    }
    
    .sobre-stats {
        grid-template-columns: 1fr;
    }
    
    .stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .areas-atuacao {
        padding: 40px 0; /* Ainda menor em mobile */
    }
    
    .depoimentos {
        padding: 40px 0; /* Ainda menor em mobile */
    }
    
    .depoimentos-grid {
        margin-bottom: 30px; /* Menor em mobile */
    }
    
    .cta {
        padding: 40px 0; /* Ainda menor em mobile */
        margin-top: 30px; /* Menor em mobile */
    }
}

