/* ═══════════════════════════════════════════════════════════════
   COMPATIBILITÉ COUPLE — Design System
   Palette : Minuit profond · Or doux · Blanc crème
   ═══════════════════════════════════════════════════════════════ */

:root {
  --c-bg:          #0a0a14;
  --c-bg-2:        #0f0f1e;
  --c-bg-3:        #13132a;
  --c-gold:        #c9a84c;
  --c-gold-light:  #e8c97a;
  --c-gold-dim:    #7a6530;
  --c-cream:       #f5f0e8;
  --c-text:        #ccc8be;
  --c-text-dim:    #7a7670;
  --c-border:      rgba(201,168,76,.15);
  --c-border-hover:rgba(201,168,76,.4);
  --c-glow:        rgba(201,168,76,.08);

  --f-serif:       'Cormorant Garamond', Georgia, serif;
  --f-sans:        'Inter', system-ui, sans-serif;

  --r-sm:    6px;
  --r-md:   12px;
  --r-lg:   20px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.45, 0, 0.55, 1);
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
input, select, button, textarea { font: inherit; }
fieldset { border: none; }

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--f-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--c-cream);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: var(--c-text-dim);
  max-width: 560px;
  line-height: 1.7;
}
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head .section-sub { margin: 0 auto; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all .25s var(--ease-out-expo);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--c-gold) 0%, var(--c-gold-light) 100%);
  color: #0a0a14;
  box-shadow: 0 0 24px rgba(201,168,76,.25), 0 4px 16px rgba(0,0,0,.4);
}
.btn--primary:hover {
  box-shadow: 0 0 40px rgba(201,168,76,.45), 0 8px 24px rgba(0,0,0,.5);
  transform: translateY(-2px);
}
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  color: var(--c-cream);
  border: 1px solid var(--c-border);
}
.btn--ghost:hover {
  border-color: var(--c-border-hover);
  background: var(--c-glow);
}
.btn--large { padding: 16px 40px; font-size: 16px; }

/* ─── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled {
  background: rgba(10,10,20,.85);
  border-bottom-color: var(--c-border);
}
.nav__logo {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  color: var(--c-cream);
  font-weight: 400;
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#starfield {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero__glow--1 {
  width: 600px; height: 600px;
  top: -100px; left: -150px;
  background: radial-gradient(circle, rgba(201,168,76,.12) 0%, transparent 70%);
}
.hero__glow--2 {
  width: 500px; height: 500px;
  top: 20%; right: -100px;
  background: radial-gradient(circle, rgba(80,60,180,.12) 0%, transparent 70%);
}
.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 140px 24px 80px;
}
.hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 20px;
  opacity: 0;
}
.hero__title {
  font-family: var(--f-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--c-cream);
  margin-bottom: 24px;
}
.hero__title-line { display: block; opacity: 0; }
.hero__title-line--accent { color: var(--c-gold-light); font-style: italic; }
.hero__sub {
  font-size: 1.05rem;
  color: var(--c-text);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0;
}
.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  opacity: 0;
  flex-wrap: wrap;
  justify-content: center;
}

/* ─── ZODIAC WHEEL ───────────────────────────────────────── */
.wheel-wrap {
  width: min(500px, 90vw);
  height: min(500px, 90vw);
  position: relative;
  opacity: 0;
}
.wheel {
  width: 100%; height: 100%;
  overflow: visible;
}


/* ─── STATS ──────────────────────────────────────────────── */
.stats {
  padding: 80px 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg-2);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}
