/* Pied de page Vitrine (includes/pied.php). */

.vtr-pied {
	--vtr-pied-encre: #14171f;
	--vtr-pied-fond: #f5f4f0;
	--vtr-pied-doux: #5e625c;
	--vtr-pied-filet: #dcd9d0;
	--vtr-pied-accent: #4b5636;
	--vtr-pied-marge: var(--vtr-pied-marge-site, var(--wooh-marge, clamp(20px, 4.5vw, 48px)));
	margin: 0;
	background: var(--vtr-pied-fond);
	color: var(--vtr-pied-encre);
	font-weight: 300;
	line-height: 1.5;
}

.vtr-pied *,
.vtr-pied *::before,
.vtr-pied *::after {
	box-sizing: border-box;
}

.vtr-pied a {
	color: inherit;
	text-decoration: none;
	transition: color .2s ease;
}

.vtr-pied a:hover,
.vtr-pied a:focus-visible {
	color: var(--vtr-pied-accent);
}

.vtr-pied p {
	margin: 0;
}

.vtr-pied__cadre {
	width: 100%;
	padding-inline: var(--vtr-pied-marge);
}

.vtr-pied .vtr-pied__surtitre,
.vtr-pied .vtr-pied__titre {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--vtr-pied-doux);
	font-family: inherit;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: .16em;
	line-height: 1.4;
	text-transform: uppercase;
}

/* ---------- Newsletter ---------- */
.vtr-pied__nl {
	border-bottom: 1px solid var(--vtr-pied-filet);
}

.vtr-pied__nl-cadre {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
	padding-block: 44px;
}

.vtr-pied__nl-texte {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-width: 620px;
}

.vtr-pied .vtr-pied__nl-titre {
	font-size: clamp(20px, 1.9vw, 26px);
	font-weight: 300;
	line-height: 1.3;
}

.vtr-pied__nl-form {
	flex: 0 1 460px;
}

/* Formulaire tiers (Brevo, SureForms) : champ et bouton à la manière Vitrine. */
.vtr-pied__nl-form form:not(.vtr-nl) {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	margin: 0;
}

.vtr-pied__nl-form form:not(.vtr-nl) > * {
	margin: 0;
}

.vtr-pied__nl-form form:not(.vtr-nl) > input[type="email"],
.vtr-pied__nl-form form:not(.vtr-nl) > :has(input[type="email"]) {
	flex: 1 1 220px;
}

.vtr-pied__nl-form form:not(.vtr-nl) > input[type="email"],
.vtr-pied__nl-form form:not(.vtr-nl) > :has(input[type="email"]) input {
	border-right: 0;
}

.vtr-pied__nl-form input[type="email"],
.vtr-pied__nl-form input[type="text"] {
	width: 100%;
	height: 52px;
	padding: 0 18px;
	border: 1px solid var(--vtr-pied-encre);
	border-radius: 0;
	background: #fff;
	color: var(--vtr-pied-encre);
	font: inherit;
	font-size: 15px;
	box-shadow: none;
}

.vtr-pied__nl-form button,
.vtr-pied__nl-form input[type="submit"] {
	height: 52px;
	padding: 0 28px;
	border: 1px solid var(--vtr-pied-encre);
	border-radius: 0;
	background: var(--vtr-pied-encre);
	color: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: .12em;
	text-transform: uppercase;
	cursor: pointer;
}

/* ---------- Corps ---------- */
.vtr-pied__corps {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 3fr);
	gap: clamp(40px, 5vw, 80px);
	padding-block: clamp(48px, 5vw, 72px) clamp(40px, 4vw, 56px);
}

.vtr-pied__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 40px;
}

.vtr-pied__marque {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.vtr-pied__logo img {
	display: block;
	width: clamp(120px, 10vw, 150px); /* Largeur fixe : un SVG n'a pas toujours de taille propre. */
	max-width: 100%;
	height: auto;
}

.vtr-pied .vtr-pied__nom {
	font-size: 28px;
	font-weight: 500;
	letter-spacing: -.01em;
}

.vtr-pied .vtr-pied__accroche {
	max-width: 360px;
	color: var(--vtr-pied-encre);
	font-size: 16px;
	line-height: 1.6;
	opacity: .85;
}

.vtr-pied__showroom {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 15px;
}

.vtr-pied .vtr-pied__horaires {
	color: var(--vtr-pied-doux);
}

.vtr-pied__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	font-size: 15px;
}

