/* 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 */
    }
}


/* Formulário de Contato */
.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

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

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

.formulario-contato {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input[name="nome"]:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-group input[name="telefone"]:focus {
    border-color: #06b6d4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-group textarea:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.btn-enviar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-enviar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-enviar:active {
    transform: translateY(0);
}

/* Responsividade do formulário */
@media (max-width: 768px) {
    .contato-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contato-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
    }
}

/* Animação de sucesso */
.form-success {
    background: #10b981;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Estilos específicos para a página de contato */
.hero-contato {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.hero-contato h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-contato p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.contato-page {
    padding: 4rem 0;
    background: #f8fafc;
}

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

.contato-page .contato-info {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: fit-content;
}

.contato-page .contato-info h2 {
    color: #1e293b;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.info-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-item h3 {
    color: #2563eb;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.info-item a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.info-item a:hover {
    text-decoration: underline;
}

.contato-page .contato-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: fit-content;
}

.contato-page .contato-form h2 {
    color: #1e293b;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

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

.contato-page .mapa {
    text-align: center;
    margin-top: 2rem;
}

.contato-page .mapa h2 {
    color: #1e293b;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

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

/* Link ativo no menu */
.nav a.active {
    color: #2563eb;
    font-weight: 600;
}

/* Responsividade para página de contato */
@media (max-width: 768px) {
    .hero-contato {
        padding: 4rem 0 3rem;
    }
    
    .hero-contato h1 {
        font-size: 2rem;
    }
    
    .hero-contato p {
        font-size: 1rem;
    }
    
    .contato-page .contato-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contato-page .contato-info,
    .contato-page .contato-form {
        padding: 2rem;
    }
    
    .info-item h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contato-page .contato-info,
    .contato-page .contato-form {
        padding: 1.5rem;
    }
    
    .hero-contato {
        padding: 3rem 0 2rem;
    }
}


/* Estilos para a seção CTA */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-contato {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-contato:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-whatsapp-cta {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

/* Responsividade para botões CTA */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-contato,
    .btn-whatsapp-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

