/* ============================================================
   numero-names.css — extrait de styles.css le 2026-05-07
   Phase 3 (extraction CSS module-par-module).
   2 règles, ~14 lignes.
   Cut & paste pur — aucune simplification ni reformat.
   ============================================================ */

#numerologyNamesView.view.active {
  display: block !important;
  overflow: visible !important;
  height: auto !important;
}

@media (max-width: 640px) {
  #numerologyNamesView > img,
    #numerologyNamesView > video {
      max-height: 120px !important;
      width: auto !important;
      max-width: 100% !important;
      object-fit: contain !important;
      display: block !important;
      margin: 0 auto 10px !important;
    }
}


/* ============================================================
   NUMÉROLOGIE — NOMS, LIEUX & PROJETS — lifting premium
   Grammaire alignée tarot/astro/profil/cycles/karma
   2026-05-17
   ============================================================ */

/* === Vignette hero : équerres or === */
#numerologyNamesView #numNamesHeroImgWrap {
  position: relative !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.08) inset,
    0 0 32px rgba(212, 175, 55, 0.18),
    0 10px 30px rgba(0,0,0,0.8) !important;
  overflow: visible !important;
}
#numerologyNamesView #numNamesHeroImgWrap::before,
#numerologyNamesView #numNamesHeroImgWrap::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid #d4af37;
  pointer-events: none;
  z-index: 2;
}
#numerologyNamesView #numNamesHeroImgWrap::before {
  top: -6px; left: -6px; border-right: none; border-bottom: none;
}
#numerologyNamesView #numNamesHeroImgWrap::after {
  bottom: -6px; right: -6px; border-left: none; border-top: none;
}

/* === Titre principal === */
#numerologyNamesView .reading-header h2 {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  color: #d4af37 !important;
  font-weight: 500 !important;
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  margin: 8px 0 6px !important;
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.25) !important;
}
#numerologyNamesView .reading-header h2::before,
#numerologyNamesView .reading-header h2::after {
  content: "◆";
  display: inline-block;
  color: #d4af37;
  font-size: 0.5em;
  vertical-align: middle;
  margin: 0 0.6em;
  opacity: 0.75;
  font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
}
#numerologyNamesView .reading-subtitle {
  color: rgba(230, 210, 130, 0.75) !important;
  text-align: center !important;
  font-style: italic !important;
  letter-spacing: 0.04em !important;
  margin-bottom: 22px !important;
}

/* === Onglets Nom / Projet / Lieu : sober gold === */
#numerologyNamesView .numero-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 0 22px;
}
#numerologyNamesView .numero-tab {
  background: transparent !important;
  border: 1px solid rgba(212, 175, 55, 0.32) !important;
  color: rgba(212, 175, 55, 0.75) !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  padding: 9px 22px !important;
  border-radius: 999px !important;
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s !important;
}
#numerologyNamesView .numero-tab:hover {
  border-color: rgba(212, 175, 55, 0.65) !important;
  color: #d4af37 !important;
  background: rgba(212, 175, 55, 0.05) !important;
}
#numerologyNamesView .numero-tab.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.06)) !important;
  border-color: #d4af37 !important;
  color: #f0d97a !important;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.25) !important;
}

