/* ==========================================================================
   JBC — Nossos serviços

   NOTA: antes, .service-details e .service-list só apareciam no :hover
   (opacity: 0 / max-height: 0). Em celular e tablet não existe hover, então
   o conteúdo de todos os serviços ficava invisível e inacessível — inclusive
   para leitores de tela e navegação por teclado. Agora está sempre visível.
   ========================================================================== */

.services {
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
    scroll-margin-top: calc(var(--nav-height) + 24px);
}

.service-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 120px;
    background: var(--light-3);
    overflow: hidden;
    flex-shrink: 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--brand-primary);
    color: var(--brand-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
    width: fit-content;
}

.service-card h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-brief {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 12px;
}

.service-details {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-list {
    list-style: none;
    margin-top: auto;
}

.service-list li {
    font-size: 14px;
    color: var(--gray);
    padding: 6px 0 6px 24px;
    position: relative;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}
