/* Definições Gerais e Cores */
:root {
    --primary-color: #0b1d33; /* Azul-marinho clássico advocacia */
    --secondary-color: #c5a059; /* Dourado/Bege elegante */
    --text-dark: #2d3748;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --whatsapp-green: #25d366;
    --font-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

.max-700 { max-width: 700px; }
.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }

/* Seções */
.section {
    padding: 90px 0;
}
.section-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 12px;
    font-weight: 700;
}
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 1.15rem;
}

/* Botões Modernos */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: var(--white);
    border: none;
    font-size: 1.05rem;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-outline {
    border: 2px solid var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 22px;
    font-size: 0.9rem;
    border-radius: 4px;
}
.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Header */
.navbar {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    max-height: 55px;
}
.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

/* ESTRUTURA REORGANIZADA DA SESSÃO PRINCIPAL (HERO EM DUAS COLUNAS) */
.hero {
    background: linear-gradient(135deg, #071424 0%, #0f2b4c 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    display: flex;
    align-items: center;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Divide o topo: Foto na esquerda, textos na direita */
    gap: 50px;
    align-items: center;
}
.hero-image-container {
    text-align: center;
    position: relative;
}
.hero-image {
    max-width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    /* Adiciona uma iluminação suave dourada por trás da foto do advogado */
    filter: drop-shadow(0px 10px 30px rgba(197, 160, 89, 0.15)); 
}
.hero-text-side {
    text-align: left;
}
.hero-text-side h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -1px;
}
.hero-text-side .subtitle {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-weight: 500;
}
.hero-text-side p {
    font-size: 1.05rem;
    margin-bottom: 18px;
    opacity: 0.9;
}
.tag {
    background-color: rgba(197, 160, 89, 0.15);
    color: var(--secondary-color);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 15px;
}

/* Cards com Efeito de Flutuar */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
.card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    text-align: center;
    border-top: 4px solid var(--secondary-color);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11, 29, 51, 0.08);
}
.card-icon {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 18px;
}

/* Duas Colunas (Entenda o Assunto e Docs) */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.align-center {
    align-items: center;
}
.two-col h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.two-col p {
    margin-bottom: 15px;
}
.custom-list {
    list-style: none;
    margin-top: 20px;
}
.custom-list li {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}
.custom-list i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Caixa de Destaque Premium */
.box-highlight {
    background-color: #f1f5f9;
    padding: 45px;
    border-radius: 12px;
    border-left: 6px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.box-highlight h3 {
    color: var(--primary-color);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
}
.small-text {
    font-size: 0.9rem;
    margin-top: 20px;
    color: var(--text-light);
    font-style: italic;
}

/* FAQ */
.faq-item {
    background: var(--white);
    padding: 28px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}
.faq-item:hover {
    border-left-color: var(--secondary-color);
    background-color: #fdfbf7;
    transform: translateX(4px);
}
.faq-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Sobre o Advogado */
.about-image-container {
    text-align: center;
}
.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* CTA Final */
.cta-final {
    background: linear-gradient(rgba(7, 20, 36, 0.95), rgba(7, 20, 36, 0.95)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    color: var(--white);
    padding: 100px 0;
}
.cta-final h2 {
    font-size: 2.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}
.cta-final p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

/* Footer / Aviso Importante */
.footer {
    background-color: #040a12;
    color: #94a3b8;
    padding: 70px 0 35px 0;
    font-size: 0.88rem;
}
.footer h5 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer p {
    line-height: 1.8;
}
.footer hr {
    border: 0;
    border-top: 1px solid #1e293b;
    margin: 40px 0;
}
.copyright {
    text-align: center;
}

/* Botão Flutuante do WhatsApp */
.whatsapp-floating {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-green);
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.whatsapp-floating:hover {
    background-color: #20ba5a;
    transform: scale(1.1) rotate(10deg);
}

/* Animação Pulsante Sutil */
@keyframes pulseEffect {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}
.animate-pulse {
    animation: pulseEffect 3s infinite ease-in-out;
}
.animate-pulse:hover {
    animation: none;
}

/* CLASSES DE TRANSIÇÃO DO SCROLL */
.hidden-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.show {
    opacity: 1;
    transform: translateY(0);
}

/* 📱 RESPONSIVIDADE COMPLETA */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr; /* No tablet/celular, a foto fica em cima do texto */
        gap: 35px;
    }
    .hero-text-side {
        text-align: center; /* Centraliza o texto principal no mobile para melhor leitura */
    }
    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image-container {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero { padding: 60px 0; }
    .hero-text-side h1 { font-size: 2rem; }
    .hero-text-side .subtitle { font-size: 1.15rem; }
    .section { padding: 60px 0; }
    .section-title { font-size: 1.8rem; }
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .whatsapp-floating {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
}