/* ==========================================================================
   Rigueira Advogados Associados - Estilos Customizados & Design Tokens
   ========================================================================== */

:root {
    /* Identidade da Marca - Azul Marinho Nobre, Dourado Bronze & Neutros Premium */
    --navy-primary: #0F172A;
    --navy-secondary: #1E293B;
    --navy-accent: #334155;
    
    --gold-primary: #D4AF37;
    --gold-hover: #B89628;
    --gold-light: #FBF7E4;
    --gold-gradient: linear-gradient(135deg, #DFBE5B 0%, #C5A059 50%, #9A7B38 100%);
    
    --slate-bg: #F8FAFC;
    --card-bg: #FFFFFF;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    --shadow-subtle: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    --shadow-elevated: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
    --shadow-gold: 0 10px 25px -5px rgba(212, 175, 55, 0.3);
}

/* Base Smooth Scrolling & Accessibility */
html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--slate-bg);
}

body {
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0F172A;
}
::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 4px;
}

/* Custom Typography Utilities */
.font-serif {
    font-family: var(--font-serif);
}
.font-sans {
    font-family: var(--font-sans);
}

/* Custom Gold Gradient Text */
.text-gold-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom Button Styling */
.btn-gold-primary {
    background: var(--gold-gradient);
    color: #0F172A;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-gold);
}

.btn-gold-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(212, 175, 55, 0.45);
}

.btn-navy-outline {
    border: 2px solid #D4AF37;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.btn-navy-outline:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: #FBF7E4;
}

/* Glassmorphism Cards */
.glass-card-dark {
    background: rgba(30, 41, 59, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Micro Animations */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    50% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
}

.pulse-whatsapp {
    animation: pulseGlow 2.5s infinite;
}

/* Accordion Custom Styling */
.faq-accordion-item[open] summary .faq-icon {
    transform: rotate(180deg);
}

/* Focus styles for keyboard accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 4px;
}
