/**
 * MÊME — footer.css
 * Réassurance, colonnes de liens, mentions légales, moyens de paiement, bandeau cookies.
 */

/* --------------------------------------------------------------------------
 * Réassurance
 * -------------------------------------------------------------------------- */
.crea-reassurance--footer {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

@media (min-width: 768px) {
	.crea-reassurance--footer {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}
}

.crea-reassurance--footer .crea-reassurance-item {
	flex-direction: column;
	gap: 0.875rem;
}

@media (max-width: 991.98px) {
	.crea-reassurance--footer .crea-reassurance-item {
		flex-direction: row;
		justify-content: flex-start;
	}

	.crea-reassurance--footer .crea-reassurance-item__content {
		display: flex;
		flex-wrap: wrap;
		column-gap: 3px;
		align-items: flex-end;
		justify-content: flex-start;
	}
}

.crea-reassurance--footer .crea-reassurance-item__title {
	flex-shrink: 0;
	font-family: var(--meme-font-heading);
	font-size: 0.875rem;
	font-weight: 600;
}

.crea-reassurance--footer .crea-reassurance-item__subtitle {
	font-family: var(--meme-font-heading);
	font-size: 0.875rem;
}

.crea-reassurance-item__link {
	color: inherit;
	text-decoration: none;
}

/* --------------------------------------------------------------------------
 * Contenu principal du pied de page
 * -------------------------------------------------------------------------- */
.main-footer {
	margin-top: auto;
}

.main-footer__content {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	background-color: var(--meme-color-surface);
}

@media (min-width: 768px) {
	.main-footer__content {
		padding-top: 3rem;
	}
}

.main-footer__content-bottom {
	margin-top: 2rem;
}

@media (min-width: 768px) {
	.main-footer__content-bottom {
		margin-top: 3rem;
	}
}

.main-footer__after {
	padding-bottom: 1.5rem;
	font-size: 0.75rem;
	background-color: var(--meme-color-surface-3);
}

@media (min-width: 768px) {
	.main-footer__after {
		padding-bottom: 3rem;
	}
}

/* --------------------------------------------------------------------------
 * Colonnes de liens
 * -------------------------------------------------------------------------- */
.footer-block-wrapper {
	position: relative;
}

@media (max-width: 767.98px) {
	.footer-block-wrapper {
		padding-bottom: 0.5rem;
		margin-bottom: 0.5rem;
		border-bottom: 1px solid var(--meme-color-border);
	}
}

.footer-block__title {
	margin-bottom: 1.25rem;
	font-family: var(--meme-font-heading);
	font-size: 1rem;
	font-weight: 600;
}

.footer-block__title.d-sm-none {
	width: 100%;
	padding: 0;
	text-align: left;
	background: none;
	border: 0;
}

.links-block__list {
	margin-top: -0.3125rem;
	margin-bottom: -0.3125rem;
}

.links-block__link {
	position: relative;
	display: inline-block;
	padding-top: 0.3125rem;
	padding-bottom: 0.3125rem;
	font-size: 0.875rem;
	line-height: 1.25;
	color: inherit;
	text-decoration: none;
	text-wrap: balance;
}

.links-block__link::after {
	position: absolute;
	bottom: 3px;
	left: 0;
	width: 0;
	height: 1px;
	content: "";
	background: #2e2e2e;
	transition: width 0.3s;
}

.links-block__link:hover {
	color: inherit;
}

.links-block__link:hover::after {
	width: 100%;
}

.links-block__link--button {
	padding-top: 0.3125rem;
	padding-bottom: 0.3125rem;
	font-family: inherit;
	font-size: 0.875rem;
	line-height: 1.25;
	color: inherit;
	text-align: left;
	background: none;
	border: 0;
}

.links-block__list--legal {
	display: flex;
	flex-wrap: wrap;
	column-gap: 1.5rem;
	row-gap: 0;
	align-items: center;
}

@media (max-width: 767.98px) {
	.links-block__list--legal {
		justify-content: center;
	}
}

@media (min-width: 768px) {
	.links-block__list--legal {
		justify-content: flex-end;
	}
}

.links-block[data-id="4"] .links-block__list {
	margin-top: 0;
	margin-bottom: 0;
}

/* Logo */
.footer-logo {
	text-align: center;
}

@media (min-width: 768px) {
	.footer-logo {
		text-align: left;
	}
}

.footer-logo__img {
	display: inline-block;
	width: 140px;
	height: auto;
}

/* --------------------------------------------------------------------------
 * Barre inférieure : langue/devise + moyens de paiement
 * -------------------------------------------------------------------------- */
.crea-internationalselector {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}

@media (min-width: 768px) {
	.crea-internationalselector {
		justify-content: flex-start;
	}
}

.crea-internationalselector__btn.btn {
	--bs-btn-padding-y: 0.125rem;
	--bs-btn-padding-x: 0.5rem;
	--bs-btn-font-size: 0.75rem;
	color: #2e2e2e;
	background: transparent;
	border-color: transparent;
}

.main-footer__payments {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	align-items: center;
	justify-content: center;
	padding-left: 0;
	margin: 0;
	list-style: none;
}

.main-footer__payment img {
	display: block;
	width: auto;
	height: 1.75rem;
}

/* --------------------------------------------------------------------------
 * Bandeau cookies local (aucun script externe)
 * -------------------------------------------------------------------------- */
.meme-cookie-banner {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	left: 1rem;
	z-index: 1200;
	display: flex;
	justify-content: center;
	font-size: 0.8125rem;
}

.meme-cookie-banner[hidden] {
	display: none;
}

.meme-cookie-banner__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 60rem;
	padding: 1rem 1.25rem;
	background: #fff;
	border: 1px solid var(--meme-color-border);
	border-radius: var(--meme-radius-lg);
	box-shadow: var(--meme-shadow-dropdown);
}

.meme-cookie-banner__text {
	max-width: 40rem;
	margin-bottom: 0;
}

.meme-cookie-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
