/*
Theme Name: Divi Community Child Theme
Description: Theme enfant de Divi par Divi Community
Author: Julien - WebMate
Author URI: https://www.divi-community.fr
Template: Divi
Version: 1.1
*/

/*
  ____ _____     _____      ____ ___  __  __ __  __ _   _ _   _ ___ _______   __
 |  _ \_ _\ \   / /_ _|    / ___/ _ \|  \/  |  \/  | | | | \ | |_ _|_   _\ \ / /
 | | | | | \ \ / / | |    | |  | | | | |\/| | |\/| | | | |  \| || |  | |  \ V /
 | |_| | |  \ V /  | |    | |__| |_| | |  | | |  | | |_| | |\  || |  | |   | |
 |____/___|  \_/  |___|    \____\___/|_|  |_|_|  |_|\___/|_| \_|___| |_|   |_|

*/


/* 
** CENTRER DU CONTENU VERTICALEMENT 
** Voir tuto : https://www.divi-community.fr/snippets-divi/centrer-du-contenu-verticalement
*/

.dc-centrer-verticalement {
	display: flex;
	flex-direction: column;
	justify-content: center;
  	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	 -moz-box-orient: vertical;
	 -moz-box-direction: normal;
	  -ms-flex-direction: column;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-moz-box-pack: center;
	-ms-flex-pack: center;
}


/*
** INVERSER LE SENS DES COLONNES SUR MOBILE
** Voir tuto : https://www.divi-community.fr/snippets-divi/inverser-ordre-des-colonnes-sur-mobile
*/

@media only screen and (max-width : 980px) {
	.dc-inverser-colonnes--section .dc-inverser-colonnes--ligne {
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-webkit-flex-direction: column-reverse;
		-ms-flex-direction: column-reverse;
		flex-direction: column-reverse;
	}
}


/*
** MENU MOBILE : en pleine largeur et le hamburger devient une croix pour fermer
*/

.et_mobile_menu {
	margin-left: -30px;
	padding: 5%;
	width: calc( 100% + 60px);
}

.mobile_nav.opened .mobile_menu_bar:before {
	content: "\4d";
}


/* 
** AUGMENTER LA LARGEUR CHAMP RÉSULTAT CAPTCHA 
** Parfois, suivant la taille du texte, certains chiffres du résultat sont masqués
*/
.et_pb_contact_right p input {
	max-width: 50px;
}


/*
** METTRE EXPOSANTS ET INDICES À LA BONNE TAILLE
** Généralement, ils sont bien trop gros…
*/
sup, sub {
    font-size: 70%;
}


/* === EN-TÊTE ET PIED DE PAGE === */
#main-header {
  display: none !important;
}

#page-container {
  padding-top: 0 !important;
}

#main-footer,
#footer-bottom,
#et-footer-nav {
  background-color: #e9cfa1 !important;
  border: none !important;
  box-shadow: none !important;
}

#main-footer {
  padding: 20px 0 !important;
  min-height: 60px !important;
}

#footer-widgets {
  display: none !important;
}

/* === FORMULAIRE CONTACT FORM 7 === */
.wpcf7 form {
  max-width: 800px;
  margin: 0 auto;
  background: #f8f5f0;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  font-family: 'Helvetica Neue', sans-serif;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-group {
  flex: 1 1 calc(50% - 10px);
  display: flex;
  flex-direction: column;
}

.form-group.full {
  flex: 1 1 100%;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  transition: border 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #a59f94;
  outline: none;
}

@media (max-width: 768px) {
  .form-group {
    flex: 1 1 100%;
  }
}

/* RGPD */
.rgpd-complet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #333;
}

.rgpd-complet input[type="checkbox"] {
  transform: scale(1.1);
  margin: 0;
  cursor: pointer;
}

/* Messages */
.wpcf7-response-output {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  background-color: #f0f0ed;
  border: 1px solid #ddd;
  color: #444;
  font-size: 14px;
}

/* Bouton envoyer stylisé avec icône */
.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #c8a56a !important;
  color: #fff !important;
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Helvetica Neue', sans-serif;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transform: scale(1);
  visibility: visible;
  opacity: 1;
}

.wpcf7-submit::before {
  content: "✉️";
  margin-right: 6px;
  transform: translateY(1px);
}

.wpcf7-submit:hover {
  background-color: #b28d55;
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* === GOOGLE MAP === */
.google-map-section {
  text-align: center;
  max-width: 900px;
  margin: 60px auto 40px auto;
}

.google-map-section .map-heading {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1d1d1d;
}

.google-map {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.map-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #c8a56a;
  color: #fff;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 16px;
  font-family: 'Helvetica Neue', sans-serif;
  text-decoration: none;
  text-align: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

/* Bloc contact simplifié */
.bloc-contact {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  font-family: 'Helvetica Neue', sans-serif;
  color: #1d1d1d;
}

.titre-contact {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.numero-contact {
  font-size: 26px;
  font-weight: bold;
  color: #805700;
  margin: 20px 0;
  text-align: center;
}
/* ===== ANIMATION FLUIDE ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE FORMULAIRE ET BLOC CONTACT ===== */
.bloc-contact, .formulaire-contact, .bloc-horaires {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

@media (max-width: 768px) {
  .wpcf7 form {
    padding: 20px;
  }

  .form-grid {
    flex-direction: column;
  }

  .numero-contact {
    font-size: 22px;
  }

  .liste-horaires {
    text-align: left;
    margin: 0 auto;
    display: inline-block;
    list-style-position: inside;
  }

  .google-map-section {
    padding: 10px;
  }

  .map-button {
    width: 100%;
    font-size: 14px;
  }
}
.rgpd .wpcf7-form-control-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rgpd .wpcf7-list-item {
  margin: 0;
}

.rgpd .wpcf7-list-item-label {
  font-size: 14px;
  color: #333;
}

.rgpd input[type="checkbox"] {
  transform: scale(1.2);
  margin: 0;
  cursor: pointer;
}

.rgpd {
  margin-top: 10px;
}
.rgpd-complet {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 14px;
  color: #333;
  gap: 10px;
}

.rgpd-complet input[type="checkbox"] {
  transform: scale(1.1);
  margin: 0;
  cursor: pointer;
}
.wpcf7-response-output.wpcf7-mail-sent-ok {
  border: 1px solid #c8a56a !important;
  background-color: #fdfaf5 !important;
  color: #5b4b2b !important;
  border-radius: 8px;
  padding: 15px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}
.wpcf7-response-output {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  background-color: #f8f5f0;
  border: 1px solid #b28d55; /* couleur dorée plus douce */
  color: #4a3b27; /* texte plus foncé */
  font-size: 14px;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #b28d55!important;
}
.recaptcha-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Style du label du champ de fichier */
label[for="upload-file"] {
  font-size: 0.8rem; /* réduit la taille */
  font-family: 'Inter', sans-serif;
  color: #333;
}
/* Applique la police Inter au label du champ fichier */
.form-group.full label {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.9rem !important;
  color: #333;
}
