/* Décors professionnels du sur-titre.
   Toutes les variantes reprennent automatiquement la couleur d'accent du modèle. */
/* Le sur-titre a une largeur ajustée à son contenu. Son alignement doit donc
   déplacer le bloc lui-même, pas seulement aligner le texte à l'intérieur. */
body[data-home-layout] #heroEyebrow[style*="text-align: left"]{align-self:flex-start!important}
body[data-home-layout] #heroEyebrow[style*="text-align: center"]{align-self:center!important}
body[data-home-layout] #heroEyebrow[style*="text-align: right"]{align-self:flex-end!important}
body[data-home-layout] #heroEyebrow[data-eyebrow-style]:not([data-eyebrow-style="model"]){
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.72em!important;
  width:fit-content!important;
  max-width:calc(100% - 12px)!important;
  min-width:0!important;
  margin-bottom:10px!important;
  padding:.4em .66em!important;
  color:inherit;
  line-height:1.2!important;
  text-align:center!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body[data-home-layout] #heroEyebrow[data-eyebrow-style]:not([data-eyebrow-style="model"]) #heroEyebrowText{
  display:block;
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
  text-wrap:balance;
}
body[data-home-layout] #heroEyebrow[data-eyebrow-style]:not([data-eyebrow-style="model"])::before,
body[data-home-layout] #heroEyebrow[data-eyebrow-style]:not([data-eyebrow-style="model"])::after{
  position:relative!important;
  inset:auto!important;
  flex:0 0 auto;
  width:auto!important;
  height:auto!important;
  color:var(--eyebrow-decor,var(--home-presentation-primary));
  background:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  transform:none;
}

/* 1 — Deux traits nets, comme un cartouche éditorial. */
body[data-home-layout] #heroEyebrow[data-eyebrow-style="lines"]::before,
body[data-home-layout] #heroEyebrow[data-eyebrow-style="lines"]::after{content:"";width:2.4em!important;height:2px!important;border-radius:8px!important;background:var(--eyebrow-decor,var(--home-presentation-primary))!important;box-shadow:0 0 12px color-mix(in srgb,var(--eyebrow-decor) 48%,transparent)!important}

/* 2 — Étoiles lumineuses symétriques. */
body[data-home-layout] #heroEyebrow[data-eyebrow-style="stars"]::before,
body[data-home-layout] #heroEyebrow[data-eyebrow-style="stars"]::after{content:"✦";font-size:1.4em;line-height:1;text-shadow:0 0 12px color-mix(in srgb,var(--eyebrow-decor) 72%,transparent)}
body[data-home-layout] #heroEyebrow[data-eyebrow-style="stars"]::after{font-size:.92em}

/* 3 — Cadeaux, explicitement orienté jeu-concours. */
body[data-home-layout] #heroEyebrow[data-eyebrow-style="gifts"]::before,
body[data-home-layout] #heroEyebrow[data-eyebrow-style="gifts"]::after{content:"🎁";font-size:1.28em;line-height:1;filter:drop-shadow(0 3px 4px rgba(20,25,45,.2))}
body[data-home-layout] #heroEyebrow[data-eyebrow-style="gifts"]::before{transform:rotate(-8deg)}
body[data-home-layout] #heroEyebrow[data-eyebrow-style="gifts"]::after{transform:rotate(8deg)}

/* 4 — Étincelles fines, plus discrètes. */
body[data-home-layout] #heroEyebrow[data-eyebrow-style="sparkles"]::before{content:"✧ ✦";letter-spacing:.2em;font-size:1.12em}
body[data-home-layout] #heroEyebrow[data-eyebrow-style="sparkles"]::after{content:"✦ ✧";letter-spacing:.2em;font-size:1.12em}

/* 5 — Ruban contemporain. */
body[data-home-layout] #heroEyebrow[data-eyebrow-style="ribbon"]{padding:.55em 1.45em!important;color:var(--home-presentation-text)!important;background:color-mix(in srgb,var(--eyebrow-decor) 17%,var(--eyebrow-surface))!important;clip-path:polygon(0 0,94% 0,100% 50%,94% 100%,0 100%,6% 50%)!important}
body[data-home-layout] #heroEyebrow[data-eyebrow-style="ribbon"]::before{content:"◆";font-size:.62em}
body[data-home-layout] #heroEyebrow[data-eyebrow-style="ribbon"]::after{content:""}

