/* Pied de page AORA — réorganisation du footer du thème (mu-plugin aora-footer.php). */
.footer-wrapper .footer {
	--ft-ink: #0B0708; --ft-text: #AEB8C0; --ft-soft: #C9D2D9; --ft-line: rgba(255, 255, 255, .1);
	--ft-red: #D62F2B; --ft-red-l: #FF6A5E; --ft-ease: cubic-bezier(.16, 1, .3, 1);
	position: relative; overflow: hidden; isolation: isolate;
	background: var(--ft-ink) !important; color: var(--ft-text);
	border-radius: 32px; padding: clamp(20px, 3vw, 40px) clamp(20px, 4vw, 56px) 0;
}
.footer-wrapper .footer .footer-bg { display: none; }
/* Halos rouges + grain, dans l'esprit des en-têtes de page. */
.footer-wrapper .footer::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(55% 45% at 100% 0%, rgba(214, 47, 43, .45), transparent 70%),
		radial-gradient(40% 50% at 0% 100%, rgba(163, 18, 30, .35), transparent 70%);
}
.footer-wrapper .footer::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.footer-wrapper .footer .footer-section { padding: 0; }
.footer-wrapper .footer .footer-row { max-width: 1320px; margin: 0 auto; padding: 0; }

/* ---------- Grille principale ---------- */
.footer-wrapper .footer .footer-widgets {
	display: grid !important; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.25fr);
	gap: 48px clamp(28px, 4vw, 64px); margin: 0 !important; padding: 0 0 clamp(40px, 5vw, 64px);
}
.footer-wrapper .footer .footer-widgets > .footer-widget { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; flex: none !important; }
/* Réseaux sociaux de démo (liens génériques) : remplacés par ceux de la colonne marque. */
.footer-wrapper .footer .footer-widgets > #block-28 { display: none !important; }

/* Bandeau d'appel à l'action */
.aora-ft-cta {
	grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap;
	margin-top: clamp(8px, 2vw, 16px); padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
	border-radius: 26px; border: 1px solid rgba(255, 255, 255, .12);
	background: linear-gradient(120deg, rgba(214, 47, 43, .22), rgba(255, 255, 255, .03) 55%), rgba(255, 255, 255, .03);
	backdrop-filter: blur(6px);
}
.aora-ft-cta__text { flex: 1 1 460px; min-width: 0; }
.footer .aora-ft-cta__title { margin: 0; font-family: Sora, Arial, sans-serif; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.15; letter-spacing: -.025em; font-weight: 500; color: #fff; text-wrap: balance; }
.aora-ft-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer .aora-ft-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #FFB3AC; }
.footer .aora-ft-kicker::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.footer .aora-ft-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; border-radius: 999px; font-size: 15px; font-weight: 700; line-height: 1; text-decoration: none !important; transition: transform .45s var(--ft-ease), background-color .3s, color .3s, border-color .3s; }
.footer .aora-ft-btn:hover { transform: translateY(-2px); }
.footer .aora-ft-btn .aora-ft-ico { width: 18px; height: 18px; }
.footer .aora-ft-btn--light { background: #fff; color: #141A21 !important; }
.footer .aora-ft-btn--light .aora-ft-ico { color: var(--ft-red); transition: transform .35s var(--ft-ease); }
.footer .aora-ft-btn--light:hover { background: var(--ft-red); color: #fff !important; }
.footer .aora-ft-btn--light:hover .aora-ft-ico { color: #fff; transform: translateX(3px); }
.footer .aora-ft-btn--ghost { color: #fff !important; border: 1px solid rgba(255, 255, 255, .28); }
.footer .aora-ft-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.aora-ft-ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Colonne marque */
.aora-ft-logo { display: inline-block; }
.aora-ft-logo img { display: block; width: 172px; height: auto; }
.footer .aora-ft-pitch { margin: 20px 0 18px; max-width: 36ch; font-size: 15px; line-height: 1.65; color: var(--ft-text); }
.footer .aora-ft-badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ft-line); font-size: 13px; font-weight: 600; color: var(--ft-soft); }
.aora-ft-dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: aora-ft-ping 2.4s ease-out infinite; }
@keyframes aora-ft-ping { 70%, 100% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } }
.footer ul.aora-ft-socials { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer .aora-ft-socials li { margin: 0; padding: 0; }
.footer .aora-ft-socials li::before { display: none !important; }
.footer .aora-ft-socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ft-line); color: #fff !important; transition: background-color .3s, border-color .3s, transform .45s var(--ft-ease); }
.footer .aora-ft-socials a:hover { background: var(--ft-red); border-color: var(--ft-red); transform: translateY(-3px); }