/* === FORM FRAME : cadre or + équerres autour de chaque tab content === */
#numerologyNamesView .numero-tab-content .field-block {
  position: relative !important;
  border: 1px solid rgba(212, 175, 55, 0.32) !important;
  border-radius: 14px !important;
  background: rgba(2, 6, 23, 0.55) !important;
  padding: 28px 26px 20px !important;
  margin: 0 auto 18px !important;
  max-width: 560px !important;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.06) inset,
    0 8px 32px rgba(0, 0, 0, 0.45) !important;
}
#numerologyNamesView .numero-tab-content .field-block::before,
#numerologyNamesView .numero-tab-content .field-block::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(212, 175, 55, 0.65);
  pointer-events: none;
}
#numerologyNamesView .numero-tab-content .field-block::before {
  top: 8px; left: 8px; border-right: none; border-bottom: none;
}
#numerologyNamesView .numero-tab-content .field-block::after {
  bottom: 8px; right: 8px; border-left: none; border-top: none;
}
#numerologyNamesView .field-title {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  color: #d4af37 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  font-size: 0.92rem !important;
  text-align: center !important;
  margin: 0 0 8px !important;
}
#numerologyNamesView .field-hint {
  color: rgba(230, 210, 130, 0.75) !important;
  text-align: center !important;
  font-style: italic !important;
  font-size: 0.88rem !important;
  margin: 0 0 16px !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
}
#numerologyNamesView .field-block label {
  color: rgba(212, 175, 55, 0.7) !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  letter-spacing: 0.1em !important;
  font-size: 0.78rem !important;
  text-transform: uppercase !important;
  display: block;
  margin-bottom: 6px;
}

/* Inputs override (les inputs ont du style inline malheureusement) */
#numerologyNamesView .field-block input[type="text"] {
  background: rgba(2, 6, 23, 0.55) !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  color: #e5e7eb !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 1rem !important;
  letter-spacing: 0.04em !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#numerologyNamesView .field-block input[type="text"]:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.65) !important;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.15);
}

/* === Boutons Analyser : outline gold serif === */
#numerologyNamesView .btn-primary {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.08)) !important;
  border: 1px solid rgba(212, 175, 55, 0.65) !important;
  color: #f0d97a !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  padding: 11px 26px !important;
  border-radius: 999px !important;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
#numerologyNamesView .btn-primary:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.28), rgba(212, 175, 55, 0.14)) !important;
  border-color: #d4af37 !important;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.35) !important;
}

/* Bouton Effacer (projet) */
#numerologyNamesView #numeroProjectClearBtn {
  background: transparent !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  color: rgba(212, 175, 55, 0.75) !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 8px 18px !important;
  border-radius: 999px !important;
  font-size: 0.85rem !important;
}
#numerologyNamesView #numeroProjectClearBtn:hover {
  border-color: rgba(212, 175, 55, 0.65) !important;
  color: #d4af37 !important;
}

/* === RÉSULTAT === */
#numerologyNamesView .numero-result-wrap {
  margin-top: 26px !important;
  max-width: 660px;
  margin-left: auto !important;
  margin-right: auto !important;
}
#numerologyNamesView .numero-result-title {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  color: #d4af37 !important;
  font-weight: 500 !important;
  font-size: 1.2rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  margin: 0 0 18px !important;
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.25);
}
#numerologyNamesView .numero-result-title::before,
#numerologyNamesView .numero-result-title::after {
  content: "◆";
  display: inline-block;
  margin: 0 0.7em;
  font-size: 0.6em;
  opacity: 0.75;
  font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
  vertical-align: middle;
}

/* Vibration tags */
#numerologyNamesView .numero-vibration-tags {
  text-align: center !important;
  margin-bottom: 18px;
}
#numerologyNamesView .vibration-label {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  color: #d4af37 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  font-size: 1rem !important;
  display: block;
  margin-bottom: 8px;
}
#numerologyNamesView .vibration-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
#numerologyNamesView .vibration-tag {
  background: rgba(2, 6, 23, 0.65) !important;
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
  border-radius: 999px !important;
  padding: 5px 14px !important;
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.04em !important;
}

/* Detail body (accordéons) */
#numerologyNamesView .numero-detail-intro {
  background: rgba(2, 6, 23, 0.5) !important;
  border-left: 2px solid rgba(212, 175, 55, 0.55) !important;
  border-radius: 0 8px 8px 0 !important;
  padding: 16px 20px 14px !important;
  margin-bottom: 12px !important;
  color: #e5e7eb;
}
#numerologyNamesView .numero-detail-intro p::first-letter,
#numerologyNamesView .reading-chapter-body p::first-letter {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: 2.2em;
  font-weight: 600;
  color: #d4af37;
  float: left;
  line-height: 0.95;
  margin: 4px 7px 0 0;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

