/*//////////////////////////////////////////////////////////////////////////////////////////////////
// 00 - NAVIGATION / MENU DROPDOWN
//////////////////////////////////////////////////////////////////////////////////////////////////*/

/* Priorité d'affichage du menu dropdown */
li.has-children * {
  z-index: 9999 !important;
}

/* Menu mobile pleine largeur */
body:not(.pp-visualbuilder) .pp-slideover > .pp-block {
  width: 100vw !important;
}

/* Espace au-dessus des titres du menu mobile */
.pp-menu-item.has-children {
  padding-top: 13px;
}

.pp-menu-item--depth1.pp-menu-item {
  padding-top: 14px;
}


/*//////////////////////////////////////////////////////////////////////////////////////////////////
// 01 - MY STICKY BAR
//////////////////////////////////////////////////////////////////////////////////////////////////*/

/* Couleur du texte */
.mysticky-welcomebar-static_text {
  color: #fff;
}

/* Fond de la barre */
.mysticky-welcomebar-fixed-wrap {
  background-color: #2F2F2F;
}

/* Hauteur de la barre */
.mysticky-welcomebar-fixed {
  height: 30px !important;
  line-height: 30px;
}

/* Hauteur normale du texte */
.mysticky-welcomebar-fixed .mysticky-welcomebar-content p {
  line-height: normal;
}


/*//////////////////////////////////////////////////////////////////////////////////////////////////
// 02 - CONTACT FORM 7
//////////////////////////////////////////////////////////////////////////////////////////////////*/

/* Conteneur du formulaire */
#formulaire-responsive {
  margin: 0 auto;
  width: 100%;
}

/* Titre du formulaire */
#formulaire-responsive h2 {
  padding: 15px 0 10px 0;
  position: relative;
}

/* Contour au focus */
input:focus,
textarea:focus {
  outline: 1px solid #9d9d9d;
}

/* Texte des cases à cocher / boutons radio */
.wpcf7-list-item-label {
  font-size: 14px !important;
}


/*----- ACCEPTANCE -----*/

.wpcf7-form-control-wrap.acceptance-666,
.wpcf7-form-control.wpcf7-radio {
  margin: 0 0 0 -14px;
}


/*----- CHAMPS COMMUNS -----*/

.left-third-contact,
.middle-third-contact,
.right-third-contact,
.full-width-contact,
.left-half-contact,
.right-half-contact,
.message-contact {
  background-color: #f4f4f4;
  border: 0;
  color: #111111;
  font-size: 15px;
  padding: 10px;
  outline: none;
  margin: 0 0 10px 0;
  font-display: swap;
}

/* Liste déroulante pleine largeur */
.wpcf7-form-control.wpcf7-select.full-width-contact {
  width: 100% !important;
  margin: 0 0 10px 0;
  background-color: #f4f4f4;
  border: 0;
  color: #111111;
  font-size: 15px;
  padding: 10px;
  outline: none;
  font-display: swap;
}


/*----- CHAMPS DÉTAILLÉS -----*/

/* Espace entre les éléments */
.contact-form-spacer {
  height: 20px;
}

/* Supprime l'apparence native du select */
.wpcf7-form-control.wpcf7-select {
  -webkit-appearance: none;
}

/* Champ pleine largeur */
.full-width-contact {
  width: 100% !important;
  margin: 0 0 10px 0;
}

/* Champs sur deux colonnes */
.left-half-contact {
  width: calc(50% - 4px);
  margin: 0 4px 10px 0;
}

.right-half-contact {
  width: calc(50% - 4px);
  margin: 0 0 10px 4px;
}

/* Champs sur trois colonnes */
.left-third-contact {
  width: calc(33.33% - 5px);
  margin: 0 7px 10px 0;
}

.middle-third-contact {
  width: calc(33.33% - 5px);
  margin: 0 7px 10px 0;
}

.right-third-contact {
  width: calc(33.33% - 5px);
  margin: 0 0 10px 0;
}

/* Zone de message */
.message-contact {
  width: 100% !important;
  max-width: 100%;
  height: 140px;
  min-height: 130px;
  max-height: 240px;
}


/*----- BOUTONS -----*/

.button,
#searchsubmit,
input[type="submit"] {
  background: #555;
  width: 240px;
  height: 37px;
  color: #fff;
  font-variant: all-petite-caps;
  font-size: 15px;
  border: 0 solid #555;
  margin: 0;
  border-radius: 0;
  padding: 0 0 3px 0;
  font-display: swap;
}


/*----- POSITIONNEMENT -----*/

#formulaire-responsive b,
#formulaire-responsive a {
  font-size: 14px;
}

.form-pos-center {
  margin: 40px auto 0 auto;
  text-align: center;
  width: 240px;
}


/*----- ERREURS -----*/

span.wpcf7-not-valid-tip {
  color: #f00;
  display: none;
  font-size: 1em;
}

div.wpcf7-validation-errors {
  border: 2px solid #f00;
}

/* Bouton PayPal */
.wpcf7-form-control.wpcf7-submit-paypal {
  background: #0070BA;
}

/* Champs invalides */
.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required.wpcf7-not-valid,
.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required.wpcf7-not-valid,
.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required.wpcf7-not-valid {
  background-color: rgba(255, 0, 0, 0.02);
  border: 1px solid #f00;
}

/* Message envoyé */
div.wpcf7-mail-sent-ok {
  background-color: #e5f2e0;
  border: 1px solid #398f14;
  margin-top: 30px;
  padding: 8px;
  text-align: center;
}


/*//////////////////////////////////////////////////////////////////////////////////////////////////
// 03 - BREADCRUMB (YOAST)
//////////////////////////////////////////////////////////////////////////////////////////////////*/

