/* Services Page Styles */

/* Container principal */
.services-container {
    padding-top: 140px;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 80px;
}

/* Header */
.services-header {
    text-align: center;
    margin-bottom: 100px;
    position: relative;
}

.services-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(64px, 8vw, 96px);
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s both;
    letter-spacing: -2px;
}

.services-subtitle {
    font-size: 20px;
    color: var(--silver);
    font-weight: 300;
    animation: fadeInUp 0.8s ease 0.4s both;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Services principaux */
.main-services {
    margin-bottom: 120px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
    margin-top: 80px;
}

.service-card {
    background: var(--white);
    border: 1px solid rgba(26, 26, 26, 0.08);
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    animation: fadeInSection 0.8s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.service-number {
    position: absolute;
    top: 40px;
    right: 40px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 80px;
    font-weight: 300;
    color: rgba(206, 28, 28, 0.1);
    transition: all 0.4s ease;
}

.service-card:hover .service-number {
    color: rgba(206, 28, 28, 0.2);
    transform: scale(1.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent-light);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon-bg {
    transform: scale(1.2);
    background: var(--accent);
}

.service-icon svg {
    width: 35px;
    height: 35px;
    position: relative;
    z-index: 1;
    fill: var(--accent);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon svg {
    fill: var(--white);
    transform: scale(1.1);
}

.service-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.service-description {
    font-size: 15px;
    color: var(--silver);
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-features {
    list-style: none;
    margin-bottom: 40px;
}

.service-features li {
    font-size: 14px;
    color: var(--charcoal);
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 15px;
    opacity: 0.8;
}

/* Services additionnels */
.additional-services {
    background: linear-gradient(135deg, var(--white) 0%, rgba(250, 249, 247, 0.5) 100%);
    border: 1px solid rgba(26, 26, 26, 0.05);
    padding: 80px 60px;
    margin-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.additional-services::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
    border-radius: 50%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--silver);
    max-width: 600px;
    margin: 0 auto;
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.additional-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border: 1px solid rgba(26, 26, 26, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.additional-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.additional-item:hover::before {
    transform: scaleX(1);
}

.additional-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.additional-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.additional-item:hover .additional-icon {
    background: var(--accent);
    transform: scale(1.1);
}

.additional-icon svg {
    width: 25px;
    height: 25px;
    fill: var(--accent);
    transition: all 0.3s ease;
}

.additional-item:hover .additional-icon svg {
    fill: var(--white);
}

.additional-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.additional-desc {
    font-size: 14px;
    color: var(--silver);
    line-height: 1.6;
}

/* Processus */
.process-section {
    margin-bottom: 100px;
    text-align: center;
}

.process-container {
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 60px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}

.process-step {
    padding: 40px 30px;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.process-step:nth-child(1) { animation-delay: 0.2s; }
.process-step:nth-child(2) { animation-delay: 0.4s; }
.process-step:nth-child(3) { animation-delay: 0.6s; }

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 60px;
    background: rgba(26, 26, 26, 0.1);
    transform: translateY(-50%);
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: var(--white);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 300;
    color: var(--accent);
    transition: all 0.3s ease;
}

.process-step:hover .process-icon {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1);
}

.process-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 15px;
}

.process-description {
    font-size: 14px;
    color: var(--silver);
    line-height: 1.6;
}

/* Navigation de retour */
.back-navigation {
    position: fixed;
    top: 40px;
    left: 60px;
    z-index: 1001;
    animation: fadeIn 1s ease 0.8s both;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--silver);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 12px 20px;
    background: rgba(250, 249, 247, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(26, 26, 26, 0.08);
    border-radius: 50px;
}

.back-link:hover {
    color: var(--accent);
    transform: translateX(-5px);
    border-color: rgba(206, 28, 28, 0.2);
}

.back-arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.back-link:hover .back-arrow {
    transform: translateX(-3px);
}

/* CTA Final */
.cta-section {
    text-align: center;
    padding: 100px 40px;
    background: var(--charcoal);
    color: var(--white);
    margin: 0 -60px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: slideInLeft 1s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.cta-text {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.cta-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button-primary {
    background: var(--accent);
    color: var(--white);
}

.cta-button-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-button-secondary:hover {
    border-color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .services-container {
        padding-top: 120px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .back-navigation {
        top: 30px;
        left: 30px;
    }

    .services-title {
        font-size: 48px;
    }

    .service-card {
        padding: 40px 30px;
    }

    .service-number {
        font-size: 60px;
        top: 30px;
        right: 30px;
    }

    .additional-services {
        padding: 60px 30px;
        margin-left: -30px;
        margin-right: -30px;
    }

    .additional-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-title {
        font-size: 36px;
    }

    .cta-section {
        margin: 0 -30px;
        padding: 80px 30px;
    }

    .cta-title {
        font-size: 40px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 20px;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .back-link {
        padding: 10px 16px;
        font-size: 12px;
    }
}
