/* ============================================================
   EEC FOOTER — Footer institutionnel sombre
============================================================ */

/* Masque widgets / barre de crédits GeneratePress lorsque le footer EEC est actif */
.site-footer #footer-widgets,
.site-footer .footer-widgets,
.site-footer .footer-bar,
.site-footer .site-info {
	display: none !important;
}

/* === BANDEAU NEWSLETTER === */
.eec-footer-newsletter {
	background: linear-gradient(135deg, var(--eec-blue) 0%, var(--eec-blue-deep) 100%);
	padding: 32px 24px;
	color: #ffffff;
}

.eec-footer-newsletter__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.eec-footer-newsletter__content {
	display: flex;
	align-items: center;
	gap: 20px;
	flex: 1;
	min-width: 280px;
}

.eec-footer-newsletter__icon {
	font-size: 36px;
	color: var(--eec-yellow);
	flex-shrink: 0;
}

.eec-footer-newsletter__title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 22px;
	color: #ffffff;
	margin: 0 0 4px 0;
	font-weight: 700;
}

.eec-footer-newsletter__text {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
}

.eec-footer-newsletter__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	background: var(--eec-yellow);
	color: var(--eec-blue-deep);
	border-radius: 8px;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.25s;
	box-shadow: 0 4px 12px rgba(244, 208, 63, 0.3);
	flex-shrink: 0;
}

.eec-footer-newsletter__btn:hover {
	background: var(--eec-yellow-deep);
	color: var(--eec-blue-deep);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(244, 208, 63, 0.45);
}

.eec-footer-newsletter__btn:focus-visible {
	outline: 2px solid var(--eec-yellow);
	outline-offset: 3px;
}

.eec-footer-newsletter__btn i {
	font-size: 12px;
	transition: transform 0.2s;
}

.eec-footer-newsletter__btn:hover i {
	transform: translateX(4px);
}

/* === FOOTER PRINCIPAL === */
.eec-footer {
	background: var(--eec-blue-deep);
	color: rgba(255, 255, 255, 0.85);
	font-family: 'Lato', sans-serif;
}

.eec-footer__main {
	padding: 64px 24px 48px;
}

.eec-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 48px;
}

.eec-footer__col {
	min-width: 0;
}

.eec-footer__col-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 18px;
	color: #ffffff;
	margin: 0 0 20px 0;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--eec-yellow);
	display: inline-block;
	font-weight: 700;
}

/* === COLONNE BRAND (LOGO + DESC) === */
.eec-footer__logo-link {
	display: inline-block;
	margin-bottom: 16px;
}

.eec-footer__logo-link:focus-visible {
	outline: 2px solid var(--eec-yellow);
	outline-offset: 4px;
	border-radius: 4px;
}

.eec-footer__logo-picture {
	display: inline-block;
	line-height: 0;
	background: #ffffff;
	padding: 10px 14px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.eec-footer__logo {
	max-width: 160px;
	width: auto;
	height: auto;
	display: block;
	background: transparent;
	opacity: 0.95;
	transition: opacity 0.2s ease;
	object-fit: contain;
}

.eec-footer__logo-link > .eec-footer__logo {
	background: #ffffff;
	padding: 10px 14px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
	box-sizing: content-box;
}

.eec-footer__logo-link:hover .eec-footer__logo {
	opacity: 1;
}

.eec-footer__brand-name {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 8px 0;
	line-height: 1.3;
}

.eec-footer__brand-tagline {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
	margin: 0 0 20px 0;
	line-height: 1.6;
}

.eec-footer__verse {
	margin: 0 0 20px 0;
	padding: 14px 16px;
	background: rgba(255, 255, 255, 0.05);
	border-left: 3px solid var(--eec-yellow);
	border-radius: 0 6px 6px 0;
}

.eec-footer__verse p {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 14px;
	font-style: italic;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 6px 0;
	line-height: 1.5;
}

.eec-footer__verse cite {
	font-size: 11px;
	color: var(--eec-yellow);
	font-style: normal;
	letter-spacing: 0.5px;
}

.eec-footer__decree {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.55);
	margin: 0;
	line-height: 1.5;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.eec-footer__decree i {
	color: var(--eec-yellow);
	margin-top: 2px;
	flex-shrink: 0;
}

/* === LISTES NAVIGATION === */
.eec-footer__nav-list,
.eec-footer__contact-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.eec-footer__nav-list li {
	margin-bottom: 10px;
}

.eec-footer__nav-list a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s, transform 0.2s;
}

