/* Page récapitulatif – Van Configurator Summary v4 (charte chevalliberte.fr) */
.vcs-summary {
	--vcs-primary: #E5564A;
	--vcs-band: #1A1E2B;
	--vcs-blue: #2EA3F2;
	--vcs-slate: #8093A5;
	--vcs-ink: #19202B;
	--vcs-line: #e6e9ee;
	--vcs-muted: #6b7686;
	--vcs-serif: "Bodoni Moda", Georgia, "Times New Roman", serif;
	--vcs-sans: "Work Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
	font-family: var(--vcs-sans);
	color: var(--vcs-ink);
	box-sizing: border-box;
}
.vcs-summary *, .vcs-summary *::before, .vcs-summary *::after { box-sizing: inherit; }

/* ---------- Bandeau sombre pleine largeur ---------- */
.vcs-band {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: var(--vcs-band);
	color: #fff;
	overflow: hidden;
}
.vcs-band__inner {
	max-width: 1180px;
	margin: 0 auto;
	/* --vcs-header : hauteur de l'en-tête fixe/transparent de Divi (mesurée en JS). */
	padding: calc(var(--vcs-header, 0px) + 56px) 24px 80px;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 48px;
	align-items: center;
}
.vcs-eyebrow {
	margin: 0 0 18px; padding: 0;
	font: 700 12px/1.4 var(--vcs-sans); letter-spacing: .14em; text-transform: uppercase;
	color: var(--vcs-primary);
}
.vcs-summary .vcs-title {
	margin: 0 0 18px; padding: 0;
	font: 300 clamp(40px, 5.2vw, 64px)/1.05 var(--vcs-serif);
	color: #fff;
}
.vcs-kicker {
	margin: 0 0 18px; padding: 0;
	font: 700 clamp(16px, 1.6vw, 20px)/1.35 var(--vcs-sans); text-transform: uppercase;
	color: var(--vcs-slate);
}
.vcs-lead {
	margin: 0 0 26px; padding: 0; max-width: 46ch;
	font: 300 15px/1.75 var(--vcs-sans); color: rgba(255,255,255,.88);
}

