﻿/* 
   PREMIUM V2 DESIGN SYSTEM - KANAY WEALTH 
   Author: ANTIGRAVITY (DeepMind)
   Style: High-End Swiss Finance + Predictive AI
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Jost:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --ebony-black: #080808;
    --ebony-darker: #050505;
    --gold-primary: #C5A059;
    --gold-dim: #92733E;
    --gold-bright: #E8D1A3;
    --platinum-light: #F5F5F7;
    --platinum-dim: #A1A1A6;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Spacing */
    --section-gap: 1.5rem; /* Even tighter flow */
    --container-max: 1300px;
    
    /* Letter Spacing */
    --ls-premium: 0.25em;
    --ls-tight: 0.1em;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--ebony-black);
    color: var(--platinum-light);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Jost', sans-serif;
    text-transform: uppercase;
    letter-spacing: var(--ls-premium);
    font-weight: 500;
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    transition: var(--trans-normal);
}

.glass-panel:hover {
    border-color: var(--gold-primary);
}

/* Layout Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.grid-cols {
    display: grid;
    gap: 2rem;
}

/* Typography Extensions */
.text-gold { color: var(--gold-primary); }
.text-platinum { color: var(--platinum-dim); }
.gradient-text {
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-primary) 50%, var(--gold-dim) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Components */

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999; /* Ultra-high z-index */
    padding: 2.5rem 0; /* More breathing room at the start */
    transition: var(--trans-normal);
}

header.scrolled {
    background: rgba(8, 8, 8, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo img {
    height: 48px;
    filter: drop-shadow(0 0 10px rgba(197, 160, 89, 0.3));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--platinum-light);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: var(--trans-normal);
    position: relative;
}

.nav-links a:hover {
    color: var(--gold-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: var(--trans-normal);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-cta {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dim));
    color: var(--ebony-black);
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--trans-normal);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 180px; /* Enhanced space for fixed header */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero_background.jpg') center/cover no-repeat;
    z-index: -2;
    transform: scale(1.1);
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(8, 8, 8, 0.9) 0%, rgba(8, 8, 8, 0.4) 50%, rgba(8, 8, 8, 0.2) 100%);
    z-index: -1;
}

.hero-portrait {
    position: absolute;
    right: 5%;
    bottom: 0;
    height: 90%;
    z-index: 1;
    filter: drop-shadow(0 0 50px rgba(0, 0, 0, 0.8));
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 10;
    margin-top: -50px; /* Slight lift to balance visual weight */
}

