/* Origine : style.css (ancien) — section Composants */

.mhg-home-cta-row{
  margin: 12px 0 0 0;
}

.mhg-home-cta{
  display: inline-block;
  margin: 0 8px 8px 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none !important;
}

.mhg-home-cta--primary{
  background: #BA8225;
  color: #fff;
}

.mhg-home-cta--primary:hover{
  background: #8C692A;
}

.mhg-home-cta--secondary{
  background: #ffffff;
  color: #5a4730;
  border: 1px solid rgba(0,0,0,0.12);
}

.mhg-home-cta--secondary:hover{
  border-color: rgba(0,0,0,0.22);
}

/* =========================================================
   HOME — Ressources populaires (bloc SEO / maillage interne)
   ========================================================= */

.mhg-home-popular{
  margin: 18px 0;
  padding: 16px 16px;
  background: #f7f4ef;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
}

.mhg-home-popular__title{
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  color: #2b2b2b;
}

.mhg-home-popular__intro{
  margin: 0 0 12px 0;
  line-height: 1.5;
  color: #444;
}

.mhg-home-popular__grid{
  display: flex;
  flex-wrap: wrap;
}

.mhg-home-popular__card{
  display: block;
  width: 48%;
  margin: 0 2% 10px 0;
  padding: 12px 12px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.mhg-home-popular__card:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.14);
}

.mhg-home-popular__label{
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #8C692A;
  margin: 0 0 6px 0;
}

.mhg-home-popular__name{
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: #2b2b2b;
}

/* =========================================================
   HOME — Bloc premium (cours Montpellier) avec fond Home-1.jpg
   ========================================================= */

.mhg-home-hero-premium{
  margin: 18px 0;
  padding: 0 !important;
  border-radius: 14px;
  overflow: hidden;
  position: relative;

  /* Background premium */
  background-image: url("https://www.cours-de-guitare-montpellier.fr/wp-content/uploads/2026/01/Home-1-1.jpg");
  background-size: cover;
  background-repeat: no-repeat;

  /* image cadrée vers la droite pour voir la guitare */
  background-position: right center;

  border: 1px solid rgba(0,0,0,0.10);
}

/* Voile sombre pour lisibilité */
.mhg-home-hero-premium::before{
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.55) 45%,
    rgba(0,0,0,0.28) 70%,
    rgba(0,0,0,0.12) 100%
  );
  z-index: 0;
}

.mhg-home-hero-premium__inner{
  position: relative;
  z-index: 1;

  padding: 28px 28px;
  max-width: 700px; /* respiration + lisibilité */
}

/* =====================
   TITRE
   ===================== */

.mhg-home-hero-premium__title{
  margin: 0 0 14px 0;
  color: rgba(255,255,255,0.97);
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 900;
  line-height: 1.15;
  text-shadow: 0 2px 4px rgba(0,0,0,0.75);
}

.mhg-home-hero-premium__title-sub{
  display: block;
  margin-top: 8px;
  font-size: 0.55em;
  font-weight: 700;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.03em;
}

/* =====================
   TEXTE LEAD (INTRO)
   ===================== */

.mhg-home-hero-premium__lead{
  margin: 0 0 14px 0;
  color: rgba(255,255,255,0.94);
  font-size: 1.05rem; /* L */
  line-height: 1.6;
  max-width: 640px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.65);
}

/* =====================
   TEXTE PRINCIPAL
   ===================== */

.mhg-home-hero-premium__text{
  margin: 0 0 14px 0;
  color: rgba(255,255,255,0.90);
  font-size: 1.2rem; /* XL */
  line-height: 1.65;
  max-width: 680px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

.mhg-home-hero-premium__text strong{
  font-weight: 700;
  color: rgba(255,255,255,0.97);
}

/* =========================================================
   Gutenberg — Section pédagogique (mhg/section)
   ========================================================= */

.mhg-section{
  --mhg-accent: 186, 130, 37;
  position: relative;
  padding: 1.4rem 1.6rem 1.4rem 2.4rem;
  margin: 2rem 0;
  background: rgba(0,0,0,0.03);
  border-radius: 6px;
}

.mhg-section::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: rgb(var(--mhg-accent));
  border-radius: 6px 0 0 6px;
}

.mhg-section--objectifs{
  --mhg-accent: 186, 130, 37;
}

.mhg-section--pratique{
  --mhg-accent: 47, 125, 101;
}

.mhg-section--ressources{
  --mhg-accent: 58, 110, 165;
}

.mhg-section--theorie{
  --mhg-accent: 107, 76, 154;
}

.mhg-section--important{
  --mhg-accent: 192, 71, 60;
}

