/* =========================================================
   B612 — FICHE ANIMATION
   ========================================================= */


/* =========================================================
   PAGE
   ========================================================= */

#b612-event {
    max-width: 1400px;
    margin: 0 auto;

    padding:
        55px 60px
        100px;

    box-sizing: border-box;

    color: #17182d;
}


/* =========================================================
   FIL D'ARIANE
   ========================================================= */

.b612-event__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 8px;

    margin-bottom: 42px;

    font-family: "Inter", sans-serif;
    font-size: 11px;
    line-height: 1.4;

    color: #999;
}

.b612-event__breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.b612-event__breadcrumb a:hover {
    color: #17182d;
}

.b612-event__breadcrumb-current {
    color: #17182d;
}


/* =========================================================
   EN-TÊTE
   ========================================================= */

.b612-event__header {
    max-width: 900px;

    margin-bottom: 42px;
}


.b612-event__eyebrow {
    display: block;

    margin-bottom: 16px;

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

    font-size: 11px;
    line-height: 1;

    font-weight: 500;

    letter-spacing: .18em;

    text-transform: uppercase;

    color: #999;
}


.b612-event__title {
    margin: 0;

    max-width: 850px;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 72px;

    line-height: .92;

    font-weight: 500;

    letter-spacing: -.025em;

    color: #17182d;
}


.b612-event__divider {
    display: block;

    width: 38px;
    height: 1px;

    margin-top: 28px;

    background: #17182d;
}


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

.b612-event__hero {

    display: grid;

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

    gap: 28px;

    align-items: stretch;
}


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

.b612-event__image {
    position: relative;

    width: 100%;

    aspect-ratio: 1.38 / 1;

    overflow: hidden;

    border-radius: 12px;

    background: #eee;
}


.b612-event__image img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   PANNEAU INFORMATIONS
   ========================================================= */

.b612-event__info {

    display: flex;

    flex-direction: column;

    padding: 28px;

    box-sizing: border-box;

    border-radius: 12px;

    background: #f5f4f0;
}


/* =========================================================
   DATE
   ========================================================= */

.b612-event__date {

    display: flex;

    flex-direction: column;

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

    width: 82px;
    height: 92px;

    margin-bottom: 28px;

    box-sizing: border-box;

    border-radius: 2px;

    background: #17182d;

    color: #ffffff;

    text-align: center;
}


.b612-event__date-day {

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

    font-size: 37px;

    line-height: .9;

    font-weight: 500;
}


.b612-event__date-month {

    margin-top: 7px;

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

    font-size: 11px;

    line-height: 1;

    font-weight: 500;

    letter-spacing: .10em;

    text-transform: uppercase;
}


.b612-event__date-year {

    margin-top: 5px;

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

    font-size: 10px;

    line-height: 1;

    opacity: .65;
}


/* =========================================================
   LIGNES D'INFORMATIONS
   ========================================================= */

.b612-event__details {

    display: flex;

    flex-direction: column;

    margin: 0;
}


.b612-event__detail {

    display: grid;

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

    gap: 10px;

    align-items: center;

    padding:
        15px 0;

    border-bottom:
        1px solid
        rgba(23, 24, 45, .12);
}


.b612-event__detail:last-child {
    border-bottom: 0;
}


.b612-event__detail-icon {

    display: flex;

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

    width: 30px;
    height: 30px;

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

    font-size: 18px;

    color: #17182d;
}


.b612-event__detail-content {
    min-width: 0;
}


.b612-event__detail-value {

    display: block;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 20px;

    line-height: 1.05;

    font-weight: 500;

    color: #17182d;
}


.b612-event__detail-label {

    display: block;

    margin-top: 5px;

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

    font-size: 9px;

    line-height: 1;

    letter-spacing: .08em;

    text-transform: uppercase;

    color: #888;
}


/* =========================================================
   BOUTON INSCRIPTION
   ========================================================= */

.b612-event__register {

    display: flex;

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

    width: 100%;

    margin-top: auto;

    padding: 15px 18px;

    box-sizing: border-box;

    border: 0;

    border-radius: 2px;

    background: #17182d;

    color: #ffffff;

    text-decoration: none;

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

    font-size: 11px;

    line-height: 1.2;

    font-weight: 500;

    letter-spacing: .02em;

    transition:
        background .2s ease,
        transform .2s ease;
}


.b612-event__register span {
    margin-left: 10px;

    font-size: 16px;

    line-height: 1;
}


.b612-event__register:hover {

    background: #252640;

    transform: translateY(-2px);
}


/* =========================================================
   CONTENU SOUS LE HERO
   ========================================================= */

.b612-event__below {

    display: grid;

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

    gap: 90px;

    margin-top: 65px;
}


/* =========================================================
   À PROPOS
   ========================================================= */

.b612-event__about {

    max-width: 760px;
}


.b612-event__section-title {

    margin: 0;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 38px;

    line-height: 1;

    font-weight: 500;

    color: #17182d;
}


.b612-event__section-divider {

    display: block;

    width: 38px;
    height: 1px;

    margin-top: 18px;
    margin-bottom: 25px;

    background: #17182d;
}


.b612-event__description {

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 20px;

    line-height: 1.42;

    color: #27283a;
}


.b612-event__description p {

    margin:
        0 0 20px;
}


.b612-event__description p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   NEWSLETTER
   ========================================================= */

.b612-event__newsletter {

    align-self: start;

    padding: 30px;

    box-sizing: border-box;

    border-radius: 12px;

    background:
        #f2f3fa;
}


