@charset "UTF-8";

/* ==========================================================
   GHANA - DECHETS ELECTRONIQUES | LA LIBRE
   Webdoc - Stylesheet principal
   ========================================================== */

/* ==========================================================
   1. VARIABLES & TOKENS
   ========================================================== */
:root {
  /* Palette - bruns terre */
  --c-brun-fonce: #573B38;
  --c-brun-moyen: #7D5144;
  --c-brun-clair: #8F7B72;

  /* Palette - neutres */
  --c-creme: #F5F0E8;
  --c-creme-warm: #EFE8DD;
  --c-noir-chaud: #1A1311;
  --c-noir-deep: #0E0A09;

  /* Accent cuivre */
  --c-cuivre: #C97B3F;
  --c-cuivre-clair: #E09A5C;
  --c-cuivre-fonce: #A36234;
  --c-cuivre-glow: rgba(201, 123, 63, 0.4);

  /* Typographies */
  --font-titre: "Boldonse", "Times New Roman", serif;
  --font-corps: "Crimson Pro", Georgia, serif;
  --font-ui: "Quicksand", system-ui, sans-serif;

  /* Espacements */
  --sidebar-width: 70px;

  /* Transitions */
  --t-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  --t-slow: 0.7s cubic-bezier(0.77, 0, 0.175, 1);

  /* Ombres */
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.25);
  --shadow-strong: 0 24px 55px rgba(0, 0, 0, 0.45);
  --shadow-cuivre: 0 0 30px var(--c-cuivre-glow);
}

/* ==========================================================
   2. RESET & BASE
   ========================================================== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: var(--c-noir-chaud);
  color: var(--c-creme);
  font-family: var(--font-corps);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--c-cuivre); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-cuivre-clair); text-decoration: none; }

button { outline: none !important; font-family: var(--font-ui); cursor: pointer; }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-titre);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.00em; /* au lieu de letter-spacing: -0.01em; */
  color: var(--c-creme);
}

p {
  font-family: var(--font-corps);
  font-size: 19px;
  line-height: 1.7;
}


.bloc-footer__remerciements strong {
  color: var(--c-cuivre-clair);
  font-weight: 700;
}

/* ==========================================================
   3. PAGE CONTAINER
   ========================================================== */
.page-container {
  margin-left: var(--sidebar-width);
  position: relative;
  min-height: 100vh;
  background: var(--c-creme);
  color: var(--c-noir-chaud);
}

@media (max-width: 768px) {
  .page-container { margin-left: 0; padding-bottom: 70px; }
}

/* ==========================================================
   4. SIDEBAR VERTICALE GAUCHE
   ========================================================== */
.ll-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--c-noir-chaud);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-right: 1px solid rgba(201, 123, 63, 0.18);
}

.ll-sidebar__logo {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform var(--t-base);
}
.ll-sidebar__logo:hover { transform: scale(1.08); }
.ll-sidebar__logo img { display: block; width: 100%; height: 100%; }

.ll-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.ll-sidebar__chap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  color: rgba(245, 240, 232, 0.55);
  text-decoration: none;
  transition: color var(--t-fast);
}
.ll-sidebar__chap::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--c-cuivre);
  transition: height var(--t-base);
}
.ll-sidebar__chap:hover,
.ll-sidebar__chap.is-active {
  color: var(--c-cuivre-clair);
}
.ll-sidebar__chap:hover::before,
.ll-sidebar__chap.is-active::before { height: 28px; }

.ll-sidebar__chap-tooltip {
  position: absolute;
  left: calc(var(--sidebar-width) - 18px);
  top: 50%;
  transform: translate(0, -50%) translateX(-10px);
  padding: 8px 14px;
  background: var(--c-noir-chaud);
  border: 1px solid var(--c-cuivre);
  color: var(--c-cuivre-clair);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base);
}
.ll-sidebar__chap:hover .ll-sidebar__chap-tooltip {
  opacity: 1;
  transform: translate(0, -50%) translateX(0);
}

