/* Styles pour la page Process */

/* Section Hero */
.video-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    z-index: 1;
}

.video-overlay h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.video-overlay p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Section Processus - Améliorations professionnelles */
.process-steps {
    padding: 8rem 0;
    background-color: #f9f9fa;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(135deg, #f9f9fa 25%, #f5f5f5 25%, #f5f5f5 50%, #f9f9fa 50%, #f9f9fa 75%, #f5f5f5 75%, #f5f5f5 100%);
    background-size: 40px 40px;
    animation: backgroundMove 30s linear infinite;
}

@keyframes backgroundMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 40px;
    }
}

.process-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 5rem;
    position: relative;
}

.process-intro:after {
    content: '';
    display: block;
    width: 150px;
    height: 3px;
    background: linear-gradient(to right, #9E7777, #D4A5A5);
    margin: 2rem auto 0;
}

.process-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.process-intro h2:before,
.process-intro h2:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid #D4A5A5;
    opacity: 0.5;
}

.process-intro h2:before {
    top: -15px;
    left: -30px;
    border-right: none;
    border-bottom: none;
}

.process-intro h2:after {
    bottom: -15px;
    right: -30px;
    border-left: none;
    border-top: none;
}

.process-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

.process-steps .container {
    position: relative;
    z-index: 10;
}

.process-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.process-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed #D4A5A5;
    opacity: 0.3;
}

.process-circle-1 {
    width: 400px;
    height: 400px;
    top: 15%;
    left: 5%;
    animation: rotate 60s linear infinite;
}

.process-circle-2 {
    width: 600px;
    height: 600px;
    bottom: 5%;
    right: 0;
    animation: rotate 80s linear infinite reverse;
}

.process-circle-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 20%;
    animation: rotate 40s linear infinite;
}

.process-circle-4 {
    width: 200px;
    height: 200px;
    bottom: 30%;
    right: 25%;
    animation: rotate 30s linear infinite reverse;
    border-width: 4px;
    opacity: 0.2;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.process-flow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #D4A5A5, transparent);
    z-index: 2;
    opacity: 0.2;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0 5rem;
}

.process-step-card {
    width: 300px;
    height: 300px;
    position: relative;
    perspective: 1000px;
    z-index: 10;
}

.process-step-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.process-step-card:hover .process-step-inner {
    transform: rotateY(180deg);
}

.process-step-front, .process-step-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.process-step-front {
    background: white;
    overflow: hidden;
}

.process-step-front:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 165, 165, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1);
        opacity: 0.2;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

.process-step-back {
    background: linear-gradient(135deg, #9E7777, #D4A5A5);
    color: white;
    transform: rotateY(180deg);
    overflow: hidden;
}

.process-step-back:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
}

.process-step-front h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.7rem;
    position: relative;
}

.process-step-front h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, #9E7777, #D4A5A5);
    margin: 0.5rem auto 0;
}

.process-step-front p {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.3;
    padding: 0 0.8rem;
    margin: 0;
}

.process-step-back h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.6rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.process-step-back ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.process-step-back li {
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 18px;
    font-size: 0.75rem;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.process-step-back li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: white;
    font-size: 0.7rem;
}

.process-step-number {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #9E7777, #D4A5A5);
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(158, 119, 119, 0.3);
    z-index: 1;
}

.process-step-number:after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px dashed white;
    animation: spin 10s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Process Bottom Section */
.process-excellence {
    background: #fff;
    padding: 6rem 0;
    text-align: center;
}

.excellence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.excellence-item {
    background: #f9f9fa;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.excellence-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.excellence-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #9E7777, #D4A5A5);
}

.excellence-icon {
    font-size: 2.5rem;
    color: #9E7777;
    margin-bottom: 1.5rem;
}

.excellence-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

.excellence-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section - Enhanced */
.process-cta {
    background: linear-gradient(135deg, #9E7777, #D4A5A5);
    position: relative;
    color: white;
    text-align: center;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.process-cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.4;
}

.process-cta:after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}

.process-cta .container {
    position: relative;
    z-index: 1;
}

.process-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.process-cta p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.9;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: #D4A5A5;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.cta-button:hover {
    background-color: #D4A5A5;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-button:hover:before {
    left: 100%;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .excellence-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .process-intro h2 {
        font-size: 2.5rem;
    }
    
    .process-circle {
        opacity: 0.2;
    }
    
    .steps-container {
        gap: 3rem;
    }
    
    .process-step-card {
        width: 270px;
        height: 270px;
    }
    
    .process-cta h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .process-intro h2 {
        font-size: 2rem;
    }
    
    .process-intro h2:before,
    .process-intro h2:after {
        display: none;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 4rem;
    }
    
    .process-step-card {
        width: 280px;
        height: 280px;
    }
    
    .excellence-grid {
        grid-template-columns: 1fr;
    }
    
    .process-cta h2 {
        font-size: 2rem;
    }
    
    .process-cta p {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step-card {
        width: 280px;
        height: 280px;
        margin: 1.5rem auto;
    }

    .process-step-front p {
        font-size: 0.9rem;
        padding: 0 1rem;
        margin-top: 0.5rem;
    }

    .process-step-back ul {
        padding-left: 1.5rem;
        margin-top: 0.5rem;
    }

    .process-step-back ul li {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .process-step-number {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        top: 25px;
    }

    .process-step-card .process-step-inner {
        padding: 1rem;
    }

    .process-intro {
        margin-bottom: 2rem;
    }

    .process-intro p {
        padding: 0 1rem;
    }

    .excellence-grid {
        grid-template-columns: 1fr;
    }

    .excellence-item {
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .steps-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .process-step-card {
        width: 220px;
        height: 220px;
        margin: 1rem;
    }

    .process-step-front h3 {
        font-size: 1.1rem;
    }

    .process-step-front p {
        font-size: 0.85rem;
        line-height: 1.4;
        padding: 0 0.5rem;
    }

    .process-step-back h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    .process-step-back ul {
        padding-left: 1.2rem;
    }

    .process-step-back ul li {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
    }

    .excellence-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