.mhg-section ul{
  padding-left: 1.2rem;
}

.mhg-section li::marker{
  color: rgba(var(--mhg-accent), 0.65);
}

/* =====================
   LIENS
   ===================== */

.mhg-home-hero-premium__link{
  color: #f2c472;
  font-weight: 700;
  text-decoration: underline;
}

.mhg-home-hero-premium__link:hover{
  opacity: 0.9;
}

/* =====================
   CTA
   ===================== */

.mhg-home-hero-premium__cta{
  margin-top: 18px;
}

/* === FIX CTA HERO PREMIUM : boutons trop gros === */

.mhg-home-hero-premium .mhg-home-hero-premium__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
}

.mhg-home-hero-premium .mhg-home-hero-premium__actions a,
.mhg-home-hero-premium .mhg-home-hero-premium__actions .button,
.mhg-home-hero-premium .mhg-home-hero-premium__actions .wp-element-button{
  padding: 10px 14px;
  line-height: 1.15;
  min-height: 0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%;
}

.mhg-home-hero-premium__btn{
  display: inline-block;
  margin: 0 10px 10px 0;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.mhg-home-hero-premium__btn:hover{
  transform: translateY(-1px);
}

/* Bouton principal */
.mhg-home-hero-premium__btn--primary{
  background: #BA8225;
  color: #ffffff;
}

.mhg-home-hero-premium__btn--primary:hover{
  background: #8C692A;
}

/* Bouton secondaire */
.mhg-home-hero-premium__btn--secondary{
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.20);
}

.mhg-home-hero-premium__btn--secondary:hover{
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.30);
}

/* =========================================================
   HOME — Ressources populaires (premium bois / doré)
   ========================================================= */

.mhg-home-popular-premium{
  margin: 18px 0;
  padding: 0 !important;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: rgba(0, 0, 0, 0.85); /* ← joue ici sur l’opacité */
  background-image: url("https://www.cours-de-guitare-montpellier.fr/wp-content/uploads/2026/01/metronome.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;

  border: 1px solid rgba(0,0,0,0.10);
}

/* voile plus léger que le hero */
.mhg-home-popular-premium::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;

  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.58) 0%,
    rgba(0,0,0,0.42) 45%,
    rgba(0,0,0,0.22) 70%,
    rgba(0,0,0,0.10) 100%
  );
  z-index: 0;
}

.mhg-home-popular-premium__inner{
  position: relative;
  z-index: 1;
  padding: 16px 16px;
}

.mhg-home-popular-premium__title{
  margin: 0 0 8px 0;
  color: rgba(255,255,255,0.95);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0,0,0,0.70);
}

.mhg-home-popular-premium__intro{
  margin: 0 0 14px 0;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0,0,0,0.60);
}

/* grille (sans gap) */
.mhg-home-popular-premium__grid{
  display: flex;
  flex-wrap: wrap;
}

/* cartes type glass */
.mhg-home-popular-premium__card{
  display: block;
  width: 48%;
  margin: 0 2% 10px 0;
  padding: 12px 12px;

  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;

  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

.mhg-home-popular-premium__card:hover{
  transform: translateY(-1px);
  background: rgba(0,0,0,0.42);
  box-shadow: 0 10px 22px rgba(0,0,0,0.28);
  border-color: rgba(242,196,114,0.25);
}

.mhg-home-popular-premium__label{
  display: block;
  margin: 0 0 6px 0;

  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;

  color: rgba(242,196,114,0.92);
  text-shadow: 0 1px 2px rgba(0,0,0,0.70);
}

.mhg-home-popular-premium__name{
  display: block;

  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;

  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 2px rgba(0,0,0,0.70);
}

/* =========================================================
   HOME — Section premium "Espace en ligne"
   (grand public, courte, cohérente premium)
   ========================================================= */

.mhg-home-online-premium{
  margin: 18px 0;
  padding: 0 !important;
  border-radius: 14px;
  overflow: hidden;
  position: relative;

  background-image: url("https://www.cours-de-guitare-montpellier.fr/wp-content/uploads/2026/01/outils.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;

  border: 1px solid rgba(0,0,0,0.10);
}

/* voile doux */
.mhg-home-online-premium::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;

  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.40) 50%,
    rgba(0,0,0,0.18) 80%,
    rgba(0,0,0,0.08) 100%
  );
  z-index: 0;
}

.mhg-home-online-premium__inner{
  position: relative;
  z-index: 1;
  padding: 16px 16px;
  max-width: 720px;
}

.mhg-home-online-premium__title{
  margin: 0 0 8px 0;
  color: rgba(255,255,255,0.95);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0,0,0,0.70);
}

