/* ═══════════════════════════════════════════════════════════════════════
   css/modules/equilibres.css — Carte « Vos équilibres » du thème natal
   (2026-11-18) Éléments en anneau, modes en barre segmentée.
   Rendu : modules/natal/equilibres.js → rendreEquilibres(theme)
   Préfixe : .eq-*
   ═══════════════════════════════════════════════════════════════════════ */

.eq-carte { background: #fff; border: 1px solid var(--rf-trait, #E3DED2); border-radius: 14px; padding: clamp(1.1rem, 2.2vw, 1.8rem); margin: 0 0 1.5rem; box-shadow: var(--shadow-soft); }
.eq-surtitre { font-family: var(--sans); font-size: 0.75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rf-or-fonce, #8A5F12); margin: 0 0 .3rem; }
.eq-titre { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 600; color: var(--rf-navy, #0B1838); margin: 0 0 .6rem; }
.eq-intro { font-family: var(--sans); font-size: .95rem; line-height: 1.6; color: var(--rf-texte-2, #454859); margin: 0 0 1.2rem; }

.eq-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.2rem; }
.eq-bloc { background: var(--rf-ivoire, #F7F5EF); border-radius: 10px; padding: 1rem 1.1rem; }
.eq-bloc-titre { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--rf-navy, #0B1838); margin: 0 0 .8rem; }

.eq-graphe { display: flex; justify-content: center; margin: .2rem 0 .8rem; background: #fff; border-radius: 10px; padding: .6rem .4rem; }
.eq-anneau { width: 100%; max-width: 560px; height: auto; display: block; overflow: visible; }

.eq-legende { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-family: var(--sans); font-size: .9rem; color: var(--rf-texte, #1A1A2E); }
.eq-legende li { display: flex; align-items: center; gap: .5rem; }
.eq-legende strong { margin-left: auto; padding-left: .8rem; font-weight: 700; }
.eq-legende-ligne { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-bottom: .9rem; }
.eq-legende-ligne strong { margin-left: .3rem; padding-left: 0; }
.eq-pastille { width: .8rem; height: .8rem; border-radius: 50%; flex: 0 0 auto; }

.eq-barre { display: flex; height: 18px; border-radius: 9px; overflow: hidden; margin: .3rem 0 .7rem; gap: 2px; background: #fff; }
.eq-barre-part { display: block; min-width: 6px; }

.eq-texte { font-family: var(--sans); font-size: .92rem; line-height: 1.6; color: var(--rf-texte, #1A1A2E); margin: 0 0 .6rem; }
.eq-texte:last-child { margin-bottom: 0; }
.eq-compat-titre { display: block; font-family: var(--sans); font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rf-or-fonce, #8A5F12); margin-bottom: .15rem; }
.eq-synthese { font-family: var(--sans); font-size: .95rem; line-height: 1.6; color: var(--rf-texte, #1A1A2E); margin: 1.1rem 0 0; padding: .9rem 1.1rem; border-left: 3px solid var(--rf-or, #D8B365); background: var(--rf-ivoire, #F7F5EF); border-radius: 0 8px 8px 0; }

@media (max-width: 420px) { .eq-grille { grid-template-columns: 1fr; } }
@media print { .eq-carte { box-shadow: none; break-inside: avoid; } }

/* Graphique des éléments v2 (2026-11-18) : glyphes, étiquettes, centre */
.eq-glyphe { font-family: "DejaVu Sans", "Segoe UI Symbol", var(--sans), sans-serif; font-size: 30px; }
.eq-etiq-nom { font-family: var(--serif); font-size: 23px; font-weight: 600; fill: var(--rf-navy, #0B1838); }
.eq-etiq-nb { font-family: var(--sans); font-size: 15px; fill: var(--rf-texte-2, #454859); }
.eq-centre-nom { font-family: var(--serif); font-size: 34px; font-weight: 600; fill: var(--rf-navy, #0B1838); }
.eq-centre-leg { font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; fill: var(--rf-or-fonce, #8A5F12); }
.eq-absents { font-family: var(--sans); font-size: .85rem; color: var(--rf-texte-2, #454859); text-align: center; margin: -.3rem 0 .8rem; }
@media (max-width: 540px) {
  .eq-carte { padding: 1rem .8rem; }
  .eq-bloc { padding: .9rem .6rem; }
  .eq-graphe { padding: .3rem 0; margin-left: -.2rem; margin-right: -.2rem; }
  .eq-etiq-nb { font-size: 17px; }
  .eq-etiq-nom { font-size: 26px; }
}
.eq-etiq-pct { font-family: var(--sans); font-size: 16px; font-weight: 700; fill: var(--rf-or-fonce, #8A5F12); }
.eq-centre-leg { font-size: 12px; }

/* Infobulle des glyphes de planètes (2026-11-18) */
.eq-glyphe[data-info] { cursor: help; outline: none; }
.eq-glyphe[data-info]:hover, .eq-glyphe[data-info]:focus { font-weight: 700; }
.eq-infobulle { position: absolute; z-index: 1000; transform: translate(-50%, -100%); pointer-events: none; opacity: 0; transition: opacity .12s ease; background: var(--rf-navy, #0B1838); color: #fff; font-family: var(--sans); font-size: .85rem; font-weight: 600; white-space: nowrap; padding: .35rem .65rem; border-radius: 6px; border: 1px solid var(--rf-or, #D8B365); box-shadow: 0 6px 16px rgba(11, 24, 56, .2); }
.eq-infobulle::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--rf-navy, #0B1838); }
.eq-infobulle-visible { opacity: 1; }
@media print { .eq-infobulle { display: none; } }

/* Note « masculin / féminin » des polarités (2026-11-18) */
.eq-note-genre { font-size: 0.875rem !important; color: var(--rf-texte-2, #454859) !important; font-style: italic; }
