/* =========================================================================
   Pied de page - reparation-flipper.fr

   Feuille autonome : ce pied de page s'affiche sur tout le site, y compris
   sur les pages qui ne chargent pas le gabarit des services. Elle ne depend
   donc d'aucune variable ni d'aucune classe declaree ailleurs, et redeclare
   ses propres jetons.

   Fond clair : sur la page d'accueil le bloc de conversion qui le precede
   est deja sombre, et deux bandes sombres a la suite fermaient la page sur
   un mur.

   Les polices Poppins et Work Sans sont chargees par le theme sur toutes
   les pages : rien a importer ici.
   ====================================================================== */

.rf-footer {
	--rff-ink: #0f172a;
	--rff-slate: #313c4d;
	--rff-body: #484c50;
	--rff-muted: #767c85;
	--rff-soft: #f4f5f6;
	--rff-line: #e5e5e5;
	--rff-gap: 20px;
	--rff-wrap: 1240px;

	background: var(--rff-soft);
	border-top: 1px solid var(--rff-line);
	color: var(--rff-body);
	font-family: "Work Sans", sans-serif;
}

.rf-footer .rf-wrap {
	max-width: var(--rff-wrap);
	margin-inline: auto;
	padding-inline: var(--rff-gap);
}

.rf-footer__top {
	padding-block: 2.75rem 2.25rem;
}

.rf-footer__grid {
	display: grid;
	gap: 2.25rem;
}

.rf-footer__logolink {
	display: inline-block;
	margin-bottom: 1rem;
}

.rf-footer .rf-footer__logo {
	width: auto;
	height: 44px;
	display: block;
}

.rf-footer__pitch {
	font-size: .9375rem;
	line-height: 1.7;
	color: var(--rff-body);
	margin: 0 0 1.25rem;
	max-width: 42ch;
}

.rf-footer__infos {
	display: grid;
	gap: .7rem;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
}

.rf-footer__infos li {
	display: grid;
	grid-template-columns: 18px 1fr;
	gap: .65rem;
	align-items: start;
	font-size: .875rem;
	line-height: 1.55;
	color: var(--rff-muted);
	margin: 0;
}

.rf-footer__infos svg {
	width: 18px;
	height: 18px;
	margin-top: .1rem;
	fill: none;
	stroke: #9aa1ab;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Le bouton est habille ici de bout en bout : sur la plupart des pages, la
   feuille du gabarit qui porte .rf-btn n'est pas chargee. */
.rf-footer .rf-footer__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	padding: 1rem 1.4rem;
	border: 1px solid transparent;
	border-radius: 0;
	background: var(--rff-slate);
	color: #fff;
	font-family: Poppins, sans-serif;
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background .18s ease;
}

.rf-footer .rf-footer__cta:hover,
.rf-footer .rf-footer__cta:focus-visible {
	background: var(--rff-ink);
	color: #fff;
}

.rf-footer .rf-footer__cta:focus-visible {
	outline: 2px solid var(--rff-slate);
	outline-offset: 2px;
}

.rf-footer__titre {
	font-family: Poppins, sans-serif;
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--rff-ink);
	margin: 0 0 .9rem;
}

.rf-footer__col ul {
	display: grid;
	gap: .6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rf-footer__col li {
	margin: 0;
}

.rf-footer__col a {
	color: var(--rff-body);
	font-size: .9375rem;
	line-height: 1.45;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	/* cible tactile : on garde le lien en ligne mais on l'espace */
	display: inline-block;
	padding-block: .15rem;
}

.rf-footer__col a:hover,
.rf-footer__col a:focus-visible {
	color: var(--rff-ink);
	border-bottom-color: #c8ccd2;
}

.rf-footer__bas {
	border-top: 1px solid var(--rff-line);
	padding-block: 1.25rem;
}

.rf-footer__bas p {
	margin: 0;
	color: var(--rff-muted);
	font-size: .8125rem;
	line-height: 1.6;
}

.rf-footer__bas a {
	color: var(--rff-body);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.rf-footer__bas a:hover {
	color: var(--rff-ink);
}

.rf-footer__credit {
	margin-top: .35rem !important;
}

@media (min-width: 640px) {
	.rf-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem;
	}

	.rf-footer__brand {
		grid-column: 1 / -1;
	}

	.rf-footer .rf-footer__cta {
		width: auto;
	}
}

@media (min-width: 960px) {
	.rf-footer__top {
		padding-block: 3.5rem 3rem;
	}

	.rf-footer__grid {
		grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
		gap: 3rem 2.5rem;
	}

	.rf-footer__brand {
		grid-column: auto;
	}

	.rf-footer__bas .rf-wrap {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: baseline;
		gap: .35rem 1.5rem;
	}

	.rf-footer__credit {
		margin-top: 0 !important;
	}
}
