/* ==========================================================================
   Tongariro Consultoria - Refined Premium Design System
   Boutique financeira premium - Paleta sofisticada e elementos exclusivos
   ========================================================================== */

/* ===== REFINED COLOR PALETTE ===== */
:root {
    /* Premium Neutrals - Não usar preto/branco puros */
    --grafite-dark: #1C1C1E;          /* Grafite escuro (substitui #000) */
    --grafite-medium: #2C2C2E;        /* Grafite médio */
    --grafite-light: #3A3A3C;         /* Grafite claro */
    --warm-white: #FDFBF7;            /* Branco quente (substitui #FFF) */
    --warm-light: #F9F7F4;            /* Fundo claro quente */
    
    /* Gold Palette - Mantém identidade */
    --gold-primary: #D4A574;
    --gold-secondary: #E6B885;
    --gold-light: #F2D7A7;
    --gold-dark: #B8956A;
    
    /* Semantic Colors */
    --text-primary: #1C1C1E;
    --text-secondary: #48484A;
    --text-tertiary: #636366;
    --border-subtle: #E5E5EA;
    --shadow-premium: rgba(28, 28, 30, 0.08);
}

/* ===== GLOBAL REFINEMENTS ===== */
body {
    background-color: var(--warm-white);
    color: var(--text-primary);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
}

/* Section backgrounds refinadas */
.about {
    background: var(--warm-white) !important;
}

.services {
    background: var(--grafite-dark) !important;
}

.results {
    background: var(--warm-light) !important;
}

/* ===== REFINED BUTTON SYSTEM ===== */
.btn-primary {
    background: var(--gold-primary);
    color: var(--grafite-dark);
    box-shadow: 0 2px 12px rgba(212, 165, 116, 0.25);
    font-weight: 600;
    border: none;
    background-image: none; /* Remove gradiente genérico */
}

.btn-primary:hover {
    background: var(--gold-dark);
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.35);
    transform: translateY(-2px);
}

/* ===== REFINED SERVICE CARDS ===== */
.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-primary);
}

/* Ícones com linha fina */
.service-icon {
    background: transparent;
    border: 2px solid var(--gold-primary);
    width: 64px;
    height: 64px;
}

.service-icon i {
    font-weight: 300; /* Linha fina */
    font-size: 1.75rem;
    color: var(--gold-primary);
}

/* ===== REFINED RESULTS SECTION - Typography-First ===== */
.result-card {
    background: var(--warm-white);
    border: 1px solid var(--border-subtle);
    padding: 3rem 2rem;
    position: relative;
}

.result-card:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 8px 30px var(--shadow-premium);
}

/* Números tipográficos GRANDES */
.metric-value {
    font-size: 5rem !important; /* Destaque tipográfico grande */
    font-weight: 300 !important; /* Peso leve para elegância */
    line-height: 1 !important;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 50%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem !important;
    font-family: 'Playfair Display', serif;
}

/* Ajuste para palavras longas como "Expansão" - reduzir 30% */
.metric-value.metric-text {
    font-size: 3.5rem !important; /* 70% de 5rem */
}

