/* ==========================================================================
   orientacoes-simuladores.css
   Estilos dedicados para a página interativa de orientações e limites
   Hanuthai Fight - Simulador HNT
   ========================================================================== */

:root {
    --gold: #D4AF37;
    --gold-glow: rgba(212, 175, 55, 0.45);
    --gold-light: #FFD700;
    --cyan: #00F0FF;
    --cyan-glow: rgba(0, 240, 255, 0.4);
    --green: #00E676;
    --green-glow: rgba(0, 230, 118, 0.4);
    --red: #FF3B30;
    --red-glow: rgba(255, 59, 48, 0.45);
    --dark-bg: #090b0f;
    --card-bg: #10131a;
    --card-border: #1e2433;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
}

body.guide-body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* TOPBAR */
.guide-header {
    background: rgba(10, 12, 18, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 24px;
}

.guide-header-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.gold-badge {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #000;
    font-weight: 900;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.header-title-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 1px;
    color: #fff;
}

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

.quick-nav-links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-quick-sim {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #282e3e;
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-quick-sim:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    color: #fff;
    transform: translateY(-1px);
}

.btn-help-return {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--cyan);
    font-size: 0.76rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-help-return:hover {
    background: rgba(0, 240, 255, 0.2);
    box-shadow: 0 0 10px var(--cyan-glow);
}

/* HERO SECTION */
.guide-hero {
    background: radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.08) 0%, rgba(9, 11, 15, 1) 70%);
    border-bottom: 1px solid #1a1e29;
    padding: 40px 24px 30px;
    text-align: center;
}

.guide-hero-content {
    max-width: 1080px;
    margin: 0 auto;
}

.hero-chip {
    display: inline-block;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold);
    font-size: 0.74rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    letter-spacing: 1.5px;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.05;
}

.gold-gradient {
    background: linear-gradient(135deg, #FFF099, #FFD700, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 auto 28px;
    max-width: 860px;
}

.hero-description strong {
    color: #fff;
}

/* GLOBAL CONTROLS BAR */
.global-toggles-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: rgba(16, 19, 26, 0.9);
    border: 1px solid #232938;
    border-radius: 12px;
    padding: 12px 18px;
    flex-wrap: wrap;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.toggle-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ctrl-btn {
    background: #141722;
    border: 1px solid #282f42;
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.ctrl-btn:hover {
    border-color: #3b4560;
    color: #fff;
    background: #191e2c;
}

.ctrl-btn.active {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--gold);
    color: #fff;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.dot-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-indicator.green { background: var(--green); box-shadow: 0 0 8px var(--green-glow); }
.dot-indicator.gold { background: var(--gold); box-shadow: 0 0 8px var(--gold-glow); }
.dot-indicator.cyan { background: var(--cyan); box-shadow: 0 0 8px var(--cyan-glow); }

.automation-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-auto-tour {
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    color: #000;
    font-weight: 900;
    font-size: 0.82rem;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px var(--gold-glow);
    transition: all 0.2s;
}

.btn-auto-tour:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 22px rgba(212, 175, 55, 0.6);
}

.btn-auto-tour.active {
    background: linear-gradient(135deg, #FF3B30, #C41E3A);
    color: #fff;
    box-shadow: 0 4px 16px var(--red-glow);
}

.tour-icon {
    font-size: 0.85rem;
}

.tour-status {
    font-size: 0.74rem;
    color: var(--text-muted);
    background: #141822;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #232a3a;
    font-weight: 600;
}

/* SUB-ABAS / PRODUTOS TAB NAV */
.products-tab-nav {
    background: #0c0e14;
    border-bottom: 1px solid #1a1e2a;
    position: sticky;
    top: 57px;
    z-index: 990;
    overflow-x: auto;
}

.tab-nav-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 4px;
    padding: 8px 16px;
    min-width: max-content;
}

.prod-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--text-muted);
    padding: 10px 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.22s ease;
    text-align: left;
}

.prod-tab-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border-color: #242b3a;
}

