/* =========================================================
   A.M.OR
   HEADER MODERNE
   ========================================================= */


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

:root {

    --amor-red: #df1217;
    --amor-red-dark: #b90f14;

    --amor-black: #171717;

    --amor-text: #303030;

    --amor-gray: #777777;

    --amor-light: #f8f8f8;

    --amor-border: #eeeeee;

}


/* =========================================================
   RESET
   ========================================================= */

* {

    box-sizing: border-box;

}


body {

    margin: 0;

    font-family:
        'Varela Round',
        Arial,
        sans-serif;

    color: var(--amor-text);

}


/* =========================================================
   HEADER
   ========================================================= */

.amor-header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 9999;

}


/* =========================================================
   NAVBAR
   ========================================================= */

.amor-navbar {

    width: 100%;

    min-height: 82px;

    margin: 0;

    background: rgba(255,255,255,0.98);

    border: none;

    box-shadow:
        0 2px 20px rgba(0,0,0,0.08);

    transition:
        min-height 0.3s ease,
        box-shadow 0.3s ease;

}


/* =========================================================
   HEADER APRÈS SCROLL
   ========================================================= */

.amor-header.scrolled .amor-navbar {

    min-height: 70px;

    box-shadow:
        0 5px 25px rgba(0,0,0,0.12);

}


/* =========================================================
   CONTENEUR
   ========================================================= */