.metric-label {
    color: var(--text-tertiary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    margin-bottom: 2rem;
}

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

.result-details h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.result-details p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Remove ícones dos result-cards para focar em números */
.result-card .service-icon {
    display: none;
}

/* ===== VISUAL CARDS (Valores) - NOVO TRATAMENTO ===== */
.visual-card {
    background: linear-gradient(135deg, var(--warm-white) 0%, var(--warm-light) 100%);
    border-left: 4px solid var(--gold-primary);
    padding: 2.5rem 2rem;
    border-radius: 0 16px 16px 0;
    box-shadow: 0 4px 20px var(--shadow-premium);
    transition: all 0.3s ease;
}

.visual-card:hover {
    border-left-width: 8px;
    transform: translateX(8px);
    box-shadow: 0 8px 32px var(--shadow-premium);
}

.visual-card i {
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
    font-weight: 300; /* Linha fina */
}

.visual-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.visual-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===== REFINED FOOTER ===== */
.footer {
    background: var(--grafite-dark) !important;
    border-top: 1px solid var(--grafite-medium);
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-bottom {
    background: var(--grafite-dark) !important; /* Mesma cor do rodapé */
    color: rgba(255, 255, 255, 0.9) !important;
    border-top: 1px solid var(--grafite-medium);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Logo com texto no rodapé */
.footer-logo-image {
    max-width: 200px !important;
    height: auto !important;
    object-fit: contain;
}

/* Títulos do footer claros */
.footer h3,
.footer h4 {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Links do footer claros */
.footer a {
    color: rgba(255, 255, 255, 0.85) !important;
}

.footer a:hover {
    color: var(--gold-primary) !important;
}

/* Descrição do footer clara */
.footer-description {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* ===== REFINED HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--grafite-dark) 0%, var(--grafite-medium) 100%);
}

.hero-title {
    color: var(--warm-white);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

/* ===== REFINED TEXT COLORS ===== */
.section-description {
    color: var(--text-secondary);
}

.service-title,
.about-description,
.highlight-item p {
    color: var(--text-primary);
}

.service-description {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== CLIENT LOGOS SECTION ===== */
.client-logos-section {
    background: var(--warm-light);
    border-top: 1px solid var(--border-subtle);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1024px) {
    .metric-value {
        font-size: 4rem !important;
    }
}

@media (max-width: 768px) {
    .metric-value {
        font-size: 3.5rem !important;
    }
    
    .visual-card {
        border-left-width: 3px;
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .service-icon {
        width: 56px;
        height: 56px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .btn-primary {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }
    
    .result-card {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .metric-value {
        font-size: 2.75rem !important;
    }
    
    .visual-card {
        border-left-width: 3px;
        border-radius: 0 12px 12px 0;
        padding: 1.75rem 1.25rem;
    }
    
    .visual-card h3 {
        font-size: 1.25rem;
    }
    
    .visual-card p {
        font-size: 0.9rem;
    }
    
    .result-card {
        padding: 2rem 1.25rem;
    }
    
    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ===== SUBTLE ANIMATIONS ===== */
@keyframes premium-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card,
.service-card,
.visual-card {
    animation: premium-fade-in 0.6s ease-out;
}

/* ===== IMPROVED SHADOWS ===== */
.service-card:hover,
.result-card:hover {
    box-shadow: 0 12px 40px var(--shadow-premium);
}

/* ===== REFINED BORDERS ===== */
.service-card,
.result-card {
    border-width: 1px;
    border-style: solid;
}

.service-card {
    border-color: rgba(255, 255, 255, 0.1);
}

.result-card {
    border-color: var(--border-subtle);
}

/* ===== ICON SYSTEM REFINEMENTS ===== */
/* Garantir que ícones FontAwesome carreguem corretamente */
i.fas, i.far, i.fab {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-style: normal;
}

/* Ícones sólidos - peso correto para FontAwesome */
.service-icon i,
.visual-card i {
    font-weight: 900 !important; /* Peso correto para ícones sólidos */
}

/* ===== CONTACT SECTION REFINEMENTS ===== */
.contact {
    background: var(--warm-light);
}

.contact-form {
    background: var(--warm-white);
    border: 1px solid var(--border-subtle);
}

/* ===== HEADER REFINEMENTS ===== */
.header {
    background: rgb(237, 183, 74) !important; /* #EDB74A */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-link {
    color: var(--grafite-dark) !important;
}

.nav-link:hover {
    color: white !important;
}

/* ===== PARTNER SECTION ===== */
.partner {
    background: var(--warm-white);
}

.partner-card {
    background: var(--warm-light);
    border: 1px solid var(--border-subtle);
}

/* ===== IMPROVED TYPOGRAPHY HIERARCHY ===== */
.section-title {
    letter-spacing: -0.02em;
    font-weight: 600;
}

.service-title {
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* ===== SMOOTH TRANSITIONS ===== */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.btn,
.service-card,
.result-card,
.visual-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
