@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800&family=Fraunces:opsz,wght@9..144,300;400;500;600;700;800;900&display=swap');

:root {
  /* UI/UX Pro Max Palette: Violet Authority & Gold Sovereignty */
  --bg-black: #0f091c;
  --bg-deep-navy: #120d26;
  --bg-card: rgba(255, 255, 255, 0.03);
  --accent-violet: #926AC7;
  --accent-gold: #E7C77A;
  --text-primary: #F0EDE4;
  --text-dim: rgba(240, 237, 228, 0.6);
  --container-max: 1200px;
  --radius-lg: 32px;
  --radius-md: 16px;
  --section-padding: 8rem;
  --transition-smooth: 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  --font-title: 'Fraunces', serif;
  --font-text: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-black);
  scrollbar-width: thin;
  scrollbar-color: var(--accent-violet) var(--bg-black);
}

::selection {
  background: var(--accent-violet);
  color: white;
}

/* Custom Scrollbar for Webkit */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-black);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-violet);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

body {
  background-color: var(--bg-black);
  color: var(--text-primary);
  font-family: var(--font-text);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background-color 1.5s ease;
  font-weight: 200;
}

.bg-orchestration {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.starfield {
  position: absolute;
  inset: 0;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(146, 106, 199, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(146, 106, 199, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.1;
  transition: all 2s ease;
}

.navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);
  max-width: 1300px;
  z-index: 1000;
  background: rgba(15, 9, 28, 0.4);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(146, 106, 199, 0.12);
  border-radius: 100px;
  padding: 0.9rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled {
  top: 1rem;
  padding: 0.75rem 2.5rem;
  background: rgba(15, 9, 28, 0.85);
  backdrop-filter: blur(25px);
  border-color: rgba(146, 106, 199, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav-logo {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--accent-violet);
  font-weight: 800;
  cursor: pointer;
  letter-spacing: -0.02em;
  transition: transform 0.6s ease;
}

.navbar.scrolled .nav-logo {
  transform: scale(0.9);
}

.nav-links {
  display: flex;
  gap: 4rem;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.navbar.scrolled .nav-links a {
  opacity: 0.6;
}

.nav-links a:hover,
.navbar.scrolled .nav-links a:hover {
  opacity: 1;
  color: var(--accent-violet);
}

.vision-section {
  padding: 4rem 0 0;
  /* No bottom padding to tighten transition to scanner */
}

.chapter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 0;
  position: relative;
}

.chapter-content {
  max-width: 750px;
  z-index: 2;
}

.chapter .eyebrow {
  color: var(--accent-gold);
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.chapter h2 {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2.5rem;
}

.chapter p {
  font-family: var(--font-text);
  font-size: 1.15rem;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  max-width: 700px;
}

.chapter-content-wide {
  width: 100%;
  max-width: 1100px;
  z-index: 2;
}

.chapter-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  text-align: left;
  margin-bottom: 6rem;
}

.chapter-full-width {
  max-width: 700px;
  margin: 0 auto 6rem;
  text-align: center;
}

.chapter-full-width p {
  margin-bottom: 2rem;
  font-size: 1.15rem;
  color: rgba(240, 237, 228, 0.9);
  line-height: 1.8;
}

.chapter-text-side p {
  margin-bottom: 2rem;
  font-size: 1.15rem;
  color: rgba(240, 237, 228, 0.85);
  line-height: 1.8;
}

.chapter-text-side strong {
  color: white;
  font-weight: 600;
}

/* Removed chapter-visual-side to clean up layout */

.ethereal-visual {
  position: relative;
  width: 300px;
  height: 450px;
  background: radial-gradient(circle at center, rgba(146, 106, 199, 0.1), transparent 70%);
  border-radius: 100px;
  border: 2px solid rgba(146, 106, 199, 0.25);
  overflow: hidden;
}

.aura-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  background: var(--accent-violet);
  filter: blur(60px);
  opacity: 0.3;
  animation: aura-pulse 4s infinite alternate ease-in-out;
}

.aura-waves {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, rgba(146, 106, 199, 0.05) 1px, transparent 20px);
  opacity: 0.2;
}

@keyframes aura-pulse {
  from {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.2;
  }

  to {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.5;
  }
}

/* ============================================
   MANIFESTO BLOCK : THE TYPOGRAPHIC STATEMENT
   ============================================ */
.manifesto-block {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 2rem;
  padding: 5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg,
      transparent 0%,
      rgba(74, 58, 116, 0.15) 30%,
      rgba(74, 58, 116, 0.2) 50%,
      rgba(74, 58, 116, 0.15) 70%,
      transparent 100%);
}

