/* ===== ANIMATIONS AU SCROLL ===== */

/* Animation simple - slide up + fade in */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== STYLES DE BASE ===== */

.aboutus-container {
    background-color: #ffffff;
    width: 100%;
    padding: 20px 40px;
}

.aboutus-content {
    max-width: 1400px;
    margin: 0 auto;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 80px;
}
.aboutus-image {
    flex: 0 0 520px;
    display: flex;
    align-items: flex-start;
    background: transparent;
    justify-content: center;
    opacity: 0;
    transform: translateY(60px);
}

.aboutus-image img {
    width: 480px;
    height: auto;
    object-fit: contain;
}
.aboutus-text {
    flex: 1;
    display: flex;
    background: transparent;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(60px);
}

.aboutus-title {
    font-size: 36px;
    background: transparent;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
    margin: 0 0 15px 0;
}

.aboutus-introa {
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
    font-size: 22px;
    line-height: 1.6;
    background: transparent;
}

.aboutus-description1 {
    font-size: 18px;
    font-weight: 500;
    font-family: Arial, Helvetica, sans-serif;
    background: transparent;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Quand la section devient visible */
.aboutus-container.visible .aboutus-image {
    animation: slideUpFade 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.1s;
}

.aboutus-container.visible .aboutus-text {
    animation: slideUpFade 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.3s;
}

/* ========================================
   RESPONSIVE POUR DESKTOP LARGE (> 1400px)
   ======================================== */
@media (min-width: 1400px) {
    .aboutus-container {
        padding: 20px 30px;
    }

    .aboutus-content {
        max-width: 1500px;
        gap: 100px;
    }

    .aboutus-image {
        flex: 0 0 520px;
    }

    .aboutus-image img {
        width: 520px;
    }

    .aboutus-title {
        font-size: 40px;
    }

    .aboutus-introa {
        font-size: 24px;
    }

    .aboutus-description1 {
        font-size: 19px;
    }
}

/* ========================================
   RESPONSIVE POUR DESKTOP (1024px - 1399px)
   ======================================== */
@media (max-width: 1399px) and (min-width: 1024px) {
    .aboutus-container {
        padding: 80px 50px;
    }

    .aboutus-content {
        gap: 50px;
    }

    .aboutus-image {
        flex: 0 0 400px;
    }

    .aboutus-image img {
        width: 400px;
    }
}

/* ========================================
   RESPONSIVE POUR TABLETTE (768px - 1023px)
   ======================================== */
@media (max-width: 1023px) and (min-width: 768px) {
    .aboutus-container {
        padding: 60px 40px;
    }

    .aboutus-content {
        gap: 40px;
    }

    .aboutus-image {
        flex: 0 0 320px;
    }

    .aboutus-image img {
        width: 320px;
    }

    .aboutus-title {
        font-size: 32px;
    }

    .aboutus-introa {
        font-size: 20px;
    }

    .aboutus-description1 {
        font-size: 16px;
    }

    .aboutus-text {
        gap: 10px;
    }
}

/* ========================================
   RESPONSIVE POUR TABLETTE PETITE (600px - 767px)
   ======================================== */
@media (max-width: 767px) and (min-width: 600px) {
    .aboutus-container {
        padding: 50px 30px;
    }

    .aboutus-content {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .aboutus-image {
        flex: none;
        width: 100%;
        max-width: 350px;
    }

    .aboutus-image img {
        width: 100%;
        max-width: 350px;
    }

    .aboutus-text {
        width: 100%;
        gap: 12px;
    }

    .aboutus-title {
        font-size: 30px;
        text-align: center;
    }

    .aboutus-introa {
        font-size: 18px;
        text-align: center;
    }

    .aboutus-description1 {
        font-size: 16px;
    }
}

/* ========================================
   RESPONSIVE POUR MOBILE (480px - 599px)
   ======================================== */
@media (max-width: 599px) and (min-width: 480px) {
    .aboutus-container {
        padding: 45px 25px;
    }

    .aboutus-content {
        flex-direction: column;
        align-items: center;
        gap: 35px;
    }

    .aboutus-image {
        flex: none;
        width: 100%;
        max-width: 320px;
    }

    .aboutus-image img {
        width: 100%;
        max-width: 320px;
    }

    .aboutus-text {
        width: 100%;
        gap: 12px;
    }

    .aboutus-title {
        font-size: 28px;
        text-align: center;
        margin-bottom: 12px;
    }

    .aboutus-introa {
        font-size: 17px;
        text-align: center;
    }

    .aboutus-description1 {
        font-size: 15px;
    }

    /* Animation plus rapide sur mobile */
    .aboutus-container.visible .aboutus-image,
    .aboutus-container.visible .aboutus-text {
        animation-duration: 0.5s;
    }
}

/* ========================================
   RESPONSIVE POUR MOBILE STANDARD (320px - 479px)
   ======================================== */
@media (max-width: 479px) {
    .aboutus-container {
      padding: 0px;
    }

    .aboutus-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin: 0px 20px;
    }

    .aboutus-image {
        flex: none;
        width: 100%;
        max-width: 280px;
    }

    .aboutus-image img {
        width: 100%;
        max-width: 280px;
    }

    .aboutus-text {
        width: 100%;
        gap: 12px;
    }

    .aboutus-title {
        font-size: 26px;
        text-align: center;
        margin-bottom: 10px;
    }

    .aboutus-introa {
        font-size: 16px;
        text-align: center;
    }

    .aboutus-description1 {
        font-size: 14px;
    }

    /* Animation simplifiÃ©e */
    .aboutus-container.visible .aboutus-image,
    .aboutus-container.visible .aboutus-text {
        animation-duration: 0.5s;
    }
}

/* ========================================
   RESPONSIVE POUR TRÃˆS PETIT MOBILE (< 320px)
   ======================================== */
@media (max-width: 319px) {
    .aboutus-container {
        padding: 35px 15px;
    }

    .aboutus-content {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .aboutus-image {
        flex: none;
        width: 100%;
        max-width: 240px;
    }

    .aboutus-image img {
        width: 100%;
        max-width: 240px;
    }

    .aboutus-text {
        width: 100%;
        gap: 10px;
    }

    .aboutus-title {
        font-size: 24px;
        text-align: center;
        margin-bottom: 8px;
    }

    .aboutus-introa {
        font-size: 15px;
        text-align: center;
    }

    .aboutus-description1 {
        font-size: 13px;
    }
}

/* ========================================
   RESPONSIVE POUR MODE PAYSAGE MOBILE
   ======================================== */
@media (max-height: 500px) and (orientation: landscape) {
    .aboutus-container {
        padding: 30px 20px;
    }

    .aboutus-content {
        flex-direction: row;
        gap: 30px;
    }

    .aboutus-image {
        flex: 0 0 250px;
    }

    .aboutus-image img {
        width: 250px;
    }

    .aboutus-title {
        font-size: 24px;
        text-align: left;
    }

    .aboutus-introa {
        font-size: 15px;
        text-align: left;
    }

    .aboutus-description1 {
        font-size: 14px;
    }

    .aboutus-text {
        gap: 8px;
    }
}