/* ========================================
   SECTION AUTRES DOMAINES
   ======================================== */

#autres-domaines {
    padding: 40px 0 120px 0;
    background: #FFFFFF;
    margin-top: 0;
}

#autres-domaines .container {
    max-width: 1328px;
    margin: 0 auto;
    padding: 0 40px;
}

.autres-domaines-wrapper {
    display: inline-flex;
    padding: 64px 164.603px 63px 40px;
    align-items: center;
    gap: 251px;
    border-radius: 8px;
    background: #F5F5F5;
    width: 100%;
    box-sizing: border-box;
}

.autres-domaines-content {
    flex: 1;
}

.domaines-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.arrow-black {
    width: 46px;
    height: 6px;
    stroke-width: 1px;
    stroke: #141414;
}

.domaines-title {
    color: #141414;
    font-family: var(--font-family);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.domaines-main-title {
    color: #141414;
    font-family: var(--font-family);
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 64px;
    margin: 0 0 24px 0;
}

.domaines-description {
    color: #141414;
    font-family: var(--font-family);
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    margin: 0 0 32px 0;
    max-width: 600px;
}

.btn-domaines {
    display: flex;
    padding: 8px 16px;
    align-items: center;
    gap: 24px;
    border-radius: 4px;
    background: #141414;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    width: fit-content;
}

.btn-domaines:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn-domaines svg {
    flex-shrink: 0;
}

.autres-domaines-logos {
    display: flex;
    flex-direction: column;
    gap: 80px;
    align-items: flex-start;
}

.autres-domaines-logos svg {
    height: 70px;
    width: auto;
}

@media (max-width: 1200px) {
    .autres-domaines-logos {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 24px;
        align-items: center;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        scroll-snap-type: x mandatory;
        padding-bottom: 6px;
        padding-right: 20px;
        scroll-padding-right: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .autres-domaines-logos::-webkit-scrollbar {
        height: 6px;
    }

    .autres-domaines-logos svg {
        flex: 0 0 auto;
        scroll-snap-align: start;
        height: 54px;
        width: auto;
    }
}

@media (max-width: 1200px) {
    .autres-domaines-wrapper {
        gap: 100px;
        padding: 64px 40px;
    }
}

@media (max-width: 768px) {
    #autres-domaines .container {
        padding: 0 20px;
    }

    .autres-domaines-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
        padding: 40px 20px;
    }

    .domaines-main-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .domaines-description {
        font-size: 18px;
        line-height: 1.6;
    }

    .autres-domaines-logos {
        gap: 32px;
    }

    .autres-domaines-logos svg {
        height: 50px;
        width: auto;
    }
}