.mhg-home-online-premium__intro{
  margin: 0 0 14px 0;
  color: rgba(255,255,255,0.88);
  line-height: 1.55;
  text-shadow: 0 1px 2px rgba(0,0,0,0.60);
}

/* highlights (sans gap) */
.mhg-home-online-premium__highlights{
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 14px 0;
}

.mhg-home-online-premium__item{
  width: 48%;
  margin: 0 2% 10px 0;
  padding: 10px 10px;

  background: rgba(0,0,0,0.32);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;

  color: rgba(255,255,255,0.92);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0,0,0,0.65);
}

.mhg-home-online-premium__cta{
  margin: 0;
}

.mhg-home-online-premium__btn{
  display: inline-block;
  margin: 0 8px 8px 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.mhg-home-online-premium__btn:hover{
  transform: translateY(-1px);
}

.mhg-home-online-premium__btn--primary{
  background: #BA8225;
  color: #fff;
}

.mhg-home-online-premium__btn--primary:hover{
  background: #8C692A;
}

.mhg-home-online-premium__btn--secondary{
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.18);
}

.mhg-home-online-premium__btn--secondary:hover{
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.25);
}

/* =========================================================
   UI — Premium kicker (icône + micro-texte)
   ========================================================= */

.mhg-premium-kicker{
  display: inline-block;
  margin: 0 0 8px 0;
  padding: 3px 10px;

  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: rgba(255,255,255,0.95);
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(242,196,114,0.28);

  text-shadow: 0 1px 2px rgba(0,0,0,0.70);
}
/* =========================================================
   CTA premium (discret) — bas de page Ressources / Outils
   ========================================================= */

.mhg-cta-premium{
  margin: 18px 0 0 0;
  padding: 14px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
}

.mhg-cta-premium__title{
  margin: 0 0 8px 0;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #2b2b2b;
}

.mhg-cta-premium__links{
  margin: 0;
  padding: 0;
}

.mhg-cta-premium__link{
  display: block;
  margin: 0 0 6px 0;
  padding: 10px 12px;

  border-radius: 10px;
  text-decoration: none !important;

  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);

  font-weight: 800;
  color: #2b2b2b;

  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.mhg-cta-premium__link:hover{
  transform: translateY(-1px);
  border-color: rgba(186,130,37,0.30);
  box-shadow: 0 8px 18px rgba(0,0,0,0.10);
}

.mhg-cta-premium__arrow{
  display: inline-block;
  margin-right: 8px;
  color: #BA8225;
  font-weight: 900;
}

.mhg-cta-premium__link:last-child{
  margin-bottom: 0;
}
/* Variante : CTA premium discret (1 seul lien) */
.mhg-cta-premium--single .mhg-cta-premium__link{
  background: rgba(255,255,255,0.85);
  box-shadow: none;
}

.mhg-cta-premium--single .mhg-cta-premium__link:hover{
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

/* =========================================================
   Page HUB — Outils (sections propres et lisibles)
   ========================================================= */

.mhg-tools-hub{
  margin: 16px 0;
  padding: 14px 14px;
  background: #f7f4ef;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
}

.mhg-tools-hub h2{
  margin-top: 0;
}

.mhg-tools-hub ul{
  margin: 10px 0 0 0;
}
/* =========================================================
   Mini-liens premium (sans boutons)
   ========================================================= */

.mhg-mini-links{
  margin: 10px 0 0 0;
}

.mhg-mini-links__link{
  display: block;
  margin: 0 0 6px 0;

  color: #2b2b2b;
  font-weight: 800;
  text-decoration: none !important;

  transition: transform .15s ease, color .15s ease;
}

.mhg-mini-links__link:hover{
  transform: translateX(2px);
  color: #8C692A;
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
}

.mhg-mini-links__link:last-child{
  margin-bottom: 0;
}

/* =====================
   FAQ – Hero Premium (contraste élevé)
   ===================== */

.mhg-home-hero-premium__faq {
  margin-top: 26px;
  padding: 16px 18px;
  max-width: 680px;

  background: #f6e7d0; /* fond clair site */
  border-radius: 10px;
  border: 1px solid rgba(140,105,42,0.25);
}

.mhg-home-hero-premium__faq-title {
  margin: 0 0 10px 0;
  font-size: 1rem;
  font-weight: 800;
  color: #331c05; /* brun foncé */
  letter-spacing: 0.02em;
}

.mhg-home-hero-premium__faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mhg-home-hero-premium__faq-list li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4a2e10; /* texte principal */
}

.mhg-home-hero-premium__faq-list strong {
  font-weight: 800;
  color: #331c05;
}
