/* =========================================
   FELIPE GONCALVES - BRUTALIST DESIGN SYSTEM
   ========================================= */

:root {
    --black: #0a0a0a;
    --white: #f5f5f0;
    --yellow: #e6ff00;
    --red: #ff3b30;
    --blue: #0066ff;
    --gray: #666;
    --gray-light: #999;
    --border: 3px solid var(--black);
    --border-light: 1px solid rgba(0,0,0,0.1);
    --mono: 'IBM Plex Mono', monospace;
    --serif: 'Instrument Serif', serif;
}

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

::selection {
    background: var(--yellow);
    color: var(--black);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--mono);
    background: var(--white);
    color: var(--black);
    font-size: 16px;
    line-height: 1.6;
    cursor: crosshair;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* GRID BACKGROUND */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* CURSOR */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--black);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease;
    transform: translate(-50%, -50%);
}

.cursor.active {
    width: 50px;
    height: 50px;
    background: var(--yellow);
    mix-blend-mode: difference;
}

/* =========================================
   NAVIGATION
   ========================================= */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    border-bottom: var(--border);
    z-index: 1000;
}

.nav-logo {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--black);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Services Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0;
}

.nav-dropdown-toggle::after {
    content: '▼';
    font-size: 0.5rem;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: var(--border);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-size: 0.7rem;
    transition: all 0.2s ease;
}

.nav-dropdown-menu a:last-child {
    border-bottom: none;
}

.nav-dropdown-menu a:hover {
    background: var(--black);
    color: var(--white);
}

.nav-dropdown-menu a::after {
    display: none;
}

/* =========================================
   BUTTONS
   ========================================= */

.btn {
    display: inline-block;
    padding: 1.25rem 2.5rem;
    font-family: var(--mono);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 3px solid currentColor;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
}

.btn-primary:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.btn-secondary {
    color: var(--black);
}

.btn-secondary:hover {
    background: var(--black);
    color: var(--white);
}

.btn-white {
    color: var(--white);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--white);
    color: var(--black);
}

.btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
}

/* =========================================
   SECTION HEADERS
   ========================================= */

.section-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: baseline;
    margin-bottom: 4rem;
}

.section-number {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid var(--black);
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
}

/* =========================================
   PAGE HERO
   ========================================= */

.page-hero {
    min-height: 50vh;
    padding: 10rem 3rem 4rem;
    border-bottom: var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-hero-dark {
    background: var(--black);
    color: var(--white);
}

.page-hero .breadcrumb {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    opacity: 0.6;
}

.page-hero .breadcrumb a:hover {
    opacity: 1;
}

.page-hero h1 {
    font-family: var(--serif);
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.page-hero h1 em {
    font-style: italic;
}

.page-hero .lead {
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.7;
    opacity: 0.8;
}

/* =========================================
   MARQUEE
   ========================================= */

.marquee-container {
    border-bottom: var(--border);
    overflow: hidden;
    background: var(--yellow);
    padding: 1rem 0;
}

.marquee {
    display: flex;
    animation: marquee 20s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-right: 3rem;
    white-space: nowrap;
}

.marquee-content span {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.marquee-dot {
    width: 8px;
    height: 8px;
    background: var(--black);
    border-radius: 50%;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =========================================
   FOOTER
   ========================================= */

footer {
    border-top: var(--border);
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
}

.footer-copy {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-time {
    font-size: 0.75rem;
    font-family: var(--mono);
}

/* =========================================
   CONTENT SECTIONS
   ========================================= */

.content-section {
    padding: 6rem 3rem;
    border-bottom: var(--border);
}

.content-section-dark {
    background: var(--black);
    color: var(--white);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.content-wide {
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================
   CARDS
   ========================================= */

.card {
    border: var(--border);
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.card:hover {
    background: var(--black);
    color: var(--white);
    z-index: 10;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
}

.card-grid .card {
    margin: -1.5px;
}

/* =========================================
   PROCESS STEPS
   ========================================= */

.process-steps {
    counter-reset: step;
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.process-step:last-child {
    border-bottom: none;
}

.process-step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1;
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.process-step p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray);
}

/* Dark variant */
.content-section-dark .process-step {
    border-color: rgba(255,255,255,0.1);
}

.content-section-dark .process-step p {
    color: rgba(255,255,255,0.7);
}

/* =========================================
   TAGS & BADGES
   ========================================= */

.tag {
    display: inline-block;
    font-size: 0.7rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid currentColor;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0.25rem;
    transition: all 0.2s ease;
}

.tag:hover {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
}

.badge {
    display: inline-block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    background: var(--yellow);
    color: var(--black);
}

/* =========================================
   CTA SECTION
   ========================================= */

.cta-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 50vh;
}

.cta-left {
    background: var(--black);
    color: var(--white);
    padding: 6rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cta-left::before {
    content: attr(data-text);
    position: absolute;
    font-size: 15vw;
    font-weight: 700;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    white-space: nowrap;
}

.cta-left h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    position: relative;
}

.cta-left p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.7;
    max-width: 400px;
    position: relative;
}

.cta-right {
    padding: 6rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: var(--border);
}

.contact-method {
    padding: 2rem;
    border: var(--border);
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 1.5rem;
}

.contact-method:last-child {
    margin-bottom: 0;
}

.contact-method:hover {
    background: var(--yellow);
    transform: translateX(10px);
}

.contact-method-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.contact-method:hover .contact-method-label {
    color: var(--black);
}

.contact-method-value {
    font-size: 1.25rem;
    font-weight: 600;
}

/* =========================================
   SERVICE PAGE SPECIFIC
   ========================================= */

.service-intro {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.4;
    margin-bottom: 2rem;
}

.service-intro em {
    background: var(--yellow);
    padding: 0 0.25rem;
    font-style: normal;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-feature {
    padding: 2rem;
    background: rgba(0,0,0,0.02);
    border-left: 3px solid var(--yellow);
}

.service-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-feature p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gray);
}

/* =========================================
   COMING SOON
   ========================================= */

.coming-soon {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.coming-soon h1 {
    font-family: var(--serif);
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1rem;
}

.coming-soon p {
    font-size: 1rem;
    color: var(--gray);
    max-width: 400px;
}

/* =========================================
   ANIMATIONS
   ========================================= */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 900px) {
    .content-grid,
    .cta-section {
        grid-template-columns: 1fr;
    }

    .cta-left {
        border-bottom: var(--border);
    }

    .cta-right {
        border-left: none;
    }

    nav {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.65rem;
    }

    .content-section,
    .page-hero {
        padding: 4rem 2rem;
    }

    .cursor {
        display: none;
    }

    .section-header {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .nav-logo {
        font-size: 0.8rem;
    }

    .nav-dropdown-menu {
        position: fixed;
        left: 1rem;
        right: 1rem;
        width: auto;
    }

    .page-hero {
        padding: 8rem 1.5rem 3rem;
    }

    .content-section {
        padding: 3rem 1.5rem;
    }

    .process-step {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .process-step::before {
        font-size: 1.5rem;
    }
}

/* =========================================
   UTILITIES
   ========================================= */

.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
