/* -------------
    SOMMAIRE
------------- */

/* @AUTHOR : Nicolas BOUDOT */

/*
    00 - GÉNÉRAL
    01 - BOUTONS
    02 - BOUTONS ICONS
	03 - BOUTONS SPÉCIFIQUES
            Navigation secondaire
            Retour en haut de page
    04 - LIENS
*/



/* -----------------
  00 - GÉNÉRAL
----------------- */

/*
  Infos :
    .like_btn est utilisée sur un élement parent pour ciblée un <a> enfant.
    On utilise un préfixe like_ pour identifier plus sont utilité.
*/

/* Bouton */
.gform_button,
.btn,
.like_btn a {
    display: inline-flex;
	justify-content: center;
	align-items: center;
	text-align: center;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color .4s;
    min-height: 36px;
    font-family: var(--font-tertiary);
    color: var(--white);
    padding: 0 27px;
    line-height: 120%;
}

/* Bouton icon */
.btn-icon,
.like_btn-icon {
    position: relative;
    background-color: var(--color-primary);
    color: var(--white);
    font-family: var(--font-primary);
}

    .btn-icon:hover,
    .like_btn-icon:hover {
        background-color: var(--red-dark);
        color: var(--white);
    }

    .btn-icon::after,
    .like_btn-icon::after {
        content: "";
        position: absolute;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--red-dark);
        color: var(--white);
        font-family: 'icomoon';
        font-size: 2.5rem;
        font-weight: 400;
        text-align: center;
        height: 100%;
        aspect-ratio: 1/1;
        transition: background-color .4s;
    }

        .btn-icon:hover::after,
        .like_btn-icon:hover::after {
            background: var(--red);
        }



/* ---------------
  01 - BOUTONS
--------------- */

/*
  Infos :
    Selon la méthodologie BEM, on vient compléter le style d'une classe avec un Modifier,
    on nomme donc nos classes .btn--primary
*/

/* Bouton principal - fond jaune */
.gform_button,
.btn--primary,
.like-btn--primary a {
	background-color: var(--color-primary);
}

    .gform_button:hover,
    .btn--primary:hover,
    .like-btn--primary a:hover {
        color: var(--white);
        background-color: var(--color-tertiary);
    }
.btn--yellow,
.like-btn--yellow a {
    background-color: var(--yellow);
}
    .btn--yellow:hover,
    .like-btn--yellow a:hover {
        color: var(--white);
        background-color: var(--blue);
    }
/* Bouton secondaire - fond orange*/
.btn--secondary,
.like-btn--secondary a {
	background-color: var(--color-secondary);
}
    .btn--secondary:hover,
    .like-btn--secondary a:hover {
        color: var(--white);
        background-color: var(--color-tertiary);
    }
.btn--orange,
.like-btn--orange a {
	background-color: var(--orange);
}
    .btn--orange:hover{
        color: var(--white);
        background-color: var(--blue);
    }
/* Bouton tertiaire - fond bleu*/
.btn--tertiary,
.like-btn--tertiary a {
	background-color: var(--color-tertiary);
}
    .btn--tertiary:hover,
    .like-btn--tertiary a:hover {
        background-color: var(--color-primary);
        color: var(--white);
    }
.btn--blue,
.like-btn--blue a {
    background-color: var(--blue);
}
    .btn--blue:hover,
    .like-btn--blue a:hover{
        background-color: var(--yellow);
        color: var(--white);
    }


.btn--white,
.like-btn--white a {
    background-color: var(--white);
    color: var(--color-primary);
}

    .btn--white:hover,
    .like-btn--primary a:hover {
        background-color: var(--color-primary);
        color: var(--white);
    }

/* ---------------------------------
  02 - BOUTONS ICONS
--------------------------------- */

/* Exemple :

    // Bouton Icon - Plus
    .btn-icon--plus::after {
        content: "\e92c";
    }

    // Bouton Icon - Caddie
    .btn-icon--cart::after {
        content: "\e90b";
    }
*/



/* -----------------------------
    03 - BOUTONS SPÉCIFIQUES
----------------------------- */

/* Exemple :

    // Bouton unique
    .btn-favorite {
        border-radius: 50px;
    }
*/




/* -----------------------------
    04 - LIENS
----------------------------- */

/* Exemple :

    // Lien sur fond sombre
    .link-white {
        color: var(--white);
    }

    // Lien à la couleur différente du <a> par défaut
    .link-secondary {
        color: var(--color-secondary);
    }
*/

.scroll-bottom {
    border-radius: 50%;
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    outline: transparent;
    cursor: pointer;
    overflow: hidden;
    width: 36px;
    height: 36px;
    position: relative;
}
.scroll-bottom:hover {
    background-color: var(--color-tertiary);
}
.scroll-bottom .icon-arrow::before {
    content: "\e901";
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--white);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    font-size: 1.2rem;
    line-height: 1;
}