/* ==========================================================
   B612 — ESPACE ABONNÉ
   account_user.css

   Mobile first
   Compatible :
   - smartphone
   - tablette
   - desktop
========================================================== */


/* ==========================================================
   VARIABLES
========================================================== */

.b612-account {

    --b612-navy: #061A33;
    --b612-navy-soft: #0B2747;

    --b612-yellow: #FFD500;
    --b612-yellow-soft: #FFF4A8;

    --b612-white: #FFFFFF;
    --b612-offwhite: #F7F8FA;

    --b612-text: #243246;
    --b612-text-soft: #667085;

    --b612-border: #E4E8EE;

    --b612-radius: 18px;
    --b612-radius-small: 12px;

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

    margin: 0 auto;

    padding:
        42px
        20px
        70px;

    box-sizing: border-box;

    color:
        var(--b612-text);

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


/* ==========================================================
   TYPOGRAPHIE
========================================================== */

.b612-account h1,
.b612-account h2,
.b612-account h3 {

    margin: 0;

    color:
        var(--b612-navy);

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

    font-weight: 600;
}


.b612-account p {

    margin-top: 0;
}


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

.b612-account__header {

    max-width: 760px;

    margin-bottom: 48px;
}


.b612-account__eyebrow {

    margin-bottom: 8px;

    color:
        var(--b612-text-soft);

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


.b612-account__title {

    margin-bottom: 16px;

    color:
        var(--b612-navy);

    font-size:
        clamp(
            2.8rem,
            7vw,
            1.8rem
        );

    line-height: 0.95;

    letter-spacing: -0.025em;
}


.b612-account__intro {

    max-width: 680px;

    margin-bottom: 0;

    color:
        var(--b612-text-soft);

    font-size: 1rem;

    line-height: 1.65;
}


/* ==========================================================
   SECTIONS
========================================================== */

.b612-account__section {

    margin-top: 52px;
}


.b612-account__section-title {

    position: relative;

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 24px;

    color:
        var(--b612-navy);

    font-size: 2rem;

    line-height: 1.1;
}


/*
 * Accent jaune B612.
 *
 * On conserve la petite barre verticale utilisée
 * dans l'identité graphique du site.
 */

.b612-account__section-title::before {

    content: "";

    display: block;

    width: 7px;
    height: 32px;

    flex: 0 0 auto;

    border-radius: 10px;

    background:
        var(--b612-yellow);
}


/* ==========================================================
   INFORMATIONS PERSONNELLES
========================================================== */

.b612-account__infos {

    display: grid;

    grid-template-columns: 1fr;

    gap: 1px;

    overflow: hidden;

    border:
        1px solid
        var(--b612-border);

    border-radius:
        var(--b612-radius);

    background:
        var(--b612-border);

    box-shadow:
        0 8px 30px
        rgba(6, 26, 51, 0.05);
}


.b612-account__info {

    display: flex;

    flex-direction: column;

    gap: 6px;

    min-width: 0;

    padding: 20px;

    background:
        var(--b612-white);
}


.b612-account__label {

    color:
        var(--b612-text-soft);

    font-size: 0.76rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.b612-account__value {

    min-width: 0;

    color:
        var(--b612-navy);

    font-size: 1rem;

    font-weight: 600;

    line-height: 1.45;

    overflow-wrap: anywhere;
}


/* ==========================================================
   CARTES — MON ACTIVITÉ
========================================================== */

.b612-account__cards {

    display: grid;

    grid-template-columns: 1fr;

    gap: 16px;
}


.b612-account__card {

    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    min-height: 170px;

    padding: 24px;

    box-sizing: border-box;

    border:
        1px solid
        var(--b612-border);

    border-radius:
        var(--b612-radius);

    background:
        var(--b612-white);

    color: inherit;

    text-decoration: none;

    overflow: hidden;

    box-shadow:
        0 8px 28px
        rgba(6, 26, 51, 0.05);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}


/* ==========================================================
   MOTIF GRAPHIQUE B612
========================================================== */

/*
 * Trajectoire orbitale.
 *
 * Pas de gros cercle jaune :
 * uniquement une ligne fine et discrète.
 */

.b612-account__card::after {

    content: "";

    position: absolute;

    right: 22px;
    bottom: 22px;

    width: 54px;
    height: 24px;

    border:
        1.5px solid
        var(--b612-yellow);

    border-left-color:
        transparent;

    border-bottom-color:
        transparent;

    border-radius: 50%;

    transform:
        rotate(-24deg);

    opacity: 0.65;

    pointer-events: none;

    transition:
        transform 220ms ease,
        opacity 220ms ease;
}


/*
 * Petit astre jaune.
 */

.b612-account__card::before {

    content: "";

    position: absolute;

    right: 19px;
    bottom: 31px;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        var(--b612-yellow);

    opacity: 0.9;

    pointer-events: none;

    transition:
        transform 220ms ease,
        opacity 220ms ease;
}


/* ==========================================================
   CONTENU DES CARTES
========================================================== */

.b612-account__card-title {

    position: relative;

    z-index: 1;

    display: block;

    margin-bottom: 12px;

    color:
        var(--b612-navy);

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

    font-size: 1.9rem;

    font-weight: 600;

    line-height: 1.05;
}


.b612-account__card-text {

    position: relative;

    z-index: 1;

    display: block;

    max-width: 360px;

    color:
        var(--b612-text-soft);

    font-size: 0.9rem;

    line-height: 1.55;
}


/* ==========================================================
   HOVER — APPAREILS AVEC SOURIS
========================================================== */

@media (hover: hover) and (pointer: fine) {

    .b612-account__card:hover {

        transform:
            translateY(-4px);

        border-color:
            rgba(255, 213, 0, 0.65);

        box-shadow:
            0 16px 38px
            rgba(6, 26, 51, 0.11);
    }


    .b612-account__card:hover::after {

        transform:
            rotate(-24deg)
            scale(1.18);

        opacity: 1;
    }


    .b612-account__card:hover::before {

        transform:
            scale(1.35);

        opacity: 1;
    }


    .b612-account__card:focus-visible {

        outline:
            3px solid
            var(--b612-yellow);

        outline-offset: 3px;
    }

}


/* ==========================================================
   DÉCONNEXION
========================================================== */

.b612-account__action {

    display: flex;

    justify-content: center;

    margin-top: 48px;

    padding-top: 32px;

    border-top:
        1px solid
        var(--b612-border);
}


.b612-account__action form {

    margin: 0;
}


.b612-account__action-button {

    display: inline-flex;

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

    padding:
        12px
        24px;

    border:
        1px solid
        var(--b612-border);

    border-radius: 999px;

    background:
        transparent;

    color:
        var(--b612-text-soft);

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

    font-size: 0.9rem;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 180ms ease,
        color 180ms ease,
        border-color 180ms ease;
}


@media (hover: hover) and (pointer: fine) {

    .b612-account__action-button:hover {

        border-color:
            var(--b612-navy);

        background:
            var(--b612-navy);

        color:
            var(--b612-white);
    }

}


.b612-account__action-button:focus-visible {

    outline:
        3px solid
        var(--b612-yellow);

    outline-offset: 3px;
}


/* ==========================================================
   ÉTAT NON CONNECTÉ
========================================================== */

.b612-account__login {

    max-width: 620px;

    margin:
        20px auto
        40px;

    padding:
        36px
        24px;

    box-sizing: border-box;

    border:
        1px solid
        var(--b612-border);

    border-radius:
        var(--b612-radius);

    background:
        var(--b612-white);

    text-align: center;

    box-shadow:
        0 12px 40px
        rgba(6, 26, 51, 0.06);
}


.b612-account__login h1 {

    margin-bottom: 16px;

    font-size:
        clamp(
            2.6rem,
            8vw,
            4rem
        );

    line-height: 1;
}


.b612-account__login p {

    margin-bottom: 28px;

    color:
        var(--b612-text-soft);

    line-height: 1.6;
}


.b612-account__button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 50px;

    padding:
        13px
        28px;

    border-radius: 999px;

    background:
        var(--b612-navy);

    color:
        var(--b612-white);

    font-size: 0.92rem;

    font-weight: 600;

    text-decoration: none;

    transition:
        transform 180ms ease,
        background 180ms ease;
}


@media (hover: hover) and (pointer: fine) {

    .b612-account__button:hover {

        transform:
            translateY(-2px);

        background:
            var(--b612-navy-soft);

        color:
            var(--b612-white);
    }

}


.b612-account__button:focus-visible {

    outline:
        3px solid
        var(--b612-yellow);

    outline-offset: 3px;
}


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

@media (min-width: 600px) {

    .b612-account {

        padding:
            56px
            32px
            80px;
    }


    .b612-account__infos {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .b612-account__cards {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .b612-account__info {

        min-height: 92px;
    }

}


/* ==========================================================
   DESKTOP
========================================================== */

@media (min-width: 1000px) {

    .b612-account {

        padding:
            72px
            40px
            100px;
    }


    .b612-account__header {

        margin-bottom: 64px;
    }


    .b612-account__section {

        margin-top: 64px;
    }


    .b612-account__infos {

        grid-template-columns:
            repeat(
                4,
                minmax(0, 1fr)
            );
    }


    .b612-account__cards {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 20px;
    }


    .b612-account__card {

        min-height: 190px;

        padding: 30px;
    }



        .b612-account__action {

            justify-content: flex-start;

            margin-top: 0px;

            padding-top: 24px;
        }


}


/* ==========================================================
   GRAND DESKTOP
========================================================== */

@media (min-width: 1400px) {

    .b612-account {

        max-width: 1280px;

        padding-left: 0;
        padding-right: 0;
    }


    .b612-account__cards {

        grid-template-columns:
            repeat(
                4,
                minmax(0, 1fr)
            );
    }


    .b612-account__card {

        min-height: 230px;
    }

}


/* ==========================================================
   ACCESSIBILITÉ
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .b612-account__card,
    .b612-account__card::after,
    .b612-account__card::before,
    .b612-account__action-button,
    .b612-account__button {

        transition: none;
    }

}




/* ==========================================================
   FORMULAIRE — MODIFICATION DU PROFIL
========================================================== */

.b612-account__profile-form {

    width: 100%;
}


/* ==========================================================
   CHAMPS DU FORMULAIRE
========================================================== */

.b612-account__form-fields {

    display: grid;

    grid-template-columns:
        1fr;

    gap: 20px;
}


.b612-account__field {

    display: flex;

    flex-direction: column;

    gap: 8px;

    min-width: 0;
}


.b612-account__field label {

    color:
        var(--b612-text-soft);

    font-size: 0.76rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* ==========================================================
   INPUTS / SELECT
========================================================== */

.b612-account__field input,
.b612-account__field select {

    width: 100%;

    min-height: 50px;

    padding:
        12px
        16px;

    box-sizing: border-box;

    border:
        1px solid
        var(--b612-border);

    border-radius:
        var(--b612-radius-small);

    background:
        var(--b612-white);

    color:
        var(--b612-navy);

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

    font-size: 0.95rem;

    line-height: 1.4;

    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}


.b612-account__field input:focus,
.b612-account__field select:focus {

    outline: none;

    border-color:
        var(--b612-yellow);

    box-shadow:
        0 0 0 3px
        rgba(255, 213, 0, 0.18);
}




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

@media (min-width: 600px) {

    .b612-account__form-fields {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

}


/* ==========================================================
   DESKTOP
========================================================== */


@media (min-width: 1000px) {

    .b612-account__form-fields {

        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );

        gap: 24px;
    }

}


/* ==========================================================
   ACCESSIBILITÉ
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .b612-account__field input,
    .b612-account__field select {

        transition: none;
    }

}


/* ==========================================================
   PAGE DE CONNEXION
========================================================== */

.b612-login {

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

    margin: 0 auto;

    padding:
        42px
        20px
        70px;

    box-sizing: border-box;

    color:
        var(--b612-text);

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


.b612-login__card {

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

    margin: 20px auto 40px;

    padding:
        42px
        32px
        44px;

    box-sizing: border-box;

    border:
        1px solid
        var(--b612-border);

    border-radius:
        var(--b612-radius);

    background:
        var(--b612-white);

    text-align: center;

    box-shadow:
        0 12px 40px
        rgba(6, 26, 51, 0.06);
}


.b612-login__eyebrow {

    display: block;

    margin-bottom: 10px;

    color:
        var(--b612-text-soft);

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


.b612-login__title {

    margin:
        0 0 18px;

    color:
        var(--b612-navy);

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

    font-size:
        clamp(
            2.8rem,
            7vw,
            4.5rem
        );

    font-weight: 600;

    line-height: 0.95;

    letter-spacing: -0.025em;
}


.b612-login__intro {

    max-width: 500px;

    margin:
        0 auto 36px;

    color:
        var(--b612-text-soft);

    font-size: 0.95rem;

    line-height: 1.65;
}


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

.b612-login__form {

    display: flex;

    flex-direction: column;

    gap: 20px;

    text-align: left;
}


.b612-login__field {

    display: flex;

    flex-direction: column;

    gap: 8px;
}


.b612-login__field label {

    color:
        var(--b612-text-soft);

    font-size: 0.76rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.b612-login__field input {

    width: 100%;

    min-height: 52px;

    padding:
        13px
        16px;

    box-sizing: border-box;

    border:
        1px solid
        var(--b612-border);

    border-radius:
        var(--b612-radius-small);

    background:
        var(--b612-white);

    color:
        var(--b612-navy);

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

    font-size: 0.95rem;

    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}


.b612-login__field input:focus {

    outline: none;

    border-color:
        var(--b612-yellow);

    box-shadow:
        0 0 0 3px
        rgba(255, 213, 0, 0.18);
}


/* ==========================================================
   BOUTON CONNEXION
========================================================== */

.b612-login__button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 52px;

    margin-top: 12px;

    padding:
        13px
        30px;

    border: 0;

    border-radius: 999px;

    background:
        var(--b612-navy);

    color:
        var(--b612-white);

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

    font-size: 0.92rem;

    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 180ms ease,
        background 180ms ease;
}


@media (hover: hover) and (pointer: fine) {

    .b612-login__button:hover {

        transform:
            translateY(-2px);

        background:
            var(--b612-navy-soft);

        color:
            var(--b612-white);
    }

}


/* ==========================================================
   ERREUR
========================================================== */

.b612-login__error {

    margin-top: 24px;

    padding:
        14px
        18px;

    border:
        1px solid
        rgba(180, 50, 50, 0.20);

    border-radius:
        var(--b612-radius-small);

    background:
        rgba(180, 50, 50, 0.05);

    color:
        #8A3030;

    font-size: 0.9rem;

    line-height: 1.5;
}


/* ==========================================================
   DÉCONNEXION
========================================================== */

.b612-login__logout {

    margin-top: 32px;

    padding-top: 24px;

    border-top:
        1px solid
        var(--b612-border);
}


.b612-login__logout form {

    margin: 0;
}


.b612-login__logout-button {

    padding: 0;

    border: 0;

    background: transparent;

    color:
        var(--b612-text-soft);

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

    font-size: 0.85rem;

    font-weight: 600;

    cursor: pointer;
}


@media (hover: hover) and (pointer: fine) {

    .b612-login__logout-button:hover {

        color:
            var(--b612-navy);

    }

}


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

@media (min-width: 600px) {

    .b612-login {

        padding:
            56px
            32px
            80px;
    }


    .b612-login__card {

        padding:
            52px
            48px
            50px;
    }

}


/* ==========================================================
   DESKTOP
========================================================== */

@media (min-width: 1000px) {

    .b612-login {

        padding:
            72px
            40px
            100px;
    }


    .b612-login__card {

        margin-top: 28px;
    }

}


/* ==========================================================
   ACCESSIBILITÉ
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .b612-login__button {

        transition: none;
    }

}



/* ==========================================================
   ADHÉSION
========================================================== */

.b612-account__membership {
    width: 100%;
    box-sizing: border-box;

    padding: 32px 32px 34px;

    border: 1px solid #e1e6ed;
    border-radius: 18px;

    background: #ffffff;

    box-shadow: 0 10px 30px rgba(10, 30, 60, 0.04);
}


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

.b612-account__membership-header {
    margin-bottom: 30px;
}

.b612-account__membership-title {
    margin: 0 0 2px;
    font-size: 1.9rem;
}

.b612-account__membership-intro {
    margin: 0;
}



/* ---------------------------------------------------------
   GRILLE
   --------------------------------------------------------- */

.b612-account__membership-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    column-gap: 0;
    row-gap: 0;
}

/* ---------------------------------------------------------
   ÉLÉMENTS
   --------------------------------------------------------- */

.b612-account__membership-item {
    min-width: 0;
    box-sizing: border-box;

    padding: 0 0px 20px;
}


/* Premier élément de chaque colonne */

.b612-account__membership-item:nth-child(1),
.b612-account__membership-item:nth-child(2),
.b612-account__membership-item:nth-child(3) {
    padding-top: 0;
}


/* Séparations verticales entre les colonnes */

.b612-account__membership-item:nth-child(1),
.b612-account__membership-item:nth-child(2) {
    border-right: 1px solid #e1e6ed;
    margin-right: 30px;
}

/* ---------------------------------------------------------
   DEUXIÈME LIGNE
   --------------------------------------------------------- */

/* Date d'inscription → colonne 1 */

.b612-account__membership-item:nth-child(4) {
    grid-column: 1;
    grid-row: 2;

    padding-top: 0;
    padding-bottom: 0;
}


/* Date d'expiration → colonne 2 */

.b612-account__membership-item:nth-child(5) {
    grid-column: 2;
    grid-row: 2;

    padding-top: 0;
    padding-bottom: 0;
}


/* ---------------------------------------------------------
   LABELS
   --------------------------------------------------------- */

.b612-account__membership .b612-account__label {
    display: block;

    margin-bottom: 7px;

    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   VALEURS
   --------------------------------------------------------- */

.b612-account__membership .b612-account__value {
    display: block;

    font-size: 17px;
    line-height: 1.3;
    font-weight: 600;
}


/* ---------------------------------------------------------
   STATUT ACTIF
   --------------------------------------------------------- */

.b612-account__membership-status {
    display: inline-block;

    width: 10px;
    height: 10px;

    margin-right: 8px;

    border-radius: 50%;

    background: #4fbd6b;

    vertical-align: middle;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .b612-account__membership {
        padding: 28px 24px 30px;
    }

    .b612-account__membership-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 24px;
    }

    .b612-account__membership-item:nth-child(1),
    .b612-account__membership-item:nth-child(2) {
        border-right: 1px solid #e1e6ed;
    }

    .b612-account__membership-item:nth-child(3) {
        grid-column: 1;
        grid-row: 2;

        border-right: 1px solid #e1e6ed;
    }

    .b612-account__membership-item:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }

    .b612-account__membership-item:nth-child(5) {
        grid-column: 1;
        grid-row: 3;
    }
}


@media (max-width: 600px) {

    .b612-account__membership {
        padding: 24px 20px 26px;
    }

    .b612-account__membership-grid {
        display: block;
    }

    .b612-account__membership-item {
        padding: 0 0 20px !important;
        margin-bottom: 20px;

        border-right: 0 !important;
        border-bottom: 1px solid #e1e6ed;
    }

    .b612-account__membership-item:last-child {
        padding-bottom: 0 !important;
        margin-bottom: 0;

        border-bottom: 0 !important;
    }
}

/* ==========================================================
   RÉSERVATIONS

   ORGANISATION DES CLASSES
   - .b612-account__reservations       = grille des cartes
   - .b612-account__reservation        = carte
   - .b612-account__reservation-cover  = couverture
   - .b612-account__reservation-content= contenu
   - .b612-account__reservation-*      = éléments propres

   IMPORTANT
   Cette section est volontairement autonome.
   Ne pas réutiliser les classes .b612-account__favorite-* ici.
========================================================== */

.b612-account__reservations {

    display: grid;

    grid-template-columns: 1fr;

    gap: 16px;
}


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

.b612-account__reservation {

    display: flex;

    flex-direction: column;

    min-width: 0;

    padding: 26px;

    box-sizing: border-box;

    border:
        1px solid
        var(--b612-border);

    border-radius:
        18px;

    background:
        #f8f5ec;

    box-shadow:
        0 8px 24px
        rgba(6, 26, 51, 0.05);
}

/* ==========================================================
   COUVERTURE
========================================================== */

.b612-account__reservation-cover {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    margin-bottom: 22px;
}

.b612-account__reservation-cover img {

    display: block;

    width: auto;

    max-width: 100%;

    height: 280px;

    object-fit: contain;

    border-radius: 14px;

    box-shadow:
        0 5px 14px
        rgba(0, 0, 0, .08);

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

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

.b612-account__reservation-content {

    display: flex;

    flex-direction: column;

    min-width: 0;

    padding: 0;
}


/* ==========================================================
   STATUT
========================================================== */

.b612-account__reservation-status {

    display: flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 10px;

    color:
        var(--b612-text-soft);

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.b612-account__reservation-status-dot {

    display: block;

    width: 7px;
    height: 7px;

    flex: 0 0 7px;

    border-radius: 50%;

    background:
        #43B96B;
}


/* ==========================================================
   TITRE
========================================================== */

.b612-account .b612-account__reservation-title {

    margin: 0 0 10px;

    color:
        var(--b612-navy);

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

    font-size: 1.45rem;

    font-weight: 600;

    line-height: 1.15;
}


.b612-account__reservation-title a {

    color: inherit;

    text-decoration: none;
}


.b612-account__reservation-title a:hover {

    color:
        var(--b612-navy-soft);
}


/* ==========================================================
   AUTEUR
========================================================== */

.b612-account__reservation-author {

    margin: 0 0 18px;

    color:
        var(--b612-text-soft);

    font-size: 0.78rem;

    line-height: 1.35;
}


/* ==========================================================
   VOIR LA FICHE
========================================================== */

.b612-account__reservation-link {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    width: fit-content;

    margin-bottom: 18px;

    color:
        var(--b612-navy);

    font-size: 0.78rem;

    font-weight: 500;

    text-decoration: none;
}


.b612-account__reservation-link span {

    font-size: 1rem;

    line-height: 1;

    transition:
        transform 180ms ease;
}


.b612-account__reservation-link:hover {

    text-decoration: underline;
}


/* ==========================================================
   DATE DE RÉSERVATION
========================================================== */

.b612-account__reservation-date {

    display: flex;

    flex-direction: column;

    gap: 3px;

    margin-top: auto;

    padding-top: 12px;

    border-top:
        1px solid
        rgba(6, 26, 51, 0.10);
}


.b612-account__reservation-date-label {

    color:
        var(--b612-text-soft);

    font-size: 0.66rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.b612-account__reservation-date strong {

    color:
        var(--b612-navy);

    font-size: 0.82rem;

    font-weight: 700;
}


/* ==========================================================
   ANNULER
========================================================== */

.b612-account__reservation-cancel {

    align-self: flex-start;

    margin-top: 14px;

    padding:
        8px
        12px;

    border:
        1px solid
        var(--b612-border);

    border-radius: 999px;

    background: transparent;

    color:
        var(--b612-text-soft);

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

    font-size: 0.72rem;

    font-weight: 600;

    cursor: pointer;

    transition:
        border-color 180ms ease,
        background 180ms ease,
        color 180ms ease;
}


.b612-account__reservation-cancel:disabled {

    opacity: 0.5;

    cursor: wait;
}


/* ==========================================================
   HOVER — SOURIS
========================================================== */

@media (hover: hover) and (pointer: fine) {

    .b612-account__reservation:hover {

        border-color:
            rgba(255, 213, 0, 0.55);

        box-shadow:
            0 14px 34px
            rgba(6, 26, 51, 0.08);
    }


    .b612-account__reservation-cover:hover img {

        transform:
            scale(1.025);
    }


    .b612-account__reservation-cancel:hover {

        border-color:
            var(--b612-navy);

        background:
            var(--b612-navy);

        color:
            var(--b612-white);
    }

}


/* ==========================================================
   TABLETTE — 600 À 999 PX
========================================================== */

@media (min-width: 600px) and (max-width: 999px) {

    .b612-account__reservations {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px;
    }


    .b612-account__reservation {

        padding: 18px;
    }

}


/* ==========================================================
   DESKTOP — À PARTIR DE 1000 PX
========================================================== */

@media (min-width: 1000px) {

    .b612-account__reservations {

        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );

        gap: 24px;
    }

    .b612-account__reservation {

        grid-template-columns: 1fr;

        gap: 0;

        padding: 18px;
    }


    .b612-account__reservation-cover {

        width: 100%;

        height: 250px;

        margin-bottom: 16px;
    }


    .b612-account__reservation-content {

        padding:
            0
            2px
            2px;
    }

}


/* ==========================================================
   GRAND DESKTOP — À PARTIR DE 1400 PX
========================================================== */

@media (min-width: 1400px) {

    .b612-account__reservation-cover {

        height: 270px;
    }

}


/* ==========================================================
   MOBILE — JUSQU'À 599 PX
========================================================== */

@media (max-width: 599px) {

    .b612-account__reservation {

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

        gap: 16px;

        padding: 14px;
    }


    .b612-account__reservation-cover {

        width: 90px;

        height: 135px;

        align-self: start;

        background: transparent;

        padding: 0;

        margin: 0;
    }


    .b612-account__reservation-cover img {

    display: block;

    width: 90px;

    height: 135px;

    object-fit: cover;
}

    .b612-account__reservation-title {
        margin: 0 0 40px;
        font-size: 1.25rem;
    }


    .b612-account__reservation-author {

        font-size: 0.74rem;
    }

}


/* ==========================================================
   ACCESSIBILITÉ
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .b612-account__reservation,
    .b612-account__reservation-cover img,
    .b612-account__reservation-link span,
    .b612-account__reservation-cancel {

        transition: none;
    }

}


/* ==========================================================
   HARMONISATION — MES RÉSERVATIONS
========================================================== */

@media (min-width: 1400px) {

    .b612-account--reservations {

        max-width: 1180px;

        padding-left: 40px;
        padding-right: 40px;

        box-sizing: border-box;
    }

}


/* ==========================================================
   HARMONISATION — ESPACEMENT TITRE / CARTES RÉSERVATIONS
========================================================== */

.b612-account--reservations .b612-account__section-title {

    margin-bottom: 24px;
}


/* ==========================================================
   HARMONISATION — ESPACEMENT DES SECTIONS
========================================================== */

.b612-account--loans .b612-account__section-title,
.b612-account--reservations .b612-account__section-title {

    margin-bottom: 24px;
}


/* ==========================================================
   MON COMPTE — ESPACEMENT TITRE / CONTENU
========================================================== */

.b612-account--profile .b612-account__section-title {

    margin-bottom: 24px;
}

/* ==========================================================
   SMARTPHONE — TITRE DE L'ESPACE COMPTE
========================================================== */

@media (max-width: 699px) {

    .b612-account__title {
        font-size: 2.12rem;
    }

}
