/* ==========================================================================
   VigiHome Core — styles des blocs interactifs (repris de la maquette validée)
   S'appuie sur les couleurs du thème : var(--wp--preset--color--…)
   ========================================================================== */

.vh-solutions, .vh-explorer, .vh-devis, .vh-rdv, .vh-gal, .vh-modeles { --vhc-navy: var(--wp--preset--color--navy, #001d3f); --vhc-red: var(--wp--preset--color--red, #e60012); --vhc-mist: var(--wp--preset--color--mist, #f2f5f9); --vhc-line: var(--wp--preset--color--line, #e2e8f0); --vhc-ink: var(--wp--preset--color--ink, #0b1626); --vhc-ink2: var(--wp--preset--color--ink-2, #4a5568); }
.vh-wrap { max-width: 1176px; margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2rem); box-sizing: content-box; }
.vh-h2 { margin: 0; font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; color: var(--vhc-navy); text-wrap: balance; }
.vh-h2--light { color: #fff; }

/* --------------------------------------------------------------------------
   Onglets des solutions
   -------------------------------------------------------------------------- */
.vh-solutions { padding-block: clamp(4rem, 7vw, 6rem); background: var(--vhc-mist); margin-block: 0 !important; }
.vh-tabs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.25rem;
	margin-top: 2.5rem;
	padding: 0.4rem;
	border: 1px solid var(--vhc-line);
	border-radius: 999px;
	background: #fff;
}
.vh-tab {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 0.9rem 1rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--vhc-ink2);
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s;
}
.vh-tab:hover { color: var(--vhc-navy); }
.vh-tab[aria-selected="true"] { background: var(--vhc-navy); color: #fff; }
.vh-tab__num { font-size: 0.75rem; font-weight: 700; color: var(--vhc-red); }
.vh-tab[aria-selected="true"] .vh-tab__num { color: var(--wp--preset--color--red-300, #ff5a66); }
@media (max-width: 781px) {
	.vh-tabs { grid-template-columns: 1fr 1fr; border-radius: 22px; }
	.vh-tab { border-radius: 16px; font-size: 0.85rem; padding: 0.8rem 0.5rem; }
	.vh-tab__num { display: none; }
}

.vh-panel {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	margin-top: 2rem;
	overflow: hidden;
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 24px 60px -24px rgba(0, 29, 63, 0.28);
	animation: vhc-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.vh-panel[hidden] { display: none !important; }
/* Photos cliquables vers la page liée */
.vh-photo-link { overflow: hidden; color: inherit; text-decoration: none; cursor: pointer; }
.vh-photo-link img { transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.vh-photo-link:hover img, .vh-photo-link:focus-visible img { transform: scale(1.04); }
.vh-photo-link:focus-visible { outline: 3px solid var(--vhc-red); outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) { .vh-photo-link img { transition: none; } }
@keyframes vhc-in { from { opacity: 0; transform: translateY(14px); } }
.vh-panel__media { display: grid; place-items: center; min-height: 480px; padding: 2.5rem; border-right: 1px solid var(--vhc-line); background: #fff; }
.vh-panel__media img { width: 100%; max-width: 440px; height: auto; }
.vh-panel__media.is-cover { position: relative; padding: 0; border-right: 0; }
.vh-panel__media.is-cover img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.vh-panel__body { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.75rem, 4vw, 3.5rem); }
.vh-panel__body > * { margin: 0; }
.vh-panel__kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--vhc-red); }
.vh-panel__title { margin-top: 0.75rem !important; font-size: clamp(1.6rem, 2.6vw, 2.15rem); font-weight: 800; line-height: 1.15; color: var(--vhc-navy); }
.vh-panel__lead { margin-top: 1rem !important; font-size: 1.125rem; line-height: 1.65; color: var(--vhc-ink2); }
.vh-panel__body .is-style-coches { margin: 1.5rem 0 1.75rem !important; }
.vh-panel__price { width: 100%; box-sizing: border-box; margin-bottom: 1.75rem !important; padding: 1rem 1.25rem; border-radius: 16px; background: var(--vhc-mist); }
.vh-panel__from { font-size: 0.875rem; font-weight: 600; color: var(--vhc-ink2); }
.vh-panel__price strong { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--vhc-navy); }
.vh-panel__note { display: block; margin-top: 0.25rem; font-size: 0.75rem; color: var(--vhc-ink2); }
/* Fiches produit côte à côte (ex. les deux caméras) */
.vh-panel.is-duo { display: block; padding: clamp(1.75rem, 4vw, 3rem); }
.vh-panel__head { max-width: 640px; }
.vh-panel__head > * { margin: 0; }
.vh-modeles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.vh-modele { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--vhc-line); border-radius: 22px; background: #fff; }
.vh-modele__media { display: grid; place-items: center; height: 280px; padding: 1.5rem; border-bottom: 1px solid var(--vhc-line); }
.vh-modele__media img { width: auto; max-width: 100%; height: 100%; max-height: 240px; object-fit: contain; }
.vh-modele__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 0.9rem; padding: 1.5rem; }
.vh-modele__body > * { margin: 0 !important; }
.vh-modele__name { font-size: 1.3rem; font-weight: 800; line-height: 1.2; color: var(--vhc-navy); }
.vh-modele__text { color: var(--vhc-ink2); line-height: 1.55; }
.vh-modele .wp-block-list.is-style-coches { font-size: 0.95rem; }
.vh-modele__price { margin-top: auto !important; padding-top: 0.25rem; color: var(--vhc-ink2); font-size: 0.875rem; font-weight: 600; }
.vh-modele__price strong { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; color: var(--vhc-navy); }
.vh-modele .wp-block-buttons, .vh-modele .wp-block-button, .vh-modele .wp-block-button__link { width: 100%; text-align: center; }
.vh-modeles__dots { display: none; }
.vh-modeles__note { margin: 1.25rem 0 0; font-size: 0.75rem; color: var(--vhc-ink2); }
@media (max-width: 781px) {
	.vh-panel { grid-template-columns: 1fr; }
	.vh-panel__media { min-height: 220px; padding: 1.25rem; border-right: 0; border-bottom: 1px solid var(--vhc-line); }
	.vh-panel__media img { max-width: 250px; }
	.vh-panel__media.is-cover img { max-width: none; }
	/* Mobile : les fiches se font glisser, la suivante dépasse sur le côté. */
	.vh-panel.is-duo { padding: 1.5rem 0 1.5rem; }
	.vh-panel.is-duo .vh-panel__head, .vh-panel.is-duo .vh-modeles__note { padding-inline: 1.25rem; }
	.vh-modeles { display: flex; gap: 0.9rem; margin-top: 1.5rem; padding-inline: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1.25rem; scrollbar-width: none; overscroll-behavior-x: contain; }
	.vh-modeles::-webkit-scrollbar { display: none; }
	.vh-modele { flex: 0 0 84%; scroll-snap-align: start; }
	.vh-modele__media { height: 210px; }
	.vh-modele__media img { max-height: 180px; }
	.vh-modeles__dots { display: flex; justify-content: center; gap: 0.45rem; margin-top: 1rem; }
	.vh-modeles__dots span { width: 8px; height: 8px; border-radius: 999px; background: #cdd5df; transition: width 0.25s, background 0.25s; }
	.vh-modeles__dots span.is-on { width: 24px; background: var(--vhc-red); }
	.vh-panel__body .wp-block-buttons, .vh-panel__body .wp-block-button, .vh-panel__body .wp-block-button__link { width: 100%; }
}

/* --------------------------------------------------------------------------
   Maison interactive
   -------------------------------------------------------------------------- */
.vh-explorer {
	position: relative;
	overflow: hidden;
	margin-block: 0 !important;
	padding-block: clamp(4rem, 7vw, 6rem);
	color: #fff;
	background:
		radial-gradient(700px 460px at 72% 45%, rgba(230, 0, 18, 0.13), transparent 70%),
		radial-gradient(800px 600px at 0% 0%, rgba(18, 62, 117, 0.55), transparent 70%),
		var(--vhc-navy);
}
.vh-explorer::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse at 65% 45%, #000 15%, transparent 70%);
	mask-image: radial-gradient(ellipse at 65% 45%, #000 15%, transparent 70%);
}
.vh-explorer__grid { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: 3.5rem; align-items: start; }
.vh-explorer__lead { margin: 1.25rem 0 0; font-size: 1.125rem; color: var(--wp--preset--color--navy-200, #b9c8dd); }
.vh-explorer__list { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.vh-explorer__item {
	display: flex;
	align-items: center;
	gap: 1rem;
	width: 100%;
	padding: 1rem 1.25rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	background: transparent;
	font: inherit;
	font-weight: 600;
	color: #fff;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.3s, background-color 0.3s;
}
.vh-explorer__item:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05); }
.vh-explorer__item[aria-pressed="true"] { border-color: rgba(230, 0, 18, 0.7); background: rgba(255, 255, 255, 0.1); }
.vh-explorer__n { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; flex-shrink: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-size: 0.75rem; font-weight: 700; color: rgba(255, 255, 255, 0.8); }
.vh-explorer__item[aria-pressed="true"] .vh-explorer__n { background: var(--vhc-red); color: #fff; }
.vh-house { width: 100%; height: auto; overflow: visible; }
.vh-house__ring { transform-origin: 260px 250px; animation: vhc-spin 80s linear infinite; }
@keyframes vhc-spin { to { transform: rotate(360deg); } }
.vh-spot { cursor: pointer; outline: none; }
.vh-spot__halo { fill: rgba(230, 0, 18, 0.2); stroke: rgba(255, 90, 102, 0.7); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: vhc-halo 2.6s ease-out infinite; }
.vh-spot__core { fill: var(--vhc-red); stroke: #fff; stroke-width: 2.5; transition: r 0.2s, fill 0.2s, stroke 0.2s; }
.vh-spot:hover .vh-spot__core, .vh-spot:focus-visible .vh-spot__core, .vh-spot[aria-pressed="true"] .vh-spot__core { r: 10; fill: #fff; stroke: var(--vhc-red); stroke-width: 4; }
.vh-spot:focus-visible .vh-spot__halo { stroke: #fff; stroke-width: 3; }
@keyframes vhc-halo { 0% { transform: scale(0.7); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
.vh-explorer__cards { position: relative; width: 100%; max-width: 400px; min-height: 176px; margin: -1.5rem 0 0 auto; }
.vh-explorer__card { padding: 1.5rem; border-radius: 16px; background: #fff; color: var(--vhc-ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); animation: vhc-in 0.25s ease-out; }
.vh-explorer__card[hidden] { display: none; }
.vh-explorer__card > * { margin: 0; }
.vh-explorer__card-k { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--vhc-red); }
.vh-explorer__card h3 { margin-top: 0.5rem; font-size: 1.125rem; font-weight: 700; color: var(--vhc-navy); }
.vh-explorer__card p:not(.vh-explorer__card-k) { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--vhc-ink2); }
.vh-explorer__card a { display: inline-block; margin-top: 1rem; font-size: 0.875rem; font-weight: 600; color: var(--vhc-navy); text-decoration: none; }
.vh-explorer__card a:hover { color: var(--vhc-red); }
@media (max-width: 1023px) { .vh-explorer__grid { grid-template-columns: 1fr; } .vh-explorer__cards { margin: 0 auto; } }

/* --------------------------------------------------------------------------
   Formulaire de devis
   -------------------------------------------------------------------------- */
.vh-devis { padding-block: clamp(4rem, 7vw, 6rem); margin-block: 0 !important; }
.vh-devis.is-mist { background: var(--vhc-mist); }
.vh-devis.is-white { background: #fff; }
.vh-devis__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 3.5rem; }
.vh-devis__text { margin: 1.25rem 0 0; font-size: 1.125rem; color: var(--vhc-ink2); }
.vh-devis__urgent { margin-top: 2.5rem; padding: 1.5rem; border-radius: 16px; background: var(--vhc-navy); color: #fff; }
.vh-devis__urgent p { margin: 0; color: var(--wp--preset--color--navy-200, #b9c8dd); }
.vh-devis__urgent p:first-child { color: #fff; }
.vh-devis__urgent p + p { margin-top: 0.75rem; font-size: 0.875rem; }
.vh-devis__urgent a { display: inline-block; padding: 0.5rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-weight: 600; color: #fff; text-decoration: none; }
.vh-devis__coords { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.vh-coord { position: relative; display: flex; flex-direction: column; padding: 1rem 1.25rem 1rem 4.5rem; border: 1px solid var(--vhc-line); border-radius: 16px; background: #fff; font-weight: 600; color: var(--vhc-navy); }
.vh-coord a { color: inherit; text-decoration: none; }
.vh-coord__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--vhc-ink2); }
.vh-coord::before { content: ""; position: absolute; left: 1.25rem; top: 50%; width: 2.75rem; height: 2.75rem; margin-top: -1.375rem; border-radius: 12px; background: rgba(230, 0, 18, 0.1) center / 1.2rem no-repeat; }
.vh-coord--tel::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e60012' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.vh-coord--mail::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e60012' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E"); }
.vh-coord--pin::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e60012' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.vh-coord--map::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e60012' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8c0 4.5-6 9-6 9s-6-4.5-6-9a6 6 0 0 1 12 0'/%3E%3Ccircle cx='12' cy='8' r='2'/%3E%3Cpath d='M8.84 14.73 3 17l2 5 7-2 7 2 2-5-5.84-2.27'/%3E%3C/svg%3E"); }

.vh-devis__card { position: relative; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 28px; background: #fff; box-shadow: 0 30px 70px -34px rgba(0, 29, 63, 0.35); }
.vh-progress { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; }
.vh-progress li > span { display: block; height: 6px; border-radius: 999px; background: var(--vhc-line); transition: background-color 0.3s; }
.vh-progress li.is-on > span { background: var(--vhc-red); }
.vh-progress em { display: block; margin-top: 0.5rem; font-size: 0.75rem; font-style: normal; font-weight: 600; color: rgba(74, 85, 104, 0.7); }
.vh-progress li.is-on em { color: var(--vhc-navy); }
@media (max-width: 640px) { .vh-progress__n { display: none; } .vh-progress em { font-size: 0.68rem; } }

.vh-devis form { margin: 0; }
.vh-qstep { margin: 0; padding: 0; border: 0; min-width: 0; animation: vhc-in 0.25s ease-out; }
.vh-qstep[hidden] { display: none; }
.vh-qstep legend { padding: 0; }
.vh-qstep h3 { margin: 0 0 1.25rem; font-size: 1.25rem; font-weight: 700; color: var(--vhc-navy); outline: none; }
.vh-hint { margin: -0.9rem 0 1rem; font-size: 0.875rem; color: var(--vhc-ink2); }
.vh-choices { display: grid; gap: 0.6rem; }
.vh-choices--2 { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.vh-choices--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .vh-choices--3 { grid-template-columns: 1fr; } }
.vh-choice {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	padding: 1rem 1.25rem;
	border: 1.5px solid var(--vhc-line);
	border-radius: 16px;
	background: #fff;
	font: inherit;
	font-weight: 600;
	color: var(--vhc-ink2);
	text-align: left;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.vh-choice:hover { border-color: #5b7aa6; }
.vh-choice[aria-pressed="true"] { border-color: var(--vhc-red); background: #fff6f6; color: var(--vhc-navy); box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.1); }
.vh-choices--3 .vh-choice, .vh-choice--big { justify-content: center; text-align: center; }
.vh-choice--big { padding-block: 2rem; }
.vh-choices--3 .vh-choice { padding-block: 1.5rem; }
.vh-tick { display: grid; place-items: center; width: 1.25rem; height: 1.25rem; flex-shrink: 0; border: 1.5px solid #b9c8dd; border-radius: 6px; }
.vh-choice[aria-pressed="true"] .vh-tick { border-color: var(--vhc-red); background: var(--vhc-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.8rem no-repeat; }

.vh-recap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; padding: 0.75rem; border-radius: 16px; background: var(--vhc-mist); font-size: 0.875rem; }
.vh-recap [data-recap] { display: contents; }
.vh-recap [data-recap] span { padding: 0.35rem 0.75rem; border-radius: 999px; background: #fff; font-weight: 600; color: var(--vhc-navy); }
.vh-recap__edit { margin-left: auto; padding: 0.25rem 0.5rem; border: 0; background: none; font: inherit; color: var(--vhc-ink2); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.vh-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .vh-fields { grid-template-columns: 1fr; } }
.vh-fields p, .vh-field-full { margin: 0; }
.vh-fields--adresse { margin-top: 1.25rem; }
.vh-fields .vh-span2 { grid-column: 1 / -1; }
.vh-field-full { margin-top: 1.25rem; }
.vh-devis label, .vh-rdv label { display: block; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--vhc-ink2); }
.vh-devis label span, .vh-rdv label span { font-weight: 400; }
.vh-devis input, .vh-devis select, .vh-devis textarea, .vh-rdv input, .vh-rdv select, .vh-rdv textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.85rem 1rem;
	border: 1.5px solid var(--vhc-line);
	border-radius: 12px;
	background: var(--vhc-mist);
	font: inherit;
	color: var(--vhc-ink);
	outline: none;
	transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.vh-devis input:focus, .vh-devis select:focus, .vh-devis textarea:focus, .vh-rdv input:focus, .vh-rdv select:focus, .vh-rdv textarea:focus { border-color: #123e75; background: #fff; box-shadow: 0 0 0 4px rgba(18, 62, 117, 0.12); }
.vh-devis [aria-invalid] { border-color: var(--vhc-red); background: #fff6f6; }
.vh-err { display: block; margin-top: 0.35rem; font-size: 0.875rem; color: var(--vhc-red); }
.vh-err:empty { display: none; }
.vh-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vh-rgpd { margin: 1rem 0 0; font-size: 0.78rem; color: var(--vhc-ink2); }
.vh-rgpd a { color: var(--vhc-navy); }

.vh-qnav { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--vhc-line); }
.vh-qnav__err { flex: 1; margin: 0; text-align: center; font-size: 0.875rem; color: var(--vhc-red); }
.vh-btn-ghost, .vh-btn-navy {
	padding: 0.75rem 1.25rem;
	border-radius: 999px;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}
.vh-btn-ghost { border: 1px solid var(--vhc-line); background: transparent; color: var(--vhc-navy); }
.vh-btn-ghost:hover:not(:disabled) { border-color: #5b7aa6; background: var(--vhc-mist); }
.vh-btn-ghost:disabled { opacity: 0.4; cursor: not-allowed; }
.vh-btn-navy { border: 0; background: var(--vhc-navy); color: #fff; }
.vh-btn-navy:hover { transform: translateY(-1px); background: #0a2e5c; }
.vh-btn-navy.is-send { background: var(--vhc-red); box-shadow: 0 12px 28px -12px rgba(230, 0, 18, 0.8); }
.vh-btn-navy.is-send:hover { background: #c2000f; }

.vh-done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; border-radius: 28px; background: #fff; text-align: center; }
.vh-done[hidden] { display: none; }
.vh-done p { margin: 0; max-width: 24rem; color: var(--vhc-ink2); }
.vh-done__title { margin-bottom: 0.75rem !important; font-size: 1.5rem; font-weight: 800; color: var(--vhc-navy) !important; }
.vh-done button { margin-top: 1.75rem; }
@media (max-width: 1023px) { .vh-devis__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
	.vh-panel, .vh-qstep, .vh-explorer__card { animation: none; }
	.vh-house__ring, .vh-spot__halo { animation: none; }
}

/* Couleurs prioritaires sur la couleur de paragraphe du thème */
.vh-solutions p.vh-panel__kicker, .vh-explorer p.vh-explorer__card-k { color: var(--vhc-red) !important; }
.vh-solutions p.vh-panel__lead, .vh-solutions .vh-panel__note, .vh-devis p.vh-devis__text { color: var(--vhc-ink2) !important; }
.vh-explorer p.vh-explorer__lead { color: var(--wp--preset--color--navy-200, #b9c8dd) !important; }
.vh-explorer .is-style-surtitre-clair { color: var(--wp--preset--color--red-300, #ff5a66) !important; }
.vh-devis__card { align-self: start; }

/* --------------------------------------------------------------------------
   Bloc d'achat (avec / sans installation)
   -------------------------------------------------------------------------- */
.vh-buy { --vhc-navy: var(--wp--preset--color--navy, #001d3f); --vhc-red: var(--wp--preset--color--red, #e60012); --vhc-line: var(--wp--preset--color--line, #e2e8f0); --vhc-ink2: var(--wp--preset--color--ink-2, #4a5568); margin-top: 0; }
.vh-buy p.vh-buy__q { margin: 0 0 1rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--vhc-ink2) !important; }
.vh-buy__options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.vh-buy__options:has(.vh-buy__opt:only-child) { grid-template-columns: 1fr; }
@media (max-width: 640px) { .vh-buy__options { grid-template-columns: 1fr; } }
.vh-buy__opt { position: relative; display: flex; flex-direction: column; padding: 1.25rem; border: 2px solid var(--vhc-line); border-radius: 20px; background: #fff; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; }
.vh-buy__opt:hover { border-color: #b9c8dd; }
.vh-buy__opt.is-on { border-color: var(--vhc-navy); box-shadow: 0 18px 40px -24px rgba(0, 29, 63, 0.45); }
.vh-buy__opt.is-off { cursor: not-allowed; opacity: 0.55; background: var(--wp--preset--color--mist, #f2f5f9); }
.vh-buy__head { display: flex; align-items: center; gap: 0.6rem; }
.vh-buy__head strong { color: var(--vhc-navy); }
.vh-buy__icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 999px; background: var(--wp--preset--color--mist, #f2f5f9) center / 1.1rem no-repeat; transition: background-color 0.2s; }
.vh-buy__icon--wrench { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001d3f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E"); }
.vh-buy__icon--truck { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001d3f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/svg%3E"); }
.vh-buy__radio { margin-left: auto; width: 1.25rem; height: 1.25rem; border: 2px solid var(--vhc-line); border-radius: 999px; }
.vh-buy__opt.is-on .vh-buy__radio { border-color: var(--vhc-red); background: radial-gradient(circle, #fff 30%, var(--vhc-red) 34%); }
.vh-buy__price { margin-top: 1rem; font-size: 1.85rem; font-weight: 800; letter-spacing: -0.02em; color: var(--vhc-navy); }
.vh-buy__price small { font-size: 0.875rem; font-weight: 600; letter-spacing: 0; }
.vh-buy__where { margin-top: 0.25rem; font-size: 0.875rem; font-weight: 600; color: var(--vhc-red); }
.vh-buy__points { display: grid; gap: 0.5rem; margin-top: 1rem; }
.vh-buy__points span { position: relative; padding-left: 1.5rem; font-size: 0.875rem; color: var(--vhc-ink2); }
.vh-buy__points span::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1rem; height: 1rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001d3f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.vh-buy__off { margin-top: 0.75rem; font-size: 0.75rem; font-weight: 600; color: var(--wp--preset--color--ink, #0b1626); }
.vh-buy__zip { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem; margin-top: 1.25rem; }
.vh-buy__zip label { display: grid; gap: 0.4rem; font-size: 0.875rem; font-weight: 600; color: var(--vhc-navy); }
.vh-buy__zip input { width: 9rem; box-sizing: border-box; padding: 0.75rem 1rem; border: 1px solid var(--vhc-line); border-radius: 12px; font: inherit; outline: none; }
.vh-buy__zip input:focus { border-color: var(--vhc-navy); }
.vh-buy__zip label + input { order: 0; }
.vh-buy__zipmsg { padding-bottom: 0.75rem; font-size: 0.875rem; color: var(--vhc-ink2); }
.vh-buy__actions { margin-top: 1.5rem; }
.vh-buy__cta { display: inline-flex; border: 0; cursor: pointer; font: inherit; font-weight: 600; text-decoration: none; }
.vh-buy__cta[hidden] { display: none; }
.vh-buy__cta--cart { background: var(--vhc-navy) !important; box-shadow: none !important; }
.vh-buy p.vh-buy__note { margin: 0.75rem 0 0; font-size: 0.875rem; color: var(--vhc-ink2) !important; }
.vh-buy p.vh-buy__note[hidden] { display: none; }
@media (max-width: 640px) { .vh-buy__cta { width: 100%; justify-content: center; } }

/* --------------------------------------------------------------------------
   Galerie produit
   -------------------------------------------------------------------------- */
.vh-gal { position: relative; }
.vh-gal__stage { position: relative; overflow: hidden; border-radius: 20px; background: #fff; }
.vh-gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; outline-offset: -3px; }
.vh-gal__track::-webkit-scrollbar { display: none; }
.vh-gal__slide { flex: 0 0 100%; margin: 0; aspect-ratio: 1 / 1; scroll-snap-align: start; background: #fff; }
.vh-gal__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vh-gal__arrow { position: absolute; top: 50%; display: grid; place-items: center; width: 42px; height: 42px; margin-top: -21px; padding: 0 0 3px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); box-shadow: 0 6px 18px -6px rgba(0, 29, 63, 0.45); color: var(--vhc-navy); font-size: 1.6rem; line-height: 1; cursor: pointer; transition: opacity 0.2s; }
.vh-gal__arrow.is-prev { left: 12px; }
.vh-gal__arrow.is-next { right: 12px; }
.vh-gal__arrow:disabled { opacity: 0; pointer-events: none; }
.vh-gal__count { position: absolute; right: 12px; bottom: 12px; padding: 0.2rem 0.6rem; border-radius: 999px; background: rgba(0, 29, 63, 0.72); color: #fff; font-size: 0.78rem; font-weight: 600; }
.vh-gal__thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.vh-gal__thumbs::-webkit-scrollbar { display: none; }
.vh-gal__thumb { flex: 0 0 64px; height: 64px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 12px; background: #fff; cursor: pointer; opacity: 0.6; transition: opacity 0.2s, border-color 0.2s; }
.vh-gal__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vh-gal__thumb:hover { opacity: 1; }
.vh-gal__thumb[aria-current="true"] { border-color: var(--vhc-red); opacity: 1; }
@media (hover: none) and (max-width: 781px) {
	.vh-gal__arrow { display: none; }
	.vh-gal__thumbs { display: none; }
}

/* --------------------------------------------------------------------------
   Prise de rendez-vous
   -------------------------------------------------------------------------- */
.vh-rdv { max-width: 860px; margin-inline: auto; }
.vh-rdv__form { padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: 28px; background: #fff; box-shadow: 0 24px 60px -24px rgba(0, 29, 63, 0.28); }
.vh-rdv__titre { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--vhc-navy); }
.vh-rdv__urgent { margin: 0 0 1.5rem; padding: 0.75rem 1rem; border-radius: 12px; background: #fff6f6; font-size: 0.9rem; color: var(--vhc-ink2); }
.vh-rdv__urgent a { font-weight: 700; color: var(--vhc-red); }
.vh-rdv__step { margin: 0 0 1.75rem; padding: 0; border: 0; min-width: 0; }
.vh-rdv__step legend { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.85rem; padding: 0; font-size: 1.1rem; font-weight: 700; color: var(--vhc-navy); }
.vh-rdv__n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--vhc-navy); color: #fff; font-size: 0.85rem; }
.vh-rdv__duree { font-size: 0.85rem; font-weight: 500; color: var(--vhc-ink2); }
.vh-rdv select { width: 100%; max-width: 460px; }
.vh-rdv__jours { display: flex; gap: 0.6rem; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.vh-rdv__jour { flex: 0 0 auto; display: grid; justify-items: center; gap: 0.1rem; min-width: 68px; padding: 0.65rem 0.5rem; border: 1px solid var(--vhc-line); border-radius: 14px; background: #fff; color: var(--vhc-navy); font: inherit; cursor: pointer; scroll-snap-align: start; transition: border-color 0.2s, background 0.2s; }
.vh-rdv__jour span { font-size: 0.75rem; text-transform: capitalize; color: var(--vhc-ink2); }
.vh-rdv__jour strong { font-size: 1.3rem; line-height: 1.1; }
.vh-rdv__jour:hover:not(:disabled), .vh-rdv__heure:hover:not(:disabled) { border-color: #5b7aa6; }
.vh-rdv__jour[aria-pressed="true"], .vh-rdv__heure[aria-pressed="true"] { border-color: var(--vhc-red); background: #fff6f6; box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.1); }
.vh-rdv__jour:disabled, .vh-rdv__heure:disabled { opacity: 0.38; cursor: not-allowed; text-decoration: line-through; }
.vh-rdv__heures { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 0.6rem; }
.vh-rdv__heure { padding: 0.8rem 0.5rem; border: 1px solid var(--vhc-line); border-radius: 12px; background: #fff; color: var(--vhc-navy); font: inherit; font-weight: 700; cursor: pointer; }
.vh-rdv__hint, .vh-rdv__load { margin: 0; color: var(--vhc-ink2); font-size: 0.95rem; }
.vh-rdv__recap { margin: 0 0 1rem; padding: 0.9rem 1.1rem; border-radius: 14px; background: var(--vhc-mist); font-weight: 700; color: var(--vhc-navy); }
.vh-rdv__err { margin: 0 0 1rem; color: var(--vhc-red); font-weight: 600; }
.vh-rdv__err:empty { display: none; }
.vh-rdv__send { width: 100%; justify-content: center; }
.vh-rdv__done { padding: clamp(2rem, 5vw, 3rem); border-radius: 28px; background: #fff; text-align: center; box-shadow: 0 24px 60px -24px rgba(0, 29, 63, 0.28); }
.vh-rdv__done-t { margin: 0 0 0.75rem; font-size: 1.8rem; font-weight: 800; color: var(--vhc-navy); }
.vh-rdv__done p { margin: 0 0 0.75rem; }
.vh-rdv__done-s { font-size: 0.9rem; color: var(--vhc-ink2); }
.vh-rdv__zone-row { margin: 0; }
.vh-rdv input[name="cp0"] { max-width: 220px; font-size: 1.15rem; letter-spacing: 0.08em; }
.vh-rdv__zone-msg { margin: 0.6rem 0 0; font-size: 0.95rem; color: var(--vhc-ink2); }
.vh-rdv__zone-msg.is-ok { color: #0a7d33; font-weight: 600; }
.vh-rdv__zone-msg.is-off { padding: 0.8rem 1rem; border-radius: 12px; background: #fff6f6; color: var(--vhc-navy); }
.vh-rdv__zone-msg.is-off a { font-weight: 700; color: var(--vhc-red); }
.vh-rdv__suite > .vh-rdv__step:first-child { margin-top: 0; }
