:root {
  --yellow: #F1C12F;
  --blue: #2344A0;
  --red: #C8401C;
  --ink: #17160F;
  --cream: #FBF6EA;
  --white: #FFFFFF;
  --text2: #47443C;
  --text3: #6B6452;
  --line: #EADFC6;
  --star-empty: #CFC3A6;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 36px; }
h3 { font-size: 1.35rem; letter-spacing: -0.03em; line-height: 1.05; }

.label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--blue);
  margin-bottom: 14px;
}
.label-yellow { color: var(--yellow); }

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 26px;
  border-radius: 27px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: #1B3683; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-small { height: 44px; padding: 0 20px; font-size: 15px; }

/* En-tête */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  background: rgba(251, 246, 234, .92);
  backdrop-filter: blur(10px);
}
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--text2); }
.nav-links a:hover { color: var(--blue); }

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

/* Bloc vedette */
.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
  background: var(--yellow);
  border-radius: 32px;
  padding: 64px 56px 0;
  margin-top: 10px;
  overflow: hidden;
}
.hero-text { padding-bottom: 64px; }
.lead { font-size: 1.2rem; max-width: 30em; margin: 24px 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: 14px; font-weight: 500; }

/* Téléphone */
.phone {
  justify-self: center;
  align-self: end;
  width: 320px;
  max-width: 100%;
  background: var(--ink);
  border-radius: 46px 46px 0 0;
  padding: 10px 10px 0;
  box-shadow: 0 30px 60px rgba(23, 22, 15, .28);
}
.phone-screen { background: var(--cream); border-radius: 36px 36px 0 0; overflow: hidden; }
.ph-hero { background: var(--yellow); padding: 34px 20px 18px; border-bottom: 1px solid rgba(23, 22, 15, .06); }
.sleeve { position: relative; width: 132px; height: 132px; margin-bottom: 16px; }
.sleeve-cover { position: relative; width: 132px; height: 132px; border-radius: 7px; box-shadow: 0 10px 18px rgba(23, 22, 15, .28); }
.sleeve-disc { position: absolute; top: 4px; left: 62px; width: 124px; height: 124px; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ph-title { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.04em; line-height: 1; }
.ph-artist { font-size: 14px; font-weight: 500; margin-top: 4px; }
.ph-body { padding: 14px 14px 20px; display: grid; gap: 10px; }
.chips { display: flex; gap: 6px; }
.chip { font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 20px; background: var(--white); border: 1.5px solid var(--ink); }
.chip-on { background: var(--blue); border-color: var(--blue); color: var(--white); }
.card { background: var(--white); border-radius: 20px; padding: 14px 16px; }
.card-label { font-family: var(--display); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--blue); margin-bottom: 8px; }
.note-row { display: flex; align-items: center; justify-content: space-between; }
.note-num { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.04em; line-height: 1; }
.note-num small { font-size: 15px; }
.red { color: var(--red); }
.blue { color: var(--blue); }
.stars { display: flex; gap: 2px; }
.stars svg { width: 24px; height: 24px; }
.stars .empty { fill: var(--star-empty); }
.stars .full { fill: currentColor; }
.tracks { list-style: none; padding: 0; display: grid; gap: 7px; font-size: 14px; font-weight: 500; }
.tracks li { display: flex; align-items: center; gap: 9px; }
.tracks span { width: 20px; height: 20px; border-radius: 50%; background: var(--yellow); font-family: var(--display); font-weight: 800; font-size: 11px; display: grid; place-items: center; }
.friends { display: grid; gap: 8px; }
.friends .card-label { margin-bottom: 0; }
.friend { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.friend b { font-weight: 600; margin-right: auto; }
.friend .stars svg { width: 15px; height: 15px; }
.friend i, .votes i { width: 26px; height: 26px; border-radius: 50%; color: var(--white); font-style: normal; font-weight: 700; font-size: 12px; display: grid; place-items: center; flex: none; }

/* Sections */
.section { padding: 96px 0 0; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { background: var(--white); border-radius: 20px; padding: 24px; }
.step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); font-family: var(--display); font-weight: 800; font-size: 18px; display: grid; place-items: center; margin-bottom: 18px; }
.steps p, .feature p { color: var(--text2); font-size: 16px; margin-top: 10px; }