.amor-navbar-container {

    width: 100%;

    min-height: 82px;

    padding-left: 35px;
    padding-right: 35px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* =========================================================
   LOGO AREA
   ========================================================= */

.amor-brand-area {

    display: flex;

    align-items: center;

    flex-shrink: 0;

}


/* =========================================================
   LOGO
   ========================================================= */

.amor-brand {

    display: flex;

    align-items: center;

    height: 82px;

    color: var(--amor-black);

    text-decoration: none;

}


.amor-brand:hover,
.amor-brand:focus {

    color: var(--amor-black);

    text-decoration: none;

}


.amor-logo-wrapper {

    width: 60px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}


.amor-logo {

    width: 58px;

    height: 58px;

    object-fit: contain;

}


/* =========================================================
   TEXTE LOGO
   ========================================================= */

.amor-brand-content {

    display: flex;

    flex-direction: column;

    margin-left: 10px;

}


.amor-brand-name {

    color: var(--amor-black);

    font-size: 21px;

    font-weight: 700;

    line-height: 1;

    letter-spacing: 1px;

}


.amor-brand-subtitle {

    margin-top: 6px;

    color: #888;

    font-size: 8px;

    font-weight: 400;

    line-height: 1.2;

    text-transform: uppercase;

    letter-spacing: 0.3px;

    white-space: nowrap;

}


/* =========================================================
   MENU WRAPPER
   ========================================================= */

.amor-menu-wrapper {

    display: flex;

    align-items: center;

}


/* =========================================================
   MENU
   ========================================================= */

.amor-menu {

    display: flex;

    align-items: center;

    margin: 0;

    padding: 0;

    list-style: none;

}


.amor-menu > li {

    position: relative;

    list-style: none;

}


/* =========================================================
   LIENS
   ========================================================= */

.amor-menu > li > a {

    position: relative;

    height: 82px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0 14px;

    color: var(--amor-text);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.4px;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color 0.25s ease;

}


.amor-menu > li > a:hover,
.amor-menu > li > a:focus {

    color: var(--amor-red);

    text-decoration: none;

}


/* =========================================================
   ACTIVE
   ========================================================= */

.amor-menu > li.active > a {

    color: var(--amor-red);

}


.amor-menu > li.active > a::after {

    content: "";

    position: absolute;

    bottom: 0;

    left: 14px;
    right: 14px;

    height: 3px;

    background: var(--amor-red);

    border-radius:
        3px 3px 0 0;

}


/* =========================================================
   CHEVRON
   ========================================================= */

.amor-chevron {

    width: 7px;

    height: 7px;

    margin-left: 8px;

    border-right: 1.5px solid currentColor;

    border-bottom: 1.5px solid currentColor;

    transform:
        rotate(45deg);

    position: relative;

    top: -2px;

    transition:
        transform 0.2s ease;

}


.amor-menu-dropdown.open
.amor-chevron {

    transform:
        rotate(225deg);

    top: 2px;

}


/* =========================================================
   DROPDOWN
   ========================================================= */

.amor-dropdown {

    position: absolute;

    top: 100%;

    left: 0;

    min-width: 235px;

    margin: 0;

    padding: 8px 0;

    list-style: none;

    background: #ffffff;

    border: none;

    border-radius:
        0 0 8px 8px;

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

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(8px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;

}


/* Desktop */

@media (min-width: 992px) {

    .amor-menu-dropdown:hover
    .amor-dropdown {

        opacity: 1;

        visibility: visible;

        transform:
            translateY(0);

    }

}


/* =========================================================
   DROPDOWN ITEMS
   ========================================================= */

.amor-dropdown li {

    list-style: none;

}


.amor-dropdown li a {

    display: flex;

    align-items: center;

    padding: 12px 20px;

    color: #333;

    font-size: 12px;

    text-decoration: none;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        padding-left 0.2s ease;

}


.amor-dropdown li a span {

    width: 0;

    overflow: hidden;

    opacity: 0;

    color: var(--amor-red);

    transition:
        width 0.2s ease,
        opacity 0.2s ease;

}


.amor-dropdown li a:hover {

    padding-left: 25px;

    color: var(--amor-red);

    background: #fafafa;

}


.amor-dropdown li a:hover span {

    width: 18px;

    opacity: 1;

}


/* =========================================================
   SEPARATEUR
   ========================================================= */

.amor-dropdown-divider {

    height: 1px;

    margin: 7px 15px;

    background:
        var(--amor-border);

}


/* =========================================================
   LANGUES
   ========================================================= */

.amor-globe {

    margin-right: 5px;

    color: var(--amor-red);

    font-size: 17px;

    line-height: 1;

}


.amor-language-dropdown {

    min-width: 155px;

}


.amor-language-dropdown
.selected a {

    color: var(--amor-red);

    font-weight: 600;

}


.amor-language-dropdown
.disabled a {

    color: #aaa;

}


.amor-language-dropdown
.disabled a:hover {

    padding-left: 20px;

    color: #aaa;

    background: transparent;

}


/* =========================================================
   BOUTON DON
   ========================================================= */

.amor-donation-item {

    margin-left: 8px;

}


.amor-donation-button {

    height: 42px !important;

    display: flex !important;

    align-items: center;

    justify-content: center;

    padding: 0 18px !important;

    color: #ffffff !important;

    background:
        var(--amor-red) !important;

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

    border-radius: 5px;

    font-size: 11px !important;

    font-weight: 700 !important;

    letter-spacing: 0.5px;

    text-decoration: none !important;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.amor-donation-button:hover,
.amor-donation-button:focus {

    color: #ffffff !important;

    background:
        var(--amor-red-dark) !important;

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

    transform:
        translateY(-2px);

    box-shadow:
        0 7px 20px
        rgba(223,18,23,0.25);

}


.amor-heart {

    margin-right: 7px;

    font-size: 14px;

}


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

.amor-mobile-toggle {

    display: none;

    width: 44px;

    height: 44px;

    margin-left: 10px;

    padding: 8px;

    background: transparent;

    border: none;

    border-radius: 5px;

    cursor: pointer;

}


.amor-mobile-toggle span {

    display: block;

    width: 26px;

    height: 2px;

    margin: 5px auto;

    background:
        var(--amor-black);

    border-radius: 2px;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease,
        background 0.25s ease;

}


.amor-mobile-toggle:hover span {

    background:
        var(--amor-red);

}


/* =========================================================
   ANIMATION HAMBURGER
   ========================================================= */

.amor-mobile-toggle.open span:nth-child(1) {

    transform:
        translateY(7px)
        rotate(45deg);

}


.amor-mobile-toggle.open span:nth-child(2) {

    opacity: 0;

}


.amor-mobile-toggle.open span:nth-child(3) {

    transform:
        translateY(-7px)
        rotate(-45deg);

}


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

@media (max-width: 1199px) {

    .amor-navbar-container {

        padding-left: 20px;

        padding-right: 20px;

    }


    .amor-menu > li > a {

        padding-left: 9px;

        padding-right: 9px;

        font-size: 10px;

    }


    .amor-brand-subtitle {

        display: none;

    }


    .amor-brand-name {

        font-size: 19px;

    }


    .amor-donation-button {

        padding-left: 13px !important;

        padding-right: 13px !important;

    }

}


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

@media (max-width: 991px) {


    .amor-navbar {

        min-height: 70px;

    }


    .amor-navbar-container {

        min-height: 70px;

        padding-left: 15px;

        padding-right: 15px;

        display: block;

    }


    .amor-brand-area {

        min-height: 70px;

        display: flex;

        align-items: center;

        justify-content: space-between;

    }


    .amor-brand {

        height: 70px;

    }


    .amor-logo-wrapper {

        width: 52px;

        height: 52px;

    }


    .amor-logo {

        width: 50px;

        height: 50px;

    }


    .amor-brand-name {

        font-size: 18px;

    }


    .amor-mobile-toggle {

        display: block;

    }


    /* -----------------------------------------------------
       MENU MOBILE
       ----------------------------------------------------- */

    .amor-menu-wrapper {

        position: absolute;

        top: 70px;

        left: 0;

        width: 100%;

        max-height: 0;

        overflow: hidden;

        background: #ffffff;

        box-shadow:
            0 15px 30px
            rgba(0,0,0,0.12);

        opacity: 0;

        transition:
            max-height 0.35s ease,
            opacity 0.25s ease;

    }


    .amor-menu-wrapper.open {

        max-height:
            calc(100vh - 70px);

        overflow-y: auto;

        opacity: 1;

    }


    .amor-menu {

        display: block;

        width: 100%;

        padding:
            8px 0 15px;

    }


    .amor-menu > li {

        width: 100%;

    }


    .amor-menu > li > a {

        height: 50px;

        justify-content: flex-start;

        padding:
            0 22px;

        font-size: 12px;

    }


    .amor-menu > li.active > a::after {

        display: none;

    }


    /* -----------------------------------------------------
       DROPDOWN MOBILE
       ----------------------------------------------------- */

    .amor-dropdown {

        position: static;

        width: 100%;

        min-width: 0;

        max-height: 0;

        overflow: hidden;

        padding: 0;

        background:
            #fafafa;

        border-radius: 0;

        box-shadow: none;

        opacity: 1;

        visibility: visible;

        transform: none;

        transition:
            max-height 0.3s ease;

    }


    .amor-menu-dropdown.open
    .amor-dropdown {

        max-height: 500px;

    }


    .amor-dropdown li a {

        min-height: 44px;

        padding:
            0 40px;

        font-size: 12px;

    }


    .amor-dropdown li a:hover {

        padding-left: 45px;

    }


    .amor-dropdown-divider {

        margin:
            5px 25px;

    }


    /* -----------------------------------------------------
       DON MOBILE
       ----------------------------------------------------- */

    .amor-donation-item {

        width: 100%;

        margin: 0;

        padding:
            12px 20px 5px;

    }


    .amor-donation-button {

        width: 100%;

        height: 45px !important;

    }

}


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

@media (max-width: 480px) {

    .amor-navbar-container {

        padding-left: 10px;

        padding-right: 10px;

    }


    .amor-brand-name {

        font-size: 17px;

    }


    .amor-logo-wrapper {

        width: 47px;

        height: 47px;

    }


    .amor-logo {

        width: 45px;

        height: 45px;

    }


    .amor-mobile-toggle {

        margin-right: 2px;

    }

}