.eec-footer__nav-list a:focus-visible {
	outline: 2px solid var(--eec-yellow);
	outline-offset: 3px;
	border-radius: 2px;
}

.eec-footer__nav-list a i {
	font-size: 11px;
	color: var(--eec-yellow);
	transition: transform 0.2s;
}

.eec-footer__nav-list a:hover {
	color: var(--eec-yellow);
	transform: translateX(4px);
}

.eec-footer__nav-list a:hover i {
	transform: translateX(2px);
}

/* === LISTE CONTACT === */
.eec-footer__contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 14px;
	font-size: 14px;
	line-height: 1.6;
}

.eec-footer__contact-list i {
	color: var(--eec-yellow);
	font-size: 14px;
	margin-top: 4px;
	flex-shrink: 0;
	width: 16px;
	text-align: center;
}

.eec-footer__contact-list address,
.eec-footer__contact-list a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-style: normal;
	transition: color 0.2s;
}

.eec-footer__contact-list a:focus-visible {
	outline: 2px solid var(--eec-yellow);
	outline-offset: 3px;
	border-radius: 2px;
}

.eec-footer__contact-list a:hover {
	color: var(--eec-yellow);
}

/* === RÉSEAUX SOCIAUX === */
.eec-footer__social {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.eec-footer__social-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: rgba(255, 255, 255, 0.55);
	margin: 0 0 12px 0;
}

.eec-footer__social-icons {
	display: flex;
	gap: 10px;
}

.eec-footer__social-icon {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: #ffffff;
	text-decoration: none;
	transition: all 0.25s;
	font-size: 16px;
}

.eec-footer__social-icon:focus-visible {
	outline: 2px solid var(--eec-yellow);
	outline-offset: 3px;
}

.eec-footer__social-icon:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.eec-footer__social-icon--facebook:hover {
	background: #1877f2;
	color: #fff;
}

.eec-footer__social-icon--youtube:hover {
	background: #f00;
	color: #fff;
}

.eec-footer__social-icon--whatsapp:hover {
	background: #25d366;
	color: #fff;
}

/* === BANDEAU PARTENAIRES === */
.eec-footer__partners-band {
	background: rgba(0, 0, 0, 0.2);
	padding: 20px 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.eec-footer__partners-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.eec-footer__partners-label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: rgba(255, 255, 255, 0.65);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.eec-footer__partners-label i {
	color: var(--eec-yellow);
}

.eec-footer__partners-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	align-items: center;
}

.eec-footer__partners-list li {
	position: relative;
	padding-right: 16px;
}

.eec-footer__partners-list li:not(:last-child)::after {
	content: '·';
	position: absolute;
	right: -2px;
	top: 50%;
	transform: translateY(-50%);
	color: rgba(255, 255, 255, 0.3);
}

.eec-footer__partners-list a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	transition: color 0.2s;
}

.eec-footer__partners-list a:focus-visible {
	outline: 2px solid var(--eec-yellow);
	outline-offset: 3px;
	border-radius: 2px;
}

.eec-footer__partners-list a:hover {
	color: var(--eec-yellow);
}

/* === BOTTOM BAR === */
.eec-footer__bottom {
	background: rgba(0, 0, 0, 0.4);
	padding: 18px 24px;
}

