/* =========================================================================
   VelarTrip — mises en page (accueil, quiz, suivi, archives, 404)
   ========================================================================= */

/* ---------- Caractéristiques produit (lisibles par les modèles) ---------- */
.vt-specs {
	margin: 40px 0 0;
	max-width: var(--vt-content-narrow);
}

.vt-specs__title {
	font-size: clamp(24px, 3vw, 30px);
	margin: 0 0 10px;
}

.vt-specs__lede {
	font-size: 15px;
	line-height: 1.6;
	color: var(--vt-ink-soft);
	margin: 0 0 18px;
}

.vt-specs__table {
	background: var(--vt-card);
	border-radius: var(--vt-radius-lg);
	overflow: hidden;
}

.vt-specs__table th {
	width: 40%;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: none;
	color: var(--vt-ink);
	background: var(--vt-sand);
}

.vt-specs__table td {
	font-size: 14px;
}

.vt-specs__table tr:last-child th,
.vt-specs__table tr:last-child td {
	border-bottom: 0;
}

/* ---------- Blocs conditionnels (remplacement des Kadence Elements) ---------- */
.vt-element {
	max-width: var(--vt-content);
	margin: 0 auto;
	padding: 0 var(--vt-edge);
}

.vt-element--before_footer {
	padding-bottom: 56px;
}

.vt-element--after_loop {
	margin-top: 48px;
	padding: 0;
}

.vt-element--after_loop > *:last-child {
	margin-bottom: 0;
}

.vt-element h2,
.vt-element h3 {
	margin-top: 1.4em;
}

/* ---------- Fil d'Ariane ---------- */
.vt-breadcrumb,
.woocommerce-breadcrumb,
.rank-math-breadcrumb {
	font-size: 12px;
	font-weight: 700;
	color: var(--vt-muted);
	margin: 0 0 1.4em;
}

.vt-breadcrumb a,
.woocommerce-breadcrumb a,
.rank-math-breadcrumb a {
	color: var(--vt-muted);
	text-decoration: none;
}

.vt-breadcrumb a:hover,
.woocommerce-breadcrumb a:hover,
.rank-math-breadcrumb a:hover {
	color: var(--vt-cta);
}

.vt-breadcrumb__sep {
	margin: 0 0.5em;
	opacity: 0.6;
}

/* ---------- Badges de paiement ---------- */
.vt-payments__title {
	display: block;
	font-size: var(--vt-text-xs);
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--vt-muted);
	margin-bottom: 10px;
}

.vt-payments__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.vt-payments__list li {
	background: var(--vt-card);
	color: var(--vt-ink);
	border: 1px solid var(--vt-line);
	border-radius: 7px;
	padding: 6px 10px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.vt-footer .vt-payments__list li {
	background: rgba(246, 241, 231, 0.1);
	border-color: rgba(246, 241, 231, 0.2);
	color: var(--vt-sand);
}

.vt-footer .vt-payments__title {
	color: var(--vt-gold);
	margin-bottom: 12px;
}

/* =========================================================================
   ACCUEIL
   ========================================================================= */

.vt-hero {
	display: grid;
	grid-template-columns: 1fr;
	background: var(--vt-sand);
}

.vt-hero__text {
	padding: 44px var(--vt-edge) 40px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.vt-hero__eyebrow {
	background: var(--vt-gold);
	color: var(--vt-ink);
	font-size: var(--vt-text-xs);
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 7px 13px;
	border-radius: 999px;
}

.vt-hero__title {
	font-size: clamp(40px, 7vw, 76px);
	line-height: 0.98;
	margin: 20px 0 14px;
}

.vt-hero__sub {
	font-size: clamp(15px, 2vw, 18px);
	line-height: 1.55;
	color: var(--vt-ink-soft);
	max-width: 460px;
	margin: 0 0 14px;
}

.vt-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin-top: 18px;
}

.vt-hero__trust {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	margin: 26px 0 0;
	padding: 0;
	font-size: 12px;
	font-weight: 700;
}

.vt-hero__media {
	min-height: 320px;
	background: var(--vt-sand-deep);
	overflow: hidden;
	position: relative;
}

/* L'image est en position absolue : sinon sa hauteur intrinseque (1600px sur
   une photo portrait) etire tout le hero. */
.vt-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
}

@media (min-width: 900px) {
	.vt-hero {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		align-items: stretch;
	}

	.vt-hero__text {
		padding: 76px 56px 76px max(var(--vt-edge), calc((100vw - var(--vt-content)) / 2 + var(--vt-edge)));
		justify-content: center;
	}

	.vt-hero__media {
		min-height: 560px;
	}
}

.vt-home-section {
	padding: 56px 0 0;
}

.vt-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.vt-section-head h2 {
	margin: 0;
}

.vt-section-head__link {
	font-size: var(--vt-text-sm);
	font-weight: 800;
	color: var(--vt-cta);
	text-decoration: none;
	white-space: nowrap;
}

.vt-bundle-banner {
	margin: 56px 0 0;
	background: var(--vt-ink);
	border-radius: var(--vt-radius-xl);
	padding: 32px 28px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
}