.ll-sidebar__bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.ll-sidebar__credit {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .ll-sidebar {
    width: 100%;
    height: 60px;
    flex-direction: row;
    justify-content: space-around;
    border-right: 0;
    border-top: 1px solid rgba(201, 123, 63, 0.2);
    top: auto;
    bottom: 0;
    padding: 0 16px;
  }
  .ll-sidebar__logo { width: 36px; height: 36px; }
  .ll-sidebar__nav { flex-direction: row; gap: 22px; flex: 0; }
  .ll-sidebar__chap::before {
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
  }
  .ll-sidebar__chap:hover::before,
  .ll-sidebar__chap.is-active::before { height: 3px; width: 22px; }
  .ll-sidebar__chap-tooltip { display: none; }
  .ll-sidebar__credit { display: none; }
  .ll-sidebar__bottom { flex-direction: row; }
}

/* ==========================================================
   5. AUDIO TOGGLE
   ========================================================== */
.audio-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9990;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 12px;
  border: 1px solid rgba(201, 123, 63, 0.3);
  border-radius: 999px;
  background: rgba(26, 19, 17, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--c-creme);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--t-base), background var(--t-base),
              transform var(--t-base), opacity var(--t-base);
  outline: none;
}
.audio-toggle:hover {
  border-color: var(--c-cuivre);
  background: rgba(201, 123, 63, 0.12);
  transform: translateY(-2px);
}
.audio-toggle.muted { opacity: 0.78; }
.audio-toggle.playing {
  border-color: rgba(201, 123, 63, 0.5);
  background: rgba(201, 123, 63, 0.08);
}

.audio-wave-canvas {
  display: block;
  width: 32px;
  height: 20px;
  flex: 0 0 32px;
}

#audioToggleLabel {
  display: inline-block;
  white-space: nowrap;
  min-width: 56px;
  text-align: left;
}

@media (max-width: 768px) {
  .audio-toggle {
    right: 14px;
    bottom: 74px;
    padding: 7px 12px 7px 10px;
    font-size: 10px;
    gap: 8px;
  }
  .audio-wave-canvas {
    width: 26px;
    height: 18px;
    flex: 0 0 26px;
  }
  #audioToggleLabel { min-width: 48px; }
}

/* ==========================================================
   6. PAGE TRANSITION
   ========================================================== */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--c-noir-chaud);
  z-index: 99999;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s ease;
  pointer-events: none;
}
.page-transition.active { transform: scaleY(1); }

body.is-loading main, body.is-loading section { opacity: 0; }
body.is-loaded main, body.is-loaded section {
  opacity: 1;
  transition: opacity 0.6s ease 0.3s;
}

/* ==========================================================
   7. PROGRESS BAR (top)
   ========================================================== */
.nyt-top-progress {
  position: fixed;
  top: 0;
  left: var(--sidebar-width);
  right: 0;
  height: 3px;
  z-index: 9500;
  background: rgba(201, 123, 63, 0.08);
  pointer-events: none;
}
.nyt-top-progress__bar {
  width: 0%;
  height: 100%;
  background: var(--c-cuivre);
  box-shadow: 0 0 8px rgba(201, 123, 63, 0.6);
  transition: width 0.08s linear;
}
@media (max-width: 768px) {
  .nyt-top-progress { left: 0; }
}

/* ==========================================================
   8. HERO BLOC
   ========================================================== */
.hero-bloc {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--c-noir-deep);
  color: var(--c-creme);
}

.hero-bloc__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--c-noir-deep) center/cover no-repeat;
}
.hero-bloc__video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 10, 9, 0.35) 0%,
    rgba(14, 10, 9, 0.55) 60%,
    rgba(14, 10, 9, 0.85) 100%
  );
  pointer-events: none;
}

/* Carte Ghana en transparence dans le hero */
.hero-bloc__map {
  position: absolute;
  top: 50%;
  right: 4%;
  transform: translateY(-50%);
  width: 38%;
  max-width: 540px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 7.5;
  /* Filtre cuivre pour s'intégrer à la palette 
  filter: brightness(0) saturate(100%)
          invert(58%) sepia(31%) saturate(1015%)
          hue-rotate(347deg) brightness(94%) contrast(89%);

  animation: hero-map-fade 1.8s cubic-bezier(0.22, 1, 0.36, 1) 1s forwards;
  opacity: 0; /* on réécrit pour qu'elle parte de 0 */
}
.hero-bloc__map img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes hero-map-fade {
  to { opacity: 0.18; }
}

