/* ============================================
   YALE DESIGNER - ESTILOS PRINCIPAIS
   ============================================ */

:root {
    --bg-color: #0a0a0a;
    --text-main: #ffffff;
    --accent-silver: #c0c0c0;
    --accent-gold: #d4af37;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== LENIS (Smooth Scroll) ========== */
html.lenis {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}
.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: -10%;
    background-image: url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    will-change: transform;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.45) 0%,
        rgba(10, 10, 10, 0.85) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0 10%;
}

/* ========== SCROLL INDICATOR NFS STYLE ========== */
.hero-scroll-indicator {
    position: absolute;
    bottom: 3.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    cursor: default;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-scroll-indicator.is-visible {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

.hero-scroll-indicator.is-hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(16px) scale(0.9);
    pointer-events: none;
}

.hero-scroll-indicator .scroll-chevrons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
    height: 72px;
    width: 64px;
    color: var(--accent-gold);
}

.hero-scroll-indicator .chevron {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: none;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.06));
}

.hero-scroll-indicator .chevron path {
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.3s ease;
}

.hero-scroll-indicator .chevron-1 {
    top: 0%;
}
.hero-scroll-indicator .chevron-2 {
    top: 0%;
}
.hero-scroll-indicator .chevron-3 {
    top: 0%;
}

.hero-scroll-indicator:hover .chevron path {
    stroke: var(--accent-gold);
}

.hero-scroll-indicator:hover .chevron {
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.15));
}

/* ========== TEXT GRADIENTS ========== */
.text-gradient {
    background: linear-gradient(to right, #ffffff, #c0c0c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
    background: linear-gradient(to right, #d4af37, #f3e5ab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ========== BOTÃO PREMIUM ========== */
.btn-premium {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(192, 192, 192, 0.3);
    background: rgba(28, 28, 28, 0.5);
    backdrop-filter: blur(10px);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: all 0.6s ease;
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-premium:hover {
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

/* ========== GLASS CARD ========== */
.glass-card {
    background: rgba(28, 28, 28, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s ease;
}

.glass-card:hover {
    background: rgba(40, 40, 40, 0.6);
    border-color: rgba(192, 192, 192, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* ========== NAVBAR ========== */
nav {
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}
nav.nav-visible {
    transform: translateY(0);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ========== SECTION ========== */
section {
    position: relative;
    z-index: 10;
    background-color: var(--bg-color);
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
}

/* ========== MARQUEE ========== */
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 28s linear infinite;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.marquee-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 40px;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #8a8a8a;
    white-space: nowrap;
    font-weight: 400;
}
.marquee-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d4af37;
    opacity: 0.4;
}

/* ========== STATS ========== */
.stat-number {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1;
    color: #d4af37;
}
.stat-label {
    font-size: 0.8rem;
    color: #8a8a8a;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* ========== CLIENT LOGOS ========== */
.client-logo {
    filter: grayscale(1) brightness(1.8);
    opacity: 0.3;
    transition: all 0.4s ease;
}
.client-logo:hover {
    filter: grayscale(0) brightness(1);
    opacity: 0.7;
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
    background: rgba(28, 28, 28, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.04);
    transition: all 0.4s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

/* ========== METRIC BADGE ========== */
.metric-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    color: #8a8a8a;
    background: rgba(255,255,255,0.03);
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.04);
}

/* ========== CTA GLOW ========== */
.cta-glow {
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.08), 0 0 120px rgba(212, 175, 55, 0.04);
}

/* ========== RESPONSIVO ========== */
@media (max-width: 768px) {
    .hero-bg {
        background-image: url('../img/hero-mobile.png');
        background-position: center top;
    }
    .stat-number {
        font-size: 2.2rem;
    }
    .marquee-item {
        font-size: 11px;
        padding: 0 24px;
        gap: 10px;
    }
    .hero-scroll-indicator {
        bottom: 2rem;
    }
    .hero-scroll-indicator .scroll-chevrons {
        height: 56px;
        width: 50px;
    }
    .hero-scroll-indicator .chevron path {
        stroke-width: 2.6;
    }
}

@media (max-width: 480px) {
    .hero-scroll-indicator {
        bottom: 1.4rem;
    }
    .hero-scroll-indicator .scroll-chevrons {
        height: 44px;
        width: 40px;
    }
    .hero-scroll-indicator .chevron path {
        stroke-width: 2.2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll-indicator .chevron {
        animation: none !important;
        opacity: 0.3;
    }
    .hero-scroll-indicator .chevron-2 {
        opacity: 0.2;
    }
    .hero-scroll-indicator .chevron-3 {
        opacity: 0.1;
    }
    .hero-scroll-indicator.is-visible {
        opacity: 0.5;
    }
    .hero-scroll-indicator .scroll-chevrons {
        animation: none !important;
    }
}