/*
 * FOOTER
 *
 * Pied de page sur fond teal foncé : logo, contact, navigation,
 * bouton scroll-top. Chargé sur TOUTES les pages.
 */

.site-footer {
	background: var(--teal);
	color: var(--white);
	padding: 80px 0 32px;
	position: relative;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.1fr 1.4fr 1fr;
	gap: 64px;
	padding-bottom: 56px;
}

/* === Colonne logo === */
.footer-brand .logo-img,
.footer-brand .custom-logo {
	height: 103px;
}

/* === Réseaux sociaux dans le footer === */
.footer-social {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 28px;
}

.footer-brand .social-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: transparent;
	color: var(--white);
	border: 1.5px solid rgba(255, 255, 255, 0.5);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all .2s ease;
	overflow: hidden;
}

.footer-brand .social-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--white);
	transform: translateY(-2px);
}

/* Facebook : image PNG avec fond intégré, pas de bordure */
.footer-brand .social-btn--facebook {
	background: none;
	border: none;
	padding: 0;
}

.footer-brand .social-btn--facebook img {
	width: 40px;
	height: 40px;
	object-fit: cover;
	display: block;
}

.footer-brand .social-btn--facebook:hover {
	background: none;
	border: none;
	opacity: 0.85;
}

/* === Titres des colonnes === */
.site-footer h4 {
	font-size: 13px;
	font-weight: 700;
	color: var(--white);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin-bottom: 28px;
}

/* === Liste contact (avec icônes) === */
.footer-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.footer-list li {
	display: flex;
	align-items: center;
	gap: 16px;
}

.footer-list a,
.footer-list span {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.9);
	transition: color .2s ease;
	line-height: 1.55;
}

.footer-list a:hover { color: var(--green); }

.footer-list .footer-icon {
	flex-shrink: 0;
	color: var(--green);
}

.footer-list .footer-email {
	color: var(--white);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.footer-list .footer-email:hover { color: var(--green); }

/* === Menu de navigation footer (wp_nav_menu) === */
.footer-menu-wp {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 0;
	margin: 0;
}

.footer-menu-wp a {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.9);
	transition: color .2s ease;
}

.footer-menu-wp a:hover { color: var(--green); }

/* === Bas de footer (copyright) === */
.footer-bottom {
	padding-top: 28px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.75);
	text-align: center;
}

.footer-bottom strong {
	font-weight: 700;
	color: var(--white);
}

.footer-designer-link {
	color: var(--white);
	font-style: normal;
	transition: color 0.2s ease;
}

.footer-designer-link:hover {
	color: var(--green);
}

/* === Bouton scroll-top === */
.scroll-top {
	position: absolute;
	bottom: 96px;
	right: 32px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--green);
	color: var(--white);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform .2s ease, background .2s ease;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.scroll-top:hover {
	background: var(--green-dark);
	transform: translateY(-2px);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 968px) {
	.site-footer { padding: 56px 0 24px; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
	.footer-brand { grid-column: 1 / -1; }
	.footer-brand .logo-img,
	.footer-brand .custom-logo { height: 64px; }
	.site-footer h4 { margin-bottom: 20px; }
	.footer-list { gap: 14px; }
	.footer-list a,
	.footer-list span { font-size: 14px; }
	.scroll-top { bottom: 80px; right: 24px; width: 44px; height: 44px; }
	.footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 540px) {
	.site-footer { padding: 48px 0 24px; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.footer-brand { grid-column: auto; }
	.footer-brand .logo-img,
	.footer-brand .custom-logo { height: 56px; }
	.site-footer h4 { font-size: 12px; margin-bottom: 16px; }
	.footer-list { gap: 12px; }
	.footer-list a,
	.footer-list span { font-size: 13.5px; }
	.footer-bottom { font-size: 12.5px; padding-top: 24px; flex-direction: column; }
	.footer-grid { padding-bottom: 24px; }
	.scroll-top { position: static; margin: 24px auto 0; display: flex; }
}
