/* ==========================================================================
   Marie Menaha — Profiler de l'Inconscient
   Design system : bleu nuit / violet profond / or discret
   ========================================================================== */

:root {
  --navy: #06122F;
  --navy-deep: #030917;
  --violet-deep: #241544;
  --gold: #D3A45D;
  --gold-soft: rgba(211, 164, 93, 0.35);
  --gold-faint: rgba(211, 164, 93, 0.14);
  --text-light: #F7F1EA;
  --text-secondary: #C5BFD2;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;

  --container: 1140px;
  --section-space: clamp(4rem, 9vw, 8rem);
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

html { scroll-behavior: smooth; }

section[id], h2[id] { scroll-margin-top: 100px; }

body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--text-light);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--text-light);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 600; }

p { margin: 0 0 1rem; color: var(--text-secondary); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-intro h2 { margin-bottom: 0.75rem; }

/* Starfield background canvas — fixed, subtle, non-animated */
#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
}

/* Fine geometric divider between sections */
.divider {
  height: 1px;
  max-width: 220px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(3, 9, 23, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.9rem 0;
  border-bottom-color: var(--gold-faint);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  color: var(--text-light);
}

.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.nav-links a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--gold); }

.btn.nav-cta { display: none; }

@media (min-width: 761px) {
  .btn.nav-cta { display: inline-flex; }
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold-soft);
  color: var(--text-light);
  border-radius: 6px;
  width: 42px;
  height: 38px;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-deep);
    padding: 1.75rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
    border-bottom: 1px solid var(--gold-faint);
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border: 1px solid var(--gold);
  font-weight: 600;
}

.btn-primary:hover { transform: translateY(-1px); background: #e0b877; }

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

.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.btn-block { display: block; width: 100%; text-align: center; }

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--navy-deep) 28%, rgba(3, 9, 23, 0.55) 55%, rgba(3, 9, 23, 0.15) 100%);
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content { max-width: 620px; }

.hero-content .subtitle {
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Symptomes
   ========================================================================== */

.symptoms {
  padding: var(--section-space) 0;
  position: relative;
}

.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 760px) {
  .symptoms-grid { grid-template-columns: 1fr; }
}

.symptom-card {
  background: linear-gradient(160deg, rgba(36, 21, 68, 0.35), rgba(6, 18, 47, 0.2));
  border: 1px solid var(--gold-faint);
  border-radius: 10px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.symptom-card:hover {
  border-color: var(--gold-soft);
  transform: translateY(-3px);
}

.symptom-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 0.75rem;
  color: var(--gold);
}

.symptom-icon svg { width: 100%; height: 100%; }

.symptom-card .card-link {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.symptom-card .card-link:hover { color: var(--gold-light, #e2c97e); }

/* ==========================================================================
   Transition
   ========================================================================== */

.transition-block {
  padding: 4rem 0;
  text-align: center;
}

.transition-block p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--text-light);
  max-width: 780px;
  margin: 1.5rem auto 0;
  font-weight: 500;
  font-style: italic;
}

/* ==========================================================================
   Method
   ========================================================================== */

.method {
  padding: var(--section-space) 0;
  background: radial-gradient(ellipse at top right, rgba(36, 21, 68, 0.4), transparent 60%);
}

.method-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 820px) {
  .method-inner { grid-template-columns: 1fr; gap: 2rem; }
}

.method-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold-soft);
  line-height: 1;
}

/* ==========================================================================
   Bio
   ========================================================================== */

.bio {
  padding: var(--section-space) 0;
}

.bio-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 820px) {
  .bio-inner { grid-template-columns: 1fr; gap: 2rem; }
}

.bio-photo {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--gold-faint);
}

.bio-photo img { width: 100%; height: 100%; object-fit: cover; }

.bio-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.bio-credentials span {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  border: 1px solid var(--gold-faint);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}

/* ==========================================================================
   Testimonials — HORS CAHIER DES CHARGES (ajouté pour la preuve sociale)
   ========================================================================== */

.testimonials { padding: var(--section-space) 0; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 760px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

.testimonial-card {
  margin: 0;
  border: 1px solid var(--gold-faint);
  border-radius: 10px;
  padding: 2.25rem;
  background: linear-gradient(160deg, rgba(36, 21, 68, 0.25), rgba(6, 18, 47, 0.15));
}

.testimonial-card blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.5;
}

.testimonial-card figcaption {
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--gold);
}

/* ==========================================================================
   Offer
   ========================================================================== */

.offer {
  padding: var(--section-space) 0;
}

.offer-panel {
  background: linear-gradient(135deg, var(--violet-deep), var(--navy));
  border: 1px solid var(--gold-soft);
  border-radius: 16px;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.offer-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 15%, rgba(211, 164, 93, 0.12), transparent 45%),
              radial-gradient(circle at 85% 85%, rgba(211, 164, 93, 0.1), transparent 45%);
}

.offer-panel > * { position: relative; z-index: 1; }

.offer-panel h2 { margin-bottom: 0.4rem; }

.offer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.offer-panel p.desc {
  max-width: 620px;
  margin: 0 auto 1rem;
}

.offer-panel .cta-group { justify-content: center; }

/* ==========================================================================
   Masterclass
   ========================================================================== */

.masterclass {
  padding: var(--section-space) 0;
}

.masterclass-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 820px) {
  .masterclass-inner { grid-template-columns: 1fr; gap: 2rem; }
  .masterclass-inner .masterclass-photo { order: -1; }
}

.masterclass-photo {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--gold-faint);
}

.masterclass-photo img { width: 100%; height: 100%; object-fit: cover; }

.theme-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.theme-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
}

.theme-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final-cta {
  padding: var(--section-space) 0;
  text-align: center;
}

.final-cta h2 { max-width: 720px; margin-left: auto; margin-right: auto; }

.final-cta .cta-group { justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--gold-faint);
  padding: 3.5rem 0 2rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo { display: block; margin-bottom: 0.75rem; }

.footer-brand p { max-width: 320px; font-size: 0.9rem; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col a { font-size: 0.9rem; color: var(--text-secondary); }

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--gold-faint);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Simple sub-pages (offre / masterclass / legal)
   ========================================================================== */

.page-hero {
  padding: 9rem 0 3rem;
  text-align: center;
}

.page-hero .container { max-width: 780px; }

.page-content {
  padding: 0 0 var(--section-space);
}

.page-content .container { max-width: 780px; }

.page-content h2 { margin-top: 2.5rem; }

.page-content ul { color: var(--text-secondary); }

.placeholder-note {
  border: 1px dashed var(--gold-soft);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 1.5rem 0;
}

.placeholder-note strong { color: var(--gold); }
