/* ==========================================================
   CONTENEUR GLOBAL B612 — DESKTOP
========================================================== */

:root {

    --b612-container-width: 1280px;

    --b612-container-gutter: 40px;
}


/* ==========================================================
   TEXTURE PAPIER — SECTIONS ÉDITORIALES
========================================================== */

.b612-paper-texture {

    background-color: #F7F3EA;

    background-image:
        repeating-linear-gradient(
            90deg,
            rgba(120, 105, 85, .045) 0px,
            rgba(120, 105, 85, .045) 1px,
            transparent 1px,
            transparent 4px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, .28) 0px,
            rgba(255, 255, 255, .28) 1px,
            transparent 1px,
            transparent 9px
        );

    background-size:
        auto,
        auto;
}



.b612-carousel {

    position: relative;

    display: block;

    width: 100%;
    max-width: 1280px;

    height: 315px;

    margin: 0 auto;

    padding: 30px 0;

    box-sizing: border-box;

    z-index: 0;
}


/****************************************************/

.b612-carousel-left{

    display:flex;
    flex-direction:column;
    justify-content:center;

    height:315px;

}

/****************************************************/

.b612-carousel-subtitle{

    margin:0 0 30px;

    font-family:'Inter',sans-serif;
    font-size:13px;
    font-weight:500;
    letter-spacing:.16em;
    text-transform:uppercase;

    color:#A8A2A0;

}

/****************************************************/

.b612-carousel-title{

    margin:0 0 35px;

    font-family:'Cormorant Garamond',serif;
    font-size:50px;
    font-weight:400;

    line-height:.95;
    letter-spacing:-.02em;

    color:#1A1A1A;

}

/****************************************************/

.b612-carousel-button{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    gap:10px;

    height:46px;

    padding:0 24px;

    border-radius:999px;

    border:1px solid #DDD7D2;

    background:#FFF;

    font-family:'Inter',sans-serif;

    font-size:14px;

    font-weight:500;

    color:#1A1A1A;

    text-decoration:none;

    transition:.25s;

}

.b612-carousel-button:hover{

    background:#1A1A1A;
    color:#FFF;

}

/****************************************************/

.b612-carousel-right{

    display:grid;

    grid-template-columns:48px minmax(0, 1fr) 48px;

    align-items:center;

    gap:20px;

    width:100%;
    height:315px;

    box-sizing:border-box;

}

/****************************************************/

.b612-swiper{

    width:100%;

    overflow:hidden;

}

/****************************************************/

.swiper-wrapper{

    align-items:center;

}

/****************************************************/

.swiper-slide{

    width:auto !important;

}

/****************************************************/

.b612-book{

    display:block;

    text-decoration:none;

    color:inherit;

}

/****************************************************/

.b612-book:hover{

    transform:translateY(-8px);

}

/****************************************************/

.b612-book-cover{

    display:block;

    height:195px;
    width:auto;

    border-radius:10px;

}

/****************************************************/

.b612-book:hover .b612-book-cover{

    box-shadow:0 18px 40px rgba(0,0,0,.20);

}

/****************************************************/

.b612-book-overlay{

    position:absolute;

    inset:0;

    display:flex;
    align-items:flex-end;

    padding:18px;

    border-radius:10px;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.72),
        rgba(0,0,0,0)
    );

    opacity:0;

    transition:.25s;

}

.b612-book:hover .b612-book-overlay{

    opacity:1;

}

/****************************************************/

.b612-book-title{

    margin:0;

    color:#FFF;

    font-family:'Inter',sans-serif;
    font-size:16px;
    font-weight:600;

    line-height:1.3;

}

/****************************************************/

.b612-carousel-prev,
.b612-carousel-next{

    display:flex;
    justify-content:center;
    align-items:center;

    width:48px;
    height:48px;

    border:none;

    background:transparent;

    cursor:pointer;

}

/****************************************************/

.b612-carousel-prev::before,
.b612-carousel-next::before{

    content:"";

    width:12px;
    height:12px;

    border-top:2px solid #2A2A2A;
    border-right:2px solid #2A2A2A;

}

/****************************************************/

.b612-carousel-prev::before{

    transform:rotate(-135deg);

}

/****************************************************/

.b612-carousel-next::before{

    transform:rotate(45deg);

}



/* ==========================================================
   CHEVRONS
========================================================== */

/****************************************************/

.b612-carousel-prev,
.b612-carousel-next{

    display:flex;
    justify-content:center;
    align-items:center;

    width:48px;
    height:48px;

    border:1px solid #E7E2DD;
    border-radius:50%;

    background:#FFF;

    box-shadow:
        0 6px 18px rgba(0,0,0,.08);

    cursor:pointer;

    transition:.25s;

}

/****************************************************/

.b612-carousel-prev:hover,
.b612-carousel-next:hover{

    transform:scale(1.05);

    box-shadow:
        0 10px 24px rgba(0,0,0,.12);

}

/****************************************************/

.b612-carousel-prev::before,
.b612-carousel-next::before{

    content:"";

    width:10px;
    height:10px;

    border-top:2px solid #444;
    border-right:2px solid #444;

}

/****************************************************/

.b612-carousel-prev::before{

    transform:rotate(-135deg);

}

/****************************************************/

.b612-carousel-next::before{

    transform:rotate(45deg);

}


/* ==========================================================
   NOUVEAUTÉS — VERSION ÉDITORIALE
========================================================== */