/* 6 — Pastille compacte premium. */
body[data-home-layout] #heroEyebrow[data-eyebrow-style="pill"]{padding:.56em 1.05em!important;border:1px solid color-mix(in srgb,var(--eyebrow-decor) 55%,transparent)!important;border-radius:999px!important;background:color-mix(in srgb,var(--eyebrow-surface) 82%,transparent)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.62),0 8px 22px rgba(15,25,45,.1)!important;backdrop-filter:blur(10px)}
body[data-home-layout] #heroEyebrow[data-eyebrow-style="pill"]::before,
body[data-home-layout] #heroEyebrow[data-eyebrow-style="pill"]::after{content:"";width:5px!important;height:5px!important;border-radius:50%!important;background:var(--eyebrow-decor)!important}

/* 7 — Ticket de participation. */
body[data-home-layout] #heroEyebrow[data-eyebrow-style="ticket"]{padding:.58em 1.22em!important;border:2px dashed var(--eyebrow-decor)!important;background:color-mix(in srgb,var(--eyebrow-surface) 88%,transparent)!important;clip-path:polygon(0 0,100% 0,100% 32%,96% 50%,100% 68%,100% 100%,0 100%,0 68%,4% 50%,0 32%)}
body[data-home-layout] #heroEyebrow[data-eyebrow-style="ticket"]::before,
body[data-home-layout] #heroEyebrow[data-eyebrow-style="ticket"]::after{content:"★";font-size:.72em}

/* 8 — Couronne gagnante et filet de finition. */
body[data-home-layout] #heroEyebrow[data-eyebrow-style="crown"]{padding:.42em .9em .58em!important;border-bottom:2px solid var(--eyebrow-decor)!important}
body[data-home-layout] #heroEyebrow[data-eyebrow-style="crown"]::before{content:"♛";font-size:1.55em;line-height:.7}
body[data-home-layout] #heroEyebrow[data-eyebrow-style="crown"]::after{content:"";width:16px!important;height:2px!important;background:var(--eyebrow-decor)!important}

/* 9 — Confettis graphiques, sans animation envahissante. */
body[data-home-layout] #heroEyebrow[data-eyebrow-style="confetti"]::before{content:"● ◆";font-size:.75em;letter-spacing:.45em;transform:rotate(-9deg)}
body[data-home-layout] #heroEyebrow[data-eyebrow-style="confetti"]::after{content:"▲ ●";font-size:.7em;letter-spacing:.45em;transform:rotate(9deg)}

/* 10 — Losanges modernes pour les identités sobres. */
body[data-home-layout] #heroEyebrow[data-eyebrow-style="diamonds"]::before,
body[data-home-layout] #heroEyebrow[data-eyebrow-style="diamonds"]::after{content:"◇";font-size:1.55em;line-height:.8;text-shadow:9px 0 0 color-mix(in srgb,var(--eyebrow-decor) 38%,transparent)}
body[data-home-layout] #heroEyebrow[data-eyebrow-style="diamonds"]::after{text-shadow:-9px 0 0 color-mix(in srgb,var(--eyebrow-decor) 38%,transparent)}

@media(max-width:600px){
  body[data-home-layout] #heroEyebrow[data-eyebrow-style]:not([data-eyebrow-style="model"]){gap:.48em!important;max-width:calc(100% - 8px)!important;padding:.34em .48em!important}
  body[data-home-layout] #heroEyebrow[data-eyebrow-style="lines"]::before,
  body[data-home-layout] #heroEyebrow[data-eyebrow-style="lines"]::after{width:1.6em!important}
  body[data-home-layout] #heroEyebrow[data-eyebrow-style="ribbon"]{padding:.46em 1em!important}
  body[data-home-layout] #heroEyebrow[data-eyebrow-style="ticket"]{padding:.48em .85em!important}
}

/* Garde-fou : aucun thème ni décor ne doit pouvoir annuler « Afficher ». */
body[data-home-layout] #heroEyebrow[hidden]{display:none!important}