/* Titres de colonne (menus du thème + contact) */
.footer .footer-widgets .footer-widget-title, .footer .aora-ft-title {
	display: flex; align-items: center; gap: 10px; margin: 0 0 22px !important; padding: 0;
	font-family: Manrope, Arial, sans-serif !important; font-size: 12px !important; line-height: 1.2 !important; font-weight: 700 !important; letter-spacing: .16em !important; text-transform: uppercase; color: #fff !important;
}
.footer .footer-widgets .footer-widget-title::after, .footer .aora-ft-title::after { content: ""; flex: 1; height: 1px; background: var(--ft-line); }

/* Menus Entreprise / Services : glissement + flèche rouge au survol (comme le méga menu). */
.footer .widget_aiero_nav_menu_widget ul.menu { display: grid; gap: 4px; margin: 0; padding: 0; columns: auto !important; }
.footer .widget_aiero_nav_menu_widget ul.menu > li { margin: 0 !important; padding: 0 !important; }
.footer .widget_aiero_nav_menu_widget ul.menu > li::before { display: none !important; }
.footer .widget_aiero_nav_menu_widget ul.menu > li > a {
	position: relative; display: inline-flex; align-items: center; padding: 6px 0; font-size: 15px; line-height: 1.4; color: var(--ft-soft) !important;
	text-decoration: none !important; background: none !important; transition: color .3s, padding .45s var(--ft-ease);
}
.footer .widget_aiero_nav_menu_widget ul.menu > li > a::before {
	content: "→"; position: absolute; left: 0; top: 50%; opacity: 0; transform: translate(-8px, -50%); color: var(--ft-red-l); transition: opacity .3s, transform .45s var(--ft-ease);
}
.footer .widget_aiero_nav_menu_widget ul.menu > li > a:hover { color: #fff !important; padding-left: 22px; }
.footer .widget_aiero_nav_menu_widget ul.menu > li > a:hover::before { opacity: 1; transform: translate(0, -50%); }
.footer .widget_aiero_nav_menu_widget ul.menu > li.current-menu-item > a { color: #fff !important; padding-left: 22px; border: 0 !important; box-shadow: none !important; text-decoration: none !important; }
.footer .widget_aiero_nav_menu_widget ul.menu > li.current-menu-item > a::before { opacity: 1; transform: translate(0, -50%); content: "→"; }
.footer .widget_aiero_nav_menu_widget ul.menu > li.current-menu-item > a::after { display: none !important; }

/* Colonne contact */
.footer .aora-ft-contact ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.footer .aora-ft-contact li { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 0; font-size: 15px; line-height: 1.5; color: var(--ft-soft); }
.footer .aora-ft-contact li::before { display: none !important; }
.footer .aora-ft-contact .aora-ft-ico { width: 36px; height: 36px; padding: 8px; margin-top: -6px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: var(--ft-red-l); transition: background-color .3s, color .3s; }
.footer .aora-ft-contact li:hover .aora-ft-ico { background: var(--ft-red); color: #fff; }
.footer .aora-ft-contact a { color: var(--ft-soft) !important; text-decoration: none !important; background: linear-gradient(#fff, #fff) 0 100% / 0 1px no-repeat; transition: color .3s, background-size .5s var(--ft-ease); }
.footer .aora-ft-contact a:hover { color: #fff !important; background-size: 100% 1px; }

/* ---------- Mots-clés animés (aora-footer-keywords.php, inchangé) : simple cadrage ---------- */
.footer-wrapper .footer .aora-footer-keywords-section { padding: 28px 0 8px; border-top: 1px solid var(--ft-line); }
.footer-wrapper .footer .aora-footer-keywords-section .footer-row { position: relative; padding-top: 34px; }
.footer-wrapper .footer .aora-footer-keywords-section .footer-row::before {
	content: "Nos expertises · attrapez une bulle"; position: absolute; left: 0; top: 0; z-index: 3;
	font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .38); pointer-events: none;
}

/* ---------- Barre du bas ---------- */
.footer-wrapper .footer .footer-section-bottom { padding: 0; }
.footer-wrapper .footer .footer-section-bottom .footer-columns-row {
	max-width: 1320px; margin: 0 auto; padding: 24px 0 28px !important; border-top: 1px solid var(--ft-line);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
}
.footer-wrapper .footer .footer-section-bottom .footer-columns-row::before { display: none !important; }
.footer-wrapper .footer .footer-copyrights-container { width: auto !important; flex: none !important; margin: 0 !important; padding: 0 !important; font-size: 14px; color: var(--ft-text); text-align: left !important; }
.aora-ft-bottom-extra { display: flex; align-items: center; gap: 20px; font-size: 14px; color: var(--ft-text); }
.aora-ft-made { display: inline-flex; align-items: center; gap: 8px; }
.aora-ft-made i { font-style: normal; color: var(--ft-red-l); }
body .footer-wrapper .footer button.aora-ft-top { height: auto; min-height: 0; margin: 0; box-shadow: none; text-transform: none; letter-spacing: 0; }
.footer .aora-ft-top { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border: 1px solid var(--ft-line); border-radius: 999px; background: none; color: #fff; font: 600 14px/1 Manrope, Arial, sans-serif; cursor: pointer; transition: background-color .3s, border-color .3s; }
.footer .aora-ft-top .aora-ft-ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--ft-red); transition: transform .45s var(--ft-ease); }
body .footer-wrapper .footer button.aora-ft-top { display: inline-flex !important; align-items: center !important; gap: 10px; border: 1px solid rgba(255, 255, 255, .16) !important; border-radius: 999px !important; padding: 7px 16px 7px 7px !important; background: transparent !important; color: #fff !important; font: 600 14px/1 Manrope, Arial, sans-serif !important; outline: 0; }
body .footer-wrapper .footer button.aora-ft-top::before, body .footer-wrapper .footer button.aora-ft-top::after { display: none !important; }
body .footer-wrapper .footer button.aora-ft-top:hover { background: rgba(255, 255, 255, .08) !important; border-color: rgba(255, 255, 255, .35) !important; }
.footer .aora-ft-top:hover .aora-ft-ico { transform: translateY(-3px); }
.footer .aora-ft-top:focus-visible, .footer a:focus-visible { outline: 2px solid var(--ft-red-l); outline-offset: 3px; }

/* ---------- Apparition au défilement ---------- */
html.aora-ft-js [data-ft-reveal], html.aora-ft-js .footer .footer-widgets > .footer-widget { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ft-ease), transform 1.1s var(--ft-ease); transition-delay: var(--ft-d, 0ms); }
html.aora-ft-js .footer.is-in [data-ft-reveal], html.aora-ft-js .footer.is-in .footer-widgets > .footer-widget { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.footer-wrapper .footer .footer-widgets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.aora-ft-brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 0 32px; align-items: start; }
	.aora-ft-brand .aora-ft-logo { grid-row: span 3; }
	.footer .aora-ft-pitch { margin-top: 0; }
}
@media (max-width: 767px) {
	.footer-wrapper { margin: 0 10px 10px !important; }
	.footer-wrapper .footer { border-radius: 24px; padding: 14px 18px 0; }
	.footer-wrapper .footer .footer-widgets { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
	.aora-ft-brand { display: block; }
	.aora-ft-contact { grid-column: 1 / -1; }
	.aora-ft-cta__actions, .footer .aora-ft-btn { width: 100%; justify-content: center; }
	.footer .aora-ft-btn--ghost { font-size: 14px; }
	.footer-wrapper .footer .footer-section-bottom .footer-columns-row { flex-direction: column; align-items: flex-start; }
	.aora-ft-bottom-extra { width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
	body .footer-wrapper .footer button.aora-ft-top { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
	.aora-ft-dot { animation: none; }
	html.aora-ft-js [data-ft-reveal], html.aora-ft-js .footer .footer-widgets > .footer-widget { opacity: 1; transform: none; transition: none; }
}
