/* V2.21 — passe « pro » : une seule hiérarchie, même esprit que la table du tarot.
   En-tête de page = bandeau nuit étoilé pleine largeur ; contenu sur fond crème uni ; un seul niveau de cartes. */
:root{--nuit-1:#1b0a33;--nuit-2:#2a1150;--nuit-3:#3a1a6b;--or-clair:#F3D58A;--carte-pro:#FFFDF9;--bord-pro:rgba(217,164,65,.30);--ombre-pro:0 6px 18px rgba(62,24,104,.08),0 1px 2px rgba(62,24,104,.06)}
html{background:var(--nuit-1)}
body{background:var(--page,#FBF1EC)!important}
/* 1. la « carte de page » disparaît : le contenu respire sur le fond */
main :is(.container:has(>h1,>.tarot-hero),.articlecontent:has(>h1)),main .pg:has(>h1){
  background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
/* 2. en-tête de page : bandeau nuit étoilé + lueur dorée */
main :is(.container:has(>h1,>.tarot-hero),.articlecontent:has(>h1))>h1,main .pg>h1{
  position:relative;color:#FFF3D6!important;border-bottom:0!important;text-shadow:0 2px 12px rgba(10,3,25,.6);
  isolation:isolate;
  background:radial-gradient(120% 95% at 50% 130%,#6a4552 0%,#4a2660 32%,#3a1a6b 58%,#2a1150 100%)!important;
  box-shadow:0 12px 30px rgba(36,16,74,.22)}
main :is(.container:has(>h1,>.tarot-hero),.articlecontent:has(>h1))>h1 :is(img,svg){filter:drop-shadow(0 0 8px rgba(243,213,138,.5))}
/* 3. un seul niveau de cartes, toutes identiques */
main :is(.container:has(>h1),.articlecontent:has(>h1),.pg:has(>h1))>:is(.verdict-first,.note,.horoscope-bloc,.me-bloc,.faq-horoscope,.outil-heures,.content-links,.ciel-resume,.panel,.couples,section.hj-bloc){
  background:var(--carte-pro)!important;border:1px solid var(--bord-pro)!important;border-left-width:1px!important;border-radius:18px!important;box-shadow:var(--ombre-pro)!important;padding:20px 18px!important;margin:0 0 16px!important}
main .horoscope-bloc .hj-case,main .horoscope-bloc .hj-chiffres{background:#FBF5EC!important;border:0!important;box-shadow:none!important;border-radius:14px!important;padding:14px 14px 10px!important;margin:12px 0!important}
main .faq-horoscope>h2:first-child,main .me-bloc>h2:first-child,main .content-links>h2:first-child,main .outil-heures>h2:first-child{margin-top:0!important}
/* intro sous le bandeau */
main :is(.container:has(>h1),.articlecontent:has(>h1))>:is(.lede,.me-note:first-of-type),main .pg>.intro{color:#3D2A5C!important;text-align:center;max-width:60ch;margin:0 auto 20px!important}
main .ciel-resume{text-align:center}
/* titres de section : même ornement partout */
main :is(.container:has(>h1),.articlecontent:has(>h1),.pg:has(>h1)) h2{color:#2a1150}
/* liens « bouton » : cibles pleines */
main .signes-grille a,main .liens-maillage a{border-radius:16px!important}
/* 4. pied de page : il descend jusque sous la barre d'onglets (plus de bande crème orpheline) */
@media (max-width:900px){
  /* fil d'Ariane fondu dans le bandeau : un simple bouton retour doré */
  main>nav.lh-fil{background:var(--nuit-2)!important;border:0!important;margin:0!important;padding:8px 12px 0!important}
  main>nav.lh-fil .lh-in{background:transparent!important}
  main>nav.lh-fil ol{display:none!important}
  main>nav.lh-fil .lh-retour{display:inline-flex!important;align-items:center;gap:6px;min-height:48px;padding:0 16px!important;border-radius:999px!important;
    background:rgba(255,255,255,.06)!important;border:1px solid rgba(217,164,65,.45)!important;color:var(--or-clair)!important;font-size:16px!important;text-decoration:none!important;box-shadow:none!important}
  main :is(.container:has(>h1,>.tarot-hero),.articlecontent:has(>h1)),main .pg:has(>h1){margin:0!important;padding:0 16px 24px!important;max-width:none!important;width:auto!important;box-sizing:border-box!important}
  main :is(.container:has(>h1,>.tarot-hero),.articlecontent:has(>h1))>h1,main .pg>h1{
    margin:0 -16px 20px!important;padding:14px 20px 26px!important;border-radius:0 0 28px 28px!important;font-size:28px!important}
  main :is(.container:has(>h1),.articlecontent:has(>h1),.pg:has(>h1))>:is(.verdict-first,.note,.horoscope-bloc,.me-bloc,.faq-horoscope,.outil-heures,.content-links,.ciel-resume,.panel,.couples){padding:18px 16px!important}
  main .horoscope-bloc{padding:14px 14px!important}
  body{padding-bottom:0!important}
  main>:is(section.section,article.article,div.section){padding-top:0!important;margin-top:0!important}
  main>nav.lh-fil+*{margin-top:0!important}
  footer.lf{padding-bottom:calc(var(--tab-h,64px) + 24px + env(safe-area-inset-bottom,0px))!important}
}
@media (min-width:901px){
  main :is(.container:has(>h1,>.tarot-hero),.articlecontent:has(>h1))>h1,main .pg>h1{border-radius:24px!important;margin:8px -44px 26px!important}
}

main .signature-auteur{line-height:1.6!important;text-align:center;margin:0 auto 12px!important}
main .signature-auteur *{line-height:inherit!important}
main .outil-heures .horloge-miroirs{background:radial-gradient(120% 90% at 50% 120%,#5a3c47 0%,#3a1a6b 50%,#2a1150 100%)!important;background-color:#2a1150!important;color:#FFF3D6!important;border:0!important;box-shadow:none!important;border-radius:16px!important}
main .outil-heures .horloge-miroirs *{color:inherit}
main .outil-heures .horloge-miroirs .horloge-chiffres{color:#FFF3D6!important}
main .outil-heures .horloge-miroirs.is-special .horloge-chiffres{color:#F3D58A!important}
main .outil-heures .horloge-miroirs a{display:inline-flex!important;align-items:center;min-height:48px;color:#F3D58A!important}
/* accueil : les panneaux ne sont plus des boîtes dans des boîtes */
@media (max-width:900px){
  main .ac-bas .panneau{background:transparent!important;border:0!important;box-shadow:none!important;padding:8px 0 0!important}
  main .ac-bas .panneau-tete h2{color:#2a1150;font-size:24px}
  main .ac-bas .mag-art{background:var(--carte-pro)!important;border:1px solid var(--bord-pro)!important;box-shadow:var(--ombre-pro)!important;border-radius:16px!important}
  main .ac-autres-titre{color:#2a1150}
  main .ac-bas .panneau+.panneau{margin-top:12px}
}
main :is(.container:has(>h1,>.tarot-hero),.articlecontent:has(>h1))>h1,main .pg>h1{background-color:var(--nuit-2)!important}
main :is(.container:has(>h1,>.tarot-hero),.articlecontent:has(>h1))>h1::before,main .pg>h1::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;
  background:radial-gradient(1.2px 1.2px at 12% 22%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 28% 12%,#FFE8A0 50%,transparent 51%),
   radial-gradient(1.3px 1.3px at 47% 30%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 66% 14%,#fff 50%,transparent 51%),
   radial-gradient(1.5px 1.5px at 83% 28%,#FFE8A0 50%,transparent 51%),radial-gradient(1px 1px at 93% 62%,#fff 50%,transparent 51%),
   radial-gradient(1px 1px at 7% 70%,#fff 50%,transparent 51%),radial-gradient(1.2px 1.2px at 38% 78%,#FFE8A0 50%,transparent 51%)}

/* V2.21c — version ordinateur : une colonne de lecture, un seul fil d'Ariane, même départ partout */
@media (min-width:901px){
  .lh-fil .lh-retour{display:none!important}
  main>section.section,main>article.article{padding-top:0!important}
  main :is(.container:has(>h1,>.tarot-hero),.articlecontent:has(>h1)),main .pg:has(>h1){max-width:868px!important;margin:28px auto 0!important;padding-left:24px!important;padding-right:24px!important;box-sizing:border-box}
  main :is(.container:has(>h1,>.tarot-hero),.articlecontent:has(>h1),.pg:has(>h1))>h1{margin:0 0 28px!important;width:auto!important}
  html body main .container:not(.article,.articlecontent):has(>h1){max-width:1040px!important}
  html body main :is(.container.article:has(>h1),.articlecontent:has(>h1),.pg:has(>h1))>:not(h1,.zz-pro){max-width:820px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
  main :is(.container.article:has(>h1),.articlecontent:has(>h1),.pg:has(>h1)) :is(p,li){max-width:75ch!important}
  main :is(.container.article:has(>h1),.articlecontent:has(>h1),.pg:has(>h1)) :is(p,li)[style*="center"],main :is(.container.article,.articlecontent,.pg)>p{margin-left:auto;margin-right:auto}
}
