/*
Theme Name: Divi Enfant par Incomm
Description: Theme enfant du theme Divi
Author: Incomm
Author URI: https://www.incomm.fr
Template: Divi
Version: 1.05
*/

.pa-burger-menu .et_pb_menu__menu {
  display: none !important;
}
.pa-burger-menu .et_mobile_nav_menu {
  display: flex !important;
  float: none;
  margin: 0 6px;
  align-items: center;
}

#depicter-1-element-7{
	width:150px!important;
}

/* Back to top */
.et_pb_scroll_top.et-pb-icon {
    background: #75bdb1!important;
    padding: 5px !important;
    color: #545454;
    bottom: 15%;
    right: 5%;
    border-radius:40px;
    font-size:44px;
}

.ginput_container{
	accent-color: #000!important;
}



/* CTA CONTAINER */
#cta-discovery {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -45%); /* léger offset visuel */
	max-width: 40%;
	width: calc(100% - 2rem);
	padding: 3.125vw 1.563vw;
	background: #75bdb1;
	color: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 45px rgba(0,0,0,0.28);
	z-index: 999;
	font-family: var(--font-family-titres);
	text-align: center;
	
	/* Ajouter un backdrop flou */
	backdrop-filter: blur(6px);
	
  	/* hidden state */
  	opacity: 0;
  	pointer-events: none;

  	transition: opacity 0.35s ease, transform 0.35s ease;
}

#cta-discovery p {
  margin: 0;
  font-size: 25px;
}

/* Visible */
#cta-discovery.show {
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  animation: ctaPulse 2.8s ease-out infinite;
}

/* Close button — modern & accessible */
.cta-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.40);
  border: none;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: background 0.2s ease, transform 0.2s ease;
}

.cta-close:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.1);
}

.cta-close:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* CTA Button */
.cta-btn {
  display: inline-block;
  background: #545454;
	font-size: 16px;
  color: #ffffff !important;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1.2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

/* Pulse animation */
@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.45); }
  70%  { box-shadow: 0 0 0 18px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

@media (max-width: 767px) {
  	#cta-discovery {
	  max-width: 85%;
	}
}

@media (min-width: 768px) and (max-width: 1365px) {
  	#cta-discovery {
	  max-width: 85%;
	}
}