.manifesto-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(231, 199, 122, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.manifesto-line-top,
.manifesto-line-bottom {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0.5;
  margin: 0 auto;
}

.manifesto-line-top {
  margin-bottom: 3.5rem;
}

.manifesto-line-bottom {
  margin-top: 3.5rem;
}

.manifesto-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.manifesto-prefix {
  font-family: var(--font-title);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  color: rgba(240, 237, 228, 0.45);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.manifesto-key {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--accent-gold) 0%, #fff8e7 50%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gold-sweep 4s linear infinite;
}

@keyframes gold-sweep {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

.manifesto-suffix {
  font-family: var(--font-title);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  color: rgba(240, 237, 228, 0.45);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* ============================================ */

/* JOURNEY SECTION: L'ÉCHELLE VERS LA SOUVERAINETÉ */
.journey-section {
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.journey-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6rem;
}

/* Vertical line connector */
.journey-line {
  position: absolute;
  top: 5%;
  bottom: 5%;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom,
      transparent,
      var(--accent-gold),
      var(--accent-violet),
      transparent);
  transform: translateX(-50%);
  opacity: 0.3;
  z-index: 1;
}

.journey-step {
  display: grid;
  grid-template-columns: 1fr 150px 1fr;
  align-items: center;
  width: 100%;
  z-index: 2;
  position: relative;
}

.journey-step:nth-child(even) .step-card {
  grid-column: 3;
}

.journey-step:nth-child(even) .step-info {
  grid-column: 1;
  text-align: right;
  padding-right: 3rem;
}

.journey-step:nth-child(odd) .step-card {
  grid-column: 1;
}

.journey-step:nth-child(odd) .step-info {
  grid-column: 3;
  text-align: left;
  padding-left: 3rem;
}

.step-node {
  grid-column: 2;
  width: 44px;
  height: 44px;
  background: var(--bg-black);
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(231, 199, 122, 0.4);
  z-index: 5;
}

.step-node::after {
  content: '';
  width: 14px;
  height: 14px;
  background: var(--accent-gold);
  border-radius: 50%;
  animation: pulseNode 3s infinite;
}

@keyframes pulseNode {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.6);
    opacity: 0.3;
  }

  100% {
    transform: scale(1);
    opacity: 0.9;
  }
}

.step-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.5rem;
  border-radius: 40px;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.step-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--accent-gold);
  background: rgba(231, 199, 122, 0.04);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.step-number {
  font-family: var(--font-title);
  font-size: 6rem;
  font-weight: 900;
  position: absolute;
  top: -20px;
  right: 20px;
  opacity: 0.03;
  color: var(--accent-gold);
  user-select: none;
}

.step-card h3 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.step-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

.step-info h4 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--accent-violet);
  margin-bottom: 0.5rem;
}

.step-info span {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 968px) {
  .journey-step {
    grid-template-columns: 80px 1fr;
    gap: 0;
  }

  .journey-line {
    left: 40px;
    transform: none;
  }

  .step-node {
    grid-column: 1;
  }

  .step-card {
    grid-column: 2 !important;
    padding: 2.5rem;
  }

  .step-info {
    display: none;
  }
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.quizz-title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(3rem, 10vw, 7.5rem);
  margin: 2rem 0;
  color: white;
  letter-spacing: -0.04em;
}

.highlight-resonance {
  color: var(--accent-gold);
  font-weight: 500;
  font-family: var(--font-title);
}

.btn-aura {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.8rem;
  background: var(--accent-gold);
  color: #000;
  text-decoration: none;
  font-weight: 800;
  border-radius: 100px;
  transition: var(--transition-smooth);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  border: none;
  text-align: center;
  line-height: 1.2;
}

.btn-aura:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(231, 199, 122, 0.35);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.bento-card {
  background: rgba(35, 15, 60, 0.35);
  border: 1px solid rgba(146, 106, 199, 0.3);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card h3 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.bento-card p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 200;
}

.bento-card:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
  border-color: var(--accent-violet);
  background: rgba(146, 106, 199, 0.05);
}

.bento-card .icon-box {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-violet), #5A4A8A);
  color: white;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Chapter I pain point enhancement */
