/* ============================================================
   STÉPHANE GAGNARD — Astrologue
   Direction artistique : éditorial-tech, monochrome froid,
   typographie massive, grilles visibles, meta-labels.
   ============================================================ */

:root {
  /* ---- Palette V2 — nuit bleue + or antique + parchemin ---- */
  --black:        #0B1020;       /* nuit bleue profonde (ex-#0A0A0A) */
  --black-soft:   #121831;       /* surface surélevée 1 */
  --black-elev:   #1A2240;       /* surface surélevée 2 */
  --surface:      #1F2848;       /* troisième niveau */
  --indigo:       #2C3A66;       /* accent indigo secondaire */

  --white:        #F3EBD9;       /* parchemin chaud (ex-off-white froid) */
  --white-dim:    #C7BBA1;       /* texte secondaire */
  --white-mute:   #867C66;       /* métadonnées */
  --dim:          #5A5346;

  --accent:       #C8A25C;       /* or antique (ex-ambre #E8964A) */
  --accent-dim:   #8E6D2E;       /* or sombre */
  --accent-bright:#E4C07E;       /* or clair — hover / highlights */

  --cream:        #F3ECD7;       /* parchemin pour bande manifeste */
  --cream-deep:   #E8DFCB;
  --rust:         #A14932;       /* rouille — usage rare, boutons destructifs */

  --line:         rgba(243, 235, 217, 0.10);
  --line-strong:  rgba(243, 235, 217, 0.22);
  --line-vivid:   rgba(243, 235, 217, 0.35);
  --line-gold:    rgba(200, 162, 92, 0.35);

  /* ---- Typography V2 — Fraunces + Hanken Grotesk + IBM Plex Mono ---- */
  --serif: 'Fraunces', 'Cormorant Garamond', 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --mono:  'IBM Plex Mono', 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* ---- Rhythm ---- */
  --max-width: 1440px;
  --text-width: 680px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(5rem, 10vw, 9rem);
  --radius: 2px;
  --radius-none: 0;
  --transition: 0.35s cubic-bezier(0.2, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

/* ============================================================
   Reset + base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--white);
  background: var(--black);
  min-height: 100vh;
  overflow-x: hidden;
  letter-spacing: 0.002em;
  position: relative;
}
::selection { background: var(--accent); color: var(--black); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; color: inherit; }

/* ============================================================
   V2 — Atmosphère : grain de parchemin + aurora bleu/or subtil
   ============================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 0.95 0 0 0 0 0.82 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: screen;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(200, 162, 92, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 88% 75%, rgba(44, 58, 102, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(161, 73, 50, 0.04) 0%, transparent 50%);
}
main, nav, footer, header { position: relative; z-index: 2; }

/* ============================================================
   Starfield — masqué en V2 (remplacé par vidéo hero + cosmogrammes)
   ============================================================ */
#starfield {
  display: none;           /* désactivé en V2 */
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

/* ============================================================
   Layout primitives
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}
.container.narrow { max-width: var(--text-width); }
section { padding: var(--section-y) 0; position: relative; }
section + section::before {
  content: '';
  position: absolute;
  top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: var(--line);
}

/* ============================================================
   Typography
   ============================================================ */
.display,
.hero-title,
h1.hero {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.4rem, 9vw, 8.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  font-variation-settings: 'opsz' 144, 'SOFT' 50, 'WONK' 1;
}
.display em, .hero-title em, h1.hero em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-bright);
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
}

h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144, 'SOFT' 50, 'WONK' 1;
}
h1 em { color: var(--accent-bright); font-weight: 400; font-variation-settings: 'opsz' 144, 'SOFT' 100; }

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-variation-settings: 'opsz' 96, 'SOFT' 50, 'WONK' 1;
}
h2 em { color: var(--accent-bright); font-weight: 400; font-variation-settings: 'opsz' 96, 'SOFT' 100; }

h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--white);
  font-variation-settings: 'opsz' 48, 'SOFT' 30;
}
h3 em { color: var(--accent-bright); font-weight: 400; font-variation-settings: 'opsz' 72, 'SOFT' 100; }

h4 {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.72rem;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white-mute);
}

p { margin: 0 0 1rem; color: var(--white-dim); font-size: 0.98rem; line-height: 1.7; }
p.lead {
  color: var(--white-dim);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.5;
  max-width: 640px;
  font-variation-settings: 'opsz' 72, 'SOFT' 50;
}
strong { color: var(--white); font-weight: 500; }
em {
  color: var(--accent-bright);
  font-style: italic;
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: 'opsz' 72, 'SOFT' 100;
}
blockquote {
  border-left: 2px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2.5rem 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 300;
  color: var(--white);
  line-height: 1.45;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
}
blockquote em { color: var(--accent-bright); font-style: normal; font-weight: 500; }

/* ---- Meta labels (petites capitales tech) ---- */
.meta-label,
.eyebrow {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-mute);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.meta-label::before,
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.meta-label.no-line::before,
.eyebrow.no-line::before { display: none; }

.meta-code {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--white-mute);
  text-transform: uppercase;
}
.section-counter {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--white-mute);
  display: inline-block;
}

/* ---- Utils ---- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; } .mt-5 { margin-top: 4rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2.5rem; } .mb-5 { margin-bottom: 4rem; }

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 32, 0.85);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line);
  transition: background var(--transition), border-color var(--transition);
}
/* Quand le menu mobile est ouvert : nav au-dessus, transparente,
   pour que le bouton « croix » reste cliquable au-dessus du panneau */
body.nav-open .site-nav {
  z-index: 60;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  gap: 2rem;
}
.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--white);
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  font-variation-settings: 'opsz' 48, 'SOFT' 50;
}
.brand em {
  color: var(--accent);
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  font-variation-settings: normal;
}
.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white-dim);
  font-weight: 400;
  position: relative;
  padding: 0.4rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-links a::before {
  content: '';
  width: 3px; height: 3px;
  background: transparent;
  border-radius: 50%;
  transition: background var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::before,
.nav-links a.active::before {
  background: var(--accent);
}

/* Pousser un item du menu tout à droite (À propos) */
.nav-links li.nav-right {
  margin-left: auto;
  padding-left: 2rem;
  position: relative;
}
.nav-links li.nav-right::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.16);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  padding: 4px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
  z-index: 60;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.32s cubic-bezier(0.2, 0, 0.2, 1),
              opacity 0.18s ease;
  transform-origin: center;
}
/* Hamburger → croix quand menu ouvert */
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================================
   Section headers (avec numéro + label + rule)
   ============================================================ */
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  padding-bottom: 2.5rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-head-left { display: flex; flex-direction: column; gap: 0.8rem; }
.section-head-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--white-mute);
  text-transform: uppercase;
}
.section-head h2 { max-width: 900px; }

/* ============================================================
   Hero (page d'accueil)
   ============================================================ */
.page-hero {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(5rem, 9vw, 8rem);
  position: relative;
  border-bottom: 1px solid var(--line);
}
.page-hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--white-mute);
  text-transform: uppercase;
}
.page-hero-meta > *:nth-child(2) { text-align: center; }
.page-hero-meta > *:nth-child(3) { text-align: right; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: end;
}
.hero-title-wrap { position: relative; }
.hero-title-wrap .hero-index {
  position: absolute;
  top: -0.3em;
  right: 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}
.hero-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero-sub .hero-lead {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.55;
  font-weight: 300;
  color: var(--white-dim);
  max-width: 540px;
}
.hero-sub .hero-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-self: end;
}
.hero-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.hero-spec-value {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-spec-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--white-mute);
  text-transform: uppercase;
}
.hero-actions {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   Page headers (pages intérieures)
   ============================================================ */
.page-header {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-header-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--white-mute);
  text-transform: uppercase;
}
.page-header-meta .middle-line {
  height: 1px;
  background: var(--line);
}
.page-header h1 {
  max-width: 14ch;
  margin-bottom: 2rem;
}
.page-header p.lead {
  max-width: 620px;
  color: var(--white-dim);
}

/* ============================================================
   Boutons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.2, 0, 0.2, 1);
  z-index: -1;
}
.btn:hover {
  color: var(--black);
  border-color: var(--white);
}
.btn:hover::after {
  transform: translateY(0);
}
.btn-primary {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent);
}
.btn-primary::after { background: var(--white); }
.btn-primary:hover {
  color: var(--black);
  background: var(--accent);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--white-dim);
}
.btn-ghost:hover { color: var(--black); }
.btn-large { padding: 1.1rem 2.2rem; font-size: 0.8rem; }
.btn-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--white);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line-strong);
  transition: all var(--transition);
}
.btn-arrow::after {
  content: '→';
  transition: transform var(--transition);
}
.btn-arrow:hover { color: var(--accent); border-color: var(--accent); }
.btn-arrow:hover::after { transform: translateX(6px); }

/* ============================================================
   Méthode : les 3 lignées
   ============================================================ */
.lineage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lineage-card {
  padding: 3rem 2rem;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  transition: background var(--transition);
}
.lineage-card:last-child { border-right: none; }
.lineage-card:hover { background: var(--black-soft); }
.lineage-card .lineage-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}
.lineage-card h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.lineage-card p { margin: 0; font-size: 0.9rem; color: var(--white-dim); }

/* ============================================================
   Packs
   ============================================================ */
.packs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.pack-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  transition: background var(--transition);
  min-height: 480px;
}
.pack-card:last-child { border-right: none; }
.pack-card.featured {
  background: var(--black-soft);
}
.pack-card:hover { background: var(--black-elev); }

.pack-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.pack-tier {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}
.pack-price {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.pack-card h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.8rem;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.pack-pitch {
  font-size: 0.95rem;
  color: var(--white-dim);
  line-height: 1.55;
  margin: 0;
}
.pack-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: auto 0 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pack-features li {
  font-size: 0.85rem;
  color: var(--white-dim);
  padding-left: 1.2rem;
  position: relative;
}
.pack-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7em;
  width: 6px; height: 1px;
  background: var(--accent);
}

/* ============================================================
   Articles (liste + card)
   ============================================================ */
.articles-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.article-row {
  display: grid;
  grid-template-columns: 80px 110px 1fr auto;
  gap: 2rem;
  padding: 2rem 0.5rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background var(--transition), padding var(--transition);
}
.article-row:hover {
  background: var(--black-soft);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.article-row .article-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--white-mute);
  padding-top: 0.3rem;
}
.article-row .article-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 0.3rem;
}
.article-row .article-body h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}
.article-row .article-body p {
  font-size: 0.9rem;
  color: var(--white-dim);
  margin: 0;
  max-width: 620px;
}
.article-row .article-date {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--white-mute);
  padding-top: 0.4rem;
  text-align: right;
  min-width: 7ch;
}

