/*
Theme Name: TelroseHV
Author: HV
Description: Theme tel rose — synchronise via GitHub
Version: 1.2.3
GitHub Theme URI: seoisvitaminec-source/telrose_hv
Primary Branch: main
*/

@font-face {
  font-family: 'edu_tas_beginnerregular';
  src: url('fonts/edutasbeginner-variablefont_wght-webfont.woff2') format('woff2'),
       url('fonts/edutasbeginner-variablefont_wght-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}



/* ── Accordéons H2 (externalisé depuis inline) ── */
.hv-acc-h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin: 36px 0 12px;
}

.hv-acc-index {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #000;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hv-acc-content {
    display: none;
    margin-bottom: 36px;
}

.hv-acc-content.is-open {
    display: block;
}

@media (max-width: 768px) {
    .hv-acc-index {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
}

html, body {
  
  position:relative;
  width:100%;
  max-width: 100%;
  height:auto;
  margin:0;
  padding:0;
  
  overflow:auto;
  
  background:#eeeeee;
  color: #222222;
  text-align: center;
  font-family: 'arial';
  scroll-behavior: smooth;

}


a {
  
  color:inherit;

}


hr {

  position:relative;
  display: block;
  clear:both;
  width:100%;
  margin:10px 0;
  padding:0;
  height:0px;
  background:#cccccc;
  border:0;

}

.rond {

  border-radius: 50%;

}

.bouton .dashicons,
.bouton img,
.bouton svg {
  
  position:relative;
  display: inline-block;
  margin:0; 
  line-height: inherit !important;
  height: inherit !important;
  font-size: inherit !important;
  width:auto;
  overflow:hidden;

  -webkit-transition: width 250ms ease;
  -moz-transition: width 250ms ease;
  -o-transition: width 250ms ease;
  transition: width 250ms ease; 

}


.bouton_header,
.bouton_footer {

  position: fixed;
  display: inline-block;
  width: 1200px !important;
  max-width:90%;
  box-sizing: border-box;
  margin:auto;
  padding:10px;
  z-index: 90;
  left:calc(50% - 600px);

}

.bouton_header {

  top:10px;

}

.bouton_footer {

  bottom:10px;
  display: none;

}

.bouton_header a,
.bouton_footer a
{

  position: relative;
  display: block;
  width: 100%;
  padding:  10px !important;
  margin: 0 !important;
  line-height: 30px;
  max-height: 60px !important;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis !important;

  font-size: 24px;

  background-color: var(--couleur_1);
  color:var(--couleur_texte_1);
  border-radius: 10px;

  animation: skew-x-shaking 1s ease-in-out .1s infinite;


}

.bouton_header a::after,
.bouton_footer a::after { 
  
  position: absolute;
  display: block;
  content: '';
  bottom:0;
  left:0;
  width: 100%;
  height:10px;

  background-color: var(--couleur_1);
}


.bouton_footer a {

  background-color: var(--couleur_2);
  color:var(--couleur_texte_2);

  animation: skew-y-shaking 1s ease-in-out .1s infinite;


}

.tarif {

  position: relative;
  display: block;
  width: 100%;
  margin:0 auto;

  line-height: 20px !important;
  font-size: 12px !important;
}

header {

  position:fixed;
  top:0;
  left:0;
  display: block;
  width:1200px;
  padding:0 calc(50% - 600px);
  margin:0;
  height: 80px;
  overflow:visible;
  z-index:95;

  background-color: #000000;
  color:#ffffff;
  text-align: center;

}

#logo {

  position:relative;
  display:block;
  float:left;
  width:320px;
  max-width: calc(100% - 150px);
  height:80px;
  max-height:80px;
  overflow:visible;
  margin:0;
  padding:0;

  line-height:24px;
  font-size: 22px;
  text-align: left;
  text-decoration: none;
  font-weight: lighter;

  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'edu_tas_beginnerregular';

}


#logo img {

  position:relative;
  display: block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  margin:0;
  float: left;

}



/* MENU */

header menu {

  position: relative;
  display: block;
  width:auto;
  max-width:calc(100% - 340px);
  float:right; 
  height:80px;
  max-height:80px;
  padding:0;
  margin:0;
  list-style: none;

  text-align: left;

}


header menu li {

  position: relative;
  display: block;
  width:auto;
  float:left;
  max-height:80px;
  padding:0;
  margin:0 20px 0 0;

  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0px;
  font-weight: lighter;
  
}

header menu li a {

  position: relative;
  display: block;
  padding:0;

  line-height:80px;
  text-decoration: none;

}


header menu li a img,
header menu li a svg {

  position: relative;
  display: block;
  height:20px;
  width: auto;
  float:left;
  margin:0 10px 0 0;
  top:30px;

}


/* SOUS MENU */

header menu li ul {

  position: absolute;
  top:100%;
  width:330px;
  left:0;
  margin:0;
  padding:0;
  max-height: 0;
  overflow: hidden;

  background-color:rgba(0, 0, 0, 0.9);
  color:#ffffff;
  
  transition: all 500ms ease;

  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;

}

header menu li:last-child ul {

  right:0 !important;
  left:none !important;

}

header menu li:hover ul  {

  max-height: 666px;

}

header menu li ul li {

  width:100%;
  max-height:100px;
  margin:0;
  padding:10px 20px;
  box-sizing: border-box;

}

header menu li ul li a {

  line-height: 20px;

}

header menu li ul li a img,
header menu li ul li a svg {

  top:0px;

}

header menu li ul li:first-of-type {

  margin-top:15px !important;

}

header menu li ul li:last-of-type {

  margin-bottom:15px !important;

}




#menu_lateral {

  position:fixed;
  list-style: none;
  width:95%;
  height:100vh;
  padding:20px;
  box-sizing: border-box;
  margin:0;
  top:0;
  left:-100%;
  z-index: 99;
  overflow: auto;

  background-color: #000000;
  color:#ffffff;
  
  text-align: left;
  transition: all 500ms ease;

}

#menu_lateral li.fermer {

  margin:0 0 30px 0;
  cursor:pointer;
  font-style: italic;

}

#menu_lateral li {

  position: relative;
  display: block;
  margin:0 0 10px 0;
  padding:0;

  line-height: 20px;
  font-size:16px;

}

#menu_lateral li a {

  position: relative;
  display: block;
  text-decoration: none;

}

#menu_lateral li a img,
#menu_lateral li a svg  {

  position: relative;
  display: block;
  height:20px;
  width: auto;
  float:left;
  margin:0 10px 0 0;

}

#menu_lateral li ul {

  position: relative;
  display: block;
  width: 100%;
  list-style: none;
  padding:0 0 0 20px;
  box-sizing: border-box;
  margin:0;

}

#menu_lateral li ul li {

  position: relative;
  display: block;
  width: 100%;
  padding:2px 0;
  margin:0;
  box-sizing: border-box;
  
  line-height: 20px;
  font-size:14px;
  color:#555555;

}



