/* ============================================================
   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-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: var(--w);
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 3px;
  animation: fillBar 1.5s ease forwards;
  transform-origin: left;
}

.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: var(--w);
  background: linear-gradient(90deg, #6b2020, var(--red));
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.6rem;
  animation: fillBar 2s ease forwards;
}

.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);
}

/* ============================================================
   MOBILE — améliorations responsive
   ============================================================ */
@media(max-width:600px) {

  /* Sections : réduire le padding vertical */
  .section { padding: 4rem 1.25rem; }

  /* Header */
  .header-content { padding: 1.5rem 1.25rem; }
  .header-badge { font-size: 0.55rem; letter-spacing: 0.15em; padding: 0.3rem 1rem; }
  .header-nav { gap: 1rem; }
  .header-nav a { font-size: 0.6rem; letter-spacing: 0.1em; }

  /* Intro */
  .intro-inner { padding: 1.5rem 1.25rem; }
  .intro-btn { padding: 0.85rem 1.5rem; font-size: 0.7rem; letter-spacing: 0.1em; }

  /* Fiche identité : labels en colonne sur très petit écran */
  .field { flex-direction: column; gap: 0.25rem; padding: 0.6rem 0; }
  .field-label { min-width: unset; font-size: 0.6rem; }
  .field-value { font-size: 0.95rem; }

  /* Score circulaire : centrer sur mobile */
  .identity-score { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr; gap: 1rem; }
  .stat-card { padding: 1rem; }

  /* Jauge de danger : label en full width */
  .danger-meter { padding: 1.5rem 1rem; }
  .scenario { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
  .scenario-label { min-width: unset; width: 100%; font-size: 0.85rem; }
  .scenario-bar { width: 100%; }

  /* Tableau éthologique : rendu card sur mobile */
  .ethol-table thead { display: none; }
  .ethol-table tbody tr {
    display: block;
    background: var(--dark3);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
    padding: 0.75rem;
  }
  .ethol-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.85rem;
  }
  .ethol-table td:last-child { border-bottom: none; }
  .ethol-table td::before {
    content: attr(data-label);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    color: var(--gold);
    text-transform: uppercase;
    flex-shrink: 0;
    margin-right: 0.75rem;
  }

  /* Témoignages */
  .testimonial { padding: 1.5rem; }

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

  /* Conclusion */
  .conclusion-box { padding: 3rem 1.5rem; }

  /* Footer */
  footer { padding: 3rem 1.25rem; }
  .footer-copy { font-size: 0.9rem; }

  /* Easter egg button : déplacer pour pas gêner */
  body > button[title] { bottom: 1rem; right: 1rem; width: 48px; height: 48px; font-size: 1.3rem; }
}

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