/* 
========================================================================
   0»W - ESTÚDIO DE INOVAÇÃO DIGITAL
   Design System & Premium CSS Stylesheet
========================================================================
*/

/* Core Custom Variables */
:root {
    --bg-dark: #000000;
    --bg-card: #080808;
    --bg-card-border: rgba(255, 255, 255, 0.08);
    
    /* Elegant Gold Palette */
    --gold: #e5b842;
    --gold-rgb: 229, 184, 66;
    --gold-hover: #f1c75c;
    --gold-dim: #c5982d;
    
    /* Text Palette */
    --text-white: #ffffff;
    --text-muted: #8e8e93;
    --text-muted-dark: #636366;
    --text-dark: #121212;
    --text-dark-muted: #48484a;
    
    /* Layout */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1140px;
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-dark);
}

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

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

ul {
    list-style: none;
}

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

.text-center {
    text-align: center;
}

.uppercase {
    text-transform: uppercase;
}

.font-medium {
    font-weight: 500;
}

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

/* Typography & Titles */
.section-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 1rem;
    display: inline-block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-white);
    margin-bottom: 2rem;
}

.paragraph-large {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-white);
}

.paragraph-muted {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Premium Buttons & Links */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-filled {
    background-color: var(--gold);
    color: var(--text-dark);
}

.btn-filled:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(229, 184, 66, 0.15);
}

.btn-outline {
    background: transparent;
    border-color: rgba(229, 184, 66, 0.3);
    color: var(--gold);
}

.btn-outline:hover {
    border-color: var(--gold);
    background: rgba(229, 184, 66, 0.05);
    color: var(--text-white);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--text-white);
    transition: var(--transition-smooth);
}

.text-link:hover {
    color: var(--gold);
    transform: translateX(3px);
}

/* Animation utilities */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-delay-1 {
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    opacity: 0;
}

/* ========================================================================
   Header Styles
======================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
}

.logo-img {
    height: 18px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-separator {
    width: 1px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.18);
    display: block;
}

.logo-sub {
    font-family: var(--font-heading);
    font-size: 0.52rem;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
}

.serif-brand {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: var(--gold);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-list {
    display: flex;
    gap: 2.2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--text-white);
}

.btn-header {
    padding: 0.6rem 1.25rem;
    font-size: 0.72rem;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lang-link {
    color: var(--text-muted);
}

.lang-link:hover,
.lang-link.is-active {
    color: var(--text-white);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.25);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--text-white);
    position: relative;
    transition: var(--transition-smooth);
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: var(--text-white);
    left: 0;
    transition: var(--transition-smooth);
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

/* ========================================================================
   Hero Section
======================================================================== */
.hero-section {
    padding: 11rem 0 6rem 0;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5.5vw, 3.8rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-white);
    margin-bottom: 2.5rem;
}

.hero-title .highlight {
    color: var(--gold);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
}