.stat__num {
  display: block;
  font-family: var(--f-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--c-gold-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label {
  font-size: 13px;
  color: var(--c-text-dim);
  letter-spacing: 0.04em;
}

/* ─── HOW IT WORKS ───────────────────────────────────────── */
.how {
  padding: 120px 0;
}
.how__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}
.how__step {
  padding: 40px 32px;
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  transition: border-color .3s, box-shadow .3s;
}
.how__step:hover {
  border-color: var(--c-border-hover);
  box-shadow: 0 0 40px var(--c-glow);
}
.how__step-icon {
  width: 48px; height: 48px;
  color: var(--c-gold);
  margin-bottom: 20px;
}
.how__step h3 {
  font-family: var(--f-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--c-cream);
  margin-bottom: 12px;
}
.how__step p {
  font-size: 0.9rem;
  color: var(--c-text-dim);
  line-height: 1.7;
}

/* ─── FORM SECTION ───────────────────────────────────────── */
.form-section {
  padding: 120px 0;
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
}

/* ─── ONGLETS DE CALCUL ──────────────────────────────────── */
.calc-tabs {
  display: flex; justify-content: center; gap: 8px;
  max-width: 960px; margin: 0 auto 32px;
}
.calc-tab {
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 10px 28px;
  font-size: 14px; font-weight: 500;
  color: var(--c-text-dim);
  cursor: pointer;
  transition: all .2s var(--ease-out-expo);
}
.calc-tab:hover { border-color: var(--c-border-hover); color: var(--c-cream); }
.calc-tab.active {
  background: rgba(201,168,76,.1);
  border-color: var(--c-border-hover);
  color: var(--c-gold);
}
.calc-panel[hidden] { display: none; }

.numero-note {
  font-size: 12px; color: var(--c-text-dim);
  margin-top: -8px; margin-bottom: 20px; line-height: 1.6;
}

/* ─── FORM ───────────────────────────────────────────────── */
.compat-form { max-width: 960px; margin: 0 auto; }

.form-duo {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .form-duo {
    grid-template-columns: 1fr;
  }
  .form-middle { display: flex; justify-content: center; }
}

.person-block {
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: border-color .3s;
}
.person-block:focus-within { border-color: var(--c-border-hover); }
.person-block--a .person-block__letter { background: rgba(201,168,76,.15); color: var(--c-gold); }
.person-block--b .person-block__letter { background: rgba(120,100,220,.15); color: #a090e8; }

.person-block__legend {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--c-cream);
  margin-bottom: 24px;
}
.person-block__letter {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 600;
}

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}
.field input, .field select {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  color: var(--c-cream);
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--c-gold-dim);
  box-shadow: 0 0 0 3px rgba(201,168,76,.1);
}
.field input::placeholder { color: var(--c-text-dim); }
.field input.error { border-color: #e05a5a; }
.field-error {
  font-size: 12px;
  color: #e05a5a;
  margin-top: -14px;
  margin-bottom: 8px;
  display: none;
}
.field-error.visible { display: block; }

.field-row { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 10px; }
.field--sm {}

.time-wrap { display: flex; align-items: center; gap: 16px; }
.time-wrap input[type="time"] { flex: 1; }
.checkbox-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--c-text-dim);
  cursor: pointer; white-space: nowrap;
  flex-direction: row;
}
.checkbox-label input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--c-gold);
  cursor: pointer;
}

.autocomplete-wrap { position: relative; }
.autocomplete-dropdown {
  position: absolute;
  top: 100%; left: 0; right: 0;
  z-index: 50;
  background: var(--c-bg-3);
  border: 1px solid var(--c-border-hover);
  border-top: none;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  max-height: 240px;
  overflow-y: auto;
}
.autocomplete-option {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--c-text);
  cursor: pointer;
  transition: background .15s;
}
.autocomplete-option:hover,
.autocomplete-option[aria-selected="true"] {
  background: rgba(201,168,76,.1);
  color: var(--c-cream);
}

/* ─── FORM MIDDLE (copy button) ──────────────────────────── */
.form-middle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 48px;
}
.btn-copy-place {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--c-border);
  border-radius: var(--r-md); padding: 14px 12px;
  color: var(--c-text-dim); font-size: 11px;
  cursor: pointer; transition: all .2s;
  white-space: nowrap;
}
.btn-copy-place:hover { border-color: var(--c-border-hover); color: var(--c-gold); }

/* ─── FORM OPTIONS ───────────────────────────────────────── */
.form-options {
  display: flex; gap: 24px; flex-wrap: wrap;
  padding: 24px 32px;
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  margin-bottom: 32px;
}
.field--inline { flex-direction: row; align-items: center; gap: 12px; margin-bottom: 0; }
.field--inline label { white-space: nowrap; min-width: max-content; }
.field--inline select { min-width: 200px; }

/* ─── FORM SUBMIT ────────────────────────────────────────── */
.form-submit { text-align: center; }
.form-privacy {
  margin-top: 16px;
  font-size: 12px;
  color: var(--c-text-dim);
}
.btn-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(10,10,20,.3);
  border-top-color: #0a0a14;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── LOADING OVERLAY ────────────────────────────────────── */