.prod-tab-btn.active {
    background: #141824;
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(212, 175, 55, 0.08);
}

.prod-tab-btn.active .prod-name {
    color: var(--gold);
}

.prod-tab-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.prod-name {
    display: block;
    font-weight: 800;
    font-size: 0.88rem;
    color: #e2e8f0;
}

.prod-sub {
    display: block;
    font-size: 0.68rem;
    color: #718096;
    margin-top: 2px;
}

/* PALCO PRINCIPAL (STAGE) */
.interactive-stage {
    padding: 30px 24px;
    max-width: 1440px;
    margin: 0 auto;
}

.stage-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: start;
}

@media (max-width: 1024px) {
    .stage-container {
        grid-template-columns: 1fr;
    }
}

/* CARD DO VISUALIZADOR (ESQUERDA) */
.viewport-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.viewport-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    background: linear-gradient(90deg, #131722, #0d0f15);
    border-bottom: 1px solid #1f2535;
    flex-wrap: wrap;
    gap: 12px;
}

.viewport-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-live-pulse {
    background: rgba(0, 230, 118, 0.15);
    color: var(--green);
    border: 1px solid rgba(0, 230, 118, 0.4);
    font-size: 0.65rem;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 12px;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

.viewport-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.45rem;
    letter-spacing: 0.8px;
    color: #fff;
    margin: 0;
}

.view-indicator {
    font-size: 0.7rem;
    background: #1b212f;
    border: 1px solid #2e374d;
    color: var(--cyan);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 800;
}

.viewport-controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.view-switch-btns {
    display: flex;
    background: #090a0f;
    border: 1px solid #222938;
    border-radius: 8px;
    padding: 3px;
    gap: 3px;
}

.btn-view-toggle {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-view-toggle.active {
    background: #1a202c;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* CONTROLES DO GABARITO TÉCNICO OFICIAL */
.gabarito-switch-group {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #0b0e14;
    border: 1px solid #232a3b;
    border-radius: 8px;
    padding: 3px;
}

.btn-gabarito-toggle {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-gabarito-toggle .gabarito-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #64748b;
    transition: all 0.2s;
}

.btn-gabarito-toggle.active {
    background: rgba(0, 240, 255, 0.12);
    color: var(--cyan);
    border: 1px solid rgba(0, 240, 255, 0.35);
}

.btn-gabarito-toggle.active .gabarito-dot {
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan-glow);
}

.btn-gabarito-mode {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-gabarito-mode:hover {
    background: rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 10px var(--gold-glow);
}

.color-swatches {
    display: flex;
    align-items: center;
    gap: 6px;
}

.color-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #2a3142;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
}

.color-dot:hover {
    transform: scale(1.15);
}

.color-dot.active {
    border-color: var(--gold);
    box-shadow: 0 0 10px var(--gold-glow);
    transform: scale(1.12);
}

/* O CANVAS DE SIMULAÇÃO (IGUAL AO SIMULADOR OFICIAL HANUTHAI) */
.mockup-screen-wrapper {
    background: #000 url('../DataFilesBasic/Audiovisual/Ringue/RingHNT2.webp?v=4') no-repeat center bottom;
    background-size: cover;
    position: relative;
    padding: 24px 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 560px;
    border-radius: 14px;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.9);
    overflow: hidden;
}

/* Pílula Flutuante Topo Direita (Padrão Simulador Oficial) */
.sim-floating-view-pill {
    position: absolute;
    top: 18px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 18, 27, 0.88);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 0.82rem;
    color: #fff;
    backdrop-filter: blur(8px);
    z-index: 30;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.view-pill-arrow {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0 4px;
    transition: color 0.2s;
}

.view-pill-arrow:hover {
    color: var(--gold);
}

.view-pill-content {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Badges Flutuantes Inferior Esquerda (Padrão Simulador Oficial) */
.sim-floating-bottom-badges {
    position: absolute;
    bottom: 22px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 30;
    pointer-events: none;
}

.sim-badge-experimental {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.5);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: 0.03em;
    backdrop-filter: blur(6px);
}

