/* ==========================================================================
   AUVELLIX - Sistema Operacional de Crescimento
   Premium Landing Page Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables (Design Tokens)
   -------------------------------------------------------------------------- */
   :root {
    /* Colors */
    --color-white: #FFFFFF;
    --color-off-white: #FAFAFA;
    --color-beige-light: #F4F1EA;
    --color-gold-matte: #C5A880;
    --color-gold-hover: #B0936C;
    --color-black: #1A1A1A;
    --color-gray-dark: #333333;
    --color-gray-light: #E0E0E0;
    --color-text: #2C2C2C;
    --color-text-light: #666666;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Manrope', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.25s ease;
    --transition-normal: 0.35s ease-in-out;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-black);
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* --------------------------------------------------------------------------
   Layout & Utilities
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-half {
    max-width: 600px;
    margin: 0;
}

.text-center { text-align: center; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.scene {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.highlight-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-gold-matte);
    font-style: italic;
}

.big-text {
    font-size: 2.5rem;
}

.microcopy {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: 1rem;
}

.desktop-only { display: block; }
.mobile-only { display: none; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-fast);
}

.btn:focus-visible {
    outline: 2px solid var(--color-gold-matte);
    outline-offset: 4px;
}

.btn-primary {
    background-color: var(--color-gold-matte);
    color: var(--color-black);
    border: 1px solid var(--color-gold-matte);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
    border-color: var(--color-gold-hover);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-normal);
    padding: 1.5rem 0;
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

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

.logo img {
    height: 70px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.header.scrolled .nav-links {
    opacity: 1;
    pointer-events: auto;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-black);
}

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Scene 01: Hero
   -------------------------------------------------------------------------- */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 0;
    clip-path: inset(0); /* Garante que o parallax fixo não vaze para outras seções */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Deixando a hero mais leve */
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%);
    z-index: -1;
}

.hero-content {
    color: var(--color-white);
    max-width: 800px;
    margin: 0 auto;
    padding-top: 5rem;
    text-align: center;
}

.hero-content h1 {
    color: var(--color-white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-content .subheadline {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-off-white);
    margin: 0 auto 2.5rem auto;
    max-width: 650px;
}

.hero-content .microcopy {
    color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   Scene 02: Problem / Tensão
   -------------------------------------------------------------------------- */
.problem {
    background-color: var(--color-off-white);
}

.problem-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.problem-left h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.problem-left p {
    font-size: 1.125rem;
    color: var(--color-text-light);
}

.reveal-item {
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--color-gold-matte);
    box-shadow: var(--shadow-sm);
    opacity: 0; /* For GSAP */
    transform: translateY(20px); /* For GSAP */
}

.reveal-item p {
    margin-bottom: 0;
    font-size: 1.0625rem;
}

.reveal-item strong {
    color: var(--color-black);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Scene 03: Revelation / Split Screen
   -------------------------------------------------------------------------- */
.split-screen {
    display: flex;
    padding: 0;
    min-height: 80vh;
}

.split-left {
    flex: 1;
    background-color: var(--color-black);
    position: relative;
    overflow: hidden;
}

.chaos-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(197, 168, 128, 0.1) 10px, rgba(197, 168, 128, 0.1) 20px);
    opacity: 1;
    transition: opacity 1.5s ease;
}

