input,
select,
textarea,
button {
    -webkit-appearance: none;
    appearance: none;
}
/* ---- AZULII FRAMEWORK CSS / th_DIVI ---- */
.az-mm-enabled .az-mm-li {
    position: static !important;
}

.az-mm-enabled .az-mm-li > ul.sub-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: -5vw;
    width: 100vw;
    background: #fff;
    display: flex;
    opacity: 0;
    pointer-events: none;
    padding: 40px 5vw;
    gap: 40px;
    border-top: 1px solid #ccc;
    transition: opacity .25s ease;
    z-index: 999999;
	overflow:scroll;
	max-height:80vh;
}

.az-mm-enabled .az-mm-li:hover > ul.sub-menu {
    display: flex;
    left: -5vw;
    padding: 40px 5vw;
    opacity: 1;
    pointer-events: auto;
}

/********************************************
 * COLONNE GAUCHE
 ********************************************/
.az-mm-enabled li.az-mm-li > ul.sub-menu > ul.az-mm-left {
    flex: 1 1 0;
    max-width: 33%;
    visibility: visible;
    opacity: 1;
    border: none;
    position: relative;
    padding: 0;
    box-shadow: none;
}

.az-mm-enabled li.az-mm-li > ul.sub-menu > ul.az-mm-left:after {
    content: "";
    width: 1px;
    background: #cccccc;
    height: calc(100% + 80px);
    position: absolute;
    top: -40px;
    right: -20px;
}

.az-mm-enabled ul.sub-menu .az-mm-left > li > ul.sub-menu,
.az-mm-enabled ul.sub-menu .az-mm-left > li:hover > ul.sub-menu {
    display: none;
}

.az-mm-enabled ul.sub-menu .az-mm-left li.menu-item {
    width: 100%;
    padding: 0;
    background: none;
}

.az-mm-enabled ul.sub-menu .az-mm-left li.menu-item:last-child a {
    margin-bottom: 0;
}

.az-mm-enabled ul.sub-menu ul.az-mm-left li.menu-item a {
    list-style: none;
    width: 100%;
    background: #e6e6e6;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: background .15s;
    font-size: clamp(1.4rem,1vw + 0.6rem,1.75rem);
    font-weight: 800;
}

.az-mm-enabled ul.sub-menu ul.az-mm-left li.menu-item a:hover {
    opacity: 1;
}

.az-mm-enabled ul.az-mm-left li > a .az-mm-tagline {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #242424;
    margin-top: 5px;
    line-height: 1.3;
}

.az-mm-enabled ul.sub-menu ul.az-mm-left li:hover a,
.az-mm-enabled ul.sub-menu ul.az-mm-left li.menu-item.az-mm-active a {
    background: #cccccc;
}

.az-mm-enabled .az-mm-left li > a {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    text-decoration: none;
}


/********************************************
 * COLONNE DROITE
 ********************************************/
.az-mm-enabled .az-mm-right {
    flex: 2 1 0;
    max-width: 66%;
    display: flex;
    gap: 20px;
	height:100%;
}

.az-mm-enabled .az-mm-right .az-mm-block {
    background: #e6e6e6;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 0;
    flex: 1;
    position: relative;
}

.az-mm-enabled ul.sub-menu .az-mm-right .az-mm-block h4 > a {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0px;
    color: #666666;
    padding: 0;
}

.az-mm-enabled .az-mm-right .az-mm-block ul {
    list-style: none;
    margin: 0;
    padding: 0 !important;
    display: block;
    visibility: visible !important;
    opacity: 1 !important;
    border: none;
    background: none;
    box-shadow: none;
}

.az-mm-enabled .az-mm-right .az-mm-block .az-mm-lvl3-title > a {
    font-size: 16px;
    font-weight: 800;
    color: #252525;
    text-decoration: none;
    line-height: 1;
    display: block;
    padding: 5px 0;
}
.az-mm-enabled .az-mm-right .az-mm-block ul.az-mm-lvl4-list {
	position:relative;
	width:100%;
}
.az-mm-enabled .az-mm-right .az-mm-block ul.az-mm-lvl4-list>li {
	padding:0 0 5px 0;
	display:block;
}
.az-mm-enabled .az-mm-right .az-mm-block .az-mm-lvl4-list li a {
    font-weight: normal;
    font-size: 16px !important;
    padding: 0 0 0 15px;
    width: 100%;
    line-height: 1.2;
}

