/* ============================================================
   1. RESET & BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cinza-claro: #f5f5f5;
    --cinza-medio: #6c757d;
    --preto: #212529;
    --dourado: #d4af37;
    --branco: #ffffff;
    --sombra: rgba(0, 0, 0, 0.1);
    --azul-escuro: #111184;
    --whatsapp: #25d366;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--preto);
    overflow-x: hidden;
}

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

/* ============================================================
   2. TIPOGRAFIA
   ============================================================ */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

/* ============================================================
   3. DISCLAIMER (barra fixa no topo)
   ============================================================ */
.disclaimer {
    background: #dc3545;
    color: #fff;
    text-align: center;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 500;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.disclaimer a {
    color: #fff;
    text-decoration: none;
    display: block;
}

.disclaimer a:hover {
    text-decoration: underline;
    opacity: 0.9;
}

/* ============================================================
   4. HEADER
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px var(--sombra);
    margin-top: 40px; /* compensa o disclaimer */
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--preto);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: var(--dourado);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dourado);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* ============================================================
   5. BOTÕES (padronizados)
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

/* Botão primário (dourado) */
.btn-primary {
    background: var(--dourado);
    color: var(--preto);
    border-color: var(--dourado);
}
.btn-primary:hover {
    background: transparent;
    color: var(--dourado);
    transform: translateY(-2px);
}

/* Botão secundário (borda branca) */
.btn-secondary {
    background: transparent;
    color: var(--branco);
    border-color: var(--branco);
}
.btn-secondary:hover {
    background: var(--branco);
    color: var(--preto);
    transform: translateY(-2px);
}

/* Botão WhatsApp */
.btn-whatsapp {
    background: var(--whatsapp);
    color: #fff;
    border-color: var(--whatsapp);
}
.btn-whatsapp:hover {
    background: transparent;
    color: var(--whatsapp);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Botão Agendar (azul escuro) */
.btn-agendar {
    background: var(--azul-escuro);
    color: #fff;
    border-color: var(--azul-escuro);
}
.btn-agendar:hover {
    background: transparent;
    color: var(--azul-escuro);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 17, 132, 0.3);
}

/* Botão enviar (usado no formulário) */
.btn-enviar {
    background: var(--dourado);
    color: var(--preto);
    border-color: var(--dourado);
    width: 100%;
    padding: 14px 30px;
}
.btn-enviar:hover {
    background: transparent;
    color: var(--dourado);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* ============================================================
   6. HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--branco);
    overflow: hidden;
    margin-top: 40px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('./imagens/fundos/julgamento.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   7. SOBRE (PREMIUM)
   ============================================================ */
.sobre-premium {
    background: #f8f8f8;
    padding: 90px 0;
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding-left: 20px;
    padding-right: 20px;
}

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

.sobre-imagem img {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    object-fit: cover;
}

.sobre-tag {
    color: var(--dourado);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 13px;
    margin-bottom: 15px;
    display: block;
}

.sobre-conteudo h2 {
    font-size: 3.2rem;
    margin-bottom: 8px;
}

.sobre-conteudo h3 {
    color: var(--cinza-medio);
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 25px;
}

.linha-dourada {
    width: 80px;
    height: 4px;
    background: var(--dourado);
    margin-bottom: 35px;
}

.sobre-conteudo p {
    color: #555;
    font-size: 1.08rem;
    line-height: 1.9;
    margin-bottom: 22px;
}

.credenciais {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 40px 0;
}

.credencial {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}
.credencial:hover {
    transform: translateY(-8px);
}

.credencial i {
    font-size: 32px;
    color: var(--dourado);
    margin-bottom: 15px;
}

.credencial strong {
    display: block;
    color: var(--preto);
    margin-bottom: 6px;
}

.credencial span {
    color: var(--cinza-medio);
    font-size: 0.92rem;
}

.sobre-botoes {
    display: flex;
    gap: 18px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* ============================================================
   8. ÁREAS DE ATUAÇÃO
   ============================================================ */
.areas {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
                url('./imagens/fundos/balança.png');
    background-size: cover;
    background-position: center;
}

.areas h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

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

.area-card {
    background: var(--branco);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px var(--sombra);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    animation: fadeInUp 0.8s ease-out;
}
.area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.area-card i {
    font-size: 3rem;
    color: var(--dourado);
    margin-bottom: 20px;
}

.area-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.area-card p {
    color: var(--cinza-medio);
}

/* ============================================================
   9. DEPOIMENTOS
   ============================================================ */
.depoimentos {
    padding: 100px 0;
    background: var(--cinza-claro);
}

.depoimentos h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.depoimento-card {
    background: var(--branco);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--sombra);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.depoimento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.depoimento-card i {
    font-size: 2rem;
    color: var(--dourado);
    margin-bottom: 20px;
    opacity: 0.6;
}

.depoimento-card p {
    font-size: 1.1rem;
    color: var(--cinza-medio);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.depoimento-card cite {
    font-weight: 500;
    color: var(--preto);
    font-style: normal;
    display: block;
    font-size: 0.95rem;
}
.depoimento-card cite::before {
    content: "— ";
    color: var(--dourado);
}

.foto-cliente {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid var(--dourado);
    display: block;
}

/* ============================================================
   10. CONTATO
   ============================================================ */
.contact {
    padding: 80px 0;
    background: var(--cinza-claro);
}

.contact-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

.contact-sub {
    text-align: center;
    color: var(--cinza-medio);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 40px;
}

.contact-form-col,
.contact-map-col {
    display: flex;
    align-items: stretch;
}

.form-wrapper {
    width: 100%;
    padding: 30px 25px;
    background: var(--branco);
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--sombra);
}

.form-wrapper h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 5px;
}

.form-sub {
    text-align: center;
    color: var(--cinza-medio);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.form-contato {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--cinza-claro);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.form-group:focus-within {
    border-color: var(--dourado);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.form-group i {
    position: absolute;
    left: 16px;
    color: var(--dourado);
    font-size: 1.1rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.form-group:focus-within i {
    opacity: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: none;
    background: transparent;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: var(--preto);
    outline: none;
    border-radius: 12px;
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.map-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--sombra);
    background: #f0f0f0;
    min-height: 450px;
}
.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 450px;
}

.contact-actions {
    text-align: center;
    margin-top: 20px;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 25px 0 20px;
}

/* Social links (comum) */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.social-links a {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-links a:hover {
    background: #007bff;
    color: #fff;
    transform: scale(1.10);
}

/* Redes sociais na seção contato (fundo claro) */
.contact-social a {
    color: #333;
    background: #f0f0f0;
}
.contact-social a:hover {
    background: #007bff;
    color: #fff;
}

/* ============================================================
   11. FOOTER
   ============================================================ */
.footer {
    background: var(--preto);
    color: var(--branco);
    text-align: center;
    padding: 30px 0;
}

.footer p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-divider {
    width: 50px;
    height: 2px;
    background: var(--dourado);
    margin: 15px auto;
}

.developer {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-bottom: 0 !important;
}

.footer-links {
    margin: 10px 0;
}
.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--dourado);
}
.footer-separator {
    margin: 0 10px;
    opacity: 0.4;
}

.selo-oab {
    margin: 15px 0;
    font-size: 0.9rem;
    opacity: 0.9;
}
.selo-oab i {
    color: var(--dourado);
    margin-right: 8px;
}

/* ============================================================
   12. WHATSAPP FLUTUANTE
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: var(--whatsapp);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    background: #128c7e;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: var(--preto);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 10px solid var(--preto);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    right: 85px;
}

@keyframes pulse-whatsapp {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70%  { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================================
   13. POP-UP DE SAÍDA
   ============================================================ */
.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    animation: fadeIn 0.3s ease;
}

