/*
 * Vice Central : page de la catégorie Analyses (gabarit category-analyses.php).
 * Maquette A « La une », 16 octobre 2026. Version claire : bloc « Page Analyses » de light.css.
 */
.vc-an {
	--an-s2: #25222b;
	--an-text: #f4f1ec;
	--an-soft: #e4dee6;
	--an-mut: #b3adb8;
	--an-dim: #948e9b;
	--an-line: rgba(255, 255, 255, .09);
	--an-acc: #ff7aa0;
	--an-pink: #d6235f;
	--an-orange: #ea6000;
	--an-disp: 'Bebas Neue', sans-serif;
	--an-ui: 'Barlow Condensed', sans-serif;
	--an-body: 'Barlow', sans-serif;
	display: block;
	color: var(--an-text);
	font-family: var(--an-body);
	font-size: 17px;
	line-height: 1.55;
	padding-bottom: 80px;
}
.vc-an *, .vc-an *::before, .vc-an *::after { box-sizing: border-box; }
.vc-an img { display: block; max-width: 100%; }
.vc-an p { margin: 0; }
.vc-an a { color: inherit; text-decoration: none; }
.vc-an ol, .vc-an ul { list-style: none; margin: 0; padding: 0; }
.an-wrap { max-width: 1320px; margin: 0 auto; padding: 0 40px; }

/* Couleurs des thèmes */
.vc-an .an-t-trailers { --c: #22b8d8; }
.vc-an .an-t-business { --c: #e3a52a; }
.vc-an .an-t-gtav { --c: #ff7a2a; }
.vc-an .an-t-fuites { --c: #a57bff; }
.vc-an .an-t-tech { --c: #ff5a8a; }
.vc-an .an-t-autres { --c: #b3adb8; }

/* Haut de page */
.an-top { padding-top: 32px; }
.an-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 600 13px/1.4 var(--an-ui); letter-spacing: .08em; color: var(--an-mut); margin-bottom: 14px; }
.an-crumbs a:hover { color: var(--an-text); }
.an-kick { font: 700 14px/1.3 var(--an-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--an-acc); }
.an-title { font: 400 clamp(64px, 10vw, 132px)/.86 var(--an-disp); letter-spacing: .005em; margin: 10px 0 0; color: var(--an-text); }
.an-g { background: linear-gradient(90deg, #ffb072, #ff4f86 55%, #c4a1ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.an-lead { max-width: 62ch; font-size: 18px; color: var(--an-soft); margin-top: 16px; text-wrap: pretty; }
.an-stats { display: flex; flex-wrap: wrap; gap: 14px 30px; margin: 22px 0 0; }
.an-stats div { display: flex; flex-direction: column-reverse; }
.an-stats dd { margin: 0; font: 400 40px/1 var(--an-disp); color: var(--an-text); }
.an-stats dt { font: 700 12px/1.3 var(--an-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--an-dim); margin-top: 4px; }

/* Éléments communs */
.an-tag { display: inline-flex; align-items: center; gap: 7px; font: 700 12px/1 var(--an-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--c, var(--an-mut)); }
.an-tag::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.an-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font: 500 14px/1.3 var(--an-body); color: var(--an-dim); }
.an-rt { display: inline-flex; align-items: center; gap: 8px; }
.an-rt i { display: block; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--an-pink), var(--an-orange)); }
.an-ph { position: relative; display: block; overflow: hidden; background: var(--an-s2); border-radius: 14px; }
.an-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vc-an a:hover .an-ph img, .an-lead-card:hover .an-ph img { transform: scale(1.04); }
.an-ttl { display: block; font: 700 21px/1.18 var(--an-ui); margin-top: 8px; color: var(--an-text); text-wrap: balance; transition: color .2s; }
.vc-an a:hover .an-ttl, .an-lead-h a:hover { color: var(--an-acc); }
.an-ex { color: var(--an-mut); font-size: 17px; margin-top: 12px; }
.an-sec { margin-top: 64px; }
.an-sech { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; margin-bottom: 22px; }
.an-sech h2 { font: 400 44px/1 var(--an-disp); margin: 0; color: var(--an-text); letter-spacing: .005em; }
.an-n { font: 700 14px/1 var(--an-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--an-dim); }
.an-bar { flex: 1; min-width: 40px; height: 1px; background: var(--an-line); align-self: center; }
.an-sech-th { border-left: 4px solid var(--c); padding-left: 14px; }

/* Dernière analyse */
.an-lead-card { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 34px; align-items: center; margin-top: 40px; }
.an-lead-ph { aspect-ratio: 16 / 9; border-radius: 18px; }
.an-lead-in { min-width: 0; }
.an-badge { display: inline-block; font: 700 12px/1 var(--an-ui); letter-spacing: .16em; text-transform: uppercase; background: var(--an-pink); color: #fff; padding: 7px 10px; border-radius: 6px; margin-bottom: 14px; }
.an-lead-in .an-tag { display: flex; }
.an-lead-h { font: 400 clamp(38px, 4.2vw, 60px)/.95 var(--an-disp); letter-spacing: .005em; margin: 12px 0 0; color: var(--an-text); text-wrap: balance; }
.an-lead-in .an-meta { margin-top: 14px; }
.an-btn { display: inline-flex; margin-top: 20px; font: 700 15px/1 var(--an-ui); letter-spacing: .1em; text-transform: uppercase; padding: 14px 20px; border-radius: 999px; background: linear-gradient(90deg, var(--an-pink), var(--pill-orange, #b84a00)); color: #fff !important; transition: filter .2s; }
.an-btn:hover { filter: brightness(1.12); }

/* Les grandes lectures */
.an-long { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.an-long a { display: flex; flex-direction: column; gap: 6px; }
.an-long .an-ph { aspect-ratio: 4 / 5; }
.an-long .an-ph::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .65)); }
.an-no { position: absolute; left: 14px; bottom: 6px; z-index: 2; font: 400 74px/1 var(--an-disp); color: #fff; text-shadow: 0 4px 24px rgba(0, 0, 0, .6); }
.an-min { font: 400 30px/1 var(--an-disp); color: var(--an-orange); margin-top: 8px; }
.an-long .an-ttl { margin-top: 2px; }

/* Rangées par thème */
.an-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.an-row .an-ph { aspect-ratio: 16 / 9; }
.an-row .an-meta { margin-top: 12px; }
.an-row.is-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.an-row.is-5 .an-ttl { font-size: 19px; }
.an-row.is-scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.an-row.is-scroll li { flex: 0 0 calc((100% - 66px) / 4); scroll-snap-align: start; }

@media (max-width: 979px) {
	.an-wrap { padding: 0 24px; }
	.an-lead-card { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.an-long { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.an-row, .an-row.is-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.an-row.is-scroll li { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 699px) {
	.an-wrap { padding: 0 16px; }
	.an-top { padding-top: 22px; }
	.an-lead { font-size: 17px; }
	.an-stats { gap: 12px 24px; }
	.an-stats dd { font-size: 34px; }
	.an-sec { margin-top: 48px; }
	.an-sech h2 { font-size: 36px; }
	.an-long { gap: 14px; }
	.an-long .an-ttl { font-size: 17px; }
	.an-no { font-size: 58px; }
	.an-min { font-size: 26px; }
	.an-row, .an-row.is-5, .an-row.is-scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 10px; }
	.an-row li, .an-row.is-5 li, .an-row.is-scroll li { flex: 0 0 78%; scroll-snap-align: start; }
	.an-ttl { font-size: 19px; }
}