/* Single article */
.article-full {
  padding: 4rem 0;
  max-width: 680px;
}
.article-full .article-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.article-full .article-header h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 1rem 0;
}
.article-full .article-header .meta-row {
  display: flex;
  gap: 1.5rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-mute);
}
.article-full .article-header .meta-row .tag { color: var(--accent); }
.article-body h2 {
  margin: 3rem 0 1rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.9rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.article-body h3 {
  margin: 2.2rem 0 0.8rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
}
.article-body p { font-size: 1.02rem; line-height: 1.75; color: var(--white-dim); margin-bottom: 1.3rem; }
.article-body ul, .article-body ol { margin: 1rem 0 1.5rem 1.5rem; color: var(--white-dim); }
.article-body li { margin-bottom: 0.4rem; line-height: 1.65; }
.article-body a { color: var(--accent); border-bottom: 1px solid var(--accent-dim); }
.article-body a:hover { color: var(--white); border-color: var(--white); }
.article-body code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--black-elev);
  padding: 0.1em 0.4em;
  border-radius: 2px;
  color: var(--white);
}
.article-body hr { margin: 2.5rem 0; border: none; border-top: 1px solid var(--line); }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
.contact-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 280px;
}
.contact-card:last-child { border-right: none; }
.contact-card h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.8rem;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.contact-card .eyebrow { margin-bottom: 0.5rem; }
.contact-card p { margin: 0 0 1.5rem; font-size: 0.93rem; color: var(--white-dim); }
.contact-card .btn { margin-top: auto; align-self: start; }
.contact-card .btn-row { margin-top: auto; }

/* Divider */
.divider {
  height: 1px;
  background: var(--line);
  width: 100%;
}

/* ============================================================
   Newsletter form
   ============================================================ */
.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  max-width: 520px;
  border: 1px solid var(--line-strong);
}
.newsletter-form input[type="email"] {
  padding: 1rem 1.2rem;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
}
.newsletter-form input[type="email"]::placeholder { color: var(--white-mute); }
.newsletter-form .btn {
  border: none;
  border-left: 1px solid var(--line-strong);
  padding: 1rem 1.8rem;
}

/* ============================================================
   Formulaire de naissance (theme.html)
   ============================================================ */
.birth-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  padding: 3rem 2.5rem;
  border: 1px solid var(--line-strong);
  background: var(--black-soft);
  position: relative;
}
.birth-form::before {
  content: 'FORM-01 / NATAL-INPUT';
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  background: var(--black);
  padding: 0 0.6rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}
.form-group label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--white-mute);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.form-group label em {
  font-style: normal;
  color: var(--dim);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.75rem;
  font-family: var(--sans);
}
.form-group input {
  background: var(--black);
  border: 1px solid var(--line);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color var(--transition);
  border-radius: 0;
}
.form-group input:focus { border-color: var(--accent); }
.form-group input::placeholder { color: var(--dim); }
.form-hint {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--white-mute);
  line-height: 1.4;
  margin-top: 0.15rem;
}
.form-legal { text-align: center; color: var(--white-mute); font-size: 0.78rem; margin: 0; }
.form-legal small { opacity: 0.85; }

/* Place autocomplete */
.place-autocomplete { position: relative; }
.place-suggestions {
  list-style: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--black-elev);
  border: 1px solid var(--line-strong);
  max-height: 280px;
  overflow-y: auto;
  z-index: 10;
  display: none;
}
.place-suggestions.is-open { display: block; }
.place-suggestions li {
  padding: 0.7rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--white-dim);
  border-bottom: 1px solid var(--line);
  transition: all var(--transition);
}
.place-suggestions li:last-child { border-bottom: none; }
.place-suggestions li:hover {
  background: var(--surface);
  color: var(--white);
  padding-left: 1.3rem;
}

/* Result */
.result-section {
  display: none;
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
}
.result-section.is-visible { display: block; }
.result-preview-wrap {
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.big-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2.5rem;
  border: 1px solid var(--line-strong);
}
.big-3-item {
  padding: 2.5rem 1.5rem;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
}
.big-3-item:last-child { border-right: none; }
.big-3-symbol {
  font-family: var(--serif);
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.big-3-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--white-mute);
  text-transform: uppercase;
}
.big-3-value {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -0.015em;
}
.big-3-house {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.25rem;
}

/* Système de maisons — radio pills */
.house-system-group {
  gap: 0.8rem;
  border: none;
  padding: 0;
  margin: 0;
}
.house-system-group legend {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--white-mute);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  padding: 0;
  margin-bottom: 0.25rem;
}
.house-system-group legend em {
  font-style: normal;
  color: var(--dim);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.75rem;
  font-family: var(--sans);
}
.radio-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.radio-pill {
  position: relative;
  display: block;
  padding: 1rem 1.1rem;
  background: var(--black);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.radio-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-pill span {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}
.radio-pill small {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--white-mute);
  line-height: 1.45;
}
.radio-pill:hover { border-color: var(--accent-dim, rgba(201,162,76,0.6)); }
.radio-pill:has(input:checked) {
  border-color: var(--accent);
  background: rgba(201,162,76,0.07);
}
.radio-pill:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (max-width: 560px) {
  .radio-row { grid-template-columns: 1fr; }
}

/* Bandeau "Système de maisons" au-dessus des tableaux */
.chart-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
}
.chart-meta-row .meta-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--white-mute);
  text-transform: uppercase;
}
.chart-meta-row strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: -0.01em;
}

/* ============================================================
   DOMINANTES — Panneau Top planète / signe / BTQ (méthode Gouchon)
   ============================================================ */
.dominantes-panel {
  margin-top: 2.5rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  background:
    linear-gradient(180deg, rgba(31, 33, 80, 0.10) 0%, rgba(11, 13, 38, 0.05) 100%);
}
.dominantes-head {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.dominantes-head .meta-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.dominantes-head h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0;
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
}
.dominantes-head h3 em {
  font-style: italic;
  color: var(--accent-bright);
  font-weight: 400;
}
.dominantes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.dominantes-method {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--white-mute);
  margin: 0.4rem 0 0;
  letter-spacing: 0.05em;
}
.dominantes-card-glyph-house {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent);
  font-variation-settings: 'opsz' 144, 'SOFT' 50, 'WONK' 1;
}
.dominantes-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 1.1rem 0.9rem 1rem;
  background: rgba(11, 13, 38, 0.45);
  border: 1px solid var(--line);
  border-radius: 0;
  text-align: center;
  min-height: 150px;
  transition: border-color var(--transition);
}
.dominantes-card:hover {
  border-color: var(--accent);
}
.dominantes-card-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-mute);
  margin-bottom: 0.2rem;
}
.dominantes-card-glyph {
  font-family: 'DejaVu Sans', 'Segoe UI Symbol', 'Apple Symbols', 'Noto Sans Symbols2', sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  margin: 0.2rem 0 0.1rem;
}
.dominantes-card-value {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 72, 'SOFT' 60;
}
.dominantes-card-sub {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--white-dim);
}
.dominantes-card-strong {
  background: rgba(11, 13, 38, 0.65);
  border-color: rgba(217, 184, 110, 0.35);
}
.dominantes-card-btq .dominantes-card-value {
  font-size: 1.15rem;
}

/* Tiroir méthodologique */
.dominantes-method-detail {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.dominantes-method-detail summary {
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  padding: 0.4rem 0;
  list-style: none;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: color var(--transition);
}
.dominantes-method-detail summary::-webkit-details-marker { display: none; }
.dominantes-method-detail summary::before {
  content: '+';
  display: inline-block;
  width: 1em;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.3em;
  line-height: 1;
  color: var(--accent);
  transition: transform var(--transition);
}
.dominantes-method-detail[open] summary::before {
  content: '−';
}
.dominantes-method-detail summary:hover {
  color: var(--accent-bright);
}
.dominantes-method-body {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--white-dim);
}
.dominantes-method-intro {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--white-dim);
}
.dominantes-method-intro strong {
  color: var(--white);
  font-weight: 500;
}
.dominantes-coef-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 0 0 2rem;
}
.dominantes-coef-block h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.6rem;
  font-weight: 500;
}
.dominantes-coef-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dominantes-coef-block li {
  font-size: 0.88rem;
  color: var(--white-dim);
  padding: 0.25rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(217, 184, 110, 0.08);
}
.dominantes-coef-block li:last-child { border-bottom: 0; }
.dominantes-coef-block li strong {
  font-family: var(--mono);
  color: var(--accent-bright);
  font-weight: 500;
  font-size: 0.85rem;
}
.dominantes-coef-h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 1.5rem 0 0.8rem;
  font-weight: 500;
}
.dominantes-table-wrap {
  overflow-x: auto;
  margin: 0 0 1.5rem;
  border: 1px solid var(--line);
}
.dominantes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  font-family: var(--sans);
}
.dominantes-table thead th {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-mute);
  padding: 0.7rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 13, 38, 0.5);
}
.dominantes-table tbody td {
  padding: 0.55rem 0.8rem;
  color: var(--white-dim);
  border-bottom: 1px solid rgba(217, 184, 110, 0.06);
}
.dominantes-table tbody tr:last-child td { border-bottom: 0; }
.dominantes-table .dom-num {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--accent-bright);
  text-align: right;
}
.dominantes-table .dom-detail {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--white-mute);
  letter-spacing: 0;
}
.dominantes-method-source {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--white-mute);
}

@media (max-width: 900px) {
  .dominantes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .dominantes-grid {
    grid-template-columns: 1fr;
  }
  .dominantes-card {
    min-height: auto;
  }
}

/* Sabians intégrés au thème natal */
.sabian-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}
.sabian-section .section-head { margin-bottom: 1.5rem; }
.sabian-section .lead { margin-bottom: 2.5rem; max-width: 48rem; }

.email-gate {
  padding: 3rem 2.5rem;
  background: var(--black-soft);
  border: 1px solid var(--line-strong);
  position: relative;
  text-align: center;
}
.email-gate::before {
  content: 'ACCESS / 02 — EMAIL UNLOCK';
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  background: var(--black);
  padding: 0 0.6rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}
.email-gate.is-hidden { display: none; }
.email-gate h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: -0.015em;
  margin: 1rem 0;
}
.email-gate p {
  max-width: 520px;
  margin: 0 auto 2rem;
  color: var(--white-dim);
  font-size: 0.93rem;
}
.email-gate .newsletter-form { margin: 0 auto 1rem; }

.result-full { display: none; }
.result-full.is-visible { display: block; padding-top: 3rem; }

.wheel-container {
  margin: 0 auto 3rem;
  max-width: 680px;
}
.natal-wheel { display: block; margin: 0 auto; }

.chart-summary { margin-top: 3rem; }
.chart-summary h3 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.table-scroll { overflow-x: auto; margin-bottom: 2rem; }
.chart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.chart-table th {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-mute);
  font-weight: 400;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line-strong);
  text-align: left;
}
.chart-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--white-dim);
  vertical-align: middle;
}
.chart-table tbody tr:hover td { background: var(--black-soft); color: var(--white); }
.chart-table .col-sym { font-size: 1.1rem; font-family: var(--serif); text-align: center; width: 40px; }
.chart-table .col-name { font-weight: 500; color: var(--white); }
.chart-table .col-asp { font-size: 1.2rem; font-family: var(--serif); text-align: center; }
.chart-table .col-deg { font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.02em; }
.chart-table .retro { color: var(--accent); font-weight: 500; }

