/* ============================================================
   SERVICE PAGES — STYLE
   ============================================================ */

.page-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--violet), var(--jaune));
    z-index: 10001;
    transition: width 0.1s linear;
}

.service-page {
    padding-top: 80px;
    min-height: 100vh;
}

/* HERO */
.service-hero {
    position: relative;
    padding: 100px 60px 80px;
    overflow: hidden;
    text-align: center;
}

.service-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    filter: blur(90px);
}

.service-hero-bg .blob-1,
.service-hero-bg .blob-2,
.service-hero-bg .blob-3 {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
}

.service-hero-bg .blob-1 {
    width: 50vw;
    max-width: 600px;
    height: 50vw;
    max-height: 600px;
    background: radial-gradient(circle, var(--violet) 0%, transparent 70%);
    top: -20%;
    right: -10%;
    opacity: 0.4;
    animation: meshFloat1 14s ease-in-out infinite;
}

.service-hero-bg .blob-2 {
    width: 40vw;
    max-width: 450px;
    height: 40vw;
    max-height: 450px;
    background: radial-gradient(circle, var(--jaune) 0%, transparent 70%);
    bottom: -15%;
    left: -8%;
    opacity: 0.25;
    animation: meshFloat2 12s ease-in-out infinite;
}

.service-hero-bg .blob-3 {
    width: 30vw;
    max-width: 350px;
    height: 30vw;
    max-height: 350px;
    background: radial-gradient(circle, var(--violet-light) 0%, transparent 70%);
    top: 40%;
    left: 35%;
    opacity: 0.2;
    animation: meshFloat3 16s ease-in-out infinite;
}

.service-hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(129, 56, 227, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129, 56, 227, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 80%);
}

.service-hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.service-hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.sh-shape {
    position: absolute;
    opacity: 0.12;
}

.sh-ring {
    width: 90px;
    height: 90px;
    border: 2px solid var(--violet-light);
    border-radius: 50%;
    top: 15%;
    right: 10%;
    animation: shapeFloat 18s ease-in-out infinite, shapeSpin 30s linear infinite;
}

.sh-cross {
    width: 24px;
    height: 24px;
    bottom: 22%;
    left: 7%;
    animation: shapeFloat 14s ease-in-out infinite reverse;
}

.sh-cross::before,
.sh-cross::after {
    content: '';
    position: absolute;
    background: var(--jaune);
    border-radius: 2px;
}

.sh-cross::before { width: 100%; height: 3px; top: 50%; transform: translateY(-50%); }
.sh-cross::after { width: 3px; height: 100%; left: 50%; transform: translateX(-50%); }

.sh-dots {
    top: 68%;
    right: 6%;
    display: grid;
    grid-template-columns: repeat(3, 6px);
    gap: 6px;
    animation: shapeFloat 20s ease-in-out infinite;
}

.sh-dots span {
    width: 3px;
    height: 3px;
    background: var(--violet-light);
    border-radius: 50%;
}

.service-hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--bg-secondary));
    z-index: 3;
    pointer-events: none;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.service-hero-icon {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin: 0 auto 30px;
    position: relative;
}

.service-hero-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 26px;
    border: 2px solid;
    opacity: 0.2;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.12); opacity: 0.4; }
}

.service-hero-icon.violet {
    background: linear-gradient(135deg, var(--violet), var(--violet-dark));
}
.service-hero-icon.violet::after { border-color: var(--violet); }

.service-hero-icon.jaune {
    background: linear-gradient(135deg, var(--jaune), var(--jaune-dark));
    color: var(--noir);
}
.service-hero-icon.jaune::after { border-color: var(--jaune); }

.service-hero-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--jaune);
    margin-bottom: 15px;
}

.service-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.15;
}

.service-hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 35px;
    transition: color 0.6s ease;
}

.service-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--violet);
    color: #fff;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 2px solid var(--violet);
}

.service-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(129, 56, 227, 0.35);
    background: var(--violet-dark);
}

.service-hero-cta.btn-glow {
    box-shadow: 0 0 20px rgba(129, 56, 227, 0.3), 0 8px 30px rgba(129, 56, 227, 0.2);
    animation: btnGlow 3s ease-in-out infinite;
}

