/* ============================================================
   Footer — fond noir profond, accents gold
   ============================================================ */

.site-footer {
	background: var(--c-ink);
	color: rgba(255, 255, 255, 0.6);
	padding-top: var(--space-12);
	margin-top: var(--space-20);
	border-top: 1px solid rgba(227, 6, 19, 0.25);
}

/* Si la dernière section de la page est une CTA photo pleine largeur, on colle le footer juste après. */
.site-main:has(> .cta-photo:last-child) + .site-footer {
	margin-top: 0;
	border-top-color: transparent;
}

.site-footer__grid {
	display: grid;
	gap: var(--space-8);
	grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
}

.site-footer__col h3,
.site-footer__title {
	font-family: var(--ff-body);
	color: var(--c-gold);
	font-size: 0.75rem;
	font-weight: 600;
	margin-bottom: var(--space-5);
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.site-footer__about {
	margin-top: var(--space-4);
	color: rgba(255, 255, 255, 0.55);
	max-width: 320px;
	font-size: 0.9375rem;
	line-height: 1.7;
}

.site-footer__col--brand .autocentro-logo img {
	max-height: 56px;
	width: auto;
}

.site-footer__contact {
	font-style: normal;
	font-size: 0.9375rem;
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}
.site-footer__contact strong {
	color: rgba(255, 255, 255, 0.85);
	display: block;
	margin-bottom: 3px;
	font-size: 0.6875rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-weight: 600;
}
.site-footer__contact a {
	color: rgba(255, 255, 255, 0.6);
	transition: color var(--t-fast);
}
.site-footer__contact a:hover { color: var(--c-gold); }

.footer-menu {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}
.footer-menu li a {
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.9375rem;
	transition: color var(--t-fast), padding-left var(--t-fast);
	display: inline-block;
}
.footer-menu li a:hover {
	color: var(--c-gold);
	padding-left: 6px;
}

/* Socials */
.site-footer__socials {
	display: flex;
	gap: var(--space-2);
	margin-top: var(--space-5);
}
.site-footer__socials a {
	display: inline-flex;
	width: 38px; height: 38px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: transparent;
	border: 1px solid rgba(227, 6, 19, 0.3);
	transition: all var(--t-fast);
}
.site-footer__socials a:hover {
	border-color: var(--c-gold);
	background: rgba(227, 6, 19, 0.1);
}
.social {
	display: block;
	width: 14px; height: 14px;
	background: rgba(255, 255, 255, 0.6);
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	transition: background var(--t-fast);
}
.site-footer__socials a:hover .social { background: var(--c-gold); }
.social--instagram {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2.16c3.2 0 3.58.012 4.85.07 1.17.054 1.8.249 2.23.413.56.218.96.477 1.38.896.42.42.679.82.896 1.38.164.42.36 1.06.413 2.23.058 1.27.07 1.65.07 4.85s-.012 3.58-.07 4.85c-.054 1.17-.249 1.8-.413 2.23-.218.56-.477.96-.896 1.38-.42.42-.82.679-1.38.896-.42.164-1.06.36-2.23.413-1.27.058-1.65.07-4.85.07s-3.58-.012-4.85-.07c-1.17-.054-1.8-.249-2.23-.413a3.71 3.71 0 0 1-1.38-.896 3.71 3.71 0 0 1-.896-1.38c-.164-.42-.36-1.06-.413-2.23-.058-1.27-.07-1.65-.07-4.85s.012-3.58.07-4.85c.054-1.17.249-1.8.413-2.23.218-.56.477-.96.896-1.38.42-.42.82-.679 1.38-.896.42-.164 1.06-.36 2.23-.413C8.42 2.172 8.8 2.16 12 2.16zm0 5.46a4.38 4.38 0 1 0 0 8.76 4.38 4.38 0 0 0 0-8.76zm0 7.22a2.84 2.84 0 1 1 0-5.68 2.84 2.84 0 0 1 0 5.68zm5.58-7.4a1.02 1.02 0 1 0 0-2.04 1.02 1.02 0 0 0 0 2.04z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2.16c3.2 0 3.58.012 4.85.07 1.17.054 1.8.249 2.23.413.56.218.96.477 1.38.896.42.42.679.82.896 1.38.164.42.36 1.06.413 2.23.058 1.27.07 1.65.07 4.85s-.012 3.58-.07 4.85c-.054 1.17-.249 1.8-.413 2.23-.218.56-.477.96-.896 1.38-.42.42-.82.679-1.38.896-.42.164-1.06.36-2.23.413-1.27.058-1.65.07-4.85.07s-3.58-.012-4.85-.07c-1.17-.054-1.8-.249-2.23-.413a3.71 3.71 0 0 1-1.38-.896 3.71 3.71 0 0 1-.896-1.38c-.164-.42-.36-1.06-.413-2.23-.058-1.27-.07-1.65-.07-4.85s.012-3.58.07-4.85c.054-1.17.249-1.8.413-2.23.218-.56.477-.96.896-1.38.42-.42.82-.679 1.38-.896.42-.164 1.06-.36 2.23-.413C8.42 2.172 8.8 2.16 12 2.16zm0 5.46a4.38 4.38 0 1 0 0 8.76 4.38 4.38 0 0 0 0-8.76zm0 7.22a2.84 2.84 0 1 1 0-5.68 2.84 2.84 0 0 1 0 5.68zm5.58-7.4a1.02 1.02 0 1 0 0-2.04 1.02 1.02 0 0 0 0 2.04z'/%3E%3C/svg%3E");
}
.social--facebook {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M24 12.07C24 5.4 18.63 0 12 0S0 5.4 0 12.07C0 18.1 4.39 23.1 10.13 24v-8.44H7.08v-3.49h3.05V9.41c0-3.02 1.79-4.69 4.53-4.69 1.31 0 2.69.24 2.69.24v2.97h-1.51c-1.49 0-1.96.93-1.96 1.89v2.26h3.33l-.53 3.49h-2.8V24C19.61 23.1 24 18.1 24 12.07z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M24 12.07C24 5.4 18.63 0 12 0S0 5.4 0 12.07C0 18.1 4.39 23.1 10.13 24v-8.44H7.08v-3.49h3.05V9.41c0-3.02 1.79-4.69 4.53-4.69 1.31 0 2.69.24 2.69.24v2.97h-1.51c-1.49 0-1.96.93-1.96 1.89v2.26h3.33l-.53 3.49h-2.8V24C19.61 23.1 24 18.1 24 12.07z'/%3E%3C/svg%3E");
}
.social--whatsapp {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M.057 24l1.687-6.163a11.867 11.867 0 0 1-1.587-5.946C.16 5.335 5.495 0 12.05 0a11.817 11.817 0 0 1 8.413 3.488 11.824 11.824 0 0 1 3.48 8.414c-.003 6.557-5.338 11.892-11.893 11.892a11.9 11.9 0 0 1-5.688-1.448L.057 24z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M.057 24l1.687-6.163a11.867 11.867 0 0 1-1.587-5.946C.16 5.335 5.495 0 12.05 0a11.817 11.817 0 0 1 8.413 3.488 11.824 11.824 0 0 1 3.48 8.414c-.003 6.557-5.338 11.892-11.893 11.892a11.9 11.9 0 0 1-5.688-1.448L.057 24z'/%3E%3C/svg%3E");
}

.site-footer__bottom {
	margin-top: var(--space-10);
	padding: var(--space-5) 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--space-3);
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.4);
}
.legal-menu { display: flex; gap: var(--space-5); }
.legal-menu a {
	color: rgba(255, 255, 255, 0.4);
	transition: color var(--t-fast);
}
.legal-menu a:hover { color: var(--c-gold); }

@media (max-width: 900px) {
	.site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
	.site-footer__grid { grid-template-columns: 1fr; }
}
