@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Karla:wght@300;400;500;600;700&display=swap");

/* ============================================================
   Pamél'IA — direction « studio cinéma »
   Serif à fort contraste pour les titres, filets d'un pixel,
   cadres presque droits, orange réservé à l'action principale.
   ============================================================ */

:root {
  --bg: #07090a;
  --bg-panel: #0c1012;
  --card: #0e1214;
  --ink: #f4ece1;
  --ink-soft: rgba(244, 236, 225, 0.62);
  --ink-faint: rgba(244, 236, 225, 0.4);
  --ember: #e8542a;
  --ember-soft: #f07a4e;
  --gold: #e8c88a;
  --gold-deep: #c9a464;
  --teal: #10262b;
  --palm: #3f9c7c;
  --border: rgba(244, 236, 225, 0.1);
  --border-strong: rgba(244, 236, 225, 0.22);
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Karla", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 9, 10, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}
.logo .pam { color: var(--ink); }
.logo .ia { color: var(--ember); }
.logo-img { height: 26px; width: auto; display: block; }
.site-footer .logo-img { height: 30px; }

/* ---------- Intro animation ---------- */
.intro-screen {
  position: fixed;
  inset: 0;
  height: 100dvh;
  width: 100vw;
  z-index: 300;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease;
}
.intro-screen.hide { opacity: 0; pointer-events: none; }
.intro-screen video {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 700px) {
  .intro-screen video { object-fit: contain; min-width: 0; min-height: 0; }
}
.intro-skip {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: rgba(7, 9, 10, 0.5);
  border: 1px solid var(--border-strong);
  color: var(--ink-soft);
  border-radius: var(--radius);
  padding: 9px 18px;
  font-family: "Karla", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transition: color 0.2s, border-color 0.2s;
}
.intro-skip:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Navigation ---------- */
.main-nav { display: flex; gap: 26px; }
.main-nav a {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--gold); border-bottom-color: var(--gold); }

