/* =========================================================
   Hit Parade Mobile — site web
   Système de design partagé (index + privacy)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Figtree:wght@400;500;600;700&display=swap');

:root {
  /* Palette tirée du dégradé de l'app : or → sauge → bleu profond */
  --gold:        #c9971f;
  --gold-soft:   #d6a838;
  --sage:        #5d9079;
  --blue:        #2257a8;
  --blue-deep:   #16356f;
  --blue-night:  #0f2750;
  --accent:      #2a62e0;   /* le bleu vif (liens) */
  --accent-soft: #6f9bff;   /* version lumineuse (hero, sur le dégradé) */
  --accent-bright: #93b4ff; /* version éclatante (nav, sur le verre foncé) */
  --mobile:      #003da5;   /* le bleu foncé du mot « Mobile », tiré de l'app */

  /* Dégradé signature — couleurs exactes de l'app, biaisé « or » en haut-gauche
     pour que le bleu foncé de « Mobile » ressorte davantage. */
  --brand-gradient: linear-gradient(152deg,
      #e1af05 0%, #C28F00 13%, #B68A1A 24%, #A58F42 36%,
      #93A175 48%, #7E9E8A 59%, #48829F 71%, #2b6c9e 82%,
      #185295 91%, #001F6F 100%);

  --ink:        #ffffff;
  --ink-dim:    rgba(255,255,255,.74);
  --ink-faint:  rgba(255,255,255,.55);

  /* Surface vitrée signature (boutons « pilule » de l'app) */
  --glass-bg:     rgba(255,255,255,.12);
  --glass-bg-2:   rgba(255,255,255,.07);
  --glass-border: rgba(255,255,255,.55);
  --glass-blur:   blur(14px) saturate(120%);

  --r-pill: 999px;
  --r-lg: 28px;
  --r-md: 20px;
  --maxw: 1160px;

  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--blue-night);
  line-height: 1.6;
  font-size: 18px;
  overflow-x: hidden;
  /* glows ambiants chauds/froids sur le fond nuit */
  background-image:
    radial-gradient(720px 520px at 8% -4%, rgba(201,151,31,.34), transparent 60%),
    radial-gradient(820px 680px at 100% 8%, rgba(34,87,168,.40), transparent 62%),
    radial-gradient(900px 700px at 50% 120%, rgba(27,83,212,.22), transparent 60%);
  background-attachment: fixed;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.lead { font-size: 1.18rem; color: var(--ink-dim); }

