/* Footer de marque (H.6) — 4 colonnes responsive.
   Cible : sobre, bleu marine, typo cohérente avec le reste. */

.apa-site-footer {
	background: #0f1e2f;
	color: rgba(255,255,255,.82);
	font-family: 'Inter', system-ui, sans-serif;
	margin-top: 0;
	padding: 0;
}

.apa-site-footer-in {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 18px 24px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
}

.apa-sf-col h3 {
	color: #fff;
	font-family: var(--apa-font-menu, 'Poppins', 'Inter', system-ui, sans-serif);
	font-size: .82rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 700;
	margin: 0 0 12px;
}
.apa-sf-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.apa-sf-col li {
	padding: 4px 0;
}
.apa-sf-col a {
	color: rgba(255,255,255,.78);
	text-decoration: none;
	font-size: .92rem;
	min-height: 28px;
	display: inline-flex;
	align-items: center;
}
.apa-sf-col a:hover { color: #f6c453; }

/* ---- Colonne brand ---- */

.apa-sf-brand-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: #fff;
	font-family: var(--apa-font-display, 'Poppins', 'Inter', system-ui, sans-serif);
	margin-bottom: 8px;
}
.apa-sf-pastille {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: linear-gradient(135deg, #ef5a4c, #f7864a);
	font-weight: 800;
	color: #fff;
	box-shadow: 0 3px 10px rgba(239,90,76,.4);
	flex-shrink: 0;
}
.apa-sf-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.apa-sf-brand-name { font-weight: 700; font-size: 1.05rem; }
.apa-sf-brand-text small {
	font-size: .72rem;
	color: rgba(255,255,255,.65);
	font-family: 'Inter', sans-serif;
}
.apa-sf-tagline {
	color: rgba(255,255,255,.75);
	font-size: .9rem;
	line-height: 1.55;
	margin: 14px 0 14px;
	max-width: 360px;
}
.apa-sf-tel, .apa-sf-mail {
	margin: 4px 0;
	color: rgba(255,255,255,.85);
	font-size: .92rem;
}
.apa-sf-tel a, .apa-sf-mail a {
	color: inherit;
	text-decoration: none;
	font-weight: 600;
}
.apa-sf-tel a:hover, .apa-sf-mail a:hover { color: #f6c453; text-decoration: underline; }
/* « Contactez-nous » footer : bouton-lien calé sur les liens du footer. */
.apa-sf-contact {
	appearance: none;
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.apa-sf-contact:hover { color: #f6c453; text-decoration: underline; }

/* ---- Barre du bas ---- */

.apa-sf-bottom {
	max-width: 1200px;
	margin: 0 auto;
	padding: 18px;
	border-top: 1px solid rgba(255,255,255,.10);
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	justify-content: space-between;
	font-size: .82rem;
	color: rgba(255,255,255,.55);
}

/* ---- Responsive : 2 colonnes puis 4 ---- */

@media (min-width: 560px) {
	.apa-site-footer-in {
		grid-template-columns: 1fr 1fr;
	}
	.apa-sf-brand { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
	.apa-site-footer-in {
		grid-template-columns: 2fr 1fr 1fr 1fr;
		padding: 60px 32px 30px;
		gap: 40px;
	}
	.apa-sf-brand { grid-column: auto; }
}

/* ---- Masque le footer du thème parent Twenty Twenty-Five ---- */

body > .wp-site-blocks > footer.wp-block-template-part {
	display: none !important;
}

/* Compense le z-index du bandeau cookies pour qu'il reste lisible. */
.apa-cookie-banner { z-index: 99999; }
