/* ==========================================================================
   Footer commun — intégration fidèle de la maquette Footer.dc.html.
   Les tokens de couleur communs sont définis dans base.css (:root).
   ========================================================================== */

/* Le bandeau de réassurance est le composant partagé .kk-reassure
   (components.css), variante --cream. */

/* --- Corps du footer ----------------------------------------------------- */

.ft {
	background: var(--k-charcoal);
	color: var(--k-dark-muted);
	font-family: var(--k-font-body);
}

.ft-top {
	padding-top: clamp(40px, 5vw, 60px);
	padding-bottom: 28px;
	display: flex;
	flex-wrap: wrap;
	gap: clamp(28px, 4vw, 44px);
}

/* --- Colonne marque ------------------------------------------------------ */

.ft-brand {
	flex: 1 1 260px;
	min-width: 240px;
}

.ft-logo {
	height: 28px;
	width: auto;
	display: block;
}

.ft-tagline {
	font-size: var(--k-text-m);
	line-height: var(--k-lh);
	color: var(--k-dark-muted);
	margin: 16px 0 18px;
	max-width: 34ch;
}

.ft-bzh {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 20px;
}

/* Logo « Fabriqué en France » : PNG transparent à texte noir, donc illisible
   directement sur le fond sombre. On le pose sur une pastille blanche plutôt
   que de le recoloriser — c'est une marque de certification, ses couleurs
   officielles ne doivent pas être altérées. */
.ft-bzh img {
	height: 64px;
	width: 64px;
	flex: none;
	background: #fff;
	border-radius: var(--k-r-tile);
}

.ft-bzh span {
	font-size: var(--k-text-s);
	color: var(--k-dark-muted);
	line-height: 1.4;
	font-weight: 600;
	max-width: 12ch;
}

.ft-social {
	display: flex;
	gap: 9px;
}

.ft-social-btn {
	--tile-size: 38px;
	--tile-radius: 10px;
	--tile-bg: var(--k-dark-surface);
	--tile-color: var(--k-dark-body);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: background .14s, color .14s, border-color .14s;
}

.ft-social-btn:hover,
.ft-social-btn:focus-visible {
	background: var(--k-orange);
	color: var(--k-dark-strong);
	border-color: var(--k-orange);
}

/* --- Colonnes de liens --------------------------------------------------- */

.ft-cols {
	--grid-min: 150px;
	--grid-gap: clamp(22px, 3vw, 36px);
	flex: 2 1 540px;
}

.ft-col-title {
	font-family: var(--k-font-title);
	font-weight: 700;
	font-size: var(--k-text-s);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--k-dark-strong);
	margin-bottom: 16px;
}

.ft-linklist {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-start;
}

/* Liens obfusqués : rendus comme des liens texte. */
.ft-link {
	font-family: inherit;
	font-size: var(--k-text-m);
	color: var(--k-dark-muted);
	text-align: left;
	transition: color .14s;
}

.ft-link:hover,
.ft-link:focus-visible {
	color: var(--k-orange);
}

/* Entrée dont la page n'existe pas encore : visible mais non cliquable. */
.ft-link.is-pending {
	cursor: default;
	opacity: 0.55;
}

.ft-link.is-pending:hover,
.ft-link.is-pending:focus-visible{
	color: var(--k-dark-muted);
}

/* --- Bande contact ------------------------------------------------------- */

.ft-contact {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 22px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	align-items: center;
}

.ft-phone {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--k-dark-muted);
	font-family: var(--k-font-title);
	font-weight: 600;
	font-size: var(--k-text-m);
}

.ft-email {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--k-dark-strong);
	font-weight: 700;
	font-size: var(--k-text-xl);
	transition: color .14s;
}

.ft-email:hover,
.ft-email:focus-visible {
	color: var(--k-orange);
}

/* --- Sélecteur de langue ------------------------------------------------- */

.ft-lang {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ft-lang-label {
	font-size: var(--k-text-s);
	color: var(--k-dark-lead);
	font-weight: 600;
	margin-right: 4px;
}

.ft-lang-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 11px;
	border-radius: 8px;
	background: var(--k-dark-surface);
	color: var(--k-dark-muted);
	font-family: var(--k-font-title);
	font-weight: 800;
	font-size: var(--k-text-s);
	letter-spacing: 0.03em;
	line-height: 1;
	text-decoration: none;
	transition: background .14s, color .14s;
}

/* La locale courante est un <span> non cliquable : pas d'effet de survol.
   Sans :not(), la règle ne s'appliquait pas par simple effet d'ordre source. */
.ft-lang-pill:not(.is-current):hover,
.ft-lang-pill:not(.is-current):focus-visible {
	background: var(--k-dark-surface-hover);
	color: var(--k-dark-strong);
}

.ft-lang-pill.is-current {
	background: var(--k-orange);
	color: #fff;
	box-shadow: 0 0 0 2px rgba(242, 150, 68, 0.35);
}

/* --- Barre basse --------------------------------------------------------- */

.ft-bottom {
	background: #171C24;
}

.ft-bottom-inner {
	padding-top: 18px;
	padding-bottom: 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 14px 24px;
	align-items: center;
	justify-content: space-between;
}

.ft-copy {
	font-size: var(--k-text-s);
	color: var(--k-dark-lead);
}

.ft-pay {
	display: flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
}

.ft-pay-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 26px;
	min-width: 44px;
	padding: 0 9px;
	border-radius: 5px;
	background: #fff;
	font-family: var(--k-font-title);
	font-weight: 800;
	font-style: italic;
}

.ft-visa {
	font-size: var(--k-text-s);
	letter-spacing: -0.02em;
	color: #1A1F71;
}

.ft-mc {
	min-width: 44px;
}

.ft-mc-a,
.ft-mc-b {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	display: inline-block;
}

.ft-mc-a { background: #EB001B; }
.ft-mc-b { background: #F79E1B; margin-left: -6px; mix-blend-mode: multiply; }

.ft-cb {
	min-width: 40px;
	font-size: var(--k-text-s);
}

.ft-cb span:first-child { color: #16407A; }
.ft-cb span:last-child  { color: var(--k-green); }

.ft-pp {
	min-width: 50px;
	font-size: var(--k-text-xs);
	letter-spacing: -0.02em;
}

.ft-pp span:first-child { color: #003087; }
.ft-pp span:last-child  { color: #009CDE; }

/* --- Mobile (≤760px) ----------------------------------------------------- */

@media (max-width: 760px) {
	.ft-cols {
		grid-template-columns: 1fr 1fr;
		gap: 32px 20px;
	}

	.ft-linklist {
		gap: 0;
	}

	.ft-link {
		padding: 7px 0;
	}

	.ft-contact {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.ft-lang {
		margin-left: 0;
		width: 100%;
		padding-top: 16px;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}
}
