/* =========================================================
   PAGE NOTRE HISTOIRE
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.histoire-hero {

    position: relative;

    width: 100%;

    height: 430px;

    overflow: hidden;

    background: #151515;

}


.histoire-hero-image {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

}


.histoire-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.78) 0%,
            rgba(0,0,0,.55) 42%,
            rgba(0,0,0,.20) 75%,
            rgba(0,0,0,.05) 100%
        );

}


.histoire-hero-content {

    position: absolute;

    z-index: 2;

    left: 9%;

    top: 50%;

    transform: translateY(-50%);

    max-width: 650px;

    padding-left: 28px;

    border-left: 3px solid var(--amor-red);

}


.histoire-hero-line {

    width: 35px;

    height: 3px;

    margin-bottom: 15px;

    background: var(--amor-red);

}


.histoire-hero-tag {

    display: block;

    margin-bottom: 15px;

    color: #ffffff;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;

}


.histoire-hero h1 {

    margin: 0 0 18px;

    color: #ffffff;

    font-size: clamp(48px, 6vw, 78px);

    font-weight: 700;

    line-height: 1;

}


.histoire-hero p {

    max-width: 580px;

    margin: 0;

    color: rgba(255,255,255,.88);

    font-size: 16px;

    line-height: 1.7;

}



/* =========================================================
   BOUTONS HERO
   ========================================================= */

.histoire-hero-actions {

    position: absolute;

    z-index: 3;

    right: 7%;

    top: 50%;

    transform: translateY(-50%);

    display: flex;

    flex-direction: column;

    gap: 15px;

}


.histoire-action-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 130px;

    height: 48px;

    padding: 0 22px;

    color: #ffffff;

    background: var(--amor-red);

    border: 1px solid var(--amor-red);

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    text-decoration: none;

    transition: .25s ease;

}


.histoire-action-btn:hover {

    color: var(--amor-red);

    background: #ffffff;

    text-decoration: none;

}


.histoire-action-outline {

    background: rgba(0,0,0,.25);

    border-color: rgba(255,255,255,.7);

}


.histoire-action-outline:hover {

    color: #ffffff;

    background: var(--amor-red);

    border-color: var(--amor-red);

}



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

.histoire-page {

    background: #ffffff;

}


.histoire-main-row {

    display: flex;

    align-items: center;

    padding-top: 70px;

    padding-bottom: 70px;

}



/* =========================================================
   CARTE HISTOIRE
   ========================================================= */

.histoire-card {

    position: relative;

    margin-right: 20px;

    color: #ffffff;

    background: #242d38;

    border-left: 3px solid var(--amor-red);

    border-top: 3px solid var(--amor-red);

}


.histoire-card-top {

    padding: 38px 40px 25px;

    border-bottom: 1px solid rgba(255,255,255,.35);

}


.histoire-card-top > span {

    display: block;

    margin-bottom: 12px;

    color: var(--amor-red);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

}


.histoire-card h2 {

    margin: 0;

    color: #ffffff;

    font-size: 35px;

    font-weight: 600;

    line-height: 1.2;

}


.histoire-card-content {

    padding: 0 40px;

}


.histoire-block {

    position: relative;

    display: flex;

    gap: 20px;

    padding: 27px 0;

    border-bottom: 1px solid rgba(255,255,255,.30);

}


.histoire-block:last-child {

    border-bottom: none;

}


.histoire-number {

    flex: 0 0 auto;

    color: var(--amor-red);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1px;

}


.histoire-block p {

    margin: 0;

    color: rgba(255,255,255,.92);

    font-size: 14px;

    line-height: 1.75;

}



/* =========================================================
   IMAGE
   ========================================================= */

.histoire-image-wrapper {

    position: relative;

    margin-left: 20px;

    overflow: hidden;

}


.histoire-image {

    display: block;

    width: 100%;

    height: 570px;

    object-fit: cover;

    transition: transform .5s ease;

}


.histoire-image-wrapper:hover .histoire-image {

    transform: scale(1.03);

}


.histoire-image-caption {

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    padding: 25px 30px;

    color: #ffffff;

    background:
        linear-gradient(
            transparent,
            rgba(0,0,0,.85)
        );

}


.histoire-image-caption span {

    display: block;

    margin-bottom: 5px;

    color: var(--amor-red);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

}


.histoire-image-caption strong {

    font-size: 20px;

}



/* =========================================================
   VALEURS
   ========================================================= */

.histoire-values {

    padding: 85px 0;

    background: #f5f5f5;

}


.histoire-section-heading {

    max-width: 700px;

    margin: 0 auto 55px;

    text-align: center;

}


