/* --- CSS VARIABLES (Design System) --- */
:root {
    /* Colors */
    --color-black-deep: #050505;
    --color-white: #fff;
    --color-gray-light: #E0E0E0;
    --color-gray-medium: #A0A0A0;
    --color-gray-dark: #888;
    --color-gold-primary: #F4D03F;
    --color-gold-secondary: #D4AF37;
    --color-gold-tertiary: #FFD700;

    /* Background overlays */
    --bg-overlay-dark: rgba(5, 5, 5, 0.68);
    --bg-overlay-medium: rgba(5, 5, 5, 0.55);
    --bg-gateway-overlay: rgba(0, 0, 0, 0.75);
    --bg-gateway-overlay-light: rgba(0, 0, 0, 0.65);

    /* Animation timings */
    --anim-duration-fast: 0.8s;
    --anim-duration-normal: 1s;
    --anim-duration-slow: 1.5s;
    --anim-delay-bg: 0s;
    --anim-delay-gateway: 0.4s;
    --anim-delay-logo: 0.8s;
    --anim-delay-headline: 1.2s;
    --anim-delay-justification: 1.6s;
    --anim-delay-gold: 2.0s;
    --anim-delay-cta: 2.4s;
    --anim-delay-breathing: 2.8s;

    /* Z-index layers */
    --z-bg: 0;
    --z-main: 1;
    --z-protocol: 2;
    --z-gateway: 100;

    /* Typography */
    --font-mono: 'Space Mono', monospace;
    --font-serif: 'Cinzel', serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Border radius */
    --radius-none: 0;

    /* Shadows */
    --shadow-gold-soft: 0 0 30px rgba(212, 175, 55, 0.3);
    --shadow-gold-medium: 0 0 30px rgba(212, 175, 55, 0.4);
    --shadow-gold-hard: 0 0 40px rgba(212, 175, 55, 0.6);
}

/* --- SITE HEADER (FIXED) --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 1); /* Fundo preto 100% opaco */
    z-index: 1000; /* Acima de tudo */
    border-bottom: 1px solid var(--color-gold-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    text-decoration: none;
    color: inherit;
}

.header-logo a {
    text-decoration: none;
    color: inherit;
    display: inherit;
    flex-direction: inherit;
}