.b612-event__newsletter-icon {

    display: flex;

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

    width: 38px;
    height: 38px;

    margin-bottom: 20px;

    border-radius: 50%;

    background: #17182d;

    color: #ffffff;

    font-size: 17px;
}


.b612-event__newsletter-title {

    margin: 0;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 29px;

    line-height: 1;

    font-weight: 500;

    color: #17182d;
}


.b612-event__newsletter-divider {

    display: block;

    width: 28px;
    height: 1px;

    margin:
        17px 0
        15px;

    background: #c8a900;
}


.b612-event__newsletter-text {

    margin: 0 0 20px;

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

    font-size: 12px;

    line-height: 1.55;

    color: #55566a;
}


/* =========================================================
   FORMULAIRE NEWSLETTER
   ========================================================= */

.b612-event__newsletter-form {

    display: flex;

    gap: 8px;
}


.b612-event__newsletter-input {

    min-width: 0;
    flex: 1;

    height: 44px;

    padding:
        0 13px;

    box-sizing: border-box;

    border:
        1px solid
        rgba(23, 24, 45, .18);

    border-radius: 2px;

    background: #ffffff;

    color: #17182d;

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

    font-size: 11px;

    outline: none;
}


.b612-event__newsletter-input::placeholder {
    color: #999;
}


.b612-event__newsletter-input:focus {

    border-color:
        rgba(23, 24, 45, .45);
}


.b612-event__newsletter-submit {

    flex: 0 0 auto;

    height: 44px;

    padding:
        0 17px;

    border: 0;

    border-radius: 2px;

    background: #17182d;

    color: #ffffff;

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

    font-size: 10px;

    font-weight: 500;

    cursor: pointer;

    transition:
        background .2s ease;
}


.b612-event__newsletter-submit:hover {
    background: #252640;
}


/* =========================================================
   RETOUR AGENDA
   ========================================================= */

.b612-event__back {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 70px;

    padding-bottom: 6px;

    border-bottom:
        1px solid
        rgba(23, 24, 45, .45);

    color: #17182d;

    text-decoration: none;

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

    font-size: 11px;

    transition:
        border-color .2s ease;
}


.b612-event__back:hover {

    border-color:
        #17182d;
}


.b612-event__back-arrow {
    font-size: 16px;
}


/* =========================================================
   RESPONSIVE — TABLETTE
   ========================================================= */

@media (max-width: 1100px) {

    #b612-event {

        padding:
            45px 40px
            80px;
    }


    .b612-event__title {

        font-size: 62px;
    }


    .b612-event__hero {

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

        gap: 22px;
    }


    .b612-event__info {

        padding: 24px;
    }


    .b612-event__below {

        gap: 50px;
    }

}


/* =========================================================
   TABLETTE / PETIT ÉCRAN
   ========================================================= */

@media (max-width: 900px) {

    #b612-event {

        padding:
            40px 30px
            70px;
    }


    .b612-event__title {

        font-size: 54px;
    }


    .b612-event__hero {

        grid-template-columns:
            1fr;
    }


    .b612-event__image {

        aspect-ratio: 16 / 9;
    }


    .b612-event__info {

        display: grid;

        grid-template-columns:
            auto 1fr;

        column-gap: 25px;

        padding: 25px;
    }


    .b612-event__date {

        grid-row: span 2;

        margin-bottom: 0;
    }


    .b612-event__details {

        min-width: 0;
    }


    .b612-event__register {

        grid-column: 1 / -1;

        margin-top: 25px;
    }


    .b612-event__below {

        grid-template-columns:
            1fr;

        gap: 45px;
    }


    .b612-event__about {

        max-width: 800px;
    }


    .b612-event__newsletter {

        max-width: 600px;
    }

}


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

@media (max-width: 600px) {

    #b612-event {

        padding:
            30px 20px
            60px;
    }


    .b612-event__breadcrumb {

        margin-bottom: 30px;

        font-size: 10px;
    }


    .b612-event__header {

        margin-bottom: 30px;
    }


    .b612-event__eyebrow {

        margin-bottom: 13px;

        font-size: 10px;
    }


    .b612-event__title {

        font-size: 42px;

        line-height: .94;
    }


    .b612-event__divider {

        margin-top: 22px;
    }


    .b612-event__image {

        aspect-ratio: 1 / .78;

        border-radius: 9px;
    }


    .b612-event__info {

        display: block;

        padding: 22px;

        border-radius: 9px;
    }


    .b612-event__date {

        margin-bottom: 18px;
    }


    .b612-event__detail {

        padding: 13px 0;
    }


    .b612-event__detail-value {

        font-size: 18px;
    }


    .b612-event__register {

        margin-top: 20px;
    }


    .b612-event__below {

        margin-top: 45px;

        gap: 38px;
    }


    .b612-event__section-title {

        font-size: 34px;
    }


    .b612-event__description {

        font-size: 18px;

        line-height: 1.45;
    }


    .b612-event__newsletter {

        padding: 24px;

        border-radius: 9px;
    }


    .b612-event__newsletter-title {

        font-size: 27px;
    }


    .b612-event__newsletter-form {

        flex-direction: column;

        gap: 8px;
    }


    .b612-event__newsletter-input,
    .b612-event__newsletter-submit {

        width: 100%;
    }


    .b612-event__back {

        margin-top: 50px;
    }

}


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

@media (max-width: 400px) {

    #b612-event {

        padding:
            25px 16px
            50px;
    }


    .b612-event__title {

        font-size: 37px;
    }


    .b612-event__info {

        padding: 20px;
    }


    .b612-event__date {

        width: 75px;
        height: 85px;
    }


    .b612-event__date-day {

        font-size: 33px;
    }

}
