/*
Theme Name: Clair Lagon
Theme URI: https://moodboard-agency.com
Description: Clair Lagon Child Theme For Divi 5
Author: Agence Moodboard
Author URI: https://moodboard-agency.com
Version: 1.0.0
Template: Divi
*/
/***GOOGLE FONTS LOCAL***/
/* shippori-antique-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Shippori Antique';
  font-style: normal;
  font-weight: 400;
  src: url('https://clair-lagon.com/wp-content/uploads/fonts/shippori-antique-v11-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fustat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 400;
  src: url('https://clair-lagon.com/wp-content/uploads/fonts/fustat-v4-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fustat-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 500;
  src: url('https://clair-lagon.com/wp-content/uploads/fonts/fustat-v4-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fustat-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 600;
  src: url('https://clair-lagon.com/wp-content/uploads/fonts/fustat-v4-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fustat-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 700;
  src: url('https://clair-lagon.com/wp-content/uploads/fonts/fustat-v4-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fustat-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 800;
  src: url('https://clair-lagon.com/wp-content/uploads/fonts/fustat-v4-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
body{
	font-family: 'Fustat';
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Shippori Antique' !important;
}
/***END GOOGLE FONTS LOCAL***/

/***Hide Recpatch Badg***/
.grecaptcha-logo {
    visibility: collapse !important;
}
.grecaptcha-badge{
	box-shadow: none !important;
	display: none !important;
}

/***Button No Padding on Hover***/
.et_pb_button:hover, .et_pb_module .et_pb_button:hover{
  padding: 15px 20px 15px 20px !important;
}
.btn_large:hover{
	padding: 15px 20px 15px 20px !important;
}
/***End Button Padding***/

/****Show Header button in EN*****/
/* Page en anglais */
/*html[lang^="en"] .cta-fr { display: none !important; }
html[lang^="en"] .cta-en { display: inline-flex !important; }

/* Page non anglaise (FR par défaut) */
/*html:not([lang^="en"]) .cta-en { display: none !important; }
html:not([lang^="en"]) .cta-fr { display: inline-flex !important; }

/* Optionnel: éviter un léger décalage dans un conteneur flex */
/*.cta-fr, .cta-en { align-items: center; }*/

/***Custom GMaps***/
/****** Hide Controls ******/
div.gmnoprint.gm-style-mtc-bbw {
  display: none;
}
div.gmnoprint.gm-bundled-control{
 display: none; 
}
button.gm-control-active.gm-fullscreen-control{
  display:none;
}
div.gmnoprint{
  display:none;
}
/****** Custom Cards ******/
.g_maps h3 {
  font-family:'Shippori Antique';
  Color:#050a35;
}
.g_maps .infowindow p{
  color: black !important;
}
.g_maps p a {
  background: #050a35;
  padding: 15px 20px 15px 20px;
  margin-top: 10px !important;
  border-radius: 4px;
  font-weight: 600;
}
.g_maps .gm-style-iw.gm-style-iw-c{
  max-height: fit-content !important;
      line-height: 1.7;
}
/***End of Custom GMaps***/

/***Custom Forms***/
/* Checkbox : couleur du « check » */
.et_pb_contact input[type="checkbox"]:checked + label i::before,
.et_pb_module--contact-form input[type="checkbox"]:checked + label i::before{
  color: #050a35 !important; /* ta couleur */
}

/* Radio : couleur du point central (skin Divi classique) */
.et_pb_contact input[type="radio"]:checked + label i::after,
.et_pb_module--contact-form input[type="radio"]:checked + label i::after{
  background-color: #050a35 !important;
}

/* Fallback radio si le point est rendu au box-shadow */
.et_pb_contact input[type="radio"]:checked + label i,
.et_pb_module--contact-form input[type="radio"]:checked + label i{
  box-shadow: inset 0 0 0 6px #050a35 !important;
}
/***End Custom Forms***/

/***Hide Footer language***/
/* 1) Cache tous les footers multilingues par défaut (sections Divi) */
.et_pb_section[id^="footer-"] { 
  display: none !important;
}

/* 2) Affiche UNIQUEMENT le footer correspondant à la langue (ID + classe) */
html[lang^="fr"] .et_pb_section#footer-fr.footer--fr { 
  display: block !important; 
}
html[lang^="en"] .et_pb_section#footer-en.footer--en { 
  display: block !important; 
}
html[lang^="de"] .et_pb_section#footer-de.footer--de { 
  display: block !important; 
}
html[lang^="es"] .et_pb_section#footer-es.footer--es { 
  display: block !important; 
}
html[lang^="it"] .et_pb_section#footer-it.footer--it { 
  display: block !important; 
}
html[lang^="pt"] .et_pb_section#footer-pt.footer--pt { 
  display: block !important; 
}

/* 3) Ceinture et bretelles si Divi force display:flex sur la section */
#footer-fr.et_pb_section,
#footer-en.et_pb_section,
#footer-de.et_pb_section,
#footer-es.et_pb_section,
#footer-it.et_pb_section,
#footer-pt.et_pb_section {
  display: block !important;
}

/***Hide Contact menu language***/
/* Reset propre pour le bouton dynamique */
a.et_pb_button.cta-dynamic {
  font-size: inherit !important;
  text-indent: 0 !important;
  color: inherit !important;
}
a.et_pb_button.cta-dynamic::before,
a.et_pb_button.cta-dynamic::after {
  content: normal !important; 
}