/* /assets/css/pages/solucoes.css */

/* --- Estilo do Cabeçalho da Página --- */
.page-header-solucoes {
    padding: 100px 0 60px 0;
    position: relative;
    
    /* 1. Cor de fundo base */
    background-color: var(--verde-principal, #00938E);

    /* 2. Imagens de fundo em camadas */
    background-image: 
        url('/assets/images/solucoes/background_header_left.png'), 
        url('/assets/images/solucoes/background_header_right.png');
    
    /* 3. Posição de cada imagem */
    background-position: 
        left center, 
        right center;
    
    /* 4. Garante que as imagens não se repitam */
    background-repeat: 
        no-repeat,
        no-repeat;

    /* 5. Ajusta o tamanho das imagens para se encaixarem bem */
    background-size: contain;
}

.page-header-solucoes h1 {
    font-family: 'Magistral', sans-serif; /* Usa a mesma fonte da sua logo */
    font-weight: 700;
    font-size: 3.5rem; /* Um pouco maior para mais impacto */
    text-transform: uppercase;
    
    /* A MÁGICA: Efeito de brilho (glow) ao redor do texto */
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}


/* ============================================== */
/* ESTILOS DA SEÇÃO 'NOSSA TECNOLOGIA'            */
/* ============================================== */

.tecnologia-section h2 {
    color: #212121;
    margin-bottom: 1rem;
}

.tecnologia-section .lead {
    color: #555;
    font-weight: 400; /* Texto um pouco mais leve que o padrão de 'lead' */
}




/* ============================================== */
/* ESTILOS DA SEÇÃO 'PRODUTOS' (ATUALIZADO)       */
/* ============================================== */

.produtos-section {
    /* Removemos o padding vertical da seção para que o padding dos itens controle o espaçamento */
    padding-top: 0;
    padding-bottom: 0;
}

.product-item {
    /* O padding agora é apenas vertical, pois o container interno controla o horizontal */
    padding: 2rem 0;
    background-color: #fff; /* ADICIONADO: Fundo branco como padrão */
}

/* Fundo alternativo para o segundo item (e-RI) e futuros itens pares */
.product-item-alt {
    border-bottom: 4px dotted #d1d1d1;
    border-top: 4px dotted #d1d1d1;
    background-color: #f0f2f5;
}

.product-logo {
    flex-shrink: 0; /* Impede que o logo encolha */
    margin-right: 1.5rem;
    min-width: 250px;
    min-height: 150px;
}

.product-logo img {
    max-width: 250px; /* Ajuste o tamanho do logo conforme necessário */
    height: auto;
    object-fit: contain;
}

.product-info {
    flex-grow: 1; /* Faz esta div ocupar todo o espaço disponível */
}

.product-title {
    font-family: 'Magistral', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.product-title .sub-title {
    font-weight: 400;
    color: #555;
}

.product-tagline {
    font-size: 1rem;
    color: #6c757d;
}

.product-action {
    flex-shrink: 0;
    margin-left: 1rem;
}

.btn-modal-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #333;
    color: #333;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, color 0.3s;
}

.btn-modal-toggle:hover {
    background-color: #333;
    color: #fff;
}

/* Responsividade para telas menores */
@media (max-width: 767.98px) {
    .product-item {
        padding: 1.5rem 0;
    }
    .product-title {
        font-size: 1.2rem;
    }
    .product-tagline {
        font-size: 0.9rem;
    }
    .product-logo img {
        max-width: 80px;
    }
}

/* ============================================== */
/* ESTILOS DO CONTEÚDO DA MODAL DE PRODUTOS       */
/* ============================================== */

.modal-content {
    border: 3px solid #333;
    /*border-top: none; /* Removemos a borda superior para não haver linha dupla */
    position: relative; /* NECESSÁRIO para posicionar o detalhe superior */
}

/* O NOVO DETALHE SUPERIOR '/-----\' */
.modal-content::before {
    content: '';
    position: absolute;
    z-index: 1; /* Garante que o detalhe fique sobre outros elementos */
    
    /* Posicionamento: Centralizado e acima da modal */
    top: -15px; /* (Altura de 20px + borda de 3px = 23px) */
    left: 50%;
    transform: translateX(-50%);

    /* Dimensões do detalhe */
    width: 300px;
    height: 20px;

    /* Estilos solicitados */
    background-color: #fff;
    border: 3px solid #333;
    border-bottom: none;

    /* A forma '/-----\' com clip-path */
    clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}

/* Ajustes no corpo da modal (existente) */
.modal-body .lead {
    font-size: 1rem;
    font-weight: 400;
    color: #555;
    text-align: justify;
}

/* Estilo para cada item da lista de funcionalidades */
.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem; /* Espaçamento entre os itens */
}

.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 60px;
    min-height: 60px;
    margin-right: 10px;
    background-image: url('/assets/images/solucoes/backgroundIcone.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.feature-icon img {
    max-width: 40px;
    height: auto;
}

/* Textos da funcionalidade */
.feature-text h6 {
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #333;
}

.feature-text p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.4;
}