.b612-news {

    width: 100%;

    box-sizing: border-box;

    padding: 55px 0 60px;

    background-color: #F7F3EA;

    background-image:
        repeating-linear-gradient(
            90deg,
            rgba(120, 105, 85, .045) 0px,
            rgba(120, 105, 85, .045) 1px,
            transparent 1px,
            transparent 4px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, .28) 0px,
            rgba(255, 255, 255, .28) 1px,
            transparent 1px,
            transparent 9px
        );
}

.b612-news__editorial {

    width:
        calc(
            100% -
            (var(--b612-container-gutter) * 2)
        );

    max-width:
        var(--b612-container-width);

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    box-sizing: border-box;
}

/* ----------------------------------------------------------
   Texte
---------------------------------------------------------- */

.b612-news__editorial .b612-carousel-subtitle {
    margin: 0 0 22px;
}


.b612-news__editorial .b612-carousel-title {
    margin: 0;

    max-width: 700px;

    font-size: 50px;
    line-height: .95;
}


/* ----------------------------------------------------------
   Carousel
---------------------------------------------------------- */

.b612-news__carousel {
    width: 100%;

    margin-top: 35px;
    margin-bottom: 32px;
}


/*
 * Le composant carousel ne doit plus être traité
 * comme une colonne droite.
 */

.b612-news__carousel .b612-carousel-right {
    width: 100%;
    height: 315px;

    display: grid;

    grid-template-columns: 48px minmax(0, 1fr) 48px;

    align-items: center;

    gap: 20px;
}


/* ----------------------------------------------------------
   Bouton
---------------------------------------------------------- */

.b612-news__editorial .b612-carousel-button {
    margin: 0;
}



/* ==========================================================
   RECOMMANDATIONS
========================================================== */

.b612-recommendations {

    width: 100%;

    padding: 70px 0;

    box-sizing: border-box;

}


/* ----------------------------------------------------------
   Conteneur
---------------------------------------------------------- */

.b612-recommendations__inner {

    display: grid;

    grid-template-columns:
        340px
        minmax(0, 1fr);

    align-items: center;

    gap: 40px;

    width:
        calc(
            100% -
            (var(--b612-container-gutter) * 2)
        );

    max-width:
        var(--b612-container-width);

    margin: 0 auto;

    box-sizing: border-box;
}


/* ----------------------------------------------------------
   Bloc éditorial
---------------------------------------------------------- */

.b612-recommendations__editorial {

    display: flex;

    flex-direction: column;

    justify-content: center;

}


/* ----------------------------------------------------------
   Sous-titre
---------------------------------------------------------- */

.b612-recommendations__subtitle {

    margin: 0 0 30px;

    font-family: 'Inter', sans-serif;

    font-size: 13px;

    font-weight: 500;

    letter-spacing: .16em;

    text-transform: uppercase;

    color: #A8A2A0;

}


/* ----------------------------------------------------------
   Titre
---------------------------------------------------------- */

.b612-recommendations__title {

    margin: 0 0 35px;

    font-family: 'Cormorant Garamond', serif;

    font-size: 50px;

    font-weight: 400;

    line-height: .95;

    letter-spacing: -.02em;

    color: #1A1A1A;

}


/* ----------------------------------------------------------
   Bouton
---------------------------------------------------------- */

.b612-recommendations__button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    width: fit-content;

    height: 46px;

    padding: 0 24px;

    border-radius: 999px;

    border: 1px solid #DDD7D2;

    background: #FFF;

    font-family: 'Inter', sans-serif;

    font-size: 14px;

    font-weight: 500;

    color: #1A1A1A;

    text-decoration: none;

    transition: .25s;

}


.b612-recommendations__button:hover {

    background: #1A1A1A;

    color: #FFF;

}


/* ----------------------------------------------------------
   Carrousel
---------------------------------------------------------- */

.b612-recommendations__carousel {

    min-width: 0;

}


/* ==========================================================
   ANIMATIONS — CONTENEUR GLOBAL
========================================================== */

.b612-events-home {

    width:
        calc(
            100% -
            (var(--b612-container-gutter) * 2)
        );

    max-width:
        var(--b612-container-width);

    margin:
        0 auto;

    box-sizing:
        border-box;
}


/* ==========================================================
   ANIMATIONS — COMPOSITION ÉDITORIALE
========================================================== */

.b612-events-home .b612-carousel {

    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(420px, 1fr);

    align-items: center;

    gap: 60px;

    width: 100%;

    max-width: none;

    margin: 0;

    box-sizing: border-box;

}

/* ----------------------------------------------------------
   Zone éditoriale
---------------------------------------------------------- */

.b612-events-home .b612-carousel-left {

    height: 315px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


/* ----------------------------------------------------------
   Zone événements
---------------------------------------------------------- */

.b612-events-home .b612-carousel-right {

    height: 315px;

    width: 100%;

    display: grid;

    grid-template-columns: 40px minmax(0, 1fr) 40px;

    align-items: center;

    gap: 12px;

}


/* ----------------------------------------------------------
   Les cartes restent regroupées à droite
---------------------------------------------------------- */

.b612-events-home .b612-swiper {

    width: 100%;

    overflow: hidden;

}


/* ==========================================================
   DESKTOP COMPACT — ÉCRAN 13"
========================================================== */

@media (min-width: 1100px)
       and (max-width: 1400px)
       and (max-height: 850px) {

    .b612-recommendations__inner {

        gap: 30px;

    }

}