.badge-dot-live {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #eab308;
    box-shadow: 0 0 8px #eab308;
    animation: livePulse 2s infinite;
}

.sim-badge-view-mode {
    font-size: 0.72rem;
    color: #cbd5e1;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    width: fit-content;
}

.sim-badge-view-mode strong {
    color: var(--gold);
}

/* Controles Cosméticos Inferior Direita (Zoom & Lock) */
.sim-floating-zoom-controls {
    position: absolute;
    bottom: 22px;
    right: 20px;
    display: flex;
    gap: 5px;
    z-index: 30;
}

.sim-zoom-btn {
    width: 28px;
    height: 28px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: all 0.2s;
}

.sim-zoom-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* O PALCO QUADRADO 1:1 EXATO ONDE OCORRE O ALINHAMENTO MATEMÁTICO */
.mockup-aspect-box {
    position: relative;
    width: 100%;
    max-width: 680px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    margin: 10px auto;
}

.base-product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.9));
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* CAMADAS COMPOSTAS OFICIAIS DO FIGHT SHORTS (FRENTE + 2 LATERAIS DE PERFIL) */
.shorts-layers-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shorts-layers-container img.sim-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    transform: translateZ(0);
}

/* CAMADA DE LIMITES REAIS DO SIMULADOR (ASSETS .WEBP TRANSPARENTES 1:1) */
.real-limit-overlay-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    z-index: 12;
    transition: opacity 0.25s ease;
    opacity: 0.95;
}

.real-limit-overlay-img.hidden-limit {
    opacity: 0;
}

.multi-limits-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 12;
}

.multi-limit-layer-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    opacity: 0.55;
    transition: opacity 0.25s ease;
}

.multi-limit-layer-img.active-zone-layer {
    opacity: 1;
    filter: drop-shadow(0 0 6px var(--gold-glow));
}

/* CARD DO ASSET NO INSPETOR */
.gabarito-asset-info {
    background: rgba(0, 240, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 10px;
    padding: 12px 14px;
}

.gabarito-asset-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.asset-file-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.asset-filename-badge {
    background: #090c12;
    border: 1px solid #1f2738;
    color: var(--cyan);
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.72rem;
    padding: 4px 8px;
    border-radius: 6px;
    word-break: break-all;
}

.asset-scale-note {
    font-size: 0.7rem;
    color: #94a3b8;
    line-height: 1.4;
}

/* CAMADA SVG DE RETÂNGULOS (SUTIS E SEM PREENCHIMENTO OPACO) */
.limits-overlay-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.svg-boundary-box {
    fill: none !important;
    stroke: rgba(212, 175, 55, 0.2);
    stroke-width: 0.5;
    stroke-dasharray: 2, 2;
    transition: all 0.25s ease;
}

.svg-boundary-box.gold {
    stroke: rgba(212, 175, 55, 0.3);
}

.svg-boundary-box.active {
    fill: none !important;
    stroke: #FFD700 !important;
    stroke-width: 1.5;
    stroke-dasharray: none;
    filter: drop-shadow(0 0 6px var(--gold-glow));
}

.svg-boundary-box.conflict-blocked {
    stroke: var(--red);
    stroke-width: 1.2;
}

/* HOTSPOTS INTERATIVOS (PONTOS EXATOS DE BORDADO) */
.interactive-zones-layer {
    position: absolute;
    inset: 0;
    z-index: 20;
}

.hotspot-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 25;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hotspot-pin:hover,
.hotspot-pin.active {
    transform: translate(-50%, -50%) scale(1.3);
    z-index: 30;
}

.hotspot-pulse-ring {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 10px var(--gold-glow);
    animation: pulsePin 2.4s infinite ease-out;
}

.hotspot-pin.cyan .hotspot-pulse-ring {
    background: rgba(0, 240, 255, 0.2);
    border-color: var(--cyan);
    box-shadow: 0 0 10px var(--cyan-glow);
}

.hotspot-core-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 4px #ffffff;
}

.hotspot-tag {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(8, 10, 15, 0.95);
    border: 1px solid var(--gold);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.8);
    z-index: 50;
}

