:root {
    --azul-escuro: #1b2857;
    --azul-botao: #3158c3;
    --cinza-borda: #e2e8f0;
    --texto-principal: #333;
    --texto-claro: #666;
    --branco: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
}

body {
    background-color: var(--branco);
    color: var(--texto-principal);
    overflow-x: hidden;
}

/* HEADER */
header {
    background-color: var(--azul-escuro);
    color: var(--branco);
    padding: 30px 15px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-nn {
    position: relative;
    font-size: 42px;
    font-weight: lighter;
    display: inline-block;
    padding: 0 5px;
    margin-bottom: 10px;
    letter-spacing: -3px;
    line-height: 0.8;
}

.logo-nn::before,
.logo-nn::after {
    content: '';
    position: absolute;
    top: -4px;
    bottom: -4px;
    width: 8px;
    border: 2.5px solid var(--branco);
}

.logo-nn::before {
    left: 0;
    border-right: none;
}

.logo-nn::after {
    right: 0;
    border-left: none;
}

.header-name {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: normal;
    opacity: 0.9;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
    flex-wrap: wrap;
}

nav a {
    color: var(--branco);
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    opacity: 0.7;
}

/* HERO SECTION */
.hero {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-content h1 {
    font-family: 'Georgia', serif;
    font-size: clamp(34px, 5vw, 56px);
    font-weight: normal;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-content h2 {
    font-size: clamp(20px, 3.5vw, 28px);
    font-weight: 300;
    color: var(--texto-claro);
    margin-bottom: 15px;
}

.oab-tag {
    font-size: 13px;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 30px;
    display: block;
    text-transform: uppercase;
}

.divider-specialties {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 13px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background-color: #25D366; /* Verde principal oficial do WhatsApp */
    color: #ffffff;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600; /* Deixa o texto um pouco mais forte para leitura */
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); /* Sombra em tom de verde */
    transition: all 0.3s ease;
}

/* Aumenta levemente o tamanho apenas do ícone do WhatsApp */
.btn-whatsapp i {
    font-size: 22px; 
}

.btn-whatsapp:hover {
    background-color: #128C7E; /* Verde mais escuro do WhatsApp para o hover */
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(18, 140, 126, 0.5); /* Ajusta a sombra no hover */
}

/* GRID DE ATUAÇÃO */
.atuacao-container {
    max-width: 1200px;
    margin: 60px auto;
    display: flex;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    background: var(--branco);
}

.grid-wrap {
    flex: 1.3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    padding: 20px;
}

.grid-wrap::before {
    content: '';
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 50%;
    width: 1px;
    background-color: var(--cinza-borda);
}

.grid-wrap::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    top: 50%;
    height: 1px;
    background-color: var(--cinza-borda);
}

.area-box {
    padding: 40px 20px;
    text-align: center;
    z-index: 1;
}

.area-box i {
    font-size: 28px;
    color: var(--azul-escuro);
    margin-bottom: 15px;
}

.area-box h3 {
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-weight: 700;
}

.area-box p {
    font-size: 14px;
    color: var(--texto-claro);
    line-height: 1.5;
}

.side-img {
    flex: 0.8;
    min-width: 0; /* A mágica: permite que o flexbox encolha a imagem */
    max-width: 38%; /* Trava a largura na proporção exata (0.8 de 2.1 do flex total) */
    object-fit: cover; 
    object-position: center 25%;
    display: block;
}

/* SEÇÃO DE AVALIAÇÕES */
.reviews-section {
    padding: 80px 20px;
    background-color: #f8fafc;
}

.section-title {
    text-align: center;
    font-family: 'Georgia', serif;
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--azul-escuro);
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--texto-claro);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.swiper {
    width: 100%;
    max-width: 1100px;
    padding-bottom: 50px !important;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

.review-card {
    background: var(--branco);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #f0f0f0;
}

.stars {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 18px;
}

.review-card p {
    font-style: italic;
    color: var(--texto-claro);
    line-height: 1.6;
    margin-bottom: 25px;
}

.client-info strong {
    display: block;
    font-size: 16px;
    color: var(--azul-escuro);
}

.client-info span {
    font-size: 12px;
    color: #999;
}

.swiper-pagination-bullet-active {
    background: var(--azul-escuro) !important;
}

/* SEÇÃO DE CONTATO */
.contact-grid {
    max-width: 1200px;
    margin: 80px auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    padding: 0 20px;
}

.map-box {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-info h2 {
    font-family: 'Georgia', serif;
    font-size: 34px;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    color: var(--azul-escuro);
    font-size: 18px;
    margin-top: 5px;
}

.info-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 3px;
}

.info-item p,
.info-item a {
    color: var(--texto-claro);
    text-decoration: none;
    font-size: 15px;
}

/* FOOTER */
footer {
    background-color: var(--azul-escuro);
    color: var(--branco);
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo-box .logo-nn {
    font-size: 32px;
}

.footer-areas h4 {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #aaa;
}

.footer-areas ul {
    list-style: none;
}

.footer-areas li {
    font-size: 14px;
    margin-bottom: 6px;
    opacity: 0.8;
}

.copyright {
    width: 100%;
    text-align: center;
    margin-top: 40px;
    font-size: 11px;
    opacity: 0.5;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* ==========================================
   SEÇÃO DE FAQ - ACORDEÃO MODERNO
========================================== */
.faq-section {
    padding: 80px 20px;
    background-color: #f8fafc;
}

.faq-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.faq-item {
    background: var(--branco);
    border: 1px solid var(--cinza-borda);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.faq-item[open] {
    border-color: var(--azul-botao);
    box-shadow: 0 8px 24px rgba(49, 88, 195, 0.08);
}

.faq-item summary {
    padding: 22px 25px;
    font-size: 17px;
    font-weight: 600;
    color: var(--azul-escuro);
    cursor: pointer;
    list-style: none;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background-color 0.2s ease;
}

.faq-item summary:hover {
    background-color: #fafbfc;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f067'; /* Ícone de mais (Font Awesome) */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
    color: var(--azul-botao);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item[open] summary::after {
    content: '\f068'; /* Ícone de menos (Font Awesome) */
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px 25px 25px;
    border-top: 1px solid #f1f5f9;
    background-color: #fafbfc;
}

.faq-answer p {
    color: var(--texto-claro);
    font-size: 15px;
    line-height: 1.7;
    margin-top: 15px;
}

/* RESPONSIVIDADE */
@media (max-width: 900px) {
    header {
        padding: 20px 10px;
    }

    .atuacao-container {
        flex-direction: column;
        margin: 40px 15px;
    }

    .side-img {
        order: -1;
        max-width: 100%; /* Libera a largura total no celular */
        width: 100%;
        height: 300px; /* Mantém a altura fixa no mobile */
        min-height: 300px;
    }

    .grid-wrap {
        grid-template-columns: 1fr;
    }

    .grid-wrap::before,
    .grid-wrap::after {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-box {
        order: 1;
        height: 300px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}