:root {
    --grafite: #1c1c1e;
    --grafite-dark: #050505;
    --osso: #E5E0D8;
    --osso-muted: #9e9a93;
    --border-radius: 24px;
}

/* =========================================
   BASE & TYPOGRAPHY
   ========================================= */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--grafite-dark);
    color: var(--osso);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--osso);
}

p {
    font-weight: 400;
    color: var(--osso-muted);
}

.tracking-widest { letter-spacing: 0.2em; }
.op-70 { opacity: 0.7; }
.op-10 { opacity: 0.1; }

/* =========================================
   CINEMATIC EFFECTS (GOD MODE)
   ========================================= */

/* 1. Texture Noise */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* 2. Ambient Lights */
.ambient-light {
    position: fixed;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(100px);
    animation: float 15s infinite ease-in-out;
}

.ambient-light-1 {
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(229, 224, 216, 0.06) 0%, rgba(0,0,0,0) 70%);
}

.ambient-light-2 {
    bottom: 10%;
    right: -10%;
    background: radial-gradient(circle, rgba(100, 100, 100, 0.08) 0%, rgba(0,0,0,0) 70%);
    animation-delay: 5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 50px) scale(1.1); }
    100% { transform: translate(0, 0) scale(1); }
}

/* 3. Smooth Scroll Fix */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* =========================================
   COMPONENTS
   ========================================= */

/* Navbar Glassmorphism */
.navbar {
    background: rgba(5, 5, 5, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.02);
    transition: all 0.4s ease;
    padding: 20px 0;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.85);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Buttons */
.btn-tribo {
    background-color: var(--osso);
    color: var(--grafite-dark);
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-tribo:hover {
    transform: translateY(-2px);
    background-color: #fff;
    box-shadow: 0 0 30px rgba(229, 224, 216, 0.3);
    color: var(--grafite-dark);
}

.btn-outline-tribo {
    border: 1px solid rgba(229, 224, 216, 0.3);
    color: var(--osso);
    border-radius: 50px;
    padding: 10px 24px;
    background: transparent;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.btn-outline-tribo:hover {
    border-color: var(--osso);
    background: rgba(229, 224, 216, 0.1);
    color: var(--osso);
}

/* Glass Cards */
.card-tribo {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: transform 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.card-tribo:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--osso);
}

/* =========================================
   SECTIONS
   ========================================= */

section { 
    padding: 120px 0; 
    position: relative;
    z-index: 2;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1c 0%, var(--grafite-dark) 80%);
    padding-top: 80px;
}

.highlight-box {
    border-left: 2px solid var(--osso);
    padding-left: 20px;
}

/* Charts */
.bar-container {
    background: rgba(255,255,255,0.05);
    border-radius: 40px;
    overflow: hidden;
    height: 45px;
    display: flex;
    align-items: center;
}
.bar {
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.bar-chaos { background: #333; color: #fff; }
.bar-tribo { background: var(--osso); color: var(--grafite-dark); }

/* Accordion (FAQ) */
.accordion-button {
    background-color: rgba(255,255,255,0.02) !important;
    color: var(--osso) !important;
    border: none;
    box-shadow: none !important;
    padding: 1.5rem;
    font-weight: 500;
}
.accordion-button:not(.collapsed) {
    background-color: rgba(255,255,255,0.06) !important;
}
.accordion-button::after {
    filter: invert(1) brightness(200%);
}
.accordion-item {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 12px;
    border-radius: 16px !important;
    overflow: hidden;
}
.accordion-body {
    color: var(--osso-muted);
    padding: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.2);
}

/* Socials */
.social-link {
    color: rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}
.social-link:hover {
    color: var(--osso);
    transform: scale(1.1);
}

/* Carousel Arrows */
.carousel-control-prev, .carousel-control-next {
    width: 5%;
}