/* ============================================================
   ANUS LE CACTUS — Dossier Scientifique Officiel
   Design : Muséum de luxe, sombre & doré
   ============================================================ */

:root {
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --gold-dark: #8c6d28;
  --dark: #0a0a0a;
  --dark2: #111111;
  --dark3: #1a1a1a;
  --dark4: #222222;
  --text: #e8e0d0;
  --text-muted: #8a8070;
  --red: #c94c4c;
  --green: #4ca87c;
  --border: rgba(201, 168, 76, 0.25);
  --border-bright: rgba(201, 168, 76, 0.6);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Crimson Text', Georgia, serif;
  --font-mono: 'Space Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* CANVAS ÉTOILES */
#starfield {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* ============================================================
   INTRO SCREEN
   ============================================================ */
#intro {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease;
}

.intro-inner {
  text-align: center;
  padding: 2rem;
  max-width: 600px;
  animation: introFadeIn 1s ease forwards;
}

@keyframes introFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.classified-tape {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--red);
  letter-spacing: 0.2em;
  background: rgba(201, 76, 76, 0.1);
  border: 1px solid var(--red);
  padding: 0.4rem 1rem;
  margin-bottom: 2rem;
  animation: blink 1.5s infinite;
}

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.4} }

.intro-logo {
  font-size: 5rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)}
}

.intro-dossier {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.intro-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 40px rgba(201, 168, 76, 0.3);
}

.intro-title span {
  color: var(--gold);
  font-style: italic;
  font-size: 0.7em;
}

.intro-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.intro-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
}

.intro-counter-block {
  margin-bottom: 1.5rem;
  border: 1px solid rgba(201,168,76,0.4);
  border-top: 3px solid var(--gold);
  display: inline-block;
  padding: 1rem 2.5rem 0.9rem;
  background: rgba(201,168,76,0.04);
  min-width: 220px;
}
.intro-counter-label {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.intro-counter-num {
  font-family: var(--font-mono);
  font-size: 3.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 0 30px rgba(201,168,76,0.5);
  margin-bottom: 0.3rem;
}
.intro-counter-sub {
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.intro-warning {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.intro-btn {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--dark);
  background: var(--gold);
  border: none;
  padding: 1rem 2.5rem;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.intro-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.intro-btn:hover::before { transform: translateX(0); }
.intro-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,168,76,0.4); }
.intro-btn span { position: relative; z-index: 1; }

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

.header-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(201,168,76,0.06) 0%, transparent 50%),
    linear-gradient(180deg, #000 0%, var(--dark) 100%);
}

.header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='0.5' fill='%23c9a84c' opacity='0.15'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

.header-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 900px;
}

.header-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  border: 1px solid var(--border-bright);
  padding: 0.4rem 1.5rem;
  display: inline-block;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.header-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text);
  text-shadow: 0 0 80px rgba(201,168,76,0.2);
  margin-bottom: 0.5rem;
  animation: headerReveal 1.2s ease forwards;
}

