/* ===== Section VENDREDI NOIR - page d'accueil (nov. 2026) =====
   Fichier séparé : pour retirer la section, voir le bloc
   « DEBUT - Section Vendredi noir » dans home.html.php. */

.vn {
	position: relative;
	max-width: 1200px;
	margin: 20px auto;
	padding: 30px 25px 20px;
	box-sizing: border-box;
	overflow: hidden;
	color: #fff;
	text-align: center;
	font-family: 'Montserrat', Arial, sans-serif;
	background:
		radial-gradient(ellipse at 50% 0%, rgba(230, 0, 18, 0.45) 0%, rgba(0, 0, 0, 0) 60%),
		radial-gradient(ellipse at 50% 100%, rgba(230, 0, 18, 0.30) 0%, rgba(0, 0, 0, 0) 55%),
		#0b0b0b;
	border: 3px solid #e60012;
	border-radius: 10px;
	box-shadow: 0 0 25px rgba(230, 0, 18, 0.55), inset 0 0 40px rgba(230, 0, 18, 0.25);
}

/* --- Titre néon --- */
.vn-titre {
	margin: 0;
	font-size: 64px;
	line-height: 1.05;
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: 2px;
}
.vn-neon {
	color: #fff;
	text-shadow:
		0 0 5px #fff,
		0 0 12px #ff1a1a,
		0 0 25px #ff1a1a,
		0 0 45px #e60012;
	animation: vn-neon 4s infinite;
}
.vn-noir {
	display: inline-block;
	background: #fff;
	color: #0b0b0b;
	padding: 0 14px;
	border-radius: 6px;
	transform: skewX(-8deg);
	box-shadow: 0 0 18px rgba(255, 255, 255, 0.6);
}
/* Annule les règles « h2 span » du site (home.css) dans cette section seulement */
.vn h2.vn-titre {
	width: auto;
	margin: 0;
	font-family: 'Montserrat', Arial, sans-serif;
	font-weight: 900;
}
.vn h2.vn-titre span {
	display: inline-block;
	width: auto;
	max-width: none;
	margin: 0;
	font-size: inherit;
	line-height: inherit;
}
.vn h2.vn-titre span.vn-noir {
	text-shadow: none;
}
@keyframes vn-neon {
	0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
	20%, 24%, 55% { opacity: 0.35; }
}

.vn-dates {
	margin: 12px 0 0;
	font-size: 20px;
	font-weight: 700;
	color: #ffd200;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* --- Compte à rebours --- */
.vn-compte {
	margin: 20px 0 25px;
}
.vn-compte-label {
	display: block;
	margin-bottom: 10px;
	font-size: 18px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 2px;
}
.vn-chiffres {
	display: inline-flex;
	gap: 12px;
}
.vn-chiffres > div {
	min-width: 86px;
	padding: 10px 6px 8px;
	background: #e60012;
	border-radius: 8px;
	box-shadow: 0 0 14px rgba(230, 0, 18, 0.8);
}
.vn-chiffres b {
	display: block;
	font-size: 44px;
	line-height: 1;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
}
.vn-chiffres small {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* --- Affiche vedette + produits --- */
.vn-corps {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	align-items: start;
}
.vn-produits {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}
.vn-corps a {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 8px;
	border: 2px solid rgba(255, 60, 60, 0.7);
	box-shadow: 0 0 12px rgba(230, 0, 18, 0.5);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	animation: vn-tampon 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
.vn-corps a:hover {
	transform: translateY(-5px) scale(1.04);
	box-shadow: 0 0 28px rgba(255, 40, 40, 0.95);
	z-index: 1;
}
.vn-corps img {
	display: block;
	width: 100%;
	height: auto;
	cursor: zoom-in;
}
.vn-vedette {
	border-width: 3px !important;
}

/* Reflet brillant */
.vn-corps a::after {
	content: "";
	position: absolute;
	top: 0;
	left: -75%;
	width: 50%;
	height: 100%;
	pointer-events: none;
	background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
	transform: skewX(-20deg);
	animation: vn-reflet 5s ease-in-out infinite;
}
@keyframes vn-reflet {
	0%   { left: -75%; }
	20%  { left: 125%; }
	100% { left: 125%; }
}
@keyframes vn-tampon {
	from { opacity: 0; transform: scale(0.6) rotate(-4deg); }
	to   { opacity: 1; transform: none; }
}

/* Cascade : les produits arrivent l'un après l'autre */
.vn-produits a:nth-child(1), .vn-produits a:nth-child(1)::after { animation-delay: 0.15s; }
.vn-produits a:nth-child(2), .vn-produits a:nth-child(2)::after { animation-delay: 0.30s; }
.vn-produits a:nth-child(3), .vn-produits a:nth-child(3)::after { animation-delay: 0.45s; }
.vn-produits a:nth-child(4), .vn-produits a:nth-child(4)::after { animation-delay: 0.60s; }
.vn-produits a:nth-child(5), .vn-produits a:nth-child(5)::after { animation-delay: 0.75s; }
.vn-produits a:nth-child(6), .vn-produits a:nth-child(6)::after { animation-delay: 0.90s; }

.vn-mention {
	margin: 18px 0 0;
	font-size: 13px;
	color: #bbb;
}

/* --- Tablette --- */
@media (max-width: 992px) {
	.vn-titre { font-size: 48px; }
	.vn-corps { grid-template-columns: 1fr; }
	.vn-vedette { max-width: 560px; width: 100%; margin: 0 auto; }
}

/* --- Cellulaire --- */
@media (max-width: 600px) {
	.vn { padding: 20px 12px 15px; margin: 10px 0; border-radius: 0; }
	.vn-titre { font-size: 34px; }
	.vn-noir { padding: 0 8px; }
	.vn-dates { font-size: 15px; }
	.vn-compte-label { font-size: 14px; }
	.vn-chiffres { gap: 6px; }
	.vn-chiffres > div { min-width: 64px; padding: 8px 4px 6px; }
	.vn-chiffres b { font-size: 30px; }
	.vn-chiffres small { font-size: 10px; }
	.vn-produits { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
	.vn-neon, .vn-corps a, .vn-corps a::after { animation: none; }
	.vn-corps a { transition: none; }
}

/* --- Affiche récapitulative « Toutes les aubaines » --- */
.vn-recap {
	margin: 30px auto 0;
	max-width: 700px;
}
.vn .vn-recap-titre {
	margin: 0 0 15px;
	font-family: 'Montserrat', Arial, sans-serif;
	font-size: 26px;
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 0 8px #ff1a1a, 0 0 18px #e60012;
}
.vn-recap a {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 8px;
	border: 3px solid rgba(255, 60, 60, 0.8);
	box-shadow: 0 0 18px rgba(230, 0, 18, 0.6);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vn-recap a:hover {
	transform: scale(1.02);
	box-shadow: 0 0 30px rgba(255, 40, 40, 0.95);
}
.vn-recap img {
	display: block;
	width: 100%;
	height: auto;
	cursor: zoom-in;
}
@media (max-width: 600px) {
	.vn .vn-recap-titre { font-size: 18px; }
	.vn-recap { margin-top: 20px; }
}

/* --- Affiche complète seule (26 et 27 novembre) : centrée --- */
.vn-corps.vn-corps-seul {
	grid-template-columns: 1fr;
	max-width: 650px;
	margin: 0 auto;
}
