#formateurs-exceptions #presentation {
  margin-left: 10%;
}

#content2 {
    margin-top: 40px; 
    text-align: center;
}

.profiles { 
    list-style: none; 
    cursor: pointer;
    padding: 0;
    margin: 0 auto;
    text-align: center; 
}

.profiles > li { 
    width: 303px;
    height: 303px; 
    display: inline-block; 
    vertical-align: top;
    margin: 20px 45px 70px 45px; 
    position: relative;
    overflow: visible;
}
.info, .pic { 
    position: absolute; 
    top: 0;
    left: 0;
    width: 303px; 
    height: 303px; 
    box-sizing: border-box;
    transition: all 0.9s cubic-bezier(0.165, 0.84, 0.44, 1); 
}
.pic { 
    border: 5px solid #777; 
    box-shadow: 7px 7px 12px rgba(0,0,0,0.3);
    z-index: 1;
    object-fit: cover;
    display: block;
}
.info { 
    font-family: 'Lato', sans-serif; 
    color: #fff; 
    padding: 30px 20px;
    background-color: #63084D;
    box-shadow: 10px 10px 25px rgba(0,0,0,0.5);
    z-index: 2;
    list-style: none;
    opacity: 0; 
    transform: scale(0.1); 
    display: flex;    
    flex-direction: column;
    justify-content: space-between;
}
.profiles > li:hover .info { 
    opacity: 1; 
    transform: scale(1); 
}
.profiles > li:hover .pic { 
    opacity: 0;
    transform: scale(1.3); 
    filter: blur(2px);
}

.info li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.info a { 
    color: #FFF; 
    text-decoration: none; 
    text-align: center;
    display: block;
	font-weight: bold;
}
.info a:hover { 
    color: #FFF; 
    text-decoration: underline; 
    text-align: center;
    display: block;
}
.info li.title a { 
    font-weight: bold;
    font-size: 20px; 
    line-height: 1.2;
	margin-bottom: 15px;
	font-weight: bold;
}
.info li.texte { 
    font-size: 18px;
    font-weight: bold;
}
.info li span.notes { 
    font-size: 11px;
}
.info li.lien-rdv {
    margin-bottom: -10px !important;
    padding-bottom: 0;
}
.apparence-conf a,
.info li.lien-rdv a { 
    font-size: 14px; 
    font-weight: bold;
    text-decoration: none;
    font-weight: bold;
    color: #00BCB3;
}
p.decalage {
	 text-align: center;
}
.info li.lien-rdv a:hover { 
	text-decoration: underline; 
}
.info li.lien button,
.info li.lien a { 
    font-size: 14px; 
    font-weight: bold;
    text-decoration: none; 
    background-color: #C8018A;
    color: #FFFFFF;           
    display: inline-block;    
    padding: 10px 20px;        
    border-radius: 7px;       
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease, transform 0.2s ease; 
    margin: 0 auto;
	margin
}
.info li.lien button:hover,
.info li.lien a:hover { 
    background-color: #BB0181;
    opacity: 1;                
	box-shadow: 0 4px 6px rgba(255, 255, 255, 0.15);
}

.etapes-decalees {
    padding-left: 25px; 
    line-height: 1.6;  
}
.etapes-decalees a {
    font-weight: bold;
	color: #63084D;
	text-decoration: none;
}
.etapes-decalees a:hover {
	text-decoration: underline;
}

.vert-bold { 
    font-weight: bold;
	color: #00BCB3;
}

.pic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 303px;
    height: 303px;
    box-sizing: border-box;
    z-index: 1; 
    pointer-events: none; 
    transition: all 0.9s cubic-bezier(0.165, 0.84, 0.44, 1); 
}
.text-overlay {
    background-color: transparent; 
    font-family: 'SofiaSans-VariableFont_wght', Helvetica, Arial, sans-serif;
    font-size: 22px;         
    font-weight: 900;  
    color: #00D1C8;
    padding: 15px;
    height: auto; 
}
.img-overlay {
    object-fit: contain;
}
.profiles > li:hover .pic-overlay {
    opacity: 0;
    transform: scale(1.3);
    filter: blur(2px);
}

/* --- Popin --- */
  button {
	border: none;
  }
  .modal-overlay {
    position: fixed; 
	top: 0; 
	left: 0;
	width: 100%; 
	height: 100%;
    background: rgba(0, 0, 0, 0.6);
	display: flex;
    justify-content: center; 
	align-items: center; 
	z-index: 9999;
  }
  .modal-content a {
	color: #00BCB3;
	font-weight: bold;
  }
  .modal-content {
    background: #fff; 
	padding: 25px; 
	border-radius: 8px;
    max-width: 400px; 
	width: 90%; 
	text-align: center; position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
	color: #333;
  }
  .modal-close {
    position: absolute; 
	top: 10px; 
	right: 15px; 
	font-size: 24px;
    cursor: pointer; 
	color: #888;
  }
  .cgv-checkbox-wrapper {
    margin: 20px 0; 
	text-align: left; 
	font-size: 14px; 
	line-height: 1.4;
	display: flex;
	align-items: flex-start;
  }
  #modal-offer-title {
    color: #63084D;
  }  
  .cgv-checkbox-wrapper input[type="checkbox"] {
    appearance: none; 
    -webkit-appearance: none;
    width: 18px; height: 18px;
    border: 2px solid #ccc; 
    border-radius: 3px;
    margin-right: 10px;
    margin-top: 2px;
    cursor: pointer;
    position: relative;
    background-color: white;
    transition: background-color 0.2s, border-color 0.2s;
    flex-shrink: 0;
  }  
  .cgv-checkbox-wrapper input[type="checkbox"]:checked {
    background-color: #00BCB3; /* Votre vert */
    border-color: #00BCB3;
  }
  .cgv-checkbox-wrapper input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px; top: 1px;
    width: 5px; height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  .paypal-btn {
    display: inline-block; 
	width: 100%;
	padding: 12px 0;
	color: white !important;
    background-color:  #BB0181; 
	color: white;
	text-decoration: none;
    font-weight: bold; 
	border-radius: 5px; 
	transition: all 0.3s ease;
    box-sizing: border-box;
  }
  .paypal-btn.disabled {
    background-color: #ccc !important;
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.6;
	color: white !important;
  }
  
 /* --- Responsive --- */
@media (max-width: 850px) {
    .profiles > li { margin: 15px; }
}
@media (max-width: 555px) {
	#formateurs-exceptions #presentation {
	  margin-left:0;
	}
}