#tp-portfolio-modal, #tp-portfolio-modal * { cursor: default !important; box-sizing: border-box !important; }

/* Overlay com Animação de Fade-in */
.tp-pf-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: 12px !important;
    opacity: 0 !important; transition: background 0.3s ease, opacity 0.3s ease !important;
}
.tp-pf-overlay.tp-pf-show {
    background: rgba(3, 7, 18, 0.97) !important;
    opacity: 1 !important;
}

/* Conteúdo do Modal do Portfólio */
.tp-pf-content {
    background: linear-gradient(145deg, #070d1a, #03060c) !important; border: 2px solid #00ff88 !important;
    border-radius: 18px !important; width: 100% !important; max-width: 1080px !important; padding: 22px !important;
    color: #ffffff !important; position: relative !important; box-shadow: 0 0 50px rgba(0, 255, 136, 0.25) !important;
    max-height: 94vh !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-pf-overlay.tp-pf-show .tp-pf-content {
    transform: scale(1) translateY(0) !important;
    opacity: 1 !important;
}

.tp-pf-content::-webkit-scrollbar { width: 7px; }
.tp-pf-content::-webkit-scrollbar-track { background: #03060c; border-radius: 10px; }
.tp-pf-content::-webkit-scrollbar-thumb { background: #00ff88; border-radius: 10px; }

.tp-pf-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-pf-close:hover { background: #00ff88 !important; color: #03060c !important; transform: scale(1.1); }

/* Cabeçalho Portfólio */
.tp-pf-header-wrapper {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    margin-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-bottom: 10px;
}
@media (max-width: 768px) { .tp-pf-header-wrapper { flex-direction: column; align-items: flex-start; } }

.tp-pf-header-left { flex: 1; }
.tp-pf-badge-group { display: flex; gap: 8px; margin-bottom: 5px; flex-wrap: wrap; }
.tp-pf-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: 10.5px !important; font-weight: 600 !important; color: #00ff88 !important;
}
.tp-pf-badge-region {
    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: 10.5px !important; font-weight: 600 !important; color: #60a5fa !important;
}
.tp-pf-header-left h2 { margin: 0 0 3px 0 !important; font-size: 20px !important; font-weight: 800 !important; color: #ffffff !important; }
.tp-highlight { color: #00ff88 !important; }
.tp-pf-header-left p { margin: 0 !important; font-size: 11px !important; color: #94a3b8 !important; line-height: 1.4; }

.tp-pf-header-right { width: 160px; flex-shrink: 0; }
@media (max-width: 768px) { .tp-pf-header-right { width: 100%; display: flex; justify-content: center; } }

.tp-pf-banner-img-box {
    position: relative; border-radius: 10px; overflow: hidden; border: 1px solid rgba(0, 255, 136, 0.35);
    height: 78px; background: #0b1329;
}
.tp-pf-banner-img-box img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.tp-pf-banner-overlay-text {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 4px; text-align: center;
    background: linear-gradient(to top, rgba(3,6,12,0.95), transparent);
}
.tp-pf-banner-overlay-text strong { display: block; font-size: 9px; color: #00ff88; letter-spacing: 0.5px; }
.tp-pf-banner-overlay-text span { font-size: 7.5px; color: #cbd5e1; }

/* Estatísticas */
.tp-pf-stats-row {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px;
}
@media (max-width: 768px) { .tp-pf-stats-row { grid-template-columns: repeat(2, 1fr); } }

.tp-pf-stat-item {
    background: rgba(10, 16, 31, 0.7); border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px; padding: 8px 10px; display: flex; align-items: center; gap: 8px;
}
.tp-pf-stat-icon { font-size: 16px; }
.tp-pf-stat-item strong { display: block; font-size: 12.5px; color: #ffffff; font-weight: 800; line-height: 1.1; }
.tp-pf-stat-item span { font-size: 9px; color: #94a3b8; }

/* Grid de Banners de Destaque */
.tp-water-banners-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px;
}
@media (max-width: 768px) { .tp-water-banners-grid { grid-template-columns: 1fr; } }

.tp-water-banner-highlight {
    display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, rgba(0, 191, 255, 0.12), rgba(0, 255, 136, 0.12));
    border: 1px solid rgba(0, 191, 255, 0.4); border-radius: 10px; padding: 12px 14px;
}
.tp-banner-green {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.12), rgba(34, 197, 94, 0.12));
    border-color: rgba(0, 255, 136, 0.4);
}
.tp-water-icon { font-size: 24px; flex-shrink: 0; }
.tp-water-text h4 { margin: 0 0 2px 0; font-size: 12px; font-weight: 700; color: #38bdf8; }
.tp-banner-green .tp-water-text h4 { color: #00ff88; }
.tp-water-text p { margin: 0; font-size: 10px; color: #cbd5e1; line-height: 1.35; }

/* Título de Seção */
.tp-pf-section-title { text-align: center; margin-bottom: 8px; }
.tp-pf-section-title span { font-size: 11px; font-weight: 800; color: #38bdf8; text-transform: uppercase; letter-spacing: 1px; }
.tp-pf-section-title p { font-size: 10px; color: #94a3b8; margin: 2px 0 0 0; }

/* Grid de 12 Segmentos (4 colunas no desktop) */
.tp-pf-grid-12 {
    display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 10px !important; margin-bottom: 10px !important;
}
@media (max-width: 1024px) { .tp-pf-grid-12 { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 600px) { .tp-pf-grid-12 { grid-template-columns: 1fr !important; } }

@keyframes tpPfGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.tp-pf-card {
    position: relative !important; border-radius: 10px !important; padding: 2px !important;
    transition: transform 0.3s ease !important; display: flex !important; flex-direction: column !important; overflow: hidden;
}
.tp-pf-card:hover { transform: translateY(-3px); }

.tp-pf-card-inner {
    background: rgba(8, 14, 28, 0.96) !important; border-radius: 9px !important; padding: 10px !important;
    height: 100%; display: flex; flex-direction: column; position: relative; z-index: 2;
}

.tp-pf-card-badge {
    position: absolute; top: 10px; right: 10px; font-size: 8px; font-weight: 700; padding: 2px 6px; border-radius: 8px; border: 1px solid;
}
.tp-pf-icon { font-size: 18px !important; margin-bottom: 4px !important; }
.tp-pf-card h4 { font-size: 12px !important; font-weight: 700 !important; margin: 0 0 3px 0 !important; line-height: 1.3; }
.tp-pf-card p { font-size: 10px !important; color: #cbd5e1 !important; line-height: 1.35 !important; margin: 0 0 6px 0 !important; }

.tp-pf-list { list-style: none; padding: 0; margin: auto 0 0 0; font-size: 9.5px; color: #94a3b8; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 5px; }
.tp-pf-list li { margin-bottom: 2px; }

/* 12 Cores Exclusivas para os Segmentos */
.tp-card-pf-blue::before { content: ''; position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(270deg, #0055ff, #00bfff, #00ffff, #0055ff); background-size: 300% 300%; animation: tpPfGradient 5s ease infinite; z-index: 1; }
.tp-card-pf-blue h4 { color: #00bfff !important; text-shadow: 0 0 8px rgba(0, 191, 255, 0.6); }
.tp-card-pf-blue .tp-pf-card-badge { color: #38bdf8; border-color: rgba(0, 191, 255, 0.4); background: rgba(0, 191, 255, 0.1); }

.tp-card-pf-green::before { content: ''; position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(270deg, #008744, #00ff88, #76ff03, #008744); background-size: 300% 300%; animation: tpPfGradient 5s ease infinite; z-index: 1; }
.tp-card-pf-green h4 { color: #00ff88 !important; text-shadow: 0 0 8px rgba(0, 255, 136, 0.6); }
.tp-card-pf-green .tp-pf-card-badge { color: #00ff88; border-color: rgba(0, 255, 136, 0.4); background: rgba(0, 255, 136, 0.1); }

.tp-card-pf-gold::before { content: ''; position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(270deg, #b8860b, #f5ab00, #ffcc00, #b8860b); background-size: 300% 300%; animation: tpPfGradient 5s ease infinite; z-index: 1; }
.tp-card-pf-gold h4 { color: #ffcc00 !important; text-shadow: 0 0 8px rgba(255, 204, 0, 0.6); }
.tp-card-pf-gold .tp-pf-card-badge { color: #facc15; border-color: rgba(245, 171, 0, 0.4); background: rgba(245, 171, 0, 0.1); }

.tp-card-pf-purple::before { content: ''; position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(270deg, #7c3aed, #a855f7, #ec4899, #7c3aed); background-size: 300% 300%; animation: tpPfGradient 5s ease infinite; z-index: 1; }
.tp-card-pf-purple h4 { color: #c084fc !important; text-shadow: 0 0 8px rgba(168, 85, 247, 0.6); }
.tp-card-pf-purple .tp-pf-card-badge { color: #e879f9; border-color: rgba(168, 85, 247, 0.4); background: rgba(168, 85, 247, 0.1); }

.tp-card-pf-cyan::before { content: ''; position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(270deg, #0284c7, #38bdf8, #2dd4bf, #0284c7); background-size: 300% 300%; animation: tpPfGradient 5s ease infinite; z-index: 1; }
.tp-card-pf-cyan h4 { color: #38bdf8 !important; text-shadow: 0 0 8px rgba(56, 189, 248, 0.6); }
.tp-card-pf-cyan .tp-pf-card-badge { color: #38bdf8; border-color: rgba(56, 189, 248, 0.4); background: rgba(56, 189, 248, 0.1); }

.tp-card-pf-orange::before { content: ''; position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(270deg, #c2410c, #f97316, #fbbf24, #c2410c); background-size: 300% 300%; animation: tpPfGradient 5s ease infinite; z-index: 1; }
.tp-card-pf-orange h4 { color: #fb923c !important; text-shadow: 0 0 8px rgba(249, 115, 22, 0.6); }
.tp-card-pf-orange .tp-pf-card-badge { color: #fb923c; border-color: rgba(249, 115, 22, 0.4); background: rgba(249, 115, 22, 0.1); }

.tp-card-pf-pink::before { content: ''; position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(270deg, #be185d, #ec4899, #f43f5e, #be185d); background-size: 300% 300%; animation: tpPfGradient 5s ease infinite; z-index: 1; }
.tp-card-pf-pink h4 { color: #f472b6 !important; text-shadow: 0 0 8px rgba(244, 63, 94, 0.6); }
.tp-card-pf-pink .tp-pf-card-badge { color: #f472b6; border-color: rgba(244, 63, 94, 0.4); background: rgba(244, 63, 94, 0.1); }

.tp-card-pf-teal::before { content: ''; position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(270deg, #0f766e, #14b8a6, #2dd4bf, #0f766e); background-size: 300% 300%; animation: tpPfGradient 5s ease infinite; z-index: 1; }
.tp-card-pf-teal h4 { color: #2dd4bf !important; text-shadow: 0 0 8px rgba(45, 212, 191, 0.6); }
.tp-card-pf-teal .tp-pf-card-badge { color: #2dd4bf; border-color: rgba(45, 212, 191, 0.4); background: rgba(45, 212, 191, 0.1); }

.tp-card-pf-red::before { content: ''; position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(270deg, #dc2626, #f43f5e, #fb7185, #dc2626); background-size: 300% 300%; animation: tpPfGradient 5s ease infinite; z-index: 1; }
.tp-card-pf-red h4 { color: #f87171 !important; text-shadow: 0 0 8px rgba(248, 113, 113, 0.6); }
.tp-card-pf-red .tp-pf-card-badge { color: #f87171; border-color: rgba(248, 113, 113, 0.4); background: rgba(248, 113, 113, 0.1); }

.tp-card-pf-lime::before { content: ''; position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(270deg, #65a30d, #84cc16, #ccfb16, #65a30d); background-size: 300% 300%; animation: tpPfGradient 5s ease infinite; z-index: 1; }
.tp-card-pf-lime h4 { color: #a3e635 !important; text-shadow: 0 0 8px rgba(163, 230, 53, 0.6); }
.tp-card-pf-lime .tp-pf-card-badge { color: #a3e635; border-color: rgba(163, 230, 53, 0.4); background: rgba(163, 230, 53, 0.1); }

.tp-card-pf-indigo::before { content: ''; position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(270deg, #3730a3, #4f46e5, #818cf8, #3730a3); background-size: 300% 300%; animation: tpPfGradient 5s ease infinite; z-index: 1; }
.tp-card-pf-indigo h4 { color: #818cf8 !important; text-shadow: 0 0 8px rgba(129, 140, 248, 0.6); }
.tp-card-pf-indigo .tp-pf-card-badge { color: #818cf8; border-color: rgba(129, 140, 248, 0.4); background: rgba(129, 140, 248, 0.1); }

.tp-card-pf-amber::before { content: ''; position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(270deg, #b45309, #d97706, #fbbf24, #b45309); background-size: 300% 300%; animation: tpPfGradient 5s ease infinite; z-index: 1; }
.tp-card-pf-amber h4 { color: #f59e0b !important; text-shadow: 0 0 8px rgba(245, 158, 11, 0.6); }
.tp-card-pf-amber .tp-pf-card-badge { color: #f59e0b; border-color: rgba(245, 158, 11, 0.4); background: rgba(245, 158, 11, 0.1); }

/* Grid de Pragas Individualizadas */
.tp-pf-pests-grid-individual {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
@media (max-width: 900px) { .tp-pf-pests-grid-individual { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .tp-pf-pests-grid-individual { grid-template-columns: 1fr; } }

.tp-pf-pest-card {
    background: rgba(10, 16, 31, 0.85); border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 8px; padding: 8px 12px; display: flex; align-items: center; gap: 10px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.tp-pf-pest-card:hover { transform: translateY(-2px); border-color: #00ff88; }
.tp-pest-icon { font-size: 22px; flex-shrink: 0; }
.tp-pf-pest-card strong { display: block; font-size: 11px; color: #ffffff; font-weight: 700; line-height: 1.2; }
.tp-pf-pest-card span { font-size: 9.5px; color: #94a3b8; }

/* Grid de Maquinário Tecnológico Reestilizado com Ícones Grandes e Centralizados */
.tp-pf-tech-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 6px;
}
@media (max-width: 768px) { .tp-pf-tech-grid { grid-template-columns: 1fr; } }

.tp-pf-tech-card {
    position: relative !important; border-radius: 10px !important; padding: 2px !important;
    transition: transform 0.3s ease !important; display: flex !important; flex-direction: column !important; overflow: hidden;
}
.tp-pf-tech-card:hover { transform: translateY(-3px); }

/* Card Interno com Alinhamento Vertical Centralizado */
.tp-pf-tech-card-inner {
    background: rgba(8, 14, 28, 0.96) !important; border-radius: 9px !important; padding: 14px !important;
    height: 100%; display: flex; align-items: center; gap: 14px; position: relative; z-index: 2;
}

/* Caixa de Ícones Grande e Perfeitamente Centralizada */
.tp-tech-icon-box {
    width: 62px !important; height: 62px !important; border-radius: 14px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    flex-shrink: 0 !important; font-size: 28px !important; background: rgba(6, 11, 24, 0.95) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important; box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

/* Bordas coloridas temáticas para os ícones */
.tp-tech-blue .tp-tech-icon-box { border-color: #00bfff !important; box-shadow: 0 0 14px rgba(0, 191, 255, 0.35) !important; }
.tp-tech-amber .tp-tech-icon-box { border-color: #f59e0b !important; box-shadow: 0 0 14px rgba(245, 158, 11, 0.35) !important; }
.tp-tech-purple .tp-tech-icon-box { border-color: #c084fc !important; box-shadow: 0 0 14px rgba(168, 85, 247, 0.35) !important; }
.tp-tech-cyan .tp-tech-icon-box { border-color: #38bdf8 !important; box-shadow: 0 0 14px rgba(56, 189, 248, 0.35) !important; }

/* 4 Cores Únicas para os Cards de Maquinário */
.tp-tech-blue::before { content: ''; position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(270deg, #0055ff, #00bfff, #00ffff, #0055ff); background-size: 300% 300%; animation: tpPfGradient 5s ease infinite; z-index: 1; }
.tp-tech-blue strong { color: #00bfff !important; text-shadow: 0 0 8px rgba(0, 191, 255, 0.6); }

.tp-tech-amber::before { content: ''; position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(270deg, #b45309, #d97706, #fbbf24, #b45309); background-size: 300% 300%; animation: tpPfGradient 5s ease infinite; z-index: 1; }
.tp-tech-amber strong { color: #f59e0b !important; text-shadow: 0 0 8px rgba(245, 158, 11, 0.6); }

.tp-tech-purple::before { content: ''; position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(270deg, #7c3aed, #a855f7, #ec4899, #7c3aed); background-size: 300% 300%; animation: tpPfGradient 5s ease infinite; z-index: 1; }
.tp-tech-purple strong { color: #c084fc !important; text-shadow: 0 0 8px rgba(168, 85, 247, 0.6); }

.tp-tech-cyan::before { content: ''; position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(270deg, #0284c7, #38bdf8, #2dd4bf, #0284c7); background-size: 300% 300%; animation: tpPfGradient 5s ease infinite; z-index: 1; }
.tp-tech-cyan strong { color: #38bdf8 !important; text-shadow: 0 0 8px rgba(56, 189, 248, 0.6); }

.tp-pf-tech-card strong { display: block; font-size: 12px; font-weight: 700; line-height: 1.2; margin-bottom: 3px; }
.tp-pf-tech-card span { font-size: 10px; color: #cbd5e1; line-height: 1.35; display: block; }

/* Caixa Destaque */
.tp-pf-highlight-box {
    display: flex; gap: 12px; align-items: center; background: rgba(10, 16, 31, 0.75);
    border: 1px solid rgba(0, 255, 136, 0.25); border-radius: 9px; padding: 10px 14px;
}
.tp-pf-hl-icon { font-size: 20px; flex-shrink: 0; }
.tp-pf-highlight-box h4 { margin: 0 0 3px 0; font-size: 11.5px; color: #ffffff; font-weight: 700; }
.tp-pf-highlight-box p { margin: 0; font-size: 10px; color: #94a3b8; line-height: 1.4; }

/* Botões de Rodapé com Hierarquia */
.tp-pf-cta-footer {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px;
}
@media (max-width: 600px) { .tp-pf-cta-footer { grid-template-columns: 1fr; } }

.tp-pf-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 16px; border-radius: 9px; font-size: 11.5px; font-weight: 700;
    text-decoration: none; transition: all 0.25s ease; cursor: pointer !important;
}
.tp-pf-btn-whatsapp {
    background: linear-gradient(135deg, #00ff88, #00b862); color: #040712;
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.25);
}
.tp-pf-btn-whatsapp:hover { background: linear-gradient(135deg, #00e078, #00a055); transform: translateY(-2px); }

.tp-pf-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-pf-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; }