/* BOUTONS HEADER  */

header .dashicons-search,
header .dashicons-no-alt,
header .dashicons-menu-alt3

{

  position:relative;
  display: flex;
  float:right;
  width:40px;
  height:40px;
  top:20px;
  margin:0;
  
  line-height: 40px;
  font-size:30px;

  border:1px solid #222222;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  cursor:pointer;
  
}


header .dashicons-search {

  display:none;

}

header .dashicons-menu-alt3 {

  margin:0 20px 0 0;

}


#cadre_recherche {

  position:fixed;
  top:80px;
  left:0;
  width:1200px;
  padding:20px calc(50% - 600px);
  height:40px;
  z-index:94;

  background-color: #111111;

  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;

  -webkit-box-shadow: 0px 0px 15px 0px #000000;
  box-shadow: 0px 0px 15px 0px #000000;

}

#cadre_recherche.reduit {

  top:0;

}

#cadre_recherche input {

  position: relative;
  display: inline-block;
  width:calc(100% - 74px);
  height:100%;
  padding:0 10px;
  margin:0 10px 0 0;
  line-height: 40px;
  
  border:1px solid #777777;
  background-color: transparent;
  outline: none;
  font-size: 20px;
  color:#ffffff;

}

#cadre_recherche .dashicons-search {

  position: relative;
  display: inline-block flex;
  width:40px;
  height:40px;
  line-height: 40px !important;

  background-color: var(--couleur_1);
  border:1px solid var(--couleur_1);
  color:#ffffff;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  
}




/* MAIN */

.corps {

  position:relative;
  display:inline-block;
  width:1200px;
  margin: 120px auto 30px auto;
  max-width: 90%;
  padding:0;
  overflow: hidden;

  text-align: left;
  
}


.corps img {

  position: relative;
  display: block;
  max-width: 100%;
  height:auto;

}


.titre_principal {

  position:relative;
  display: block;
  width:100%;
  margin:0 auto 50px auto;
  padding:0;
  clear: both;

  line-height: 1.3;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color:#000000;

}

.titre_principal:after {

  position:absolute;
  width:60px;
  bottom:-10px;
  left:0px;
  height:3px;
  background-color: var(--couleur_1);
  display: block;
  content: '';
  border-radius: 2px;

}

/* Dashicons supprimés des titres — accent couleur via ::before du :after existant */


.dashicons {

  line-height: inherit !important;

}


.accueil .texte,
.archive .texte {

  position:relative;
  max-width: 100%;
  padding:0;
  margin:0 0 20px 0;

  line-height: 20px;
  font-size: 14px;
  transition: all 500ms;

}

.texte p {

  padding:0;
  margin:0 0 20px 0;

}

.texte.reduit {
  max-height: 100px;
  overflow: hidden;
  position: relative;
}

.texte.reduit::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--couleur_fond, #ffffff));
  pointer-events: none;
}


.reduire {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 30px 0;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  background: none;
  color: var(--couleur_1);
  cursor: pointer;
  border: 1px solid var(--couleur_1);
  border-radius: 20px;
  transition: background 200ms, color 200ms;
}

.reduire:hover {
  background: var(--couleur_1);
  color: var(--couleur_texte_1);
}

.reduire p {
  position: relative;
  display: inline-block;
  line-height: 1;
  padding: 0;
  margin: 0;
}


/* LISTE ELEMENTS */


.liste {
  position: relative;
  max-width: 100%;
  margin: 30px auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 280px 280px 280px 280px;
  grid-column-gap: calc((100% - 1120px) / 3);
  text-align: center;
}

.liste li {

  position:relative;
  width:100%;
  max-width: 100%;
  margin:0 0 30px 0;
  padding:0;
  overflow: hidden;

}


.liste li .image {

  position:relative;
  display:block;
  overflow:hidden;
  width:100%;
  margin:0 0 15px 0;
  padding:0;

  background-color: #bbbbbb;
  box-sizing: border-box

}

.liste li .image:after{

  position:relative;
  padding: 133.33% 0% 0% 0% !important;
  width: 100%;
  height: 100%;
  margin: 0;
  display: block;
  content: '';

}


.liste li .image img {

  position:absolute;
  display:block;
  width:100%;
  top:0;
  left:0;
  
  transition: all 500ms ease;

}

.liste li .image .defaut {
  
  position:absolute;
  width:40px;
  height:40px;
  top:calc(50% - 20px);
  left:calc( 50% - 20px);
  
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  line-height:40px;
  font-size:30px;
  background-color: #111111;
  color: #ffffff;
  border-radius: 50%;
  overflow: hidden;

}

.liste li .image .masque {

  position:absolute;
  display:block;
  width:100%;
  height:100%;
  top:0;
  left:0;
  background-color:rgba(0, 0, 0, 0.5);
  opacity: 0;

}


.liste li .image .masque .dashicons {

  position:absolute;
  width:40px;
  height:40px;
  top:55%;
  left:calc( 50% - 20px);
  
  display: flex;
  align-items: center;
  justify-content: center;

  line-height:40px;
  font-size:30px;
  background-color: var(--couleur_2);
  color: #ffffff;
  border-radius: 50%;
  overflow: hidden;
  
  transition: all 500ms ease;
  
}


.liste li .image .statut {

  position: absolute;
  display: block;
  padding:2px 8px;
  top:8px;
  left:8px;
  z-index: 51;

  color:#ffffff;
  letter-spacing: 0.3px;
  border-radius: 12px;
  line-height: 14px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;

}

.liste li .image .statut .dashicons,
.liste li .image .statut .rond {

  position: relative;
  display: block;
  float:left;
  margin:0 5px 0 0;
  line-height: inherit;
  font-size: inherit;

}


.liste li .image .statut .rond {

  position: relative;
  margin-right: 6px;
  top:4px;
  width: 5px;
  height: 5px;
  background-color: #ffffff;

}


.liste li .image .statut .rond:before {

  display: inline-block;
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  border-radius: 50%;
  top: 0;
  left: 0;
  animation: sonar-effect 1s ease-in-out .1s infinite;

}


@keyframes sonar-effect {
  0% {
    opacity: 0.3;
  }
  40% {
    opacity: 0.5;
    box-shadow: 0 0 0 2px #fff, 0 0 5px 5px #fff, 0 0 0 5px #fff;
  }
  100% {
    box-shadow: 0 0 0 2px #fff, 0 0 5px 5px #fff, 0 0 0 5px #fff;
    transform: scale(1.5);
    opacity: 0;
  }
}


.liste li .image .statut.disponible {

  background: rgba(0, 200, 80, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 200, 80, 0.3);

}