.az-mm-enabled .az-mm-right .az-mm-block .az-mm-lvl3-title a:hover,
.az-mm-enabled .az-mm-right .az-mm-block .az-mm-lvl4-list li a:hover {
    color: var(--primary-color);
    background: none;
    opacity: 1;
}

/* Quand le menu mobile est ouvert, on bloque complètement le mega menu */
html.az-mob-scrolllock body.az-mm-enabled .az-mm-li:hover > ul.sub-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-15px) !important;
  filter: blur(6px) !important;
}

/********************************************
 * ANIMATIONS
 ********************************************/
.az-mm-enabled .az-mm-li > ul.sub-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    filter: blur(6px);
    transition:
        opacity .7s cubic-bezier(0.25, 0.1, 0.25, 1),
        transform .7s cubic-bezier(0.25, 0.1, 0.25, 1),
        filter .7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.az-mm-enabled .az-mm-li:hover > ul.sub-menu {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    visibility: visible;
}
/* État normal : PAS de transition */
.az-mm-enabled .az-mm-left {
    transition: none !important;
    opacity: 0;
    transform: translateY(-10px);
}
.az-mm-enabled .az-mm-li:hover .az-mm-left {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .6s ease, transform .6s ease;
}

.az-mm-enabled .az-mm-right .az-mm-block {
    opacity: 0;
    transform: translateY(10px);
    transition: all .7s ease;
}

.az-mm-enabled .az-mm-li:hover .az-mm-right .az-mm-block {
    opacity: 1;
    transform: translateY(0);
}

.az-mm-enabled .az-mm-right .az-mm-block:nth-child(1) { transition-delay: .2s; }
.az-mm-enabled .az-mm-right .az-mm-block:nth-child(2) { transition-delay: .4s; }
.az-mm-enabled .az-mm-right .az-mm-block:nth-child(3) { transition-delay: .6s; }


/********************************************
 * ANIMATIONS GLOBALES
 ********************************************/

/* Zoom intro */
.anim_zoom-intro {
    transform: scale(1.1);
    transition: transform 2s cubic-bezier(0.25,0.1,0.25,1);
}
.anim_zoom-intro.loaded {
    transform: scale(1);
}
.anim_zoom-intro > div {
    transform: scale(1);
}
body.et-fb .anim_zoom-intro {
	transform:scale(1);
}
body .header-general {
	transition: all 300ms ease;
}

body .header-general.et_pb_sticky {
	box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
    transition: all 300ms ease;
}

/* Reveal section */
.anim_reveal-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .6s ease, transform .6s ease;
}
.anim_reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
}
body.et-fb .anim_reveal-section {
    opacity:1!important;
    transform:none!important;
}
body.et-fb .anim_reveal-section{
	opacity:1!important;
	transform: translateY(0)!important;
}
/* Fade in */
.azfw-fade-in { opacity:0; animation:azfwFadeIn .6s ease forwards; }
@keyframes azfwFadeIn { to { opacity:1; } }

/* Slide up */
.azfw-slide-up {
    opacity:0;
    transform:translateY(20px);
    animation:azfwSlideUp .6s ease forwards;
}
@keyframes azfwSlideUp {
    to { opacity:1; transform:translateY(0); }
}