/* wordmark Hit Parade / Mobile */
.wordmark { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; }
.wordmark .accent { color: var(--mobile); }
/* « Mobile » garde le bleu foncé de l'app partout */
.nav .wordmark .accent { color: var(--accent-soft); font-weight: 700; }
.foot-brand .wordmark .accent { color: var(--mobile); font-weight: 700; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.section-pad { padding: clamp(64px, 9vw, 130px) 0; }

/* ---------- Composants vitrés ---------- */
.glass {
  background: var(--glass-bg);
  border: 1.5px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 18px 50px rgba(8,22,52,.35);
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 1.02rem;
  padding: 16px 30px; border-radius: var(--r-pill);
  cursor: pointer; border: 1.5px solid var(--glass-border);
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn-glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
}
.btn-glass:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.btn-solid {
  background: #fff; color: var(--blue-deep); border-color: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.25);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(0,0,0,.32); }

/* ---------- Barre de navigation ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 50; padding: 16px 0; }
.nav {
  display: flex; align-items: center; gap: 18px;
  padding: 10px 12px 10px 18px; border-radius: var(--r-pill);
}
.nav-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.12rem; }
.nav-brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.nav-brand .wordmark { white-space: nowrap; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-weight: 600; font-size: .98rem; color: var(--ink-dim); }
.nav-links a:hover { color: #fff; }
.nav-cta { padding: 11px 22px; font-size: .96rem; }
.nav-burger { display: none; }

/* sélecteur de langue FR / EN */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.38);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.lang-switch button {
  font-family: var(--font-body); font-weight: 700; font-size: .82rem; letter-spacing: .02em;
  color: rgba(255,255,255,.72); background: transparent; border: none; cursor: pointer;
  padding: 7px 13px; border-radius: var(--r-pill); transition: color .15s ease, background .2s ease;
}
.lang-switch button:hover { color: #fff; }
.lang-switch button.active { color: var(--blue-deep); background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.2); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--brand-gradient);
  clip-path: inset(0 round 0 0 56px 56px);
}
.hero-bg::after { /* grain doux */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 70% 0%, transparent 50%, rgba(15,39,80,.45) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(60px, 8vw, 110px);
}
.hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); margin: 18px 0 0; }
.hero h1 .sub {
  display: block; color: var(--mobile); font-size: .62em; margin-top: -.04em;
}
/* Dans le hero, l'eyebrow passe sur la zone dorée du dégradé : le garder blanc */
.hero .eyebrow { color: #fff; }
.hero p.lead { margin-top: 22px; max-width: 33ch; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: center; }
.made-in {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px;
  font-weight: 600; color: rgba(255,255,255,.85); font-size: .96rem;
}
/* fleur de lys — logo SVG « Québec », prend la couleur du texte voisin */
.fleur {
  display: inline-block; width: 1em; height: 1em; vertical-align: -.14em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20512'%20fill='%23fff'%3E%3Cpath%20d='M275.602,346.18c0-155.063,47.628-176.776,47.628-238.215c0-54.614-38.926-93.177-67.23-107.964c-28.305,14.788-67.239,53.351-67.239,107.964c0,61.44,47.628,83.152,47.628,238.215H275.602z'/%3E%3Cpath%20d='M185.388,346.18h31.359c0,0,6.547-141.584-81.028-161.194c-90.055-20.155-128.082,107.178-57.51,149C84.75,239.886,185.388,246.418,185.388,346.18z'/%3E%3Cpath%20d='M376.278,184.985c-87.567,19.61-81.036,161.194-81.036,161.194h31.367c0-99.762,100.638-106.294,107.178-12.194C504.367,292.163,466.332,164.83,376.278,184.985z'/%3E%3Cpolygon%20points='131.833,356.204%20131.833,386.262%20255.999,386.262%20380.171,386.262%20380.171,356.204%20255.999,356.204'/%3E%3Cpath%20d='M278.217,395.674h-44.445c0,18.303-23.519,50.977-60.118,52.278c0,22.226,42.956,29.196,57.857,19.611c0,0-1.656,33.982,24.487,44.437c26.142-10.456,24.487-44.437,24.487-44.437c14.901,9.585,57.856,2.616,57.856-19.611C301.744,446.652,278.217,413.977,278.217,395.674z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20512'%20fill='%23fff'%3E%3Cpath%20d='M275.602,346.18c0-155.063,47.628-176.776,47.628-238.215c0-54.614-38.926-93.177-67.23-107.964c-28.305,14.788-67.239,53.351-67.239,107.964c0,61.44,47.628,83.152,47.628,238.215H275.602z'/%3E%3Cpath%20d='M185.388,346.18h31.359c0,0,6.547-141.584-81.028-161.194c-90.055-20.155-128.082,107.178-57.51,149C84.75,239.886,185.388,246.418,185.388,346.18z'/%3E%3Cpath%20d='M376.278,184.985c-87.567,19.61-81.036,161.194-81.036,161.194h31.367c0-99.762,100.638-106.294,107.178-12.194C504.367,292.163,466.332,164.83,376.278,184.985z'/%3E%3Cpolygon%20points='131.833,356.204%20131.833,386.262%20255.999,386.262%20380.171,386.262%20380.171,356.204%20255.999,356.204'/%3E%3Cpath%20d='M278.217,395.674h-44.445c0,18.303-23.519,50.977-60.118,52.278c0,22.226,42.956,29.196,57.857,19.611c0,0-1.656,33.982,24.487,44.437c26.142-10.456,24.487-44.437,24.487-44.437c14.901,9.585,57.856,2.616,57.856-19.611C301.744,446.652,278.217,413.977,278.217,395.674z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.made-in .fleur { width: 1.15em; height: 1.15em; vertical-align: -.18em; }

/* visuel téléphones du hero */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 540px; }
.phone {
  border-radius: 44px; background: #0b0b0d; padding: 9px;
  box-shadow: 0 40px 90px rgba(7,20,45,.55), 0 6px 18px rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.12);
}
.phone img { border-radius: 36px; display: block; width: 100%; }
.hero-visual .phone-main { width: clamp(220px, 24vw, 300px); position: relative; z-index: 2; transform: rotate(-3deg); }
.hero-visual .phone-back {
  width: clamp(180px, 19vw, 240px); position: absolute; right: 2%; bottom: 6%;
  z-index: 1; transform: rotate(7deg); opacity: .96;
}

/* ---------- bandeau pitch ---------- */
.pitch { text-align: center; }
.pitch h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); max-width: 18ch; margin: 0 auto; }
.pitch h2 .hl { color: var(--gold-soft); }

/* ---------- titres de section ---------- */
.sec-head { max-width: 60ch; margin-bottom: 52px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-top: 14px; }
.sec-head p { margin-top: 16px; color: var(--ink-dim); font-size: 1.1rem; }

