/* ==============================================================================
   B10 DIGITAL — MANUAL OFICIAL DE UTILIZAÇÃO
   Design System: Dark Luxury + Gold Accents + Pure CSS Mobile Mockup
   Leve, Rápido, 100% Responsivo
   ============================================================================== */

:root {
    --bg-dark: #070a12;
    --bg-card: #0d1322;
    --bg-card-hover: #121a2d;
    --bg-elevated: #162035;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(245, 158, 11, 0.4);
    
    --gold-primary: #f59e0b;
    --gold-light: #fbbf24;
    --gold-dark: #d97706;
    --gold-glow: rgba(245, 158, 11, 0.25);
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --text-gold: #f59e0b;
    
    --success: #10b981;
    --phone-chassis: #1e2538;
    --phone-border: #2a344d;
    
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px -10px rgba(245, 158, 11, 0.2);
}

*, *::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-primary);
    font-family: var(--font-sans);
}

body {
    background: radial-gradient(circle at 50% 0%, #151d33 0%, var(--bg-dark) 70%);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==============================================================================
   BARRA DE PROGRESSO SUPERIOR
   ============================================================================== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    width: 0%;
    z-index: 9999;
    box-shadow: 0 0 10px var(--gold-primary);
    transition: width 0.1s ease;
}

/* ==============================================================================
   HEADER FIXO
   ============================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 10, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-primary);
}

.header-logo-img {
    height: 42px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.4));
    transition: transform 0.25s ease, filter 0.25s ease;
}

.brand-logo:hover .header-logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 16px rgba(245, 158, 11, 0.7));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text small {
    font-size: 0.72rem;
    color: var(--gold-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-action-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-action-nav:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--gold-primary);
    color: var(--gold-light);
}

.btn-acessar-app {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: #000;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-acessar-app:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
}

/* ==============================================================================
   DRAWER / ÍNDICE LATERAL (20 ETAPAS)
   ============================================================================== */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.drawer-indice {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100%;
    background: var(--bg-card);
    border-left: 1px solid var(--border-color);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
}

.drawer-indice.active {
    right: 0;
}

.drawer-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.drawer-title-group h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
}

.drawer-logo-wrap {
    margin-bottom: 10px;
}

.drawer-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.4));
}

.drawer-title-group p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.btn-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s;
}

.btn-close:hover {
    color: #fff;
}

.drawer-search {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
}

.drawer-search input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s;
}

.drawer-search input:focus {
    border-color: var(--gold-primary);
}

.drawer-nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
}

.indice-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.indice-item-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.indice-item-link:hover, .indice-item-link.current-active {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fff;
}

.indice-badge {
    background: rgba(245, 158, 11, 0.15);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    min-width: 30px;
    text-align: center;
}

.indice-title-col {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.indice-tag {
    font-size: 0.68rem;
    color: var(--gold-light);
    font-weight: 700;
    text-transform: uppercase;
}

.indice-step-name {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==============================================================================
   HERO SECTION
   ============================================================================== */
.hero-section {
    position: relative;
    padding: 60px 0 40px;
    text-align: center;
    overflow: hidden;
}

.hero-glow-1 {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    top: 50px;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.hero-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.hero-logo-img {
    height: 90px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(245, 158, 11, 0.45));
    transition: transform 0.3s ease;
}

.hero-logo-img:hover {
    transform: scale(1.04);
}

.badge-gold {
    background: rgba(245, 158, 11, 0.15);
    color: var(--gold-light);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.badge-dark {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-accent {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 18px;
    color: #fff;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.text-gold {
    color: var(--gold-primary);
    background: linear-gradient(135deg, #fbbf24 20%, #f59e0b 60%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 780px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

/* Barra de Pesquisa */
.search-box {
    max-width: 650px;
    margin: 0 auto 30px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 18px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-input-wrapper input {
    width: 100%;
    padding: 16px 45px 16px 52px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.25s ease;
}

.search-input-wrapper input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.25);
    background: #0f172a;
}

.btn-clear-search {
    position: absolute;
    right: 18px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
}

.btn-clear-search:hover {
    color: #fff;
}

.search-feedback {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--gold-light);
    font-weight: 600;
    min-height: 20px;
}

/* Categorias Bar */
.categories-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 1000px;
    margin: 0 auto;
}

.cat-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cat-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.cat-pill.active {
    background: var(--gold-primary);
    color: #000;
    border-color: var(--gold-primary);
    font-weight: 800;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.35);
}

/* ==============================================================================
   CARTOES DAS ETAPAS
   ============================================================================== */
.main-content {
    padding: 40px 0 80px;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px -5px rgba(245, 158, 11, 0.15);
}

.step-card:hover::before {
    opacity: 1;
}

.step-card-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

/* Coluna de Instruções */
.step-info {
    display: flex;
    flex-direction: column;
}

.step-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.step-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 5px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-category-pill {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    font-size: 0.76rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
}

.step-tag-pill {
    background: rgba(245, 158, 11, 0.12);
    color: var(--gold-light);
    border: 1px solid rgba(245, 158, 11, 0.25);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}

.step-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 8px;
}

.step-subtitle {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--gold-light);
    margin-bottom: 24px;
}