.liste li .image .statut.en_ligne {

  background: rgba(255, 40, 40, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(255, 40, 40, 0.3);

}

.liste li .prenom {

  position: relative;
  display: block;
  width: 100%;
  height: auto;
  margin:0 0 10px 0;
  padding:0;

  line-height: 1.3;
  font-size: 20px;
  font-weight: 700;

}


.liste li p:first-of-type {

  position: relative;
  display: block;
  width: 100%;
  margin:0 auto 5px auto;
  padding:0;

  text-align: center;

}

.liste li p:first-of-type span {

  position: relative;
  display:block;
  padding: 0;
  margin:0 0 5px 0;

  line-height: 22px;
  font-size: 18px;
  padding:0;
  text-align: center;

}


.liste li p:first-of-type .bouton,
.liste li .bouton_2 a {

  position: relative;
  display: inline-block;
  width:100%;
  padding:5px 10px;
  box-sizing: border-box;
  margin:0;

  background-color: var(--couleur_1);
  color:var(--couleur_texte_1);
  text-align: center;
  line-height: 30px;
  font-size: 24px;
  text-decoration: none;
  border-radius: 25px;

}

.liste li .bouton_2 a {

  background-color: var(--couleur_2);
  color: var(--couleur_texte_2);

}



.liste li .titre {
  
  position: relative;
  display: block;
  width:100%;
  margin:0 auto 10px auto !important;
  padding:0;
  box-sizing: border-box;

  line-height:20px;
  font-size:16px;

}

.liste li .titre a {

  display: block;
  text-decoration: none;

}


.liste li .resume {

  position: relative;
  display: block;
  width:100%;
  margin:0 auto 10px auto;
  padding:0;

  line-height: 20px;
  font-size:14px;
  color:#555555;
 
}



ul.page-numbers {
  
  position: relative;
  display: block;
  width: 100%;
  display: block;
  margin:50px auto 70px auto;
  padding:0;
  list-style: none;
  text-align: center;

}

ul.page-numbers li {

  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin:5px;

  text-align: center;
  border:1px solid #111111;
  color:#000000;
  font-weight: bold;

}


ul.page-numbers li .current {

  position: relative;
  display: block;
  width: 100%;
  height: 100%;

  background-color: var(--couleur_2);
  font-weight: bold;
  color:#fff;

}


ul.page-numbers li a {

  display: block;
  text-decoration: none;

}

ul.page-numbers li:hover {
  
  border-color: var(--couleur_2) !important;
  
}

ul.page-numbers li:hover a{
  
  background-color: var(--couleur_2);
  color:#fff;
  
}
 


 
/* ARCHIVE */

.deux_colonnes {

  display: grid;
  width: 100%;
  grid-template-columns: 48% 48%;
  grid-column-gap: 4%;
  margin:auto;
  padding:0;
  list-style: none;

}

.deux_colonnes li {

  position: relative;
  display: block;
  padding:0;

}



/* SINGLE.PHP */

/* SINGLE.PHP 

.corps.article {

  padding:30px 50px;
  box-sizing: border-box;
  border-radius: 10px;

  line-height: 22px;
  font-size:14px;
  background-color: #ffffff;
  box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.25);


}

SINGLE.PHP */


.corps.article {

  width: 1100px;

  line-height: 25px;
  font-size: 15px;

}

.chemin {

  position: relative;
  display: block;
  width: 100%;
  margin:0 0 30px 0;
  padding:0;
  list-style: none;

}

.chemin li {

  position: relative;
  display: inline-block;
  width: auto;
  margin:0;
  padding:0;

  line-height: 20px;
  font-size:12px;
  color:#555555;

}


.article .bouton {

  position: relative;
  display: block;
  margin:40px auto 0 auto !important;
  padding:10px 20px;
  box-sizing: border-box;
  max-width: 100%;
  width: 600px;

  background-color: var(--couleur_1);
  color:var(--couleur_texte_1);
  text-align: center;
  line-height: 30px;
  font-size: 22px;
  text-decoration: none;
  border-radius: 25px;

  animation: skew-x-shaking 1s ease-in-out .1s infinite;

}

.article .tarif {

  margin: 0 auto 30px auto !important;

}

.premiere .tarif {

  display: none;

}

.article .deux_colonnes li .bouton {

  width: 100%;
  max-width: 100%;
  margin:30px auto;

}
.article .deux_colonnes li .bouton a {
  animation: skew-y-shaking 1s ease-in-out .1s infinite;
  background-color: var(--couleur_2) !important;
}

.article .deux_colonnes li:first-of-type .bouton {

  display: none;

}

@keyframes skew-x-shaking{
  0% { transform: skewX(-15deg); }
  5% { transform: skewX(15deg); }
  10% { transform: skewX(-15deg); }
  15% { transform: skewX(15deg); }
  20% { transform: skewX(0deg); }
  100% { transform: skewX(0deg); }
 }

@keyframes skew-y-shaking{
  
  0% { transform: skewY(-2deg); }
  5% { transform: skewY(2deg); }
  10% { transform: skewY(-2deg); }
  15% { transform: skewY(2deg); }
  20% { transform: skewY(0deg); }
  100% { transform: skewY(0deg); }

}

.article .deux_colonnes {

  grid-template-columns: 450px calc(100% - 490px);
  grid-column-gap: 40px;
  margin:0;

}


.article .image {

  position: relative;
  display: block;
  margin:0 auto;

}


.article .details {

  position: relative;
  display: block;
  width: 100%;
  list-style: none;
  padding:0 0 0 20px;
  box-sizing: border-box;
  margin: 0 auto 30px auto;

  line-height: 40px;
  font-size: 16px;

  border-width: 0 0 0 2px;
  border-color: var(--couleur_2);
  border-style: solid;
  color:#555555;

}


.article .details li {

  position: relative;
  display: block;
  width: 100%;

}

.article .details li .dashicons {

  position: relative;
  display: inline-block;
  line-height: inherit;
  font-size: 20px;
  margin:0 10px 0 0;

}


/* Profil tags inline (single page) */
.profil_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 20px 0;
}
.profil_tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  font-size: 12px;
  color: var(--couleur_titre, #666);
  white-space: nowrap;
  line-height: 1;
}
.profil_tag .dashicons {
  font-size: 14px;
  width: 14px;
  height: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--couleur_1);
}
.profil_tag_link {
  text-decoration: none;
  transition: background 200ms;
  color: var(--couleur_titre, #666);
}
.profil_tag_link:hover {
  background: rgba(255, 255, 255, 0.15);
}


.article .bouton_2 a{

  position: relative;
  display: block;
  max-width: 600px;
  background-color: var(--couleur_2);
  color: var(--couleur_texte_1);

  animation: skew-y-shaking 1s ease-in-out .1s infinite;

}



.trois_colonnes {

  display: grid;
  width: 100%;
  list-style: none;
  padding:0;

  grid-template-columns: 30% 30% 30%;
  grid-column-gap: 5%;
  margin:0;

}

/* ─── Catégories Homepage ─── */

.hp_categories {
  position: relative;
  display: block;
  width: 100%;
  margin: 30px 0;
  padding: 0;
}

/* Grille responsive — colonnes via data-cols */
.hp_categories_grid {
  display: grid;
  grid-template-columns: repeat(var(--cat-cols, 3), 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
}

[data-cols="2"] { --cat-cols: 2; }
[data-cols="3"] { --cat-cols: 3; }
[data-cols="4"] { --cat-cols: 4; }

/* Card */
.hp_cat_card {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.hp_cat_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Image container — ratio via data-ratio */
.hp_cat_image {
  position: relative;
  display: block;
  overflow: hidden;
  background: #ddd;
}

.hp_cat_image::after {
  content: '';
  display: block;
  padding-top: var(--cat-ratio, 75%);
}

[data-ratio="1_1"]  { --cat-ratio: 100%; }
[data-ratio="4_3"]  { --cat-ratio: 75%; }
[data-ratio="3_4"]  { --cat-ratio: 133.33%; }
[data-ratio="16_9"] { --cat-ratio: 56.25%; }

.hp_cat_image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 500ms ease;
}

.hp_cat_card:hover .hp_cat_image img {
  transform: scale(1.05);
}

/* Placeholder si pas d'image */
.hp_cat_placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ccc 0%, #999 100%);
}

/* Badge compteur */
.hp_cat_count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: inline-block;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: bold;
  line-height: 18px;
  background: var(--couleur_1);
  color: var(--couleur_texte_1);
  border-radius: 20px;
  z-index: 2;
}

