/* Ajustement de la taille de la police des témoignages */
.wpmtst-testimonial-content, 
.wpmtst-testimonial-content p {
    font-size: 12px !important; /* Ajustez la taille selon vos besoins */
    line-height: 1.5 !important; /* Améliore la lisibilité */
}

/* Ajustement du nom de l'auteur des témoignages */
.wpmtst-testimonial-field.testimonial-name {
    font-size: 12px !important; /* Plus petit pour les noms si souhaité */
    font-weight: bold; /* Mettez en gras si vous voulez le nom en valeur */
}


/* Masquer tous les prix WooCommerce (catalogue missions) */
.woocommerce-Price-amount,
.woocommerce-price,
.price {
    display: none !important;
}

/* Masquer les boutons Ajouter au panier WooCommerce */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .add_to_cart_button {
    display: none !important;
}
/* Masquer TOUTES les zones "panier" / "acheter" WooCommerce */
.woocommerce form.cart,
.woocommerce div.product form.cart,
.woocommerce .single_add_to_cart_button,
.woocommerce .add_to_cart_button,
.woocommerce a.add_to_cart_button,
.woocommerce a.button.product_type_simple,
.woocommerce a.button.product_type_variable,
.woocommerce a.button.product_type_external,
.woocommerce .wp-block-button__link.add_to_cart_button,
.wp-block-button__link.add_to_cart_button,
.add_to_cart_button,
.single_add_to_cart_button,
.product_type_simple,
.product_type_variable {
  display: none !important;
}

/* Masquer aussi les zones mini-panier si le thème en injecte */
.woocommerce-mini-cart,
.widget_shopping_cart,
.widget_shopping_cart_content,
.cart-contents,
.site-header-cart,
.woocommerce-cart-link {
  display: none !important;
}

/* ================================
   Strong Testimonials — Vue ID1002
   Signature : Prénom – Catégorie – Période
   Alignée à gauche, sans tiret final
   ================================ */

/* 1) Style commun : catégorie + période (et leurs liens) */
.cp-view-1002 .wpmtst-testimonial-field,
.cp-view-1002 .wpmtst-testimonial-field a,
.cp-view-1002 .wpmtst-custom-field,
.cp-view-1002 .wpmtst-custom-field a {
  font-weight: 700;
  font-size: 0.82em;
  color: #111;
  line-height: 1.2;
}

/* 2) Nettoyer les marges automatiques (souvent injectées par le thème) */
.cp-view-1002 .wpmtst-testimonial-field,
.cp-view-1002 .wpmtst-custom-field,
.cp-view-1002 p.wpmtst-testimonial-field,
.cp-view-1002 p.wpmtst-custom-field {
  margin: 0 !important;
  padding: 0 !important;
}

/* 3) Conteneur de signature : une seule ligne, alignée à gauche */
.cp-view-1002 .wpmtst-client {
  text-align: left;
  white-space: nowrap;
  margin: 0;
  padding: 0;
}

/* 4) Mettre tous les éléments de la signature en inline (prénom + champs) */
.cp-view-1002 .wpmtst-client > * {
  display: inline;
  margin: 0;
  padding: 0;
}

/* 5) Ajouter " – " avant chaque élément sauf le premier (donc jamais de tiret final) */
.cp-view-1002 .wpmtst-client > * + *::before {
  content: " – ";
}

/* 6) Empêcher qu’un sous-élément prenne une taille différente */
.cp-view-1002 .wpmtst-client * {
  font-size: inherit;
}

/* ================================
   Strong Testimonials — Vue 1 (diaporama)
   Signature : Prénom – Catégorie – Période
   ================================ */

/* Style commun des champs */
.cp-view-1 .wpmtst-testimonial-field,
.cp-view-1 .wpmtst-testimonial-field a,
.cp-view-1 .wpmtst-custom-field,
.cp-view-1 .wpmtst-custom-field a {
  font-weight: 700;
  font-size: 0.82em;
  color: #111;
  line-height: 1.2;
}