/* Mobile : carte plus petite et moins opaque pour ne pas gêner le titre */
@media (max-width: 768px) {
  .hero-bloc__map {
    width: 70%;
    max-width: 400px;
    right: 10%;
    top: 30%;
  }
  @keyframes hero-map-fade {
    to { opacity: 0.10; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bloc__map {
    opacity: 0.18;
    animation: none;
  }
}





.hero-bloc__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-bloc__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 60px 100px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-bloc__kicker {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-cuivre-clair);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero-bloc__kicker::before {
  content: "";
  width: 50px;
  height: 1px;
  background: var(--c-cuivre);
}

/* Pour la home */
.hero-bloc__title {
  font-family: var(--font-titre);
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.3;
  color: var(--c-creme);
  margin: 0 0 30px;
  max-width: 14ch;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  /* On garde tout ce qui sert pour l'animation */
  transform: translateY(50px);
  clip-path: inset(-20% 0 -20% 0);
  animation: hero-home-title-reveal 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
  padding-bottom: 0.1em;
}

.hero-bloc__title em {
  font-style: normal;
  color: var(--c-cuivre-clair);
}

.hero-bloc__subtitle {
  font-family: var(--font-corps);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.4;
  max-width: 50ch;
  color: rgba(245, 240, 232, 0.85);
  margin: 0 0 30px;
}

.hero-bloc__byline {
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(245, 240, 232, 0.7);
  text-transform: uppercase;
}
.hero-bloc__byline strong {
  color: var(--c-cuivre-clair);
  font-weight: 700;
}

.hero-bloc__scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-bloc__scroll-hint::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--c-cuivre), transparent);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

@media (max-width: 768px) {
  .hero-bloc__content { padding: 0 24px 110px; }
  .hero-bloc__kicker { margin-bottom: 16px; font-size: 11px; }
  .hero-bloc__title { margin-bottom: 20px; }
  .hero-bloc__subtitle { font-size: 17px; margin-bottom: 22px; }
  .hero-bloc__byline { font-size: 11px; }
  .hero-bloc__scroll-hint { bottom: 18px; font-size: 10px; }
  .hero-bloc__scroll-hint::after { height: 28px; }
}

/* ==========================================================
   8.bis HERO HOME - ANIMATION D'ENTREE (style NYT)
   ========================================================== */
.hero-bloc__kicker,
.hero-bloc__title,
.hero-bloc__subtitle,
.hero-bloc__byline {
  opacity: 0;
}

.hero-bloc__kicker {
  animation: hero-home-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}