/* Contenu sous l'image (style classique) */
.hp_cat_content {
  padding: 14px 16px 16px;
}

.hp_cat_content h3 {
  position: relative;
  display: block;
  margin: 0 0 6px 0;
  padding: 0;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
}

.hp_cat_content p {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 19px;
  opacity: 0.7;
}

/* ─── Style Overlay ─── */

.hp_cat_card.overlay .hp_cat_overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 50px 16px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: #fff;
  z-index: 2;
}

.hp_cat_card.overlay .hp_cat_overlay h3 {
  position: relative;
  display: block;
  margin: 0 0 4px 0;
  padding: 0;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: #fff;
}

.hp_cat_card.overlay .hp_cat_count {
  position: relative;
  bottom: auto;
  right: auto;
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  padding: 2px 10px;
}

/* ─── Layout Quinconce ─── */

.hp_cat_row {
  display: flex;
  align-items: stretch;
  margin: 0 0 40px 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.hp_cat_row:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.hp_cat_row_image {
  position: relative;
  flex: 0 0 50%;
  overflow: hidden;
  min-height: 380px;
}

.hp_cat_row_image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 500ms ease;
}

.hp_cat_row:hover .hp_cat_row_image img {
  transform: scale(1.04);
}

.hp_cat_row_image .hp_cat_placeholder {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ccc 0%, #999 100%);
}

.hp_cat_row_image .hp_cat_count {
  position: absolute;
  top: 12px;
  left: 12px;
  bottom: auto;
  right: auto;
}

.hp_cat_row_content {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  box-sizing: border-box;
}

.hp_cat_row_content h3 {
  margin: 0 0 12px 0;
  padding: 0;
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
}

.hp_cat_row_content p {
  margin: 0 0 16px 0;
  padding: 0;
  font-size: 14px;
  line-height: 22px;
  opacity: 0.75;
}

.hp_cat_cta {
  display: inline-block;
  margin-top: auto;
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 600;
  background: var(--couleur_1);
  color: var(--couleur_texte_1);
  border-radius: 6px;
  transition: opacity 200ms;
  width: fit-content;
}

.hp_cat_row:hover .hp_cat_cta {
  opacity: 0.85;
}

/* Quinconce inversé (image à droite) */
.hp_cat_row.reverse {
  flex-direction: row-reverse;
}

/* ─── Harmonisation couleurs avec Apparence ─── */

.hp_cat_content h3,
.hp_cat_row_content h3 {
  color: inherit;
}

.hp_cat_card:hover .hp_cat_content h3 {
  color: var(--couleur_1);
}

.hp_cat_row:hover .hp_cat_row_content h3 {
  color: var(--couleur_1);
}

.hp_cat_card.overlay .hp_cat_overlay h3 {
  color: #fff;
}

/* ─── Responsive catégories ─── */

@media (max-width: 1200px) {
  .hp_categories_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 800px) {
  .hp_cat_row {
    flex-direction: column !important;
  }
  .hp_cat_row_image {
    flex: none;
    width: 100%;
    min-height: 280px;
    max-height: 350px;
  }
  .hp_cat_row_content {
    flex: none;
    width: 100%;
    padding: 20px;
  }
  .hp_cat_row_content h3 {
    font-size: 18px;
    line-height: 24px;
  }
}

@media (max-width: 600px) {
  .hp_categories_grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hp_cat_content {
    padding: 12px 14px 14px;
  }
  .hp_cat_row_content {
    padding: 16px;
  }
  .hp_cat_row_image {
    min-height: 240px;
  }
}




footer {

  position:relative;
  margin:20px 0 0 0;
  padding-top:20px;
  padding-left:calc(50% - 600px);
  padding-right:calc(50% - 600px);
  padding-bottom:20px;

  background:#000000;
  color:#777777;
  line-height: 20px;
  font-size:14px;

}


footer aside{

  position:relative;
  width:100%;
  margin:0 0 20px 0;
  padding:0;
  text-align: center;
  
}


footer aside h4 {

  position:relative;
  margin:0 0 10px 0;
  padding:0;
  
}

footer menu {

  position: relative;
  display: block;
  width: 100%;
  margin:10px auto;
  padding:0;
  list-style: none;

}

footer menu li {

  position: relative;
  display: inline-block;
  width: auto;
  margin: 0;
  padding: 0 10px;

  border-width: 0 1px 0 0;
  border-style: solid;
  border-color: #555555;

}

footer menu li:last-of-type {

  border-width: 0;

}

footer menu li a {

  position: relative;
  display: block;
  color: #ffffff;
  text-decoration: none;

}


#masque {

  display:none;
  top:0;
  left:0;
  position:fixed;
  z-index:97;
  
  width:100%;
  height:100%;
  margin:0;
  padding:0;

  background-color: rgba(0, 0, 0, 0.5);

  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}



.chargement {

  position: absolute;
  display: block;
  width: 16px;
  height: 16px; 
  top:calc(50% - 10px);
  left:calc(50% - 10px);
  margin:0;
  padding:0;

  border: 2px solid #ffffff;
  border-left-color: transparent;
  border-radius: 50%;
  
  animation: rotation 1s linear infinite;

}


@keyframes rotation {
  
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }

}