/* Nettoyer marges/paddings automatiques */
.cp-view-1 .wpmtst-testimonial-field,
.cp-view-1 .wpmtst-custom-field,
.cp-view-1 p.wpmtst-testimonial-field,
.cp-view-1 p.wpmtst-custom-field {
  margin: 0 !important;
  padding: 0 !important;
}

/* Signature sur une ligne */
.cp-view-1 .wpmtst-client {
  text-align: left;
  white-space: nowrap;
  margin: 0;
  padding: 0;
}

/* Forcer les éléments en inline */
.cp-view-1 .wpmtst-client > * {
  display: inline;
  margin: 0;
  padding: 0;
}

/* Séparateurs : jamais de tiret final */
.cp-view-1 .wpmtst-client > * + *::before {
  content: " – ";
}

/* Uniformiser la taille dans la signature */
.cp-view-1 .wpmtst-client * {
  font-size: inherit;
}

/* Couleur et style des titres – Cybelle Planète */

h1, h2, h3, h4, h5, h6 {
  color: #1f3a3a;          /* vert profond chaleureux */
  font-family: "Libre Baskerville", serif;
  font-weight: 600;
}

/* Variante plus douce pour les sous-titres */
h3, h4 {
  color: #7b4a2e;          /* brun chaud / terre */
}

/* Titres dans les blocs Gutenberg */
.wp-block-heading {
  color: #1f3a3a;
}
/* Couleur par défaut des titres (site) */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: #1f3a3a; /* ta couleur globale */
}

/* Si Gutenberg a défini une couleur (ex: blanc), on la respecte */
.entry-content .has-text-color h1,
.entry-content .has-text-color h2,
.entry-content .has-text-color h3,
.entry-content .has-text-color h4,
.entry-content .has-text-color h5,
.entry-content .has-text-color h6,
.entry-content h1.has-text-color,
.entry-content h2.has-text-color,
.entry-content h3.has-text-color,
.entry-content h4.has-text-color,
.entry-content h5.has-text-color,
.entry-content h6.has-text-color {
  color: inherit !important;
}

/* Cas fréquent : titres dans un bloc Cover (image/bannière) */
.wp-block-cover .wp-block-heading,
.wp-block-cover h1,
.wp-block-cover h2,
.wp-block-cover h3 {
  color: inherit !important;
}


/* Respecter les couleurs définies dans Gutenberg */
.entry-content h1[class*="has-"],
.entry-content h2[class*="has-"],
.entry-content h3[class*="has-"],
.entry-content h4[class*="has-"] {
  color: inherit;
}



/* Pas de vignettes */
.single-product .flex-control-thumbs {
  display: none;
}

/* Pas de lightbox */
.single-product .woocommerce-product-gallery__image a {
  pointer-events: none;
  cursor: default;
}

/* =========================================================
   PAGE MISSION INTERNATIONALE — CSS PROPRE
   - 1 seul système: diaporama Swiper + layout mission
   - diaporama = largeur de page (pas plein écran)
   ========================================================= */