/* Bouton Aller plus loin */
#numerologyNamesView .btn-go-deeper {
  display: block;
  margin: 18px auto 0;
  background: transparent !important;
  border: 1px solid rgba(212, 175, 55, 0.55) !important;
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  padding: 10px 24px !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s !important;
}
#numerologyNamesView .btn-go-deeper:hover {
  border-color: #d4af37 !important;
  background: rgba(212, 175, 55, 0.08) !important;
  color: #f0d97a !important;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.25) !important;
}

/* === Karma gauge (potentiel vibratoire) === */
#numerologyNamesView .karma-gauge-container {
  margin: 22px auto !important;
  max-width: 560px;
  padding: 18px 20px;
  background: rgba(2, 6, 23, 0.55) !important;
  border: 1px solid rgba(212, 175, 55, 0.28) !important;
  border-radius: 14px;
  position: relative;
}
#numerologyNamesView .karma-gauge-container::before,
#numerologyNamesView .karma-gauge-container::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(212, 175, 55, 0.6);
  pointer-events: none;
}
#numerologyNamesView .karma-gauge-container::before {
  top: 7px; left: 7px; border-right: none; border-bottom: none;
}
#numerologyNamesView .karma-gauge-container::after {
  bottom: 7px; right: 7px; border-left: none; border-top: none;
}
#numerologyNamesView .karma-gauge-label {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  color: #d4af37 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
#numerologyNamesView .karma-gauge-score {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  color: #f0d97a !important;
  font-weight: 600;
  font-size: 1.2rem;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}
#numerologyNamesView .karma-gauge-bar {
  height: 8px;
  background: rgba(2, 6, 23, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 999px;
  overflow: hidden;
}
#numerologyNamesView .karma-gauge-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #b8923a, #d4af37, #f0d97a) !important;
  transition: width 0.6s ease;
}
#numerologyNamesView .karma-tags-label {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  color: #d4af37 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-size: 0.78rem;
  display: block;
  margin-bottom: 6px;
}
#numerologyNamesView .karma-tag.strength {
  background: rgba(74, 222, 128, 0.1) !important;
  border: 1px solid rgba(74, 222, 128, 0.45) !important;
  color: #86efac !important;
}
#numerologyNamesView .karma-tag.challenge {
  background: rgba(212, 175, 55, 0.12) !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  color: #d4af37 !important;
}
#numerologyNamesView .karma-tag {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  border-radius: 999px !important;
  padding: 4px 12px !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.04em !important;
  display: inline-block;
  margin: 4px 4px 0 0;
}

/* === Calendrier dates favorables (mode PROJET) === */
#numerologyNamesView .calendar-section {
  margin-top: 22px;
}
#numerologyNamesView .calendar-section-title {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  color: #d4af37 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  font-size: 0.95rem !important;
  text-align: center !important;
  margin-bottom: 14px;
}
#numerologyNamesView .calendar-section-title::before {
  content: "◆";
  display: inline-block;
  margin-right: 0.5em;
  font-size: 0.7em;
  opacity: 0.7;
  vertical-align: middle;
  font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
}
#numerologyNamesView .calendar-container {
  position: relative !important;
  background: rgba(2, 6, 23, 0.7) !important;
  border: 1px solid rgba(212, 175, 55, 0.32) !important;
  border-radius: 14px !important;
  padding: 18px !important;
}
#numerologyNamesView .calendar-container::before,
#numerologyNamesView .calendar-container::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(212, 175, 55, 0.7);
  pointer-events: none;
}
#numerologyNamesView .calendar-container::before {
  top: 8px; left: 8px; border-right: none; border-bottom: none;
}
#numerologyNamesView .calendar-container::after {
  bottom: 8px; right: 8px; border-left: none; border-top: none;
}
#numerologyNamesView .calendar-legend-dot.perfect { background: #d4af37 !important; }
#numerologyNamesView .calendar-legend-dot.good { background: rgba(212,175,55,0.5) !important; }
#numerologyNamesView .calendar-day.perfect { background: rgba(212, 175, 55, 0.3) !important; color: #f0d97a !important; }
#numerologyNamesView .calendar-day.good { background: rgba(212, 175, 55, 0.15) !important; color: #d4af37 !important; }