@media all and (min-width:00px) and (max-width:1200px) {

  header,
  footer {

    width:90% !important;
    padding-right:5% !important;
    padding-left:5% !important;

  }
  
  #cadre_recherche {
    
    width:90%;
    padding:20px 5%;

  }

  .bouton_header,
  .bouton_footer {

    left:0;
    margin:auto 5%;

  }

  .bouton_footer {

    display: none;

  }

  footer {

    margin-bottom: 0px;

  }

  .corps,
  .corps.article {

    width: 90%;
    margin-left: 5%;
    margin-right: 5%;

  }
  
  .titre_principal {

    line-height: 1.3;

  }

  .deux_colonnes,
  .article .deux_colonnes,
  .trois_colonnes {
    
    grid-template-columns: 100%;
    grid-column-gap: 0;

  }
  
  .article .details {
    
    margin:0 auto 20px auto;
    border-width: 2px 0 2px 0;
  
  }

  .premiere .tarif {

    display: block;
    
  }

  .seconde .tarif {

    display: none;
    
  }

  .liste li {

    padding-bottom: 12px;
    margin-bottom: 20px;

    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: rgba(255,255,255,0.1);
  }

  .liste li .image {

    margin-top:30px;

  }

  .liste li .prenom {

    position: absolute;
    top:0;
    left:0;
    font-size: 22px;

  }
    
  .article .deux_colonnes li:first-of-type .bouton {
    
    display: block;

  }

  .article .deux_colonnes li:last-of-type .bouton {
    
    display: none;
    
  }

}



@media all and (min-width:800px) and (max-width:1200px) {

  .liste {
    width:780px;
    grid-template-columns: 380px 380px;
  }

}


@media all and (min-width:0px) and (max-width:800px) {

  /* Dashicons titre supprimés */

  .corps.article {

  }

  .liste {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

}

@media all and (max-width:400px) {

  .liste {
    grid-template-columns: 100%;
  }

}


/* ===========================================
   QUICK WINS FOMO BAR (single page)
   =========================================== */

.qw_fomo_bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 10px 0 14px 0;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
}
.qw_fomo_item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #ccc;
  font-weight: 500;
}
.qw_pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  animation: qw_blink 1.5s ease-in-out infinite;
}
.qw_pulse_orange {
  background: #ff9800;
}
@keyframes qw_blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(76,175,80,0.5); }
  50% { opacity: 0.6; box-shadow: 0 0 0 4px rgba(76,175,80,0); }
}


/* ===========================================
   CTA INLINE DANS LE CONTENU PROFIL
   =========================================== */

.cta_inline {
  text-align: center;
  margin: 20px 0;
}
.cta_inline_link {
  display: inline-block;
  padding: 10px 24px;
  background: var(--couleur_1);
  color: var(--couleur_texte_1) !important;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 200ms, transform 200ms;
}
.cta_inline_link:hover {
  background: var(--couleur_2);
  transform: scale(1.03);
}


/* ===========================================
   STICKY NAVIGATION CATEGORIES
   =========================================== */

.sticky_cats {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(0,0,0,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--couleur_1);
  transform: translateY(-100%);
  transition: transform 300ms;
  box-sizing: border-box;
}
/* Admin bar WP : 32px desktop, 46px entre 601-782px, cachée sous 600px */
.admin-bar .sticky_cats {
  top: 32px !important;
}
@media screen and (min-width: 601px) and (max-width: 782px) {
  .admin-bar .sticky_cats {
    top: 46px !important;
  }
}
@media screen and (max-width: 600px) {
  .admin-bar .sticky_cats {
    top: 0 !important;
  }
}
.sticky_cats.visible {
  transform: translateY(0);
}
.sticky_cats_inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
  padding: 0 8px; /* évite la coupure du premier élément sur mobile */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sticky_cats_inner::-webkit-scrollbar {
  display: none;
}
.sticky_cats_item {
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  border-bottom: 2px solid transparent;
  transition: color 200ms, border-color 200ms, background 200ms;
  letter-spacing: 0.3px;
}
.sticky_cats_item:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.sticky_cats_item.active {
  color: var(--couleur_1);
  border-bottom-color: var(--couleur_1);
}
@media (max-width: 767px) {
  .sticky_cats_inner {
    justify-content: flex-start; /* scroll horizontal propre sur mobile */
    padding: 0 12px;
  }
  .sticky_cats_item {
    padding: 13px 16px;
    font-size: 15px;
  }
}


/* ===========================================
   TINYMCE TOGGLE VISUEL / CODE (admin)
   =========================================== */

.tinymce-wrap {
  position: relative;
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.tinymce-wrap .mce-tinymce {
  border: none !important;
  box-shadow: none !important;
}

.tinymce-tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  background: #f0f0f1;
  border-bottom: 1px solid #c3c4c7;
  position: relative;
  z-index: 1;
}

.tinymce-tab {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: #dcdcde;
  border: none;
  border-right: 1px solid #c3c4c7;
  color: #50575e;
  user-select: none;
  transition: color 120ms, background 120ms;
}

.tinymce-tab:last-child {
  border-right: none;
}

.tinymce-tab:hover {
  background: #e2e2e3;
  color: #1d2327;
}

.tinymce-tab-active {
  color: #1d2327;
  background: #fff;
  border-bottom: 1px solid #fff;
  margin-bottom: -1px;
}

.tinymce-tab-active:hover {
  background: #fff;
}

.tinymce-code-area {
  display: none;
}


/* ===========================================
   FAQ ACCUEIL
   =========================================== */

.faq_accueil {
  position: relative;
  width: 100%;
  margin: 40px 0 30px 0;
  padding: 0;
}

.faq_accueil .titre_principal {
  margin-bottom: 25px;
}

.faq_item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin: 0;
}

.faq_question {
  display: block;
  padding: 16px 40px 16px 0;
  margin: 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  position: relative;
  list-style: none;
}

.faq_question::-webkit-details-marker {
  display: none;
}

.faq_question::after {
  content: '+';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--couleur_1);
  transition: transform 200ms;
}

details[open] .faq_question::after {
  content: '−';
}

.faq_answer {
  padding: 0 0 16px 0;
  font-size: 14px;
  line-height: 22px;
  color: inherit;
  opacity: 0.85;
}

.faq_answer p {
  margin: 0 0 10px 0;
}

@media (max-width: 768px) {
  .faq_question {
    font-size: 14px;
    padding: 14px 35px 14px 0;
  }
  .faq_answer {
    font-size: 13px;
  }
}


/* ===========================================
   QUICK WINS - CONVERSION OPTIMIZATIONS
   Version: 1.3.0
   =========================================== */

/* Animations globales (hors media queries) */
@keyframes sticky_vibrate {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-2px) rotate(-1deg); }
  40% { transform: translateX(2px) rotate(1deg); }
  60% { transform: translateX(-2px) rotate(-1deg); }
  80% { transform: translateX(2px) rotate(1deg); }
}

/* QUICK WIN #1 - STICKY BAR MOBILE (Full surface cliquable + trust badge) */
#sticky_cta_mobile {
  display: none !important;
}