.chart-interpretations { margin-top: 3.5rem; }
.interp-block {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
.interp-block h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.interp-block p { color: var(--white-dim); font-size: 0.98rem; line-height: 1.7; }

.interp-more {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.interp-more > summary {
  cursor: pointer;
  list-style: none;
  padding: 0.6rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color var(--transition);
}
.interp-more > summary::-webkit-details-marker { display: none; }
.interp-more > summary::after {
  content: '+';
  font-family: var(--mono);
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 400;
  transition: transform var(--transition);
}
.interp-more[open] > summary::after { transform: rotate(45deg); }
.interp-more > summary:hover { color: var(--white); }

.interp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.interp-block-small {
  padding: 1.75rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.interp-block-small h4 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.interp-block-small p { font-size: 0.88rem; color: var(--white-dim); line-height: 1.55; margin-bottom: 0.5rem; }

.interp-list { margin-top: 1.5rem; }
.interp-aspect {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.interp-aspect p { font-size: 0.88rem; color: var(--white-dim); margin-top: 0.5rem; }

.cta-after-chart {
  margin-top: 5rem;
  padding: 3.5rem 2.5rem;
  text-align: center;
  border: 1px solid var(--line-strong);
  position: relative;
}
.cta-after-chart::before {
  content: 'NEXT / 03 — DEEPER READING';
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  background: var(--black);
  padding: 0 0.6rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}
.cta-after-chart h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}

/* ============================================================
   Méthode : structure détaillée
   ============================================================ */
.methode-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  margin: 3rem 0;
}
.methode-pillar {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--line);
}
.methode-pillar:last-child { border-right: none; }
.methode-pillar .pillar-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
.methode-pillar h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.8rem;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { margin-top: 2rem; }
.faq-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
}
.faq-item .faq-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  padding-top: 0.4rem;
}
.faq-item h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.faq-item p { color: var(--white-dim); font-size: 0.95rem; margin: 0; max-width: 620px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  padding: 5rem 0 3rem;
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
/* Fallback: if only 3 cols present, keep the old layout */
.footer-grid:has(> :nth-child(4):last-child) {
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
}
.footer-grid:has(> :nth-child(3):last-child) {
  grid-template-columns: 1.5fr 1fr 1fr;
}
.footer-brand {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--white-mute);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--white-mute);
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--white-dim);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--white-mute);
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.2, 0, 0.2, 1), transform 1s cubic-bezier(0.2, 0, 0.2, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-sub { grid-template-columns: 1fr; gap: 2rem; }
  .hero-sub .hero-specs { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .lineage-grid, .packs-grid, .methode-pillars {
    grid-template-columns: 1fr 1fr;
  }
  .lineage-card:nth-child(odd),
  .pack-card:nth-child(odd),
  .methode-pillar:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
  .lineage-card:nth-child(even),
  .pack-card:nth-child(even),
  .methode-pillar:nth-child(even) {
    border-right: none;
  }
  .lineage-card, .pack-card, .methode-pillar {
    border-bottom: 1px solid var(--line);
  }
  .interp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 14px; }
  body.nav-open { overflow: hidden; }
  .site-nav-inner { padding: 1rem 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Hauteur dynamique iOS Safari (s'adapte à la barre URL) */
    height: 100vh;
    height: 100dvh;
    background: rgba(7, 9, 26, 0.97);
    backdrop-filter: blur(18px) saturate(1.1);
    -webkit-backdrop-filter: blur(18px) saturate(1.1);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(env(safe-area-inset-top, 0px) + 5.5rem) 0 calc(env(safe-area-inset-bottom, 0px) + 2rem);
    margin: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.36s cubic-bezier(0.2, 0, 0.2, 1),
                opacity 0.22s ease,
                visibility 0s linear 0.36s;
    z-index: 55;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.36s cubic-bezier(0.2, 0, 0.2, 1),
                opacity 0.22s ease,
                visibility 0s linear 0s;
  }
  .nav-links a {
    padding: 1.1rem var(--gutter);
    border-bottom: 1px solid rgba(245, 240, 232, 0.08);
    width: 100%;
    font-size: 0.92rem;
    letter-spacing: 0.18em;
  }
  .nav-links li:first-child a {
    border-top: 1px solid rgba(245, 240, 232, 0.08);
  }
  /* Désactive le décalage « nav-right » sur mobile : menu vertical, plus de flex-row */
  .nav-links li.nav-right {
    margin-left: 0;
    padding-left: 0;
  }
  .nav-links li.nav-right::before { display: none; }
  .hero-sub .hero-specs { grid-template-columns: 1fr 1fr; }
  .lineage-grid, .packs-grid, .methode-pillars, .contact-grid {
    grid-template-columns: 1fr;
  }
  .lineage-card, .pack-card, .methode-pillar, .contact-card {
    border-right: none !important;
    border-bottom: 1px solid var(--line);
  }
  .article-row {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
  }
  .article-row .article-tag,
  .article-row .article-date {
    grid-column: 2;
    padding-top: 0.2rem;
    text-align: left;
  }
  .section-head { grid-template-columns: 1fr; gap: 1rem; }
  .page-header-meta { grid-template-columns: 1fr auto; }
  .page-header-meta .middle-line { display: none; }
  .big-3 { grid-template-columns: 1fr; }
  .big-3-item { border-right: none; border-bottom: 1px solid var(--line); }
  .big-3-item:last-child { border-bottom: none; }
  .faq-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .newsletter-form { grid-template-columns: 1fr; }
  .newsletter-form .btn { border-left: none; border-top: 1px solid var(--line-strong); }
  .birth-form { padding: 2rem 1.5rem; }
}

/* ============================================================
   Sabians — preview + grille des 12 symboles
   ============================================================ */
.sabian-preview {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sabian-row {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
.sabian-row:last-child { border-bottom: none; }
.sabian-head {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}
.sabian-sym {
  font-size: 1.6rem;
  font-family: var(--serif);
}
.sabian-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.sabian-pos {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-left: auto;
}
.sabian-text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--white);
  max-width: 44rem;
}

.sabian-full { margin-top: 3rem; }
.sabian-intro {
  border-left: 1px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin-bottom: 3rem;
}
.sabian-intro p {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--white-dim);
}

.sabian-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.sabian-card {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sabian-card-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.sabian-card-sym {
  font-size: 1.35rem;
  font-family: var(--serif);
  line-height: 1;
  padding-top: 0.2rem;
  min-width: 1.8rem;
}
.sabian-card-meta h4 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}
.sabian-card-pos {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
}
.sabian-card-text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--white);
  border: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 720px) {
  .sabian-grid { grid-template-columns: 1fr; }
  .sabian-pos { margin-left: 0; width: 100%; }
}

/* ============================================================
   Skip link (accessibilité clavier)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  background: var(--accent);
  color: var(--black);
  padding: 0.75rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  border: 1px solid var(--black);
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* Screen-reader only — garde l'élément accessible au lecteur d'écran mais invisible */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Focus visible — amélioration globale */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Current page marker in nav */
.nav-links a[aria-current="page"] {
  color: var(--accent);
}
.nav-links a[aria-current="page"]::before {
  content: '• ';
  color: var(--accent);
}

/* ============================================================
   Témoignages — grille + carte
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.testimonial-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  background: transparent;
  transition: background var(--transition);
}
.testimonial-card:hover { background: var(--black-soft); }
.testimonial-card::before {
  content: '“';
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 0.5;
  color: var(--accent);
  height: 1.5rem;
  display: block;
}
.testimonial-card blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--white);
  border: none;
  padding: 0;
  margin: 0;
}
.testimonial-card .testimonial-attr {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--white-mute);
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.testimonial-card .testimonial-name {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}
.testimonial-card .testimonial-meta {
  color: var(--dim);
  font-size: 0.65rem;
}

/* ============================================================
   Portrait (page À propos)
   ============================================================ */
.portrait {
  margin: 2rem 0 3rem;
  border: 1px solid var(--line-strong);
  background: var(--black-soft);
  padding: 0.5rem;
}
.portrait img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(0.4) contrast(1.05);
}
.portrait figcaption {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white-mute);
  text-align: center;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--line);
}

/* ============================================================
   UI Toast / feedback (formulaires)
   ============================================================ */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--black-elev);
  border: 1px solid var(--line-strong);
  color: var(--white);
  padding: 1rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  z-index: 1200;
  transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  max-width: 90vw;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { border-color: #4a8a5a; }
.toast.error { border-color: #c24b4b; }

/* Bouton disabled / loading */
.btn[disabled], .btn.is-loading {
  opacity: 0.55;
  pointer-events: none;
  cursor: wait;
}
.btn.is-loading::after {
  content: '';
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-left: 0.6em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Toolbar d'actions sur un résultat (Recalc, Partager, PDF, Sauver) */
.result-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 0;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.result-actions .btn {
  font-size: 0.75rem;
  padding: 0.55rem 1rem;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  #starfield { display: none; }
}

/* Responsive — témoignages + portrait */
@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 2rem 1.5rem; }
  .portrait { margin: 1.5rem 0 2rem; }
}

/* ============================================================
   V2 — HERO VIDÉO + COSMOGRAMME
   ============================================================ */

/* Wrapper principal du hero V2 (home) — 2 colonnes vidéo/texte */
/* ============================================================
   HERO V2 — Split 50/50 plein écran (vidéo gauche / texte droite)
   ============================================================ */
.hero-v2 {
  min-height: calc(100vh - 72px);
  position: relative;
  /* Pleine largeur du viewport sans barre horizontale */
  width: 100%;
  overflow-x: hidden;
}
.hero-v2-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
  width: 100%;
}

/* — Vidéo gauche, plein écran, full-bleed — */
.hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background: var(--black-soft);
  border: 0;
  border-right: 1px solid var(--line-gold);
}
.hero-visual video,
.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* — Roue zodiacale animée (remplace la vidéo sur l'index) — */
.hero-visual-wheel {
  background:
    radial-gradient(ellipse 70% 60% at 50% 55%, rgba(31, 33, 80, 0.55) 0%, rgba(11, 13, 38, 0.95) 65%, var(--black) 100%),
    var(--black-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}
.hero-visual-wheel .zw-img {
  position: relative;
  inset: auto;
  width: min(100%, 90vh);
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 60px rgba(217, 184, 110, 0.20));
}

/* ============================================================
   HERO V2 — UNIFIÉ (full hero, fond unique, texte à gauche, roue à droite, sans superposition)
   ============================================================ */
.hero-v2-unified {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 72px);
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(ellipse 75% 90% at 75% 50%,
      rgba(31, 33, 80, 0.65) 0%,
      rgba(19, 21, 58, 0.55) 35%,
      rgba(11, 13, 38, 0.85) 70%,
      var(--black) 100%),
    var(--black-soft);
}
.hero-v2-unified .hero-v2-bg {
  position: absolute;
  top: 50%;
  right: clamp(-10vw, -6vw, -3vw);
  transform: translateY(-50%);
  width: clamp(620px, 62vw, 1100px);
  height: clamp(620px, 62vw, 1100px);
  max-width: none;
  max-height: 110vh;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-v2-unified .hero-v2-bg .zw-img {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 80px rgba(217, 184, 110, 0.18));
}
.hero-v2-unified .hero-v2-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max, 1400px);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 6vw, 6rem);
  display: flex;
  align-items: center;
}
.hero-v2-unified .hero-v2-text-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-width: clamp(420px, 46vw, 580px);
  width: 100%;
}

/* Tablette : la roue se retire un peu plus à droite, texte garde sa lisibilité */
@media (max-width: 1180px) {
  .hero-v2-unified .hero-v2-bg {
    right: -18vw;
    width: 80vw;
    height: 80vw;
    opacity: 0.75;
  }
  .hero-v2-unified .hero-v2-text-inner {
    max-width: clamp(360px, 50vw, 520px);
  }
}