.hero-bloc__kicker::before {
  width: 0;
  animation: hero-home-line-grow 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

.hero-bloc__title {
  transform: translateY(50px);
  clip-path: inset(-20% 0 -20% 0);
  animation: hero-home-title-reveal 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
  padding-bottom: 0.1em;
}

.hero-bloc__title em {
  display: inline-block;
  opacity: 0;
  animation: hero-home-em-fade 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.6s forwards;
}

.hero-bloc__subtitle {
  transform: translateY(20px);
  animation: hero-home-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 1.3s forwards;
}

.hero-bloc__byline {
  transform: translateY(15px);
  animation: hero-home-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.6s forwards;
}

.hero-bloc__scroll-hint {
  opacity: 0;
  animation: hero-home-fade-soft 1s ease 2.0s forwards;
}

@keyframes hero-home-fade-up {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-home-line-grow {
  to { width: 50px; }
}
@keyframes hero-home-title-reveal {
  0% {
    opacity: 0;
    transform: translateY(50px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(-20% 0 -20% 0);
  }
}
@keyframes hero-home-em-fade {
  to { opacity: 1; }
}
@keyframes hero-home-fade-soft {
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bloc__kicker,
  .hero-bloc__title,
  .hero-bloc__title em,
  .hero-bloc__subtitle,
  .hero-bloc__byline,
  .hero-bloc__scroll-hint {
    opacity: 1;
    transform: none;
    clip-path: none;
    animation: none;
  }
  .hero-bloc__kicker::before {
    width: 50px;
    animation: none;
  }
}

/* ==========================================================
   9. BLOC INTRO
   ========================================================== */
.bloc-intro {
  background: var(--c-creme);
  color: var(--c-noir-chaud);
  padding: 120px 60px;
}
.bloc-intro__inner {
  max-width: 780px;
  margin: 0 auto;
}
.bloc-intro p {
  font-family: var(--font-corps);
  font-size: 21px;
  line-height: 1.7;
  color: var(--c-noir-chaud);
}
.bloc-intro p strong {
  color: var(--c-cuivre-fonce);
  font-weight: 700;
}
.bloc-intro p i, .bloc-intro p em {
  font-style: italic;
  color: var(--c-brun-fonce);
}

.lettrine::first-letter {
  font-family: var(--font-titre);
  font-size: 5.5em;
  line-height: 0.85;
  color: var(--c-cuivre);
  float: left;
  margin: 0.05em 0.1em 0 0;
  padding: 0;
  font-weight: 400;
}

@media (max-width: 768px) {
  .bloc-intro { padding: 60px 24px; }
  .bloc-intro p { font-size: 18px; }
  .lettrine::first-letter { font-size: 4.5em; }
}

/* ==========================================================
   10. CONCEPT 1 - CARTE MERE / PCB CHAPTERS
   ========================================================== */
.pcb-section {
  position: relative;
  background: var(--c-noir-chaud);
  color: var(--c-creme);
  padding: 120px 40px 140px;
  overflow: visible; /* ou carrément supprime la ligne */
}
.pcb-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 123, 63, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 123, 63, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.6;
}

.pcb-section__header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 80px;
}
.pcb-section__kicker {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--c-cuivre);
  margin-bottom: 18px;
}
.pcb-section__title {
  font-family: var(--font-titre);
  font-size: clamp(36px, 5vw, 60px);
  color: var(--c-creme);
  margin: 0;
}

.pcb-board {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  z-index: 2;
}

.pcb-traces {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.pcb-trace {
  fill: none;
  stroke: var(--c-cuivre);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  filter: drop-shadow(0 0 4px rgba(201, 123, 63, 0.3));
  transition: stroke-dashoffset 1.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.pcb-board.is-revealed .pcb-trace { stroke-dashoffset: 0; }
.pcb-pad {
  fill: var(--c-cuivre);
  filter: drop-shadow(0 0 6px rgba(201, 123, 63, 0.7));
  opacity: 0;
  transition: opacity 0.5s ease 1.4s;
}
.pcb-board.is-revealed .pcb-pad { opacity: 1; }

.pcb-cpu {
  position: relative;
  z-index: 3;
  width: 280px;
  margin: 0 auto 100px;
  padding: 26px 30px;
  background: var(--c-brun-fonce);
  border: 2px solid var(--c-cuivre);
  text-align: center;
  box-shadow: var(--shadow-cuivre);
}
.pcb-cpu::before, .pcb-cpu::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--c-cuivre);
  border-radius: 50%;
}
.pcb-cpu::before { top: -5px; left: -5px; }
.pcb-cpu::after { top: -5px; right: -5px; }
.pcb-cpu__label {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-cuivre-clair);
  margin-bottom: 8px;
}
.pcb-cpu__title {
  font-family: var(--font-titre);
  font-size: 24px;
  color: var(--c-creme);
  line-height: 1.1;
}

.pcb-modules {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pcb-module {
  position: relative;
  display: block;
  background: var(--c-noir-deep);
  border: 1px solid rgba(201, 123, 63, 0.25);
  text-decoration: none;
  color: var(--c-creme);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.pcb-module::before, .pcb-module::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--c-cuivre);
  border-radius: 50%;
  z-index: 4;
}
.pcb-module::before { top: -5px; left: 30px; box-shadow: 0 0 8px var(--c-cuivre-glow); }
.pcb-module::after { top: -5px; right: 30px; box-shadow: 0 0 8px var(--c-cuivre-glow); }

.pcb-module:hover {
  transform: translateY(-6px);
  border-color: var(--c-cuivre);
  box-shadow: var(--shadow-cuivre), 0 30px 60px rgba(0, 0, 0, 0.5);
  color: var(--c-creme);
}