@media (max-width: 768px) {
  #sticky_cta_mobile {
    display: block !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.5);
  }

  /* Trust badge rotatif en haut, centré */
  #sticky_cta_mobile .sticky_trust_badge {
    display: block;
    width: 100%;
    padding: 7px 10px;
    box-sizing: border-box;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
    color: #fff;
    background: rgba(0,0,0,0.3);
    letter-spacing: 0.3px;
  }
  #sticky_cta_mobile .sticky_trust_badge span {
    display: inline-block;
    transition: opacity 0.4s ease;
  }

  /* Lien cliquable sur toute la surface */
  #sticky_cta_mobile .sticky_link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    min-height: 65px;
  }

  /* Photo carrée */
  #sticky_cta_mobile .sticky_photo {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--couleur_1);
    box-shadow: 0 0 10px rgba(255, 35, 225, 0.3);
  }

  #sticky_cta_mobile .sticky_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #sticky_cta_mobile .sticky_photo_default {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--couleur_1) 0%, var(--couleur_2) 100%);
    font-size: 28px;
  }

  /* Contenu central : accroche */
  #sticky_cta_mobile .sticky_content {
    flex: 1;
    min-width: 0;
    text-align: left;
  }

  #sticky_cta_mobile .sticky_accroche {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.35;
    margin: 0;
    font-style: italic;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Bouton CTA qui vibre */
  #sticky_cta_mobile .sticky_btn {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--couleur_1) 0%, var(--couleur_2) 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 10px;
    min-width: 90px;
    box-shadow: 0 4px 15px rgba(255, 35, 225, 0.4);
    animation: sticky_vibrate 0.3s infinite;
  }

  #sticky_cta_mobile .sticky_btn_icon {
    font-size: 22px;
    line-height: 1;
  }

  #sticky_cta_mobile .sticky_btn_text {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
  }

  /* Padding body pour ne pas cacher le contenu */
  body {
    padding-bottom: 105px !important;
  }

  /* Cacher le bouton footer existant sur mobile */
  .bouton_footer {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════════════
   LAYOUT MAINSTREAM / SERVICE
   Material Design inspired — rompt le pattern telrose
   ═══════════════════════════════════════════════════ */

/* ── Hero ── */
.ms_hero {
  position: relative;
  padding: 60px 20px 50px;
  text-align: center;
  background: linear-gradient(135deg, var(--couleur_1) 0%, var(--couleur_2) 100%);
  color: var(--couleur_texte_1, #fff);
  border-radius: 0 0 24px 24px;
  margin: -20px -20px 40px -20px;
}

.ms_hero_titre {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  margin: 0 auto 16px;
  max-width: 700px;
  color: inherit;
}

.ms_hero_accroche {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 auto 30px;
  max-width: 600px;
  opacity: 0.9;
}

.ms_hero_cta_wrap {
  display: inline-block;
}

.ms_hero_cta {
  display: inline-block;
  padding: 16px 40px;
  font-size: 20px;
  font-weight: 700;
  background: #fff;
  color: var(--couleur_1);
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 300ms, box-shadow 300ms;
}

.ms_hero_cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.ms_hero_tarif {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  opacity: 0.8;
}

/* ── Titres de section ── */
.ms_section_titre {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  margin: 0 0 30px;
  color: var(--couleur_1);
}

/* ── Tableau comparatif ── */
.ms_tableau_section {
  padding: 40px 0;
}

.ms_tableau_wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.ms_tableau {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 15px;
}

.ms_tableau thead {
  background: var(--couleur_1);
  color: var(--couleur_texte_1, #fff);
}

.ms_tableau th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.ms_tableau td {
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}

.ms_tableau tbody tr:hover {
  background: #f8f9fa;
}

.ms_tableau tbody tr:last-child td {
  border-bottom: none;
}

.ms_tableau_cta {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--couleur_1), var(--couleur_2));
  color: var(--couleur_texte_1, #fff);
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  transition: transform 200ms, box-shadow 200ms;
}

.ms_tableau_cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ms_tableau_nom {
  min-width: 140px;
}

.ms_tableau_cta_disabled {
  color: #aaa;
  font-size: 14px;
}

/* ── Fiches détaillées des sites ── */
.ms_sites_details {
  padding: 20px 0 40px;
}

.ms_site_card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
  transition: box-shadow 300ms, transform 300ms;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
}

.ms_site_card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* Header avec bande couleur */
.ms_site_card_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--couleur_1), var(--couleur_2));
  color: var(--couleur_texte_1, #fff);
}

.ms_site_card_header h3 {
  font-size: 20px;
  font-weight: 700;
  color: inherit;
  margin: 0;
}

.ms_site_note {
  font-size: 18px;
  white-space: nowrap;
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 20px;
}

/* Body de la card */
.ms_site_card_body {
  padding: 24px;
}

.ms_site_desc {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin: 0 0 20px;
}

.ms_site_infos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}

.ms_site_info_tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #f5f7fa;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  border: 1px solid #e8ecf0;
}

/* Points forts / faibles — blocs colorés */
.ms_site_points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 20px;
}

.ms_site_pros {
  background: #f0faf0;
  border: 1px solid #c8e6c9;
  border-radius: 12px;
  padding: 16px;
}

.ms_site_cons {
  background: #fef0f0;
  border: 1px solid #ffcdd2;
  border-radius: 12px;
  padding: 16px;
}

.ms_site_pros strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #2e7d32;
}

.ms_site_cons strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #c62828;
}

.ms_site_pros ul,
.ms_site_cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ms_site_pros li {
  font-size: 13px;
  line-height: 1.6;
  color: #2e7d32;
  padding: 4px 0 4px 20px;
  position: relative;
}

.ms_site_cons li {
  font-size: 13px;
  line-height: 1.6;
  color: #c62828;
  padding: 4px 0 4px 20px;
  position: relative;
}

.ms_site_pros li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #2e7d32;
}

.ms_site_cons li::before {
  content: '✕';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #c62828;
}

/* Tags niches */
.ms_site_niches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.ms_site_niche_tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--couleur_1);
  color: var(--couleur_texte_1, #fff);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* CTA card */
.ms_site_card_cta {
  display: block;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--couleur_1), var(--couleur_2));
  color: var(--couleur_texte_1, #fff);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  transition: transform 200ms, box-shadow 200ms;
}

.ms_site_card_cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ── Guide : Comment appeler ── */
.ms_guide {
  padding: 40px 0;
  max-width: 800px;
  margin: 0 auto;
}

.ms_guide_steps {
  margin: 30px 0;
}

.ms_guide_step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 0 0 24px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: left;
}

.ms_guide_step_num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--couleur_1);
  color: var(--couleur_texte_1, #fff);
  font-size: 20px;
  font-weight: 700;
}

.ms_guide_step_content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #222;
  margin: 0 0 6px;
}

.ms_guide_step_content p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.ms_guide_infos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 10px 0 0;
}

.ms_guide_info {
  padding: 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  font-size: 13px;
  line-height: 1.5;
  color: #444;
  text-align: center;
}

/* ── Contenu éditorial ── */
.ms_contenu {
  padding: 40px 0;
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: inherit;
}

.ms_contenu h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--couleur_1);
  margin: 30px 0 15px;
  line-height: 1.3;
}

