/* ==============================================
   JRTECH - Página Serviços Gerais Styles
   Grid de serviços, FAQ, processo
   ============================================== */

/* Grid de Serviços */
.all-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.module-card {
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
}

.module-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-smooth);
}

.module-card:hover::after { transform: scaleX(1); }

.module-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.module-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.module-card p { font-size: 0.9rem; margin-bottom: 0; }

/* Benefícios do Reparo */
.repair-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.benefit-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.benefit-card h4 { margin-bottom: 0.5rem; }
.benefit-card p { font-size: 0.9rem; margin-bottom: 0; }

/* Como Funciona - Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 0;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 0.5rem;
}

.step-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.step-item h4 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.step-item p {
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* FAQ Section */
.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--glass-bg);
    transition: border-color 0.3s;
}

.faq-item.open {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-smooth);
}

.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Responsivo */
@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .steps-grid::before { display: none; }
    .step-item {
        display: flex;
        align-items: center;
        gap: 1.25rem;
        text-align: left;
    }
    .step-circle { margin: 0; flex-shrink: 0; }
}

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