.chapter-pain-statement {
  font-size: 1.1rem !important;
  font-style: italic;
  color: rgba(240, 237, 228, 0.7) !important;
  margin-top: 1.5rem;
  border-left: 2px solid var(--accent-gold);
  padding-left: 1.5rem;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.chapter-cost-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* Chapter I — Cost grid: premium card list */
.chapter-cost-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 3rem;
  margin-bottom: 1rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  border: 1px solid rgba(231, 199, 122, 0.12);
  border-radius: 16px;
  overflow: hidden;
}

.cost-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: rgba(240, 237, 228, 0.7);
  font-weight: 200;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1.3rem 2rem;
  border-bottom: 1px solid rgba(231, 199, 122, 0.08);
  transition: background 0.4s ease;
}

.cost-item:last-child {
  border-bottom: none;
}

.cost-item:hover {
  background: rgba(231, 199, 122, 0.04);
}

.cost-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(231, 199, 122, 0.25);
  border-radius: 50%;
  color: var(--accent-gold);
  font-size: 0.55rem;
  opacity: 0.8;
}

/* Step time tag */
.step-time-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
  font-weight: 400;
}

/* ============================================
   TESTIMONIALS SECTION : RÉSONANCES
   ============================================ */
.testimonials-section {
  padding: 5rem 0 6rem;
  background: linear-gradient(180deg, #1a1233 0%, var(--bg-black) 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 6rem;
  background: linear-gradient(to bottom, transparent, rgba(231, 199, 122, 0.3));
}

.testimonials-header {
  text-align: center;
  margin-bottom: 5rem;
}

.testimonials-header h2 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(231, 199, 122, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: all var(--transition-smooth);
  position: relative;
  backdrop-filter: blur(10px);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: var(--font-title);
  font-size: 5rem;
  color: var(--accent-gold);
  opacity: 0.1;
  line-height: 1;
}

.testimonial-card:hover {
  border-color: rgba(231, 199, 122, 0.25);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-6px);
}

.testimonial-quote {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(240, 237, 228, 0.9);
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.author-initial {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-violet), #5A4A8A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1rem;
  color: white;
  font-weight: 600;
  flex-shrink: 0;
}

.author-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.03em;
}

.author-role {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 200;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
  opacity: 0.7;
}