.ms_contenu h3 {
  font-size: 20px;
  font-weight: 600;
  color: inherit;
  margin: 25px 0 12px;
}

.ms_contenu p {
  margin: 0 0 16px;
}

.ms_contenu ul, .ms_contenu ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

.ms_contenu li {
  margin: 0 0 8px;
}

.ms_contenu a {
  color: var(--couleur_1);
  text-decoration: underline;
}

/* ── FAQ Mainstream ── */
.ms_faq {
  padding: 40px 0;
  max-width: 800px;
  margin: 0 auto;
}

.ms_faq_item {
  margin: 0 0 8px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 300ms;
}

.ms_faq_item[open] {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.ms_faq_question {
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #222;
  transition: color 200ms;
}

.ms_faq_question::-webkit-details-marker {
  display: none;
}

.ms_faq_question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--couleur_1);
  transition: transform 300ms;
  flex-shrink: 0;
  margin-left: 16px;
}

.ms_faq_item[open] .ms_faq_question::after {
  transform: rotate(45deg);
}

.ms_faq_item[open] .ms_faq_question {
  color: var(--couleur_1);
}

.ms_faq_answer {
  padding: 0 24px 18px;
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

/* ── CTA Final ── */
.ms_cta_final {
  padding: 50px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--couleur_1) 0%, var(--couleur_2) 100%);
  color: var(--couleur_texte_1, #fff);
  border-radius: 16px;
  margin: 40px 0 0;
}

.ms_cta_final_btn {
  display: inline-block;
  padding: 18px 50px;
  font-size: 22px;
  font-weight: 700;
  background: #fff;
  color: var(--couleur_1);
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 300ms, box-shadow 300ms;
  animation: ms_cta_pulse 2s ease-in-out infinite;
}

.ms_cta_final_btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.ms_cta_final_tarif {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  opacity: 0.8;
}

@keyframes ms_cta_pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* ── Responsive Mainstream ── */
@media (max-width: 768px) {
  .ms_hero {
    padding: 40px 16px 35px;
    border-radius: 0 0 16px 16px;
    margin: -20px -16px 30px -16px;
  }
  .ms_hero_titre {
    font-size: 24px;
  }
  .ms_hero_accroche {
    font-size: 15px;
  }
  .ms_hero_cta {
    padding: 14px 30px;
    font-size: 17px;
  }
  .ms_section_titre {
    font-size: 22px;
  }
  .ms_tableau th,
  .ms_tableau td {
    padding: 10px 14px;
    font-size: 13px;
  }
  .ms_contenu {
    font-size: 15px;
    padding: 30px 0;
  }
  .ms_faq_question {
    padding: 14px 18px;
    font-size: 15px;
  }
  .ms_faq_answer {
    padding: 0 18px 14px;
    font-size: 14px;
  }
  .ms_cta_final {
    padding: 35px 16px;
    border-radius: 12px;
  }
  .ms_cta_final_btn {
    padding: 14px 35px;
    font-size: 18px;
  }
  /* Fiches sites responsive */
  .ms_site_card_header {
    padding: 16px 18px;
  }
  .ms_site_card_header h3 {
    font-size: 17px;
  }
  .ms_site_note {
    font-size: 14px;
    padding: 3px 8px;
  }
  .ms_site_card_body {
    padding: 18px;
  }
  .ms_site_points {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ms_site_pros,
  .ms_site_cons {
    padding: 12px;
  }
  .ms_site_info_tag {
    padding: 6px 12px;
    font-size: 13px;
  }
  /* Guide responsive */
  .ms_guide_step {
    padding: 16px;
    gap: 14px;
  }
  .ms_guide_step_num {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 16px;
  }
  .ms_guide_step_content h3 {
    font-size: 15px;
  }
  .ms_guide_infos {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}


/* QUICK WIN #2 - BOUTONS MOBILE */
@media (max-width: 768px) {

  /* Réduire l'espace header/breadcrumb */
  .corps {
    margin-top: 90px;
  }

  /* CTA profil single : plus gros, plus tapables */
  .trk_profile_tel_container a,
  .bouton,
  .call_tel {
    font-size: 20px !important;
    padding: 14px 20px !important;
  }

  /* Boutons dans la grille profils : compact pour 2 colonnes */
  .liste li p:first-of-type .bouton,
  .liste li .trk_profile_tel_container a,
  .liste li .bouton_2 a {
    font-size: 14px !important;
    padding: 8px 10px !important;
    line-height: 22px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 20px;
  }
}

/* QUICK WIN #3 - EXIT POPUP (AGRESSIF MOBILE) */

/* Animations exit popup */
@keyframes exit_overlay_flash {
  0%, 50% { background: rgba(255, 0, 100, 0.3); }
  100% { background: rgba(0, 0, 0, 0.9); }
}

@keyframes exit_popup_bounce {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes exit_icon_shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

@keyframes exit_cta_vibrate {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-2px); }
  75% { transform: translateX(2px); }
}

/* Exit popup - CACHE PAR DEFAUT */
#exit_popup {
  display: none !important;
}

#exit_popup[style*="block"] {
  display: block !important;
}

#exit_popup_overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 99998;
  animation: exit_overlay_flash 0.5s ease;
}

#exit_popup_content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 30px 25px;
  border-radius: 20px;
  text-align: center;
  z-index: 99999;
  max-width: 380px;
  width: 92%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 35, 225, 0.3);
  animation: exit_popup_bounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid var(--couleur_1);
}

#exit_popup_close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

#exit_popup_close:hover {
  color: #fff;
}

/* Photo dans popup */
#exit_popup_content .exit_popup_photo {
  width: 130px;
  height: 130px;
  margin: 0 auto 15px auto;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--couleur_1);
  box-shadow: 0 0 25px rgba(255, 35, 225, 0.5);
}

#exit_popup_content .exit_popup_photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#exit_popup_content h3 {
  color: #ffffff;
  font-size: 24px;
  margin: 0 0 8px 0;
  text-shadow: 0 0 10px rgba(255, 35, 225, 0.3);
}

#exit_popup_content .exit_popup_accroche {
  color: #cccccc;
  font-size: 15px;
  margin: 0 0 20px 0;
  font-style: italic;
  line-height: 1.4;
}

#exit_popup_content .exit_popup_cta a {
  display: block;
  background: linear-gradient(135deg, var(--couleur_1) 0%, var(--couleur_2) 100%);
  color: #ffffff;
  padding: 18px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  animation: exit_cta_vibrate 0.15s infinite;
  box-shadow: 0 5px 20px rgba(255, 35, 225, 0.4);
}

#exit_popup_content .exit_popup_tarif {
  color: #888;
  font-size: 11px;
  margin-top: 12px;
}

