/* ==========================================================================
   PÁGINAS DE SERVIÇOS / ÁREAS DE ATUAÇÃO (FUNDO TRANSLÚCIDO PREMIUM)
   ========================================================================== */

.services-page-section {
    position: relative;
    width: 100%;
    background-color: transparent !important; /* Totalmente transparente para revelar o fundo e partículas globais */
    padding: 90px 0 100px 0;
    z-index: 2;
}

/* Banner de Imagem Superior (Largura Total da Tela - Forçado e Controlado) */
.services-top-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    aspect-ratio: auto; 
    height: 480px; 
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); /* Sombra adaptada para o fundo escuro */
}

.services-banner-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; 
    object-position: center center; 
}

/* Cabeçalho da Seção */
.services-page-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-page-tagline {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #f97316; 
    text-transform: uppercase;
}

.services-page-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff !important; /* Alterado para branco para contraste perfeito no escuro */
    margin-top: 10px;
    margin-bottom: 15px;
}

.title-line-orange {
    width: 45px;
    height: 3px;
    background-color: #f97316;
    margin: 0 auto 24px auto;
}

.services-page-subtitle {
    font-size: 1.1rem;
    color: #cbd5e1 !important; /* Cinza claro elegante com excelente leitura */
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid de Cards REPROGRAMADO 
   Utiliza auto-fill para garantir que com 5 cards, o tamanho de cada card 
   permaneça exato ao modelo original e o 5º card quebre de forma limpa. */
.services-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    width: 100%;
    margin-bottom: 80px;
}

/* Estilo do Card Glassmorphism */
.service-page-card {
    background: rgba(15, 23, 42, 0.75) !important; /* Fundo escuro translúcido */
    backdrop-filter: blur(10px) !important; /* Efeito de desfoque de vidro jateado */
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important; /* Borda sutil */
    border-radius: 25px; 
    padding: 35px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-page-card:hover {
    transform: translateY(-10px) scale(1.02); /* Efeito dinâmico de subir e inflar do clássico */
    background: rgba(15, 23, 42, 0.85) !important;
    border-color: rgba(14, 165, 233, 0.4) !important; /* Borda ganha destaque azul sutil */
    box-shadow: 0 0 40px rgba(14, 165, 233, 0.25); /* Brilho neon de foco */
}

/* Área do Ícone do Card */
.card-icon-area {
    width: 54px;
    height: 54px;
    background: rgba(249, 115, 22, 0.15); /* Ajustado o contraste do box do ícone */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.icon-mock {
    font-size: 1.5rem;
    color: #f97316;
}

.service-page-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff !important; /* Texto do título em branco */
    margin-bottom: 14px;
    line-height: 1.3;
}

.service-page-card p {
    font-size: 0.95rem;
    color: #cbd5e1 !important; /* Descrição em cinza claro para perfeita leitura */
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Seta indicativa */
.card-arrow-link {
    text-decoration: none;
    color: #f97316;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: auto;
    width: fit-content;
    transition: transform 0.2s ease;
}

.service-page-card:hover .card-arrow-link {
    transform: translateX(5px);
}

/* Banner de CTA Inferior (Unificado para o ecossistema escuro translúcido) */
.services-cta-banner {
    width: 100%;
    background: rgba(15, 23, 42, 0.6) !important; 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-banner-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.cta-icon-circle {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.cta-banner-text h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.cta-banner-text p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.cta-banner-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.btn-banner-primary {
    background-color: #f97316;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    text-align: center;
}

.btn-banner-primary:hover {
    background-color: #ea580c;
}

.btn-banner-whatsapp {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.btn-banner-whatsapp:hover {
    color: #ffffff;
}

/* Responsividade Baseada em Largura do Grid Interno */
@media (max-width: 992px) {
    .services-cta-banner { flex-direction: column; text-align: center; padding: 40px 30px; }
    .cta-banner-left { flex-direction: column; gap: 15px; }
    .cta-banner-right { align-items: center; width: 100%; }
    .btn-banner-primary { width: 100%; }
}

@media (max-width: 640px) {
    .services-page-title { font-size: 2.2rem; }
}