/*
Theme Name: Quantum Prime Capital
Description: Tema premium para Quantum Prime Capital LLC - Where Security Meets Strategy
Version: 1.0
Author: Quantum Prime Capital
*/

/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

/* Variáveis CSS para cores da marca (paleta da logo) */
:root {
    --primary-color: #2C2C2C;    /* Preto/Cinza escuro */
    --secondary-color: #8C8C8C;  /* Cinza médio */
    --accent-color: #F4C542;     /* Amarelo destaque (CTA) */
    --text-dark: #2C2C2C;        /* Texto em fundos claros */
    --text-light: #8C8C8C;       /* Texto secundário */
    --background-light: #F5F5F5; /* Fundo claro suave */
    --border-color: #E0E0E0;     /* Borda neutra */
    --success-color: #10b981;    /* Verde (mantido) */
    --warning-color: #F4C542;    /* Amarelo (consistente) */
    --error-color: #ef4444;      /* Vermelho (mantido) */
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(55, 65, 81, 0.2);
    transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* Estado scrolled com blur e fundo translúcido */
.header.scrolled {
    background: rgba(44, 44, 44, 0.85); /* mantém cinzas da paleta, não azul */
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo img {
    height: 72px;
    width: 72px;
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo:hover img {
    filter: drop-shadow(0 4px 14px rgba(244, 197, 66, 0.45));
    transform: translateZ(2px);
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* Underline dourado animado */
.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 0;
    background: #D5A72F;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover::after, .nav-menu a:focus-visible::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F5F5F5 0%, #E6E6E6 45%, #CFCFCF 100%);
    color: #2C2C2C;
    padding: 140px 0 100px;
    text-align: center;
    background-size: 200% 200%;
    animation: heroGradient 16s ease-in-out infinite alternate;
}

/* Desativar partículas para visual clean */
.hero::before,
.hero::after { content: none !important; }

.hero h1 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero .subheadline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Botões CTA */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 1rem 2.1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.12rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 22px rgba(244, 197, 66, 0.28);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(213, 167, 47, 0.0);
}

/* CTA WhatsApp com ícone minimalista */
.cta-button .icon {
    margin-right: 10px;
    font-size: 1.15em;
    line-height: 0;
}

.cta-whatsapp {
    background: var(--accent-color);
    color: var(--text-dark);
}

.cta-whatsapp:hover {
    border: 1.5px solid #D5A72F;
}

.cta-button:hover {
    transform: translateY(-1px);
    background: #E8B838; /* leve escurecimento do amarelo */
    box-shadow: 0 10px 24px rgba(244, 197, 66, 0.35);
    border-color: #D5A72F; /* borda dourada */
    color: var(--text-dark);
}

.cta-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(213, 167, 47, 0.35), 0 6px 18px rgba(244, 197, 66, 0.25);
    border-color: #D5A72F;
}

/* Desativar brilho para um CTA mais sólido */
.cta-button::after { display: none; }

/* Ripple container utilitário */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 600ms linear;
    background-color: rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Seções */
.section {
    padding: 120px 0;
}

/* Divisória sutil entre seções */
.section + .section {
    border-top: 1px solid var(--border-color);
}

.section-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.section-divider {
    display: block;
    width: 80px;
    height: 2px;
    background: var(--border-color);
    margin: 0 auto 1.5rem auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards de serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 2rem;
    color: #2C2C2C;
    opacity: 0.75;
    margin-bottom: 1rem;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Animação discreta dos ícones no hover do card */
.service-card:hover .service-icon {
    transform: rotate(3deg) scale(1.04);
    opacity: 0.85;
}

/* Alternativa de "pulse" muito sutil quando focado via teclado */
.service-card:focus-within .service-icon {
    animation: iconPulse 0.8s ease-out 1;
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Tilt 3D base */
.service-card, .value-card, .contact-option {
    transform-style: preserve-3d;
    will-change: transform;
}

.service-card h3 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Lista de benefícios */
.benefits-list {
    list-style: none;
    margin-top: 2rem;
}

.benefits-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Sobre nós */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.value-card h4 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Contato */
.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.contact-option {
    background: transparent;
    padding: 0;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
    border: none;
}

.contact-option h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Painel de contato elegante */
.contact-panel {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem 2rem;
}

.contact-panel .cta-button {
    display: inline-block;
    margin: 0 auto;
    padding: 1.1rem 2.4rem;
    font-size: 1.15rem;
}

.contact-panel .contact-options { justify-items: center; margin-top: 6rem; }

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-logo img {
    height: 72px;
    width: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

.footer-section p, .footer-section a {
    color: #9ca3af;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: white;
}

/* Respeitar prefer-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* Reveals on scroll */
.reveal-up, .reveal-left, .reveal-right { opacity: 0; }
.reveal-up { transform: translateY(20px); }
.reveal-left { transform: translateX(-20px); }
.reveal-right { transform: translateX(20px); }
.reveal-visible { opacity: 1; transform: translate(0,0); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }

/* Pulso suave para CTAs */
@keyframes pulseSoft {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.pulse-soft { animation: pulseSoft 0.8s ease-out; }

/* Reduzir efeitos em telas pequenas */
@media (max-width: 768px) {
    .service-card, .value-card, .contact-option { transform: none !important; }
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    color: #9ca3af;
}

/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.preloader-content { text-align: center; }
.preloader-logo img { height: 128px; width: 128px; border-radius: 50%; object-fit: cover; }
.preloader-logo .preloader-arrow { color: #2C2C2C; margin-left: 8px; opacity: 0.85; animation: arrowFloat 1.8s ease-in-out infinite; }

.preloader-progress {
    width: 260px;
    height: 4px;
    background: #E0E0E0;
    border-radius: 999px;
    overflow: hidden;
    margin: 22px auto 0;
}

.preloader-bar {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #E8C24A, #F4C542, #E8C24A);
    animation: preloaderGrow 1.8s ease-in-out infinite;
}

@keyframes preloaderGrow {
    0% { width: 0; }
    50% { width: 80%; }
    100% { width: 100%; }
}

@keyframes arrowFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* Responsividade */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .services-grid { grid-template-columns: 1fr; }
    .section { padding: 90px 0; }
    .container { padding: 0 24px; }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Fade-in específico do Hero */
.fade-in-hero {
    opacity: 0;
    animation: fadeInHero 0.8s ease-out forwards;
}

@keyframes fadeInHero {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Gradiente animado sutil para a Hero */
@keyframes heroGradient {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

/* Utilitários */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