.hero-subtitle .highlight-sub {
    font-size: 1.4rem;
    display: inline-block;
    margin-top: 0.6rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.hero-neon-img {
    max-width: 100%;
    height: auto;
    filter: brightness(0.94) contrast(0.92) saturate(0.92) drop-shadow(0 0 32px rgba(229, 184, 66, 0.12));
}

/* ========================================================================
   Intro / Innovation Section
======================================================================== */
.intro-section {
    padding: 8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.text-balance {
    text-wrap: balance;
}

.intro-section .section-title {
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.intro-paragraphs {
    max-width: 580px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ========================================================================
   Projects Fit Section
======================================================================== */
.projects-fit-section {
    padding: 8rem 0;
    background: var(--bg-dark);
}

.projects-fit-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #f4f3ef; /* Light cream/gray background matching original! */
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    align-items: stretch;
    gap: 0;
}

.fit-content {
    padding: 5.5rem 4.5rem;
    color: #1a1a1a;
}

.fit-content .section-label {
    color: #b8860b; /* Dark gold for label on light bg! */
    font-weight: 600;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.fit-content .section-title {
    color: #111111; /* Dark title! */
    margin-bottom: 3rem;
    font-weight: 500;
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.fit-list {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.fit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.fit-icon-wrapper {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Circle icons as in original blueprint! */
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15); /* Elegant thin dark circle border */
    color: #111111; /* Dark icon */
    transition: var(--transition-smooth);
}

.fit-item:hover .fit-icon-wrapper {
    background: #111111;
    color: #f4f3ef;
    transform: scale(1.05);
}

.fit-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.fit-text {
    font-size: 0.92rem;
    color: #333333; /* Dark text */
    font-weight: 400;
    line-height: 1.45;
    padding-top: 0.2rem;
}

.fit-visual {
    width: 100%;
    height: 100%;
    display: block;
}

.fit-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================================================
   Process Section
======================================================================== */
.process-section {
    padding: 8rem 0;
}

.section-header-group {
    margin-bottom: 5rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.process-card {
    position: relative;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.process-card:hover {
    border-color: rgba(229, 184, 66, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.process-num {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 2rem;
    display: inline-block;
    letter-spacing: 0.05em;
}

.process-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.process-icon-wrapper {
    color: var(--gold);
    display: flex;
    align-items: center;
}

.process-icon {
    width: 1.15rem;
    height: 1.15rem;
}

.process-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-white);
}

.process-card-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 300;
}

/* Connector arrows for process grid (Desktop only) */
@media (min-width: 992px) {
    .process-card:not(:last-child)::after {
        content: '\2192';
        position: absolute;
        right: -1.4rem;
        top: 2.3rem;
        color: var(--text-muted-dark);
        font-size: 1rem;
        font-family: var(--font-body);
        pointer-events: none;
    }
}

/* ========================================================================
   Sprint Zero Section
======================================================================== */
.sprint-zero-section {
    padding: 8rem 0;
}

.sprint-card {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    background-color: #f4f3ef; /* Warm light cream! */
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    align-items: stretch;
    gap: 0;
}

.sprint-content {
    padding: 5.5rem 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f4f3ef;
}

.sprint-label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    color: #b8860b; /* Dark gold for light bg! */
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.sprint-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #111111; /* Dark text */
    margin-bottom: 2.5rem;
}

.sprint-description {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.sprint-description .paragraph-large {
    color: #333333;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.5;
}

.sprint-note-block {
    border-left: 2px solid #b8860b;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sprint-note-block .note-line {
    font-size: 0.95rem;
    color: #444444;
}

.sprint-note-block .text-white {
    color: #111111 !important;
}

.sprint-btn {
    align-self: flex-start;
}

.sprint-visual {
    background-color: #000000;
    height: 100%;
    display: block;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.sprint-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9) contrast(0.9) saturate(0.9);
}

/* ========================================================================
   Trust / Engineering Section
======================================================================== */
.trust-section {
    padding: 8rem 0;
}

.engineering-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.engineering-paragraphs .paragraph-large {
    line-height: 1.5;
}

.engineering-paragraphs .paragraph-muted {
    font-size: 1rem;
    line-height: 1.6;
}

.exclusions-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.exclusions-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.exclusion-icon {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    border: 1.5px solid rgba(229, 184, 66, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.exclusion-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.5;
}

.highlight-partner {
    color: var(--text-white);
    font-weight: 400;
}

/* ========================================================================
   Bottom CTA Section
======================================================================== */
.bottom-cta-section {
    padding: 14rem 0;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.bottom-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, var(--bg-dark), transparent);
    pointer-events: none;
}

.bottom-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.bottom-cta-title .highlight {
    color: var(--gold);
}

.bottom-cta-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
}

/* ========================================================================
   Footer
======================================================================== */
.footer {
    background-color: var(--bg-dark);
    padding: 5rem 0 4rem 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2rem;
}

.footer-nav-list {
    display: flex;
    gap: 2.5rem;
}

.footer-link {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--text-white);
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--text-white);
}

.social-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* ========================================================================
   Responsive Media Queries
======================================================================== */

@media (max-width: 1024px) {
    :root {
        --container-width: 100%;
    }
    
    .grid-2 {
        gap: 3rem;
    }
    
    .sprint-content {
        padding: 3.5rem;
    }
}

@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Hero */
    .hero-section {
        padding: 9rem 0 4rem 0;
    }
    
    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        justify-content: center;
        margin-top: 2rem;
    }
    
    .hero-neon-img {
        max-width: 80%;
    }

    /* Split Cards (Projects Fit & Sprint Zero) collapse */
    .projects-fit-card, .sprint-card {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .fit-content, .sprint-content {
        padding: 4rem 2.5rem;
    }
    
    .fit-visual, .sprint-visual {
        height: 350px;
        order: -1;
        width: 100%;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Trust Section */
    .trust-section .grid-2 {
        display: flex;
        flex-direction: column;
    }
    
    /* Footer */
    .footer-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
    }
    
    .footer-links-group {
        align-items: center;
    }
    
    .footer-nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Navigation Menu Toggle */
    .mobile-nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
        padding: 4rem 2rem;
        transform: translateY(-120%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .btn-header {
        font-size: 1rem;
        padding: 0.9rem 2.5rem;
        width: 100%;
        max-width: 280px;
    }
    
    /* Hamburger Transform to X when expanded */
    .mobile-nav-toggle[aria-expanded="true"] .hamburger {
        background-color: transparent;
    }
    
    .mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg) translate(4px, 4px);
    }
    
    .mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    /* Process grid fully stacked */
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }
    
    .btn-filled, .text-link {
        width: 100%;
        max-width: 320px;
    }
    
    .sprint-content {
        padding: 3rem 1.5rem;
    }
}