/* ---- Layout global (texte) ---- */
.mission-layout{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.mission-title{
  margin: 48px 0 12px;
  line-height: 1.05;
}

.mission-short{
  margin: 0 0 24px;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 850px;
}

.mission-long{
  margin-top: 12px;
  line-height: 1.7;
}

/* ---- Diaporama Swiper (LARGEUR DE PAGE) ---- */
/* Ajuste cette valeur si tu veux plus ou moins large que le texte */
.mission-slider{
  max-width: 1100px;     /* largeur de page */
  width: 100%;
  margin: 22px auto 34px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0;      /* optionnel */
}

/* Images du slider */
.mission-slider img{
  width: 100%;
  height: 100%;
  object-fit: contain;   /* IMPORTANT: affiche l'image entière */
}

/* Flèches Swiper */
.mission-slider .swiper-button-prev,
.mission-slider .swiper-button-next{
  color: #fff;
  width: 52px;
  height: 52px;
  opacity: 0.95;
}

.mission-slider .swiper-button-prev::after,
.mission-slider .swiper-button-next::after{
  font-size: 30px;
  text-shadow: 0 0 10px rgba(0,0,0,0.55);
}

/* ---- Bloc téléchargement (PDF) ---- */
.mission-download-title{
  margin: 34px 0 16px;
}

.mission-downloads{
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 0 0 26px;
}

.mission-downloads a.mission-pdf{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  background: #0b4c5f;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Mobile : un bouton par ligne */
@media (max-width: 720px){
  .mission-downloads{
    grid-template-columns: 1fr;
  }
}

/* ---- Bouton Candidater ---- */
.single-product a.mission-cta{
  display: inline-block;
  margin: 24px 0 32px;
  padding: 16px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  background-color: #0b4c5f;
  color: #ffffff;
}

.single-product a.mission-cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

/* Fix lists in WooCommerce product content (missions) */

.single-product .mission-long ul,
.single-product .mission-long ol,
.single-product .woocommerce-product-details__short-description ul,
.single-product .woocommerce-product-details__short-description ol,
.single-product .woocommerce-Tabs-panel ul,
.single-product .woocommerce-Tabs-panel ol{
  list-style-position: outside !important;
  padding-left: 1.25em !important;
  margin-left: 0 !important;
}

.single-product .mission-long ul li,
.single-product .mission-long ol li,
.single-product .woocommerce-product-details__short-description ul li,
.single-product .woocommerce-product-details__short-description ol li,
.single-product .woocommerce-Tabs-panel ul li,
.single-product .woocommerce-Tabs-panel ol li{
  display: list-item !important;
  list-style-type: inherit !important;
  align-items: initial !important;
  justify-content: initial !important;
  gap: 0 !important;
}

.single-product .mission-long ul{ list-style-type: disc !important; }
.single-product .mission-long ol{ list-style-type: decimal !important; }

.single-product .mission-long li strong,
.single-product .woocommerce-product-details__short-description li strong,
.single-product .woocommerce-Tabs-panel li strong{
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: normal !important;
}

.single-product .mission-long li,
.single-product .woocommerce-product-details__short-description li,
.single-product .woocommerce-Tabs-panel li{
  letter-spacing: normal !important;
  word-spacing: normal !important;
}




/* Espace propre entre les items */
.entry-content li,
.woocommerce-product-details__short-description li,
.woocommerce-Tabs-panel li,
.woocommerce-product-details__long-description li {
  margin: 0.35em 0;
}

/* =========================================================
   LISTE "CONDITIONS" : rendu 1 colonne propre (pas de colonnes)
   ========================================================= */

.single-product .mission-long ul.mission-conditions{
  list-style: disc !important;
  padding-left: 1.2em !important;
  margin: 0.6em 0 1em !important;
}

/* on annule le flex + puce custom juste pour cette liste */
.single-product .mission-long ul.mission-conditions > li{
  display: list-item !important;
  padding-left: 0 !important;
  margin: 0.35em 0 !important;
}

.single-product .mission-long ul.mission-conditions > li::before{
  content: none !important;
}


/* =========================================================
   OPTION "PLEIN ECRAN" (désactivée)
   Si tu veux un jour remettre le plein écran, dé-commente :
   ========================================================= */
/*
.mission-slider{
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.mission-slider img{
  object-fit: cover;
}
*/

/* =========================================
   FIX : le menu sticky doit rester au-dessus
   (Neve / HFG)
   ========================================= */

header.header.element-is-sticky{
  z-index: 999999 !important; /* au-dessus des sliders/FAQ */
}

/* Le conteneur du header (évite des conflits) */
#header-grid{
  position: relative;
  z-index: 999998 !important;
}