/* ==========================================================================
   CÓDEX VINTERIANO: ARQUIVO guia.css (v2.0 - SOBERANIA VISUAL)
   DIRETIVA: Materializar a "Arquitetura de Mídia Comutável" com soberania.
   ARQUITETURA: Mobile-First, Performance Absoluta, Estética de Elite.
   ==========================================================================
*/

/* -------------------------------------------------------------------------- */
/* 1.0: DEFINIÇÕES GLOBAIS E VARIÁVEIS (A FONTE DA VERDADE)
/* -------------------------------------------------------------------------- */

:root {
    /* Paleta de Cores Primárias */
    --background-center: #0A0F14;
    --background-edge: #010409;
    --text-primary: rgba(255, 255, 255, 0.9);
    --text-secondary: rgba(255, 255, 255, 0.7);

    /* Cores de Acento (Luz e Energia) */
    --accent-cyan: #00FFFF;
    --accent-green: #39FF14;
    --accent-glow: rgba(0, 255, 255, 0.3);
    --accent-glow-intense: rgba(0, 255, 255, 0.5);

    /* Tipografia */
    --font-primary: 'Inter', sans-serif;

    /* Curva de Animação (Suavidade e Precisão) */
    --easing-curve: cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-duration: 0.5s;
}


/* -------------------------------------------------------------------------- */
/* 2.0: RESET E ESTILOS DE BASE (A FUNDAÇÃO)
/* -------------------------------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--background-edge);
    /* EFEITO DE SOBERANIA: Gradiente animado sutil para um fundo vivo. */
    background: linear-gradient(-45deg, var(--background-edge), var(--background-center), #0a111a, var(--background-edge));
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevenir scroll horizontal */
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* -------------------------------------------------------------------------- */
/* 3.0: ESTRUTURA E LAYOUT (A ARQUITETURA DA INFORMAÇÃO)
/* -------------------------------------------------------------------------- */

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 24px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

section {
    width: 100%;
    text-align: center;
}


/* -------------------------------------------------------------------------- */
/* 4.0: COMPONENTES DA INTERFACE (OS ARTEFATOS)
/* -------------------------------------------------------------------------- */

/* Títulos */
.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 0 15px var(--accent-glow);
}

.section-title, .support-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.support-title {
    font-size: 1.5rem;
}

/* ARQUITETURA DE MÍDIA COMUTÁVEL: Componentes */
.view-switcher {
    display: flex;
    justify-content: center;
    background-color: rgba(10, 15, 20, 0.7);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 48px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.switcher-btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s var(--easing-curve);
}

.switcher-btn.active {
    color: var(--background-edge);
    background-color: var(--accent-cyan);
    /* EFEITO DE SOBERANIA: Borda de Energia */
    box-shadow: 0 0 15px var(--accent-glow-intense);
}

.view-content {
    transition: opacity 0.4s var(--easing-curve), transform 0.4s var(--easing-curve);
}

.view-content.hidden {
    display: none;
    opacity: 0;
    transform: translateY(10px);
}

/* Player de Vídeo */
.video-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

.video-wrapper video {
    display: block;
    width: 100%;
    height: auto;
}

/* Guia Passo a Passo */
.step-by-step-guide {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.step-block {
    text-align: left;
    padding: 24px;
    border-radius: 16px;
    /* EFEITO DE SOBERANIA: Glassmorfismo */
    background: linear-gradient(145deg, rgba(10, 15, 20, 0.5), rgba(1, 4, 9, 0.5));
    border: 1px solid rgba(0, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    background-color: rgba(0, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-shadow: 0 0 10px var(--accent-cyan);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.step-instruction {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.step-instruction strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* O estado "Conectado" em verde néon */
.step-block:last-child .step-title,
.step-block:nth-child(9) .step-instruction strong {
    color: var(--accent-green);
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.step-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Seção de Suporte e Botão de Ação */
.support-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.support-button {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: color var(--transition-duration) var(--easing-curve), box-shadow var(--transition-duration) var(--easing-curve), background-color var(--transition-duration) var(--easing-curve);
}

.support-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
    transition: left var(--transition-duration) var(--easing-curve);
}

.support-button:hover,
.support-button:focus {
    color: var(--background-edge);
    box-shadow: 0 0 20px var(--accent-glow);
    background-color: var(--accent-cyan);
}

.support-button:hover::before {
    left: 100%;
}


/* -------------------------------------------------------------------------- */
/* 5.0: ANIMAÇÕES E TRANSIÇÕES (A COREOGRAFIA DA INTERFACE)
/* -------------------------------------------------------------------------- */

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-duration) var(--easing-curve), transform var(--transition-duration) var(--easing-curve);
    transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* -------------------------------------------------------------------------- */
/* 6.0: MEDIA QUERIES (ADAPTAÇÃO SECUNDÁRIA PARA DESKTOP)
/* -------------------------------------------------------------------------- */

@media (min-width: 768px) {
    .container {
        padding: 64px 24px;
        gap: 80px;
    }

    .main-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.25rem;
    }
}