.vtr-pied .vtr-pied__action.is-itin {
	order: -1;
	margin-bottom: 10px;
	padding-bottom: 3px;
	border-bottom: 1px solid currentColor;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.vtr-pied__action-court {
	display: none;
}

.vtr-pied__col {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.vtr-pied .vtr-pied__ouvrir {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-align: left;
	text-transform: inherit;
	box-shadow: none;
	cursor: default;
	pointer-events: none;
}

.vtr-pied .vtr-pied__ouvrir:hover,
.vtr-pied .vtr-pied__ouvrir:focus,
.vtr-pied .vtr-pied__ouvrir:active {
	background: none;
	color: inherit;
	box-shadow: none;
}

.vtr-pied__ouvrir svg {
	display: none;
}

.vtr-pied .vtr-pied__liens {
	display: flex;
	flex-direction: column;
	gap: 13px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
	line-height: 1.35;
}

.vtr-pied .vtr-pied__liens li {
	margin: 0;
}

.vtr-pied .vtr-pied__liens .is-accent > a,
.vtr-pied .vtr-pied__liens .is-accent > a:hover {
	color: var(--vtr-pied-accent);
	font-weight: 400;
}

.vtr-pied .vtr-pied__note {
	display: flex;
	flex-direction: column;
	gap: 2px;
	align-self: flex-start;
}

.vtr-pied__note-valeur {
	font-size: 22px;
	font-weight: 400;
}

.vtr-pied__note-texte {
	color: var(--vtr-pied-doux);
	font-size: 13px;
}

/* ---------- Barre du bas ---------- */
.vtr-pied__bas {
	border-top: 1px solid var(--vtr-pied-filet);
	color: var(--vtr-pied-doux);
	font-size: 13px;
}

.vtr-pied__bas-cadre {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 32px;
	padding-block: 14px;
}

.vtr-pied__mentions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 24px;
}

.vtr-pied .vtr-pied__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vtr-pied .vtr-pied__legal li {
	margin: 0;
}

.vtr-pied__bas-droite {
	display: flex;
	align-items: center;
	gap: 24px;
}

.vtr-pied__langues {
	display: flex;
	gap: 12px;
	letter-spacing: .12em;
}

.vtr-pied .vtr-pied__langues .is-actif {
	color: var(--vtr-pied-encre);
	font-weight: 500;
}

.vtr-pied__reseaux {
	display: flex;
}

.vtr-pied .vtr-pied__reseaux a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--vtr-pied-encre);
}

.vtr-pied .vtr-pied__reseaux a:hover {
	color: var(--vtr-pied-accent);
}

