.genesis-section {
    position: relative;
    width: 100%;
    height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 60px;
}

.genesis-left-content {
    position: relative;
    width: 50%;
        height: 100%;
        display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: var(--color-primary);
    clip-path: polygon(0 0, 100% 0, calc(100% - 80px) 100%, 0 100%);
}

.genesis-trapeze {
    position: relative;
    width: 80%;
    max-width: 700px;
    padding-right: 80px;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    align-items: flex-start;
    text-align: left;
    background: transparent;
}

.genesis-title {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'MomoTrustSans', sans-serif;
    margin: 0;
    line-height: 1.3;
}

.genesis-text {
    font-size: 1rem;
    font-weight: 400;
    font-family: 'MomoTrustSans', sans-serif;
    margin: 0;
    line-height: 1.6;
}

.genesis-cta {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'MomoTrustSans', sans-serif;
    border-radius: 36px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.genesis-cta:hover {
    background-color: var(--color-tertiary);
}

.genesis-image-container {
    position: absolute;
    left: calc(50% - 80px);
    width: calc(50% + 80px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 1;
    overflow: hidden;
    background-color: var(--color-primary);
}

.genesis-image {
    height: 100%;
    width: 100%;
    object-fit: cover; 
    display: block;
    mix-blend-mode: multiply;
    opacity: 0.7;
}

/* --- Ourstory Section --- */
.ourstory-section {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 60px;
}

.ourstory-image-container {
    position: absolute;
    left: 0;
    width: calc(50% + 80px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 1;
    overflow: hidden;
    background-color: var(--color-primary);
}

.ourstory-image {
    height: 100%;
    width: 100%;
    object-fit: cover; 
    display: block;
    mix-blend-mode: multiply;
    opacity: 0.9;
}

.ourstory-right-content {
    position: relative;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center; 
    justify-content: flex-start;
    z-index: 2;
    background: var(--color-primary);
    clip-path: polygon(80px 0, 100% 0, 100% 100%, 0 100%);
    margin-left: auto;
}

.ourstory-trapez {
    position: relative;
    width: 90%;
    max-width: 600px;
    padding: 40px 40px 40px 110px;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    align-items: flex-start;
    text-align: left;
    background: transparent;
    box-sizing: border-box; /* Important */
}

.ourstory-title {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'MomoTrustSans', sans-serif;
    margin: 0;
    line-height: 1.3;
    width: 100%; /* S'assurer qu'il prend toute la largeur */
}

.ourstory-intro {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'MomoTrustSans', sans-serif;
    color: var(--color-white);
    margin: 0 0 15px 0;
    line-height: 1.4;
    width: 100%;
}

.ourstory-text, .ourstory-conclusion {
    font-size: 1rem;
    font-weight: 400;
    font-family: 'MomoTrustSans', sans-serif;
    color: var(--color-white);
    margin: 0 0 20px 0;
    line-height: 1.6;
    width: 100%;
}

.ourstory-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'MomoTrustSans', sans-serif;
    color: var(--color-white);
    margin: 25px 0 15px 0;
    line-height: 1.4;
    width: 100%;
}

.ourstory-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.ourstory-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
    width: 100%;
}

.list-icon {
    color: var(--color-primary-light);
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.list-text {
    font-size: 1rem;
    font-weight: 400;
    font-family: 'MomoTrustSans', sans-serif;
    color: var(--color-white);
    line-height: 1.5;
    flex: 1;
}

/* --- Workflow Section --- */
.workflow-section {
    margin-bottom: 60px;
}

.workflow-container {
    display: flex;
    gap: 0;
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
}

.workflow-left {
    flex: 1;
    min-width: 300px;
    background-color: var(--color-primary);
    padding: 50px 40px;
    border-radius: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.workflow-title {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'MomoTrustSans', sans-serif;
    color: var(--color-white);
    margin: 0;
    line-height: 1.3;
}

.workflow-text {
    font-size: 1rem;
    font-weight: 400;
    font-family: 'MomoTrustSans', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

.workflow-list {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-left: -30px;
    position: relative;
    z-index: 1;
}

.workflow-item {
    padding: 25px 30px 25px 45px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 80px;
    border-radius: 0 !important;
}

.workflow-item:first-child {
    border-radius: 0 16px 0 0 !important;
}

.workflow-item:last-child {
    border-radius: 0 0 16px 0 !important;
}

.workflow-item:not(:first-child):not(:last-child) {
    border-radius: 0 !important;
}

.workflow-item:first-child:last-child {
    border-radius: 0 16px 16px 0 !important;
}

.workflow-item-primary-light {
    background-color: var(--color-gray-light);
    color: var(--color-primary);
}

.workflow-item-gray-dark {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
}

.workflow-item-primary-light .workflow-item-icon {
    background-color: rgba(10, 36, 78, 0.1);
}

.workflow-item-gray-dark .workflow-item-icon {
    background-color: rgba(255, 255, 255, 0.1);
}

.workflow-item svg {
    width: 40px;
    height: 40px;
    fill: none;
    stroke-width: 2;
}

.workflow-item-primary-light .workflow-item-icon svg {
    stroke: var(--color-primary);
}

.workflow-item-gray-dark .workflow-item-icon svg {
    stroke: var(--color-gray);
}

.workflow-item-text {
    font-size: 1.1rem;
    font-weight: 500;
    font-family: 'MomoTrustSans', sans-serif;
    margin: 0;
    line-height: 1.4;
}

.workflow-item-primary-light .workflow-item-text {
    color: var(--color-primary);
}

.workflow-item-gray-dark .workflow-item-text {
    color: var(--color-gray);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .genesis-section {
        flex-direction: column;
        height: auto;
    }

    .genesis-left-content {
        width: 100%;
        clip-path: none;
        padding: 40px 20px;
    }

    .genesis-trapeze {
        width: 100%;
        max-width: none;
    }

    .genesis-image-container {
        position: relative;
        left: auto;
        width: 100%;
        height: 300px;
        margin-top: 0;
    }

    .workflow-container {
        flex-direction: column;
        gap: 20px;
    }

    .workflow-left {
        border-radius: 16px;
        margin-bottom: -10px;
    }

    .workflow-list {
        margin-left: 0;
        gap: 10px;
    }

    .workflow-item {
        border-radius: 16px !important;
    }

    .workflow-item:first-child,
    .workflow-item:last-child,
    .workflow-item:not(:first-child):not(:last-child) {
        border-radius: 16px !important;
    }

    .ourstory-text,
    .ourstory-conclusion,
    .list-text {
        font-size: 0.95rem;
    }

    .ourstory-subtitle {
        font-size: 1rem;
    }

    .ourstory-list {
        gap: 10px;
    }
}