.loading-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10,10,20,.75);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
}
.loading-overlay[hidden] { display: none; }
.loading-inner { text-align: center; }
.loading-text {
  margin-top: 20px;
  font-family: var(--f-serif);
  font-size: 1.1rem;
  color: var(--c-gold-light);
  letter-spacing: 0.04em;
}

/* ─── RESULTS OVERLAY ────────────────────────────────────── */
.results-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: flex-end;
}
.results-overlay[hidden] { display: none; }
.results-overlay__bg {
  position: absolute; inset: 0;
  background: rgba(10,10,20,.6);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.results-panel {
  position: relative; z-index: 1;
  width: 100%;
  max-height: 92vh;
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  border-radius: 24px 24px 0 0;
  display: flex; flex-direction: column;
  transform: translateY(100%);
}
.results-panel__header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 28px 36px 20px;
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
}
.results-panel__title {
  font-family: var(--f-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--c-cream);
  margin: 0;
}
.results-close {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text);
  cursor: pointer;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.results-close:hover { background: rgba(201,168,76,.15); color: var(--c-gold); }
.results-panel__body {
  overflow-y: auto;
  padding: 28px 36px 40px;
  flex: 1;
}

/* ─── SCORE RING ─────────────────────────────────────────── */
.score-ring-wrap {
  display: flex; align-items: center; gap: 28px;
  padding: 24px 28px;
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  margin-bottom: 28px;
}
@media (max-width: 500px) { .score-ring-wrap { flex-direction: column; text-align: center; } }
.score-ring {
  position: relative;
  width: 110px; height: 110px;
  flex-shrink: 0;
}
.score-ring svg { transform: rotate(-90deg); }
.score-ring__num {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-serif);
  font-size: 2rem; font-weight: 300;
  color: var(--c-gold-light);
}
.score-label { font-family: var(--f-serif); font-size: 1.4rem; color: var(--c-cream); margin-bottom: 6px; }
.score-sub   { font-size: 13px; color: var(--c-text-dim); }

/* ─── CHARTS GRID ────────────────────────────────────────── */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
@media (max-width: 680px) { .charts-grid { grid-template-columns: 1fr; } }

.chart-card {
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.chart-card--a .chart-card__head { border-bottom-color: rgba(201,168,76,.2); }
.chart-card--b .chart-card__head { border-bottom-color: rgba(120,100,220,.2); }

.chart-card__head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--c-border);
  display: flex; align-items: center; gap: 10px;
}
.chart-card__letter {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
}
.chart-card--a .chart-card__letter { background: rgba(201,168,76,.15); color: var(--c-gold); }
.chart-card--b .chart-card__letter { background: rgba(120,100,220,.15); color: #a090e8; }

.chart-card__name {
  font-family: var(--f-serif);
  font-size: 1.1rem; font-weight: 400;
  color: var(--c-cream);
}
.chart-card__meta {
  font-size: 11px; color: var(--c-text-dim);
  padding: 8px 20px 12px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.positions-table {
  width: 100%; border-collapse: collapse;
  font-size: 13px;
}
.positions-table tr { border-bottom: 1px solid rgba(255,255,255,.03); }
.positions-table tr:last-child { border-bottom: none; }
.positions-table td {
  padding: 7px 20px;
  color: var(--c-text);
  vertical-align: middle;
}
.positions-table td:first-child { color: var(--c-text-dim); width: 34px; font-size: 15px; }
.positions-table td:nth-child(2) { font-weight: 400; }
.positions-table td:last-child { color: var(--c-text-dim); text-align: right; font-size: 12px; }
.pos-retro { color: var(--c-gold-dim); font-size: 10px; margin-left: 4px; }

/* ─── ANGLES ROW ─────────────────────────────────────────── */
.angles-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px; margin-bottom: 24px;
}
.angle-chip {
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 12px 16px;
  text-align: center;
}
.angle-chip__label { font-size: 10px; color: var(--c-text-dim); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.angle-chip__val   { font-family: var(--f-serif); font-size: 1rem; color: var(--c-cream); }

/* ─── DEGRADED BANNER ────────────────────────────────────── */
.degraded-banner {
  background: rgba(201,168,76,.07);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--r-md);
  padding: 12px 18px;
  font-size: 13px; color: var(--c-text-dim);
  margin-bottom: 22px;
}
.degraded-banner strong { color: var(--c-gold-light); }

/* ─── FORM INLINE ERRORS ─────────────────────────────────── */
.field-inline-error {
  font-size: 12px; color: #e07a7a;
  margin-top: 4px; display: none;
}
.field-inline-error.show { display: block; }
.field input.invalid { border-color: #e07a7a !important; }

/* ─── INTERPRÉTATION ─────────────────────────────────────── */
.interpretation {
  margin-bottom: 32px;
}
.interp-title {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--c-gold-light);
  margin: 28px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-border);
}
.interp-title:first-child { margin-top: 0; }
.interp-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--c-text);
  margin-bottom: 10px;
}
.interp-text:last-child { margin-bottom: 0; }
.numero-text { font-size: 0.95rem; line-height: 1.8; color: var(--c-text); margin-bottom: 10px; }
.numero-text:last-child { margin-bottom: 0; }