@keyframes headerReveal {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.header-title .gold {
  display: block;
  font-style: italic;
  font-size: 0.55em;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.header-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  animation: headerReveal 1.2s 0.3s ease both;
}

.header-nav {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: headerReveal 1.2s 0.5s ease both;
}

.header-nav a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.header-nav a:hover { color: var(--gold); }
.header-nav a:hover::after { width: 100%; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  position: relative;
  z-index: 1;
  padding: 8rem 2rem;
}

.section.dark {
  background: var(--dark2);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

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

.gold { color: var(--gold); }
.red { color: var(--red); }

/* ============================================================
   IDENTITY
   ============================================================ */
.identity-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 5rem;
  align-items: start;
}

@media(max-width:900px) {
  .identity-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.photo-frame {
  position: relative;
  border: 1px solid var(--border-bright);
  background: var(--dark3);
  padding: 16px;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: sepia(20%) contrast(1.05);
  transition: filter 0.3s;
}

.photo-frame:hover img { filter: sepia(0%) contrast(1.1); }

.photo-corner {
  position: absolute;
  width: 20px; height: 20px;
  border-color: var(--gold);
  border-style: solid;
  z-index: 2;
}
.photo-corner.tl { top: 6px; left: 6px; border-width: 2px 0 0 2px; }
.photo-corner.tr { top: 6px; right: 6px; border-width: 2px 2px 0 0; }
.photo-corner.bl { bottom: 6px; left: 6px; border-width: 0 0 2px 2px; }
.photo-corner.br { bottom: 6px; right: 6px; border-width: 0 2px 2px 0; }

.photo-stamp {
  position: absolute;
  bottom: 25px; right: 20px;
  border: 2px solid var(--red);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.6rem;
  transform: rotate(-15deg);
  opacity: 0.85;
  text-align: center;
  z-index: 3;
  background: rgba(0,0,0,0.5);
}

.photo-number {
  position: absolute;
  top: 20px; left: 20px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  z-index: 3;
}

.photo-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1rem;
  text-align: center;
}

.identity-name {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.identity-aka {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 2.5rem;
}

.identity-fields { margin-bottom: 2.5rem; }

.field {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: baseline;
}

.field-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  min-width: 170px;
  flex-shrink: 0;
}

.field-value {
  font-size: 1rem;
  color: var(--text);
}

.danger {
  font-family: var(--font-mono);
  color: var(--red);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.identity-score {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.score-circle {
  position: relative;
  width: 90px; height: 90px;
  flex-shrink: 0;
}

.score-circle svg { width: 100%; height: 100%; }

.score-circle circle:last-child {
  transition: stroke-dashoffset 2s ease;
}

.score-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.score-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.score-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
}

.score-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.score-desc small {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.stat-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: border-color 0.3s, transform 0.3s;
}

.stat-card:hover {
  border-color: var(--border-bright);
  transform: translateX(4px);
}

.stat-icon { font-size: 1.8rem; flex-shrink: 0; }

.stat-bar-wrap { flex: 1; }

.stat-name {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.stat-bar {
  height: 6px;
  background: var(--dark4);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.3rem;
}

.stat-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 3px;
}

.gold-fill { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.red-fill  { background: linear-gradient(90deg, #8c2828, var(--red)); }

@keyframes fillBar {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.stat-val {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  text-align: right;
}

/* Danger meter */
.danger-meter {
  background: var(--dark3);
  border: 1px solid rgba(201,76,76,0.3);
  padding: 2.5rem;
  position: relative;
}

.danger-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 2rem;
  text-align: center;
  animation: blink 2s infinite;
}

.danger-scenarios { display: flex; flex-direction: column; gap: 1rem; }

.scenario { display: flex; align-items: center; gap: 1.5rem; }

.scenario-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  min-width: 280px;
  font-style: italic;
}

@media(max-width:700px) { .scenario-label { min-width: 150px; } }

.scenario-bar {
  flex: 1;
  height: 28px;
  background: var(--dark4);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.scenario-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #6b2020, var(--red));
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.6rem;
}

.scenario-fill span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #fff;
  letter-spacing: 0.05em;
}

/* ============================================================
   TABLE
   ============================================================ */
.table-wrap { overflow-x: auto; }

.ethol-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.ethol-table thead {
  background: var(--dark3);
  border-bottom: 1px solid var(--border-bright);
}

.ethol-table th {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  text-align: left;
}

.ethol-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text);
}

.ethol-table tbody tr:hover {
  background: rgba(201,168,76,0.04);
}

.highlight-row { background: rgba(201,168,76,0.06) !important; }
.highlight-row td { color: var(--gold) !important; }

.threat {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.t2 { color: #4ca87c; background: rgba(76,168,124,0.1); }
.t3 { color: #c9a84c; background: rgba(201,168,76,0.1); }
.t4 { color: #c98c4c; background: rgba(201,140,76,0.1); }
.t5 { color: var(--red); background: rgba(201,76,76,0.1); }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--border-bright);
  transform: translateX(-50%);
}

@media(max-width:700px) {
  .timeline::before { left: 16px; }
}

.tl-item {
  display: flex;
  margin-bottom: 4rem;
  position: relative;
}

.tl-item.left { flex-direction: row-reverse; }
@media(max-width:700px) {
  .tl-item, .tl-item.left { flex-direction: row; padding-left: 3rem; }
}

.tl-dot {
  position: absolute;
  left: 50%;
  top: 1.5rem;
  width: 12px; height: 12px;
  background: var(--gold);
  border: 2px solid var(--dark2);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 20px rgba(201,168,76,0.5);
}

@media(max-width:700px) {
  .tl-dot { left: 16px; }
}

.tl-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  padding: 1.5rem 2rem;
  width: calc(50% - 2rem);
  transition: border-color 0.3s;
}

.tl-card:hover { border-color: var(--border-bright); }

@media(max-width:700px) {
  .tl-card { width: 100%; }
}

.tl-item.right .tl-card { margin-left: 2rem; }
.tl-item.left .tl-card { margin-right: 2rem; }

@media(max-width:700px) {
  .tl-item.left .tl-card, .tl-item.right .tl-card { margin: 0; }
}

.gold-card {
  border-color: var(--border-bright) !important;
  background: linear-gradient(135deg, var(--dark3), rgba(201,168,76,0.08)) !important;
}

.tl-year {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.tl-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.tl-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: var(--dark3);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.testimonial:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
}

.testimonial.featured {
  border-color: var(--border-bright);
  background: linear-gradient(135deg, var(--dark3), rgba(201,168,76,0.08));
  grid-column: span 2;
}

@media(max-width:700px) {
  .testimonial.featured { grid-column: span 1; }
}

.testi-quote {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.2;
  line-height: 0.5;
  margin-bottom: 1rem;
}

.testimonial p {
  font-size: 1rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.testi-author {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.testi-badge {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  border: 1px solid var(--border-bright);
  padding: 0.2rem 0.6rem;
}

/* ============================================================
   GALERIE
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

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

.gallery-frame {
  position: relative;
  border: 1px solid var(--border-bright);
  padding: 12px;
  background: var(--dark3);
  overflow: hidden;
}

.gallery-frame img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/5;
  object-position: center top;
  filter: contrast(1.05) saturate(0.9);
  transition: filter 0.4s;
}

.gallery-frame:hover img { filter: contrast(1.1) saturate(1.1); }

.gallery-corner {
  position: absolute;
  width: 18px; height: 18px;
  border-color: var(--gold);
  border-style: solid;
  z-index: 2;
}

.gallery-corner.tl { top: 4px; left: 4px; border-width: 2px 0 0 2px; }
.gallery-corner.tr { top: 4px; right: 4px; border-width: 2px 2px 0 0; }
.gallery-corner.bl { bottom: 4px; left: 4px; border-width: 0 0 2px 2px; }
.gallery-corner.br { bottom: 4px; right: 4px; border-width: 0 2px 2px 0; }

.gallery-overlay {
  position: absolute;
  bottom: 12px; left: 12px; right: 12px;
  background: rgba(0,0,0,0.7);
  padding: 0.5rem 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-frame:hover .gallery-overlay { opacity: 1; }

.gallery-data {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.gallery-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.75rem;
}

.gallery-notes { display: flex; flex-direction: column; gap: 1.5rem; }

.note-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: 1.5rem;
}

.red-note { border-left-color: var(--red); }

.note-header {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.red-note .note-header { color: var(--red); }

.note-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   CONCLUSION
   ============================================================ */
.conclusion-section {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(201,168,76,0.08) 0%, transparent 60%),
    var(--dark);
}

.conclusion-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--border-bright);
  padding: 5rem 3rem;
  position: relative;
  background: linear-gradient(135deg, var(--dark3), rgba(201,168,76,0.05));
}

.conclusion-stamp {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  padding: 0.3rem 1.5rem;
  text-transform: uppercase;
}

.conclusion-box h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.conclusion-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.conclusion-text strong { color: var(--text); }
.conclusion-text em { color: var(--gold); font-style: italic; }

.conclusion-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.conclusion-rating span {
  font-size: 1.8rem;
  display: inline-block;
  animation: float 2s ease-in-out infinite;
}

.conclusion-rating span:nth-child(2) { animation-delay: 0.2s; }
.conclusion-rating span:nth-child(3) { animation-delay: 0.4s; }
.conclusion-rating span:nth-child(4) { animation-delay: 0.6s; }
.conclusion-rating span:nth-child(5) { animation-delay: 0.8s; }

.conclusion-rating div {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #000;
  border-top: 1px solid var(--border-bright);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.footer-copy {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 1.5rem;
}

.footer-copy strong { color: var(--gold); }

.footer-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: rgba(138,128,112,0.4);
  text-transform: uppercase;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   CURSEUR CACTUS
   ============================================================ */
#cactus-cursor {
  position: fixed;
  top: 0; left: 0;
  font-size: 1.5rem;
  pointer-events: none;
  z-index: 99999;
  line-height: 1;
  will-change: transform;
  filter: drop-shadow(0 0 6px rgba(201,168,76,0.5));
}

/* ============================================================
   NOTIFICATIONS FLOTTANTES
   ============================================================ */
#notif-container {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
  max-width: 320px;
}
.sci-notif {
  pointer-events: all;
  background: rgba(10,8,6,0.97);
  border: 1px solid rgba(201,168,76,0.7);
  border-left: 4px solid var(--gold);
  padding: 0.9rem 2.5rem 0.9rem 1rem;
  transform: translateX(130%);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 8px 40px rgba(0,0,0,0.8), 0 0 12px rgba(201,168,76,0.15);
}
.sci-notif-in { transform: translateX(0); }
.sci-notif-hd {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}
.sci-notif-bd { font-size: 0.9rem; color: #f0e8d8; line-height: 1.45; }
.sci-notif-close {
  position: absolute;
  top: 0.5rem; right: 0.6rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}
.sci-notif-close:hover { color: var(--gold); }

/* ============================================================
   COMPTEUR LIVE
   ============================================================ */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.live-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s;
}
.live-card:hover { border-color: var(--border-bright); }
.red-live { border-color: rgba(201,76,76,0.3); }
.red-live:hover { border-color: rgba(201,76,76,0.6); }
.live-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.live-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.live-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.red-live .live-value { color: var(--red); }
.live-unit { font-size: 1.2rem; opacity: 0.7; }
.live-sub {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.live-blink { color: var(--red); animation: blink 1s infinite; }

/* ============================================================
   KONAMI SECRET
   ============================================================ */
.konami-box {
  max-width: 560px;
  padding: 3rem 2.5rem;
  border: 1px solid var(--border-bright);
  background: #050505;
  text-align: center;
  font-family: var(--font-body);
  color: var(--text);
  animation: introFadeIn 0.5s ease forwards;
}
.konami-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.konami-text {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--text);
}
.konami-sig {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Mobile notif */
@media(max-width:600px) {
  #notif-container { right: 1rem; top: 1rem; max-width: calc(100vw - 2rem); }
  .live-grid { grid-template-columns: 1fr; gap: 1rem; }
  .live-value { font-size: 2.2rem; }
}

/* ============================================================
   MOBILE — améliorations responsive
   ============================================================ */
/* Empêche tout scroll horizontal sur mobile */
@media(max-width:768px) {
  html, body { overflow-x: hidden; max-width: 100%; }
}

@media(max-width:600px) {

  /* Sections */
  .section { padding: 3.5rem 1.1rem; }
  .section-title { margin-bottom: 2rem; }

  /* Intro */
  .intro-inner { padding: 1.5rem 1.1rem; }
  .classified-tape { font-size: 0.55rem; letter-spacing: 0.1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .intro-logo { font-size: 3.5rem; }
  .intro-btn { padding: 0.85rem 1.5rem; font-size: 0.65rem; letter-spacing: 0.1em; width: 100%; }

  /* Header */
  .header-content { padding: 2rem 1.1rem; }
  .header-badge { font-size: 0.5rem; letter-spacing: 0.12em; padding: 0.3rem 0.75rem; }
  .header-sub { font-size: 0.95rem; margin-bottom: 2rem; }
  .header-nav { gap: 0.75rem 1.25rem; }
  .header-nav a { font-size: 0.6rem; letter-spacing: 0.08em; }

  /* Identité */
  .identity-name { font-size: 2.5rem; }
  .identity-aka { font-size: 1rem; margin-bottom: 1.5rem; }
  .field { flex-direction: column; gap: 0.2rem; padding: 0.55rem 0; }
  .field-label { min-width: unset; font-size: 0.58rem; }
  .field-value { font-size: 0.9rem; }
  .identity-score { flex-direction: row; align-items: center; gap: 1rem; padding-top: 1.5rem; }
  .identity-fields { margin-bottom: 1.5rem; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .stat-card { padding: 0.9rem; gap: 0.85rem; }
  .stat-icon { font-size: 1.5rem; }

  /* Jauge de danger */
  .danger-meter { padding: 1.25rem 0.9rem; }
  .danger-title { font-size: 0.6rem; margin-bottom: 1.25rem; }
  .scenario { flex-direction: column; gap: 0.4rem; align-items: flex-start; }
  .scenario-label { min-width: unset; width: 100%; font-size: 0.82rem; }
  .scenario-bar { width: 100%; height: 24px; }

  /* Tableau éthologique → cards */
  .table-wrap { overflow-x: unset; }
  .ethol-table { display: block; }
  .ethol-table thead { display: none; }
  .ethol-table tbody { display: block; }
  .ethol-table tbody tr {
    display: block;
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-bottom: 0.85rem;
    padding: 0.85rem;
  }
  .ethol-table tbody tr.highlight-row { border-color: var(--border-bright); }
  .ethol-table td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.82rem;
  }
  .ethol-table td:last-child { border-bottom: none; }
  .ethol-table td::before {
    content: attr(data-label);
    font-family: var(--font-mono);
    font-size: 0.52rem;
    letter-spacing: 0.08em;
    color: var(--gold);
    text-transform: uppercase;
    flex-shrink: 0;
    padding-top: 2px;
  }

  /* Timeline */
  .tl-card { padding: 1.1rem 1.25rem; }
  .tl-card h3 { font-size: 1rem; }

  /* Témoignages */
  .testimonial { padding: 1.25rem; }
  .testi-quote { font-size: 3.5rem; }

  /* Galerie */
  .gallery-notes { gap: 1rem; }
  .note-card { padding: 1rem; }

  /* Conclusion */
  .conclusion-box { padding: 2.5rem 1.25rem; margin: 0; }
  .conclusion-box h2 { margin-bottom: 1.25rem; }
  .conclusion-text { font-size: 1rem; }

  /* Footer */
  footer { padding: 2.5rem 1.1rem; }
  .footer-copy { font-size: 0.88rem; line-height: 1.9; }

  /* Bouton easter egg */
  body > button[title] { bottom: 1rem; right: 1rem; width: 46px; height: 46px; font-size: 1.2rem; }
}

/* Tablette */
@media(min-width:601px) and (max-width:900px) {
  .section { padding: 5rem 1.75rem; }
  .section-title { margin-bottom: 2.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .conclusion-box { padding: 3.5rem 2rem; }
  .field-label { min-width: 130px; }
  .identity-name { font-size: 3rem; }
}

/* ============================================================
   FEATURES.JS — STYLES
   ============================================================ */


/* 2. MODE ALERTE ROUGE */
body.mode-rouge::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(180,0,0,0.1);
  pointer-events: none;
  z-index: 8888;
  animation: rouge-pulse 1.2s ease-in-out infinite alternate;
}
@keyframes rouge-pulse {
  from { opacity: 0.3; }
  to   { opacity: 0.8; }
}

/* 3. EFFET GLITCH */
.glitch-target {
  position: relative;
}
.glitch-target:hover {
  animation: glitch-anim 0.5s steps(1) infinite;
}
@keyframes glitch-anim {
  0%   { text-shadow: 2px 0 #ff003c, -2px 0 #00f0ff; clip-path: inset(0 0 95% 0); }
  10%  { text-shadow: -2px 0 #ff003c, 2px 0 #00f0ff; clip-path: inset(20% 0 60% 0); }
  20%  { text-shadow: 2px 2px #ff003c; clip-path: inset(50% 0 30% 0); }
  30%  { text-shadow: none; clip-path: none; }
  40%  { text-shadow: -2px -2px #00f0ff; clip-path: inset(70% 0 5% 0); }
  50%  { text-shadow: 2px 0 #ff003c, -2px 0 #00f0ff; clip-path: inset(10% 0 80% 0); }
  100% { text-shadow: none; clip-path: none; }
}

/* 4. FEAT-BTN (partagé Signaler + Carte) */
.feat-btn {
  display: inline-block;
  margin-top: 1.25rem;
  margin-right: 0.75rem;
  padding: 0.7rem 1.6rem;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.55);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  border-radius: 2px;
}
.feat-btn:hover {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
  color: #fff;
}

/* 5. QUIZ */
.quiz-wrap {
  max-width: 680px;
  margin: 0 auto;
}
.quiz-q {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
}
.quiz-meta {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.quiz-prog-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.quiz-prog-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.4s ease;
}
.quiz-q-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}
.quiz-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.quiz-opt {
  padding: 0.7rem 1rem;
  background: var(--dark2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 3px;
  text-align: left;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  line-height: 1.4;
}
.quiz-opt:hover:not(:disabled) {
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.5);
  color: var(--text);
}
.quiz-opt.opt-ok {
  background: rgba(0,180,80,0.15);
  border-color: #00b450;
  color: #4fffb0;
}
.quiz-opt.opt-bad {
  background: rgba(220,40,40,0.15);
  border-color: #dc2828;
  color: #ff8080;
}
.quiz-result {
  background: var(--dark3);
  border: 1px solid var(--border-bright);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  text-align: center;
}
.quiz-score-big {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}
.quiz-score-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0.4rem 0 1.5rem;
}
.quiz-result-text {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}
@media(max-width:600px) {
  .quiz-opts { grid-template-columns: 1fr; }
  .quiz-q { padding: 1.25rem; }
}

/* 6. RAPPORT SIGNALEMENT */
.report-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.report-overlay.report-in { opacity: 1; }
.report-modal {
  background: #0d0d0d;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  max-width: 500px;
  width: 90%;
  font-family: var(--font-mono);
}
.report-hd {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.rp-bar-wrap {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 1.25rem 0 1rem;
  overflow: hidden;
}
.rp-bar {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  width: 0;
  transition: width 0.6s ease;
}
.rp-status {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.rp-step {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.rp-step.rp-step-in {
  opacity: 1;
  transform: translateX(0);
}

/* 7. BOUTON PARTAGER */
.share-btn {
  display: inline-block;
  margin-top: 1rem;
  margin-right: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.45);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.share-btn:hover {
  background: rgba(201,168,76,0.12);
  border-color: var(--gold);
  color: #fff;
}
.share-btn.share-done {
  border-color: #00b450;
  color: #4fffb0;
  background: rgba(0,180,80,0.1);
}

/* Konami box (troll.js) */
.konami-box {
  background: #0d0d0d;
  border: 1px solid rgba(201,168,76,0.6);
  padding: 3rem 2.5rem;
  max-width: 540px;
  width: 90%;
  text-align: center;
  font-family: var(--font-serif);
  color: var(--text);
}
.konami-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.konami-text {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.konami-sig {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* ============================================================
   CRI DU SPÉCIMEN — Bloc documentaire
   ============================================================ */
.cry-doc-block {
  margin-top: 1.75rem;
  padding: 1.1rem 1.4rem;
  background: rgba(201,168,76,0.04);
  border: 1px solid rgba(201,168,76,0.25);
  border-left: 3px solid rgba(201,168,76,0.7);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.cry-doc-label {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.cry-doc-desc {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}
.cry-doc-desc em { color: var(--text); font-style: italic; }
.cry-doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.6);
  border-radius: 2px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.cry-doc-btn:hover { background: rgba(201,168,76,0.12); border-color: var(--gold); }
.cry-playing .cry-doc-btn { border-color: var(--gold); background: rgba(201,168,76,0.1); }
.cry-doc-icon { font-size: 0.7rem; }
.cry-doc-waves {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}
.cry-doc-waves span {
  display: block;
  width: 2px;
  background: var(--gold);
  border-radius: 1px;
  height: 3px;
  opacity: 0.4;
}
.cry-playing .cry-doc-waves span { opacity: 1; }
.cry-playing .cry-doc-waves span:nth-child(1) { animation: bar-anim 0.5s ease-in-out infinite alternate; }
.cry-playing .cry-doc-waves span:nth-child(2) { animation: bar-anim 0.35s ease-in-out 0.08s infinite alternate; }
.cry-playing .cry-doc-waves span:nth-child(3) { animation: bar-anim 0.6s ease-in-out 0.04s infinite alternate; }
.cry-playing .cry-doc-waves span:nth-child(4) { animation: bar-anim 0.4s ease-in-out 0.12s infinite alternate; }
.cry-playing .cry-doc-waves span:nth-child(5) { animation: bar-anim 0.55s ease-in-out 0.06s infinite alternate; }
@keyframes bar-anim {
  from { height: 2px; }
  to   { height: 12px; }
}
@media(max-width:600px) {
  .cry-doc-block { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
}

/* ============================================================
   SECTION INTRO TEXT
   ============================================================ */
.section-intro {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: -1rem auto 2.5rem;
  text-align: center;
  line-height: 1.6;
}

/* ============================================================
   MYTHES & RÉALITÉS
   ============================================================ */
.myth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.myth-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.myth-half {
  flex: 1;
  padding: 1.25rem;
}
.myth-side {
  background: rgba(180,30,30,0.06);
  border-right: 1px solid rgba(180,30,30,0.2);
}
.reality-side {
  background: rgba(201,168,76,0.04);
}
.myth-tag {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  color: #cc4444;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.reality-tag {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.myth-half p {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
.myth-half p strong { color: var(--text); }
.myth-half p em { color: var(--gold); }
.myth-arrow {
  display: flex;
  align-items: center;
  padding: 0 0.6rem;
  color: var(--border-bright);
  font-size: 1.1rem;
  flex-shrink: 0;
  background: var(--dark2);
}
@media(max-width:768px) {
  .myth-grid { grid-template-columns: 1fr; }
  .myth-card { flex-direction: column; }
  .myth-side { border-right: none; border-bottom: 1px solid rgba(180,30,30,0.2); }
  .myth-arrow { padding: 0.4rem; justify-content: center; transform: rotate(90deg); }
}

/* ============================================================
   PROTOCOLE DE SURVIE
   ============================================================ */
.protocol-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.protocol-item {
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.protocol-threat {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  font-weight: 700;
}
.threat-extreme { background: rgba(200,20,20,0.25); color: #ff6060; }
.threat-high    { background: rgba(200,100,20,0.2); color: #ff9944; }
.threat-mid     { background: rgba(200,168,20,0.15); color: #e0c040; }
.threat-low     { background: rgba(60,160,60,0.12); color: #66cc66; }
.protocol-context {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--text);
  padding: 0.85rem 1.1rem 0.6rem;
  border-bottom: 1px solid var(--border);
}
.protocol-steps {
  padding: 0.85rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.p-step {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.p-num {
  color: var(--gold);
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.65rem;
}

/* ============================================================
   SIMULATEUR DE RENCONTRE
   ============================================================ */
.sim-wrap {
  max-width: 680px;
  margin: 0 auto;
}
.sim-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  text-align: center;
}
.sim-emoji {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
  line-height: 1;
}
.sim-txt {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 2rem;
  font-style: italic;
}
.sim-txt em { color: var(--gold); font-style: normal; }
.sim-choices {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.sim-choice {
  padding: 0.75rem 1.25rem;
  background: var(--dark2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border-radius: 3px;
  text-align: left;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  line-height: 1.45;
}
.sim-choice:hover {
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.5);
  color: var(--text);
}
.sim-result {
  border-radius: 3px;
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin-top: 1.5rem;
}
.sim-result-good { background: rgba(0,180,80,0.1); border: 1px solid #00b450; color: #4fffb0; }
.sim-result-bad  { background: rgba(200,30,30,0.1); border: 1px solid #cc3333; color: #ff8080; }
.sim-result-mid  { background: rgba(201,168,76,0.08); border: 1px solid rgba(201,168,76,0.4); color: var(--gold); }

/* ============================================================
   COMPTEUR DE VISITES — FOOTER
   ============================================================ */
.footer-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-counter strong { color: var(--gold); }
.footer-counter-dot { color: var(--gold); font-size: 0.5rem; animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot {
  0%,100% { opacity: 0.4; } 50% { opacity: 1; }
}

/* Compteur de visites dans le header */
.header-visit-count {
  margin-top: 2.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.6rem;
  animation: headerReveal 1.2s 0.7s ease both;
}
.hvc-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
  text-shadow: 0 0 20px rgba(201,168,76,0.4);
}
.hvc-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ============================================================
   TÉMOIGNAGES RÉELS & FORMULAIRE
   ============================================================ */
.real-testi {
  border-color: rgba(201,168,76,0.5);
  position: relative;
}
.testi-real-badge {
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.18em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.testi-situation, .testi-sequelles, .testi-duree {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted);
  margin-top: 0.4rem;
  letter-spacing: 0.05em;
}
.testi-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.testi-danger-badge {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--red);
  border: 1px solid rgba(201,76,76,0.4);
  padding: 0.15rem 0.5rem;
}
.testi-date {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--muted);
  margin-top: 0.5rem;
  letter-spacing: 0.08em;
}

/* Formulaire soumission */
.testi-submit-wrap {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.testi-submit-toggle {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.testi-submit-toggle:hover { border-color: var(--gold); color: var(--gold); }
.testi-submit-toggle span { color: var(--gold); }

.testi-form-box {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s;
}
.testi-form-box.testi-open {
  max-height: 900px;
  padding-top: 1.5rem;
}
.testi-form-label {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.tf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tf-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.tf-field label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.tf-req { color: var(--red); }
.tf-field input, .tf-field textarea {
  background: var(--dark2);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.6rem 0.8rem;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.tf-field input:focus, .tf-field textarea:focus { border-color: rgba(201,168,76,0.6); }
.tf-danger-wrap { display: flex; align-items: center; gap: 0.75rem; }
.tf-danger-wrap input[type=range] { flex: 1; accent-color: var(--gold); }
.tf-danger-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 1.5rem;
}
.tf-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.tf-note { font-family: var(--font-mono); font-size: 0.52rem; color: var(--muted); letter-spacing: 0.06em; }
.tf-success { font-family: var(--font-mono); font-size: 0.7rem; color: #4fffb0; margin-top: 0.75rem; }
.tf-error { font-family: var(--font-mono); font-size: 0.7rem; color: #ff8080; margin-top: 0.75rem; }
@media(max-width:600px) {
  .tf-row { grid-template-columns: 1fr; }
  .tf-actions { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   PANEL ADMIN
   ============================================================ */
.admin-panel {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 99999;
  display: none;
  overflow-y: auto;
}
.admin-panel.admin-open { display: block; }
.admin-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}
.admin-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}
.admin-close {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  padding: 0.35rem 0.8rem;
  transition: border-color 0.2s, color 0.2s;
}
.admin-close:hover { border-color: var(--red); color: #ff8080; }
.admin-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.admin-stat {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.admin-stat strong { color: var(--text); }
.admin-section-title {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.admin-empty {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  padding: 2rem;
  text-align: center;
  border: 1px dashed var(--border);
}
.admin-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.admin-card-hd {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.admin-card-date { color: var(--muted); font-size: 0.55rem; }
.admin-card-titre {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text);
  margin-bottom: 0.6rem;
  letter-spacing: 0.04em;
}
.admin-card-texte {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.5rem;
  font-style: italic;
}
.admin-card-meta {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--muted);
  margin-top: 0.3rem;
}
.admin-card-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.admin-btn-ok, .admin-btn-ko {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  border: none;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.admin-btn-ok { background: rgba(0,180,80,0.2); color: #4fffb0; border: 1px solid #00b450; }
.admin-btn-ko { background: rgba(200,30,30,0.2); color: #ff8080; border: 1px solid #cc3333; }
.admin-btn-ok:hover, .admin-btn-ko:hover { opacity: 0.7; }

/* Admin tabs + refresh */
.admin-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.admin-tab {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.admin-tab:hover { color: var(--text-muted); }
.admin-tab-active { color: var(--gold); border-bottom-color: var(--gold); }
.admin-tab-count {
  font-size: 0.55rem;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  border-radius: 2px;
  padding: 0.1rem 0.4rem;
  margin-left: 0.4rem;
}
.admin-refresh {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  padding: 0.35rem 0.8rem;
  transition: border-color 0.2s, color 0.2s;
}
.admin-refresh:hover { border-color: var(--gold); color: var(--gold); }
.admin-loading {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  padding: 2rem;
  text-align: center;
}

/* ============================================================
   BARRE DE NAVIGATION IMRSED
   ============================================================ */
.imrsed-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: rgba(8,8,8,0.96);
  border-top: 1px solid rgba(201,168,76,0.3);
  backdrop-filter: blur(8px);
  gap: 1rem;
}
.imrsed-nav-back {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(201,168,76,0.4);
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.imrsed-nav-back:hover { background: rgba(201,168,76,0.1); border-color: var(--gold); }
.imrsed-nav-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  flex: 1;
  text-align: center;
}
.imrsed-nav-label {
  font-family: var(--font-mono);
  font-size: 0.46rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}
.imrsed-nav-name {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.imrsed-nav-next {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(201,168,76,0.4);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.imrsed-nav-next:hover:not(.disabled) { background: rgba(201,168,76,0.1); border-color: var(--gold); }
.imrsed-nav-next.disabled { opacity: 0.3; cursor: not-allowed; }

/* Compenser la barre en bas pour le contenu */
footer { padding-bottom: 5rem; }

@media(max-width:600px) {
  .imrsed-nav-center { display: none; }
  .imrsed-nav { padding: 0.6rem 1rem; }
}