.step-instructions {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.step-instructions li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.step-marker {
    background: rgba(245, 158, 11, 0.15);
    color: var(--gold-light);
    border: 1px solid rgba(245, 158, 11, 0.4);
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-text {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.step-text strong {
    color: #fff;
}

.step-text em {
    color: var(--gold-light);
    font-style: normal;
    font-weight: 600;
}

.link-inline {
    color: var(--gold-primary);
    text-decoration: underline;
    font-weight: 700;
    transition: color 0.2s;
}

.link-inline:hover {
    color: var(--gold-light);
}

/* Dica Pratica Box */
.step-tip-box {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.tip-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.tip-content {
    font-size: 0.88rem;
    color: #e2e8f0;
    line-height: 1.5;
}

.tip-content strong {
    color: var(--gold-light);
}

/* Acoes do Cartao */
.step-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-share-step, .btn-zoom-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-share-step:hover, .btn-zoom-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* ==============================================================================
   MOCKUP CSS DE CELULAR (LEVE & ULTRA-RÁPIDO)
   "deixa as imanes em css pra ficar leve da jeito né?"
   ============================================================================== */
.step-device-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup-wrapper {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.phone-frame {
    position: relative;
    background: #0f131f;
    border: 10px solid #1f273d;
    border-radius: 40px;
    box-shadow: 
        0 0 0 2px rgba(255, 255, 255, 0.1),
        0 20px 40px -10px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(245, 158, 11, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-mockup-wrapper:hover .phone-frame {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 
        0 0 0 2px rgba(245, 158, 11, 0.4),
        0 25px 50px -10px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(245, 158, 11, 0.25);
}

/* Alto-falante e Câmera Frontal em CSS */
.phone-speaker {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: #2a344d;
    border-radius: 4px;
    z-index: 20;
}

.phone-camera {
    position: absolute;
    top: 8px;
    left: calc(50% - 40px);
    width: 8px;
    height: 8px;
    background: #111827;
    border: 1.5px solid #2a344d;
    border-radius: 50%;
    z-index: 20;
}

/* Botões Laterais em CSS */
.phone-volume-up {
    position: absolute;
    top: 90px;
    left: -13px;
    width: 3px;
    height: 35px;
    background: #2a344d;
    border-radius: 2px 0 0 2px;
}

.phone-volume-down {
    position: absolute;
    top: 135px;
    left: -13px;
    width: 3px;
    height: 35px;
    background: #2a344d;
    border-radius: 2px 0 0 2px;
}

.phone-power {
    position: absolute;
    top: 110px;
    right: -13px;
    width: 3px;
    height: 45px;
    background: #2a344d;
    border-radius: 0 2px 2px 0;
}

/* Tela e Imagem */
.phone-screen {
    position: relative;
    background: #000;
    overflow: hidden;
    cursor: pointer;
    line-height: 0;
}

.phone-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.phone-mockup-wrapper:hover .phone-img {
    transform: scale(1.02);
}

/* Botao Flutuante de Zoom */
.img-overlay-zoom {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 19, 34, 0.9);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
    white-space: nowrap;
}

.phone-screen:hover .img-overlay-zoom {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.img-overlay-zoom:hover {
    background: var(--gold-primary);
    color: #000;
}

/* ==============================================================================
   MODAL LIGHTBOX (ZOOM EM TELA CHEIA)
   ============================================================================== */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
}

.lightbox-dialog {
    position: relative;
    max-width: 90vw;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.lightbox-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid var(--border-color);
}

.lightbox-caption {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold-light);
}

.lightbox-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.lightbox-body {
    background: #000;
    padding: 12px;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: center;
    overflow: auto;
}

.lightbox-body img {
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

/* ==============================================================================
   TOAST DE NOTIFICACAO
   ============================================================================== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #10b981;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==============================================================================
   BOTAO FLUTUANTE VOLTAR AO TOPO
   ============================================================================== */
.btn-back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 46px;
    height: 46px;
    background: rgba(13, 19, 34, 0.85);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.25s ease;
    z-index: 1000;
}

.btn-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.btn-back-to-top:hover {
    background: var(--gold-primary);
    color: #000;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

/* ==============================================================================
   FOOTER OFICIAL
   ============================================================================== */
.site-footer {
    background: #05080e;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.35));
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.footer-location {
    font-size: 0.82rem;
    color: var(--gold-light);
    font-weight: 600;
}

.footer-nav h4, .footer-links h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.footer-links p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.btn-footer-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: #000;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    transition: all 0.2s;
}

.btn-footer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--text-muted);
}

/* ==============================================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ============================================================================== */
@media (max-width: 992px) {
    .step-card-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .step-device-col {
        order: -1; /* Exibe o celular no topo em telas menores */
    }
    
    .phone-mockup-wrapper {
        max-width: 280px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .step-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .hero-title {
        font-size: 1.65rem;
    }

    .hero-lead {
        font-size: 0.95rem;
    }

    .step-title {
        font-size: 1.45rem;
    }

    .phone-mockup-wrapper {
        max-width: 250px;
    }
    
    .header-actions .btn-action-nav span {
        display: none;
    }

    .header-logo-img {
        height: 32px;
    }

    .logo-text small {
        display: none;
    }

    .hero-logo-img {
        height: 64px;
    }
}
