/* ── Styles pour la page Services ── */

/* ── Typographie & Palette ── */
:root {
    --aqua-blue: #295195;
    --aqua-light: #e8f4f0;
    --aqua-accent: #3dc0d0;
    --aqua-dark: #0d1f3c;
    --aqua-gold: #f5a623;
    --text-muted: #8a9bb5;
}

/* ── Animations d'entrée ── */
.scroll-animate {
    opacity: 0;
    transition: opacity 0.75s cubic-bezier(.4, 0, .2, 1),
        transform 0.75s cubic-bezier(.4, 0, .2, 1);
    will-change: opacity, transform;
}

[data-animation="fade-right"] {
    transform: translateX(-56px);
}

[data-animation="fade-left"] {
    transform: translateX(56px);
}

[data-animation="fade-up"] {
    transform: translateY(44px);
}

[data-animation="zoom-in"] {
    transform: scale(0.92);
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: none;
}

/* ── Hero ── */
.hero-badge {
    display: inline-block;
    background: rgba(61, 192, 208, .15);
    border: 1px solid rgba(61, 192, 208, .35);
    color: var(--aqua-accent);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 1rem;
}

/* ── Compteurs animés ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    padding: 1.2rem 1rem;
    text-align: center;
    transition: border-color .3s;
}

.stat-card:hover {
    border-color: var(--aqua-accent);
}

.stat-card .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--aqua-accent);
    line-height: 1;
}

.stat-card .label {
    font-size: .78rem;
    color: var(--text-muted);
    margin-top: .35rem;
}

/* ── Service Cards ── */
.service-card {
    background: linear-gradient(135deg, rgba(41, 81, 149, .08) 0%, rgba(26, 155, 123, .06) 100%);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 24px;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1),
        box-shadow .35s,
        border-color .35s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    border-color: rgba(0, 201, 167, .4);
}

.service-img-wrap {
    position: relative;
    overflow: hidden;
    height: 240px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .service-img-wrap {
        width: 340px;
        height: auto;
        min-height: 280px;
    }
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.service-card:hover .service-img-wrap img {
    transform: scale(1.04);
}

.service-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 40%, rgba(13, 31, 60, .85));
}

@media (max-width: 767px) {
    .service-img-overlay {
        background: linear-gradient(to bottom, transparent 40%, rgba(13, 31, 60, .85));
    }
}

/* ── Badge de service ── */
.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(61, 192, 208, .15);
    border: 1px solid rgba(61, 192, 208, .3);
    color: var(--aqua-accent);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 1rem;
}

/* ── Feature bullets ── */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .88rem;
    color: #b8c8dc;
    padding: .45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li .check {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background: rgba(0, 201, 167, .2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.feature-list li .check svg {
    width: 10px;
    height: 10px;
}

/* ── CTA Button ── */
.btn-service {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--aqua-blue), var(--aqua-accent));
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 100px;
    text-decoration: none;
    transition: opacity .25s, transform .25s;
    border: none;
    cursor: pointer;
}

.btn-service:hover {
    opacity: .88;
    transform: translateX(3px);
    color: #fff;
}

.btn-service svg {
    width: 14px;
    height: 14px;
    transition: transform .25s;
}

.btn-service:hover svg {
    transform: translateX(4px);
}

.btn-service-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--aqua-accent);
    font-size: .85rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 100px;
    text-decoration: none;
    border: 1px solid rgba(61, 192, 208, .4);
    transition: background .25s, border-color .25s;
}

.btn-service-outline:hover {
    background: rgba(61, 192, 208, .1);
    border-color: var(--aqua-accent);
    color: var(--aqua-accent);
}

/* ── Processus ── */
.process-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding-bottom: 2rem;
}

.process-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--aqua-accent), transparent);
}

.step-num {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--aqua-blue), var(--aqua-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .9rem;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(26, 155, 123, .2);
}

/* ── FAQ ── */
details {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

details summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    cursor: pointer;
    font-weight: 500;
    font-size: .93rem;
    color: #dde6f5;
    user-select: none;
    gap: 1rem;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary .faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(0, 201, 167, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s, transform .3s;
}

details[open] summary .faq-icon {
    background: rgba(0, 201, 167, .25);
    transform: rotate(45deg);
}

details .faq-body {
    padding-bottom: 1rem;
    font-size: .875rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ── Section divider ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--aqua-accent);
    margin-bottom: .75rem;
}

.section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--aqua-accent);
    border-radius: 2px;
}

/* ── CTA Final ── */
.cta-block {
    background: linear-gradient(135deg, var(--aqua-blue) 0%, #0d2a50 100%);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 28px;
    padding: 3.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-block::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 201, 167, .15), transparent 70%);
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.cta-block::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 155, 123, .12), transparent 70%);
    bottom: -100px;
    left: -50px;
    pointer-events: none;
}

/* ── Tabs de services (mobile) ── */
.tab-nav {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.tab-btn {
    padding: 7px 18px;
    border-radius: 100px;
    font-size: .8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, .15);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .25s;
}

.tab-btn.active,
.tab-btn:hover {
    background: rgba(0, 201, 167, .15);
    border-color: var(--aqua-accent);
    color: var(--aqua-accent);
}

/* ── Pourquoi nous ── */
.why-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 16px;
    padding: 1.5rem;
    transition: border-color .3s, background .3s;
}

.why-card:hover {
    background: rgba(0, 201, 167, .06);
    border-color: rgba(0, 201, 167, .3);
}

.why-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}
