/* ===== LeadGuitar.info — Jean-Philippe Fontanille ===== */
:root {
  --bg: #15110d;
  --bg-2: #1d1812;
  --card: #241e17;
  --line: #3a3026;
  --text: #efe6d8;
  --muted: #b9ab96;
  --gold: #d9a54a;
  --gold-2: #f0c46e;
  --radius: 10px;
  --max: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }

/* ---------- En-tête / menu ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(21, 17, 13, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px;
}
.logo {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px; font-weight: 700; color: var(--text);
  text-decoration: none; letter-spacing: .5px; white-space: nowrap;
}
.logo span { color: var(--gold); }

.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: var(--muted); text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: .4px;
  padding: 8px 12px; border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: var(--card); }
.nav a.active { color: var(--bg); background: var(--gold); }

.menu-btn {
  display: none; background: none; border: 1px solid var(--line);
  color: var(--text); border-radius: 6px; padding: 8px 12px;
  font-size: 15px; cursor: pointer;
}

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; background: var(--bg-2);
    border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 16px; }
}

/* ---------- Bannière ---------- */
.hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #2a2016;
}
.hero img {
  width: 100%; height: clamp(220px, 42vw, 440px);
  object-fit: cover; object-position: center 35%;
  filter: saturate(.9);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21,17,13,0) 35%, rgba(21,17,13,.92) 100%);
}
.hero-text {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding-bottom: clamp(18px, 4vw, 40px);
}
.hero-kicker {
  color: var(--gold); text-transform: uppercase; letter-spacing: 3px;
  font-size: 13px; font-weight: 600; margin: 0 0 6px;
}
.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 5.5vw, 58px); line-height: 1.05; margin: 0;
}
.hero-small img { height: clamp(160px, 26vw, 260px); }
.hero-small h1 { font-size: clamp(30px, 5vw, 48px); }

/* ---------- Sections ---------- */
.section { padding: clamp(40px, 7vw, 72px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(26px, 3.6vw, 36px); margin: 0 0 8px; text-align: center;
}
.section-sub { color: var(--muted); text-align: center; margin: 0 auto 32px; max-width: 640px; }
.title-line {
  width: 56px; height: 2px; background: var(--gold);
  margin: 10px auto 28px; border: 0;
}

.lead {
  max-width: 760px; margin: 0 auto; text-align: center;
  font-size: clamp(18px, 2.1vw, 21px); color: var(--text);
}

.btn {
  display: inline-block; background: var(--gold); color: var(--bg);
  font-weight: 600; text-decoration: none; padding: 13px 26px;
  border-radius: 999px; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--gold-2); border: 1px solid var(--gold); }
.btn-outline:hover { background: var(--card); }
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Musiques MP3 ---------- */
.tracks {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
@media (max-width: 860px) { .tracks { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .tracks { grid-template-columns: repeat(2, 1fr); } }
.track {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 12px 16px; text-align: center; cursor: pointer;
  color: var(--text); font: inherit;
  transition: border-color .2s, transform .2s;
}
.track:hover { border-color: var(--gold); transform: translateY(-2px); }
.track .play {
  width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--gold); display: grid; place-items: center;
}
.track .play svg { width: 20px; height: 20px; fill: var(--bg); }
.track.playing { border-color: var(--gold); }
.track.playing .play { background: var(--gold-2); }
.track-title { font-weight: 600; font-size: 15px; line-height: 1.3; }
.track-note { color: var(--muted); font-size: 13px; font-style: italic; line-height: 1.35; margin-top: 4px; }
.track-tag { display: inline-block; margin-top: 10px; font-size: 11px; letter-spacing: 1.5px; color: var(--gold); }

/* ---------- Vidéos (démo + reportages TV) : même taille ---------- */
.video-card {
  display: block; width: 252px; max-width: 100%;
  text-decoration: none; color: var(--text); text-align: center;
}
.video-thumb {
  position: relative; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line); background: #000;
}
.video-thumb img { width: 100%; aspect-ratio: 252 / 183; object-fit: cover; transition: transform .3s, opacity .3s; }
.video-thumb::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 52px; height: 52px; transform: translate(-50%, -50%);
  border-radius: 50%; background: rgba(217,165,74,.92)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%2315110d'/%3E%3C/svg%3E") center/24px no-repeat;
  box-shadow: 0 4px 18px rgba(0,0,0,.5);
}
.video-card:hover .video-thumb img { transform: scale(1.04); opacity: .85; }
.video-label { margin-top: 10px; font-weight: 600; }
.video-note { color: var(--muted); font-size: 14px; font-style: italic; }

.video-row {
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
}

/* ---------- Images à taille limitée ---------- */
.img-small { width: 520px; max-width: 100%; margin: 0 auto; }
.img-cert { width: 380px; max-width: 100%; margin: 0 auto; }
.img-cards { width: 760px; max-width: 100%; margin: 0 auto; }
.framed { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.caption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 10px; }

.zoomable { cursor: zoom-in; }

/* ---------- Contact ---------- */
.contact-card {
  max-width: 560px; margin: 0 auto; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: clamp(24px, 5vw, 40px);
}
.contact-line { font-size: 18px; margin: 6px 0; }
.contact-line strong { color: var(--muted); font-weight: 500; }
.contact-line a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--gold); word-break: break-all; }

/* ---------- Discographie : 1 disque par ligne ---------- */
.disc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  align-items: start; max-width: 880px; margin: 0 auto;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.disc:last-child { border-bottom: 0; }
.disc-head { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 14px; }
.disc-year { color: var(--gold); font-weight: 700; font-size: 15px; letter-spacing: 1px; }
.disc-title { font-family: "Playfair Display", Georgia, serif; font-size: clamp(20px, 2.8vw, 26px); margin: 0; }
.disc figure { margin: 0; }
.disc img { width: 100%; border-radius: 6px; border: 1px solid var(--line); background: #fff; }
.disc figcaption { color: var(--muted); font-size: 13px; text-align: center; margin-top: 6px; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- Galeries (presse, témoignages) ---------- */
.gallery {
  columns: 2 300px; column-gap: 18px;
}
.gallery figure {
  break-inside: avoid; margin: 0 0 18px;
  background: #f6f1e7; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line);
}
.gallery img { width: 100%; }

/* ---------- Visionneuse ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(0,0,0,.9); padding: 24px; cursor: zoom-out;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox-close {
  position: absolute; top: 14px; right: 18px; color: #fff; font-size: 34px;
  background: none; border: 0; cursor: pointer; line-height: 1;
}

/* ---------- Pied de page ---------- */
.site-footer {
  border-top: 1px solid var(--line); background: var(--bg-2);
  padding: 28px 0; color: var(--muted); font-size: 14px; text-align: center;
}
.site-footer a { color: var(--muted); }