.pcb-module__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--c-brun-fonce);
}
.pcb-module__media img,
.pcb-module__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.pcb-module:hover .pcb-module__media img,
.pcb-module:hover .pcb-module__media video {
  transform: scale(1.06);
}
.pcb-module__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14, 10, 9, 0.85) 100%);
  pointer-events: none;
}

.pcb-module__chip {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(26, 19, 17, 0.8);
  border: 1px solid var(--c-cuivre);
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-cuivre-clair);
  backdrop-filter: blur(6px);
}
.pcb-module__chip-dot {
  width: 6px;
  height: 6px;
  background: var(--c-cuivre);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--c-cuivre-glow); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px transparent; }
}

.pcb-module__body {
  padding: 30px 26px 32px;
  position: relative;
}
.pcb-module__category {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-cuivre);
  margin-bottom: 14px;
  font-weight: 600;
}
.pcb-module__title {
  font-family: var(--font-titre);
  font-size: 22px;
  line-height: 1.2;
  color: var(--c-creme);
  margin: 0 0 22px;
}
.pcb-module__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-cuivre-clair);
  transition: gap var(--t-base);
}
.pcb-module:hover .pcb-module__cta { gap: 16px; }
.pcb-module__cta::after {
  content: "->";
  font-size: 16px;
  transition: transform var(--t-base);
}
.pcb-module:hover .pcb-module__cta::after { transform: translateX(4px); }

/* ==========================================================
   10.bis MOBILE - STACKING CARDS EFFECT (768px et moins)
   ========================================================== */
@media (max-width: 768px) {
  .pcb-modules {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 24px;
    padding-bottom: 30vh;
  }

  .pcb-module {
    position: sticky;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center top;
    background: var(--c-noir-deep);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
    will-change: transform, opacity;
    opacity: 1;
  }

  .pcb-module:nth-child(1) { top: 80px; z-index: 1; }
  .pcb-module:nth-child(2) { top: 100px; z-index: 2; }
  .pcb-module:nth-child(3) { top: 120px; z-index: 3; }

  .pcb-module.is-stacked-1 {
    opacity: 0.55;
    transform: scale(0.96);
  }
  .pcb-module.is-stacked-2 {
    opacity: 0.3;
    transform: scale(0.92);
  }

  .pcb-section { padding: 80px 20px 100px; }
  .pcb-section__header { margin-bottom: 50px; }
  .pcb-cpu { width: 88%; max-width: 320px; margin-bottom: 60px; }
  .pcb-module__title { font-size: 20px; }
  .pcb-traces { display: none; }
}

/* ==========================================================
   10.ter TABLETTE (769px - 900px) - 1 colonne sans sticky
   ========================================================== */
@media (min-width: 769px) and (max-width: 900px) {
  .pcb-section { padding: 80px 20px 100px; }
  .pcb-section__header { margin-bottom: 50px; }
  .pcb-cpu { width: 88%; max-width: 320px; margin-bottom: 60px; }
  .pcb-modules {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .pcb-module__title { font-size: 20px; }
  .pcb-traces { display: none; }
}

/* ==========================================================
   10.quat CURSOR CUSTOM - sur la pcb-section uniquement
   ========================================================== */
@media (hover: hover) and (pointer: fine) {
  .pcb-section,
  .pcb-section * {
    cursor: none;
  }
  .pcb-section a,
  .pcb-section button {
    cursor: none;
  }
}

.pcb-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--c-cuivre);
  background: rgba(201, 123, 63, 0.08);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition:
    width 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease,
    border-color 0.3s ease,
    opacity 0.4s ease;
  mix-blend-mode: normal;
}
.pcb-cursor.is-active { opacity: 1; }
.pcb-cursor.is-hovering-module {
  width: 70px;
  height: 70px;
  background: rgba(201, 123, 63, 0.15);
  border-color: var(--c-cuivre-clair);
  box-shadow: 0 0 30px var(--c-cuivre-glow);
}
.pcb-cursor::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--c-cuivre);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}
.pcb-cursor.is-hovering-module::after { opacity: 0; }

/* ==========================================================
   11. SECTION EQUIPE
   ========================================================== */