/* Mobile : la roue passe en fond très estompé, le texte prend toute la largeur */
@media (max-width: 820px) {
  .hero-v2-unified {
    min-height: calc(100vh - 72px);
  }
  .hero-v2-unified .hero-v2-bg {
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    width: 130vw;
    height: 130vw;
    opacity: 0.28;
  }
  .hero-v2-unified .hero-v2-content {
    padding: clamp(3rem, 12vw, 5rem) clamp(1.25rem, 5vw, 2rem);
  }
  .hero-v2-unified .hero-v2-text-inner {
    max-width: 640px;
    margin: 0 auto;
  }
  .hero-v2-unified .hero-v2-title {
    font-size: clamp(2.2rem, 8vw, 3.6rem);
  }
}
.hero-visual::after {
  /* Léger fondu vers le fond nuit-bleue côté texte */
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 16, 32, 0) 70%, rgba(11, 16, 32, 0.45) 100%),
    linear-gradient(180deg, rgba(11, 16, 32, 0) 65%, rgba(11, 16, 32, 0.30) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-visual .hero-visual-meta {
  position: absolute;
  bottom: 1.4rem;
  left: 1.4rem;
  right: 1.4rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-dim);
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: difference;
}

/* — Texte droite, centré verticalement, padding généreux — */
.hero-v2-text {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(2rem, 5vw, 5rem) clamp(1.5rem, 5vw, 5rem);
}
.hero-v2-text-inner {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-width: 540px;
  width: 100%;
}

.hero-v2-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-mute);
  margin-bottom: 0.4rem;
}
.hero-v2-meta .gold { color: var(--accent); }
.hero-v2-meta .line {
  flex: 1;
  height: 1px;
  background: var(--line-gold);
  max-width: 80px;
}

.hero-v2-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  font-variation-settings: 'opsz' 144, 'SOFT' 50, 'WONK' 1;
  margin: 0;
}
.hero-v2-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-bright);
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
}

.hero-v2-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.4;
  color: var(--accent-bright);
  margin: 0;
  font-variation-settings: 'opsz' 72, 'SOFT' 70;
}

.hero-v2-lead {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.6;
  color: var(--white-dim);
  margin: 0;
  letter-spacing: 0.005em;
}

.hero-v2-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.6rem;
  width: 100%;
}
.hero-v2-actions .btn {
  min-width: 0;
  white-space: nowrap;
}
.hero-v2-actions .btn.btn-large {
  padding: 1rem 1.6rem;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

/* ============================================================
   V2 — BANDE MANIFESTE (parchemin chaud)
   ============================================================ */
.manifesto-band {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  color: var(--black);
  padding: var(--section-y) 0;
  position: relative;
  box-shadow: inset 0 0 120px rgba(94, 76, 45, 0.12);
  /* Casse le z-index du grain body pour rester lisible */
  z-index: 2;
}
.manifesto-band::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}
.manifesto-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.manifesto-inner h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  line-height: 1.28;
  color: var(--black);
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  letter-spacing: -0.01em;
}
.manifesto-inner h2 em {
  font-style: normal;
  color: var(--accent-dim);
  font-weight: 500;
}
.manifesto-inner .sig {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 3rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.manifesto-inner .sig::before,
.manifesto-inner .sig::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent-dim);
}

/* ============================================================
   V2 — BANDE PORTRAIT (image + citation)
   ============================================================ */
.portrait-band {
  position: relative;
  padding: var(--section-y) 0;
  overflow: hidden;
}
.portrait-band-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--black-elev);
  border: 1px solid var(--line-gold);
  overflow: hidden;
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.2) contrast(1.05);
}
.portrait-frame.placeholder::before {
  /* Fallback quand il n'y a pas encore de photo */
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 55% 42%, rgba(243, 235, 217, 0.18) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 70%, rgba(200, 162, 92, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, var(--black-elev) 0%, var(--black) 100%);
}
.portrait-frame.placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.3'/></svg>");
  mix-blend-mode: overlay;
}
.portrait-frame .frame-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white-mute);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.portrait-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.portrait-pull {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.28;
  color: var(--white);
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  letter-spacing: -0.01em;
}
.portrait-pull em {
  font-style: normal;
  color: var(--accent-bright);
  font-weight: 400;
}
.portrait-attr {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-mute);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-gold);
  max-width: 340px;
  line-height: 1.8;
}

/* ============================================================
   V2 — Accents sur les cartes lineage / pack / article / testimonial
   ============================================================ */

/* Barre d'or en haut de chaque lignée */
.lineage-card {
  padding-top: 3.5rem;
}
.lineage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: var(--accent);
  opacity: 0.75;
}
.lineage-card:hover::before { opacity: 1; }

/* Lineage typography — Fraunces + italiques or */
.lineage-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.8rem;
  font-variation-settings: 'opsz' 72, 'SOFT' 50;
}
.lineage-card h3 em {
  color: var(--accent-bright);
  font-variation-settings: 'opsz' 72, 'SOFT' 100;
}

/* Pack card — pricing en Fraunces or + featured ribbon */
.pack-card .pack-price {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.8rem;
  color: var(--accent);
  font-variation-settings: 'opsz' 72, 'SOFT' 50;
  letter-spacing: -0.01em;
}
.pack-card .pack-tier {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-mute);
}
.pack-card.featured::before {
  content: '· Recommandé ·';
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--black);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  font-weight: 500;
  z-index: 3;
  white-space: nowrap;
}

/* Pack features : glyphe doré ✦ */
.pack-features li::before,
.pack-features li::marker {
  color: var(--accent) !important;
}

/* Contact cards — aligner sur la palette V2 */
.contact-card:hover { background: rgba(200, 162, 92, 0.04); }

/* ============================================================
   V2 — Témoignage solo (grand, centré, encadré d'or)
   ============================================================ */
.testimonial-solo {
  padding: var(--section-y) 0;
  text-align: center;
}
.testimonial-solo .quote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.38;
  color: var(--white);
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  letter-spacing: -0.01em;
  max-width: 900px;
  margin: 2rem auto 0;
}
.testimonial-solo .quote::before {
  content: '« ';
  color: var(--accent-bright);
  font-style: normal;
  font-weight: 300;
}
.testimonial-solo .quote::after {
  content: ' »';
  color: var(--accent-bright);
  font-style: normal;
  font-weight: 300;
}
.testimonial-solo .attr {
  margin-top: 2.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-mute);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-solo .attr::before,
.testimonial-solo .attr::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--line-gold);
}

/* ============================================================
   V2 — Responsive pour les nouveaux composants
   ============================================================ */
