/* ─────────────────────────────────────────────
   Eric Martin · Astrologue & Tarologue
   Feuille de style partagée pour les pages de contenu
   ───────────────────────────────────────────── */

:root {
  --night: #0f1726;
  --deep: #142036;
  --card: #1a263d;
  --card2: #1e2c45;
  --border: rgba(227,191,120,.22);
  --border2: rgba(227,191,120,.12);
  --gold: #e3bf78;
  --gold2: #f4d896;
  --gold-dim: rgba(227,191,120,.85);
  --gold-glow: rgba(227,191,120,.16);
  --silver: #d4dae3;
  --text: #f5ede0;
  --muted: rgba(232,222,200,.92);
  --rose: #b85a6c;
  --radius: 20px;
  --radius-lg: 28px;
  --max: 860px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--night);
  color: var(--text);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 19px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; border-bottom: 1px dotted rgba(227,191,120,.3); transition: color .2s, border-color .2s; }
a:hover { color: var(--gold2); border-bottom-color: var(--gold); }

#starfield { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

.page {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* ─── HEADER ─── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--border2);
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 16px; }
.brand a { border-bottom: none; }

.sigil-wrap { width: 52px; height: 52px; flex: 0 0 auto; position: relative; }
.sigil-svg { width: 52px; height: 52px; animation: sigil-spin 40s linear infinite; }
@keyframes sigil-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.brand-text .brand-title {
  font-family: 'Cinzel', serif;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold2);
  line-height: 1.1;
  margin: 0;
}

.brand-text p {
  font-family: 'EB Garamond', serif;
  font-size: .85rem;
  color: var(--muted);
  letter-spacing: .08em;
  margin-top: 3px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  font-family: 'Cinzel', serif;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(227,191,120,.06);
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
}

.nav-btn:hover {
  background: rgba(227,191,120,.14);
  box-shadow: 0 0 20px rgba(227,191,120,.18);
}

/* ─── PAGE HERO (simpler than homepage) ─── */
.page-hero {
  padding: 60px 0 36px;
  text-align: left;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 24px;
}

.eyebrow::before, .eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim));
}

.eyebrow::after { background: linear-gradient(90deg, var(--gold-dim), transparent); }

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.015em;
  color: #fff;
  margin-bottom: 18px;
}

.page-hero h1 em { font-style: italic; color: var(--gold2); }

.page-hero .lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--gold-dim);
  line-height: 1.5;
  margin-bottom: 12px;
}

.hero-divider {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 28px 0 28px;
}

/* ─── TYPOGRAPHY ─── */
h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -.005em;
}

h2 { font-size: 1.8rem; margin: 36px 0 14px; }
h3 { font-size: 1.3rem; margin: 28px 0 10px; color: var(--gold2); }

h2 em, h3 em { font-style: italic; color: var(--gold2); }

p { color: var(--text); font-size: 1rem; line-height: 1.7; margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 18px 0; padding-left: 22px; }
li { margin-bottom: 8px; line-height: 1.6; }

strong { color: var(--gold2); font-weight: 500; }

/* ─── SECTION BLOCK ─── */
.section-block {
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  background: var(--card);
  padding: 36px 40px;
  margin-bottom: 16px;
}

.section-label {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 12px;
}

/* ─── INFO CALLOUT ─── */
.callout {
  margin: 22px 0;
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  background: rgba(227,191,120,.05);
}

.callout p { font-size: .98rem; margin-bottom: 8px; }
.callout p:last-child { margin-bottom: 0; }

/* ─── KEY POINTS LIST ─── */
.key-list { list-style: none; padding: 0; margin: 18px 0; }
.key-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  line-height: 1.55;
}
.key-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(227,191,120,.5);
}

/* ─── BUTTONS ─── */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Cinzel', serif;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
  border-bottom: none;
}

.btn-primary {
  background: linear-gradient(135deg, #c9a24e 0%, #e8c96a 50%, #c9a24e 100%);
  color: #142036;
  border: 1px solid var(--gold);
  box-shadow: 0 4px 18px rgba(227,191,120,.18);
}

.btn-primary:hover {
  box-shadow: 0 6px 22px rgba(227,191,120,.3);
  transform: translateY(-1px);
  color: #142036;
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
}

.btn-secondary:hover {
  background: rgba(227,191,120,.08);
  color: var(--gold2);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ─── FINAL CTA BLOCK ─── */
.cta-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #1a263d 0%, #172339 100%);
  padding: 44px 40px;
  margin: 32px 0 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(227,191,120,.1), transparent 60%);
  pointer-events: none;
}

.cta-block > * { position: relative; z-index: 1; }

.cta-block h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0 0 14px;
}

.cta-block p { max-width: 48ch; margin: 0 auto 24px; }

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── BACK LINK ─── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Cinzel', serif;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin: 32px 0 0;
  border-bottom: none;
}

.back-link:hover { color: var(--gold2); }

/* ─── RELATED LINKS ─── */
.related-block {
  margin-top: 30px;
  padding: 28px 32px;
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  background: rgba(20, 32, 54, .35);
}

.related-block h2 {
  font-size: 1.2rem;
  color: var(--gold-dim);
  margin: 0 0 16px;
  font-weight: 400;
}

.related-block ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

.related-block li {
  font-size: .92rem;
  line-height: 1.55;
  color: rgba(220, 205, 180, .75);
  padding-left: 14px;
  position: relative;
  margin-bottom: 0;
}

.related-block li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold-dim);
}

/* ─── FOOTER ─── */
footer {
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid var(--border2);
  font-size: .85rem;
  color: rgba(200,185,160,.45);
  letter-spacing: .04em;
  margin-top: 40px;
}

footer a {
  color: rgba(200,185,160,.6);
  border-bottom: 1px dotted rgba(200,185,160,.25);
}

/* ─── STICKY WHATSAPP ─── */
.sticky-whatsapp { display: none; }

@media (max-width: 760px) {
  .sticky-whatsapp {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #c9a24e 0%, #e8c96a 50%, #c9a24e 100%);
    color: #142036;
    font-family: 'Cinzel', serif;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    border-bottom: none;
  }
}

/* ─── ANIMATIONS ─── */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.anim { animation: fade-in-up .7s ease both; }
.anim-d1 { animation-delay: .12s; }
.anim-d2 { animation-delay: .22s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 760px) {
  .section-block, .cta-block, .related-block { padding: 26px 22px; }
  header { flex-direction: column; align-items: flex-start; }
  .nav-btn { width: 100%; justify-content: center; }
  .page-hero { padding: 40px 0 24px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { width: 100%; }
  body { padding-bottom: 80px; }
}

@media (max-width: 480px) {
  h2 { font-size: 1.5rem; }
  .section-block { padding: 22px 18px; }
}