/* WHY SECTION */
.service-why {
    padding: 100px 60px;
    background: var(--bg-secondary);
    transition: background 0.6s ease;
    position: relative;
}

.service-why::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
    pointer-events: none;
    z-index: 1;
}

.service-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.service-why-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.25;
}

.service-why-text p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 15px;
    transition: color 0.6s ease;
}

.service-why-text p strong {
    color: var(--text-primary);
}

/* FEATURES */
.service-features-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-feature {
    display: flex;
    gap: 20px;
    padding: 28px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 18px;
    transition: all 0.4s ease;
}

.service-feature:hover {
    border-color: var(--border-card-hover);
    background: var(--bg-card-hover);
    transform: translateX(6px);
    box-shadow: 0 12px 35px var(--shadow-card);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    transition: all 0.4s ease;
}

.feature-icon.violet { background: linear-gradient(135deg, var(--violet), var(--violet-dark)); }
.feature-icon.jaune { background: linear-gradient(135deg, var(--jaune), var(--jaune-dark)); color: var(--noir); }

.service-feature:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.feature-content p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-secondary);
    transition: color 0.6s ease;
}

/* DETAILED FEATURES SECTION */
.service-details {
    padding: 100px 60px;
    background: var(--bg-primary);
    transition: background 0.6s ease;
}

.service-details-header {
    text-align: center;
    margin-bottom: 60px;
}

.service-details-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 15px;
}

.service-details-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    transition: color 0.6s ease;
}

.service-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.detail-card {
    padding: 40px 35px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--violet), var(--jaune));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.detail-card:hover::before {
    transform: scaleX(1);
}

.detail-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-card-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 50px var(--shadow-card);
}

.detail-card-icon {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 22px;
    transition: all 0.4s ease;
}

.detail-card:hover .detail-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.detail-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.detail-card p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-secondary);
    transition: color 0.6s ease;
}

/* PETIT PLUS */
.service-plus {
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
    transition: background 0.6s ease;
}

.service-plus-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 55px 50px;
    background: linear-gradient(135deg, var(--violet-dark), var(--violet));
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-plus-inner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--jaune);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    top: -100px;
    right: -50px;
}

.service-plus-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(254, 203, 5, 0.15);
    border: 1px solid rgba(254, 203, 5, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--jaune);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-plus-inner h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.service-plus-inner p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    max-width: 650px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

.service-plus-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--jaune);
    color: var(--noir);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-plus-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(254, 203, 5, 0.35);
}

/* OTHER SERVICES */
.service-others {
    padding: 80px 60px 100px;
    background: var(--bg-secondary);
    transition: background 0.6s ease;
    position: relative;
}

.service-others::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--bg-primary), transparent);
    pointer-events: none;
    z-index: 1;
}

.service-others h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
}

.service-others-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-other-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    transition: all 0.4s ease;
}

.service-other-card:hover {
    border-color: var(--border-card-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px var(--shadow-card);
}

.other-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
}

.service-other-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.service-other-card span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.service-other-card .other-arrow {
    margin-left: auto;
    color: var(--text-faint);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.service-other-card:hover .other-arrow {
    color: var(--jaune);
    transform: translateX(4px);
}

/* LIGHT MODE */
[data-theme="light"] .service-hero-bg .blob-1,
[data-theme="light"] .service-hero-bg .blob-2,
[data-theme="light"] .service-hero-bg .blob-3 { opacity: 0.12; }

[data-theme="light"] .service-hero-grid {
    background-image:
        linear-gradient(rgba(129, 56, 227, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129, 56, 227, 0.05) 1px, transparent 1px);
}

[data-theme="light"] .sh-shape { opacity: 0.06; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .service-why-grid { grid-template-columns: 1fr; gap: 50px; }
    .service-others-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .service-hero { padding: 70px 20px 50px; }
    .service-hero-shapes { display: none; }
    .service-why { padding: 60px 20px; }
    .service-details { padding: 60px 20px; }
    .service-details-grid { grid-template-columns: 1fr; }
    .service-plus { padding: 40px 20px; }
    .service-plus-inner { padding: 40px 25px; }
    .service-others { padding: 60px 20px 80px; }
    .service-feature { flex-direction: column; gap: 14px; }
    .detail-card { padding: 30px 25px; }
}
