/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */
@media (max-width: 991px){
.inverse {
 display: flex;
  flex-direction: column-reverse;
 }
}
/***************lire plus**************/
 details{
  display:inline;
}
details {
  position:relative;
}
details summary {
	color: #A7A7A7;
    display: block;
    cursor: pointer;
    font-size: 16px !important;
    font-weight: 500;
	padding-top: 10px;
}
details summary:focus {
  outline:none;
}
details[open] {
  display:block;
  padding-bottom:25px;
  /*padding-top:10px;*/
  animation: open .2s linear;
}
details[open] summary {
  position:absolute;
  bottom: 0;
  left:0;
}
/*span#close {
    left: 150%;
}*/
details[open] #close {
	
    position: relative !important;
    top: 10px;
	width:100%;
	
}
details #open{padding-left:5px;text-align:center;}
details #open:after{
		display: inline-block;
    position: relative;
    top: 1px;
    margin-left: 8px;
    font-family: 'ETmodules';
    content: "3";
}
	details #close:after {
    display: inline-block;
    position: relative;
    top: 0px;
    margin-left: 10px;
    font-family: 'ETmodules';
    content: "3";
    transform: rotate(180deg);
}
details[open] #open{display:none;}
details #close{display:none;}
details[open] #close{display:block;}
::-webkit-details-marker {display: none;}
@keyframes open {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/*Fin lire plus*/

/* .fixed-button {
	top: 50%;
    position: fixed;
    right: 0px;
    color: #000000;
    text-decoration: none;
    z-index: 9;
    border-radius: 3px 0 0 3px;
    transition: opacity 1s ease;
    display: flex;
    align-items: stretch;
}
.fixed-button:hover .phone-number {
    opacity: 1;
}
.icon-phone , .icon-mail {
    background:#7bcff8;
    padding: 20px;
}
.phone-number {
    opacity: 0;
    font-size: 16px;
    margin-left: 10px;
    background:#7bcff8;
    padding: 14px 20px;
    transition: all 0.3s cubic-bezier(0.4,0,1,1);
}
.fixed-button  .phone-number {
  display: inline;
}
.btn2 {
	top:60% ;
}
 */






































.fixed-button {
    position: fixed;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-decoration: none;
    color: #000;
    background: #7bcff8;
    padding: 16px 18px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 9999;
}

/* Positions */
.btn-phone { bottom: 140px; }
.btn-contact { bottom: 80px; }
.btn-mail { bottom: 20px; }

/* Icônes */
.fixed-button i {
    font-size: 20px;
    color: #000;
}

/* Hover */
.fixed-button:hover {
    background: #65b4dc;
    transform: scale(1.05);
}

/* Texte masqué (desktop et mobile) */
span.phone-number {
    display: none;
}

/* Animations */
.btn-phone:hover i {
    animation: phoneShake 0.6s infinite;
}

@keyframes phoneShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(-15deg); }
    75% { transform: rotate(10deg); }
}

.btn-mail:hover i {
    animation: emailSwing 1.2s ease-in-out infinite;
}

@keyframes emailSwing {
    0% { transform: rotate(0); }
    20% { transform: rotate(10deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
    100% { transform: rotate(0); }
}

.btn-contact:hover i {
    animation: bounce 0.9s ease infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    60% { transform: translateY(-3px); }
}

/* Responsive */
@media(max-width: 768px) {
    .fixed-button {
        padding: 14px;
        border-radius: 50%;
        width: 50px;
        justify-content: center;
    }
}




































/* Style général du bouton dans le menu */
#top-menu li.btnbl a {
    background: #7bcff8;
    color: #000 !important;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    padding-bottom: 17px !important;
}

/* Hover effet */
#top-menu li.btnbl:hover a {
    background: #65b4dc;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* Force d'affichage à droite du menu */
#top-menu li.btnbl {
    /* margin-left: 10px; */
}

/* Mobile amélioration */
@media (max-width: 980px) {
    #top-menu li.btnbl a {
        width: 100%;
        border-radius: 10px;
        justify-content: center;
        box-shadow: none;
    }
}
