/*
Theme Name: 2025.06.VACFOR-DiviEnfant
Description: Divi Enfant, theme enfant de Divi 4 fourni par VACFOR 2025
Author: VACFOR
Template: Divi
Version: 2025.06.27 2025/06/27
______________________________*/
/* @media only screen and (max-width: 980px)
@media only screen and (max-width: 767px)
@media only screen and (max-width: 479px) */
/*======================================================================================= 
Changements des valeurs par défaut DIVI 
======================================================================================= */
.et_pb_section {
	margin: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
.et_pb_column .et_pb_row_inner, .et_pb_row {
	margin-top: 0!important;
	margin-bottom: 0!important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
/*================================================
/ Enlève toute marge intérieure (espace entre le contenu du paragraphe et ses bords).
- Sélecteur p : cette règle s'applique à toutes les balises <p> (paragraphes HTML).
================================================*/
p{padding:0;}
/* span{padding:0;}*/

/*======================================================================================= 
#FONTS-Taille-Polices par défaut
======================================================================================= */
html {font-size: 100%; /* 1rem = 16px */}
body, p, li, input, textarea, .et_pb_text p, .et_pb_blurb_description, .et_pb_blurb_description p
/*font-family: 'Carlito', 'Lato', 'SourceSans3', 'Helvetica Neue', Arial, sans-serif; */
{	font-size: clamp(1rem, calc(0.951rem + 0.207vw),1.2rem) ; 
  	line-height: clamp(1rem, calc(1.127rem + 0.311vw),1.5rem);
}
/*======================================================================================= 
Titres H1 à H6
et Pour les textes avec taille idem h1 à h6
========================================================================================= */
/* h1, h2, h3, h4, h5, h6 {font-family: "Merriweather-Bold", "Lora", Georgia, "Times New Roman", serif;} */
h1, .vfh1_p p, .vfh1_p li , .et_pb_toggle_title
{	font-size: clamp(1.6rem, calc(1.454rem + 0.621vw),2.2rem)!important;
	line-height: clamp(1.9rem, calc(1.754rem + 0.621vw),2.5rem)!important;
}
h2, .vfh2_p p, .vfh2_p li, .et_pb_toggle_title
{	font-size: clamp(1.5rem, calc(1.379rem + 0.518vw),2rem)!important;
	line-height: clamp(1.8rem, calc(1.679rem + 0.518vw),2.3rem)!important;
}
h3,.vfh3_p p, .vfh3_p li , .et_pb_toggle_title 
{	font-size: clamp(1.4rem, calc(1.303rem + 0.414vw),1.8rem)!important;
	line-height: clamp(1.7rem, calc(1.603rem + 0.414vw),2.1rem)!important;
}
h4, .vfh4_p p, .vfh4_p li  , .et_pb_toggle_title
{	font-size: clamp(1.3rem, calc(1.227rem + 0.311vw),1.6rem)!important;
	line-height: clamp(1.6rem, calc(1.527rem + 0.311vw),1.9rem)!important;
}
h5, .vfh5_p p, .vfh5_p li  , .et_pb_toggle_title 
{	font-size: clamp(1.2rem, calc(1.151rem + 0.207vw),1.4rem)!important;
	line-height: clamp(1.5rem, calc(1.451rem + 0.207vw),1.7rem)!important;
}
h6, .vfh6_p p, .vfh6_p li , .et_pb_toggle_title  
{	font-size: clamp(1rem, calc(0.951rem + 0.207vw),1.2rem)!important;
	line-height: clamp(1.3rem, calc(1.251rem + 0.207vw),1.5rem)!important;
}  

/*----------------------------------------*/
/*=======================================================================================
ESPACEMENTS SUPPLÉMENTAIRES POUR LES TITRES
======================================================================================= */
/* Marges hautes */
.vfh1_MT span { display: block; margin-top: clamp(3.5rem, calc(3.379rem + 0.518vw), 4rem)!important;}
.vfh2_MT span { display: block; margin-top: clamp(1rem, calc(0.879rem + 0.518vw), 1.5rem)!important;}
.vfh3_MT span { display: block; margin-top: clamp(1.5rem, calc(1.379rem + 0.518vw), 2rem)!important;}
.vfh4_MT span { display: block; margin-top: clamp(1.1rem, calc(0.979rem + 0.518vw), 1.6rem)!important;}
.vfh5_MT span { display: block; margin-top: clamp(0.7rem, calc(0.579rem + 0.518vw), 1.2rem)!important;}
.vfh6_MT span { display: block; margin-top: clamp(0.5rem, calc(0.379rem + 0.518vw), 1rem)!important;}
/* Marges basses */
.vfh1_MB span { display: block; margin-bottom: clamp(1.5rem, calc(1.379rem + 0.518vw), 2rem)!important;} 
.vfh2_MB span { display: block; margin-bottom: clamp(1.1rem, calc(0.979rem + 0.518vw), 1.6rem)!important;}
.vfh3_MB span { display: block; margin-bottom: clamp(1rem, calc(0.879rem + 0.518vw), 1.5rem)!important;} 
.vfh4_MB span { display: block; margin-bottom: clamp(0.7rem, calc(0.579rem + 0.518vw), 1.2rem)!important;}
.vfh5_MB span { display: block; margin-bottom: clamp(0.5rem, calc(0.379rem + 0.518vw), 1rem)!important;}
.vfh6_MB span { display: block; margin-bottom: clamp(0.3rem, calc(0.179rem + 0.518vw), 0.8rem)!important;}
/*----------------------------------------
Marges pour paragraphes
----------------------------------------*/
.vfp_MT1 p {margin-top: clamp(0.8rem, calc(0.751rem + 0.207vw),1rem)!important;}
.vfp_MT2 p {margin-top: clamp(1rem, calc(0.757rem + 1.036vw), 2rem) !important;}
.vfp_MT3 p {margin-top: clamp(1.5rem, calc(1.136rem + 1.553vw), 3rem) !important;}

.vfp_MB0-5 p {margin-bottom: clamp(0.3rem, calc(0.251rem + 0.207vw),0.5rem)!important;}
.vfp_MB1 p {margin-bottom: clamp(0.8rem, calc(0.751rem + 0.207vw),1rem) !important;}
.vfp_MB1-5 p {margin-bottom: clamp(1.1rem, calc(1.003rem + 0.414vw), 1.5rem) !important;}
.vfp_MB2 p {margin-bottom: clamp(1.5rem, calc(1.379rem + 0.518vw), 2rem) !important;}
.vfp_MB3 p {margin-bottom: clamp(1.5rem, calc(1.136rem + 1.553vw), 3rem) !important;}
/*=====================================================================================
/*----------------------------------------
 Marges du CONTENEUR du module Blurb (externe) 
 ----------------------------------------*/
.et_pb_blurb.vfr_MT1 {margin-top: clamp(0.8rem, calc(0.751rem + 0.207vw),1rem)!important;}
.et_pb_blurb.vfr_MT2 {margin-top: clamp(1rem, calc(0.757rem + 1.036vw), 2rem) !important;}

.et_pb_blurb.vfr_MB1  {margin-bottom: clamp(0.8rem, calc(0.751rem + 0.207vw),1rem) !important;}
.et_pb_blurb.vfr_MB1-5 {margin-bottom: clamp(1.1rem, calc(1.003rem + 0.414vw), 1.5rem) !important;}
.et_pb_blurb.vfr_MB2  {margin-bottom: clamp(1.5rem, calc(1.379rem + 0.518vw), 2rem) !important;} 
.et_pb_blurb.vfr_MB3  {margin-bottom: clamp(1.5rem, calc(1.136rem + 1.553vw), 3rem) !important;}

/*----------------------------------------
Marges pour paragraphes des résumés (Blurb)
----------------------------------------*/
.et_pb_blurb.vfr_p_MT1 .et_pb_blurb_description {margin-top: clamp(0.8rem, calc(0.751rem + 0.207vw),1rem)!important;}
.et_pb_blurb.vfr_p_MT2 .et_pb_blurb_description {margin-top: clamp(1rem, calc(0.757rem + 1.036vw), 2rem) !important;}

.et_pb_blurb.vfr_p_MB1 .et_pb_blurb_description {margin-bottom: clamp(0.8rem, calc(0.751rem + 0.207vw),1rem) !important;}
.et_pb_blurb.vfr_p_MB1-5 .et_pb_blurb_description{margin-bottom: clamp(1.1rem, calc(1.003rem + 0.414vw), 1.5rem) !important;}
.et_pb_blurb.vfr_p_MB2 .et_pb_blurb_description {margin-bottom: clamp(1.5rem, calc(1.379rem + 0.518vw), 2rem) !important;} 
.et_pb_blurb.vfr_p_MB3 .et_pb_blurb_description {margin-bottom: clamp(1.5rem, calc(1.136rem + 1.553vw), 3rem) !important;}

/*=====================================================================================
/* =======================================================================================
  Marges pour les boutons
======================================================================================= */
.et_pb_button.vfbu_MT1 {margin-top: clamp(0.8rem, calc(0.751rem + 0.207vw),1rem)!important;}
.et_pb_button.vfbu_MT2 {margin-top: clamp(1rem, calc(0.757rem + 1.036vw), 2rem) !important;}

.et_pb_button.vfbu_MB1 {margin-bottom: clamp(0.8rem, calc(0.751rem + 0.207vw),1rem) !important;}
.et_pb_button.vfbu_MB2 {margin-bottom: clamp(1.5rem, calc(1.379rem + 0.518vw), 2rem) !important;}
.et_pb_button.vfbu_MB3 {margin-bottom: clamp(1.5rem, calc(1.136rem + 1.553vw), 3rem) !important;}

/* =======================================================================================
  Marges pour les Images
======================================================================================= */
.vfi_MT1 img {margin-top: clamp(0.8rem, calc(0.751rem + 0.207vw),1rem)!important;}
.vfi_MT2 img {margin-top: clamp(1rem, calc(0.757rem + 1.036vw), 2rem) !important;}

.vfi_MB1 img {margin-bottom: clamp(0.8rem, calc(0.751rem + 0.207vw),1rem) !important;}
.vfi_MB2 img {margin-bottom: clamp(1.5rem, calc(1.379rem + 0.518vw), 2rem) !important;} 
.vfi_MB3 img {margin-bottom: clamp(1.5rem, calc(1.136rem + 1.553vw), 3rem) !important;}

/*================================================
Image responsive 
================================================*/
/*
Si l’image est dans un conteneur avec bord arrondi, ajoute overflow:hidden sur le parent pour éviter qu’elle dépasse pendant le zoom */
.et_pb_image { overflow: hidden; }

.vfi_M0 img {
  	display: block;
	margin: 0 auto; /* haut/bas 0, gauche/droite auto */
	transition: transform 0.3s ease;
	transform-origin:center;
}
.vfi_M1 img {
  	display: block;
	margin-top: clamp(0.1rem, calc(-0.118rem + 0.932vw),1rem);
	margin-bottom: clamp(0.1rem, calc(-0.118rem + 0.932vw),1rem);
	margin-left: clamp(0.1rem, calc(0.051rem + 0.207vw),0.3rem);
	margin-right: clamp(0.1rem, calc(0.051rem + 0.207vw),0.3rem);
	transition: transform 0.3s ease;
	transform-origin:center;
}
@media (hover: hover) and (pointer: fine) {
  .vfi_M0 img:hover,
  .vfi_M1 img:hover,
  .vfi_M8-16 img:hover,
  .vfi_M12-16 img:hover,
  .vfi_M13-26 img:hover,
  .vfi_M15-23 img:hover {
    transform: scale(0.95);
  }
}
@media (prefers-reduced-motion: reduce){
  .vfi_M0 img, .vfi_M1 img, .vfi_M8-16 img, .vfi_M12-16 img, .vfi_M13-26 img, .vfi_M15-23 img{
    transition:none;
  }
}
.vfi_M8-16 img,
.vfi_M12-16 img,
.vfi_M13-26 img,
.vfi_M15-23 img {
	height: auto;
	display: block;
	max-width: 100%;
	transition: transform 0.3s ease;
	transform-origin:center;
}
.vfi_M8-16  img {width: clamp(8rem, calc(6.058rem + 8.285vw),16rem);} /*clamp(min, idéale, max)*/
.vfi_M12-16 img {width: clamp(12rem, calc(11.029rem + 4.142vw),16rem);} /*clamp(min, idéale, max)*/	
.vfi_M13-26 img {width: clamp(13rem, calc(9.845rem + 13.463vw),26rem);} /*clamp(min, idéale, max)*/	
.vfi_M15-23 img {width: clamp(15rem, calc(13.058rem + 8.285vw),23rem);} /*clamp(min, idéale, max)*/	

.vfi_BorderB-01 img {
	border: 0.1rem solid #285AA8;
  	border-radius: 2vw;
	margin-left: auto;
	margin-right: auto;
}
.vfi_BorderB-02 img {
	border: 0.2rem solid #285AA8;
  	border-radius: 2vw;
	margin-left: auto;
	margin-right: auto;
}
/*========================================================================*/
/*================================================
Sur une ligne centrer au centre tous les éléments, classe sur la ligne
================================================*/
.vf_colcentre {
  display: flex;
  align-items: center;
}
.vf_colcentre .et_pb_column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/*========================================================================*/
/* Titre fermé : bleu */
.vfba_toggle:not(.et_pb_toggle_open) .et_pb_toggle_title {
  color: #285AA8;
  margin-bottom: clamp(0.8rem, calc(0.751rem + 0.207vw),1rem !important;
}
/* Espace entre titre et contenu */
.vfba_toggle .et_pb_toggle_content {
  padding-top: clamp(1.1rem, calc(1.003rem + 0.414vw), 1.5rem);
}
/* Marges entre paragraphes */
.vfba_toggle .et_pb_toggle_content p {
  margin-bottom: clamp(1.1rem, calc(1.003rem + 0.414vw), 1.5rem) !important;
}
/* Espace sous le module */
.vfba_toggle {
  margin-bottom: clamp(1.5rem, calc(1.379rem + 0.518vw), 2rem) !important;
}


/*========================================================================*/
/*===== FIN =====*/