/* Rangée de pochettes */
.shelf { margin: 96px -24px 0; overflow: hidden; }
.shelf-track { display: flex; gap: 16px; width: max-content; animation: slide 60s linear infinite; }
.shelf-track img { width: 150px; height: 150px; border-radius: 8px; box-shadow: 0 10px 16px rgba(23, 22, 15, .16); margin-bottom: 20px; }
@keyframes slide { to { transform: translateX(calc(-50% - 8px)); } }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--white); border-radius: 20px; padding: 26px; border-top: 6px solid var(--blue); }
.feature:nth-child(3n+2) { border-top-color: var(--red); }
.feature:nth-child(3n) { border-top-color: var(--yellow); }

/* Club */
.club {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--blue);
  color: var(--cream);
  border-radius: 32px;
  padding: 64px 56px;
  margin-top: 96px;
}
.club h2 { margin-bottom: 22px; }
.club-text p + p { margin-top: 14px; }
.club-card { background: var(--cream); color: var(--ink); border-radius: 24px; padding: 20px; display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: start; }
.club-card img { border-radius: 8px; box-shadow: 0 8px 14px rgba(23, 22, 15, .25); }
.club-album { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.04em; line-height: 1; }
.club-artist { font-size: 13px; color: var(--text3); margin: 4px 0 12px; }
.votes { list-style: none; padding: 0; display: grid; gap: 7px; font-size: 14px; font-weight: 600; }
.votes li { display: flex; align-items: center; gap: 9px; }
.votes span { margin-left: auto; font-size: 12px; color: var(--blue); }
.votes .wait { color: var(--text3); }
.club-reveal { margin-top: 14px; display: inline-block; background: var(--yellow); border-radius: 14px; padding: 5px 12px; font-size: 13px; font-weight: 700; }

/* IA */
.ia { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; align-items: start; }
.ia-card { background: var(--white); border-radius: 20px; padding: 30px; }
.ia-card > p { color: var(--text2); margin-top: 12px; }
.ia-built { background: var(--ink); color: var(--cream); }
.ia-built > p { color: var(--cream); opacity: .85; }
.ia-facts { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 14px; font-size: 15px; }
.ia-facts li { display: flex; align-items: center; gap: 14px; }
.ia-facts b { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -0.04em; line-height: 1; color: var(--yellow); min-width: 46px; }
.ia-list { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 20px; }
.ia-list li { border-top: 1px solid var(--line); padding-top: 18px; }
.ia-list b { font-weight: 700; font-size: 17px; }
.ia-list p { color: var(--text2); font-size: 16px; margin-top: 4px; }
.tag { float: right; margin-left: 12px; background: var(--yellow); border-radius: 12px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.ia-note { margin-top: 20px; color: var(--text3); font-size: 15px; max-width: 46em; }

/* Questions */
.faq { max-width: 780px; display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: 20px; padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--blue); line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 22px; color: var(--text2); max-width: 38em; }

/* Appel final */
.final { text-align: center; background: var(--yellow); border-radius: 32px; padding: 72px 24px; margin: 96px 0; }
.final img { margin: 0 auto 26px; }
.final h2 { margin-bottom: 14px; }
.final p { margin-bottom: 28px; font-size: 1.1rem; }

.footer { background: var(--ink); color: var(--cream); padding: 44px 24px; display: grid; gap: 20px; justify-items: center; text-align: center; font-size: 14px; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer a { text-decoration: none; opacity: .85; }
.footer a:hover { opacity: 1; text-decoration: underline; }
.footer p { opacity: .6; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav { justify-content: space-between; }
  .hero { grid-template-columns: 1fr; padding: 44px 28px 0; }
  .hero-text { padding-bottom: 8px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .club { grid-template-columns: 1fr; padding: 44px 28px; }
  .ia { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav, main { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 36px 20px 0; border-radius: 28px; }
  .btn { width: 100%; }
  .nav .btn { width: auto; }
  .steps, .grid { grid-template-columns: 1fr; }
  .section { padding-top: 72px; }
  .shelf { margin: 72px -16px 0; }
  .shelf-track img { width: 110px; height: 110px; }
  .club, .final { margin-top: 72px; border-radius: 28px; }
  .club { padding: 36px 20px; }
  .club-card { grid-template-columns: 84px 1fr; padding: 16px; }
  .final { margin-bottom: 72px; padding: 56px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sleeve-disc, .shelf-track { animation: none; }
  .btn { transition: none; }
}