.bloc-equipe {
  background: var(--c-brun-fonce);
  color: var(--c-creme);
  padding: 100px 40px;
  text-align: center;
}
.bloc-equipe__title {
  font-family: var(--font-titre);
  font-size: clamp(32px, 4vw, 50px);
  margin: 0 0 14px;
}
.bloc-equipe__title-line {
  width: 60px;
  height: 3px;
  background: var(--c-cuivre);
  margin: 0 auto 70px;
  border: 0;
}
.bloc-equipe__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}
.bloc-equipe__member-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid transparent;
  transition: border-color var(--t-base), transform var(--t-base);
  background: var(--c-brun-moyen);
}
.bloc-equipe__member:hover .bloc-equipe__member-photo {
  border-color: var(--c-cuivre);
  transform: scale(1.04);
}
.bloc-equipe__member-name {
  font-family: var(--font-titre);
  font-size: 22px;
  color: var(--c-creme);
  margin: 0 0 8px;
}
.bloc-equipe__member-role {
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--c-cuivre-clair);
  text-transform: uppercase;
}
.bloc-equipe__member-name-line {
  width: 30px;
  height: 2px;
  background: var(--c-cuivre);
  margin: 12px auto;
  border: 0;
}


/* Ligne 2 : profil sans photo (Gilles) */
.bloc-equipe__row-text {
  max-width: 720px;
  margin: 60px auto 0;
  padding-top: 50px;
  border-top: 1px solid rgba(245, 240, 232, 0.12);
}

.bloc-equipe__member--no-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.bloc-equipe__member--no-photo .bloc-equipe__member-name {
  font-size: 24px;
  margin-bottom: 6px;
}
.bloc-equipe__member--no-photo .bloc-equipe__member-role {
  max-width: 520px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.08em;
}
.bloc-equipe__member--no-photo .bloc-equipe__member-role a {
  color: var(--c-cuivre-clair);
  text-decoration: underline;
  text-decoration-color: rgba(201, 123, 63, 0.3);
  transition: color var(--t-fast);
}
.bloc-equipe__member--no-photo .bloc-equipe__member-role a:hover {
  color: var(--c-cuivre);
}

@media (max-width: 768px) {
  .bloc-equipe__row-text {
    margin: 40px 16px 0;
    padding-top: 35px;
  }
  .bloc-equipe__member--no-photo .bloc-equipe__member-name {
    font-size: 20px;
  }
}





/* Ligne 2 : profil sans photo (Gilles) */
.bloc-equipe__row-text {
  max-width: 720px;
  margin: 60px auto 0;
  padding-top: 50px;
  border-top: 1px solid rgba(245, 240, 232, 0.12);
}

.bloc-equipe__member--no-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.bloc-equipe__member--no-photo .bloc-equipe__member-name {
  font-size: 24px;
  margin-bottom: 6px;
}
.bloc-equipe__member--no-photo .bloc-equipe__member-role {
  max-width: 480px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.08em;
}
.bloc-equipe__member--no-photo .bloc-equipe__member-role a {
  color: var(--c-cuivre-clair);
  text-decoration: underline;
  text-decoration-color: rgba(201, 123, 63, 0.3);
}
.bloc-equipe__member--no-photo .bloc-equipe__member-role a:hover {
  color: var(--c-cuivre);
}

@media (max-width: 768px) {
  .bloc-equipe__row-text {
    margin: 40px 16px 0;
    padding-top: 35px;
  }
}



/* ==========================================================
   12. FOOTER / CREDITS
   ========================================================== */
.bloc-footer {
  background: var(--c-noir-chaud);
  color: var(--c-creme);
  padding: 60px 40px 80px;
  text-align: center;
  font-family: var(--font-ui);
}
.bloc-footer__remerciements {
  margin-bottom: 50px;
  font-size: 14px;
  color: rgba(245, 240, 232, 0.7);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.bloc-footer__partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 30px 0 50px;
}
.bloc-footer__partners img {
  max-height: 50px;
  width: auto;
  filter: grayscale(100%) opacity(0.7);
  transition: filter var(--t-base);
}
.bloc-footer__partners img:hover { filter: grayscale(0%) opacity(1); }

