/* Pages interactives (frise, blind test, quiz), dans la charte des vidéos */
:root {
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --italic: "Cormorant Garamond", "Garamond", Georgia, serif;
  --label: "Josefin Sans", "Futura", "Avenir Next", system-ui, sans-serif;
  color-scheme: dark;
}
.c-tanda    { --bg: #0e0c0a; --glow: #2a1c0a; --fg: #f4eee4; --acc: #f2a516; --soft: #9a8f7f; }
.c-duelo    { --bg: #0b1f4d; --glow: #1a3a7a; --fg: #f0ece2; --acc: #e9c46a; --soft: #96a0be; }
.c-tematico { --bg: #4a0b10; --glow: #6a1a1c; --fg: #f6eae2; --acc: #f0b28a; --soft: #be8c82; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse 70% 60% at 85% 0, var(--glow), var(--bg) 70%) fixed, var(--bg); color: var(--fg); font-family: var(--italic); font-size: 1.2rem; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.top { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding: 14px max(16px, env(safe-area-inset-right, 0px)) 14px max(16px, env(safe-area-inset-left, 0px)); background: #0e0c0a; color: #f4eee4; }
.top a { text-decoration: none; }
.brand { font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.top nav { display: flex; gap: 10px 18px; flex-wrap: wrap; align-items: center; }
.top nav a { font-family: var(--label); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: #9a8f7f; }
.top nav a:hover, .top nav a[aria-current] { color: #f2a516; }
main { max-width: 64rem; margin: 0 auto; padding: clamp(32px, 6vw, 72px) 16px clamp(56px, 7vw, 100px); }
.kicker { font-family: var(--label); font-weight: 600; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--acc); margin-bottom: 16px; }
.kicker i { font-style: normal; margin-inline: .5em; }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 7vw, 4.8rem); line-height: 1; margin: 0; }
h1 em, h2 em, h3 em { font-family: var(--italic); font-weight: 500; color: var(--acc); }
.rule { width: 120px; height: 3px; background: var(--acc); margin: 24px 0; }
.intro { margin: 0 0 30px; max-width: 42rem; color: var(--soft); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; font-family: var(--label); font-weight: 600; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; background: var(--acc); color: #120d06; border: 0; border-radius: 3px; padding: 14px 22px; cursor: pointer; box-shadow: 0 10px 26px rgba(0,0,0,.35); }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: none; color: var(--acc); border: 1.5px solid var(--acc); box-shadow: none; }
.btn.yt { background: #e62117; color: #fff; }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
/* Médaillon : portrait rond posé sur un disque, initiales si pas de photo */
.medal { position: relative; display: inline-grid; place-items: center; flex: none; width: 96px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: repeating-radial-gradient(circle, #151210 0 2px, #1f1a16 2px 4px); box-shadow: 0 0 0 3px var(--acc), 0 12px 28px rgba(0,0,0,.55); }
.medal b { display: grid; place-items: center; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--acc); color: #1a1206; font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.medal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.medal.lg { width: clamp(150px, 30vw, 220px); }
.medal.lg b { font-size: 2.2rem; }
.toast { position: fixed; left: 50%; top: 84px; transform: translateX(-50%); background: #f2a516; color: #1a1206; font-family: var(--label); font-weight: 600; font-size: .78rem; letter-spacing: .1em; padding: 10px 16px; border-radius: 3px; z-index: 50; opacity: 0; pointer-events: none; transition: opacity .25s; }
.toast.on { opacity: 1; }
footer { padding: 22px 16px 40px; text-align: center; font-family: var(--label); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
footer a { color: var(--acc); }
@media (max-width: 560px) { .top nav a.opt { display: none; } }