/* ---------- Tablette ---------- */
@media (max-width: 1100px) {
	.vtr-pied__corps {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
	.vtr-pied__nl-cadre {
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
		padding-block: 36px 32px;
	}

	.vtr-pied__nl-form {
		flex: none;
	}

	.vtr-pied__nl-form form:not(.vtr-nl),
	.vtr-pied__nl-form .sib_signup_form {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.vtr-pied__nl-form input[type="email"],
	.vtr-pied__nl-form input[type="text"] {
		font-size: 16px; /* Pas de zoom automatique sur iPhone. */
	}

	.vtr-pied__nl-form button,
	.vtr-pied__nl-form input[type="submit"] {
		width: 100%;
	}

	.vtr-pied__corps {
		gap: 32px;
		padding-block: 36px 8px;
	}

	.vtr-pied__marque {
		gap: 22px;
	}

	.vtr-pied__actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.vtr-pied .vtr-pied__action.is-tel,
	.vtr-pied .vtr-pied__action.is-itin {
		order: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		height: 48px;
		margin: 0;
		padding: 0;
		border: 1px solid var(--vtr-pied-encre);
		font-size: 14px;
		font-weight: 400;
		letter-spacing: normal;
		text-transform: none;
	}

	.vtr-pied .vtr-pied__action.is-mail {
		grid-column: 1 / -1;
		order: 1;
	}

	.vtr-pied__action-court {
		display: inline;
	}

	.vtr-pied__action-long {
		display: none;
	}

	.vtr-pied__cols {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.vtr-pied__col {
		gap: 0;
		border-top: 1px solid var(--vtr-pied-filet);
	}

	.vtr-pied__col:last-child {
		border-bottom: 1px solid var(--vtr-pied-filet);
	}

	.vtr-pied .vtr-pied__nl-form form:not(.vtr-nl) > input[type="email"],
	.vtr-pied .vtr-pied__nl-form form:not(.vtr-nl) > :has(input[type="email"]) input {
		border-right: 1px solid var(--vtr-pied-encre);
	}

	.vtr-pied__nl-form form:not(.vtr-nl) > input[type="email"],
	.vtr-pied__nl-form form:not(.vtr-nl) > :has(input[type="email"]) {
		flex: none;
	}

	.vtr-pied .vtr-pied__titre {
		color: var(--vtr-pied-encre);
	}

	.vtr-pied .vtr-pied__ouvrir {
		min-height: 56px;
		cursor: pointer;
		pointer-events: auto;
	}

	.vtr-pied__ouvrir svg {
		display: block;
		transition: transform .25s ease;
	}

	.vtr-pied__ouvrir[aria-expanded="true"] svg {
		transform: rotate(45deg);
	}

	.vtr-pied.is-js .vtr-pied__col:not(.is-ouvert) .vtr-pied__liens {
		display: none;
	}

	.vtr-pied .vtr-pied__liens {
		padding-bottom: 20px;
	}

	.vtr-pied__bas {
		border-top: 0;
	}

	.vtr-pied__bas-cadre {
		flex-direction: column-reverse;
		align-items: flex-start;
		gap: 16px;
		padding-block: 20px 32px;
	}

	.vtr-pied__bas-droite {
		width: 100%;
		justify-content: space-between;
	}

	.vtr-pied__reseaux {
		margin-right: -12px;
	}
}

/* ---------- Formulaire newsletter Vitrine (Brevo) ---------- */
.vtr-pied .vtr-nl {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
}

.vtr-nl__ligne {
	display: flex;
}

.vtr-pied .vtr-nl .vtr-nl__email {
	flex: 1 1 auto;
	min-width: 0;
	border-right: 0;
}

.vtr-pied .vtr-nl .vtr-nl__bouton {
	flex: none;
}

.vtr-pied .vtr-nl .vtr-nl__bouton[disabled] {
	opacity: .6;
	cursor: wait;
}

.vtr-nl__site {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.vtr-pied .vtr-nl__accord {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--vtr-pied-doux);
	font-size: 13px;
	line-height: 1.45;
	cursor: pointer;
}

.vtr-pied .vtr-nl__accord input {
	flex: none;
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
	accent-color: var(--vtr-pied-encre);
}

.vtr-pied .vtr-nl__accord a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.vtr-pied .vtr-nl__message {
	min-height: 0;
	font-size: 14px;
}

.vtr-pied .vtr-nl__message:empty {
	display: none;
}

.vtr-pied .vtr-nl.is-erreur .vtr-nl__message {
	color: #a12a1f;
}

.vtr-pied .vtr-nl.is-ok .vtr-nl__ligne,
.vtr-pied .vtr-nl.is-ok .vtr-nl__accord {
	display: none;
}

.vtr-pied .vtr-nl.is-ok .vtr-nl__message {
	font-size: 16px;
	color: var(--vtr-pied-encre);
}

@media (max-width: 760px) {
	.vtr-nl__ligne {
		flex-direction: column;
		gap: 10px;
	}

	.vtr-pied .vtr-nl .vtr-nl__email {
		border-right: 1px solid var(--vtr-pied-encre);
	}

	.vtr-pied .vtr-nl .vtr-nl__bouton {
		width: 100%;
	}
}

/*
 * Bouton « haut de page » d'Astra (fixe en bas à droite) : on garde sa place libre dans
 * la barre du bas pour qu'il ne recouvre pas les réseaux sociaux.
 */
body:has(#ast-scroll-top) .vtr-pied__bas-cadre {
	padding-right: max(var(--vtr-pied-marge), 96px);
}