.bloc-footer__copyright {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(245, 240, 232, 0.5);
  border-top: 1px solid rgba(201, 123, 63, 0.15);
  padding-top: 30px;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================
   13. CITATION / EXERGUE / EPINGLE
   ========================================================== */
.quote-block {
  max-width: 720px;
  margin: 80px auto;
  padding: 30px 0 30px 30px;
  border-left: 3px solid var(--c-cuivre);
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.quote-block.visible { opacity: 1; transform: translateY(0); }
.quote-block::before {
  content: "\201C";
  font-family: var(--font-titre);
  font-size: 160px;
  line-height: 1;
  color: var(--c-cuivre);
  position: absolute;
  top: -30px;
  left: 12px;
  opacity: 0.18;
  pointer-events: none;
}
.quote-text {
  font-family: var(--font-titre);
  font-size: 26px;
  line-height: 1.3;
  font-style: italic;
  color: var(--c-creme);
  margin: 0 0 18px;
  position: relative;
  z-index: 2;
}
.quote-author {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-cuivre-clair);
  margin: 0;
}

.exergue {
  max-width: 720px;
  margin: 80px auto;
  padding: 30px;
  border-left: 3px solid var(--c-cuivre);
  font-family: var(--font-corps);
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  color: #C97B3F;
}

.epingle {
  max-width: 720px;
  margin: 80px auto;
  padding: 30px 0;
  position: relative;
}
.epingle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--c-cuivre);
}
.epingle p {
  font-size: 22px;
  line-height: 1.6;
  font-weight: 300;
}

@media (max-width: 768px) {
  .quote-block, .exergue, .epingle { margin: 50px 16px; padding: 20px; }
  .quote-text { font-size: 22px; }
}

/* ==========================================================
   14. UTILITAIRES
   ========================================================== */
.text-center { text-align: center; }
.no-margin { margin: 0 !important; }

/* ==========================================================
   15. EASTER EGG - Konami
   ========================================================== */
.konami-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(14, 10, 9, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  overflow: hidden;
}
.konami-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.konami-pcb-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  pointer-events: none;
}
.konami-pcb-bg path {
  fill: none;
  stroke: var(--c-cuivre);
  stroke-width: 1.5;
  stroke-dasharray: 8 4;
  animation: konami-trace-flow 3s linear infinite;
  filter: drop-shadow(0 0 4px var(--c-cuivre-glow));
}
.konami-pcb-bg circle {
  fill: var(--c-cuivre-clair);
  filter: drop-shadow(0 0 8px var(--c-cuivre));
  animation: konami-pad-pulse 1.5s ease-in-out infinite;
}

@keyframes konami-trace-flow {
  to { stroke-dashoffset: -100; }
}
@keyframes konami-pad-pulse {
  0%, 100% { opacity: 1; transform: scale(1); transform-box: fill-box; transform-origin: center; }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.konami-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
  border: 1px solid var(--c-cuivre);
  background: rgba(26, 19, 17, 0.85);
  max-width: 540px;
  transform: scale(0.9);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.konami-overlay.is-active .konami-content { transform: scale(1); }

.konami-label {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--c-cuivre);
  margin-bottom: 18px;
}
.konami-label::before { content: "> "; }

.konami-title {
  font-family: var(--font-titre);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--c-creme);
  margin: 0 0 22px;
  line-height: 1.1;
}
.konami-title em {
  font-style: normal;
  color: var(--c-cuivre-clair);
}

.konami-msg {
  font-family: var(--font-corps);
  font-style: italic;
  font-size: 16px;
  color: rgba(245, 240, 232, 0.85);
  line-height: 1.5;
  margin: 0 0 30px;
}

.konami-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}

.konami-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t-base);
  border: 1px solid var(--c-cuivre);
}

.konami-btn--primary {
  background: var(--c-cuivre);
  color: var(--c-creme);
}
.konami-btn--primary:hover {
  background: var(--c-cuivre-clair);
  color: var(--c-creme);
  gap: 18px;
}
.konami-btn__arrow {
  display: inline-block;
  transition: transform var(--t-base);
}
.konami-btn--primary:hover .konami-btn__arrow {
  transform: translateX(4px);
}

.konami-btn--secondary {
  background: transparent;
  color: var(--c-cuivre-clair);
  border-color: rgba(201, 123, 63, 0.3);
}
.konami-btn--secondary:hover {
  background: rgba(201, 123, 63, 0.1);
  color: var(--c-cuivre);
  border-color: var(--c-cuivre);
}