.testimonials-cta {
  text-align: center;
  padding-top: 4rem;
  border-top: 1px solid rgba(146, 106, 199, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.testimonials-cta p {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 400;
  color: rgba(240, 237, 228, 0.7);
  font-style: italic;
  margin: 0;
}

/* ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
  /* Safety: if GSAP fails, we don't want a blank page. 
     Normally we'd use a .js-ready class, but let's just make sure 
     z-indices are solid for now. */
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* About Section: The Guide */
.about-section {
  background: linear-gradient(180deg, var(--bg-black), #1a1233);
  padding: 5rem 0 0;
}

.about-grid {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 0 5rem;
}

.about-visual-ghost {
  position: absolute;
  top: 4rem;
  left: 0;
  width: 55%;
  height: 60%;
  z-index: 5;
  pointer-events: auto;
  cursor: pointer;
  opacity: 0.35;
  text-decoration: none;
  filter: saturate(0.8) contrast(1.05);
  transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
  mask-image: linear-gradient(to right, black 50%, transparent 95%),
    linear-gradient(to bottom, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 50%, transparent 95%),
    linear-gradient(to bottom, black 80%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.about-visual-ghost:hover {
  opacity: 0.6;
  filter: saturate(1) contrast(1.1);
}

.portrait-badge {
  position: absolute;
  bottom: 12%;
  left: 10%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-visual-ghost:hover .portrait-badge {
  opacity: 1;
  transform: translateX(0);
}

.badge-text {
  font-family: var(--font-title);
  font-size: 0.75rem;
  color: var(--accent-gold);
  letter-spacing: 0.35em;
  font-weight: 500;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.badge-line {
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  margin-top: 10px;
  transition: width 1s cubic-bezier(0.23, 1, 0.32, 1) 0.1s;
}

.about-visual-ghost:hover .badge-line {
  width: 60px;
}

.about-visual-ghost img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.about-text-integrated {
  position: relative;
  z-index: 10;
  /* Ensure it stays above everything */
  margin-left: 45%;
  /* More space for the face */
  max-width: 55%;
  padding: 1rem 0;
  /* Add a very subtle dark glow behind text to ensure legibility */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.about-image-wrapper:hover img {
  transform: scale(1.08);
}

/* Gold Shimmer handled by badges globally or removed if not needed */

.about-link:hover {
  color: #FFF;
  text-shadow: 0 0 20px var(--accent-gold);
  letter-spacing: 0.05em;
}

.about-content {
  overflow: hidden;
  /* Clear floats */
}

.about-heading {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 2rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.about-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 200;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Hero: The Sovereign Entrance (Upgraded) */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  perspective: 2000px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4rem;
  align-items: center;
  width: 100%;
  padding-top: 5rem;
  /* Safe space from navbar */
}

.hero-text {
  grid-column: span 8;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url('../images/hero-alain .png') center right/cover no-repeat;
  z-index: -2;
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-black) 25%, transparent 85%),
    linear-gradient(0deg, var(--bg-black) 10%, transparent 50%);
  z-index: -1;
}

.hero h1 {
  font-family: var(--font-title);
  font-size: clamp(3.5rem, 9vw, 5.8rem);
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hero .sub-headline {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--accent-gold);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero h1 span.glow {
  color: var(--accent-gold);
  text-shadow: 0 0 30px rgba(231, 199, 122, 0.3);
  background: linear-gradient(to right, var(--accent-gold), #FFF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero background image centered right for visual balance */

.hero-centerpiece {
  width: 75%;
  height: 75%;
  background: url('https://images.unsplash.com/photo-1519681393784-d120267933ba?auto=format&fit=crop&q=80') center/cover;
  border-radius: 50%;
  box-shadow: 0 0 100px rgba(146, 106, 199, 0.5);
  z-index: 5;
  border: 4px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

/* Clean hero section layout */

/* --- TRANSFORMATION SCANNER --- */
.scanner-section {
  position: relative;
  background: var(--bg-black);
  padding: 6rem 0 4rem;
  /* Reduced top padding */
  overflow: hidden;
}

.scanner-container {
  position: relative;
  width: 100%;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#particleCanvas,
#scannerCanvas {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 300px;
  pointer-events: none;
  z-index: 1;
}

#scannerCanvas {
  z-index: 15;
}

.scanner-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 520px;
  /* Effet de halo vaporeux */
  background: radial-gradient(ellipse at center,
      rgba(146, 106, 199, 0.4) 0%,
      rgba(146, 106, 199, 0.1) 40%,
      transparent 70%);
  z-index: 20;
  pointer-events: none;
  display: flex;
  justify-content: center;
}

/* Le fil de lumière central au cœur du halo */
.scanner-bar::after {
  content: '';
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(255, 255, 255, 0.6) 50%,
      transparent 100%);
  box-shadow: 0 0 15px rgba(146, 106, 199, 0.8);
}

.card-stream {
  position: absolute;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  overflow: visible;
  z-index: 5;
}

.card-line {
  display: flex;
  align-items: center;
  gap: 60px;
  will-change: transform;
  cursor: grab;
}

.card-line:active {
  cursor: grabbing;
}

.card-wrapper {
  position: relative;
  width: 400px;
  height: 300px;
  flex-shrink: 0;
  perspective: 1000px;
}

.card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
}

.card-normal {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  background: rgba(45, 30, 75, 0.7);
  border: 1px solid rgba(231, 199, 122, 0.2);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.card-ascii {
  z-index: 1;
  clip-path: inset(0 0 0 var(--split, 50%));
  background: rgba(146, 106, 199, 0.05);
  border: 1px solid rgba(147, 106, 199, 0.1);
}

.scan-footer {
  position: absolute;
  top: 270px;
  left: 0;
  width: 100%;
  padding: 5px 0;
  font-family: var(--font-text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 1;
  z-index: 50;
  text-align: center;
}

.footer-dissonance {
  color: rgba(240, 237, 228, 0.3);
  /* Muted gray for dissonance */
  letter-spacing: 0.15em;
}

.footer-resonance {
  color: var(--accent-gold);
  /* Bright gold for resonance */
}

.scan-effect-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(231, 199, 122, 0.2), transparent);
  animation: scanFlash 0.6s ease-out forwards;
  pointer-events: none;
  z-index: 3;
}

@keyframes scanFlash {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* ============================================
   FOOTER — DESIGN SYSTEM
   ============================================ */
.site-footer {
  background: linear-gradient(180deg, var(--bg-black) 0%, #0d0920 100%);
  border-top: 1px solid rgba(146, 106, 199, 0.1);
  padding: 5rem 0 0;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
}

/* Brand column */

.footer-logo {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  display: block;
  text-decoration: none;
}

.footer-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  opacity: 0.6;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-brand-desc {
  font-size: 0.9rem;
  font-weight: 200;
  color: rgba(240, 237, 228, 0.45);
  line-height: 1.7;
  max-width: 280px;
}

/* Nav columns */
.footer-nav-title {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: rgba(240, 237, 228, 0.3);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-nav-links a {
  font-size: 0.9rem;
  font-weight: 200;
  color: rgba(240, 237, 228, 0.7);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

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

/* CTA pill */
.footer-cta-btn {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.7rem;
  font-family: var(--font-text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #000;
  background: var(--accent-gold);
  padding: 0.8rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(231, 199, 122, 0.25);
}

/* Legal bar */
.footer-legal {
  max-width: 1000px;
  margin: 4rem auto 0;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(146, 106, 199, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(240, 237, 228, 0.7);
  letter-spacing: 0.1em;
}



@media (max-width: 968px) {
  :root {
    --section-padding: 5rem;
  }

  .navbar {
    width: calc(100% - 2rem);
    padding: 0.8rem 1.5rem;
  }

  /* Hero Mobile Fix */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-text {
    grid-column: span 12;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero p {
    margin: 0 auto 2rem;
  }

  /* About Section Mobile Fix */
  .about-grid {
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
  }

  .about-visual-ghost {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 350px;
    opacity: 0.8;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    margin-bottom: 2rem;
    transform: none;
  }

  .about-visual-ghost img {
    object-position: center top;
  }

  .about-text-integrated {
    margin-left: 0;
    max-width: 100%;
    padding: 0;
    text-align: left;
    z-index: 10;
  }

  .about-visual-ghost .portrait-badge {
    opacity: 1;
    transform: none;
    bottom: 2rem;
    left: 2rem;
  }

  .about-visual-ghost .badge-line {
    width: 80px;
  }

  /* Journey Section Mobile Fix */
  .journey-line {
    left: 30px;
  }

  .journey-step {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-left: 60px;
  }

  .journey-step:nth-child(even) .step-card,
  .journey-step:nth-child(odd) .step-card {
    grid-column: 1;
  }

  .journey-step:nth-child(even) .step-info,
  .journey-step:nth-child(odd) .step-info {
    grid-column: 1;
    text-align: left;
    padding: 0;
    margin-bottom: 1rem;
    order: -1;
  }

  .step-node {
    position: absolute;
    left: 30px;
    top: 0;
    margin: 0;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
  }

  .step-card {
    padding: 2rem;
    border-radius: 30px;
  }

  /* Bento Mobile Fix */
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card {
    grid-column: span 12 !important;
  }

  .ethereal-visual {
    width: 200px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .hero-text {
    grid-column: span 12 !important;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .nav-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
  }

  .nav-links a {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }

  .navbar {
    flex-direction: column;
    padding: 1rem;
    border-radius: 24px;
    width: calc(100% - 2rem);
    top: 0.75rem;
  }

  .navbar.scrolled {
    top: 0.5rem;
    padding: 0.7rem 1rem;
  }

  .bento-card {
    padding: 2rem;
  }

  .chapter-h3 {
    font-size: 2rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .chapter-cost-grid {
    padding: 0 1rem;
  }

  .chapter-pain-statement {
    margin-left: 0;
    margin-right: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* ============================================
   CATEGORY SPECIFIC LAYOUTS
   ============================================ */

/* PHILOSOPHIE - Deep Violet & Mystical */
.cat-philosophie #orb-main {
    background: var(--accent-violet) !important;
    opacity: 0.15 !important;
}
.cat-philosophie .article-banner-category {
    background: var(--accent-violet);
    color: white;
}

/* SOUVERAINETÉ - Sovereign Gold & Authority */
.cat-souverainete #orb-main {
    background: var(--accent-gold) !important;
    opacity: 0.1 !important;
}
.cat-souverainete .article-banner-category {
    background: var(--accent-gold);
    color: black;
}
.cat-souverainete .article-banner-title em {
    color: var(--accent-gold);
}

/* Add more categories here following the same pattern .cat-[slug] */