/* ─── OLD RESULT TABLE (kept for compat) ─────────────────── */
.result-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.result-table th { color: var(--c-text-dim); font-weight: 500; text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--c-border); }
.result-table td { padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,.04); }
.retrograde { color: var(--c-gold-dim); font-style: italic; }

/* ─── PROOF ──────────────────────────────────────────────── */
.proof { padding: 120px 0; border-top: 1px solid var(--c-border); }
.proof__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.proof__card {
  padding: 32px;
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
}
.proof__icon { font-size: 2rem; margin-bottom: 16px; }
.proof__card h3 {
  font-family: var(--f-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--c-cream);
  margin-bottom: 10px;
}
.proof__card p { font-size: 0.875rem; color: var(--c-text-dim); line-height: 1.7; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--c-border);
  background: var(--c-bg);
}
.footer__cols {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.footer__logo {
  font-family: var(--f-serif);
  font-size: 1.2rem;
  color: var(--c-cream);
  margin-bottom: 8px;
}
.footer__tagline { font-size: 13px; color: var(--c-text-dim); }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a {
  font-size: 13px;
  color: var(--c-text-dim);
  transition: color .2s;
}
.footer__links a:hover { color: var(--c-gold); }
.footer__copy { font-size: 12px; color: var(--c-text-dim); }

/* ─── ANIMATIONS (initial hidden states) ─────────────────── */
.how__step, .proof__card, .stat {
  opacity: 0;
  transform: translateY(24px);
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav { padding: 14px 20px; }
  .hero__content { padding: 120px 20px 60px; }
  .hero__title { font-size: 2.5rem; }
  .form-duo { gap: 16px; }
  .person-block { padding: 24px 20px; }
  .form-options { padding: 20px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .field-row .field:last-child { grid-column: 1 / -1; }
  .time-wrap { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════
   SYNASTRIE — aspects, recouvrements, composite (phase 2)
   ═══════════════════════════════════════════════════════════ */

.aspect-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.aspect-row {
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--c-border, rgba(255, 255, 255, .08));
  border-left-width: 3px;
}
/* La couleur code la valence de l'aspect ; le texte reste la source d'information. */
.aspect-row--flux    { border-left-color: rgba(120, 200, 150, .55); }
.aspect-row--tension { border-left-color: rgba(215, 120, 110, .55); }
.aspect-row--neutre  { border-left-color: var(--c-gold); }

.aspect-row__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.aspect-pair { font-size: 14px; color: var(--c-cream); }
.aspect-pair .dim { color: var(--c-text-dim); font-weight: 400; }

.aspect-glyph {
  display: inline-block;
  margin: 0 8px;
  font-size: 17px;
  color: var(--c-gold);
  vertical-align: -1px;
}

.aspect-meta {
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--c-text-dim);
  white-space: nowrap;
}

.aspect-text {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--c-text, rgba(245, 240, 232, .8));
  margin: 0;
}

.overlay-side { margin-top: 18px; }

.overlay-title {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  margin-bottom: 10px;
}

.overlay-line {
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 6px;
  padding-left: 14px;
  border-left: 1px solid rgba(201, 168, 76, .25);
}

.res-chips-front {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.res-chip-front {
  font-size: 12px;
  padding: 6px 11px;
  border-radius: 8px;
  background: rgba(201, 168, 76, .08);
  border: 1px solid rgba(201, 168, 76, .2);
}
.res-chip-front b { color: var(--c-gold); font-weight: 600; margin-right: 5px; }

@media (max-width: 540px) {
  .aspect-row__head { flex-direction: column; gap: 4px; }
  .aspect-meta { white-space: normal; }
}
