/*
Theme Name: SLFC
Description: Theme enfant de SLFC
Author: Flamingo Communications
Author URI: www.flamingo.fr
Template: Divi
Version: 1.1
*/
/*
========================================
UTILITAIRES GÉNÉRAUX
========================================
*/

/* Centrer verticalement du contenu */
.dc-centrer-verticalement {
	display: flex;
	flex-direction: column;
	justify-content: center;
  	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	-moz-box-orient: vertical;
	-moz-box-direction: normal;
	-ms-flex-direction: column;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-moz-box-pack: center;
	-ms-flex-pack: center;
}

/* Inverser l’ordre des colonnes sur mobile */
@media only screen and (max-width: 980px) {
	.dc-inverser-colonnes--section .dc-inverser-colonnes--ligne {
		display: flex;
		-webkit-flex-direction: column-reverse;
		-ms-flex-direction: column-reverse;
		flex-direction: column-reverse;
	}
}

/* Réduire la taille des exposants et indices */
sup, sub {
    font-size: 70%;
}

/* Augmenter largeur champ résultat Captcha */
.et_pb_contact_right p input {
	max-width: 50px;
}

/* Styles FontAwesome (icônes) */
.fa-solid, .fas {
    margin-right: 5px;
    font-size: 13px;
    margin-bottom: 5px;
}

/* Icône personnalisée (Divi ETmodules) */
.my-divi-icon::before {
    content: "\e074";
    font-family: "ETmodules";
    font-size: 32px;
    line-height: 1;
    display: inline-block;
}


/*
========================================
PAGE PROTÉGÉE
========================================
*/

/* Couleur de fond section */
.et_pb_section {
	background-color: #12120D !important;
}

/* Formulaire mot de passe */
.et_password_protected_form {
    background-color: #232323;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
	justify-content: center;
}

/* Titre et paragraphe */
.et_password_protected_form h1 {
    font-size: 28px;
    margin-bottom: 20px;
}
.et_password_protected_form p {
    font-size: 18px;
    margin-bottom: 25px;
}

/* Champ mot de passe */
.et_password_protected_form input[type="password"] {
    padding: 10px;
    width: 80%;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #ccc !important;
    font-size: 16px;
}

/* Bouton mot de passe */
.et_password_protected_form .et_submit_button {
    background-color: #F38C00;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s ease;
    border: 1px solid #f8b04e;
    display: block;
    float: none;
    width: 200px;
}
.et_password_protected_form .et_submit_button:hover {
    background-color: #e17a00;
    border: 1px solid #f8b04e;
}

/* Menu actif (header) */
:where(.et_pb_menu_0_tb_header.et_pb_menu) ul li.current-menu-item > a,
:where(.et_pb_menu_1_tb_header.et_pb_menu) ul li.current-menu-item > a {
    color: #000000 !important;
}


/*
========================================
MENU PRINCIPAL
========================================
*/

/* Désactiver les liens "ancre" (#) */
.menu-item a[href="#"] {
	pointer-events: none;
	cursor: default;
}

/* Bouton contact (dernier item menu desktop) */
.et_pb_menu .et-menu-nav>ul>li:last-child a {
	align-self: center;
    padding: 10px 15px !important;
    border-radius: 10px;
    border: 1px solid #f8b04e;
    background-color: #f28d00;
    color: #000 !important;
  	font-weight: 600;
  	font-size: 16px !important;
}


/*
========================================
MENU MOBILE
========================================
*/

/* Menu mobile plein écran */
.et_mobile_menu {
  margin-left: -30px;
  padding: 5%;
  width: calc(100% + 60px);
  background-color: #ffffff !important;
  border-radius: 10px;
}

/* Icône hamburger → croix */
.mobile_nav.opened .mobile_menu_bar::before {
  content: '\4d'; /* caractère croix */
  font-size: 24px;
}

/* Menu mobile scrollable */
#mobile_menu2 {
  height: 500px;
  overflow-x: hidden;
  overflow-y: scroll;
}
#mobile_menu2 li {
  padding: 0px 15px;
}

/* Liens en gras */
.menu_title{
  font-weight:800!important;
}

/*
========================================
MENU MOBILE - COLLAPSE SOUS-MENUS
========================================
*/

/* Sous-menus masqués par défaut */
ul.et_mobile_menu li.menu-item-has-children .sub-menu {
  display: none;
  visibility: hidden;
}

/* Sous-menus visibles quand 'visible' est ajouté */
ul.et_mobile_menu li.menu-item-has-children .sub-menu.visible {
  display: block;
  visibility: visible;
}

/* Toggle sous-menu (bouton à droite) */
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle {
  width: 44px;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  text-align: center;
  font-family: "ETModules";
  color: #00d263;
  background: #f0f3f6;
  border-radius: 50%;
  line-height: 44px;
}

/* Icônes toggle fermé / ouvert */
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after {
  content: '\33'; /* fermé */
}
ul.et_mobile_menu li.menu-item-has-children.dt-open > .mobile-toggle::after {
  content: '\32'; /* ouvert */
}


/*
========================================
MENU DROPDOWN (FULLSCREEN)
========================================
*/

/* Masqué par défaut */
#menu_fullscreen {
  display: none;
}

/* Affiché quand la classe .visible_menu est présente */
#menu_fullscreen.visible_menu {
  display: block;
}

/* Positionnement et animation */
#menu_fullscreen {
 	position: fixed;
	width: 100%;
 	top: 0;
 	left: 0;
 	display: block;
 	opacity: 0;
 	pointer-events: none;
 	transition: opacity 0.4s ease-in-out;
 	z-index: 99;
	margin-top: 110px;
}

#menu_fullscreen.visible_menu {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
  #menu_fullscreen {
	position: fixed;
    margin-top: 5;
    padding: 1rem;
    font-size: 1rem;
	top: 0;
 	right: 0;
 	display: block; 
  }
}

/*
========================================
TÉMOIGNAGES (bloc slide)
========================================
*/
.swiper-button-prev.dica-prev-btn-0,
.swiper-button-next.dica-next-btn-0 {
  border-radius: 10px;
}

.dica-rating-container{
  margin-top:20px!important;
}