@media (max-width: 1024px) {
  /* Le hero passe en colonne : vidéo en haut (50vh), texte en bas */
  .hero-v2 { min-height: auto; }
  .hero-v2-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-visual {
    min-height: 55vh;
    height: 55vh;
    border-right: 0;
    border-bottom: 1px solid var(--line-gold);
  }
  .hero-visual::after {
    background:
      linear-gradient(180deg, rgba(11, 16, 32, 0) 60%, rgba(11, 16, 32, 0.45) 100%);
  }
  .hero-v2-text {
    padding: clamp(2rem, 6vw, 3.5rem) clamp(1.25rem, 5vw, 2.5rem);
  }
  .hero-v2-text-inner { max-width: 640px; margin: 0 auto; }
  .hero-v2-title { font-size: clamp(2.2rem, 6.5vw, 3.4rem); }

  .portrait-band-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
@media (max-width: 720px) {
  .hero-visual { min-height: 45vh; height: 45vh; }
  .hero-v2-actions .btn { flex: 1 1 100%; }
  .manifesto-inner h2 { font-size: clamp(1.4rem, 6vw, 2.2rem); }
  .portrait-pull { font-size: clamp(1.4rem, 5vw, 2rem); }
  .lineage-card::before { left: 0; right: 2rem; }
  .testimonial-solo .quote { font-size: clamp(1.2rem, 5vw, 1.8rem); }
}

/* ============================================================
   Print (optionnel)
   ============================================================ */
@media print {
  .site-nav, .site-footer, #starfield, .skip-link, .result-actions,
  .hero-visual video, .manifesto-band::after, body::before, body::after { display: none !important; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
  .page-header, .birth-form { border-color: #888; }
  .pack-card, .article-row, .testimonial-card { break-inside: avoid; }
  h1, h2, h3 { color: black; }
  em { color: #8E6D2E; }
}

/* ============================================================
   AUTH (compte.html, mon-espace.html) — v9
   ============================================================ */

.auth-banner {
  margin: 1rem 0;
  padding: 0.85rem 1.1rem;
  border-left: 3px solid var(--c-gold, #C9A24C);
  background: rgba(201, 162, 76, 0.08);
  color: var(--c-text, #E8E0CC);
  font-size: 0.95rem;
  border-radius: 2px;
}
.auth-banner.is-info { border-left-color: #6FA9C7; background: rgba(111, 169, 199, 0.08); }
.auth-banner.is-ok   { border-left-color: #7DB47D; background: rgba(125, 180, 125, 0.08); }
.auth-banner.is-err  { border-left-color: #C77878; background: rgba(199, 120, 120, 0.10); color: #F2D3D3; }

.auth-card {
  margin: 2rem 0;
  padding: 2rem;
  border: 1px solid rgba(201, 162, 76, 0.25);
  background: rgba(14, 11, 8, 0.55);
  border-radius: 4px;
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(201, 162, 76, 0.20);
}
.auth-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(232, 224, 204, 0.55);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.9rem 1rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.auth-tab:hover { color: var(--c-text, #E8E0CC); }
.auth-tab.is-active {
  color: var(--c-gold, #C9A24C);
  border-bottom-color: var(--c-gold, #C9A24C);
}

.auth-form .form-group { margin-bottom: 1.2rem; }
.auth-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.auth-form .legal-note { color: rgba(232, 224, 204, 0.70); }
.auth-form .hint { display: block; margin-top: 0.4rem; opacity: 0.65; font-size: 0.85rem; }

.auth-error {
  margin-top: 1rem;
  padding: 0.7rem 0.9rem;
  background: rgba(199, 120, 120, 0.12);
  border-left: 3px solid #C77878;
  color: #F2D3D3;
  font-size: 0.92rem;
  border-radius: 2px;
}

.auth-aside {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  border: 1px dashed rgba(201, 162, 76, 0.20);
  border-radius: 4px;
  background: rgba(14, 11, 8, 0.35);
}
.auth-aside h3 { margin: 0 0 0.75rem; font-size: 1.1rem; }
.auth-aside .check-list { margin: 0; padding-left: 1.2rem; }
.auth-aside .check-list li { margin: 0.4rem 0; }
.mode-note { display: block; margin-top: 1rem; opacity: 0.7; }

.auth-gate {
  margin: 2rem 0;
  padding: 2rem;
  text-align: center;
  border: 1px dashed rgba(201, 162, 76, 0.30);
  border-radius: 4px;
}
.auth-gate p { margin-bottom: 1.2rem; }

/* ---------- Mon espace : dashboard ---------- */
.space-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  background: rgba(201, 162, 76, 0.06);
  border: 1px solid rgba(201, 162, 76, 0.18);
  border-radius: 3px;
}
.space-toolbar-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.empty-state {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 1px dashed rgba(201, 162, 76, 0.25);
  border-radius: 4px;
  margin: 1.5rem 0;
}
.empty-state h3 { margin: 0 0 0.6rem; font-size: 1.15rem; }

.charts-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.chart-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: start;
  padding: 1.2rem 1.4rem;
  background: rgba(14, 11, 8, 0.55);
  border: 1px solid rgba(201, 162, 76, 0.18);
  border-radius: 3px;
  transition: border-color 0.2s, transform 0.2s;
}
.chart-card:hover { border-color: rgba(201, 162, 76, 0.40); }
.chart-card-label { margin: 0 0 0.4rem; font-size: 1.1rem; }
.chart-card-summary { margin: 0 0 0.3rem; opacity: 0.85; font-size: 0.95rem; }
.chart-card-date { margin: 0; opacity: 0.55; }
.chart-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: stretch;
}
.btn-sm { padding: 0.5rem 0.85rem; font-size: 0.85rem; }
.btn.danger { color: #E59A9A; }
.btn.danger:hover { color: #F2D3D3; border-color: #C77878; }

@media (max-width: 640px) {
  .chart-card { grid-template-columns: 1fr; }
  .chart-card-actions { flex-direction: row; }
  .auth-card { padding: 1.4rem; }
  .auth-aside { padding: 1.2rem; }
}

/* ============================================================
   Sauvegarder ce thème (theme.html, après les résultats)
   ============================================================ */
.save-chart-box {
  margin: 2.5rem 0 2rem;
  padding: 1.75rem 1.75rem 1.5rem;
  background: rgba(201, 162, 76, 0.05);
  border: 1px solid rgba(201, 162, 76, 0.22);
  border-radius: 4px;
}
.save-chart-head { margin-bottom: 0.75rem; }
.save-chart-head h3 { margin: 0.3rem 0 0; font-size: 1.3rem; }
.save-chart-form .form-group { margin-bottom: 1rem; }
.save-chart-msg {
  margin-top: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 2px;
  font-size: 0.92rem;
}
.save-chart-msg.is-info { background: rgba(111, 169, 199, 0.10); border-left: 3px solid #6FA9C7; }
.save-chart-msg.is-ok   { background: rgba(125, 180, 125, 0.10); border-left: 3px solid #7DB47D; color: #D6EFD6; }
.save-chart-msg.is-err  { background: rgba(199, 120, 120, 0.12); border-left: 3px solid #C77878; color: #F2D3D3; }

.cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }

/* ============================================================
   Réservation (Cal.com embed wrapper)
   ============================================================ */
.booking-embed {
  margin: 2rem 0;
  min-height: 480px;
  border: 1px solid rgba(201, 162, 76, 0.18);
  background: rgba(14, 11, 8, 0.55);
  border-radius: 4px;
  overflow: hidden;
}
.booking-loading {
  padding: 4rem 1rem;
  text-align: center;
  opacity: 0.7;
}
.booking-fallback {
  margin: 2rem 0;
  padding: 1.75rem;
  border: 1px dashed rgba(201, 162, 76, 0.28);
  border-radius: 4px;
  background: rgba(14, 11, 8, 0.40);
}
.booking-fallback h3 { margin: 0 0 0.6rem; }
.booking-fallback p { margin: 0 0 1rem; }
.booking-fallback .btn + .btn { margin-left: 0.5rem; }
.booking-aside {
  margin: 2.5rem 0 0;
  padding: 1.5rem 1.75rem;
  border: 1px dashed rgba(201, 162, 76, 0.20);
  border-radius: 4px;
}
.booking-aside h3 { margin: 0 0 0.75rem; }
.booking-aside .check-list { margin: 0; padding-left: 1.2rem; }
.booking-aside .check-list li { margin: 0.5rem 0; }

/* ============================================================
   THEME HERO — "Cosmos" (v9.1)
   Plein écran · starfield lumineux · form card large
   ============================================================ */

.theme-hero {
  position: relative;
  min-height: 100vh;
  padding: 7.5rem 1.5rem 4rem;    /* tient compte de la nav fixed */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(1200px 900px at 50% 28%, rgba(26,34,58,0.85) 0%, rgba(11,16,32,0.92) 55%, rgba(4,6,15,1) 100%);
}

.theme-hero.is-computed .theme-hero-inner { display: none; }
.theme-hero.is-computed {
  min-height: 0;
  padding: 2rem 1.5rem;
}

.theme-hero-stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.theme-hero-glow {
  position: absolute;
  left: 50%;
  top: 22%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(201,162,76,0.22), rgba(201,162,76,0) 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(10px);
}

.theme-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.theme-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: rgba(232, 224, 204, 0.70);
}
.theme-hero-tag em {
  font-style: normal;
  color: rgba(232, 224, 204, 0.82);
}
.theme-hero-tag .tag-tick {
  width: 34px;
  height: 1px;
  background: rgba(201, 162, 76, 0.75);
}

.theme-hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--c-text, #E8E0CC);
  margin: 0.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}
.theme-hero-title em {
  font-style: italic;
  color: var(--c-gold, #C9A24C);
  font-weight: 300;
}

.theme-hero-kicker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: rgba(232, 224, 204, 0.72);
  margin: 0.25rem 0 1.75rem;
  text-transform: none;
}

/* ------- Form card ------- */
.theme-form-card {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.75rem 2rem 1.75rem;
  background: rgba(4, 8, 18, 0.55);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(201, 162, 76, 0.38);
  border-radius: 4px;
  box-shadow:
    0 30px 80px -40px rgba(0, 0, 0, 0.8),
    0 0 0 6px rgba(11, 16, 32, 0.35);
}
/* double hairline inside */
.theme-form-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 162, 76, 0.12);
  border-radius: 3px;
  pointer-events: none;
}

.tfc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.tfc-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--c-gold, #C9A24C);
  text-transform: uppercase;
}
.tfc-ticks {
  display: inline-flex;
  gap: 6px;
}
.tfc-ticks i {
  display: inline-block;
  width: 8px;
  height: 1px;
  background: rgba(201, 162, 76, 0.7);
}

.tfc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}
.tfc-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
}
.tfc-field-full {
  grid-column: 1 / -1;
}
.tfc-field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(232, 224, 204, 0.65);
  text-transform: uppercase;
}
.tfc-field input[type="date"],
.tfc-field input[type="time"],
.tfc-field input[type="text"] {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(201, 162, 76, 0.42);
  color: var(--c-text, #E8E0CC);
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 400;
  padding: 0.4rem 0 0.6rem;
  letter-spacing: 0.01em;
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s;
  width: 100%;
}
.tfc-field input::placeholder {
  color: rgba(232, 224, 204, 0.35);
  font-style: italic;
}
.tfc-field input:focus {
  border-bottom-color: var(--c-gold, #C9A24C);
}
.tfc-field input[type="date"]::-webkit-calendar-picker-indicator,
.tfc-field input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(0.75) sepia(0.35) saturate(2.5) hue-rotate(5deg);
  cursor: pointer;
  opacity: 0.7;
}
.tfc-field .form-hint {
  font-size: 0.78rem;
  opacity: 0.55;
  margin-top: 0.25rem;
}

/* Place suggestions dropdown reuses the classic styling but sits on dark bg */
.theme-form-card .place-suggestions {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: rgba(11, 16, 32, 0.98);
  border: 1px solid rgba(201, 162, 76, 0.35);
  border-radius: 2px;
  max-height: 280px;
  overflow-y: auto;
  z-index: 30;
  display: none;
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
}
.theme-form-card .place-suggestions.is-open { display: block; }
.theme-form-card .place-suggestions li {
  padding: 0.65rem 0.9rem;
  cursor: pointer;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(201, 162, 76, 0.10);
  color: rgba(232, 224, 204, 0.85);
  transition: background 0.15s;
}
.theme-form-card .place-suggestions li:last-child { border-bottom: none; }
.theme-form-card .place-suggestions li:hover {
  background: rgba(201, 162, 76, 0.08);
  color: var(--c-gold, #C9A24C);
}

/* ------- Footer: pills + CTA ------- */
.tfc-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(201, 162, 76, 0.15);
}

.tfc-houses {
  border: none;
  padding: 0;
  margin: 0;
}
.tfc-houses legend {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(232, 224, 204, 0.65);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  padding: 0;
}
.tfc-pills {
  display: inline-flex;
  gap: 0.5rem;
}
.tfc-pill {
  position: relative;
  padding: 0.55rem 1.2rem;
  border: 1px solid rgba(232, 224, 204, 0.22);
  background: rgba(232, 224, 204, 0.04);
  color: rgba(232, 224, 204, 0.75);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.tfc-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tfc-pill:hover { border-color: rgba(201, 162, 76, 0.50); color: var(--c-text, #E8E0CC); }
.tfc-pill:has(input:checked) {
  background: rgba(201, 162, 76, 0.18);
  border-color: rgba(201, 162, 76, 0.95);
  color: var(--c-text, #E8E0CC);
}
.tfc-pill:has(input:checked)::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--c-gold, #C9A24C);
  border-radius: 50%;
  flex-shrink: 0;
}

.tfc-cta {
  flex-shrink: 0;
  padding: 1rem 2.25rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--c-gold, #C9A24C);
  color: #0B0908;
  border: 1px solid var(--c-gold, #C9A24C);
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.tfc-cta:hover {
  background: #D6B35A;
  box-shadow: 0 10px 30px -10px rgba(201, 162, 76, 0.55);
  transform: translateY(-1px);
}
.tfc-cta span { transition: transform 0.15s; }
.tfc-cta:hover span { transform: translateX(3px); }

/* ------- Responsive ------- */
@media (max-width: 820px) {
  .theme-hero { padding: 6rem 1rem 3rem; }
  .theme-form-card { padding: 1.5rem 1.25rem; }
  .tfc-grid { grid-template-columns: 1fr; gap: 1rem; }
  .tfc-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .tfc-pills { flex-wrap: wrap; }
  .tfc-cta { width: 100%; justify-content: center; }
  .theme-hero-tag { font-size: 0.65rem; letter-spacing: 0.18em; }
  .theme-hero-kicker { font-size: 0.7rem; letter-spacing: 0.2em; }
}

/* Reduce motion : freeze starfield anim */
@media (prefers-reduced-motion: reduce) {
  .theme-hero-stars { animation: none !important; }
}

/* ============================================================
   ROUE NATALE V2 — paramètres d'affichage, callouts, aspects
   ============================================================ */

/* Panneau paramètres */
.wheel-params {
  max-width: 1100px;
  margin: 0 auto 1.25rem;
  padding: 1rem 1.25rem 1.1rem;
  background: rgba(20, 19, 48, 0.35);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.wheel-params-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.wheel-params-hint {
  font-size: 0.78rem;
  color: var(--white-mute);
  font-style: italic;
}
.wheel-params-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem 1.25rem;
}
.param-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--white-dim);
  cursor: pointer;
  user-select: none;
  padding: 0.25rem 0;
  transition: color 0.15s;
}
.param-toggle:hover { color: var(--white); }
.param-toggle input[type="checkbox"] {
  accent-color: var(--accent);
  width: 15px; height: 15px;
  flex-shrink: 0;
}
.param-toggle.is-disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
.param-toggle.is-disabled span::after {
  content: ' · bientôt';
  font-size: 0.7rem;
  color: var(--accent);
  opacity: 0.7;
  margin-left: 0.2rem;
}

/* Roue agrandie v4 — pleine largeur disponible pour gagner en lisibilité */
.wheel-container { max-width: 1100px; margin-left: auto; margin-right: auto; }
.natal-wheel[data-wheel-v2="true"] { width: 100%; height: auto; }
/* La section Preview occupe toute la largeur du container parent (pas seulement narrow) */
.result-section.has-wide-wheel .container.narrow {
  /* v11 : retour au layout simple (roue + détails dessous) */
  max-width: 1180px;
}

/* Aspects cliquables */
.natal-wheel .aspect-group { cursor: pointer; }
.natal-wheel .aspect-group:hover .aspect-line,
.natal-wheel .aspect-group:focus-visible .aspect-line {
  stroke-width: 2.2;
  opacity: 1 !important;
}
.natal-wheel .aspect-group.is-active .aspect-line {
  stroke-width: 2.6;
  opacity: 1 !important;
  filter: drop-shadow(0 0 4px currentColor);
}
.natal-wheel .aspect-group:focus { outline: none; }
.natal-wheel .aspect-group:focus-visible .aspect-hit {
  stroke: rgba(201, 162, 76, 0.25);
}

/* Panneau détail d'aspect */
.aspect-detail {
  max-width: 1100px;
  margin: 1.25rem auto 2rem;
  padding: 1.1rem 1.4rem;
  background: linear-gradient(135deg, rgba(201, 162, 76, 0.08), rgba(20, 19, 48, 0.45));
  border: 1px solid rgba(201, 162, 76, 0.35);
  border-radius: 6px;
  animation: aspect-reveal 0.3s ease-out;
}
@keyframes aspect-reveal {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.aspect-detail h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--white);
  margin: 0.35rem 0 0.6rem;
}
.aspect-detail p {
  color: var(--white-dim);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Table positions — 6 colonnes ; R italique en couleur planète */
.chart-table.positions-table th:nth-child(3),
.chart-table.positions-table td:nth-child(3) {
  width: 30px;
  text-align: center;
}
.chart-table .retro-r {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0;
}
.chart-table.aspects-table .aspect-row {
  cursor: pointer;
  transition: background 0.12s;
}
.chart-table.aspects-table .aspect-row:hover td {
  background: rgba(201, 162, 76, 0.08);
  color: var(--white);
}
.chart-table .col-tier em {
  font-size: 0.72rem;
  font-style: italic;
  color: var(--white-mute);
  letter-spacing: 0.05em;
}

@media (max-width: 720px) {
  .wheel-params-grid { grid-template-columns: 1fr 1fr; }
  .aspect-detail { padding: 1rem 1.1rem; }
}

/* ============================================================
   Wheel v3 — interactions planète
   ============================================================ */

.wheel-container {
  position: relative;  /* ancrage du tooltip flottant */
}

/* Transitions communes pour le filtrage au clic */
.natal-wheel .aspect-group,
.natal-wheel .planet-group {
  transition: opacity 0.22s ease, filter 0.22s ease;
}

/* --- Survol planète : halo renforcé + anneau éclairci --- */
.natal-wheel .planet-group { cursor: pointer; }
.natal-wheel .planet-disc,
.natal-wheel .planet-halo,
.natal-wheel .planet-glyph {
  transition: opacity 0.22s ease, stroke-width 0.22s ease;
}
.natal-wheel .planet-group:hover .planet-glyph,
.natal-wheel .planet-group:focus-visible .planet-glyph,
.natal-wheel .planet-group.is-selected .planet-glyph {
  filter: drop-shadow(0 0 6px currentColor);
}
.natal-wheel .planet-group:hover .planet-disc,
.natal-wheel .planet-group:focus-visible .planet-disc,
.natal-wheel .planet-group.is-selected .planet-disc {
  stroke-width: 2.2;
}
.natal-wheel .planet-group:hover .planet-halo,
.natal-wheel .planet-group:focus-visible .planet-halo,
.natal-wheel .planet-group.is-selected .planet-halo {
  opacity: 0.28;
}
.natal-wheel .planet-group:focus { outline: none; }
.natal-wheel .planet-group:focus-visible .planet-hit {
  stroke: rgba(201, 162, 76, 0.55);
  stroke-width: 1.2;
}

/* --- État filtré : une planète est sélectionnée --- */
.natal-wheel.is-filtered .aspect-group:not(.matches-selected) .aspect-line {
  opacity: 0.08 !important;
}
.natal-wheel.is-filtered .aspect-group:not(.matches-selected) .aspect-hit {
  pointer-events: none;
}
.natal-wheel.is-filtered .aspect-group.matches-selected .aspect-line {
  opacity: 1 !important;
  stroke-width: 2.4;
}
.natal-wheel.is-filtered .planet-group:not(.is-selected) {
  opacity: 0.5;
}
.natal-wheel.is-filtered .planet-group.is-selected .planet-glyph {
  font-size: 1.06em;
}

/* Angle markers — petit halo doré sur MC/AC */
.natal-wheel .angle-marker.is-cardinal {
  filter: drop-shadow(0 0 3px rgba(242, 216, 140, 0.35));
}

/* --- Tooltip flottant de survol ---
   v15 : position fixed (viewport) + clientX/Y direct → suit la souris au pixel près */
.wheel-tooltip {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.14s ease, transform 0.14s ease;
  background: rgba(10, 10, 25, 0.95);
  border: 1px solid rgba(201, 162, 76, 0.45);
  border-radius: 6px;
  padding: 0.45rem 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  max-width: 280px;
  line-height: 1.35;
}
.wheel-tooltip[aria-hidden="false"] {
  opacity: 1;
  transform: translateY(0);
}
.wheel-tooltip .tip-sym {
  font-family: 'DejaVu Sans', 'Segoe UI Symbol', 'Apple Symbols', sans-serif;
  font-size: 1.25rem;
  line-height: 1;
}
.wheel-tooltip .tip-body {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
}
.wheel-tooltip .tip-body strong {
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--white);
}
.wheel-tooltip .tip-body span {
  font-size: 0.78rem;
  color: var(--white-dim);
  letter-spacing: 0.02em;
}
/* v14 — tooltip pour les aspects (multi-lignes) */
.wheel-tooltip .tip-body em {
  font-style: italic;
  color: var(--accent-bright);
  font-size: 0.82rem;
}
.wheel-tooltip .tip-orb {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--white-mute);
  margin-top: 0.15rem;
}
/* aspects cliquables : curseur + survol */
.natal-wheel .aspect-group { cursor: pointer; }
.natal-wheel .bi-aspect, .natal-wheel .bi-aspect-hit { cursor: pointer; }
.natal-wheel .aspect-group:hover .aspect-line {
  filter: drop-shadow(0 0 4px currentColor);
}

/* --- Panneau « Focus planète » --- */
.planet-detail {
  max-width: 1100px;
  margin: 1.25rem auto 1rem;
  padding: 1.2rem 1.4rem 1rem;
  background: linear-gradient(135deg, rgba(201, 162, 76, 0.10), rgba(20, 19, 48, 0.55));
  border: 1px solid rgba(201, 162, 76, 0.45);
  border-radius: 8px;
  animation: aspect-reveal 0.3s ease-out;
}
.planet-detail-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(201, 162, 76, 0.2);
  margin-bottom: 0.85rem;
}
.planet-detail-sym {
  font-family: 'DejaVu Sans', 'Segoe UI Symbol', 'Apple Symbols', sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  min-width: 2.4rem;
  text-align: center;
}
.planet-detail-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.planet-detail-meta h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--white);
  margin: 0;
  letter-spacing: 0.005em;
}
.planet-detail-pos {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.planet-detail-close {
  background: transparent;
  border: 1px solid rgba(201, 162, 76, 0.3);
  color: var(--white-dim);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.15s;
  padding: 0;
  flex-shrink: 0;
}
.planet-detail-close:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(201, 162, 76, 0.1);
}
.planet-detail-text {
  color: var(--white-dim);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}
.planet-detail-aspects {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.planet-detail-aspects-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white-mute);
  margin: 0 0 0.3rem;
  font-weight: 500;
}
.planet-detail-aspect {
  display: grid;
  grid-template-columns: minmax(130px, 1.4fr) auto minmax(100px, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.7rem;
  background: rgba(15, 15, 30, 0.4);
  border: 1px solid rgba(201, 162, 76, 0.15);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
  font-size: 0.88rem;
}
.planet-detail-aspect:hover {
  background: rgba(201, 162, 76, 0.08);
  border-color: rgba(201, 162, 76, 0.4);
}
.planet-detail-aspect .asp-other {
  font-family: 'DejaVu Sans', 'Segoe UI Symbol', 'Apple Symbols', sans-serif;
  font-size: 0.95rem;
}
.planet-detail-aspect .asp-sep {
  font-family: 'DejaVu Sans', 'Segoe UI Symbol', sans-serif;
  font-size: 1.05rem;
  text-align: center;
}
.planet-detail-aspect .asp-type {
  color: var(--white);
  font-size: 0.86rem;
}
.planet-detail-aspect .asp-orb {
  color: var(--white-mute);
  font-size: 0.78rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.planet-detail-none {
  color: var(--white-mute);
  font-style: italic;
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 620px) {
  .planet-detail { padding: 1rem 1.1rem 0.9rem; }
  .planet-detail-head { gap: 0.7rem; }
  .planet-detail-sym { font-size: 2rem; min-width: 2rem; }
  .planet-detail-aspect {
    grid-template-columns: 1fr auto;
    gap: 0.3rem 0.6rem;
  }
  .planet-detail-aspect .asp-sep { grid-column: 2; grid-row: 1; }
  .planet-detail-aspect .asp-type { grid-column: 1 / 3; font-size: 0.78rem; color: var(--white-dim); }
  .planet-detail-aspect .asp-orb  { grid-column: 1 / 3; text-align: left; }
}

/* === Bandeau démo sur /theme — ciel du jour avant saisie utilisateur === */
.result-section.is-demo .big-3 {
  opacity: 0.88;
}
.demo-banner {
  margin: 0 auto 1.5rem auto;
  max-width: 560px;
  padding: 0.9rem 1.1rem;
  background: linear-gradient(180deg, rgba(201,162,76,0.08), rgba(201,162,76,0.03));
  border: 1px solid rgba(201,162,76,0.25);
  border-radius: 10px;
  color: rgba(245,240,232,0.82);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: center;
}
.demo-banner strong { color: #F2D88C; font-weight: 500; }

/* ---- Indicateurs champs légaux non renseignés (admin pré-launch) ---- */
.legal-missing {
  color: rgba(200, 162, 76, 0.72);
  font-style: italic;
}

/* ============================================================
   MON CIEL — Tableau de bord des transits
   ============================================================ */

.sky-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  margin: 0 0 1.5rem;
  background: var(--black-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  flex-wrap: wrap;
}
.sky-context-chart strong { display: block; color: var(--white); font-size: 1rem; font-weight: 500; }
.sky-context-chart small  { display: block; color: var(--white-mute); font-size: 0.82rem; margin-top: 0.15rem; }
.sky-context-actions { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.chart-select {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font-family: inherit;
  font-size: 0.88rem;
}
.chart-select:focus { outline: 2px solid var(--accent); outline-offset: 2px; }

.h1-tail { color: var(--accent); font-style: normal; font-weight: 400; font-size: 0.52em; letter-spacing: 0.02em; }

.sky-zone {
  margin: 0 0 2.5rem;
  padding: 1.5rem 1.3rem 1.3rem;
  background: linear-gradient(180deg, rgba(44, 58, 102, 0.10), rgba(11, 16, 32, 0.0));
  border: 1px solid var(--line);
  border-radius: 12px;
}
.sky-zone-head {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}
.sky-zone-head .zone-index {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.12em;
}
.sky-zone-head h2 {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.sky-zone-intro {
  color: var(--white-mute);
  font-size: 0.88rem;
  margin: 0 0 1rem;
  line-height: 1.55;
}
.sky-zone-empty {
  color: var(--white-mute);
  font-size: 0.9rem;
  font-style: italic;
  margin: 0;
}

/* --- Pulse Lune + Soleil --- */
.day-pulse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.day-pulse h3 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}
.day-pulse-position {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.3rem;
  color: var(--white);
  margin: 0 0 0.3rem;
  line-height: 1.35;
}
.day-pulse-phase {
  color: var(--white-dim);
  font-size: 0.88rem;
  margin: 0 0 0.5rem;
  line-height: 1.55;
}
.day-pulse-phase em { color: var(--accent-bright); font-style: normal; font-weight: 500; }
.day-pulse-note {
  color: var(--white-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}
.day-pulse-note strong { color: var(--white); font-weight: 500; }

@media (max-width: 620px) {
  .day-pulse { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* --- Liste transits --- */
.transits-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.transit-card {
  padding: 1rem 1.1rem 0.9rem;
  background: var(--black-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.transit-card:hover { border-color: var(--line-strong); }
.transit-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}
.transit-glyphs {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  min-width: 3.5rem;
}
.transit-glyphs .retro { font-size: 0.72rem; color: var(--rust); vertical-align: top; }
.transit-aspect-glyph { font-size: 0.9rem; opacity: 0.7; }
.transit-title {
  flex: 1;
  color: var(--white-dim);
  font-size: 0.92rem;
  line-height: 1.4;
}
.transit-title strong { color: var(--white); font-weight: 500; }
.transit-state {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
}
.transit-state.is-exact      { color: var(--accent-bright); border-color: rgba(228, 192, 126, 0.5); background: rgba(228, 192, 126, 0.08); }
.transit-state.is-approach   { color: var(--white-dim); }
.transit-state.is-separation { color: var(--white-mute); opacity: 0.75; }

.orb-meter {
  position: relative;
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
  margin: 0.4rem 0 0.7rem;
}
.orb-meter-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease;
}
.orb-meter-label {
  position: absolute;
  top: -1.25rem;
  right: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--white-mute);
}
.transit-text {
  color: var(--white-dim);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* --- Bi-wheel --- */
.bi-wheel {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
}
.bi-wheel svg {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 30px rgba(201, 162, 76, 0.08);
}

/* --- Lunation --- */
.lunation-card {
  padding: 1.1rem 1.2rem;
  background: var(--black-soft);
  border: 1px solid rgba(201, 162, 76, 0.25);
  border-radius: 10px;
}
.lunation-when {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}
.lunation-when strong {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--accent-bright);
}
.lunation-when span {
  color: var(--white-dim);
  font-size: 0.88rem;
}
.lunation-position,
.lunation-house,
.lunation-note {
  color: var(--white-dim);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 0.5rem;
}
.lunation-note { margin-bottom: 0; font-style: italic; color: var(--white-mute); }
.lunation-position strong,
.lunation-house strong { color: var(--white); font-weight: 500; }

/* --- Calendrier 90j --- */
.calendar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.calendar-item {
  display: grid;
  grid-template-columns: 120px 30px 25px 1fr;
  align-items: center;
  gap: 0.6rem 0.8rem;
  padding: 0.65rem 0.2rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.calendar-item:last-child { border-bottom: none; }
.calendar-date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--white-mute);
  letter-spacing: 0.04em;
}
.calendar-glyphs,
.calendar-aspect,
.calendar-target {
  font-family: Georgia, serif;
  font-size: 1.05rem;
}
.calendar-target { color: var(--white); }
.calendar-label {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: var(--white-mute);
  padding-left: 120px;
}

@media (max-width: 620px) {
  .calendar-item {
    grid-template-columns: 1fr auto auto;
    gap: 0.3rem 0.6rem;
  }
  .calendar-date { grid-column: 1 / -1; }
  .calendar-label { padding-left: 0; }
}

/* --- Pour aller plus loin --- */
.next-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.next-card {
  display: block;
  padding: 1rem 1.1rem;
  background: var(--black-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--white);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.next-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.next-card h3 {
  margin: 0 0 0.4rem;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--accent-bright);
}
.next-card p {
  margin: 0;
  color: var(--white-dim);
  font-size: 0.88rem;
  line-height: 1.55;
}

.muted { color: var(--white-mute); }

/* ============================================================
   THEME — Toggle "Voir les transits du jour"
   ============================================================ */
.transits-toggle-box {
  max-width: 1100px;
  margin: 1.5rem auto 1.5rem;
  padding: 1.2rem 1.4rem 1rem;
  background: linear-gradient(135deg, rgba(217, 184, 110, 0.08), rgba(20, 19, 48, 0.55));
  border: 1px solid rgba(217, 184, 110, 0.40);
  border-radius: 10px;
}
.transits-toggle-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.transits-toggle-head .meta-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--accent-bright);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.3rem;
}
.transits-toggle-head h3 {
  margin: 0 0 0.3rem;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--white);
}
.transits-toggle-desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--white-dim);
  line-height: 1.55;
  max-width: 56ch;
}

/* Switch (toggle) */
.transits-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 30px;
  flex-shrink: 0;
  cursor: pointer;
}
.transits-switch input { opacity: 0; width: 0; height: 0; }
.transits-switch-slider {
  position: absolute; inset: 0;
  background: rgba(245, 240, 232, 0.15);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.transits-switch-slider::before {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.22s ease, background 0.22s ease;
}
.transits-switch input:checked + .transits-switch-slider {
  background: rgba(217, 184, 110, 0.45);
  border-color: var(--accent);
}
.transits-switch input:checked + .transits-switch-slider::before {
  transform: translateX(26px);
  background: var(--accent-bright);
}
.transits-switch input:focus-visible + .transits-switch-slider {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Liste des transits (compact) */
.transits-active {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.transits-active h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin: 0 0 1rem;
}
.transits-list-compact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.t-card {
  padding: 0.85rem 1rem 0.75rem;
  background: var(--black-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.t-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}
.t-glyphs {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 3rem;
}
.t-asp { font-size: 0.85rem; opacity: 0.7; }
.t-title {
  flex: 1;
  color: var(--white-dim);
  font-size: 0.9rem;
  line-height: 1.4;
}
.t-title strong { color: var(--white); font-weight: 500; }
.t-state {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
}
.t-state.is-exact { color: var(--accent-bright); border-color: rgba(228, 192, 126, 0.5); background: rgba(228, 192, 126, 0.08); }
.t-state.is-app   { color: var(--white-dim); }
.t-state.is-sep   { color: var(--white-mute); opacity: 0.75; }
.t-orb {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--white-mute);
}
.t-text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--white-dim);
  line-height: 1.6;
}
.transits-cta {
  margin: 1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--line);
  font-size: 0.88rem;
  color: var(--white-dim);
}
.transits-cta .btn { margin-right: 0.5rem; }

/* Bi-wheel sizing inside theme.html */
.wheel-container.is-bi-wheel svg {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}

@media (max-width: 720px) {
  .transits-toggle-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .transits-toggle-head .transits-switch {
    align-self: flex-end;
  }
}

/* ============================================================
   v4 — Mon Ciel pleine largeur (alignée avec Thème natal)
   ============================================================ */
.mon-ciel-section .container.narrow.mon-ciel-container {
  max-width: 1180px;
}
.bi-wheel { padding: 0; }
.bi-wheel .bi-wheel-svg {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}

/* ============================================================
   v4 — Filtre AMPLIFIÉ sur la roue natale (planètes inactives masquées)
   ============================================================ */
.natal-wheel.is-filtered .aspect-group:not(.matches-selected) .aspect-line {
  opacity: 0.04 !important;     /* presque invisible (avant 0.08) */
}
.natal-wheel.is-filtered .planet-group:not(.is-selected) {
  opacity: 0.18;                /* fortement effacé (avant 0.5) */
}
.natal-wheel.is-filtered .planet-group.is-selected {
  filter: drop-shadow(0 0 8px currentColor);
}

/* Indicateur de cliquabilité sur les planètes (curseur main partout) */
.natal-wheel .planet-group { cursor: pointer; }

/* ============================================================
   v4 — Bi-roue : interactions et filtre par clic sur planète natale
   ============================================================ */
.bi-wheel-svg .bi-planet-natal {
  cursor: pointer;
  transition: opacity 0.22s ease, filter 0.22s ease;
}
.bi-wheel-svg .bi-planet-natal:hover .bi-planet-disc,
.bi-wheel-svg .bi-planet-natal:focus-visible .bi-planet-disc {
  stroke-width: 2.4;
}
.bi-wheel-svg .bi-planet-natal:hover .bi-planet-glyph,
.bi-wheel-svg .bi-planet-natal:focus-visible .bi-planet-glyph {
  filter: drop-shadow(0 0 4px currentColor);
}
.bi-wheel-svg .bi-planet-natal:focus { outline: none; }

.bi-wheel-svg .bi-aspect {
  transition: opacity 0.22s ease, stroke-width 0.22s ease;
}
.bi-wheel-svg .bi-planet,
.bi-wheel-svg .bi-aspect {
  transition: opacity 0.22s ease;
}

/* État filtré (une planète natale sélectionnée) */
.bi-wheel-svg.is-filtered .bi-aspect:not(.matches-selected) {
  opacity: 0.05 !important;
}
.bi-wheel-svg.is-filtered .bi-aspect.matches-selected {
  opacity: 1 !important;
  stroke-width: 3.2;
  filter: drop-shadow(0 0 4px currentColor);
}
.bi-wheel-svg.is-filtered .bi-planet-natal:not(.is-selected) {
  opacity: 0.18;
}
.bi-wheel-svg.is-filtered .bi-planet-natal.is-selected .bi-planet-disc {
  stroke-width: 2.6;
}
.bi-wheel-svg.is-filtered .bi-planet-natal.is-selected .bi-planet-glyph {
  filter: drop-shadow(0 0 8px currentColor);
}
.bi-wheel-svg.is-filtered .bi-planet-transit:not(.is-selected) {
  opacity: 0.22;
}
.bi-wheel-svg.is-filtered .bi-planet-transit.is-selected {
  filter: drop-shadow(0 0 6px currentColor);
}

/* Liste de transits associée (compact ou Mon Ciel) — items dim quand non concernés */
[data-transits-list] [data-natal-id] {
  transition: opacity 0.22s ease;
}
[data-transits-list] [data-natal-id].is-dimmed {
  opacity: 0.28;
}

/* v13 : le hint a été déplacé dans le HTML (sous l'intro de la zone) — le pseudo-élément a été retiré pour libérer de la hauteur. */

/* ============================================================
   v5 — Toggle transits : bouton explicite (remplace l'ancien switch)
   ============================================================ */
.transits-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  background: rgba(217, 184, 110, 0.10);
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  color: var(--accent-bright);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}
.transits-toggle-btn:hover {
  background: rgba(217, 184, 110, 0.22);
  transform: translateY(-1px);
}
.transits-toggle-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.transits-toggle-btn[aria-pressed="true"] {
  background: rgba(217, 184, 110, 0.32);
  color: var(--white);
  box-shadow: 0 0 14px rgba(217, 184, 110, 0.4);
}
.transits-toggle-btn-icon {
  font-size: 1.1rem;
  line-height: 1;
}

/* ============================================================
   v5 — Filtre natal AMPLIFIÉ (les styles inline en JS gagnent toujours
   mais on met aussi des règles CSS pour la transition)
   ============================================================ */
.natal-wheel.is-filtered .aspect-group:not(.matches-selected) .aspect-line {
  /* fallback CSS si JS échoue : presque invisible */
  opacity: 0.05 !important;
}
.natal-wheel.is-filtered .aspect-group.matches-selected .aspect-line {
  /* fallback CSS pour matches : très visible */
  opacity: 1 !important;
  stroke-width: 3.5 !important;
}

/* v5 — Angles AC/MC cliquables : curseur main + halo au survol */
.natal-wheel .angle-marker.is-clickable { cursor: pointer; }
.natal-wheel .angle-marker.is-clickable:hover circle,
.natal-wheel .angle-marker.is-clickable:focus-visible circle {
  filter: drop-shadow(0 0 6px rgba(242, 216, 140, 0.6));
}
.natal-wheel.is-filtered .angle-marker.is-clickable:not(.is-selected) {
  opacity: 0.32;
}
.natal-wheel.is-filtered .angle-marker.is-clickable.is-selected circle {
  filter: drop-shadow(0 0 8px currentColor);
}

/* v6 — Badge diagnostic du filtre planète */
.filter-badge {
  display: none;
  max-width: 1100px;
  margin: 0 auto 1rem;
  padding: 0.7rem 1.1rem;
  background: rgba(217, 184, 110, 0.18);
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  color: var(--accent-bright);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-align: center;
}
.filter-badge strong { color: var(--white); font-weight: 600; }
.filter-badge-clear {
  background: transparent;
  color: var(--accent-bright);
  border: 1px solid var(--accent);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.filter-badge-clear:hover { background: rgba(217, 184, 110, 0.25); }

/* v7 — Date et lieu de naissance au-dessus de la roue */
.wheel-birth-info {
  max-width: 1100px;
  margin: 0 auto 1rem;
  padding: 0.7rem 1.1rem;
  background: rgba(20, 19, 48, 0.45);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.wheel-birth-info .meta-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.wheel-birth-info strong {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--white);
}
.wheel-birth-info .birth-coords {
  color: var(--white-mute);
  font-size: 0.82rem;
  font-family: 'IBM Plex Mono', monospace;
}

/* ============================================================
   v8 — Nouveau formulaire (prénom à droite de lieu)
   ============================================================ */
.tfc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.2rem;
}
.tfc-grid > .tfc-field-full { grid-column: 1 / -1; }
@media (max-width: 720px) {
  .tfc-grid { grid-template-columns: 1fr; }
}

.tfc-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center;
}
.tfc-cta-secondary {
  font-size: 0.92rem;
}

