/* ========================================
   SERVICES.CSS — Page Services L'Espace N.G.
   ======================================== */

.nav-active {
    color: var(--pink-primary) !important;
}
.nav-active::after { width: 100% !important; }

/* ── Hero ── */
.sv-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 0 4rem;
    text-align: center;
}
.sv-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.sv-hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.sv-hero-content h1 { font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 900; margin-bottom: 1rem; }
.sv-hero-sub {
    font-size: 1.2rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--gray);
    margin-bottom: 2rem;
}
.sv-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}
.sv-chips span {
    background: rgba(255,255,255,0.85);
    border: 1.5px solid var(--pink-light);
    color: var(--pink-dark);
    border-radius: 25px;
    padding: 0.45rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

/* ── Liste des services ── */
.sv-list { padding: 5rem 0; background: var(--white); }

.sv-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 3rem;
    align-items: start;
    padding: 3.5rem;
    border-radius: 24px;
    margin-bottom: 2rem;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid #fde8f3;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.sv-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 5px;
    background: var(--gradient-primary);
    border-radius: 5px 0 0 5px;
    opacity: 0;
    transition: var(--transition);
}
.sv-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sv-item:hover::before { opacity: 1; }

/* Rangées alternées */
.sv-alt { background: linear-gradient(135deg, #fff8fc 0%, #fff 100%); }

/* Service featured (Automatisation) */
.sv-featured {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
}
.sv-featured::before { display: none; }
.sv-featured:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.sv-featured h2,
.sv-featured p,
.sv-featured .sv-features li { color: var(--white); }
.sv-featured .sv-icon-wrap { background: rgba(255,255,255,0.2); color: var(--white); }
.sv-featured-badge {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    background: var(--gold);
    color: var(--black);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Icône */
.sv-icon-wrap {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #fde8f3, #fff5fb);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink-primary);
    transition: var(--transition);
    flex-shrink: 0;
}
.sv-icon-wrap svg { width: 50px; height: 50px; }
.sv-item:hover .sv-icon-wrap { transform: scale(1.08) rotate(3deg); }

/* Corps */
.sv-body h2 { font-size: 1.9rem; margin-bottom: 1rem; }
.sv-body p { font-size: 1rem; line-height: 1.8; color: var(--gray); margin-bottom: 1.5rem; }
.sv-featured .sv-body p { color: rgba(255,255,255,0.9); }

.sv-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1.5rem;
    margin-bottom: 2rem;
}
.sv-features li {
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--gray);
}
.sv-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--pink-primary);
    font-weight: 700;
}
.sv-featured .sv-features li { color: rgba(255,255,255,0.9); }
.sv-featured .sv-features li::before { color: var(--gold); }

/* Bouton blanc pour le featured */
.btn-white {
    background: var(--white);
    color: var(--pink-dark);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.btn-white:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ── CTA ── */
.sv-cta {
    background: linear-gradient(135deg, #FDF0F7 0%, #fff8f0 100%);
    padding: 6rem 0;
}
.sv-cta-box {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 28px;
    padding: 4rem;
    box-shadow: var(--shadow-lg);
}
.sv-cta-box h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
.sv-cta-box p { font-size: 1.1rem; color: var(--gray); margin-bottom: 2.5rem; line-height: 1.7; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .sv-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
    }
    .sv-icon-wrap { width: 70px; height: 70px; }
    .sv-icon-wrap svg { width: 36px; height: 36px; }
    .sv-features { grid-template-columns: 1fr; }
    .sv-cta-box { padding: 2.5rem 1.5rem; }
    .sv-featured-badge { top: 1rem; right: 1rem; }
}
