/* =========================================
   Variáveis - Tema Advocacia
========================================= */
:root {
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;        /* Azul marinho profundo / Quase preto */
    --white: #ffffff;
    --brand-gold: #c5a059;     /* Dourado elegante */
    --brand-gold-hover: #b08d4a;
    --text-main: #334155;      
    --whatsapp-green: #25D366;
    --whatsapp-hover: #1EBE5D;
    
    --font-title: 'Merriweather', serif;
    --font-body: 'Inter', sans-serif;
}

html, body {
    font-size: 100%; 
    scroll-behavior: smooth;
    overflow-x: hidden; 
    width: 100%;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.7;
}

.container { 
    max-width: 75rem; 
    margin: 0 auto; 
    padding: 0 1.5rem; 
}

h1, h2, h3 { 
    font-family: var(--font-title); 
    color: var(--bg-dark); 
    line-height: 1.3; 
}

.text-accent { 
    color: var(--brand-gold); 
}

.text-center { 
    text-align: center; 
}

.w-100 { 
    width: 100%; 
}

/* =========================================
   WhatsApp Flutuante
========================================= */
.whatsapp-float {
    position: fixed; 
    width: 3.5rem; 
    height: 3.5rem; 
    bottom: 2rem; 
    right: 2rem;
    background-color: var(--whatsapp-green); 
    color: var(--white);
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    box-shadow: 0 0.5rem 1rem rgba(37, 211, 102, 0.4); 
    z-index: 1000; 
    transition: 0.3s;
}

.whatsapp-float svg { 
    width: 2rem; 
    height: 2rem; 
}

.whatsapp-float:hover { 
    transform: translateY(-0.25rem); 
}

/* =========================================
   Header 
========================================= */
.navbar {
    position: fixed; 
    top: 0; 
    width: 100%;
    background: var(--bg-dark);
    z-index: 999; 
    padding: 1rem 0;
}

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

.logo { 
    font-family: var(--font-title); 
    font-size: 1.5rem; 
    font-weight: 900; 
    text-decoration: none; 
    color: var(--white); 
}

.logo span { 
    color: var(--brand-gold); 
    font-weight: 400; 
    font-size: 1.2rem; 
}

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

.nav-menu a { 
    text-decoration: none; 
    color: #cbd5e1; 
    font-weight: 400; 
    font-size: 0.95rem; 
    transition: 0.3s; 
}

.nav-menu a:hover { 
    color: var(--brand-gold); 
}

/* Botões - Aspecto Sério (Quadrados/Levemente arredondados) */
.btn {
    padding: 0.875rem 1.75rem; 
    font-size: 1rem; 
    font-weight: 600; 
    text-decoration: none; 
    border-radius: 0.25rem; 
    transition: 0.3s ease; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    border: 0.125rem solid transparent; 
    cursor: pointer;
}

.btn-primary { 
    background: var(--brand-gold); 
    color: var(--white); 
}

.btn-primary:hover { 
    background: var(--brand-gold-hover); 
}

.btn-outline { 
    border-color: var(--brand-gold); 
    color: var(--brand-gold); 
    padding: 0.6rem 1.5rem; 
}

.btn-outline:hover { 
    background: var(--brand-gold); 
    color: var(--white); 
}

.btn-whatsapp { 
    background: var(--whatsapp-green); 
    color: var(--white); 
    border: none; 
    font-size: 1.1rem; 
    padding: 1rem; 
}

.btn-whatsapp:hover { 
    background: var(--whatsapp-hover); 
}

/* =========================================
   Hero Section 
========================================= */
.hero-adv { 
    padding-top: 8rem; 
    padding-bottom: 5rem; 
    background: var(--bg-light); 
}

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

.badge {
    display: inline-block; 
    padding: 0.3rem 0.8rem; 
    background: var(--bg-dark);
    color: var(--brand-gold); 
    border-radius: 0.25rem; 
    font-weight: 600;
    font-size: 0.85rem; 
    margin-bottom: 1.5rem; 
    letter-spacing: 1px;
}

.hero-texto h1 { 
    font-size: 3.25rem; 
    margin-bottom: 1.5rem; 
}

.hero-texto p { 
    font-size: 1.125rem; 
    margin-bottom: 2.5rem; 
    color: #475569; 
}

