/* 
   Jabur Advocacia - Design System
   Paleta de Cores Premium:
   - Azul Escuro Real: #0b111e (Fundo principal)
   - Lighter Navy: #151e2e (Cards e seções secundárias)
   - Ouro / Latão Clássico: #c5a880 (Acentos, botões, detalhes)
   - Ouro Brilhante: #dfc49f (Hover)
   - Branco Suave: #f1f5f9 (Texto principal)
   - Cinza Azulado: #94a3b8 (Texto secundário)
*/

:root {
    --bg-dark: #0b111e;
    --bg-card: #151e2e;
    --bg-card-hover: #1e293b;
    --color-gold: #c5a880;
    --color-gold-hover: #dfc49f;
    --text-light: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    --border-color: rgba(197, 168, 128, 0.2);
    --border-color-hover: rgba(197, 168, 128, 0.5);
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset Geral */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Tipografia */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: 0.5px;
}

p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-muted);
}

strong {
    color: var(--text-light);
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--bg-dark);
    border: 1px solid var(--color-gold);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(197, 168, 128, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-gold);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--color-gold);
    background-color: rgba(197, 168, 128, 0.05);
    color: var(--color-gold-hover);
    transform: translateY(-2px);
}

.btn-gold {
    background-color: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
}

.btn-gold:hover {
    background-color: var(--color-gold);
    color: var(--bg-dark);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Elementos Visuais Compartilhados */
.section-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-gold);
    margin: 18px 0 24px 0;
}

.section-divider-left {
    width: 60px;
    height: 2px;
    background-color: var(--color-gold);
    margin: 18px 0 24px 0;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

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

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
}

/* Header & Nav */
.header {
    background-color: rgba(11, 17, 30, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 168, 128, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    transition: var(--transition-smooth);
}

.header.scrolled {
    background-color: rgba(7, 11, 20, 0.95);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-light);
}

.logo-letters {
    color: var(--color-gold);
    margin-right: 4px;
}

.logo-divider {
    color: var(--border-color);
    margin: 0 8px;
    font-weight: 300;
}

.logo-text {
    font-weight: 400;
    font-size: 1.15rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    padding: 6px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-gold);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-light);
    position: relative;
    transition: var(--transition-smooth);
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-light);
    left: 0;
    transition: var(--transition-smooth);
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    position: relative;
    background-image: radial-gradient(circle at 80% 20%, rgba(197, 168, 128, 0.08) 0%, transparent 60%);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, transparent 60%, var(--bg-dark) 100%);
    pointer-events: none;
}

.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    width: 100%;
    margin-bottom: 40px;
}

.hero-content {
    max-width: 100%;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lawyer-photo-container {
    position: relative;
    width: 320px;
    height: 380px;
}

.lawyer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--color-gold);
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background-color: var(--bg-card);
}

.photo-decor {
    position: absolute;
    inset: 15px -15px -15px 15px;
    border: 1px solid var(--color-gold);
    border-radius: 4px;
    z-index: 1;
    opacity: 0.3;
}

.hero-badge {
    background-color: rgba(197, 168, 128, 0.1);
    color: var(--color-gold);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 36px;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 60px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--color-gold);
    font-weight: 600;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Quem Somos / Sobre */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 40px;
    width: 80%;
    z-index: 2;
    transition: var(--transition-smooth);
}

.visual-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

.card-pillar-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 20px;
}

.visual-card h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.visual-decor {
    position: absolute;
    width: 80%;
    height: 100%;
    border: 1px solid var(--color-gold);
    top: 20px;
    left: 20px;
    border-radius: 4px;
    z-index: 1;
    opacity: 0.3;
}

.about-content h2 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
}

.value-bullet {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.bullet-check {
    color: var(--color-gold);
    font-weight: bold;
}

/* Áreas de Atuação */
.practice-section {
    padding: 100px 0;
    background-color: var(--bg-card);
    position: relative;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 60px;
}

.practice-card {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.practice-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
    background-color: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.icon-container {
    background-color: rgba(197, 168, 128, 0.08);
    color: var(--color-gold);
    width: 50px;
    height: 50px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(197, 168, 128, 0.15);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.practice-card:hover .icon-container {
    background-color: var(--color-gold);
    color: var(--bg-dark);
}

.card-icon-svg {
    width: 26px;
    height: 26px;
}

.practice-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-light);
}

.practice-card p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Banner de Parcerias */
.partners-banner {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.partners-content {
    max-width: 750px;
}

.partners-content h4 {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 8px;
}

.partners-content p {
    font-size: 0.95rem;
    margin: 0;
}

.partners-action {
    flex-shrink: 0;
}

/* Contato */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.details-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.details-icon {
    font-size: 1.5rem;
    color: var(--color-gold);
    background-color: rgba(197, 168, 128, 0.08);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.details-text {
    display: flex;
    flex-direction: column;
}

.details-text strong {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold);
    margin-bottom: 4px;
}

.details-text a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.details-text a:hover {
    color: var(--color-gold-hover);
}

.details-text span {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Formulário de Contato */
.contact-form-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 40px;
}

.contact-form-container h3 {
    font-size: 1.75rem;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold);
    font-weight: 500;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
    outline: none;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.1);
}

.form-feedback {
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.form-feedback.success {
    display: block;
    background-color: rgba(37, 211, 102, 0.1);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.form-feedback.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Footer */
.footer {
    background-color: #070b14;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo-text {
    font-size: 1.25rem;
    color: var(--text-light);
}

.footer-brand p {
    margin-top: 16px;
    max-width: 320px;
}

.footer-links, .footer-legal-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4, .footer-legal-links h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gold);
    margin-bottom: 8px;
}

.footer-links a, .footer-legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    width: fit-content;
}

.footer-links a:hover, .footer-legal-links a:hover {
    color: var(--color-gold);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(197, 168, 128, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.75rem;
    margin: 0;
}

/* Animações e Efeitos */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.animate-pulse-btn {
    animation: pulse 3s infinite ease-in-out;
}

/* Responsividade (Mobile-First / Media Queries) */

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    .about-container, 
    .contact-container {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    /* Menu Mobile */
    .nav-toggle {
        display: block;
        z-index: 101;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: #070b14;
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: var(--transition-smooth);
        z-index: 100;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .nav.open {
        right: 0;
    }
    
    .header-cta {
        width: 80%;
    }
    
    .hamburger.open {
        background-color: transparent;
    }
    
    .hamburger.open::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .hamburger.open::after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    /* Layouts e Grids */
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-visual {
        order: 2;
    }
    
    .visual-card {
        width: 100%;
    }
    
    .visual-decor {
        display: none;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .partners-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .hero {
        padding-top: 140px;
        text-align: center;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 30px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .lawyer-photo-container {
        width: 240px;
        height: 280px;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .practice-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-form-container {
        padding: 24px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }
}

/* ==========================================================================
   Estilos de Artigos (Blog & Homepage)
   ========================================================================== */
.post-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.post-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.post-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-dark);
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--color-gold);
    color: var(--bg-dark);
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
}

.post-card h3 {
    font-size: 1.45rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font-serif);
}

.post-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-link {
    color: var(--color-gold);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.post-card-link:hover {
    color: var(--color-gold-hover);
}
