/* Hero Section unique */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    background: linear-gradient(45deg, rgba(199, 48, 206, 0.9), rgba(215, 142, 236, 0.8));
}

@keyframes gradientFloat {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.7; }
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 60px;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 0 30px rgba(255,255,255,0.5);
}

.hero-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
    color: white;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: slideInFromLeft 1.2s ease-out;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 70vh;
    animation: slideInFromRight 1.2s ease-out;
}

.hero-image-main {
    width: 100%;
    height: 100%;
    background-image: url('../Images/qui-sommes-nous.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0;
}

.hero-image-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(199, 48, 206, 0.2), transparent, rgba(240, 147, 251, 0.2));
    border-radius: 30px;
}

.divider {
    width: 250px;
    height: 2px;
    background-color: black;
    border: none;
    margin: 10px auto 30px;
}

.divider2 {
    width: 150px;
    height: 2px;
    background-color: white;
    border: none;
    margin: 10px auto 30px;
    opacity: 1;
}

.services-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: black;
    text-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.service-description {
    max-width: 1200px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-size: 18px;
    color: #000000;
}

@keyframes slideInFromLeft {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInFromRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Section attractive pour "Pourquoi choisir" */
.why-choose-section {
    background: linear-gradient(135deg, #f8f4ff 0%, #fff0ff 50%, #f4f8ff 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 20%, rgba(201, 109, 233, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.1) 0%, transparent 50%);
}

.why-choose-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.reason-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c96de9, #f093fb);
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.reason-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #c96de9, #f093fb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.reason-card:hover .reason-icon {
    transform: scale(1.1) rotate(5deg);
}

.reason-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.reason-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.reason-card p {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

/* Section stats attractive */
.stats-section {
    background: linear-gradient(135deg, #c96de9 0%, #f093fb 100%);
    padding: 60px 20px;
    color: white;
    text-align: center;
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Amélioration de la section emploi */
.work-with-us {
    background: linear-gradient(135deg, #f8f4ff 0%, #fff0ff 100%);
    padding: 80px 20px;
}

.job-options {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.job-card {
    width: 320px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c96de9, #f093fb);
}

.job-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.job-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.job-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.job-button {
    display: block;
    background-color: #EC46FA;
    color: white;
    padding: 12px 0px;
    text-decoration: none;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.3s;
    text-align: center;
    border: none;
    font-size: 18px;
}

.job-button:hover {
    background-color: #D035DC;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 0;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        height: 60vh;
        min-height: 300px;
    }

    .hero-image-main {
        min-height: 300px;
        min-width: 300px;
        margin-bottom: 40px;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .job-options {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .floating-icon {
        display: none;
    }
    .text {
        display: none;
    }

}

.faq {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.faq h2 {

    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: black;
    text-shadow: 0 4px 8px rgba(0,0,0,0.1);

}

.faq-container {
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    border: 1px solid #E0E0E0;
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background-color: white;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s;
    border-left: 4px solid #EC46FA;
}

.faq-question:hover {
    background-color: #F9F9F9;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    transition: transform 0.3s;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    background-color: #FAFAFA;
}

.faq-answer p {
    margin: 0;
    padding: 15px 20px;
    line-height: 1.6;
}

.faq-answer.active {
    max-height: 300px;
    padding: 15px 20px;
}

/* Section Témoignages */
.testimonials {
    background-color: #E384FD;
    padding: 50px 20px;
    text-align: center;
}

.testimonials h2 {
    font-size: 28px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

.testimonials .divider {
    background-color: white;
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
    display: flex;
    align-items: center;
}

.testimonial-slides {
    flex: 1;
    position: relative;
    min-height: 200px;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    padding: 0 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-content {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    margin: 0 auto;
    max-width: 650px;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.testimonial-content h4 {
    font-weight: bold;
    color: #333;
}

.slider-arrow {
    background-color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    margin: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slider-arrow:hover {
    background-color: #f5f5f5;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
    }

    .hero-br {
        display: none;
    }

    .hero-text, .hero-image {
        width: 100%;
    }

    .features {
        flex-direction: column;
        align-items: center;
    }

    .job-options {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
}