.hero-imagem img {
    width: 100%; 
    border-radius: 0.5rem; 
    box-shadow: 1rem 1rem 0 0 var(--brand-gold); 
}

/* =========================================
   Áreas de Atuação
========================================= */
.section-light { 
    padding: 6rem 0; 
    background-color: var(--white); 
}

.section-header { 
    margin-bottom: 4rem; 
}

.section-header h2 { 
    font-size: 2.5rem; 
}

.subtitle { 
    color: var(--text-main); 
    font-size: 1.125rem; 
    margin-top: 0.5rem;
}

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

.atuacao-card {
    background: var(--bg-light); 
    border-top: 0.25rem solid var(--brand-gold);
    padding: 2rem; 
    border-radius: 0.25rem; 
    transition: 0.3s;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.02);
}

.atuacao-card:hover { 
    transform: translateY(-0.25rem); 
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.08); 
}

.atuacao-card h3 { 
    font-size: 1.25rem; 
    margin-bottom: 1rem; 
    color: var(--bg-dark); 
}

.atuacao-card p { 
    font-size: 0.95rem; 
}

/* =========================================
   Contato e Formulário 
========================================= */
.section-dark { 
    background-color: var(--bg-dark); 
    padding: 6rem 0; 
    color: var(--white); 
}

.section-dark h2 { 
    color: var(--white); 
    font-size: 2.5rem; 
    margin-bottom: 1rem; 
}

.section-dark p { 
    color: #cbd5e1; 
    margin-bottom: 2rem; 
}

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

.contato-lista-page { 
    list-style: none; 
    margin-top: 2rem; 
}

.contato-lista-page li {
    font-size: 1rem; 
    margin-bottom: 1rem; 
    color: #cbd5e1;
    word-break: break-word; 
    overflow-wrap: anywhere;
}

.contato-lista-page strong { 
    color: var(--brand-gold); 
}

/* Caixa do Formulário */
.formulario-box { 
    background: var(--white); 
    padding: 2.5rem; 
    border-radius: 0.5rem; 
}

.input-group { 
    margin-bottom: 1.5rem; 
}

.input-group label {
    display: block; 
    font-weight: 600; 
    margin-bottom: 0.5rem;
    color: var(--bg-dark); 
    font-size: 0.95rem;
}

.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%; 
    padding: 0.875rem; 
    border: 1px solid #cbd5e1;
    border-radius: 0.25rem; 
    font-family: var(--font-body); 
    font-size: 1rem;
    color: var(--bg-dark); 
    background: var(--bg-light); 
    outline: none; 
    transition: 0.3s;
}

.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus {
    border-color: var(--brand-gold);
}

/* =========================================
   Footer Minimalista
========================================= */
.footer-adv { 
    background: #080c17; 
    color: var(--white); 
    padding: 3rem 0; 
    text-align: center; 
}

.logo-footer { 
    display: block; 
    font-family: var(--font-title); 
    font-size: 1.5rem; 
    font-weight: 900; 
    color: var(--white); 
    text-decoration: none; 
    margin-bottom: 1rem; 
}

.logo-footer span { 
    color: var(--brand-gold); 
    font-weight: 400; 
    font-size: 1.2rem; 
}

.footer-bottom p { 
    color: #94a3b8; 
    font-size: 0.9rem; 
    margin-bottom: 0.5rem; 
}

.desenvolvedor a { 
    color: var(--brand-gold); 
    text-decoration: none; 
    font-weight: 600; 
}

.desenvolvedor a:hover { 
    color: var(--white); 
}

/* =========================================
   Responsividade
========================================= */
@media (max-width: 992px) {
    .hero-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    
    .hero-imagem img { 
        box-shadow: none; 
        margin-top: 1rem; 
    }
    
    .contato-grid { 
        grid-template-columns: 1fr; 
    }
}

@media (max-width: 768px) {
    .nav-menu { 
        display: none; 
    }
    
    .navbar .btn-outline { 
        padding: 0.5rem 1rem; 
        font-size: 0.85rem; 
    }
    
    .hero-texto h1 { 
        font-size: 2.25rem; 
    }
    
    .section-dark { 
        padding: 4rem 0; 
    }
    
    .formulario-box { 
        padding: 1.5rem; 
    }
}