.vcs-chips { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vcs-chips li {
	margin: 0; padding: 7px 14px; border-radius: 100px;
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
	font: 500 13px/1.3 var(--vcs-sans); color: #fff;
}
.vcs-chips li span { color: var(--vcs-slate); font-weight: 400; margin-right: 4px; }
.vcs-chips li span::after { content: " :"; }

.vcs-price { margin: 0 0 26px; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.12); }
.vcs-price p { margin: 0; padding: 0; }
.vcs-price__detail { font: 400 13px/1.5 var(--vcs-sans); color: var(--vcs-slate); margin-bottom: 4px !important; }
.vcs-price__total { font: 300 clamp(30px, 3.2vw, 40px)/1.2 var(--vcs-serif); color: #fff; }
.vcs-price__total .amount, .vcs-price__total bdi { color: #fff; }
.vcs-price__label { font: 700 12px/1 var(--vcs-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--vcs-slate); vertical-align: middle; margin-right: 10px; }
.vcs-price__notice { margin-top: 6px !important; font: 400 12px/1.5 var(--vcs-sans); color: rgba(255,255,255,.55); max-width: 46ch; }

.vcs-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.vcs-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	padding: 12px 24px; border-radius: 100px; border: 2px solid transparent;
	font: 600 14px/1.3 var(--vcs-sans); text-decoration: none !important; cursor: pointer;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
}
.vcs-btn--primary { background: var(--vcs-primary); border-color: var(--vcs-primary); color: #fff !important; }
.vcs-btn--primary:hover { background: #fff; border-color: #fff; color: var(--vcs-primary) !important; transform: translateY(-1px); }
.vcs-btn--outline { background: transparent; border-color: var(--vcs-blue); color: #fff !important; }
.vcs-btn--outline:hover { background: var(--vcs-blue); color: #fff !important; transform: translateY(-1px); }
.vcs-btn:focus-visible, .vcs-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.vcs-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.vcs-link {
	background: none; border: 0; padding: 2px 0; cursor: pointer;
	font: 400 13px/1.4 var(--vcs-sans); color: rgba(255,255,255,.75) !important;
	text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.3);
}
.vcs-link:hover { color: #fff !important; text-decoration-color: var(--vcs-blue); }

/* Visuel + anneau lumineux (rappel de la fiche van) */
.vcs-band__visual { position: relative; }
.vcs-ring {
	position: absolute; z-index: 0; pointer-events: none;
	width: 78%; aspect-ratio: 1; right: -6%; top: 50%; transform: translateY(-50%);
	border-radius: 50%;
	border: 6px solid rgba(225, 238, 255, .85);
	box-shadow: 0 0 18px 4px rgba(170, 205, 255, .55), inset 0 0 18px 4px rgba(170, 205, 255, .35);
}
.vcs-visual {
	position: relative; z-index: 1; margin: 0;
	border-radius: 18px; overflow: hidden;
	background: #eceef1;
	box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
.vcs-visual img { display: block; width: 100%; height: auto; }

/* ---------- Partie claire ---------- */
.vcs-body { max-width: 1180px; margin: 0 auto; padding: 72px 24px 88px; }
.vcs-section-eyebrow {
	margin: 0 0 8px; padding: 0;
	font: 700 12px/1.4 var(--vcs-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--vcs-primary);
}
.vcs-summary .vcs-h2 { margin: 0 0 24px; padding: 0; font: 300 clamp(28px, 3vw, 38px)/1.2 var(--vcs-serif); color: var(--vcs-ink); }

.vcs-table { width: 100%; border-collapse: collapse; border: 0; font: 400 15px/1.5 var(--vcs-sans); }
.vcs-table th, .vcs-table td { padding: 16px 12px; text-align: left; border: 0; border-bottom: 1px solid var(--vcs-line); vertical-align: top; }
.vcs-table thead th {
	padding-top: 0; font: 700 12px/1.4 var(--vcs-sans); letter-spacing: .12em; text-transform: uppercase;
	color: var(--vcs-slate); border-bottom: 2px solid var(--vcs-ink);
}
.vcs-table tbody th { font-weight: 600; width: 40%; color: var(--vcs-ink); }
.vcs-table tbody td { color: #2f3b50; }
.vcs-table tbody tr.is-off th, .vcs-table tbody tr.is-off td { color: #9aa3af; font-weight: 400; }
.vcs-num { text-align: right !important; white-space: nowrap; }
.vcs-table td.vcs-num { color: var(--vcs-muted); }

.vcs-next { margin-top: 72px; }
.vcs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 20px; padding: 0; list-style: none; counter-reset: vcs; }
.vcs-steps li {
	counter-increment: vcs; position: relative; margin: 0;
	padding: 26px 24px 24px; border-radius: 16px; background: var(--vcs-band); color: rgba(255,255,255,.8);
	font: 300 14px/1.6 var(--vcs-sans);
}
.vcs-steps li::before {
	content: "0" counter(vcs); display: block; margin-bottom: 14px;
	font: 300 34px/1 var(--vcs-serif); color: var(--vcs-primary);
}
.vcs-steps strong { display: block; margin-bottom: 4px; font: 700 13px/1.4 var(--vcs-sans); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.vcs-next__text { margin: 0; padding: 0; font: 300 15px/1.7 var(--vcs-sans); color: var(--vcs-muted); max-width: 70ch; }

/* Neutralise les styles de listes et tableaux du thème */
.vcs-summary ul.vcs-chips, .vcs-summary ol.vcs-steps { list-style: none !important; padding: 0 !important; margin-left: 0 !important; }
.vcs-summary ul.vcs-chips li, .vcs-summary ol.vcs-steps li { list-style: none !important; }
.vcs-summary table.vcs-table, .vcs-summary table.vcs-table th, .vcs-summary table.vcs-table td { border-left: 0 !important; border-right: 0 !important; border-top: 0 !important; }
.vcs-summary table.vcs-table { margin: 0 !important; }

/* ---------- Page « introuvable » ---------- */
.vcs-summary--empty .vcs-band__inner { grid-template-columns: 1fr; text-align: center; }
.vcs-summary--empty .vcs-lead { margin-left: auto; margin-right: auto; }
.vcs-summary--empty .vcs-actions { justify-content: center; }

/* ---------- Intégration Divi : pas de titre de page ni de sidebar ---------- */
body.vcs-summary-page #sidebar,
body.vcs-summary-page .entry-title.main_title,
body.vcs-summary-page h1.entry-title { display: none !important; }
body.vcs-summary-page #left-area { width: 100% !important; padding: 0 !important; float: none !important; }
body.vcs-summary-page #main-content .container { padding-top: 0 !important; width: 100% !important; max-width: none !important; }
body.vcs-summary-page #main-content .container::before { display: none !important; }
body.vcs-summary-page .et_pb_post, body.vcs-summary-page article.page { margin-bottom: 0 !important; }
body.vcs-summary-page { overflow-x: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.vcs-band__inner { grid-template-columns: 1fr; padding: calc(var(--vcs-header, 0px) + 32px) 20px 56px; gap: 36px; }
	.vcs-band__visual { order: -1; }
	.vcs-ring { width: 70%; right: -10%; }
	.vcs-steps { grid-template-columns: 1fr; }
	.vcs-body { padding: 48px 20px 64px; }
}
@media (max-width: 600px) {
	.vcs-actions .vcs-btn { width: 100%; }
	.vcs-table th, .vcs-table td { padding: 12px 6px; font-size: 14px; }
	.vcs-table tbody th { width: 45%; }
}
@media (prefers-reduced-motion: reduce) { .vcs-btn { transition: none; } }
