/**
 * Objectif Déclic — pied de page moderne (COMBO 03)
 */

body.od-custom-footer .td-footer-template-wrap,
body.od-custom-footer .td-footer-page,
body.od-custom-footer .td-footer-wrapper,
body.od-custom-footer .td-footer-wrap,
body.od-custom-footer .td-sub-footer-container {
	display: none !important;
}

.od-footer {
	--od-footer-max: 1180px;
	position: relative;
	margin-top: auto;
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(253, 128, 46, 0.08) 0%, transparent 55%),
		linear-gradient(180deg, #1f3542 0%, var(--od-charcoal, #233d4c) 100%);
	color: rgba(255, 255, 255, 0.88);
	font-family: var(--od-font-ui, "DM Sans", system-ui, sans-serif);
}

.od-footer__accent {
	height: 3px;
	background: linear-gradient(90deg, var(--od-pumpkin, #fd802e) 0%, #ffb07a 50%, var(--od-pumpkin, #fd802e) 100%);
}

.od-footer__inner {
	width: min(var(--od-footer-max), calc(100% - 2.5rem));
	margin: 0 auto;
	padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(1.25rem, 3vw, 1.75rem);
}

.od-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: start;
}

.od-footer__brand {
	max-width: 22rem;
}

.od-footer__logo {
	display: inline-block;
	margin-bottom: 1rem;
	border-radius: 10px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.od-footer__logo img {
	display: block;
	width: min(220px, 100%);
	height: auto;
}

.od-footer__logo:hover,
.od-footer__logo:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.od-footer__tagline {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.72);
}

.od-footer__title {
	position: relative;
	margin: 0 0 1rem;
	padding-bottom: 0.65rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
}

.od-footer__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 2.25rem;
	height: 2px;
	border-radius: 999px;
	background: var(--od-pumpkin, #fd802e);
}

.od-footer__about p,
.od-footer__social p {
	margin: 0 0 1rem;
	font-size: 0.92rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.72);
}

.od-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.od-footer__links a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.95rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
}

.od-footer__links a::before {
	content: "";
	width: 0.35rem;
	height: 0.35rem;
	border-radius: 50%;
	background: rgba(253, 128, 46, 0.55);
	transition: background 0.2s ease, transform 0.2s ease;
}

.od-footer__links a:hover,
.od-footer__links a:focus-visible {
	color: #fff;
}

.od-footer__links a:hover::before,
.od-footer__links a:focus-visible::before {
	background: var(--od-pumpkin, #fd802e);
	transform: scale(1.15);
}

.od-footer__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
	padding: 0.55rem 1.1rem;
	border-radius: 999px;
	background: var(--od-pumpkin, #fd802e);
	color: #fff !important;
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 8px 22px rgba(253, 128, 46, 0.28);
	transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.od-footer__cta:hover,
.od-footer__cta:focus-visible {
	background: var(--od-pumpkin-dark, #e56d18);
	transform: translateY(-1px);
	box-shadow: 0 12px 26px rgba(253, 128, 46, 0.34);
}

.od-footer__social-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.od-footer__social-link {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	min-height: 2.75rem;
	padding: 0.55rem 1rem 0.55rem 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.od-footer__social-link:hover,
.od-footer__social-link:focus-visible {
	border-color: rgba(253, 128, 46, 0.45);
	background: rgba(253, 128, 46, 0.12);
	transform: translateY(-1px);
}

.od-footer__social-icon {
	flex-shrink: 0;
}

.od-footer__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin-top: clamp(2rem, 4vw, 2.75rem);
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.od-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.25rem;
	width: 100%;
}

.od-footer__legal a {
	font-size: 0.82rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
}

.od-footer__legal a:hover,
.od-footer__legal a:focus-visible {
	color: var(--od-pumpkin, #fd802e);
	text-decoration: underline;
}

.od-footer__copy,
.od-footer__credit {
	margin: 0;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.55);
}

.od-footer__credit a {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
}

.od-footer__credit a:hover,
.od-footer__credit a:focus-visible {
	color: var(--od-pumpkin, #fd802e);
}

@media (max-width: 980px) {
	.od-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.od-footer__brand {
		grid-column: 1 / -1;
		max-width: none;
	}
}

@media (max-width: 620px) {
	.od-footer__inner {
		width: min(var(--od-footer-max), calc(100% - 1.5rem));
	}

	.od-footer__grid {
		grid-template-columns: 1fr;
	}

	.od-footer__bar {
		flex-direction: column;
		align-items: flex-start;
	}
}