.histoire-section-heading > span {

    color: var(--amor-red);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

}


.histoire-section-heading h2 {

    margin: 12px 0 15px;

    color: #242d38;

    font-size: 38px;

    font-weight: 600;

}


.histoire-section-heading p {

    margin: 0;

    color: #666;

    font-size: 15px;

    line-height: 1.7;

}


.value-card {

    height: 100%;

    padding: 35px 30px;

    text-align: center;

    background: #ffffff;

    border-top: 3px solid var(--amor-red);

    transition: transform .25s ease, box-shadow .25s ease;

}


.value-card:hover {

    transform: translateY(-7px);

    box-shadow: 0 15px 35px rgba(0,0,0,.10);

}


.value-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 60px;

    height: 60px;

    margin: 0 auto 20px;

    color: #ffffff;

    background: var(--amor-red);

    font-size: 27px;

}


.value-card h3 {

    margin: 0 0 12px;

    color: #242d38;

    font-size: 22px;

}


.value-card p {

    margin: 0;

    color: #666;

    font-size: 14px;

    line-height: 1.7;

}



/* =========================================================
   CTA
   ========================================================= */

.histoire-cta {

    padding: 80px 0;

    background: #242d38;

}


.histoire-cta-content {

    max-width: 800px;

    margin: auto;

    text-align: center;

}


.histoire-cta-content > span {

    color: var(--amor-red);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

}


.histoire-cta h2 {

    margin: 15px 0;

    color: #ffffff;

    font-size: 42px;

    font-weight: 600;

}


.histoire-cta p {

    margin: 0 auto 30px;

    color: rgba(255,255,255,.75);

    font-size: 15px;

    line-height: 1.7;

}


.histoire-cta-btn {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    min-height: 50px;

    padding: 0 25px;

    color: #ffffff;

    background: var(--amor-red);

    border: 2px solid var(--amor-red);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    text-decoration: none;

    transition: .25s ease;

}


.histoire-cta-btn span {

    font-size: 20px;

}


.histoire-cta-btn:hover {

    color: var(--amor-red);

    background: #ffffff;

    border-color: #ffffff;

    text-decoration: none;

}



/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 991px) {


    .histoire-hero {

        height: 400px;

    }


    .histoire-hero-content {

        left: 6%;

        max-width: 60%;

    }


    .histoire-hero-actions {

        right: 5%;

    }


    .histoire-main-row {

        padding-top: 50px;

        padding-bottom: 50px;

    }


    .histoire-card {

        margin-right: 0;

    }


    .histoire-image-wrapper {

        margin-left: 0;

        margin-top: 30px;

    }


    .histoire-image {

        height: 450px;

    }

}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {


    .histoire-hero {

        height: 470px;

    }


    .histoire-hero-image {

        object-position: center;

    }


    .histoire-hero-overlay {

        background:
            linear-gradient(
                90deg,
                rgba(0,0,0,.75),
                rgba(0,0,0,.35)
            );

    }


    .histoire-hero-content {

        left: 22px;

        right: 22px;

        top: 50%;

        max-width: none;

        padding-left: 18px;

    }


    .histoire-hero h1 {

        font-size: 46px;

    }


    .histoire-hero p {

        font-size: 14px;

        line-height: 1.6;

    }


    .histoire-hero-actions {

        right: auto;

        left: 40px;

        bottom: 25px;

        top: auto;

        transform: none;

        flex-direction: row;

        gap: 10px;

    }


    .histoire-action-btn {

        min-width: auto;

        height: 42px;

        padding: 0 16px;

        font-size: 10px;

    }


    .histoire-main-row {

        display: block;

        padding-top: 35px;

        padding-bottom: 35px;

    }


    .histoire-card-top {

        padding: 28px 22px 20px;

    }


    .histoire-card h2 {

        font-size: 28px;

    }


    .histoire-card-content {

        padding: 0 22px;

    }


    .histoire-block {

        gap: 13px;

        padding: 22px 0;

    }


    .histoire-block p {

        font-size: 13px;

        line-height: 1.7;

    }


    .histoire-image-wrapper {

        margin-top: 25px;

    }


    .histoire-image {

        height: 330px;

    }


    .histoire-values {

        padding: 60px 0;

    }


    .histoire-section-heading {

        margin-bottom: 35px;

    }


    .histoire-section-heading h2 {

        font-size: 30px;

    }


    .value-card {

        margin-bottom: 20px;

    }


    .histoire-cta {

        padding: 60px 20px;

    }


    .histoire-cta h2 {

        font-size: 31px;

    }

}