/* ===== Blog & Conseils – habillage des cartes (ajouté par Claude) ===== */
.blog .ast-article-post,
.archive .ast-article-post{ display:flex !important; margin-bottom:34px !important; }

.blog .ast-article-inner,
.archive .ast-article-inner{
  width:100% !important;
  display:flex !important;
  flex-direction:column !important;
  background:#ffffff !important;
  border:1px solid #e9edf3 !important;
  border-top:5px solid #1f3b63 !important;
  border-radius:16px !important;
  padding:26px 26px 28px !important;
  box-shadow:0 6px 18px rgba(31,59,99,.06) !important;
  transition:transform .25s ease, box-shadow .25s ease !important;
}
.blog .ast-article-inner:hover,
.archive .ast-article-inner:hover{
  transform:translateY(-8px) !important;
  box-shadow:0 18px 38px rgba(31,59,99,.16) !important;
}

/* badge catégorie */
.blog .cat-links,
.archive .cat-links{
  display:inline-block !important;
  align-self:flex-start !important;
  background:#1f3b63 !important;
  color:#fff !important;
  font-size:11.5px !important;
  font-weight:700 !important;
  letter-spacing:.05em !important;
  text-transform:uppercase !important;
  padding:5px 13px !important;
  border-radius:999px !important;
  margin:0 0 15px !important;
  line-height:1.35 !important;
}
.blog .cat-links a,
.archive .cat-links a{ color:#fff !important; text-decoration:none !important; }

/* titre */
.blog .entry-title,
.archive .entry-title{ font-size:21px !important; line-height:1.32 !important; margin:0 0 12px !important; text-transform:none !important; }
.blog .entry-title a,
.archive .entry-title a{ color:#16273f !important; transition:color .2s !important; }
.blog .entry-title a:hover,
.archive .entry-title a:hover{ color:#c8732e !important; }
.blog .entry-title a::after,
.archive .entry-title a::after{
  content:" \2192"; display:inline-block; opacity:.45;
  transition:transform .2s, opacity .2s;
}
.blog .entry-title a:hover::after,
.archive .entry-title a:hover::after{ transform:translateX(5px); opacity:1; }

/* extrait */
.blog .ast-excerpt-container,
.archive .ast-excerpt-container{
  color:#56657c !important; font-size:14.5px !important; line-height:1.65 !important; flex-grow:1 !important;
}

/* méta redondante masquée (commentaire / auteur) */
.blog .ast-blog-meta-container,
.archive .ast-blog-meta-container{ display:none !important; }

/* couleurs d'accent par catégorie */
.blog .category-reconversion .ast-article-inner{ border-top-color:#2e8b8b !important; }
.blog .category-reconversion .cat-links{ background:#2e8b8b !important; }
.blog .category-intelligence-artificielle .ast-article-inner{ border-top-color:#6c5ce7 !important; }
.blog .category-intelligence-artificielle .cat-links{ background:#6c5ce7 !important; }
.blog .category-bilan-competences .ast-article-inner{ border-top-color:#1f3b63 !important; }
.blog .category-bilan-competences .cat-links{ background:#1f3b63 !important; }
.blog .category-formations-cpf .ast-article-inner{ border-top-color:#c8732e !important; }
.blog .category-formations-cpf .cat-links{ background:#c8732e !important; }
.blog .category-orientation-jeunes .ast-article-inner{ border-top-color:#c8a04e !important; }
.blog .category-orientation-jeunes .cat-links{ background:#c8a04e !important; }


/* ===== HEADER TRANSPARENT SUR FOND SOMBRE (ajout par Claude) ===== */

/* Rendre le header transparent et le superposer sur la section hero */
#masthead,
.site-header,
.ast-header-wrap {
	  position: absolute !important;
	  top: 0 !important;
	  left: 0 !important;
	  width: 100% !important;
	  z-index: 999 !important;
	  background: transparent !important;
	  background-color: transparent !important;
}

/* Premire range du header (rseaux sociaux + avis) */
.ast-above-header,
.ast-above-header-wrap {
	  background: transparent !important;
	  background-color: transparent !important;
}

/* Range principale du menu */
.ast-primary-header-bar,
.main-header-bar,
.ast-main-header-wrap {
	  background: transparent !important;
	  background-color: transparent !important;
}

/* Range secondaire */
.ast-below-header,
.ast-below-header-wrap {
	  background: transparent !important;
	  background-color: transparent !important;
}

/* Couleur du texte du menu en blanc */
.main-header-bar .main-header-menu .menu-item > a,
.main-header-bar .menu-item > a,
.ast-above-header .menu-item > a,
#masthead .menu-item > a,
.site-header .menu-item > a,
.header-main-layout-1 .main-header-menu .menu-item > a {
	  color: #ffffff !important;
	  text-shadow: 1px 1px 3px rgba(0,0,0,0.5) !important;
}

/* Couleur du texte au survol */
.main-header-bar .main-header-menu .menu-item > a:hover,
.main-header-bar .menu-item > a:hover,
#masthead .menu-item > a:hover,
.site-header .menu-item > a:hover {
	  color: #f0c040 !important;
}

/* Rseaux sociaux en blanc */
.ast-above-header .ast-social-icon-color svg,
.ast-above-header a {
	  color: #ffffff !important;
	  fill: #ffffff !important;
}

/* Bouton Vos Avis en blanc */
.ast-above-header .ast-builder-popup-actions a,
.ast-above-header a[href*="google"] {
	  color: #ffffff !important;
}

/* La section hero doit commencer depuis le haut de la page (compenser le header) */
.home .entry-content > .elementor,
.home .ast-container,
.home article {
	  padding-top: 0 !important;
	  margin-top: 0 !important;
}

/* Assurer que le contenu principal commence  0 pour que la section hero remplisse tout */
.home .entry-content {
	  margin-top: 0 !important;
	  padding-top: 0 !important;
}

/* Header avec fond sombre au scroll (effet sticky amlior) */
.ast-header-sticked #masthead,
.ast-scroll-to-top-visible #masthead,
.ast-primary-sticky-header-active #masthead {
	  background: rgba(10, 28, 60, 0.95) !important;
	  backdrop-filter: blur(8px) !important;
	  transition: background 0.3s ease !important;
}

/* Logo en blanc si c'est du texte */
.ast-site-identity .site-title a,
.ast-site-identity .site-title {
	  color: #ffffff !important;
}

/* Supprimer la bordure du bas du header */
#masthead,
.main-header-bar {
	  border-bottom: none !important;
	  box-shadow: none !important;
}

/* Corriger le bouton Vos Avis - supprimer fond blanc */
button.ast-builder-popup-actions,
.ast-builder-popup-actions,
.ast-above-header-popup-button,
[class*="popup-actions"],
button[href*="google"] {
	  background: transparent !important;
	  border: 1px solid rgba(255,255,255,0.6) !important;
	  color: #ffffff !important;
	  border-radius: 20px !important;
}

/* Bouton Vos Avis - style transparent */
.ast-header-button-1 .ast-custom-button-link,
.ast-header-button-1 a.ast-custom-button-link {
	  background: transparent !important;
	  background-color: transparent !important;
	  border-color: rgba(255,255,255,0.7) !important;
	  color: #ffffff !important;
}

/* Section hero - padding top pour laisser la place au header */
.home .elementor-section:first-child,
.home .e-con:first-child {
	  padding-top: 140px !important;
}

/* Page accueil - fond body couleur hero pour harmoniser */
.home body,
.home .site {
	  background-color: #0d1f3c !important;
}

/* Page accueil - entre du contenu aligne avec le haut */
.home .site-content,
.home #content {
	  padding-top: 0 !important;
	  margin-top: 0 !important;
}

/* Bouton Vos Avis - supprimer le fond blanc de l'element interne */
.ast-header-button-1 .ast-custom-button,
.site-header .ast-custom-button {
	  background: transparent !important;
	  background-color: transparent !important;
	  color: #ffffff !important;
	  border: 1px solid rgba(255,255,255,0.7) !important;
}

/* Correction padding hero - ajuster selon hauteur reelle du header */
.home .elementor-section:first-child,
.home .e-con:first-child {
	  padding-top: 100px !important;
}
}
.ast-header-break-point .ast-primary-header-bar{display:block !important;}


/* Fond du menu hors accueil — lisibilité des liens */
body:not(.home) .ast-above-header-bar,
body:not(.home) .ast-primary-header-bar{background:#0D1B2E !important;}


/* Menus déroulants en marine — cohérence avec l'en-tête */
.main-header-menu .sub-menu{background:#0D1B2E !important;}
.main-header-menu .sub-menu .menu-link{color:#fff !important;}
.main-header-menu .sub-menu .menu-link:hover{color:#E8A33D !important;background:rgba(255,255,255,0.06) !important;}

/* Menu mobile déroulant : fond marine lisible + affichage garanti */
.ast-header-break-point .ast-primary-header-bar{display:block !important;}
.ast-header-break-point .main-header-bar-navigation{background:#0D1B2E !important;}
.ast-header-break-point .main-header-bar-navigation .menu-link,
.ast-header-break-point .main-header-bar-navigation .menu-item > .ast-menu-toggle{color:#fff !important;}


/* En-tête dans le flux hors accueil — le contenu n'est plus recouvert */
body:not(.home) .site-header,
body:not(.home) #masthead{position:relative !important;top:auto !important;}
body:not(.home) .ast-theme-transparent-header .site-header{position:relative !important;}


/* Ouverture du menu mobile — conteneurs internes libérés */
.ast-header-break-point.ast-main-header-nav-open #ast-mobile-header .ast-mobile-header-content{display:block !important;width:100% !important;}
.ast-header-break-point #ast-mobile-header .main-header-bar-navigation.toggle-on{display:block !important;width:100% !important;}
.ast-header-break-point #ast-mobile-header .main-header-bar-navigation.toggle-on .main-navigation{display:block !important;width:100% !important;}
.ast-header-break-point #ast-mobile-header .main-header-bar-navigation.toggle-on .main-header-menu{display:block !important;width:100% !important;}
.ast-header-break-point #ast-mobile-header .main-header-bar-navigation.toggle-on .menu-item{display:block !important;width:100% !important;}
.ast-header-break-point #ast-mobile-header .main-header-bar-navigation.toggle-on .menu-link{display:block !important;width:100% !important;padding:13px 20px !important;color:#fff !important;border-bottom:1px solid rgba(255,255,255,0.12);}
/* Retrait du logo Qualiopi — demandé en audit le 04/09/2026 */
img[alt*="Qualiopi" i], img[src*="qualiopi" i] { display: none !important; }

img.wp-image-446 { display: none !important; }