.vt-bundle-banner__figure {
	font-family: var(--vt-display);
	font-size: clamp(56px, 8vw, 88px);
	color: var(--vt-gold);
	line-height: 0.9;
}

.vt-bundle-banner__body {
	flex: 1 1 260px;
	min-width: 0;
}

.vt-bundle-banner__title {
	font-family: var(--vt-font);
	font-size: clamp(20px, 3vw, 26px);
	font-weight: 800;
	color: var(--vt-sand);
	margin: 0;
	line-height: 1.2;
}

.vt-bundle-banner__sub {
	font-size: 15px;
	color: rgba(246, 241, 231, 0.72);
	margin: 6px 0 0;
}

/* Le contenu deja en place sur la page d'accueil est compose de blocs pleine
   largeur. Le contraindre a la colonne de lecture faisait deborder les
   carrousels et ecrasait les colonnes. Il reprend la largeur du conteneur, et
   rien ne peut sortir horizontalement. */
.vt-home-content {
	max-width: var(--vt-content-narrow);
	overflow-x: clip;
}

/* Une page d'accueil construite en blocs a besoin de toute la largeur :
   les rangées Kadence gèrent elles-mêmes leur conteneur. */
.vt-home-content:has(.wp-block-kadence-rowlayout),
.vt-home-content:has(.kt-blocks-carousel),
.vt-home-content:has(.alignfull) {
	max-width: none;
}

.vt-home-content > * {
	max-width: 100%;
}

.vt-home-content img,
.vt-home-content video,
.vt-home-content iframe {
	max-width: 100%;
	height: auto;
}

/* =========================================================================
   ARCHIVES, RECHERCHE, 404
   ========================================================================= */

.vt-archive-head {
	margin-bottom: 32px;
	max-width: var(--vt-content-narrow);
}

.vt-archive-head h1 {
	margin: 0 0 0.3em;
}

.vt-archive-head__desc {
	color: var(--vt-ink-soft);
	font-size: 15px;
}

.vt-empty,
.vt-404 {
	text-align: center;
	padding: 60px 0;
}

.vt-404__code {
	font-family: var(--vt-display);
	font-size: 96px;
	line-height: 1;
	color: var(--vt-gold);
	display: block;
	margin-bottom: 10px;
}

.vt-404 .vt-searchform,
.vt-empty .vt-searchform {
	max-width: 460px;
	margin: 24px auto;
}

/* ---------- Formulaire de recherche ---------- */
.vt-searchform {
	display: flex;
	gap: 10px;
}

.vt-searchform input[type="search"] {
	border-radius: 999px;
	padding: 14px 20px;
}

.vt-searchform button {
	border-radius: 999px;
	white-space: nowrap;
	flex: 0 0 auto;
}

/* ---------- Widgets ---------- */
.vt-widget {
	background: var(--vt-card);
	border-radius: var(--vt-radius-lg);
	padding: 22px;
	margin-bottom: 18px;
}

.vt-widget .widget-title {
	font-family: var(--vt-font);
	font-size: var(--vt-text-xs);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--vt-muted);
	margin: 0 0 14px;
}

.vt-widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 14px;
}

/* =========================================================================
   QUIZ
   ========================================================================= */

.vt-quiz {
	background: var(--vt-ink);
	border-radius: var(--vt-radius-xl);
	padding: 32px 28px 28px;
	color: var(--vt-sand);
}

.vt-quiz__head {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 12px;
}

.vt-quiz__counter {
	font-size: var(--vt-text-xs);
	font-weight: 800;
	color: var(--vt-gold);
}

.vt-quiz__track {
	height: 5px;
	border-radius: 999px;
	background: rgba(246, 241, 231, 0.18);
	overflow: hidden;
	margin-bottom: 26px;
}

.vt-quiz__fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--vt-gold);
	transition: width 0.3s ease;
}

.vt-quiz__step {
	display: none;
	border: 0;
	margin: 0;
	padding: 0;
}

.vt-quiz__step.is-active {
	display: block;
}

.vt-quiz__question {
	font-family: var(--vt-display);
	font-weight: 400;
	font-size: clamp(28px, 5vw, 38px);
	line-height: 1.08;
	color: var(--vt-sand);
	margin: 0 0 22px;
	padding: 0;
	width: 100%;
}

.vt-quiz__answers {
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.vt-quiz__answer {
	text-align: left;
	background: rgba(246, 241, 231, 0.08);
	color: var(--vt-sand);
	border-radius: var(--vt-radius);
	padding: 18px;
	font-size: 15px;
	font-weight: 700;
}

.vt-quiz__answer:hover {
	background: rgba(246, 241, 231, 0.16);
	color: var(--vt-sand);
}

.vt-quiz__kicker {
	display: block;
	font-size: var(--vt-text-xs);
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--vt-gold);
	margin-bottom: 10px;
}

.vt-quiz__card {
	background: var(--vt-sand);
	border-radius: var(--vt-radius-lg);
	padding: 16px;
	color: var(--vt-ink);
	margin-bottom: 16px;
}

.vt-quiz__card img {
	width: 100%;
	border-radius: 14px;
	margin: 0 0 12px;
}