.hotspot-pin:hover .hotspot-tag,
.hotspot-pin.active .hotspot-tag {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

@keyframes pulsePin {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* CAIXA RETANGULAR HTML TOTALMENTE TRANSPARENTE (SEM BLOQUEAR A PEÇA) */
.zone-box-rect {
    position: absolute;
    background: transparent !important;
    border: 1px dashed rgba(212, 175, 55, 0.25);
    border-radius: 6px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
}

.zone-box-rect:hover {
    background: rgba(212, 175, 55, 0.05) !important;
    border: 1.5px solid #FFD700;
}

.zone-box-rect.active {
    background: rgba(212, 175, 55, 0.08) !important;
    border: 2px solid #FFD700;
    box-shadow: 0 0 14px var(--gold-glow);
}

/* Rótulos de Dimensão Ativados pelo botão "Medidas Reais (cm)" */
.zone-dimension-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(10, 12, 16, 0.88);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(212, 175, 55, 0.65);
    color: #F6E27A;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    pointer-events: none;
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    z-index: 20;
    transition: opacity 0.2s ease;
}

.zone-dimension-badge.cyan {
    border-color: rgba(0, 240, 255, 0.65);
    color: #38bdf8;
}

/* NUNCA MOSTRAR RÓTULOS EMPILHADOS SOBRE A ROUPA */
.zone-dim-label {
    display: none !important;
}

/* ELEMENTO FANTASMA REMOVIDO PARA NÃO TAMPAR O SHORTS */
.sim-ghost-element {
    display: none !important;
}

/* TOAST/BARRA INFORMATIVA ABAIXO DA PEÇA */
.realtime-rule-bar {
    margin-top: 16px;
    background: rgba(12, 15, 22, 0.94);
    border: 1px solid #283042;
    color: #e2e8f0;
    font-size: 0.8rem;
    padding: 8px 18px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 95%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    transition: all 0.25s ease;
}

/* LEGENDA DE CORES */
.limits-legend-bar {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 14px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-box {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    border: 1px solid transparent;
}

.legend-box.gold { background: rgba(212, 175, 55, 0.3); border-color: var(--gold); }
.legend-box.cyan { background: rgba(0, 240, 255, 0.3); border-color: var(--cyan); }
.legend-box.green { background: rgba(0, 230, 118, 0.3); border-color: var(--green); }
.legend-box.red { background: rgba(255, 59, 48, 0.3); border-color: var(--red); }

/* BARRA DE PROGRESSO DO TOUR */
.tour-stepper-bar {
    background: #0f121a;
    border-top: 1px solid #1f2535;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.stepper-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stepper-step {
    font-size: 0.72rem;
    color: var(--gold);
    font-weight: 800;
}

.stepper-action-label {
    font-size: 0.88rem;
    color: #fff;
}

.stepper-progress {
    flex: 1;
    min-width: 140px;
    height: 6px;
    background: #1b2130;
    border-radius: 4px;
    overflow: hidden;
}

.stepper-progress-fill {
    height: 100%;
    width: 16.66%;
    background: linear-gradient(90deg, var(--gold), var(--cyan));
    transition: width 0.35s ease;
}

.stepper-buttons {
    display: flex;
    gap: 8px;
}

.btn-step {
    background: #181c28;
    border: 1px solid #2b3348;
    color: #cbd5e1;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-step:hover {
    background: #202636;
    color: #fff;
    border-color: #3f4a66;
}

/* COLUNA DIREITA: INSPETOR DE DETALHES */
.inspector-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.inspector-header {
    background: linear-gradient(135deg, #171c28, #10131d);
    border-bottom: 1px solid #23293b;
    padding: 20px 24px;
}

.inspector-badge {
    font-size: 0.68rem;
    color: var(--gold);
    font-weight: 900;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.inspector-zone-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.2;
}

.inspector-tech-tag {
    display: inline-block;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold-light);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.inspector-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.insp-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.insp-section-title {
    font-size: 0.84rem;
    font-weight: 800;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dimension-chips-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

@media (max-width: 480px) {
    .dimension-chips-row {
        grid-template-columns: 1fr;
    }
}

.dim-box {
    background: #0b0d13;
    border: 1px solid #1f2535;
    border-radius: 8px;
    padding: 10px 12px;
    text-align: center;
}

.dim-lbl {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.dim-val {
    display: block;
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--cyan);
}

.insp-subnote {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
}

/* SEÇÃO DE CONFLITO */
.rule-conflict-section {
    background: rgba(255, 59, 48, 0.08);
    border: 1px solid rgba(255, 59, 48, 0.3);
    border-radius: 10px;
    padding: 14px 16px;
}

.text-warning {
    color: #ff6b6b !important;
}

.conflict-content {
    font-size: 0.78rem;
    line-height: 1.55;
    color: #f1f5f9;
}

.conflict-content em {
    color: #FFD700;
    font-style: normal;
    font-weight: 700;
}

/* ITENS PERMITIDOS */
.allowed-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.8rem;
    color: #cbd5e1;
    line-height: 1.45;
}

.allowed-items-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #0e1118;
    border: 1px solid #1a202c;
    border-radius: 8px;
    padding: 8px 12px;
}

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

/* PASSO A PASSO NO SIMULADOR */
.sim-step-guide {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0f131c;
    border: 1px solid #202738;
    border-radius: 10px;
    padding: 12px 14px;
}

.step-num-pill {
    background: var(--gold);
    color: #000;
    font-weight: 900;
    font-size: 0.75rem;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.step-desc-text {
    font-size: 0.78rem;
    color: #cbd5e1;
    line-height: 1.4;
}

/* CTA BOTÃO LANÇADOR */
.insp-cta-action {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.btn-launch-sim {
    background: linear-gradient(135deg, #FFD700, #D4AF37, #b8960c);
    color: #000;
    font-weight: 900;
    font-size: 0.88rem;
    padding: 14px 20px;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 24px var(--gold-glow);
    transition: all 0.25s ease;
    letter-spacing: 0.4px;
}

.btn-launch-sim:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.65);
    background: linear-gradient(135deg, #FFF099, #FFD700, #D4AF37);
}

.cta-tip {
    font-size: 0.7rem;
    color: #64748b;
    text-align: center;
}

/* TABELA MESTRA DE LIMITES */
.master-limits-section {
    background: #07090d;
    border-top: 1px solid #171b26;
    border-bottom: 1px solid #171b26;
    padding: 60px 24px;
}

.container-xl {
    max-width: 1440px;
    margin: 0 auto;
}

.section-title-wrap {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

.section-pill {
    display: inline-block;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--cyan);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.section-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.3rem;
    letter-spacing: 1px;
    color: #fff;
    margin: 0 0 10px;
}

.section-sub {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

.table-filter-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.filter-lbl {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

.filter-select {
    background: #12151f;
    border: 1px solid #283042;
    color: #fff;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.table-card-wrapper {
    background: #0f121a;
    border: 1px solid #202636;
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.master-limits-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    color: #cbd5e1;
}

.master-limits-table th {
    background: #141824;
    color: var(--gold);
    padding: 14px 16px;
    font-weight: 800;
    text-align: left;
    border-bottom: 1px solid #232a3a;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.master-limits-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #1a202c;
    vertical-align: middle;
}

.master-limits-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.master-limits-table .text-center {
    text-align: center;
}

/* FAQ SECTION */
.guide-faq-section {
    padding: 50px 24px;
    background: #0a0c10;
}

.faq-accordion-grid {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #10131a;
    border: 1px solid #1e2434;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s;
}

.faq-item[open] {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}

.faq-question {
    padding: 16px 20px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #f1f5f9;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-chevron {
    color: var(--gold);
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 18px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-answer p {
    margin: 0;
}

.faq-answer strong {
    color: #fff;
}

/* FOOTER */
.guide-footer {
    background: #06070a;
    border-top: 1px solid #161a24;
    padding: 30px 24px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gold);
}