/* === Onglets internes (reading-chapter du résultat) === */
#numerologyNamesView .reading-chapter {
  background: rgba(2, 6, 23, 0.55) !important;
  border: 1px solid rgba(212, 175, 55, 0.22) !important;
  border-radius: 10px !important;
  margin: 12px 0 !important;
  overflow: hidden;
}
#numerologyNamesView .reading-chapter-btn {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  padding: 14px 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 1rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  transition: color 0.2s !important;
}
#numerologyNamesView .reading-chapter-btn:hover {
  color: #f0d97a !important;
}
#numerologyNamesView .reading-chapter-label {
  flex: 1 !important;
  text-align: left !important;
}
#numerologyNamesView .reading-chapter-arrow {
  color: rgba(212, 175, 55, 0.7) !important;
  font-size: 0.75rem !important;
  margin-left: 12px !important;
  transition: transform 0.25s ease;
}
#numerologyNamesView .reading-chapter-btn[aria-expanded="true"] .reading-chapter-arrow {
  transform: rotate(180deg);
}
#numerologyNamesView .reading-chapter-body {
  padding: 8px 18px 16px !important;
  color: #e5e7eb;
}

/* === Force accordéon mode sur desktop (overrides la règle mobile-only des styles globaux) === */
#numerologyNamesView .reading-chapter-btn {
  display: flex !important;
}
#numerologyNamesView .reading-chapter-body {
  display: none !important;
}
#numerologyNamesView .reading-chapter-body.reading-chapter-open {
  display: block !important;
}

/* === Fix ◆ position dans le titre Analyse === */
#numerologyNamesView .numero-result-title {
  display: inline-block !important;
  width: auto !important;
  text-align: center !important;
}
#numerologyNamesView .numero-result-wrap > .numero-result-title {
  display: block !important;
}

/* === Fix calendrier : noms de classes réels = favorable-perfect / favorable-good === */
#numerologyNamesView .calendar-day.favorable-perfect {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.45), rgba(240, 217, 122, 0.3)) !important;
  color: #f0d97a !important;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.3) !important;
}
#numerologyNamesView .calendar-day.favorable-perfect:hover {
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.5) !important;
}
#numerologyNamesView .calendar-day.favorable-good {
  background: rgba(212, 175, 55, 0.15) !important;
  color: #d4af37 !important;
}
#numerologyNamesView .calendar-day.favorable-good:hover {
  background: rgba(212, 175, 55, 0.25) !important;
}
#numerologyNamesView .calendar-legend-dot.perfect {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.8), rgba(240, 217, 122, 0.6)) !important;
}
#numerologyNamesView .calendar-legend-dot.good {
  background: rgba(212, 175, 55, 0.4) !important;
}

/* === Title ◆ : positionnement simple inline === */
#numerologyNamesView .numero-result-wrap > .numero-result-title {
  display: block !important;
  text-align: center !important;
  width: 100% !important;
}
#numerologyNamesView .numero-result-title::before,
#numerologyNamesView .numero-result-title::after {
  display: inline !important;
  position: static !important;
  vertical-align: middle !important;
}

/* === Ouvre par défaut le premier accordéon === */
#numerologyNamesView .reading-chapter:first-of-type .reading-chapter-body {
  /* Reste fermé, on garde le comportement explicite. */
}