.vt-quiz__card-name {
	font-family: var(--vt-display);
	font-size: 26px;
	line-height: 1.15;
	margin: 0 0 6px;
}

.vt-quiz__card-price {
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 8px;
}

.vt-quiz__card-excerpt {
	font-size: 14px;
	line-height: 1.55;
	color: var(--vt-ink-soft);
	margin: 0 0 14px;
}

.vt-quiz__card .button {
	display: block;
	width: 100%;
}

.vt-quiz__note {
	font-size: var(--vt-text-xs);
	color: rgba(246, 241, 231, 0.55);
	font-weight: 600;
	line-height: 1.6;
	margin: 26px 0 0;
}

.vt-quiz-content {
	margin-top: 40px;
}

/* =========================================================================
   SUIVI DE COMMANDE
   ========================================================================= */

.vt-tracking__title {
	margin: 0 0 6px;
}

.vt-tracking__sub {
	font-size: 14px;
	font-weight: 600;
	color: var(--vt-ink-soft);
	margin: 0 0 20px;
}

form.track_order {
	background: var(--vt-card);
	border-radius: var(--vt-radius-lg);
	padding: 24px;
	margin: 0 0 32px;
}

form.track_order .form-row {
	margin-bottom: 14px;
}

.vt-tracking__steps {
	background: var(--vt-card);
	border-radius: var(--vt-radius-lg);
	padding: 26px;
}

.vt-tracking__steps-title {
	font-family: var(--vt-font);
	font-size: var(--vt-text-xs);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--vt-muted);
	margin: 0 0 20px;
}

.vt-steps {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vt-step {
	display: flex;
	gap: 14px;
	margin: 0;
	padding: 0 0 22px;
	position: relative;
}

.vt-step:last-child {
	padding-bottom: 0;
}

.vt-step__marker {
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	margin-top: 5px;
	border-radius: 999px;
	border: 2px solid #d6cdb8;
	background: var(--vt-card);
}

.vt-step.is-done .vt-step__marker {
	background: var(--vt-cta);
	border-color: var(--vt-cta);
}

.vt-step:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 6px;
	top: 24px;
	bottom: 4px;
	width: 2px;
	background: var(--vt-line);
}

.vt-step.is-done:not(:last-child)::before {
	background: var(--vt-cta);
}

.vt-step__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.vt-step__label {
	font-size: 14px;
	font-weight: 800;
}

.vt-step:not(.is-done) .vt-step__label {
	color: var(--vt-muted);
}

.vt-step__note {
	font-size: 12px;
	font-weight: 600;
	color: var(--vt-muted);
}

.vt-tracking__help {
	background: var(--vt-sand-deep);
	border-radius: var(--vt-radius-lg);
	padding: 22px;
	margin: 20px 0 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	justify-content: space-between;
}

.vt-tracking__help-text {
	font-size: 15px;
	font-weight: 800;
	margin: 0;
	flex: 1 1 240px;
}

.vt-tracking__again {
	background: var(--vt-ink);
	border-radius: var(--vt-radius-lg);
	padding: 26px;
	margin: 20px 0 0;
}

.vt-tracking__again-kicker {
	display: block;
	font-size: var(--vt-text-xs);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--vt-gold);
	margin-bottom: 8px;
}

.vt-tracking__again-title {
	color: var(--vt-sand);
	font-size: clamp(22px, 4vw, 30px);
	margin: 0 0 16px;
}


/* Menu optionnel de la barre du haut. */
.vt-trustbar__menu {
	list-style: none;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0 0 0 20px;
	padding: 0;
}

.vt-trustbar__menu a {
	color: inherit;
	text-decoration: none;
	opacity: 0.85;
}

.vt-trustbar__menu a:hover {
	opacity: 1;
	text-decoration: underline;
}


/* Plafond de hauteur du hero : au-dela il pousse tout le reste sous la ligne
   de flottaison, y compris sur grand ecran. */
@media (min-width: 900px) and (min-height: 700px) {
	.vt-hero {
		max-height: 660px;
	}

	.vt-hero__media {
		height: 100%;
	}
}


/* =========================================================================
   COLLECTIONS
   ========================================================================= */

.vt-collections {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

@media (min-width: 700px) {
	.vt-collections {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 18px;
	}
}

@media (min-width: 1000px) {
	.vt-collections {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 18px;
	}
}

.vt-collection a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.vt-collection__media {
	display: block;
	background: var(--vt-sand-deep);
	border-radius: 18px;
	overflow: hidden;
	aspect-ratio: 1 / 1;
}

.vt-collection__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 12px;
	mix-blend-mode: multiply;
	display: block;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.vt-collection a:hover .vt-collection__media img {
	transform: scale(1.04);
}

.vt-collection__body {
	display: block;
	padding: 10px 2px 0;
}

.vt-collection__name {
	display: block;
	font-family: var(--vt-font);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--vt-ink);
}

.vt-collection__count {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: var(--vt-muted);
}

@media (prefers-reduced-motion: reduce) {
	.vt-collection__media img,
	.vt-collection a:hover .vt-collection__media img {
		transition: none;
		transform: none;
	}
}
