/**
 * Styles pour Card Simple
 */

/* ========================================
   CARD PRINCIPALE
   ======================================== */

.card-simple {
    position: relative;
    min-height: 280px;
    /*margin-top: 4%;*/
    /*left: 50px;*/
    width: calc(100% + 100px);
    background: #ffffff;
    box-shadow: 30px 0px 20px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

/* Version reverse */
.card-simple--reverse {
    left: auto;
    right: 100px;
    box-shadow: -30px 0px 20px 6px rgba(0,0,0,0.1);
}

/* ========================================
   ICÔNE
   ======================================== */

.card-simple__icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
}

.card-simple__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========================================
   CONTENU
   ======================================== */

.card-simple__content {
    /* Styles du contenu */
}

/* Titre */
.card-simple__title {
    font-family: 'Source Sans 3', Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #92B9C7;
}


/* Classes de tailles pour le titre */
.card-simple__title .title-3xl {
    font-size: 6rem;
}

.card-simple__title .title-2xl {
    font-size: 5rem;
}

.card-simple__title .title-xl {
    font-size: 2.6rem;
    line-height: 1em;
}

.card-simple__title .title-lg {
    font-size: 1.5rem;
}

.card-simple__title .title-md {
    font-size: 2.5rem;
}

/* Wording */
.card-simple__wording {
    font-family: 'Source Sans 3', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    width: 85%;
    line-height: 1.3;
    color: #53534D;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .card-simple {
        left: 20px;
        width: calc(100% + 80px);
    }

    .card-simple--reverse {
        right: 20px;
    }

    .card-simple__title .title-3xl {
        font-size: 4rem;
    }

    .card-simple__title .title-2xl {
        font-size: 3.5rem;
    }

    .card-simple__title .title-xl {
        font-size: 3rem;
    }

    .card-simple__title .title-lg {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .card-simple {
        left: 0;
        width: 100%;
        height: auto;
        padding: 1.5rem;
        box-shadow: 0px -20px 30px 6px rgba(0, 0, 0, 0.1);
    }

    .card-simple--reverse {
        right: 10px;
    }

    .card-simple__icon {
        position: relative;
        width: 100%;
        height: 80px;
        margin: 0 auto 2em;
        right: unset;
    }

    .card-simple__title {
        font-size: 1.2rem;
        text-align: center;
    }

    .card-simple__title .title-3xl {
        font-size: 2.5rem;
    }

    .card-simple__title .title-2xl {
        font-size: 2rem;
    }

    .card-simple__title .title-xl {
        font-size: 1.5rem;
    }

    .card-simple__title .title-lg {
        font-size: 1.5rem;
    }

    .card-simple__title .title-md {
        font-size: 1.25rem;
    }

    .card-simple__wording {
        font-size: 1rem;
        text-align: center;
        width: auto !important;
    }
}