#breadcrumbs,
#breadcrumbs * {

}


/*//////////////////////////////////////////////////////////////////////////////////////////////////
// 04 - ACCORDÉON - SP EASY ACCORDION
//////////////////////////////////////////////////////////////////////////////////////////////////*/


/*----- ÉTAT FERMÉ -----*/

/* Fond gris + texte normal */
.collapsed {
  background-color: #eee;
  font-weight: normal !important;
}

/* Ombre des cartes */
.sp-easy-accordion .sp-ea-single {
  box-shadow: 0 1px 4px rgba(123, 123, 123, 0.35);
}


/*----- HEADER / QUESTION -----*/

/* Taille du texte sur mobile */
@media (max-width: 768px) {
  .sp-ea-one.sp-easy-accordion .sp-ea-single .ea-header a {
    font-size: 13px !important;
    line-height: 1.35;
  }
}

/* Style du header */
.sp-ea-one.sp-easy-accordion .sp-ea-single .ea-header a {
  padding: 12px 5px 10px 16px;
  color: #444;
  background-color: #F2EFEB;
  font-size: 16px !important;
  text-transform: none !important;
  text-decoration: none;
}

/* Supprime les bordures */
.sp-easy-accordion .sp-ea-single {
  border: none !important;
}

/* Évite le changement de hauteur au survol */
.sp-ea-one.sp-easy-accordion .sp-ea-single .ea-header a:hover {
  line-height: 1.35 !important;
}


/*----- ICÔNE + / - -----*/

/* Supprime l'icône native du plugin */
.sp-easy-accordion .ea-expand-icon::before {
  content: "" !important;
}

/* Taille et position de l'icône */
.sp-easy-accordion .ea-expand-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* État fermé = flèche */
.sp-easy-accordion .eap-icon-ea-expand-plus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23686865' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* État ouvert = chevron */
.sp-easy-accordion .eap-icon-ea-expand-minus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23686865' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Le lien sert de référence pour l'icône */
.sp-ea-one.sp-easy-accordion .sp-ea-single .ea-header a {
  position: relative !important;
  padding-right: 40px !important;
}

/* Positionne l'icône à droite et au centre */
.sp-ea-one.sp-easy-accordion .sp-ea-single .ea-header a .ea-expand-icon {
  position: absolute !important;
  right: 12px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  float: none !important;
}


/*----- ÉTAT OUVERT -----*/

/* Fond beige */
.sp-ea-one .ea-card.ea-expand .ea-header a {
  background-color: #ece6dd;
}

/* Ombre + coins arrondis */
.sp-ea-one .ea-card.ea-expand {
  box-shadow: 0 3px 8px rgba(0, 0, 0, .1);
  border-radius: 10px;
}


/*----- CONTENU -----*/

/* Espacement des paragraphes */
.sp-easy-accordion .ea-body p {
  margin: 0 0 1em 0 !important;
  line-height: 1.6;
}

/* Supprime l'espace après le dernier paragraphe */
.sp-easy-accordion .ea-body p:last-child {
  margin-bottom: 0 !important;
}

/* Texte légèrement réduit */
.sp-easy-accordion .ea-body {
  font-size: calc(100% - 1px);
}


/*----- CARTES -----*/

/* Coins arrondis communs */
.sp-easy-accordion .sp-ea-single {
  border-radius: 10px;
  overflow: hidden;
}


/*----- TYPOGRAPHIE -----*/

/* Texte non gras */
.sp-easy-accordion .ea-header,
.sp-easy-accordion .ea-header a {
  font-weight: 400 !important;
}


/*----- HOVER -----*/

/* Transition du fond */
.sp-easy-accordion .ea-header a {
  transition: background-color 0.2s ease;
}

/* Même couleur qu'un item ouvert */
.sp-ea-one.sp-easy-accordion
.sp-ea-single
.ea-header a:hover {
  background-color: #EFEBE6;
}


/*----- ANTI-DÉCALAGE -----*/

/* Même dimensions dans tous les états */
.sp-ea-one.sp-easy-accordion .sp-ea-single .ea-header a,
.sp-ea-one.sp-easy-accordion .sp-ea-single .ea-header a:hover,
.sp-ea-one.sp-easy-accordion .sp-ea-single .ea-header a:focus,
.sp-ea-one.sp-easy-accordion .ea-card.ea-expand .ea-header a {
  box-sizing: border-box !important;
  border: 0 !important;
  outline: 0 !important;
  padding: 12px 40px 10px 16px !important;
  line-height: 1.35 !important;
  display: block !important;
}


/*----- LISTES -----*/

/* Reset des marges et paddings */
.sp-easy-accordion .ea-body ul,
.sp-easy-accordion .ea-body li {
  margin: 0 !important;
  padding: 0 !important;
}

/* Liste sans padding par défaut */
.sp-easy-accordion .ea-body ul {
  padding-left: 0 !important;
}

/* Padding du contenu sans liste */
.sp-easy-accordion .ea-body:not(:has(ul)) {
  padding: 24px 28px !important;
}

/* Padding du contenu avec liste */
.sp-easy-accordion .ea-body:has(ul) {
  padding: 20px 12px !important;
}

/* Style des éléments de liste */
.sp-easy-accordion .ea-body li {
  list-style: none;
  position: relative;
  padding-left: 22px !important;
  margin-bottom: 14px !important;
}

/* Supprime l'espace après le dernier élément */
.sp-easy-accordion .ea-body li:last-child {
  margin-bottom: 0 !important;
}

/* Flèche personnalisée */
.sp-easy-accordion .ea-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  background-image: url("/wp-content/uploads/svg/arrow_right.svg");
  background-size: contain;
  background-repeat: no-repeat;
}