#tp-qs-modal, #tp-qs-modal * { cursor: default !important; box-sizing: border-box !important; }

/* Overlay com Animação de Fade-in */
.tp-qs-overlay {
    position: fixed !important; top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important;
    background: rgba(3, 7, 18, 0) !important; z-index: 2147483647 !important; display: none !important;
    align-items: center !important; justify-content: center !important; padding: 15px !important;
    opacity: 0 !important; transition: background 0.3s ease, opacity 0.3s ease !important;
}
.tp-qs-overlay.tp-qs-show {
    background: rgba(3, 7, 18, 0.96) !important;
    opacity: 1 !important;
}

/* Conteúdo com Animação de Escala e Deslocamento Suave */
.tp-qs-content {
    background: linear-gradient(145deg, #070d1a, #03060c) !important; border: 2px solid #00ff88 !important;
    border-radius: 18px !important; width: 100% !important; max-width: 950px !important; padding: 26px !important;
    color: #ffffff !important; position: relative !important; box-shadow: 0 0 45px rgba(0, 255, 136, 0.22) !important;
    max-height: 92vh !important; overflow-y: auto !important;
    transform: scale(0.92) translateY(15px) !important;
    opacity: 0 !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease !important;
}
.tp-qs-overlay.tp-qs-show .tp-qs-content {
    transform: scale(1) translateY(0) !important;
    opacity: 1 !important;
}

.tp-qs-content::-webkit-scrollbar { width: 7px; }
.tp-qs-content::-webkit-scrollbar-track { background: #03060c; border-radius: 10px; }
.tp-qs-content::-webkit-scrollbar-thumb { background: #00ff88; border-radius: 10px; }

.tp-qs-close {
    position: absolute !important; top: 16px !important; right: 18px !important; background: rgba(0, 255, 136, 0.12) !important;
    border: 1px solid rgba(0, 255, 136, 0.35) !important; border-radius: 50% !important; color: #00ff88 !important;
    width: 34px !important; height: 34px !important; font-size: 18px !important; display: flex !important;
    align-items: center !important; justify-content: center !important; transition: all 0.25s ease !important; cursor: pointer !important; z-index: 10 !important;
}
.tp-qs-close:hover { background: #00ff88 !important; color: #03060c !important; transform: scale(1.1); }

/* Cabeçalho */
.tp-qs-header-wrapper {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-bottom: 14px;
}
@media (max-width: 768px) { .tp-qs-header-wrapper { flex-direction: column; align-items: flex-start; } }

.tp-qs-header-left { flex: 1; }
.tp-qs-badge-group { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.tp-qs-badge {
    display: inline-flex !important; align-items: center !important; background: rgba(0, 255, 136, 0.12) !important;
    border: 1px solid rgba(0, 255, 136, 0.35) !important; padding: 3px 10px !important; border-radius: 20px !important;
    font-size: 11px !important; font-weight: 600 !important; color: #00ff88 !important;
}
.tp-qs-badge-cnpj {
    display: inline-flex !important; align-items: center !important; background: rgba(59, 130, 246, 0.12) !important;
    border: 1px solid rgba(59, 130, 246, 0.35) !important; padding: 3px 10px !important; border-radius: 20px !important;
    font-size: 11px !important; font-weight: 600 !important; color: #60a5fa !important;
}
.tp-qs-header-left h2 { margin: 0 0 5px 0 !important; font-size: 22px !important; font-weight: 800 !important; color: #ffffff !important; }
.tp-highlight { color: #00ff88 !important; }
.tp-qs-header-left p { margin: 0 !important; font-size: 12px !important; color: #94a3b8 !important; line-height: 1.4; }

.tp-qs-header-right { width: 175px; flex-shrink: 0; }
@media (max-width: 768px) { .tp-qs-header-right { width: 100%; display: flex; justify-content: center; } }

.tp-qs-banner-img-box {
    position: relative; border-radius: 10px; overflow: hidden; border: 1px solid rgba(0, 255, 136, 0.35);
    height: 90px; background: #0b1329;
}
.tp-qs-banner-img-box img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.tp-qs-banner-overlay-text {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 6px; text-align: center;
    background: linear-gradient(to top, rgba(3,6,12,0.95), transparent);
}
.tp-qs-banner-overlay-text strong { display: block; font-size: 10.5px; color: #00ff88; letter-spacing: 0.5px; }
.tp-qs-banner-overlay-text span { font-size: 8.5px; color: #cbd5e1; }

/* Estatísticas com Estrelas Douradas Brilhantes */
.tp-qs-stats-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px;
}
@media (max-width: 600px) { .tp-qs-stats-row { grid-template-columns: 1fr; } }

.tp-qs-stat-item {
    background: rgba(10, 16, 31, 0.7); border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 9px; padding: 10px 12px; display: flex; align-items: center; gap: 10px;
}
.tp-qs-stat-icon { font-size: 18px; }
.tp-qs-stat-item strong { display: block; font-size: 14px; color: #ffffff; font-weight: 800; line-height: 1.1; }
.tp-qs-stat-item span { font-size: 10.5px; color: #94a3b8; }
.tp-stars {
    color: #ffd700 !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.95), 0 0 20px rgba(255, 165, 0, 0.8) !important;
    display: inline-block !important;
}

/* História */
.tp-qs-history-box {
    background: rgba(10, 16, 31, 0.75) !important; border: 1px solid rgba(0, 255, 136, 0.2) !important;
    border-radius: 10px !important; padding: 14px 18px !important; margin-bottom: 14px !important;
}
.tp-qs-history-box h3 { font-size: 13.5px !important; font-weight: 700 !important; color: #00ff88 !important; margin: 0 0 6px 0 !important; text-shadow: 0 0 8px rgba(0,255,136,0.4); }
.tp-qs-history-box p { font-size: 11.5px !important; color: #cbd5e1 !important; line-height: 1.45 !important; margin: 0 0 6px 0 !important; }
.tp-qs-history-box p:last-child { margin-bottom: 0 !important; }
.tp-qs-history-box strong { color: #ffffff !important; }

/* Pirâmide Estratégica */
.tp-qs-pyramid-container { margin-bottom: 14px !important; }
.tp-qs-pyramid-title { text-align: center; margin-bottom: 10px; }
.tp-qs-pyramid-title span { font-size: 12px; font-weight: 800; color: #38bdf8; text-transform: uppercase; letter-spacing: 1px; }
.tp-qs-pyramid-title p { font-size: 11px; color: #94a3b8; margin: 2px 0 0 0; }

.tp-qs-pyramid-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 14px !important; }
@media (max-width: 768px) { .tp-qs-pyramid-grid { grid-template-columns: 1fr !important; } }

/* Animação para o Gradiente em Movimento nas Bordas */
@keyframes tpGradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Base dos Cards com Gradiente Animado */
.tp-qs-pyramid-card {
    position: relative !important;
    border-radius: 12px !important;
    padding: 2px !important;
    transition: transform 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden;
}
.tp-qs-pyramid-card:hover { transform: translateY(-3px); }

.tp-qs-card-inner {
    background: rgba(8, 14, 28, 0.96) !important;
    border-radius: 11px !important;
    padding: 14px !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.tp-qs-card-number {
    position: absolute; top: 12px; right: 12px;
    border-radius: 50%; width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700; border: 1px solid;
}

.tp-qs-icon-box { font-size: 22px !important; margin-bottom: 8px !important; }
.tp-qs-pyramid-card p { font-size: 11.5px !important; color: #cbd5e1 !important; line-height: 1.45 !important; margin: 0 0 10px 0 !important; flex-grow: 1; }
.tp-sub-title { font-size: 10px; font-weight: 400; color: #94a3b8; }

.tp-qs-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: auto; }
.tp-qs-tags span {
    font-size: 9.5px; padding: 2px 6px; border-radius: 4px; font-weight: 600; border: 1px solid;
}

/* 1. CARD AZUL (Missão) */
.tp-card-blue::before {
    content: ''; position: absolute; inset: 0; border-radius: 12px;
    background: linear-gradient(270deg, #0055ff, #00bfff, #00ffff, #0055ff);
    background-size: 300% 300%;
    animation: tpGradientMove 5s ease infinite;
    z-index: 1;
}
.tp-card-blue h4 { color: #00bfff !important; font-size: 13.5px !important; font-weight: 700 !important; margin: 0 0 6px 0 !important; line-height: 1.3; text-shadow: 0 0 12px rgba(0, 191, 255, 0.8) !important; }
.tp-card-blue .tp-qs-card-number { color: #00bfff !important; border-color: rgba(0, 191, 255, 0.5); background: rgba(0, 191, 255, 0.1); }
.tp-card-blue .tp-qs-tags span { background: rgba(0, 191, 255, 0.08); border-color: rgba(0, 191, 255, 0.3); color: #38bdf8; }

/* 2. CARD VERDE (Visão) */
.tp-card-green::before {
    content: ''; position: absolute; inset: 0; border-radius: 12px;
    background: linear-gradient(270deg, #008744, #00ff88, #76ff03, #008744);
    background-size: 300% 300%;
    animation: tpGradientMove 5s ease infinite;
    z-index: 1;
}
.tp-card-green h4 { color: #00ff88 !important; font-size: 13.5px !important; font-weight: 700 !important; margin: 0 0 6px 0 !important; line-height: 1.3; text-shadow: 0 0 12px rgba(0, 255, 136, 0.8) !important; }
.tp-card-green .tp-qs-card-number { color: #00ff88 !important; border-color: rgba(0, 255, 136, 0.5); background: rgba(0, 255, 136, 0.1); }
.tp-card-green .tp-qs-tags span { background: rgba(0, 255, 136, 0.08); border-color: rgba(0, 255, 136, 0.3); color: #00ff88; }

/* 3. CARD DOURADO / ÂMBAR (Destino & Valores) */
.tp-card-gold::before {
    content: ''; position: absolute; inset: 0; border-radius: 12px;
    background: linear-gradient(270deg, #b8860b, #f5ab00, #ffcc00, #b8860b);
    background-size: 300% 300%;
    animation: tpGradientMove 5s ease infinite;
    z-index: 1;
}
.tp-card-gold h4 { color: #ffcc00 !important; font-size: 13.5px !important; font-weight: 700 !important; margin: 0 0 6px 0 !important; line-height: 1.3; text-shadow: 0 0 12px rgba(255, 204, 0, 0.8) !important; }
.tp-card-gold .tp-qs-card-number { color: #ffcc00 !important; border-color: rgba(245, 171, 0, 0.5); background: rgba(245, 171, 0, 0.1); }
.tp-card-gold .tp-qs-tags span { background: rgba(245, 171, 0, 0.08); border-color: rgba(245, 171, 0, 0.3); color: #facc15; }

/* Diferenciais */
.tp-qs-features-row {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
    background: rgba(10, 16, 31, 0.7); border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 9px; padding: 10px 14px; margin-bottom: 14px; gap: 8px;
}
.tp-qs-feature-item { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 170px; }
.tp-feat-icon { font-size: 18px; }
.tp-qs-feature-item strong { display: block; font-size: 11.5px; color: #ffffff; }
.tp-qs-feature-item span { font-size: 10px; color: #94a3b8; }
.tp-qs-feature-divider { width: 1px; height: 26px; background: rgba(255, 255, 255, 0.08); }
@media (max-width: 768px) { .tp-qs-feature-divider { display: none; } }

/* Botões Rodapé com Hierarquia Clara */
.tp-qs-cta-footer {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
@media (max-width: 600px) { .tp-qs-cta-footer { grid-template-columns: 1fr; } }

.tp-qs-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 16px; border-radius: 9px; font-size: 12.5px; font-weight: 700;
    text-decoration: none; transition: all 0.25s ease; cursor: pointer !important;
}

/* WhatsApp: Verde Sólido de Alta Conversão */
.tp-btn-whatsapp {
    background: linear-gradient(135deg, #00ff88, #00b862); color: #040712;
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.25);
}
.tp-btn-whatsapp:hover { background: linear-gradient(135deg, #00e078, #00a055); transform: translateY(-2px); }

/* Solicitar Orçamento: Fundo Escuro com Borda e Brilho Neon Verde */
.tp-btn-orcamento {
    background: rgba(4, 7, 18, 0.9) !important;
    border: 2px solid #00ff88 !important;
    color: #00ff88 !important;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2) !important;
}
.tp-btn-orcamento:hover {
    background: rgba(0, 255, 136, 0.15) !important;
    color: #ffffff !important;
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.4) !important;
    transform: translateY(-2px) !important;
}

.tp-arrow { font-weight: 800; margin-left: auto; color: inherit; opacity: 0.8; }
