/*
Theme Name: Purkas
Description: Thème officiel du webzine Purkas — rock, métal, punk & hardcore depuis 2005. Fond noir, rouge sang, textes blancs.
Version: 0.1.0
Author: Purkas
Text Domain: purkas
*/

@font-face { font-family: "Bebas Neue"; src: url("fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
	--bg: #0c0a0b;
	--bg-2: #151113;
	--bg-3: #1e181b;
	--line: #2b2226;
	--ink: #f2eee9;
	--muted: #a89ba0;
	--red: #d5192e;
	--red-2: #ff3347;
	--gold: #d0a24a;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: "Barlow", "Helvetica Neue", Arial, sans-serif;
	font-size: 16.5px;
	line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--red-2); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Typo display ---------- */
h1, h2, h3, .display {
	font-family: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
	font-weight: 400;
	letter-spacing: .02em;
	line-height: .95;
	margin: 0 0 .4em;
	text-wrap: balance;
}
h1 { font-size: clamp(38px, 6vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 22px; }

.kicker {
	font-family: "Barlow", sans-serif;
	font-size: 12px; font-weight: 600;
	letter-spacing: .16em; text-transform: uppercase;
	color: var(--red-2);
}

/* ---------- Header ---------- */
.site-head { border-bottom: 3px solid var(--red); background: #000; }
.site-head .bar { display: flex; align-items: center; gap: 28px; padding: 22px 0; flex-wrap: wrap; }
.logo { display: flex; align-items: baseline; gap: 10px; }
.logo a { display: flex; align-items: baseline; gap: 10px; }
.logo .mark {
	font-family: "Bebas Neue", Impact, sans-serif;
	font-size: 64px; line-height: 1; color: #fff;
}
.logo .mark span { color: var(--red-2); }
.logo .since { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.nav-main { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.nav-main a {
	display: block; padding: 8px 12px;
	font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
	color: var(--ink); border: 1px solid transparent;
}
.nav-main a:hover, .nav-main a.is-active { color: #fff; background: var(--red); }
.lang-switch {
	margin-left: 8px; padding: 8px 12px;
	font-size: 12px; font-weight: 700; letter-spacing: .1em;
	border: 1px solid var(--line); color: var(--muted);
}
.lang-switch:hover { border-color: var(--red); color: #fff; }

.ticker {
	background: var(--red); color: #fff;
	font-size: 12.5px; font-weight: 600; letter-spacing: .06em;
	padding: 6px 0; overflow: hidden; white-space: nowrap;
}
.ticker a { color: #fff; }
.ticker .sep { opacity: .55; margin: 0 12px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 48px; border-bottom: 1px solid var(--line); background:
	radial-gradient(1200px 400px at 20% -10%, rgba(213, 25, 46, .18), transparent 60%), var(--bg); }
.hero .kicker { margin-bottom: 8px; display: block; }
.hero p.lede { max-width: 62ch; color: var(--muted); font-size: 18px; margin: 10px 0 0; }

/* ---------- Sections & grilles ---------- */
.section { padding: 64px 0 16px; }
.section-head { display: flex; align-items: baseline; gap: 16px; border-bottom: 2px solid var(--red); padding-bottom: 10px; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.section-head .more { margin-left: auto; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.section-head .more:hover { color: var(--red-2); }

.grid { display: grid; gap: 32px; grid-template-columns: repeat(3, 1fr); }
.grid.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid, .grid.grid-2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid, .grid.grid-2 { grid-template-columns: 1fr; } }

/* ---------- Cartes ---------- */
.card { background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card:hover { border-color: var(--red); }
.card .thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-3); }
.card .thumb.cover { aspect-ratio: 1/1; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .meta { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card h3 { margin: 0; font-size: 24px; }
.card h3 a:hover { color: var(--red-2); }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.card .foot { margin-top: auto; padding-top: 10px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 10px; }

/* Note /10 */
.note {
	display: inline-flex; align-items: baseline; gap: 2px;
	font-family: "Bebas Neue", Impact, sans-serif;
	background: var(--red); color: #fff;
	padding: 4px 10px 2px; font-size: 24px; line-height: 1;
}
.note small { font-size: 13px; opacity: .8; }
.note.big { font-size: 44px; padding: 8px 16px 4px; }

/* Placeholder cover quand pas d'image */
.ph-cover {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center; text-align: center;
	background: repeating-linear-gradient(-45deg, #171214, #171214 14px, #120e10 14px, #120e10 28px);
	color: var(--muted);
	font-family: "Bebas Neue", Impact, sans-serif; font-size: 30px; line-height: 1;
	padding: 12px;
}

/* ---------- Agenda ---------- */
.gigs { display: flex; flex-direction: column; }
.gig { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center;
	padding: 14px 0; border-bottom: 1px solid var(--line); }
.gig .date {
	font-family: "Bebas Neue", Impact, sans-serif; text-align: center;
	border: 2px solid var(--red); padding: 6px 4px 2px; line-height: 1;
}
.gig .date .d { font-size: 30px; display: block; }
.gig .date .m { font-size: 14px; color: var(--red-2); letter-spacing: .1em; }
.gig h3 { margin: 0 0 2px; font-size: 22px; }
.gig .where { color: var(--muted); font-size: 14px; }
.gig .tix { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	border: 1px solid var(--line); padding: 8px 14px; }
.gig .tix:hover { background: var(--red); border-color: var(--red); color: #fff; }
@media (max-width: 620px) { .gig { grid-template-columns: 72px 1fr; } .gig .tix { display: none; } }

/* ---------- Article ---------- */
.article { padding: 42px 0 60px; }
.article .inner { max-width: 760px; margin: 0 auto; }
.article-head { margin-bottom: 24px; }
.article-head .kicker { display: block; margin-bottom: 10px; }
.article-head .byline { color: var(--muted); font-size: 14px; margin-top: 10px; }
.article-body { font-size: 17px; }
.article-body p { margin: 0 0 1.1em; }
.article-body h2 { font-size: 30px; margin-top: 1.4em; }
.article-body a { color: var(--red-2); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote { border-left: 3px solid var(--red); margin: 1.4em 0; padding: 4px 0 4px 18px; color: var(--muted); font-style: italic; }
.article-body img { border: 1px solid var(--line); }

/* Fiche chronique */
.fiche { display: grid; grid-template-columns: 260px 1fr; gap: 26px; margin-bottom: 30px;
	background: var(--bg-2); border: 1px solid var(--line); padding: 22px; }
.fiche .cover-img { border: 1px solid var(--line); }
.fiche dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-content: start; font-size: 15px; }
.fiche dt { color: var(--muted); text-transform: uppercase; font-size: 11.5px; letter-spacing: .12em; padding-top: 3px; }
.fiche dd { margin: 0; }
@media (max-width: 620px) { .fiche { grid-template-columns: 1fr; } }

/* Sources consensus */
.sources { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 13.5px; color: var(--muted); }
.sources strong { text-transform: uppercase; letter-spacing: .1em; font-size: 11.5px; }
.sources a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.sources a:hover { color: var(--red-2); }

/* Verdict Baptiste */
.verdict { margin-top: 22px; background: var(--bg-3); border-left: 3px solid var(--gold); padding: 14px 18px; }
.verdict .who { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* YouTube embed */
.embed { aspect-ratio: 16/9; margin: 1.4em 0; }
.embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Listes d'archives ---------- */
.archive-head { padding: 36px 0 4px; }
.list { padding: 10px 0 50px; }
.pagination { display: flex; gap: 8px; padding: 24px 0 50px; flex-wrap: wrap; }
.pagination .page-numbers { border: 1px solid var(--line); padding: 8px 14px; font-size: 14px; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Footer ---------- */
.site-foot { border-top: 3px solid var(--red); background: #000; margin-top: 50px; }
.site-foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; padding: 36px 0; }
.site-foot h4 { font-family: "Bebas Neue", Impact, sans-serif; font-size: 22px; margin: 0 0 10px; color: #fff; }
.site-foot p, .site-foot li { color: var(--muted); font-size: 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.site-foot .legal { border-top: 1px solid var(--line); padding: 16px 0; font-size: 12.5px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 720px) { .site-foot .cols { grid-template-columns: 1fr; } }

/* ---------- Divers ---------- */
.badge-radar { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
	text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); padding: 2px 7px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.searchform { display: flex; gap: 8px; }
.searchform input[type=search] { flex: 1; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); padding: 10px 12px; font-size: 14px; }
.searchform button { background: var(--red); color: #fff; border: 0; padding: 10px 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; cursor: pointer; }

/* ---------- PURKAS TV (mise en avant YouTube) ---------- */
.yt {
	margin: 64px 0 0;
	background: linear-gradient(115deg, #1a0508 0%, #2a070d 45%, #0c0a0b 100%);
	border-top: 3px solid var(--red);
	border-bottom: 3px solid var(--red);
	padding: 56px 0 60px;
}
.yt .head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 12px; }
.yt .tv-logo {
	font-family: "Bebas Neue", Impact, sans-serif;
	font-size: clamp(44px, 6vw, 72px); line-height: .9; color: #fff;
}
.yt .tv-logo span { color: var(--red-2); }
.yt .live-dot {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-2);
}
.yt .live-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red-2);
	box-shadow: 0 0 0 0 rgba(255,51,71,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(255,51,71,0); } 100% { box-shadow: 0 0 0 0 rgba(255,51,71,0); } }
@media (prefers-reduced-motion: reduce) { .yt .live-dot::before { animation: none; } }
.yt p.pitch { color: var(--muted); max-width: 62ch; font-size: 17px; margin: 0 0 34px; }
.yt .videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 36px; }
@media (max-width: 900px) { .yt .videos { grid-template-columns: 1fr; } }
.yt .vid { position: relative; display: block; border: 1px solid #3a1218; background: var(--bg-2); }
.yt .vid:hover { border-color: var(--red-2); }
.yt .vid .thumb { display: block; aspect-ratio: 16/9; position: relative; overflow: hidden; }
.yt .vid .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt .vid .play {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.yt .vid .play::after {
	content: "▶"; display: flex; align-items: center; justify-content: center;
	width: 64px; height: 46px; background: var(--red); color: #fff; font-size: 20px;
	padding-left: 4px; clip-path: none; border-radius: 10px;
}
.yt .vid:hover .play::after { background: var(--red-2); }
.yt .vid .label { display: block; padding: 18px 20px 20px; }
.yt .vid .label .ep { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-2); }
.yt .vid .label h3 { margin: 4px 0 0; font-size: 22px; }
.yt .vid .label .soon { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.yt .cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.yt .btn-sub {
	display: inline-block; background: var(--red); color: #fff;
	font-family: "Bebas Neue", Impact, sans-serif; font-size: 24px; letter-spacing: .05em;
	padding: 14px 34px 10px; border: 0;
}
.yt .btn-sub:hover { background: var(--red-2); color: #fff; }
.yt .cta .hint { color: var(--muted); font-size: 14px; }
