/*
 * Vice Central : page « Tous les véhicules de GTA VI » (gabarit single-post-guide-tous-les-vehicules-…php).
 * Maquette B « Le garage », 18 octobre 2026. Version claire : bloc « Page véhicules » de light.css.
 */
.vc-veh {
	--vh-s1: #1b1a21;
	--vh-s2: #26232e;
	--vh-text: #f4f1ec;
	--vh-soft: #d9d3dc;
	--vh-mut: #a9a0b4;
	--vh-line: rgba(255, 255, 255, .08);
	--vh-acc: #ff4f86;
	--vh-bg: #121116;
	--vh-disp: 'Bebas Neue', sans-serif;
	--vh-ui: 'Barlow Condensed', sans-serif;
	--vh-body: 'Barlow', sans-serif;
	display: block;
	color: var(--vh-text);
	font-family: var(--vh-body);
	font-size: 17px;
	line-height: 1.6;
	padding-bottom: 72px;
}
.vc-veh *, .vc-veh *::before, .vc-veh *::after { box-sizing: border-box; }
.vc-veh p { margin: 0; }
.vc-veh a { color: inherit; text-decoration: none; }
.vh-wrap { max-width: 1360px; margin: 0 auto; padding: 0 40px; }
.vh-kick { font: 700 14px/1.3 var(--vh-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--vh-acc); }
.vh-g { background: linear-gradient(90deg, #ffb072, #ff4f86 50%, #c4a1ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Haut de page : image à la une en fond, voile vers la gauche et vers le bas. */
.vh-hero { position: relative; background: var(--vh-bg); overflow: hidden; }
.vh-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--vh-hero-img, none); background-size: cover; background-position: 70% 55%; }
.vh-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 17, 22, .96) 0%, rgba(18, 17, 22, .72) 42%, rgba(18, 17, 22, .12) 75%), linear-gradient(0deg, #121116 0%, rgba(18, 17, 22, 0) 38%); }
.vh-hero-in { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 56px; min-height: 540px; display: flex; flex-direction: column; justify-content: flex-end; }
.vh-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 600 13px/1.4 var(--vh-ui); letter-spacing: .08em; color: var(--vh-soft); margin-bottom: auto; padding-bottom: 60px; }
.vh-crumbs a:hover { color: #fff; }
.vh-title { margin: 14px 0 16px; font: 400 96px/.9 var(--vh-disp); letter-spacing: .005em; color: #fff; max-width: 760px; }
.vh-lead { max-width: 620px; color: var(--vh-soft); font-size: 19px; }
.vh-stats { display: flex; flex-wrap: wrap; gap: 14px 38px; margin: 30px 0 0; padding: 0; list-style: none; }
.vh-stats li { font: 700 14px/1.2 var(--vh-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--vh-soft); }
.vh-stats b { display: block; font: 400 64px/1 var(--vh-disp); letter-spacing: 0; color: #fff; }

/* Mise en page : colonne fixe à gauche, rangées à droite. */
.vh-lay { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; margin-top: 8px; }
.vh-side { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 116px); overflow: auto; background: var(--vh-s1); border: 1px solid var(--vh-line); border-radius: 18px; padding: 16px; scrollbar-width: thin; }
.vh-search { display: flex; align-items: center; gap: 8px; background: var(--vh-bg); border: 1.5px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 0 12px; margin-bottom: 12px; }
.vh-search:focus-within { border-color: var(--vh-acc); }
.vh-search svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: var(--vh-mut); stroke-width: 2; stroke-linecap: round; }
.vh-search input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; color: var(--vh-text); font: 500 15px var(--vh-body); }
.vh-search input::placeholder { color: var(--vh-mut); }
.vh-classes { display: flex; flex-direction: column; gap: 2px; }
.vh-classes a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 9px; font: 600 16px/1.2 var(--vh-ui); letter-spacing: .05em; text-transform: uppercase; color: var(--vh-soft); transition: background .15s, color .15s; }
.vh-classes a em { font-style: normal; color: var(--vh-mut); }
.vh-classes a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.vh-classes a.is-on { background: rgba(255, 79, 134, .13); color: #fff; box-shadow: inset 3px 0 0 var(--vh-acc); }
.vh-classes a.is-empty { opacity: .35; }

/* Rangées par classe : défilement horizontal, ou grille avec « Tout voir » / pendant une recherche. */
.vh-main { min-width: 0; padding-top: 4px; }
.vh-row { margin-bottom: 44px; scroll-margin-top: 96px; }
.vh-row[hidden] { display: none; }
.vh-row-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; padding-left: 16px; border-left: 6px solid var(--vh-acc); }
.vh-row-head h2 { margin: 0; font: 400 46px/1 var(--vh-disp); color: #fff; border: 0; background: none; padding: 0; }
.vh-row-n { font: 700 14px/1 var(--vh-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--vh-mut); }
.vh-all { margin-left: auto; padding: 8px 2px; border: 0; background: none; cursor: pointer; font: 700 15px/1 var(--vh-ui); letter-spacing: .12em; text-transform: uppercase; color: #ff7aa0; }
.vh-all::after { content: " →"; }
.vh-all[aria-expanded="true"]::after { content: " ↑"; }
.vh-all:hover { color: #fff; }
.vc-veh .vh-track.gw-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 272px; grid-template-columns: none; gap: 16px; margin: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: rgba(255, 79, 134, .5) transparent; }
.vh-row.is-open .vh-track.gw-gallery, .vc-veh.is-search .vh-track.gw-gallery { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); grid-auto-columns: auto; overflow: visible; }

/* Cartes */
.vc-veh .vh-card { position: relative; display: flex; flex-direction: column; width: 100%; padding: 0; margin: 0; text-align: left; font: inherit; color: inherit; background: var(--vh-s1); border: 1px solid var(--vh-line); border-radius: 16px; overflow: hidden; scroll-snap-align: start; box-shadow: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.vc-veh .vh-card[hidden] { display: none; }
.vc-veh .vh-card.gw-gallery-item { cursor: zoom-in; }
.vc-veh .vh-card.gw-gallery-item:hover { transform: translateY(-3px); border-color: rgba(255, 79, 134, .45); box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.vc-veh .vh-card.gw-gallery-item::after { top: 10px; right: 10px; }
.vh-ph { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--vh-s2); overflow: hidden; }
.vc-veh .vh-ph img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; display: block; transition: transform .35s; }
.vc-veh .vh-card:hover .vh-ph img { transform: scale(1.05); }
.vh-card.is-noimg .vh-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: repeating-linear-gradient(135deg, #1f1d25 0 12px, #23202a 12px 24px); }
.vh-card.is-noimg .vh-ph svg { width: 44px; height: 44px; fill: none; stroke: #5d5568; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vh-card.is-noimg .vh-ph i { font: 700 12px/1 var(--vh-ui); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: #6f677b; }
.vh-tx { display: flex; flex-direction: column; flex: 1; padding: 13px 15px 15px; }
.vh-cl { font: 700 12px/1 var(--vh-ui); letter-spacing: .18em; text-transform: uppercase; color: #ffb072; }
.vh-nom { margin: 7px 0 5px; font: 400 27px/1 var(--vh-disp); letter-spacing: .01em; color: #fff; }
.vh-insp { font-size: 14px; line-height: 1.4; color: var(--vh-mut); margin-bottom: 10px; }
.vh-insp b { color: #e8e1ef; font-weight: 600; }
.vh-src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.vh-b { display: inline-block; padding: 5px 8px; border-radius: 7px; font: 700 12px/1 var(--vh-ui); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: #00718a; }
.vh-b.is-el { background: #7c3aed; }
.vh-b.is-cap { background: #9a4a10; }
.vh-b.is-art { background: #b81c50; }

/* Recherche */
.vh-found { font: 700 15px/1.3 var(--vh-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--vh-mut); margin-bottom: 14px; }
.vh-found:empty { display: none; }
.vh-none { padding: 40px 24px; text-align: center; border: 1px dashed rgba(255, 255, 255, .15); border-radius: 16px; color: var(--vh-mut); margin-bottom: 30px; }
.vc-veh.is-search .vh-all { display: none; }

/* Légende des sources et texte du guide */
.vh-legend { margin: 10px 0 40px; padding: 22px 24px; background: var(--vh-s1); border: 1px solid var(--vh-line); border-radius: 16px; }
.vh-legend p + p { margin-top: 10px; color: var(--vh-soft); font-size: 16px; line-height: 1.7; }
.vh-legend .vh-b { margin: 0 2px; }
.vh-prose { max-width: 880px; }
.vh-prose h3 { margin: 40px 0 14px; font: 400 36px/1.05 var(--vh-disp); letter-spacing: .01em; color: #fff; padding-left: 14px; border-left: 5px solid var(--vh-acc); }
.vh-prose > p { margin: 0 0 16px; color: rgba(255, 255, 255, .8); line-height: 1.75; }
.vh-prose p strong { color: #fff; }
.vh-prose a { color: #ff7aa0; text-decoration: underline; text-underline-offset: 3px; }
.vh-prose em { color: var(--vh-mut); }
.vh-prose .vc-table-wrap { margin: 18px 0 26px; }
.vh-prose .warning-box { margin: 30px 0; }

/* Tablette et mobile : la colonne devient une barre défilante de classes en haut. */
@media (max-width: 1080px) {
	.vh-lay { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.vh-side { position: sticky; top: 0; z-index: 20; max-height: none; overflow: visible; margin: 0 -40px 22px; padding: 12px 40px; border-radius: 0; border-width: 0 0 1px; background: rgba(18, 17, 22, .96); backdrop-filter: blur(10px); }
	.vh-search { margin-bottom: 10px; }
	.vh-classes { flex-direction: row; overflow-x: auto; gap: 8px; scrollbar-width: none; }
	.vh-classes::-webkit-scrollbar { display: none; }
	.vh-classes a { flex: 0 0 auto; padding: 8px 12px; border: 1.5px solid rgba(255, 255, 255, .12); border-radius: 999px; font-size: 14px; }
	.vh-classes a em { margin-left: 2px; }
	.vh-classes a.is-on { box-shadow: none; border-color: transparent; background: linear-gradient(90deg, #d6235f, #ea6000); }
	.vh-row { scroll-margin-top: 140px; }
}
@media (max-width: 700px) {
	.vh-wrap { padding: 0 16px; }
	.vh-side { margin: 0 -16px 20px; padding: 10px 16px; }
	.vh-hero::before { background-position: 72% 40%; }
	.vh-hero::after { background: linear-gradient(180deg, rgba(18, 17, 22, .35) 0%, rgba(18, 17, 22, .55) 40%, #121116 88%); }
	.vh-hero-in { min-height: 0; padding-top: 22px; padding-bottom: 30px; }
	.vh-crumbs { padding-bottom: 90px; }
	.vh-title { font-size: 58px; }
	.vh-lead { font-size: 16.5px; }
	.vh-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 10px 18px; margin-top: 20px; }
	.vh-stats b { font-size: 38px; }
	.vh-stats li { font-size: 10.5px; letter-spacing: .1em; max-width: 90px; }
	.vh-row { margin-bottom: 34px; }
	.vh-row-head { gap: 10px; padding-left: 12px; border-left-width: 5px; }
	.vh-row-head h2 { font-size: 36px; }
	.vh-row-n { font-size: 12px; }
	.vc-veh .vh-track.gw-gallery { grid-auto-columns: 74%; margin-right: -16px; padding-right: 16px; }
	.vh-row.is-open .vh-track.gw-gallery, .vc-veh.is-search .vh-track.gw-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-right: 0; padding-right: 0; }
	.vh-row.is-open .vh-nom, .vc-veh.is-search .vh-nom { font-size: 22px; }
	.vh-row.is-open .vh-insp, .vc-veh.is-search .vh-insp { display: none; }
	.vh-prose h3 { font-size: 30px; }
}