.order-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(90deg, rgba(197, 168, 128, 0.05) 1px, transparent 1px),
                      linear-gradient(rgba(197, 168, 128, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.split-screen.is-active .chaos-lines { opacity: 0; }
.split-screen.is-active .order-lines { opacity: 1; }

.split-right {
    flex: 1;
    background-color: var(--color-beige-light);
    display: flex;
    align-items: center;
    padding: 6rem 4rem;
}

.split-right h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.split-right p {
    font-size: 1.125rem;
}

/* --------------------------------------------------------------------------
   Scene 04: Manifesto
   -------------------------------------------------------------------------- */
.manifesto {
    position: relative;
    background-color: var(--color-white);
    background-image: url('../assets/images/banner 2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 0;
    z-index: 1;
}

.manifesto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: -1;
}

.manifesto-content {
    max-width: 800px;
}

.manifesto-content h2 {
    font-size: 2.5rem;
}

.manifesto-content p {
    font-size: 1.25rem;
    color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   Scene 05: Architectures
   -------------------------------------------------------------------------- */
.architectures-section {
    background-color: var(--color-black);
    color: var(--color-white);
    position: relative;
    overflow: visible; /* Fix for GSAP ScrollTrigger pin */
}

.architectures-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.architectures-intro h2 {
    color: var(--color-white);
    font-size: 2.5rem;
}

.architectures-intro p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* Desktop ScrollTrigger Structure */
.architectures-wrapper {
    position: relative;
    height: 500vh; /* space for 5 slides to scroll through */
}

.architectures-pin {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.arch-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
}

.arch-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.arch-content {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-radius: var(--radius-lg);
    padding: 4rem;
    max-width: 900px;
    backdrop-filter: blur(10px);
}

.arch-layout {
    display: flex;
    align-items: center;
    gap: 3rem;
    text-align: left;
}

.arch-img {
    flex: 0 0 150px;
}

.arch-img img {
    border-radius: var(--radius-md);
    width: 100%;
    height: auto;
    object-fit: contain;
}

.arch-text {
    flex: 1;
}

@media (max-width: 768px) {
    .arch-layout {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

.arch-content h3 {
    color: var(--color-gold-matte);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.arch-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile Cards Structure */
.architectures-mobile {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .architectures-mobile {
        display: flex;
    }
}

.arch-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.arch-card h3 {
    color: var(--color-gold-matte);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.arch-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Alternate Light Cards styling */
.arch-content.arch-light, .arch-card.arch-light {
    background-color: var(--color-white);
    border: none;
    box-shadow: var(--shadow-md);
}

.arch-content.arch-light h3, .arch-card.arch-light h3 {
    color: var(--color-gold-matte);
}

.arch-content.arch-light p, .arch-card.arch-light p {
    color: var(--color-black);
    opacity: 0.9;
}

.closing-arch {
    position: relative;
    z-index: 10;
}

/* --------------------------------------------------------------------------
   Scene 06: Protocol / Timeline
   -------------------------------------------------------------------------- */
.protocol {
    background-color: var(--color-off-white);
}

.protocol h2 {
    font-size: 2.5rem;
}

.protocol-intro {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
    color: var(--color-text-light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-gold-matte), transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--color-gold-matte);
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(197, 168, 128, 0.2);
}

.timeline-content {
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    margin-bottom: 0;
    color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   Scene: Founders
   -------------------------------------------------------------------------- */
.scene-founders {
    background-color: var(--color-white);
    border-top: 1px solid var(--color-gold-matte);
}

.founders-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.founders-text h2 {
    font-size: 2.5rem;
}

.founders-text p {
    font-size: 1.125rem;
    color: var(--color-text-light);
}

.founders-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.founder-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(197, 168, 128, 0.1);
    transition: var(--transition-normal);
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(197, 168, 128, 0.4);
}

.founder-img {
    height: 350px;
    background-size: cover;
    background-position: center top;
}

.founder-info {
    padding: 1.5rem;
    text-align: center;
}

.founder-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.founder-role {
    font-size: 0.875rem;
    color: var(--color-gold-matte);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Scene 07: Eligibility
   -------------------------------------------------------------------------- */
.eligibility.scene {
    position: relative;
    padding: 0; /* Let the content wrapper handle padding to stretch bg */
    background-color: var(--color-black);
    color: var(--color-white);
}

.eligibility-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.eligibility-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.eligibility-content {
    position: relative;
    z-index: 2;
    padding: 6rem 0;
}

.eligibility-title {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 2.5rem;
    color: var(--color-white);
}

.eligibility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.eligibility-card {
    background-color: var(--color-white);
    color: var(--color-black);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.eligibility-card h3 {
    color: var(--color-black);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.eligibility-card.yes {
    border-top: 4px solid var(--color-gold-matte);
}

.eligibility-card.no {
    border-top: 4px solid var(--color-gray-light);
}

.eligibility-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.eligibility-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-gold-matte);
    font-weight: bold;
}

/* --------------------------------------------------------------------------
   Scene: FAQ
   -------------------------------------------------------------------------- */
.scene-faq {
    background-color: var(--color-white);
    padding: 4rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-gray-light);
    padding: 1.5rem 0;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-gold-matte);
}

.faq-icon {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer p {
    padding-top: 1rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Scene 08: Closing
   -------------------------------------------------------------------------- */
.closing {
    background-color: var(--color-white);
    padding-bottom: 8rem;
}

.closing .container {
    background: linear-gradient(rgba(197, 168, 128, 0.88), rgba(197, 168, 128, 0.88)), url('../assets/images/CTA.png');
    background-size: cover;
    background-position: center;
    color: var(--color-black);
    padding: 5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.closing h2 {
    font-size: 2.5rem;
    color: var(--color-black);
}

.closing-desc {
    max-width: 700px;
    font-size: 1.125rem;
    color: var(--color-black);
    opacity: 0.9;
}

.closing .highlight-text {
    color: var(--color-black);
    font-weight: 600;
}

.closing .microcopy {
    color: var(--color-black);
    opacity: 0.8;
}

.btn-final {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    background-color: var(--color-black);
    color: var(--color-gold-matte);
    border: none;
}

.btn-final:hover {
    background-color: #222;
    color: var(--color-white);
    transform: translateY(-2px);
}

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

.footer-logo {
    height: 40px;
    margin: 0 auto 1.5rem auto;
    filter: brightness(0) invert(1);
}

.footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Media Queries (Responsive)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .problem-container, .founders-container, .split-screen {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .split-left {
        min-height: 300px;
    }

    .split-right {
        padding: 4rem 2rem;
    }

    .eligibility-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-mobile {
        position: relative;
        padding-top: 140px;
        padding-bottom: 80px;
        background-color: var(--color-black);
    }
    
    .hero-mobile::after {
        content: '';
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
        z-index: 0;
    }
    
    .hero-mobile .hero-bg {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background-size: cover;
        background-position: center;
        z-index: -1;
    }
    
    .hero-mobile .hero-content {
        position: relative;
        z-index: 1;
        padding-top: 0;
    }
    
    .hero-mobile h1 {
        font-size: 2rem !important; /* Diminuído conforme pedido */
        margin-bottom: 1rem;
    }
    
    .hero-content {
        padding-top: 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .subheadline {
        font-size: 1.125rem;
    }
    
    .eligibility-title {
        padding: 0 15px;
    }
    
    .founders-cards {
        grid-template-columns: 1fr;
    }
    
    .architectures-wrapper {
        height: 500vh;
    }
    
    .architectures-pin {
        height: 100vh;
    }
    
    .scene {
        padding: 4rem 0;
    }
    
    .btn {
        width: 100%;
    }
    
    /* Mobile Header Fixes */
    .header {
        position: absolute; /* It stays at the top and scrolls away */
        background-color: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        z-index: 999 !important; /* Menu na frente */
    }
    
    .logo img {
        height: 50px;
    }
    
    .nav {
        display: none;
    }
    
    .btn-header {
        width: auto;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        opacity: 1; /* Always visible */
        pointer-events: auto;
    }
    
    /* Mobile Parallax Fix */
    .hero-bg {
        position: fixed;
        width: 100vw;
        height: 100vh;
        background-attachment: scroll; /* Force scrolling for background, but div is fixed */
    }
}