.hero-content .pre-title {
    color: var(--gold-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

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

.hero-content h1 {
    font-size: clamp(1.8rem, 3.8vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--platinum-dim);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Chess Section */
.chess-section {
    padding: var(--section-gap) 0;
    position: relative;
}

.chess-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.chess-card {
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    border-radius: 8px;
}

.chess-card i {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
    display: block;
}

.chess-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.chess-card p {
    color: var(--platinum-dim);
    font-size: 0.95rem;
}

/* About / Cris Cosme Section */
.about-section {
    padding: var(--section-gap) 0;
    background: var(--ebony-darker);
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.about-visual {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.about-visual img {
    width: 100%;
    display: block;
    transition: var(--trans-slow);
}

.about-visual:hover img {
    transform: scale(1.05);
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.bio-stats {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--gold-primary);
}

.stat-item span {
    font-size: 0.8rem;
    color: var(--platinum-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Swiss Hallmark & Seal */
.swiss-badge {
    height: 0.8em; /* Proporcional ao tamanho da fonte do tÃ­tulo */
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-left: 1.2rem;
    border: 1px solid var(--gold-primary);
    padding: 2px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.2), inset 0 0 5px rgba(255,255,255,0.1);
    transition: var(--trans-normal);
}

.swiss-badge:hover {
    transform: scale(1.1);
    background: rgba(197, 160, 89, 0.15);
}

.swiss-badge-small {
    height: 1.1em; /* Ligeiramente maior que o texto do botÃ£o para destaque tÃ¡tico */
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.8rem;
    border: 1px solid rgba(197, 160, 89, 0.4);
    padding: 1px;
    background: rgba(0,0,0,0.5);
    border-radius: 2px;
}

/* Service Details Section */
.services-detail {
    padding: var(--section-gap) 0;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    margin-bottom: 8rem;
    align-items: center;
}

.service-row.reverse {
    direction: rtl;
}

.service-row.reverse > * {
    direction: ltr;
}

.service-info h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background: var(--gold-primary);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1.5rem; /* EspaÃ§o para o tÃ­tulo ao lado */
    flex-shrink: 0;
}

.service-icon-box i {
    color: var(--ebony-black);
    font-size: 1.5rem;
}

/* Footer */
footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    color: var(--platinum-dim);
}

.footer-links h5 {
    margin-bottom: 2rem;
    font-size: 1rem;
    color: var(--gold-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--platinum-dim);
    transition: var(--trans-normal);
}

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

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icons a {
    font-size: 1.5rem;
    color: var(--platinum-light);
    transition: var(--trans-normal);
}

.social-icons a:hover {
    color: var(--gold-primary);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: var(--platinum-dim);
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--trans-slow);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-portrait {
        display: none;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .hero-content p {
        margin: 0 auto 2.5rem;
    }
    .chess-grid {
        grid-template-columns: 1fr;
    }
    .about-split, .service-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .service-row.reverse {
        direction: ltr;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .bio-stats {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Estilos para Grades de Competências e Idiomas */
.skill-item h5 { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.05em; }
.skill-item p { font-size: 0.75rem; opacity: 0.8; }
.lang-tag { transition: var(--trans-normal); cursor: default; }
.lang-tag:hover { background: rgba(197, 160, 89, 0.25) !important; transform: translateY(-2px); }

/* OVERRIDE PARA REMOVER WHATSAPP INJETADO PELO GTM */
.bt-whatsapp, #alertWapp, #msg1 { display: none !important; visibility: hidden !important; pointer-events: none !important; }

/* === KANAY SMARAGD GLOBALS V2 === */
:root {
    --green-smaragd: #1D5D4E;
    --green-smaragd-bright: #208A5C;
    --danger-red: #E24B4A;
    --warning-gold: #EF9F27;
}

.text-gold { color: var(--gold-primary) !important; }
.text-platinum { color: var(--platinum-dim) !important; }

/* Status Text Helpers */
.text-smaragd { color: var(--green-smaragd-bright) !important; }
.text-danger { color: var(--danger-red) !important; }
.text-warning { color: var(--warning-gold) !important; }

/* Global Badges */
.badge {
    display: inline-block;
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}
.badge-ok {
    background: rgba(32, 138, 92, 0.15) !important;
    color: var(--green-smaragd-bright) !important;
    border: 1px solid rgba(32, 138, 92, 0.3) !important;
}
.badge-warn {
    background: rgba(239, 159, 39, 0.15) !important;
    color: var(--warning-gold) !important;
    border: 1px solid rgba(239, 159, 39, 0.3) !important;
}
.badge-danger {
    background: rgba(226, 75, 74, 0.15) !important;
    color: var(--danger-red) !important;
    border: 1px solid rgba(226, 75, 74, 0.3) !important;
}

/* Global Alerts */
.alert-item {
    border-left: 3px solid;
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.02);
}
.alert-ok { border-color: var(--green-smaragd-bright) !important; color: var(--platinum-light) !important; }
.alert-warn { border-color: var(--warning-gold) !important; color: var(--platinum-light) !important; }
.alert-danger { border-color: var(--danger-red) !important; color: var(--platinum-light) !important; }

/* Standard Back Link */
.kanay-back-link {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}
.kanay-back-link a {
    color: var(--platinum-dim);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--trans-normal);
}
.kanay-back-link a:hover { color: var(--gold-primary); }