.eec-footer__bottom-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.eec-footer__copyright {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.65);
	margin: 0;
}

.eec-footer__copyright strong {
	color: rgba(255, 255, 255, 0.85);
}

.eec-footer__legal {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 4px;
	align-items: center;
	flex-wrap: wrap;
}

.eec-footer__legal li {
	position: relative;
}

.eec-footer__legal li:not(:last-child)::after {
	content: '·';
	margin: 0 8px;
	color: rgba(255, 255, 255, 0.3);
}

.eec-footer__legal a {
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	font-size: 13px;
	transition: color 0.2s;
}

.eec-footer__legal a:focus-visible {
	outline: 2px solid var(--eec-yellow);
	outline-offset: 3px;
	border-radius: 2px;
}

.eec-footer__legal a:hover {
	color: var(--eec-yellow);
}

.eec-footer__lang-switcher {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

/* Sélecteur FR | EN ([eec_language_switcher]) */
.eec-footer__lang-switcher .eec-lang-switch {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 4px;
	padding: 6px 12px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.eec-footer__lang-switcher .eec-lang-switch a {
	color: rgba(255, 255, 255, 0.85);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.eec-footer__lang-switcher .eec-lang-switch a:hover,
.eec-footer__lang-switcher .eec-lang-switch a.active {
	color: var(--eec-yellow);
}

.eec-footer__lang-switcher .eec-lang-switch span {
	color: rgba(255, 255, 255, 0.35);
	font-size: 12px;
}

/* === BOUTON BACK TO TOP === */
.eec-back-to-top {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--eec-blue);
	color: #ffffff;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 20px rgba(20, 44, 82, 0.3);
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.25s, color 0.25s, box-shadow 0.25s;
}

.eec-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.eec-back-to-top:hover {
	background: var(--eec-yellow);
	color: var(--eec-blue-deep);
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(244, 208, 63, 0.45);
}

.eec-back-to-top:focus-visible {
	outline: 2px solid var(--eec-yellow);
	outline-offset: 3px;
}

.eec-back-to-top i {
	font-size: 18px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
	.eec-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}

	.eec-footer__col--brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.eec-footer-newsletter {
		padding: 28px 16px;
	}

	.eec-footer-newsletter__inner {
		flex-direction: column;
		text-align: center;
		gap: 20px;
	}

	.eec-footer-newsletter__content {
		flex-direction: column;
		text-align: center;
		gap: 12px;
	}

	.eec-footer-newsletter__btn {
		width: 100%;
		justify-content: center;
	}

	.eec-footer__main {
		padding: 48px 16px 32px;
	}

	.eec-footer__inner {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.eec-footer__partners-inner {
		flex-direction: column;
		gap: 12px;
	}

	.eec-footer__partners-list {
		justify-content: center;
	}

	.eec-footer__bottom-inner {
		flex-direction: column;
		text-align: center;
	}

	.eec-footer__legal {
		justify-content: center;
	}

	.eec-back-to-top {
		bottom: 16px;
		right: 16px;
		width: 44px;
		height: 44px;
	}
}

/* === ACCESSIBILITÉ === */
@media (prefers-reduced-motion: reduce) {
	.eec-back-to-top,
	.eec-footer__logo,
	.eec-footer__nav-list a,
	.eec-footer__social-icon,
	.eec-footer-newsletter__btn {
		transition: none !important;
	}

	.eec-back-to-top:hover,
	.eec-footer__social-icon:hover,
	.eec-footer-newsletter__btn:hover,
	.eec-footer__nav-list a:hover {
		transform: none !important;
	}
}

@media print {
	.eec-footer-newsletter,
	.eec-footer__partners-band,
	.eec-back-to-top {
		display: none !important;
	}

	.eec-footer {
		background: #ffffff !important;
		color: #000 !important;
	}

	.eec-footer__inner * {
		color: #000 !important;
	}
}