/* Responsive exit popup photo */
@media (max-width: 768px) {
  #exit_popup_content .exit_popup_photo {
    width: 110px;
    height: 110px;
  }

  #exit_popup_content {
    padding: 25px 20px;
    max-width: 340px;
    width: 94%;
  }

  #exit_popup_content h3 {
    font-size: 20px;
  }

  #exit_popup_content .exit_popup_cta a {
    padding: 16px 25px;
    font-size: 16px;
  }
}

@media (max-width: 380px) {
  #exit_popup_content .exit_popup_photo {
    width: 95px;
    height: 95px;
  }

  #exit_popup_content h3 {
    font-size: 18px;
  }
}

/* ===========================================
   FIN QUICK WINS
   =========================================== */


/* ===========================================
   TEMPLATES DE PAGE — Blocs
   =========================================== */

/* ── CTA Numtour ── */
.page_cta_block {
    text-align: center;
    padding: 30px 0;
    margin: 20px 0;
}

.page_cta_btn {
    display: inline-block;
    padding: 18px 50px;
    background: var(--couleur_1);
    color: var(--couleur_texte_1) !important;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none !important;
    transition: transform 200ms, box-shadow 200ms;
    letter-spacing: 0.5px;
}

.page_cta_btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: var(--couleur_texte_1) !important;
}

.page_cta_tarif {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    opacity: 0.6;
}

/* ── Hero wrapper (hors .corps, flush sous header) ── */
/* margin-top défini en inline via PHP (80px sans admin bar, 48px avec) */
.page_hero_wrapper {
    line-height: 0;
}

.corps.corps_after_hero {
    margin-top: 0 !important;
    padding-top: 30px;
}

/* ── H1 centrée (classique / vitrine sans image / homepage) ── */
.page_h1_centered {
    text-align: center !important;
    font-size: clamp(1.6rem, 4vw, 2.4rem) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
}

/* H2 sections (catégories, quinconces) — plus petit que H1 */
h2.page_h1_centered {
    font-size: clamp(1.2rem, 3vw, 1.7rem) !important;
}

/* Centrer le trait décoratif quand titre centré */
.page_h1_centered.titre_principal:after {
    left: 50% !important;
    transform: translateX(-50%);
}

/* ── Bloc Image CTA (hero bandeau full-width, bloc cliquable) ── */
.page_image_cta {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
    cursor: pointer;
    max-height: 550px;
    margin: 0;
    border: 0;
    line-height: normal;
}

.page_image_cta > img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 220px;
    object-fit: cover;
    object-position: center;
}

.page_image_cta_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.55), rgba(30,0,50,0.45));
    z-index: 1;
}

.page_image_cta_content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 20px 5%;
    line-height: normal;
}

.page_hero_h1 {
    font-size: clamp(1.6rem, 4vw, 2.8rem) !important;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 10px !important;
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
}

/* Supprimer le ::after de titre_principal dans le hero */
.page_hero_h1.titre_principal:after {
    display: none !important;
    color: #fff !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 90%;
}

/* Séparateur centré entre H1 et accroche */
.page_hero_sep {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--couleur_1);
    margin: 0 auto 12px;
    border-radius: 1px;
}

.page_image_cta_content p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0 0 16px;
    max-width: 90%;
}

/* Bouton CTA visible dans le hero */
.page_hero_cta_btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--couleur_1);
    color: var(--couleur_texte_1);
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 0.5px;
    pointer-events: none;
}

/* ── Template Classique — CTA + bouton URL + image ── */
.page_classique_cta {
    text-align: center;
    margin: 0 0 20px;
}

.page_classique_btn_url {
    text-align: center;
    margin: 0 0 25px;
}

.page_btn_url {
    display: inline-block;
    padding: 8px 24px;
    background: transparent;
    border: 1.5px solid var(--couleur_1);
    color: var(--couleur_1);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 200ms;
}

.page_btn_url:hover {
    background: var(--couleur_1);
    color: var(--couleur_texte_1);
}

.page_classique_image {
    margin: 0 0 30px;
    text-align: center;
}

.page_classique_image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    cursor: pointer;
}

.page_classique_image a {
    display: block;
    text-decoration: none;
}

.page_classique_content {
    margin-bottom: 30px;
}

/* ── Quinconces — informatif, fonds alternés ── */
.page_quinconces {
    padding: 40px 0;
}

.page_qc_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px 20px;
    margin-bottom: 0;
    border-radius: 12px;
}

.page_qc_row.page_qc_alt {
    background: rgba(128, 128, 128, 0.08);
}

.page_qc_row.reverse {
    direction: rtl;
}

.page_qc_row.reverse > * {
    direction: ltr;
}

.page_qc_image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.page_qc_content h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.25;
}

.page_qc_content p {
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
    opacity: 0.85;
}

/* ── Bandeau confiance ── */
.page_bandeau {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 30px 20px;
    margin: 30px 0;
    border-top: 1px solid rgba(128,128,128,0.2);
    border-bottom: 1px solid rgba(128,128,128,0.2);
}

.page_bandeau_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    max-width: 200px;
}

.page_bandeau_icon {
    font-size: 32px;
    margin-bottom: 4px;
}

img.page_bandeau_icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.page_bandeau_item strong {
    font-size: 14px;
}

.page_bandeau_item > span:last-child {
    font-size: 12px;
    opacity: 0.7;
}

/* ── Page content wrapper ── */
.page_content {
    margin-bottom: 20px;
}

/* ── Contenu tronqué avec "voir plus" ── */
.page_content_truncated {
    max-height: 120px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
}

.page_content_truncated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, var(--couleur_fond, #eee));
    pointer-events: none;
}

.page_content_truncated.page_content_expanded {
    max-height: none;
    overflow: visible;
}

.page_content_truncated.page_content_expanded::after {
    display: none;
}

.page_voir_plus_btn {
    display: block;
    margin: 12px auto 30px;
    padding: 8px 28px;
    background: transparent;
    border: 1px solid var(--couleur_1);
    color: var(--couleur_1);
    cursor: pointer;
    font-size: 14px;
    border-radius: 20px;
    transition: all 200ms;
}

.page_voir_plus_btn:hover {
    background: var(--couleur_1);
    color: var(--couleur_texte_1);
}

/* ── Responsive templates de page ── */
@media (max-width: 800px) {
    .page_image_cta {
        max-height: 350px;
        border-radius: 0;
    }

    .page_image_cta_content {
        padding: 12px 4%;
    }

    .page_hero_h1 {
        font-size: clamp(1.2rem, 5vw, 1.8rem) !important;
    }

    .page_hero_cta_btn {
        padding: 10px 28px;
        font-size: 15px;
    }

    .page_h1_centered {
        font-size: clamp(1.3rem, 5vw, 1.8rem) !important;
    }

    .page_qc_row {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 15px;
    }

    .page_qc_row.reverse {
        direction: ltr;
    }

    .page_bandeau {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .page_cta_btn {
        font-size: 16px;
        padding: 14px 35px;
    }

    .page_classique_image img {
        border-radius: 12px;
    }

    .page_btn_url {
        font-size: 13px;
        padding: 7px 20px;
    }
}