/* ---------- Comment jouer (étapes) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { padding: 34px 30px; border-radius: var(--r-lg); }
.step .num {
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.16);
  border: 1.5px solid var(--glass-border); margin-bottom: 22px;
}
.step h3 { font-size: 1.4rem; }
.step p { margin-top: 10px; color: var(--ink-dim); }

/* ---------- Fonctionnalités ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 32px 28px; border-radius: var(--r-lg); }
.feature .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.4); margin-bottom: 20px;
}
.feature .ico svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; }
.feature h3 { font-size: 1.28rem; }
.feature p { margin-top: 9px; color: var(--ink-dim); font-size: 1rem; }

/* ---------- Galerie captures ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 60px); align-items: start; }
.shot { text-align: center; }
.shot .phone { margin: 0 auto; max-width: 260px; }
.shot .cap { margin-top: 22px; }
.shot .cap h4 { font-size: 1.2rem; }
.shot .cap p { color: var(--ink-dim); font-size: .98rem; margin-top: 4px; }
.shot:nth-child(1) .phone { transform: rotate(-2.5deg); }
.shot:nth-child(2) .phone { transform: translateY(-18px); }
.shot:nth-child(3) .phone { transform: rotate(2.5deg); }

/* ---------- Playlists ---------- */
.playlists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pl { padding: 30px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 8px; }
.pl .count { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; }
.pl h3 { font-size: 1.45rem; }
.pl p { color: var(--ink-dim); }
.pl.soon { border-style: dashed; color: var(--ink-dim); justify-content: center; align-items: center; text-align: center; }

/* ---------- CTA téléchargement ---------- */
.cta { text-align: center; }
.cta-card { padding: clamp(40px, 6vw, 72px); border-radius: var(--r-lg); }
.cta-card h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta-card p { color: var(--ink-dim); margin: 16px auto 0; max-width: 46ch; font-size: 1.1rem; }
.badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* Badges officiels App Store / Google Play (artwork SVG officiel fourni) */
.badge {
  display: inline-flex; border-radius: 10px;
  transition: transform .18s ease, box-shadow .2s ease;
}
.badge:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.32); }
.badge img { height: 52px; width: auto; display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq details { border-radius: var(--r-md); padding: 6px 26px; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0;
  font-family: var(--font-display); font-weight: 500; font-size: 1.18rem;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; width: 22px; height: 22px; transition: transform .25s ease; stroke: var(--gold-soft); stroke-width: 2.5; fill: none; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .ans { padding: 0 0 22px; color: var(--ink-dim); }
.faq .ans a { color: var(--accent-soft); font-weight: 600; }

/* ---------- Footer ---------- */
footer { padding: 64px 0 40px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 32px 60px; align-items: flex-start; justify-content: space-between; }
.foot-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.15rem; }
.foot-brand img { width: 40px; height: 40px; border-radius: 11px; }
.foot-links { display: flex; gap: 40px; flex-wrap: wrap; }
.foot-col h5 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--ink-dim); margin-bottom: 9px; font-size: .98rem; }
.foot-col a:hover { color: #fff; }
.foot-bottom { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--ink-faint); font-size: .9rem; }

/* ---------- page Confidentialité ---------- */
.doc { max-width: 820px; margin: 0 auto; }
.doc-card { padding: clamp(32px, 5vw, 60px); border-radius: var(--r-lg); }
.doc h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.doc .updated { color: var(--ink-faint); margin-top: 10px; font-size: .96rem; }
.doc h2 { font-size: 1.55rem; margin: 40px 0 12px; }
.doc h2:first-of-type { margin-top: 36px; }
.doc p, .doc li { color: var(--ink-dim); margin-top: 12px; }
.doc ul { padding-left: 22px; }
.doc li { margin-top: 8px; }
.doc a { color: var(--accent-soft); font-weight: 600; }
.doc .toc { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.doc strong { color: #fff; }
.callout {
  margin-top: 18px; padding: 18px 22px; border-radius: 16px;
  background: rgba(201,151,31,.14); border: 1px solid rgba(214,168,56,.4);
  color: var(--ink-dim); font-size: .98rem;
}

/* ---------- révélation au défilement ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual { min-height: 420px; margin-top: 10px; }
  .hero p.lead { max-width: none; }
  .steps, .features, .playlists, .shots { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .shot .cap p { display: none; }
  .nav-links { display: none; }
  .nav .lang-switch { margin-left: auto; }
  .nav-burger {
    display: inline-flex; margin-left: auto; padding: 9px 16px; font-size: 1.2rem;
  }
  .nav-links.open {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; gap: 4px; padding: 14px 18px;
    border-radius: var(--r-lg); background: rgba(16,39,80,.86);
    border: 1.5px solid var(--glass-border);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    box-shadow: 0 24px 60px rgba(8,22,52,.5);
  }
  .nav-links.open a { padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-links.open a:last-child { border-bottom: none; }
  .nav { position: relative; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .features { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .shot .phone { max-width: 220px; }
  .shot .cap p { display: block; }
  .nav-cta { display: none; }
  .foot-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
