/* Footer — grille À propos | Contact (toutes les pages) */

.nut-footer {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0 !important;
	background: linear-gradient(165deg, #050A5E 0%, #030740 55%, #061160 100%);
}

.nut-footer.wp-block-group {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.nut-footer__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 2.5rem clamp(1rem, 4vw, 2rem) 1.1rem;
	box-sizing: border-box;
}

.nut-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	gap: 1.25rem;
	align-items: stretch;
}

.nut-footer__brand,
.nut-footer__contact {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.nut-footer__bottom {
	margin-top: 1.6rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.nut-footer__bottom p {
	margin: 0;
	text-align: center;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
	.nut-footer__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1023px) {
	.nut-footer__inner {
		padding-top: 2rem;
	}

	.nut-footer__contact-link {
		min-height: 2.25rem;
		display: inline-flex;
		align-items: center;
	}

	.nut-footer__social .nut-social-icon {
		width: 2.75rem;
		height: 2.75rem;
	}
}

/* Cartes & contact */

.nut-footer__card {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 1rem;
	padding: 1.1rem 1.15rem 1rem;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
	box-sizing: border-box;
	height: 100%;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.nut-footer__contact-card {
	width: 100%;
}

.nut-footer__card-title {
	font-family: 'Quicksand', sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin: 0 0 0.75rem;
	padding-bottom: 0.55rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	color: #fff;
}

.nut-footer__contact-card .nut-footer__card-title {
	margin-bottom: 0.65rem;
	padding-bottom: 0.5rem;
}

.nut-footer__brand-body {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	flex: 1;
}

.nut-footer__brand-card .nut-footer__logo {
	margin-bottom: 0;
}

.nut-footer .nut-footer__tagline {
	font-family: 'Quicksand', sans-serif;
	font-size: clamp(1rem, 2.4vw, 1.1rem);
	font-weight: 700;
	line-height: 1.4;
	margin: 0;
	color: #39b54a;
	letter-spacing: 0.02em;
}

.nut-footer__brand-card .nut-footer__tagline {
	position: relative;
	padding-left: 0.85rem;
}

.nut-footer__brand-card .nut-footer__tagline::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.15em;
	bottom: 0.15em;
	width: 3px;
	border-radius: 9999px;
	background: linear-gradient(180deg, #39b54a 0%, rgba(57, 181, 74, 0.35) 100%);
}

.nut-footer__brand-card .nut-footer__about {
	max-width: none;
	font-size: 0.9rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.82);
}

.nut-footer__contact {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.nut-footer__contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.nut-footer__contact-item {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 0;
}

.nut-footer__contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	border-radius: 0.55rem;
	background: rgba(57, 181, 74, 0.14);
	border: 1px solid rgba(57, 181, 74, 0.28);
	color: #39B54A;
}

.nut-footer__contact-icon svg {
	width: 16px;
	height: 16px;
}

.nut-footer__contact-body {
	display: flex;
	flex-direction: column;
	gap: 0.05rem;
	min-width: 0;
}

.nut-footer__contact-label {
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.52);
	line-height: 1.2;
}

.nut-footer__contact-value {
	font-size: 0.86rem;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.92);
}

.nut-footer__contact-link {
	text-decoration: none;
	transition: color 0.2s ease;
}

.nut-footer__contact-link:hover {
	color: #39B54A;
}

.nut-footer__whatsapp {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: 0.55rem;
	padding: 0.6rem 0.75rem;
	border-radius: 0.65rem;
	text-decoration: none;
	background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: 0 4px 16px rgba(18, 140, 126, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nut-footer__whatsapp:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 22px rgba(18, 140, 126, 0.45);
}

.nut-footer__whatsapp-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.nut-footer__whatsapp-icon svg {
	width: 1rem;
	height: 1rem;
}

.nut-footer__whatsapp-text {
	display: flex;
	flex-direction: column;
	gap: 0;
	flex: 1;
	min-width: 0;
	color: #fff;
	font-size: 0.78rem;
	line-height: 1.25;
}

.nut-footer__whatsapp-text strong {
	font-family: 'Quicksand', sans-serif;
	font-size: 0.85rem;
	font-weight: 700;
}

.nut-footer__whatsapp-arrow {
	flex-shrink: 0;
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.85);
	transition: transform 0.2s ease;
}

.nut-footer__whatsapp:hover .nut-footer__whatsapp-arrow {
	transform: translateX(3px);
}

.nut-footer__social {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	margin-top: 1.5rem;
	padding-top: 1.35rem;
	width: 100%;
	text-align: center;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nut-footer__social-label {
	margin: 0;
	width: 100%;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.52);
}

.nut-footer__social-links {
	display: flex;
	justify-content: center;
	gap: 0.65rem;
}

/* Priorité sur .has-white-color du bloc parent (sinon icônes sombres sur fond navy). */
.nut-footer__social-links .nut-social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	text-decoration: none;
	border: 2px solid transparent;
	color: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nut-footer__social-links .nut-social-icon svg {
	display: block;
	flex-shrink: 0;
	fill: currentColor;
}

.nut-footer__social-links .nut-social-icon--facebook {
	background: #1877f2;
	border-color: #1877f2;
}

.nut-footer__social-links .nut-social-icon--facebook:hover {
	background: #166fe5;
	border-color: #166fe5;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(24, 119, 242, 0.38);
}

.nut-footer__social-links .nut-social-icon--whatsapp {
	background: #25d366;
	border-color: #25d366;
}

.nut-footer__social-links .nut-social-icon--whatsapp:hover {
	background: #128c7e;
	border-color: #128c7e;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(37, 211, 102, 0.38);
}

.nut-footer__social-links .nut-social-icon--linkedin {
	background: #0a66c2;
	border-color: #0a66c2;
}

.nut-footer__social-links .nut-social-icon--linkedin:hover {
	background: #004182;
	border-color: #004182;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(10, 102, 194, 0.38);
}

.nut-footer__social-links .nut-social-icon:focus-visible {
	outline: 2px solid #39b54a;
	outline-offset: 3px;
}

body.nut-dark .nut-footer .nut-footer__tagline {
	color: #4ade80;
}

body.nut-dark .nut-footer__brand-card .nut-footer__tagline::before {
	background: linear-gradient(180deg, #4ade80 0%, rgba(74, 222, 128, 0.35) 100%);
}