/* Birth name au-dessus de la roue */
.wheel-birth-info .birth-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--accent-bright);
  margin-right: 0.8rem;
  border-right: 1px solid var(--line);
  padding-right: 0.8rem;
}

/* Bloc de téléchargement PDF */
.pdf-download-box {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 1.5rem 1.4rem 1.2rem;
  background: linear-gradient(135deg, rgba(217, 184, 110, 0.12), rgba(20, 19, 48, 0.45));
  border: 1px solid rgba(217, 184, 110, 0.4);
  border-radius: 10px;
}
.pdf-download-box h3 {
  margin: 0.3rem 0 0.6rem;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--white);
}
.pdf-download-box .cta-row { margin-top: 1rem; }

/* ============================================================
   v8 — IMPRESSION (PDF) : layout A4 propre
   ============================================================ */
@media print {
  @page {
    size: A4;
    margin: 1.4cm 1.2cm;
  }

  body {
    background: white !important;
    color: #1a1a2e !important;
    font-family: Georgia, 'Times New Roman', serif !important;
  }

  /* Cacher tout ce qui n'est pas le contenu du thème */
  .site-nav,
  .site-footer,
  .skip-link,
  #starfield,
  canvas,
  .theme-hero,
  #form-section,
  .result-preview-wrap,
  #email-gate,
  .wheel-params,
  .wheel-tooltip,
  .planet-detail,
  .aspect-detail,
  .save-chart-box,
  .cta-after-chart,
  .transits-toggle-box,
  .pdf-download-box,
  .filter-badge,
  #filter-badge,
  details summary,
  .nav-toggle,
  .toast-container {
    display: none !important;
  }

  /* Show le contenu du résultat seulement */
  #main, main, section, .container {
    background: white !important;
    color: #1a1a2e !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  details { display: block !important; }
  details > *:not(summary) { display: block !important; }

  .result-full {
    color: #1a1a2e !important;
  }

  /* Header du PDF : titre du thème */
  .wheel-birth-info {
    background: white !important;
    border: 0 !important;
    border-bottom: 2px solid #C8A25C !important;
    border-radius: 0 !important;
    padding: 0 0 0.6cm 0 !important;
    margin: 0 0 0.6cm 0 !important;
    text-align: center !important;
  }
  .wheel-birth-info .birth-name {
    color: #C8A25C !important;
    font-size: 18pt !important;
    border: 0 !important;
    display: block !important;
    margin: 0 auto 0.3cm auto !important;
    padding: 0 !important;
  }
  .wheel-birth-info .meta-label {
    color: #666 !important;
    font-size: 8pt !important;
    letter-spacing: 0.1em !important;
  }
  .wheel-birth-info strong {
    color: #1a1a2e !important;
    font-size: 11pt !important;
  }
  .wheel-birth-info .birth-coords {
    color: #666 !important;
    font-size: 9pt !important;
  }

  /* Roue : taille adaptée à l'A4 (~13cm) */
  .wheel-container {
    page-break-inside: avoid;
    margin: 0 auto !important;
    max-width: 14cm !important;
  }
  .natal-wheel {
    width: 14cm !important;
    height: 14cm !important;
    background: #fefdf9 !important;
  }
  /* Inverse des couleurs sur la roue : fond blanc, texte sombre */
  .natal-wheel circle[fill*="skyBg"],
  .natal-wheel circle[fill*="url"] {
    fill: #fefdf9 !important;
  }
  .natal-wheel text {
    fill: #1a1a2e !important;
  }
  .natal-wheel text[fill*="C9A24C"],
  .natal-wheel text[fill*="D9B86E"],
  .natal-wheel text[fill*="F2D88C"] {
    fill: #8E6D2E !important;
  }

  .chart-meta-row {
    text-align: center !important;
    color: #666 !important;
    margin: 0.4cm 0 !important;
    font-size: 9pt !important;
    background: transparent !important;
  }
  .chart-meta-row .meta-label { color: #999 !important; }
  .chart-meta-row strong { color: #1a1a2e !important; }

  /* Tableaux */
  .chart-summary { page-break-inside: auto; margin: 0.6cm 0 !important; }
  .chart-summary h3 {
    color: #C8A25C !important;
    font-size: 13pt !important;
    border-bottom: 1px solid #C8A25C !important;
    padding-bottom: 0.15cm !important;
    margin: 0.4cm 0 0.2cm 0 !important;
  }
  .chart-table {
    width: 100% !important;
    border-collapse: collapse !important;
    color: #1a1a2e !important;
    font-size: 9pt !important;
    background: white !important;
  }
  .chart-table th, .chart-table td {
    padding: 0.15cm 0.25cm !important;
    border-bottom: 1px solid #ddd !important;
    background: white !important;
    color: #1a1a2e !important;
    text-align: left !important;
  }
  .chart-table th {
    font-weight: 600 !important;
    color: #666 !important;
    font-size: 8pt !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
  }

  /* Interprétations */
  .chart-interpretations { page-break-before: always; }
  .interp-block {
    page-break-inside: avoid;
    margin-bottom: 0.5cm !important;
    background: white !important;
    color: #1a1a2e !important;
  }
  .interp-block h3 {
    color: #C8A25C !important;
    font-size: 11pt !important;
    margin-bottom: 0.15cm !important;
    border: 0 !important;
  }
  .interp-block p, .interp-block li {
    color: #1a1a2e !important;
    font-size: 9.5pt !important;
    line-height: 1.45 !important;
    margin-bottom: 0.2cm !important;
  }

  /* Sabians */
  .sabian-section { page-break-before: auto; }
  .sabian-section h3 {
    color: #C8A25C !important;
    border-bottom: 1px solid #C8A25C !important;
  }
  .sabian-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.25cm !important;
  }
  .sabian-grid > * {
    background: white !important;
    color: #1a1a2e !important;
    border: 1px solid #ddd !important;
    padding: 0.2cm 0.3cm !important;
    font-size: 9pt !important;
    page-break-inside: avoid;
  }

  /* Footer du PDF */
  .result-full::after {
    content: "Thème calculé sur stephane-astro.com — © Stéphane Gagnard, astrologue";
    display: block;
    text-align: center;
    margin-top: 0.6cm;
    padding-top: 0.3cm;
    border-top: 1px solid #ddd;
    color: #999;
    font-size: 8pt;
    font-style: italic;
  }

  /* Liens en mode print : pas d'affichage de l'URL */
  a, a::after { color: #1a1a2e !important; text-decoration: none !important; }
}

/* ============================================================
   v11 — Retour au layout simple : roue centrée, panneaux dessous.
   Le panneau apparaît juste sous la roue au clic, sans scrollIntoView,
   donc la page ne bouge pas. L'utilisateur descend pour voir le détail.
   ============================================================ */
/* (Les anciens styles .wheel-with-panel et .wheel-side-panel ont été
   retirés en v11 — le wrapper en grille n'est plus utilisé.) */

/* ============================================================
   v13 — Sélecteur "Reprendre un thème enregistré" (theme.html)
   ============================================================ */
.reload-saved-chart {
  max-width: 560px;
  margin: 0 auto 1.4rem;
  padding: 0.6rem 1rem;
  background: rgba(20, 19, 48, 0.45);
  border: 1px solid rgba(217, 184, 110, 0.30);
  border-radius: 8px;
  text-align: center;
}
.reload-saved-chart .meta-label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}
.reload-saved-row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.reload-saved-row select {
  flex: 1 1 240px;
  min-width: 0;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0.5rem 0.7rem;
  font-family: inherit;
  font-size: 0.92rem;
}
.reload-saved-row select:focus { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ============================================================
   v16 — Direction des aspects (croissant ↗ / décroissant ↘ / exact ●)
   ============================================================ */
/* Tooltip : badge directionnel inline */
.wheel-tooltip .tip-dir {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.wheel-tooltip .tip-dir.applying   { color: #5FB07A; }
.wheel-tooltip .tip-dir.separating { color: #C7BBA1; }
.wheel-tooltip .tip-dir.exact      { color: #E4C078; font-weight: 600; }

/* Tableau d'aspects : badge directionnel */
.dir-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  display: inline-block;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.dir-tag.applying {
  color: #5FB07A;
  border: 1px solid rgba(95, 176, 122, 0.4);
  background: rgba(95, 176, 122, 0.08);
}
.dir-tag.separating {
  color: var(--white-mute);
  border: 1px solid var(--line-strong);
  background: rgba(245, 240, 232, 0.04);
}
.dir-tag.exact {
  color: var(--accent-bright);
  border: 1px solid var(--accent);
  background: rgba(217, 184, 110, 0.12);
  font-weight: 600;
}
.col-dir { text-align: left; }

/* Roue : aspects décroissants en pointillés fins, exacts pulsés.
   Les croissants restent en trait plein (état standard). */
.natal-wheel .aspect-group[data-aspect-direction="separating"] .aspect-line:not([stroke-dasharray]) {
  stroke-dasharray: 6 4;
  stroke-opacity: 0.65;
}
.natal-wheel .aspect-group[data-aspect-direction="exact"] .aspect-line {
  filter: drop-shadow(0 0 4px currentColor);
}
.natal-wheel .bi-aspect[data-aspect-direction="separating"] {
  stroke-dasharray: 5 3;
  stroke-opacity: 0.55;
}
.natal-wheel .bi-aspect[data-aspect-direction="exact"] {
  filter: drop-shadow(0 0 4px currentColor);
}