.exit-popup-content {
    background: #fff;
    padding: 40px 35px;
    border-radius: 16px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.4s ease;
}

.exit-popup-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 28px;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s;
}
.exit-popup-close:hover {
    color: #333;
}

.exit-popup-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: var(--preto);
    margin-bottom: 12px;
}
.exit-popup-content p {
    color: var(--cinza-medio);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.exit-popup-btn {
    display: inline-block;
    background: var(--dourado);
    color: var(--preto);
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--dourado);
}
.exit-popup-btn:hover {
    background: transparent;
    color: var(--dourado);
    transform: translateY(-2px);
}
.exit-popup-small {
    font-size: 0.8rem !important;
    color: #aaa !important;
    margin-top: 15px !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

/* ============================================================
   14. ANIMAÇÕES GERAIS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   15. RESPONSIVIDADE
   ============================================================ */
@media (max-width: 992px) {
    .sobre-premium {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .sobre-imagem {
        order: -1;
    }
    .credenciais {
        grid-template-columns: 1fr 1fr;
    }
    .linha-dourada {
        margin: 25px auto;
    }
    .sobre-botoes {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    .nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .subtitle {
        font-size: 1.1rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    .areas h2,
    .depoimentos h2,
    .contact-title {
        font-size: 2rem;
    }
    .areas-grid {
        grid-template-columns: 1fr;
    }
    .depoimentos {
        padding: 60px 0;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .map-wrapper {
        min-height: 300px;
    }
    .map-wrapper iframe {
        min-height: 300px;
    }
    .form-wrapper {
        padding: 20px 15px;
    }
    .sobre-premium {
        padding: 60px 20px;
    }
    .credenciais {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    .sobre-conteudo h2 {
        font-size: 2.3rem;
    }
    .sobre-imagem img {
        max-width: 320px;
    }
    .sobre-botoes {
        flex-direction: column;
        align-items: center;
    }
    .sobre-botoes .btn {
        width: 100%;
    }
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    .contact-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-tooltip {
        display: none;
    }
    .exit-popup-content {
        padding: 30px 20px;
    }
    .exit-popup-content h2 {
        font-size: 1.3rem;
    }
}