/* 
    FRAGA ASSESSORIA E TREINAMENTO - RH
    Premium Design System
    Colors: Dark Background (#050505) with Gold Accents (#C5A059)
*/

:root {
    --bg-color: #050505;
    --bg-secondary: #0f0f0f;
    --gold: #C5A059;
    --gold-bright: #E8C482;
    --gold-dark: #8D6E3F;
    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(197, 160, 89, 0.2);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--gold);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

@keyframes goldShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

/* Background Elements */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    filter: blur(80px); /* Reduced from 100px for stability */
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0); /* Force GPU */
}

#glow-1 { top: -100px; right: -100px; }
#glow-2 { bottom: -100px; left: -100px; }

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background: rgba(5, 5, 5, 0.9); /* Increased opacity for less blur work */
    backdrop-filter: blur(10px); /* Reduced blur */
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

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

.logo img {
    height: 60px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

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

.cta-btn {
    padding: 12px 30px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
}

.cta-btn:hover {
    background: var(--gold);
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 700px;
    animation-delay: 0.2s;
}

.hero-tagline {
    font-size: 1rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-primary {
    padding: 15px 40px;
    background: var(--gold);
    color: var(--bg-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary {
    padding: 15px 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Services */
.services {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header span {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-top: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: var(--glass);
    padding: 50px 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-border);
    background: rgba(197, 160, 89, 0.05);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 25px;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card p {
    color: var(--text-muted);
}

.service-card .read-more {
    margin-top: 30px;
    display: inline-block;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Featured Section */
.featured {
    padding: 100px 0;
    display: flex;
    align-items: center;
    gap: 80px;
}

.featured-img {
    flex: 1;
    position: relative;
}

.featured-img img {
    width: 100%;
    border-radius: 5px;
}

.featured-img::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--gold);
    z-index: -1;
}

.featured-content {
    flex: 1;
}

.featured-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.featured-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.featured-list i {
    color: var(--gold);
}

/* Testimonials/Reviews */
.testimonials {
    padding: 100px 0;
    background: var(--bg-color);
}

/* Footer */
footer {
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links h4 {
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.social-links a:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--bg-color);
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .featured { flex-direction: column; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