.header-socials { display: flex; gap: 10px; }
.header-right { display: flex; align-items: center; gap: 20px; }
.header-bottle { flex-shrink: 0; opacity: 0.5; }
.header-socials a {
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s, border-color 0.2s;
}
.header-socials a:hover { border-color: var(--gold); color: var(--gold); }

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--ink);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  z-index: 40;
  background: var(--bg);
  padding: 40px 24px;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--ink);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .header-socials {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.mobile-nav .header-socials a {
  width: auto;
  height: auto;
  padding: 9px 18px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

@media (max-width: 860px) {
  .main-nav, .header-right { display: none; }
  .menu-btn { display: flex; }
}

/* ---------- Bandeau défilant ---------- */
.marquee {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  color: var(--gold-deep);
  overflow: hidden;
  white-space: nowrap;
  padding: 11px 0;
}
.marquee-track { display: inline-flex; animation: scroll-left 40s linear infinite; }
.marquee-track span {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  padding: 0 24px;
  text-transform: uppercase;
}
.marquee-track span.dot { color: var(--ember); letter-spacing: 0; }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
  background: radial-gradient(120% 70% at 50% 0%, rgba(232, 84, 42, 0.08) 0%, transparent 60%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.25 !important;
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-flower { position: absolute; z-index: 0; opacity: 0.18; pointer-events: none; }
.hero-bottle { position: absolute; z-index: 0; opacity: 0.3; pointer-events: none; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-feature { max-width: 420px; }
}
.hero-text { display: flex; flex-direction: column; align-items: flex-start; }

.hero-feature { position: relative; width: 100%; }
.hero-feature-card {
  position: relative;
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  aspect-ratio: 3 / 4;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.hero-feature-card:hover { border-color: var(--gold-deep); box-shadow: 0 26px 60px -30px #000; }
.hero-feature-card img, .hero-feature-card video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-feature-card:hover img, .hero-feature-card:hover video { transform: scale(1.03); }
.hero-feature-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex; flex-direction: column; gap: 5px;
  padding: 22px 20px 18px;
  background: linear-gradient(to top, rgba(4, 6, 7, 0.94), rgba(4, 6, 7, 0.5) 55%, transparent);
}
.hero-feature-label {
  font-size: 0.6rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.26em; color: var(--gold);
}
.hero-feature-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.45rem; line-height: 1.15; color: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  .hero-feature-card img, .hero-feature-card video,
  .hero-feature-card:hover img, .hero-feature-card:hover video { transition: none; transform: none; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.hero h1 {
  margin: 26px 0 0;
  font-size: clamp(2.8rem, 7.2vw, 5rem);
  line-height: 1.04;
  max-width: 15ch;
  color: var(--ink);
}
.hero h1 .accent {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
  color: var(--gold);
  font-style: italic;
}
.hero p.lede {
  margin: 26px 0 0;
  max-width: 52ch;
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-soft);
}
.hero-cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-follow { position: relative; display: inline-flex; }
.hero-follow-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: none;
  gap: 10px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: 0 18px 40px -22px #000;
  z-index: 5;
}
.hero-follow-menu.open { display: flex; }

/* ---------- Séparateur ---------- */
.wave-divider { display: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 28px;
  border-radius: var(--radius);
  font-family: "Karla", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn.solid { background: var(--ember); color: #fff; }
.btn.solid:hover { background: var(--ember-soft); }
.btn.solid2 { background: var(--gold); color: #1c1305; }
.btn.solid2:hover { background: var(--gold-deep); }
.btn.ghost { background: transparent; color: var(--ink-soft); border-color: var(--border-strong); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- À propos ---------- */
.about-block {
  padding: 96px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; gap: 34px; } }

.about-side { display: flex; flex-direction: column; align-items: flex-start; }
.about-wordmark { margin: 18px 0 0; }
.about-wordmark img { height: 46px; width: auto; }
.about-signature {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.75;
  max-width: 34ch;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--gold);
}
.about-block h2 { margin: 14px 0 0; font-size: clamp(2rem, 4.4vw, 2.8rem); color: var(--ink); }
.about-body p { color: var(--ink-soft); line-height: 1.85; font-size: 1rem; font-weight: 300; margin: 0 0 18px; }
.about-body p:last-of-type { margin-bottom: 0; }
.about-body strong { color: var(--gold); font-weight: 500; }

.credentials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.credential-pill {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 16px;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  background: transparent;
  transition: border-color 0.2s, color 0.2s;
}
.credential-pill:hover { border-color: var(--gold); color: var(--gold); }
.credential-pill:nth-child(2), .credential-pill:nth-child(3) { background: transparent; color: var(--ink-soft); }

/* ---------- Sections ---------- */
section.block { padding: 96px 0; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 44px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.section-head h1, .section-head h2 { margin: 12px 0 0; font-size: clamp(2rem, 4.4vw, 2.9rem); color: var(--ink); }
.section-head p { color: var(--ink-soft); max-width: 46ch; margin: 12px 0 0; font-weight: 300; font-size: 0.97rem; }

.center { text-align: center; }

.portfolio-section { margin-bottom: 76px; }
.portfolio-section:last-child { margin-bottom: 0; }

.portfolio-subgroup { margin-bottom: 40px; }
.portfolio-subgroup:last-child { margin-bottom: 0; }
.subgroup-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.subgroup-head .subtag {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
}

/* ---------- Filtres ---------- */
.filters { display: flex; gap: 10px; margin-bottom: 34px; flex-wrap: wrap; }
.filters button {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  padding: 9px 20px;
  border-radius: var(--radius);
  font-family: "Karla", sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: border-color 0.2s, color 0.2s;
}
.filters button:hover { border-color: var(--border-strong); color: var(--ink); }
.filters button.active { color: var(--gold); border-color: var(--gold); }

/* ---------- Grille du portfolio ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .grid { grid-template-columns: 1fr; } }

.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 0;
  aspect-ratio: 4 / 3;
  display: block;
  width: 100%;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.tile:hover { border-color: var(--gold-deep); box-shadow: 0 14px 36px -20px rgba(0, 0, 0, 0.9); }
.tile.vertical { aspect-ratio: 3 / 4; }
.tile.tall { grid-row: span 2; }
.tile img, .tile video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tile:hover img, .tile:hover video { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .tile img, .tile video, .tile:hover img, .tile:hover video { transition: none; transform: none; }
}
.tile .badge {
  position: absolute; top: 12px; left: 12px;
  z-index: 2;
  font-size: 0.58rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(7, 9, 10, 0.62);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(244, 236, 225, 0.16);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 2px;
}
.tile .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 16px 14px 13px;
  background: linear-gradient(to top, rgba(4, 6, 7, 0.92), rgba(4, 6, 7, 0.45) 55%, transparent);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.tile .tool-badge {
  position: absolute;
  bottom: 14px;
  right: 12px;
  font-size: 0.58rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  background: rgba(7, 9, 10, 0.72);
  border: 1px solid rgba(232, 200, 138, 0.4);
  padding: 4px 10px;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s;
  z-index: 3;
}
.tile:hover .tool-badge { opacity: 1; transform: translateY(0); }
.tile .tool-badge:hover { background: var(--gold); color: #1c1305; border-color: var(--gold); }

.tile.placeholder {
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 20px;
  background: var(--bg-panel);
  border: 1px dashed var(--border-strong);
  color: var(--ink-faint);
  font-size: 0.78rem;
}
.tile.placeholder .ph-title {
  font-family: "Instrument Serif", Georgia, serif;
  color: var(--ink-soft); font-size: 1.15rem; margin-bottom: 6px;
}

/* ---------- Outils ---------- */
.tools-category { margin-bottom: 64px; }
.tools-category:last-child { margin-bottom: 0; }
.tools-category-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.tools-category-head .dot { width: 7px; height: 7px; border-radius: 999px; flex-shrink: 0; }
.tools-category-head h3 { font-size: 1.5rem; color: var(--ink); margin: 0; }
.tools-category-head .count {
  font-size: 0.66rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  margin-left: auto;
}
.tools-category[data-cat="Image"] .tools-category-head .dot { background: var(--ember); }
.tools-category[data-cat="Vidéo"] .tools-category-head .dot { background: var(--gold); }
.tools-category[data-cat="Musique"] .tools-category-head .dot { background: var(--palm); }

.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tools-grid { grid-template-columns: 1fr; } }

.tool-card {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.tool-card:hover { border-color: var(--gold-deep); background: var(--bg-panel); }
.tool-card-top { display: flex; align-items: center; gap: 12px; }
.tool-card img { width: 26px; height: 26px; object-fit: contain; opacity: 0.85; flex-shrink: 0; }
.tool-card .name { font-weight: 600; font-size: 0.9rem; color: var(--ink); letter-spacing: 0.01em; }
.tool-card .opinion {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.5;
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin: 0;
}
.tool-card .opinion::before { content: "“"; color: var(--gold); font-style: normal; }
.tool-card .opinion::after { content: "”"; color: var(--gold); font-style: normal; }

/* ---------- Créateurs à suivre ---------- */
.creators-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 780px) { .creators-grid { grid-template-columns: 1fr; } }

.creator-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px;
  height: 100%;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.creator-card:hover { border-color: var(--gold-deep); background: var(--bg-panel); }
.creator-card-top { display: flex; align-items: center; gap: 12px; }
.creator-card-top img { width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; opacity: 0.85; }
.creator-card .name {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400; font-size: 1.3rem; color: var(--ink);
}
.creator-card .desc { color: var(--ink-soft); font-size: 0.9rem; font-weight: 300; line-height: 1.7; margin: 0; }

.creator-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; }
.creator-link {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 6px 13px;
  border-radius: 2px;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.creator-link:hover { background: var(--gold); border-color: var(--gold); color: #1c1305; }
.creator-link[data-type="youtube"]:hover { background: #e63a3a; border-color: #e63a3a; color: #fff; }
.creator-link[data-type="instagram"]:hover { background: #c62e6d; border-color: #c62e6d; color: #fff; }
.creator-link[data-type="tiktok"]:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.creator-link[data-type="discord"]:hover { background: #4f5bda; border-color: #4f5bda; color: #fff; }

/* ---------- Page d'une création seule (p/<id>.html) ---------- */
.solo { padding: 58px 0 96px; }
.solo-wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 42px; align-items: start; }
@media (max-width: 860px) { .solo-wrap { grid-template-columns: 1fr; gap: 28px; } }
.solo-media {
  background: #000;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.solo-media img, .solo-media video { width: 100%; max-height: 78dvh; object-fit: contain; display: block; }
.solo-info { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.solo-info h1 { margin: 8px 0 0; font-size: clamp(2rem, 4.4vw, 2.7rem); color: var(--ink); line-height: 1.1; }
.solo-desc { display: flex; flex-direction: column; gap: 14px; }
.solo-desc p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; font-weight: 300; line-height: 1.85; }
.solo-desc strong { color: var(--gold); font-weight: 500; }
.solo-desc em { color: var(--ink); font-style: italic; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 6, 7, 0.94);
  display: none; align-items: center; justify-content: center;
  padding: 16px;
  backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox-panel {
  width: 100%; max-width: 1100px; max-height: 90dvh; overflow-y: auto;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  box-shadow: 0 40px 90px -40px #000;
}
@media (max-width: 800px) { .lightbox-panel { grid-template-columns: 1fr; } }
.lightbox-media { background: #000; display: flex; align-items: center; }
.lightbox-media img, .lightbox-media video { width: 100%; max-height: 80dvh; object-fit: contain; }
.lightbox-info { padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.lightbox-info h3 { margin: 8px 0 0; font-size: 1.9rem; color: var(--ink); line-height: 1.15; }
.lightbox-info p { color: var(--ink-soft); font-size: 0.93rem; font-weight: 300; line-height: 1.8; }
.lightbox-desc { display: flex; flex-direction: column; gap: 12px; max-height: 40dvh; overflow-y: auto; }
.lightbox-desc p { margin: 0; }
.lightbox-desc strong { color: var(--gold); font-weight: 500; }
.lightbox-desc em { color: var(--ink); font-style: italic; }
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  width: 42px; height: 42px; border-radius: var(--radius);
  border: 1px solid rgba(244, 236, 225, 0.3); background: rgba(7, 9, 10, 0.5); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  transition: border-color 0.2s, color 0.2s;
}
.lightbox-close:hover { border-color: var(--gold); color: var(--gold); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid rgba(232, 200, 138, 0.42);
  border-radius: 2px;
  padding: 5px 13px;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: transparent;
  color: var(--gold);
}

.lightbox-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 8px;
}
.lightbox-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--ink-soft);
  padding: 11px 20px;
  border-radius: var(--radius);
  font-family: "Karla", sans-serif;
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.lightbox-share:hover { border-color: var(--gold); color: var(--gold); }
.lightbox-share-feedback {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox-share-feedback.show { opacity: 1; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: #050708; color: var(--ink); }
.footer-top {
  display: flex; flex-wrap: wrap; gap: 34px;
  justify-content: space-between; align-items: flex-end;
  padding: 60px 0;
}
.site-footer .logo .pam { color: var(--ink); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-turtle { flex-shrink: 0; opacity: 0.55; }
.footer-bottle { flex-shrink: 0; opacity: 0.55; }
.footer-tagline {
  font-size: 0.64rem; letter-spacing: 0.22em; color: var(--ink-faint);
  margin-top: 12px; text-transform: uppercase;
}
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a {
  font-size: 0.68rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--ink-soft);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-socials a {
  font-size: 0.62rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid var(--border);
  border-radius: 2px; padding: 7px 14px;
  color: var(--ink-soft);
  transition: border-color 0.2s, color 0.2s;
}
.footer-socials a:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0; text-align: center;
  font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.note-box {
  margin-top: 52px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-left: 2px solid var(--gold-deep);
  border-radius: var(--radius);
  color: var(--ink-faint);
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.8;
  background: var(--bg-panel);
}
.note-box a { color: var(--gold); }