/*-- Boutons global --*/
body header .header-general nav.et-menu-nav li.azfw_menu-btn a {
	background-color:var(--primary-color);
	padding:0.7em 1em!important;
	border-radius:5px;
	color:var(--primary-txt-color);
	margin:auto 0;
}
/*-- Top right icon animation --*/
body .azfw_top-right-icon-animation.azfw_self-rotate:after, ul.sub-menu ul.az-mm-left>li>a:after, ul.sub-menu ul.az-mm-left>li.az-mm-active>a:after, div>a>.et_overlay:after, .et_pb_has_overlay .et_overlay:after {
	content: "";
	background-color:transparent;
	border-radius: 5px;
	width: 30px;
	height: 30px;
	position: absolute;
	right: 10px!important;
	top: 10px!important;
	opacity: 0;
	background-image: url(https://staging-wp266568.wpdns.ca/wp-content/themes/impec/assets/svg/plus-regular.svg);
	background-size: 50%;
	background-position:center;
	background-repeat: no-repeat;
	display: inline-block;
	transform-origin: center center;
	transition: opacity 0.4s ease, transform 0.5s ease;
}
body .azfw_top-right-icon-animation.azfw_self-rotate:before, ul.sub-menu ul.az-mm-left>li>a:before, ul.sub-menu ul.az-mm-left>li.az-mm-active>a:before, .et_overlay:before {
	content:"";
	position:absolute;
	width:30px;
	height:30px;
	border-radius:5px;
	top:10px;
	right:10px;
	background-color:white;
	opacity:0;
	transition: opacity 0.4s ease;
}
body .azfw_top-right-icon-animation.azfw_self-rotate:hover:after, ul.sub-menu ul.az-mm-left>li>a:hover:after, ul.sub-menu ul.az-mm-left>li.az-mm-active>a:after, div:hover>a>.et_overlay:after, .et_pb_has_overlay:hover .et_overlay:after {
	opacity: 1;
	transform: rotate(90deg);
}
body .azfw_top-right-icon-animation.azfw_self-rotate:hover:before, ul.sub-menu ul.az-mm-left>li>a:hover:before, ul.sub-menu ul.az-mm-left>li.az-mm-active>a:before, div:hover>a>.et_overlay:before, .et_pb_has_overlay:hover .et_overlay:before {
	opacity:1;
}
ul.sub-menu .az-mm-left>li>a:after, ul.sub-menu .az-mm-left>li>a:after, div>a>.et_overlay:before, div:hover>a>.et_overlay:before, .et_pb_has_overlay .et_overlay:before, .et_pb_has_overlay:hover .et_overlay:before {
	content:""!important;
}

.et-menu li li.menu-item-has-children>a:first-child:after {
    right: 20px;
    top: 6px;
}
/*-- FIN -- * -- Top right icon animation --*/

/* -------------- 
   ANIMATION POLAROID SEQUENTIELLE
--------------------------------*/
/* CARD 0 : normale */
.az_card-stagger [data-loop-item="0"] {
    position: relative !important;
    z-index: 1;
}
.az_card-stagger .et_pb_column {
background-color:#cccccc!important;
  border-radius:10px!important;
 padding:20px!important;
	box-shadow: 0px 2px 18px 0px black;
}
.az_card-stagger .et_pb_column .et_pb_image_wrap img {
	width:100%!important;
	object-fit:cover;
}
/* AUTRES CARDS (positionnées au centre par défaut) */
.az_card-stagger [data-loop-item]:not([data-loop-item="0"]) {
    position: absolute !important;
    top: 50%;
    left: 50%;

    /* Ces valeurs seront remplacées par JS */
    transform: translate(calc(-50% + var(--offset-x)), calc(-50% + var(--offset-y)))
               scale(0.85)
               rotate(var(--initial-rotation));

    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
    z-index: 3;
}

/* Animation vers l'angle final */
@keyframes azPolaroidDropRandom {
    0% {
        opacity: 0;
        transform: translate(calc(-50% + var(--offset-x)), calc(-50% + var(--offset-y)))
                   scale(0.85)
                   rotate(var(--initial-rotation));
    }
    70% {
        opacity: 1;
        transform: translate(calc(-50% + var(--offset-x)), calc(-50% + var(--offset-y)))
                   scale(1.05)
                   rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: translate(calc(-50% + var(--offset-x)), calc(-50% + var(--offset-y)))
                   scale(1)
                   rotate(var(--final-rotation));
    }
}

.az-animate {
    animation: azPolaroidDropRandom 0.7s ease-out forwards;
}


/********************************************
 * POPUP AZULII
 ********************************************/

.az-popup-overlay, .az-mm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
    z-index: 10005;
}
.az-mm-overlay {
    z-index: 9998;
}