.header-logo-number {
    background: linear-gradient(135deg, var(--color-gold-secondary) 0%, var(--color-gold-tertiary) 50%, var(--color-gold-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
    letter-spacing: 0.05em;
}

.header-logo-text {
    color: var(--color-gold-primary);
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.gold {
    color: var(--color-gold-primary);
}

.header-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--color-gray-light);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link:focus {
    color: var(--color-gold-primary);
}

.nav-link.active {
    color: var(--color-gold-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link:focus::after {
    width: 100%;
}

.nav-link.active::after {
    width: 100%;
}

/* Destaque especial para o item "O Protocolo" (menu final em amarelo) */
.nav-link.protocolo {
    color: var(--color-gold-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(212,175,55,0.06), rgba(244,208,63,0.04));
    box-shadow: var(--shadow-gold-soft);
}

.nav-link.protocolo:hover,
.nav-link.protocolo:focus {
    color: var(--color-black-deep);
    background: linear-gradient(135deg, var(--color-gold-secondary), var(--color-gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    box-shadow: var(--shadow-gold-medium);
}

.section-locked {
    opacity: 0;
    transform: translateY(24px);
    pointer-events: none;
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Scroll reveal for elements */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Toggle mobile */
.menu-toggle {
    display: none;
    width: 42px;
    height: 32px;
    background: transparent;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-direction: column;
    padding: 6px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-gold-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.site-header.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0.75rem 1.25rem;
    }

    .menu-toggle {
        display: flex;
        order: 2;
    }

    .header-logo {
        order: 1;
    }

    .header-nav {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.75rem;
        padding: 0.5rem 0 1rem 0;
        text-align: right;
    }

    .site-header.nav-open .header-nav {
        display: flex;
    }

    .nav-link {
        font-size: 0.85rem;
        letter-spacing: 0.08em;
    }
}

/* Mobile landscape - celular deitado */
@media (max-width: 968px) and (max-height: 500px) {
    .header-content {
        padding: 0.5rem 1rem;
    }

    .header-logo {
        font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    }

    .header-logo-text {
        font-size: clamp(0.6rem, 1.5vw, 0.9rem);
    }

    .header-nav {
        gap: 0.5rem;
        padding: 0.25rem 0 0.5rem 0;
    }

    .nav-link {
        font-size: 0.75rem;
        letter-spacing: 0.05em;
    }

    .menu-toggle {
        width: 36px;
        height: 28px;
        padding: 4px;
        gap: 4px;
    }
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Acessibilidade: Foco visível melhorado */
*:focus {
    outline: 2px solid var(--color-gold-primary);
    outline-offset: 2px;
}

/* Usar :focus-visible para melhor UX (só mostra outline no teclado) */
*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--color-gold-primary);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.15);
}

/* Focus específico para links de navegação */
.nav-link:focus-visible {
    outline: 2px solid var(--color-gold-primary);
    outline-offset: 4px;
    border-radius: 2px;
}

/* Focus para botões e CTAs */
.cta-button:focus-visible,
.submit-button:focus-visible,
button:focus-visible {
    outline: 3px solid var(--color-gold-secondary);
    outline-offset: 4px;
    box-shadow: 0 0 0 6px rgba(244, 208, 63, 0.2), var(--shadow-gold-medium);
}

/* Focus para inputs e forms */
.elite-form input:focus-visible,
.elite-form select:focus-visible,
.elite-form textarea:focus-visible,
.dev-elite-form input:focus-visible,
.dev-elite-form select:focus-visible,
.dev-elite-form textarea:focus-visible {
    border-color: var(--color-gold-primary);
    outline: 2px solid var(--color-gold-secondary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

/* Focus para blog cards e elementos clicáveis */
.blog-card:focus-within,
.concept-card:focus-within {
    outline: 2px solid var(--color-gold-primary);
    outline-offset: 3px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Focus para menu mobile toggle */
.menu-toggle:focus-visible {
    outline: 2px solid var(--color-gold-primary);
    outline-offset: 4px;
    background: rgba(212, 175, 55, 0.1);
}

/* Acessibilidade: Reduzir movimento para usuários sensíveis */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

html {
    min-height: 100vh;
    width: 100%;
    background-color: var(--color-black-deep);
    scroll-behavior: smooth;
}

body {
    width: 100%;
    color: var(--color-gray-light);
    font-family: var(--font-mono);
    position: relative;
    overflow-x: hidden; /* Apenas bloqueia scroll horizontal */
    overflow-y: auto; /* Permite scroll vertical */
    background-color: var(--color-black-deep);
    z-index: var(--z-bg);
}

/* Performance: GPU acceleration for animations */
.gateway-container,
.vault-panel,
.cta-button,
.protocol-preview {
    will-change: transform, opacity;
}

/* Fallback for JavaScript disabled */
.no-js .cta-button {
    background: var(--color-gold-secondary);
    color: var(--color-white);
    cursor: not-allowed;
}

.no-js .cta-button::after {
    content: 'JavaScript necessário';
}

/* Performance: Optimize background image loading */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: none;
    opacity: 0;
    z-index: var(--z-bg);
    pointer-events: none;
}

/* --- GATEWAY CONTAINER (MAIN OVERLAY) --- */
.gateway-container {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    min-height: auto;
    height: auto;
    z-index: var(--z-gateway);
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    animation: fadeInGateway var(--anim-duration-normal) ease-out var(--anim-delay-gateway) forwards;
    opacity: 0;
    padding: 5rem 2rem;
}

/* Safe area support for devices with notches */
.gateway-container {
    padding-top: max(5rem, env(safe-area-inset-top) + 2rem);
    padding-bottom: max(3rem, env(safe-area-inset-bottom) + 1rem);
    padding-left: max(2rem, env(safe-area-inset-left) + 1rem);
    padding-right: max(2rem, env(safe-area-inset-right) + 1rem);
}

/* Environment variables for safe areas */
@supports (padding: max(0px)) {
    .gateway-container {
        /* Modern browsers with CSS env() support */
    }
}

.gateway-hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--anim-duration-fast) ease;
}

.content-wrapper {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* Slide texts instantly visible */

/* Camadas para o efeito de abertura de porta (Vault Door) - DESATIVADO */
.vault-panel {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: var(--color-black-deep);
    z-index: -1; /* Fica atrás do texto, mas cobre o site principal */
    transition: transform var(--anim-duration-slow) cubic-bezier(0.77, 0, 0.175, 1);
    display: none; /* Ocultar painéis de porta */
}

.panel-left { left: 0; border-right: 1px solid #111; }
.panel-right { right: 0; border-left: 1px solid #111; }

/* Gradiente subtil de luz dourada distante */
.gateway-container::before {
    content: none;
}

/* --- TYPOGRAPHY & ELEMENTS --- */

/* 2.0s: Logo 33 Digital (após background) */
.intro-logo {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInLogoScale var(--anim-duration-slow) ease-out forwards;
    animation-delay: var(--anim-delay-logo);
    letter-spacing: 0.05em;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.intro-logo::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #D4AF37, #F4D03F, #D4AF37, transparent);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.intro-logo-number {
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 50%, #FFD700 75%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.5)) drop-shadow(0 0 20px rgba(244, 208, 63, 0.3));
    text-shadow: 0 0 80px rgba(212, 175, 55, 0.4);
    transform: translateY(-0.15em);
    display: inline-block;
}

.intro-logo-text {
    color: #D4AF37;
    font-size: clamp(1.1rem, 3.5vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-family: 'Space Mono', monospace;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

/* 2.5s: A Provocação (após logo) */
.headline {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3.2vw, 2.6rem);
    line-height: 1.35;
    color: #F0F0F0;
    max-width: 850px;
    margin: 0 auto;
    opacity: 0;
    font-weight: 400;
    animation: fadeInUp var(--anim-duration-slow) ease-out forwards;
    animation-delay: var(--anim-delay-headline);
    letter-spacing: -0.01em;
    text-align: center;
}

/* 3.5s: A Justificativa */
.justification {
    font-family: var(--font-mono);
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    color: #B0B0B0;
    margin-top: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    opacity: 0;
    animation: fadeInUp var(--anim-duration-slow) ease-out forwards;
    animation-delay: var(--anim-delay-justification);
    text-align: center;
}

/* 4.5s: O Gatilho de Midas */
.gold-trigger {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-gold-primary);
    margin-top: 2.5rem;
    font-size: clamp(1rem, 2vw, 1.3rem);
    opacity: 0;
    animation: fadeIn var(--anim-duration-slow) ease-out forwards;
    animation-delay: var(--anim-delay-gold);
    text-shadow: 0 0 30px rgba(244, 208, 63, 0.4);
    text-align: center;
}

/* --- CTA BUTTON (O PORTAL) --- */
.cta-wrapper {
    margin-top: 3.5rem;
    opacity: 0;
    animation: fadeIn var(--anim-duration-slow) ease-out forwards;
    animation-delay: var(--anim-delay-cta);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-button {
    text-decoration: none;
    font-family: var(--font-mono);
    color: var(--color-black-deep);
    background: linear-gradient(135deg, var(--color-gold-secondary), var(--color-gold-primary), var(--color-gold-secondary));
    border: 2px solid var(--color-gold-primary);
    padding: 1.3rem 3rem;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
    animation: breathing 4s infinite ease-in-out;
    animation-delay: var(--anim-delay-breathing);
    box-shadow: var(--shadow-gold-medium), 0 0 60px rgba(244, 208, 63, 0.2);
    display: inline-block;
    font-weight: 700;
}

/* --- ENHANCED RESPONSIVE DESIGN --- */

/* Base responsive adjustments */
@media (max-width: 1200px) {
    .gateway-container {
        padding: 4rem 2rem 3rem 2rem;
    }

    .content-wrapper {
        max-width: 1000px;
    }
}

/* Tablet landscape and small desktop */
@media (max-width: 1024px) {
    .gateway-container {
        padding: 3.5rem 1.5rem 2.5rem 1.5rem;
    }

    .intro-logo {
        font-size: clamp(2.5rem, 7vw, 4rem);
        margin-bottom: 2rem;
    }

    .headline {
        font-size: clamp(1.4rem, 4vw, 2.2rem);
        max-width: 95vw;
    }

    .justification {
        font-size: clamp(0.9rem, 2.8vw, 1.1rem);
        margin-top: 2rem;
        max-width: 92vw;
    }

    .gold-trigger {
        margin-top: 2rem;
        font-size: clamp(1rem, 2.5vw, 1.3rem);
    }

    .cta-button {
        padding: 1.2rem 2.5rem;
        font-size: 0.9rem;
    }
}

/* Tablet portrait and large mobile */
@media (max-width: 768px) {
    .gateway-container {
        padding: 3rem 1.25rem 2rem 1.25rem;
        overflow-y: auto;
    }

    .intro-logo {
        font-size: clamp(2.2rem, 9vw, 3.8rem);
        margin-bottom: 1.8rem;
        gap: 0.2rem;
    }

    .intro-logo-text {
        font-size: clamp(0.9rem, 3vw, 1.4rem);
        letter-spacing: 0.2em;
    }

    .headline {
        font-size: clamp(1.2rem, 5vw, 2rem);
        line-height: 1.35;
        max-width: 90vw;
        margin: 0 auto;
    }

    .justification {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
        margin-top: 1.6rem;
        max-width: 88vw;
        line-height: 1.6;
    }

    .gold-trigger {
        margin-top: 1.8rem;
        font-size: clamp(0.95rem, 3vw, 1.2rem);
    }

    .cta-wrapper {
        margin-top: 2.6rem;
    }

    .cta-button {
        padding: 1.1rem 2.4rem;
        letter-spacing: 2px;
        font-size: 0.8rem;
        min-height: 44px; /* Touch target size */
        min-width: 44px;
    }

    .microcopy {
        font-size: 0.6rem;
        margin-top: 1rem;
    }
}

/* Celulares altos/compridos (telas verticais longas) */
@media (max-width: 480px) and (min-height: 750px) {
    .gateway-container {
        padding: 4rem 1.5rem 3rem 1.5rem;
        min-height: 85vh;
        justify-content: center;
    }

    .intro-logo {
        font-size: clamp(2.5rem, 10vw, 4.5rem);
        margin-bottom: 2.5rem;
        gap: 0.3rem;
    }

    .intro-logo-text {
        font-size: clamp(1rem, 3.5vw, 1.8rem);
        letter-spacing: 0.3em;
    }

    .headline {
        font-size: clamp(1.4rem, 5.5vw, 2.4rem);
        line-height: 1.4;
        max-width: 85vw;
        margin-bottom: 2rem;
    }

    .justification {
        font-size: clamp(0.95rem, 4vw, 1.2rem);
        margin-top: 2rem;
        max-width: 85vw;
        line-height: 1.75;
    }

    .gold-trigger {
        margin-top: 2.5rem;
        font-size: clamp(1.1rem, 4vw, 1.5rem);
        line-height: 1.5;
    }

    .cta-wrapper {
        margin-top: 3rem;
    }

    .cta-button {
        padding: 1.3rem 2.8rem;
        letter-spacing: 2.5px;
        font-size: 0.9rem;
    }

    .microcopy {
        font-size: 0.7rem;
        margin-top: 1.2rem;
    }
}

/* Mobile landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .gateway-container {
        padding: 2rem 1rem 1.5rem 1rem;
    }

    .intro-logo {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
        margin-bottom: 1.2rem;
    }

    .headline {
        font-size: clamp(1rem, 4vw, 1.6rem);
        line-height: 1.3;
    }

    .justification {
        font-size: clamp(0.8rem, 3vw, 0.95rem);
        margin-top: 1.2rem;
    }

    .gold-trigger {
        margin-top: 1.4rem;
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 0.75rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .gateway-container {
        padding: 2.5rem 1rem 1.5rem 1rem;
    }

    .intro-logo {
        font-size: clamp(1.8rem, 8vw, 3rem);
        margin-bottom: 1.5rem;
    }

    .intro-logo-text {
        font-size: clamp(0.8rem, 3.5vw, 1.2rem);
    }

    .headline {
        font-size: clamp(1.1rem, 5.5vw, 1.8rem);
        line-height: 1.3;
        max-width: 95vw;
    }

    .justification {
        font-size: clamp(0.8rem, 4vw, 0.95rem);
        margin-top: 1.4rem;
        max-width: 95vw;
        line-height: 1.5;
    }

    .gold-trigger {
        margin-top: 1.6rem;
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    }

    .cta-wrapper {
        margin-top: 2.2rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.75rem;
        letter-spacing: 1.5px;
        min-height: 48px; /* Larger touch target for small screens */
    }

    .microcopy {
        font-size: 0.55rem;
        margin-top: 0.8rem;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .gateway-container {
        padding: 2rem 0.75rem 1rem 0.75rem;
    }

    .intro-logo {
        font-size: clamp(1.6rem, 9vw, 2.5rem);
        margin-bottom: 1.2rem;
    }

    .headline {
        font-size: clamp(1rem, 6vw, 1.6rem);
        line-height: 1.25;
    }

    .justification {
        font-size: clamp(0.75rem, 4.5vw, 0.9rem);
        margin-top: 1.2rem;
    }

    .gold-trigger {
        margin-top: 1.4rem;
        font-size: clamp(0.85rem, 4vw, 1rem);
    }

    .cta-button {
        padding: 0.9rem 1.8rem;
        font-size: 0.7rem;
        min-height: 50px;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .gateway-container {
        /* Smoother animations on high DPI */
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .intro-logo {
        text-shadow: 0 0 40px rgba(244, 208, 63, 0.6);
    }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
    .cta-button {
        /* Remove hover effects on touch devices */
        transition: none;
    }

    .cta-button:hover {
        transform: none;
        box-shadow: var(--shadow-gold-medium), 0 0 60px rgba(244, 208, 63, 0.2);
    }

    .cta-button:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Large screens and ultra-wide */
@media (min-width: 1400px) {
    .gateway-container {
        padding: 5rem 3rem 4rem 3rem;
    }

    .content-wrapper {
        max-width: 1200px;
    }

    .intro-logo {
        font-size: clamp(3.5rem, 6vw, 6rem);
        margin-bottom: 3rem;
    }

    .headline {
        font-size: clamp(2rem, 3vw, 3rem);
        max-width: 1000px;
    }

    .justification {
        font-size: clamp(1.1rem, 1.5vw, 1.4rem);
        max-width: 900px;
    }

    .gold-trigger {
        font-size: clamp(1.3rem, 1.8vw, 1.6rem);
    }

    .cta-button {
        padding: 1.5rem 3.5rem;
        font-size: 1rem;
    }
}

/* --- TOUCH & INTERACTION OPTIMIZATIONS --- */

/* Better touch targets */
.cta-button {
    touch-action: manipulation; /* Prevents double-tap zoom */
    -webkit-tap-highlight-color: rgba(244, 208, 63, 0.3);
}

/* Prevent text selection on UI elements */
.intro-logo,
.cta-button,
.protocol-btn {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Smooth scrolling for mobile */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
    }

    .gateway-container {
        -webkit-overflow-scrolling: touch;
    }
}

/* Input modalities */
@media (pointer: fine) {
    /* Mouse users get hover effects */
    .cta-button:hover {
        transform: translateY(-3px) scale(1.02);
    }
}

@media (pointer: coarse) {
    /* Touch users get different interaction */
    .cta-button {
        transition: transform 0.1s ease, background 0.2s ease;
    }

    .cta-button:active {
        transform: scale(0.96);
        background: var(--color-gold-tertiary);
    }
}

/* Screen reader improvements */
@media (max-width: 768px) {
    .microcopy {
        /* Hide microcopy on very small screens for screen readers */
        position: absolute;
        left: -10000px;
        top: auto;
        width: 1px;
        height: 1px;
        overflow: hidden;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .gateway-container {
        animation: none;
    }

    .intro-logo,
    .headline,
    .justification,
    .gold-trigger,
    .cta-wrapper {
        animation: none !important;
    }

    .cta-button {
        animation: none;
    }

    .cta-button:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .gateway-container {
        background: var(--color-black-deep);
        border: 2px solid var(--color-gold-primary);
    }

    .intro-logo {
        -webkit-text-fill-color: var(--color-gold-primary);
    }

    .cta-button {
        border: 3px solid var(--color-gold-primary);
        background: var(--color-gold-primary);
        color: var(--color-black-deep);
    }
}

/* Dark mode support (if user prefers) */
@media (prefers-color-scheme: dark) {
    /* Already optimized for dark theme */
}

@media (prefers-color-scheme: light) {
    /* Força manter o gateway no tema escuro para evitar flash branco no Chrome */
    .gateway-container {
        background: transparent;
    }

    .headline,
    .justification,
    .gold-trigger {
        color: var(--color-gray-light);
    }
}

/* Hover: Toque de Midas */
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-gold-tertiary), var(--color-gold-primary));
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.cta-button:hover {
    color: var(--color-black-deep);
    border-color: var(--color-gold-tertiary);
    box-shadow: var(--shadow-gold-hard), 0 0 80px rgba(244, 208, 63, 0.3);
    transform: translateY(-3px) scale(1.02);
}

.cta-button:hover::before {
    width: 100%;
}

.microcopy {
    margin-top: 1.2rem;
    font-size: 0.65rem;
    color: var(--color-gray-dark);
    opacity: 0.8;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- ANIMATIONS KEYFRAMES --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInMoveUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0) scale3d(0.9, 0.9, 1);
    }
    to {
        opacity: 1;
        transform: translate3d(0, -40px, 0) scale3d(1, 1, 1);
    } /* Logo sobe um pouco */
}

@keyframes fadeInLogoScale {
    from {
        opacity: 0;
        transform: scale3d(0.8, 0.8, 1);
    }
    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(197, 160, 89, 0.1); }
    50% { box-shadow: 0 0 40px rgba(197, 160, 89, 0.3); }
}

@keyframes breathing {
    0% {
        transform: scale3d(1, 1, 1);
        box-shadow: var(--shadow-gold-medium), 0 0 60px rgba(244, 208, 63, 0.2);
    }
    50% {
        transform: scale3d(1.04, 1.04, 1);
        box-shadow: var(--shadow-gold-hard), 0 0 80px rgba(244, 208, 63, 0.3);
    }
    100% {
        transform: scale3d(1, 1, 1);
        box-shadow: var(--shadow-gold-medium), 0 0 60px rgba(244, 208, 63, 0.2);
    }
}

/* --- STATES FOR TRANSITION --- */
.content-fade-out {
    opacity: 0 !important;
    transform: scale3d(0.95, 0.95, 1);
    transition: opacity var(--anim-duration-fast) ease, transform var(--anim-duration-fast) ease;
    pointer-events: none;
}

.doors-open-left {
    transform: translate3d(-100%, 0, 0);
}

.doors-open-right {
    transform: translate3d(100%, 0, 0);
}

/* --- BREADCRUMBS NAVEGACIONAIS --- */
.breadcrumb {
    padding: 1rem 2rem;
    margin-top: 120px; /* Compensar header fixo */
    background: rgba(5, 5, 5, 0.4);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item a {
    color: var(--color-gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--color-gold-primary);
}

.breadcrumb-item.active {
    color: var(--color-gold-secondary);
    font-weight: 700;
}

.breadcrumb-separator {
    color: rgba(212, 175, 55, 0.3);
    user-select: none;
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 0.75rem 1rem;
        font-size: 0.7rem;
        margin-top: 80px; /* Header menor em mobile */
    }
}

/* Paisagem baixa (celular deitado) */
@media (max-height: 600px) and (orientation: landscape) {
    .breadcrumb {
        margin-top: 80px; /* aproxima do header em telas baixas */
    }
}

/* --- MOCK MAIN SITE (HIDDEN BEHIND) --- */
.main-site-preview {
    position: absolute;
    top: 120px; /* Abaixo do header fixo */
    left: 0;
    width: 100%;
    min-height: calc(100vh - 120px); /* Altura mínima da viewport menos header */
    z-index: var(--z-main);
    display: none; /* Ocultar por padrão */
    justify-content: center;
    align-items: center;
    role: main; /* Acessibilidade: Conteúdo principal */
    background: transparent;
}

.mock-content {
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease 1s;
    pointer-events: none;
}

.site-revealed .mock-content {
    opacity: 0;
}

.mock-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    background: linear-gradient(90deg, #C5A059, #F0F0F0, #C5A059);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.mock-subtitle {
    color: var(--color-white);
    font-size: 1.5rem;
}

/* --- SEGUNDA TELA: PROTOCOLO PREVIEW --- */
.protocol-preview {
    position: absolute;
    top: 120px; /* Abaixo do header fixo */
    left: 0;
    width: 100%;
    min-height: calc(100vh - 120px); /* Altura mínima da viewport menos header */
    background: transparent;
    z-index: var(--z-protocol);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease 1s;
}

.site-revealed .protocol-preview {
    opacity: 1;
    pointer-events: all;
}

.protocol-preview-content {
    text-align: center;
    max-width: 800px;
}

.protocol-preview-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #F4D03F;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-shadow: 0 0 40px rgba(244, 208, 63, 0.5);
}

.protocol-preview-text {
    font-family: var(--font-mono);
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    color: var(--color-gray-medium);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.protocol-btn {
    text-decoration: none;
    font-family: var(--font-mono);
    color: var(--color-black-deep);
    background: linear-gradient(135deg, var(--color-gold-secondary), var(--color-gold-primary));
    border: 2px solid var(--color-gold-primary);
    padding: 1rem 2rem;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    cursor: pointer;
    font-weight: 700;
    box-shadow: var(--shadow-gold-soft);
}

.protocol-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, #FFD700, #F4D03F);
    transition: width 0.4s ease-in-out;
    z-index: -1;
}

.protocol-btn:hover {
    color: #000;
    border-color: #FFD700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

.protocol-btn:hover::before {
    width: 100%;
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInGateway {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInLogoScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes breathing {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Print styles */
@media print {
    .gateway-container {
        background: white !important;
        color: black !important;
        box-shadow: none;
    }

    .intro-logo {
        color: black !important;
        -webkit-text-fill-color: black !important;
    }

    .cta-button {
        display: none;
    }
}

/* Loading state for JavaScript */
.js-loading .cta-button {
    pointer-events: none;
    opacity: 0.7;
}

.js-loading .cta-button::after {
    content: 'Carregando...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    color: var(--color-black-deep);
}

/* --- FOOTER ELITE --- */
.site-footer {
    background-color: #020202; /* Quase preto absoluto */
    position: relative;
    padding: 0;
    margin-top: 0;
    font-family: 'Space Mono', monospace;
    overflow: hidden;
}

/* 1. O Divisor de Ouro */
.footer-gold-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #C5A059 50%, transparent 100%);
    opacity: 0.6;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem 3rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; /* Coluna da marca maior */
    gap: 4rem;
}

/* Coluna da Marca */
.footer-logo {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.footer-logo .num {
    color: #C5A059;
    font-weight: 700;
}

.brand-manifesto {
    color: #888;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 300px;
}

/* Indicador de Status (Tech Vibe) */
.system-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #333;
    padding: 6px 12px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #00FF41; /* Verde Matrix/Terminal */
    border-radius: 50%;
    box-shadow: 0 0 8px #00FF41;
    animation: pulse-green 2s infinite;
}

.status-text {
    font-size: 0.65rem;
    color: #00FF41;
    letter-spacing: 1px;
}

/* Títulos das Colunas */
.footer-heading {
    font-family: 'Cinzel', serif;
    color: #C5A059;
    font-size: 1rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #AAA;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px); /* Move levemente para direita */
}

/* Contato e Social */
.footer-email {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 2rem;
    transition: color 0.3s;
}

.footer-email:hover {
    color: #C5A059;
}

.social-nodes {
    margin-bottom: 2rem;
}

.node-link {
    font-size: 0.75rem;
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.node-link:hover {
    color: #C5A059;
    border-color: #C5A059;
}

.separator {
    color: #333;
    margin: 0 8px;
}

.location-data {
    font-size: 0.7rem;
    color: #444;
    letter-spacing: 1px;
}

/* Rodapé Inferior */
.footer-bottom {
    border-top: 1px solid #111;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.7rem;
    color: #444;
}

.tech-signature {
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Animação do Ponto Verde */
@keyframes pulse-green {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Responsividade do Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .brand-manifesto, .footer-email, .location-data {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-links a:hover {
        transform: translateX(0); /* Remove movimento no mobile */
        color: #C5A059;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Slide Section */
.slide-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-top: 120px; /* Compensar altura do header fixed */
    background-color: #050505; /* Garantia contra flashes brancos no carregamento */
    background: linear-gradient(135deg, rgba(5,5,5,0.55), rgba(5,5,5,0.35)),
                url('../img/fundo.webp') center center / cover no-repeat;
}

/* SEÇÃO CTA - Tema Escuro */
.cta-section-dark {
    background: radial-gradient(circle at top right, rgba(12,12,12,1) 0%, rgba(5,5,5,1) 55%);
    padding: calc(110px + 3rem) 2rem 4rem;
    min-height: 240px;
    color: var(--color-gray-light);
    text-align: center;
    display: flex;
    align-items: center;
}

.cta-section-dark .section-title {
    color: #FFFFFF;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
}

.cta-section-dark .section-subtitle {
    color: #A0A0A0;
    font-family: var(--font-mono);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-section-dark .cta-button {
    background: linear-gradient(135deg, var(--color-gold-secondary), var(--color-gold-primary));
    color: var(--color-black-deep);
    border: none;
    box-shadow: var(--shadow-gold-medium);
    padding: 14px 36px;
    font-size: 1.05rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .cta-section-dark { padding: calc(80px + 1.5rem) 1.25rem; min-height: auto; }
    .cta-section-dark .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
    .cta-section-dark .section-subtitle { font-size: 1rem; }
}

/* Preserve existing manifesto block */
/* SEÇÃO MANIFESTO */
.manifesto-section {
    background-color: #0A0A0A; /* Ligeiramente mais claro que o preto puro do slide */
    padding: 6rem 2rem;
    color: #E0E0E0;
    position: relative;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #fff;
}

.section-subtitle {
    font-family: var(--font-mono);
    text-align: center;
    color: #888;
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

.dichotomy-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
    gap: 2rem;
    flex-wrap: wrap; /* Para mobile */
}

.column {
    flex: 1;
    padding: 2rem;
    border-radius: 4px;
}

.old-way {
    border-left: 1px solid #333;
    opacity: 0.6; /* Visualmente "menos importante" */
    transition: opacity 0.3s;
}

.old-way:hover {
    opacity: 0.8;
}

.new-way {
    background: linear-gradient(145deg, rgba(20,20,20,1) 0%, rgba(30,30,30,1) 100%);
    border: 1px solid rgba(197, 160, 89, 0.3); /* Borda Dourada Sutil */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.column h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.new-way h3 {
    color: #C5A059; /* Ouro */
}

.column ul {
    list-style: none;
    font-family: var(--font-mono);
    line-height: 2;
}

/* O Divisor Dourado (Visual Vertical) */
.golden-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, #C5A059, transparent);
    display: none; /* Escondido no mobile, visivel no desktop via media query */
}

@media (min-width: 768px) {
    .golden-divider { display: block; }
}

.bridge-text {
    text-align: center;
    margin-top: 4rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #666;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- A PONTE (BOTÃO DE TRANSIÇÃO) --- */
.bridge-action {
    text-align: center;
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.bridge-copy {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Estilo do Botão Sólido (Mais agressivo que o Ghost) */
.solid-button {
    text-decoration: none;
    background-color: transparent;
    color: #C5A059; /* Ouro */
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 2px;
    padding: 15px 40px;
    border: 1px solid #C5A059;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 600;
}

.solid-button:hover {
    background-color: #C5A059;
    color: #050505; /* Texto Preto no fundo Ouro */
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.4); /* Brilho Intenso */
    transform: translateY(-3px); /* Leve subida */
}

/* --- SEÇÃO ARSENAL --- */
.arsenal-section {
    background-color: #050505; /* Volta para o preto profundo */
    padding: 6rem 2rem;
    position: relative;
    /* Efeito de grade de fundo sutil para dar ar técnico */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.arsenal-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* GRID LAYOUT */
.arsenal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsivo Automático */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* O CARD (High-Tech Panel) */
.tech-card {
    background: rgba(20, 20, 20, 0.6); /* Semi-transparente */
    border: 1px solid #222; /* Borda quase invisível */
    padding: 2.5rem;
    border-radius: 8px;
    backdrop-filter: blur(10px); /* Efeito Glassmorphism */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Animação elástica */
    position: relative;
    overflow: hidden;
}

/* Efeito HOVER: A Ativação */
.tech-card:hover {
    border-color: #C5A059; /* Borda vira Ouro */
    transform: translateY(-10px); /* Sobe */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(197, 160, 89, 0.2); /* Brilho */
    background: rgba(25, 25, 25, 0.9);
}

/* Ícone */
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    filter: grayscale(100%); /* Ícone cinza por padrão */
    transition: filter 0.3s;
}

.tech-card:hover .card-icon {
    filter: grayscale(0%); /* Ícone ganha cor no hover */
    text-shadow: 0 0 15px rgba(197, 160, 89, 0.5);
}

/* Tipografia do Card */
.tech-card h3 {
    font-family: 'Playfair Display', serif;
    color: #E0E0E0;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.tech-card:hover h3 {
    color: #C5A059; /* Título fica dourado */
}

.card-desc {
    font-family: var(--font-mono);
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Lista de Serviços */
.tech-list {
    list-style: none;
    padding: 0;
}

.tech-list li {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #AAA;
    margin-bottom: 12px;
    padding-left: 15px;
    border-left: 2px solid #333; /* Marcador cinza */
    transition: border-color 0.3s;
}

.tech-card:hover .tech-list li {
    border-left-color: #C5A059; /* Marcador vira ouro */
    color: #D0D0D0;
}

.tech-list strong {
    color: #fff;
    font-weight: 600;
}

.arsenal-footer {
    text-align: center;
    margin-top: 4rem;
    color: #555;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    letter-spacing: 1px;
}

/* --- SEÇÃO PROVA SOCIAL (DATA DRIVEN) --- */
.proof-section {
    background-color: #0A0A0A;
    padding: 6rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.proof-header {
    text-align: center;
    margin-bottom: 5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* CARD DE ESTATÍSTICA */
.stat-card {
    text-align: center;
    padding: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.05); /* Linha divisória sutil */
    transition: transform 0.3s ease;
}

/* Remove a borda do último item no Desktop para ficar limpo */
.stat-card:last-child {
    border-right: none;
}

/* Responsividade: Remove bordas laterais no mobile */
@media (max-width: 768px) {
    .stat-card { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
    .stat-card:last-child { border-bottom: none; }
}

/* Tag do Nicho (Pequena, em cima) */
.case-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #666;
    border: 1px solid #333;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* O NÚMERO (Ouro) */
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem; /* Gigante */
    color: #C5A059;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
    /* Efeito de brilho no texto */
    text-shadow: 0 0 20px rgba(197, 160, 89, 0.2);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.stat-desc {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #888;
    line-height: 1.5;
    max-width: 250px;
    margin: 0 auto; /* Centraliza o texto */
}

/* Interação */
.stat-card:hover {
    transform: scale(1.05);
}

.stat-card:hover .stat-number {
    color: #fff; /* Inverte para branco no hover */
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.truth-statement {
    text-align: center;
    margin-top: 5rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #444;
    font-size: 1.2rem;
}

/* --- SEÇÃO APLICAÇÃO --- */
.application-section {
    background-color: #050505;
    padding: 6rem 2rem;
    position: relative;
    /* Fundo diferente para separar visualmente */
    background: radial-gradient(circle at top right, rgba(20, 20, 20, 1) 0%, rgba(5, 5, 5, 1) 50%);
}

.application-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    flex-wrap: wrap; /* Responsivo */
}

/* Lado Esquerdo (Texto) */
.application-text {
    flex: 1;
    min-width: 300px;
}

.application-text p {
    font-family: var(--font-mono);
    color: #888;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.application-text strong {
    color: #E0E0E0;
}

.gold-detail {
    color: #C5A059;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem !important;
}

/* Lado Direito (Formulário) */
.elite-form {
    flex: 1.2;
    background: rgba(255, 255, 255, 0.02);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 320px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 8px;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Estilo dos Inputs */
.elite-form input,
.elite-form select,
.elite-form textarea {
    width: 100%;
    background-color: #0A0A0A;
    border: 1px solid #333;
    padding: 15px;
    color: #E0E0E0;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.elite-form input:focus,
.elite-form select:focus,
.elite-form textarea:focus {
    border-color: #C5A059; /* Foco Dourado */
}

/* Botão de Envio (Destaque Total) */
.submit-button {
    width: 100%;
    background-color: #C5A059;
    color: #050505;
    border: none;
    padding: 18px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.submit-button:hover {
    background-color: #D4AF37; /* Ouro mais claro */
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}

.privacy-note {
    font-size: 0.7rem;
    color: #444;
    text-align: center;
    margin-top: 15px;
}

/* --- SEÇÃO CANDIDATURA DE DESENVOLVEDORES --- */
.dev-application-section {
    background: radial-gradient(circle at top right, rgba(20, 20, 20, 1) 0%, rgba(5, 5, 5, 1) 50%);
    padding: calc(120px + 6rem) 2rem 6rem; /* Compensar header fixo */
    position: relative;
    min-height: calc(100vh - 120px);
}

.dev-application-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    flex-wrap: wrap; /* Responsivo */
}

/* Lado Esquerdo (Texto) */
.dev-application-text {
    flex: 1;
    min-width: 300px;
}

.dev-application-text p {
    font-family: var(--font-mono);
    color: #888;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.dev-application-text ul li {
    font-family: var(--font-mono);
    color: #AAA;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.dev-application-text strong {
    color: #E0E0E0;
}

/* Lado Direito (Formulário) */
.dev-elite-form {
    flex: 1.2;
    background: rgba(255, 255, 255, 0.02);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 320px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 8px;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Estilo dos Inputs */
.dev-elite-form input,
.dev-elite-form select,
.dev-elite-form textarea {
    width: 100%;
    background-color: #0A0A0A;
    border: 1px solid #333;
    padding: 15px;
    color: #E0E0E0;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.dev-elite-form input:focus,
.dev-elite-form select:focus,
.dev-elite-form textarea:focus {
    border-color: #C5A059; /* Foco Dourado */
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.1);
}

.dev-elite-form input::placeholder,
.dev-elite-form textarea::placeholder {
    color: #555;
}

.dev-elite-form select {
    cursor: pointer;
}

.dev-elite-form select option {
    background-color: #0A0A0A;
    color: #E0E0E0;
}

/* Responsivo */
@media (max-width: 768px) {
    .dev-application-section {
        padding: calc(120px + 3rem) 1.5rem 3rem;
    }

    .dev-application-container {
        gap: 2rem;
    }

    .dev-elite-form {
        padding: 2rem;
    }
}

/* --- PROTOCOLO 33 PAGE STYLES --- */

/* Scrollbar premium para página protocolo */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #050505;
}
::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 8px;
    border: 2px solid #050505;
}
::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}

/* Evita que âncoras e scroll automático fiquem escondidos atrás do header fixo */
html, body {
    scroll-padding-top: 120px; /* header fixo desktop */
}
/* Garante espaço extra no topo para compensar o header fixo do site */
.protocol-container {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    padding: calc(max(5.5rem, 120px) + 6rem) 2rem 4rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.34));
}

/* Protocol Header */
.protocol-header {
    max-width: 1200px;
    margin: 0 auto 5rem auto;
    text-align: center;
    border-bottom: 1px solid #222;
    padding-bottom: 3.5rem;
    position: relative;
}

.protocol-header::before {
    content: '';
    position: absolute;
    inset: -2rem 0 auto 0;
    height: 14rem;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

.protocol-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.6rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #F4D03F;
    margin: 0 auto 1.2rem auto;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 0 40px rgba(244, 208, 63, 0.35);
}

.protocol-subtitle {
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    color: #A0A0A0;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Grid de Conceitos */
.grid-33 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.concept-card {
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid #222;
    padding: 2.1rem;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.concept-card:hover {
    border-color: #F4D03F;
    transform: translateY(-6px);
    background: rgba(0, 0, 0, 0.62);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.12);
}

.concept-number {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 1rem;
    display: inline-block;
    border-bottom: 1px solid #222;
    padding-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.concept-title {
    font-family: 'Cinzel', serif;
    font-size: 1.35rem;
    color: #E0E0E0;
    margin-bottom: 0.9rem;
    letter-spacing: 0.01em;
}

.concept-desc {
    font-size: 0.92rem;
    color: #A0A0A0;
    line-height: 1.75;
}

.concept-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, transparent 52%, #D4AF37 52%, #F4D03F 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.concept-card:hover::after {
    opacity: 1;
}

.protocol-footer {
    display: none !important;
}

/* Mobile Adjustments para Protocolo */
@media (max-width: 768px) {
    .protocol-container {
        padding: max(6rem, 100px) 1.25rem 3rem;
    }

    .protocol-title {
        font-size: clamp(2rem, 8vw, 3rem);
        letter-spacing: 0.05em;
    }

    .grid-33 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .concept-card {
        padding: 1.7rem;
    }
}

/* --- PÁGINA SERVIÇOS (BLUEPRINT STYLE) --- */

/* Ajuste do Body para página serviços */
.servicos-body {
    background-color: #050505;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px; /* Grade técnica de fundo */
}

/* Header da Página (Hero) */
.blueprint-header {
    padding: calc(120px + 6rem) 2rem 5rem; /* Compensar header fixo */
    text-align: center;
    background: radial-gradient(circle at center, rgba(17, 17, 17, 0.9) 0%, rgba(5, 5, 5, 0.95) 80%);
    border-bottom: 1px dashed #333;
    position: relative;
}

.page-headline {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #F4D03F;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(244, 208, 63, 0.2);
}

.page-subheadline {
    font-family: 'Space Mono', monospace;
    color: #A0A0A0;
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid de Serviços */
.blueprint-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1px; /* Linhas finas entre os cards */
    background-color: #222; /* Cor das linhas */
    border-bottom: 1px solid #222;
    max-width: 1400px;
    margin: 0 auto;
}

.service-block {
    background-color: rgba(5, 5, 5, 0.95);
    padding: 3rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-block:hover {
    background-color: rgba(15, 15, 15, 1);
}

/* Efeito de hover técnico */
.service-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0%;
    background-color: #C5A059;
    transition: height 0.3s ease;
}

.service-block:hover::before {
    height: 100%;
}

/* Categoria (Badge) */
.service-category {
    font-family: 'Space Mono', monospace;
    color: #C5A059;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: inline-block;
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 5px 12px;
}

.service-title {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

/* Lista de Detalhes */
.service-details {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service-details li {
    font-family: 'Inter', sans-serif;
    color: #999;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    font-size: 0.9rem;
}

.service-details li strong {
    color: #E0E0E0;
    font-weight: 600;
}

.service-details li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #C5A059;
    font-family: 'Space Mono', monospace;
    font-weight: bold;
}

/* Especificações Técnicas (Rodapé do Card) */
.tech-specs {
    padding-top: 1.5rem;
    border-top: 1px solid #1a1a1a;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-link {
    display: block;
    margin-top: 1.5rem;
    text-align: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: #C5A059;
    text-decoration: none;
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 10px;
    transition: all 0.3s;
}

.spec-link:hover {
    background-color: #C5A059;
    color: #000;
    font-weight: bold;
}

/* Responsividade para Serviços */
@media (max-width: 768px) {
    .blueprint-grid {
        grid-template-columns: 1fr;
    }
    .service-block {
        padding: 2rem;
    }
}

/* --- PÁGINAS DE SERVIÇOS ESPECÍFICAS (DETALHE) --- */

/* Hero Menor e Mais Direto */
.service-hero {
    padding: calc(120px + 4rem) 2rem 4rem;
    border-bottom: 1px solid #222;
    background: radial-gradient(circle at top right, rgba(20,20,20,1), #050505);
}

.service-type {
    font-family: 'Space Mono', monospace;
    color: #C5A059;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
}

.service-headline {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 1.5rem;
}

.service-intro {
    color: #A0A0A0;
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* O Diagnóstico (Problema vs Solução) */
.diagnosis-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #222;
}

.diagnosis-col {
    padding: 4rem;
}

.problem-col {
    background-color: #080808;
    border-right: 1px solid #222;
}

.solution-col {
    background-color: #050505;
}

.col-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.text-problem { color: #ff4444; }
.text-solution { color: #00ff41; }

.diagnosis-list {
    list-style: none;
    padding: 0;
}

.diagnosis-list li {
    margin-bottom: 1.5rem;
    color: #888;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

.diagnosis-list li strong {
    display: block;
    color: #E0E0E0;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
}

/* Entregáveis (Checklist) */
.deliverables-section {
    padding: 6rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

.deliverable-item {
    border: 1px solid #222;
    padding: 2rem;
    background: rgba(255,255,255,0.02);
}

.deliverable-item h3 {
    color: #C5A059;
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.deliverable-item p {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsividade para Páginas de Serviço */
@media (max-width: 768px) {
    .diagnosis-section { 
        grid-template-columns: 1fr; 
    }
    .problem-col { 
        border-right: none; 
        border-bottom: 1px solid #222; 
    }
    .diagnosis-col { 
        padding: 3rem 2rem; 
    }
}</content>
<parameter name="filePath">c:\www\33digital.com.br\site\assets\css\style.css