.az-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 14px;
    max-width: 80%;
    max-height: 80vh;
    overflow: scroll;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: .35s ease;
    pointer-events: none;
    z-index: 10010;
    animation: az-popup-anim .35s ease;
}

body.et-fb .az-popup {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	display: flex !important;
	position:relative!important;
	top:inherit; left:inherit;
	transform: none !important;
}

.az-popup.active,
.az-popup-overlay.active, .az-mm-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
	overflow:scroll;
}

@keyframes az-popup-anim {
    from { transform: translate(-50%, -50%) scale(.85); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.az-popup-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    background: url(https://staging-wp266568.wpdns.ca/wp-content/themes/impec/assets/svg/plus-regular.svg)
                center/contain no-repeat;
    border: none;
    cursor: pointer;
    transform: rotate(45deg);
    transition: .2s ease;
    z-index: 99999;
}
.az-popup-close-btn:hover {
    transform: rotate(135deg);
}

body.az-no-scroll { overflow: hidden !important; }
/********************************************
 * FIN DU POPUP AZULII
 ********************************************/
.et_overlay {
	background-color:hsl(from var(--gcid-heading-color) calc(h + 0) calc(s + 0) calc(l + 0) / 0.25);
	backdrop-filter:blur(5px);
}

.et_overlay:before {
	top:50%;
}
div>a>.et_overlay:after, .et_pb_has_overlay .et_overlay:after {
	top: 50%!important;
    left: 50%;
    right: inherit;
    transform: translateY(-50%) translateX(-50%) rotate(0)!important;
}
div:hover>a>.et_overlay:after, .et_pb_has_overlay:hover .et_overlay:after {
    transform: translateY(-50%) translateX(-50%) rotate(90deg)!important;
}
body .mfp-container {
	padding:0 20px;
}
body .mfp-image-holder .mfp-close {
	opacity:1;
}



/*-- Conteneur de défilement --*/ body .conteneur-defilement .contenu { display: inline-block; white-space: nowrap; animation: defilement 40s linear infinite; color: #fff; font-size: 18px; font-weight: 600; } @keyframes defilement { 0% { transform: translateX(0%); } 100% { transform: translateX(-100%); } }

/*-- Fil d'ariane personalisé --*/

body .rank-math-breadcrumb {
	text-transform:uppercase;
	font-size:16px;
	font-weight:600;
	color:white;
}
body .rank-math-breadcrumb a {
	color:var(--primary-color);
}
body .rank-math-breadcrumb .separator {
	content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2 -2 54 54'%3E%3Cpath d='M25.1 3.2 46.9 25 25.1 46.8 M44.8 25H3.2' fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='6'/%3E%3C/svg%3E");
	width:1em;
	height:0.75em;
	display:inline;
	margin:0 10px;
}
@media all and (max-width:767px) {
	body .rank-math-breadcrumb {
		font-size:14px;
	}
}
/*-- Paragraphes, listes à puces, textes personnalisés --*/
.et_pb_text_inner p:has(+ ul) {
	padding-bottom:0;
}

/*-- Effets ou animations simples en CSS --*/

.blur-bg {
	backdrop-filter: blur(5px);
}

/*-- Heures d'ouverture avec jour actuel--*/
#heures-ouverture .jour.ajd {
	color:white;
}

/********************************************
 * HELPERS – UTILITAIRES GÉNÉRAUX
 ********************************************/

.azfw-hide { display:none!important; }
.azfw-flex { display:flex; }
.azfw-center { text-align:center; }
.azfw-align-center { display:flex; align-items:center; justify-content:center; }

.azfw-mb-sm { margin-bottom:10px; }
.azfw-mb-md { margin-bottom:25px; }
.azfw-mb-lg { margin-bottom:50px; }

