/* Pied de page de Picshinem — voir includes/footer.php et footer.js.
   Toujours marron profond, textes beige, détails dorés (couleurs de Laura). */

/* Le pied de page d'Inspiro (widgets + copyright) laisse la place au nôtre. */
.site-footer:has(.psu-foot),
.site-footer:has(.psu-foot) .footer-widgets {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
}

.site-footer:has(.psu-foot) > .inner-wrap {
	max-width: none !important;
	padding: 0 !important;
}

.site-footer:has(.psu-foot) .footer-widgets,
.site-footer:has(.psu-foot) .site-footer-separator,
.site-footer:has(.psu-foot) .site-info {
	display: none !important;
}

.psu-foot {
	--pf-bg: #3b2a1f; /* marron d'origine (Laura, 2026-11-01 : le bleu marine ne lui allait pas ici) */
	--pf-bg-2: #47331f;
	--pf-text: #f3e9dc;
	--pf-muted: #cdb9a3;
	--pf-gold: #d4b073;
	--pf-gold-2: #f0d9a8;
	--pf-line: rgba(240, 215, 180, .16);
	--pf-ease: cubic-bezier(.22, .61, .36, 1);
	position: relative;
	width: 100vw;
	margin: 0 calc(50% - 50vw);
	overflow-x: clip;
	color: var(--pf-text);
	font-size: 15px;
	line-height: 1.7;
}

html:not([data-psu-theme="light"]) .psu-foot {
	--pf-bg: #000;
	--pf-bg-2: #0b0b0b;
}

/* ------------------------------------------------------------ vague du haut */

.psu-foot__wave {
	display: block;
	width: 100%;
	height: clamp(50px, 7vw, 110px);
	margin-bottom: -1px;
	overflow: visible;
}

.psu-foot__wave-fill {
	fill: var(--pf-bg);
	animation: psu-foot-wave 14s ease-in-out infinite alternate;
	transform-origin: 50% 100%;
}

.psu-foot__wave-gold {
	fill: none;
	stroke: var(--psu-gold, #b8914f);
	stroke-width: 1.2;
	opacity: .75;
	vector-effect: non-scaling-stroke;
	animation: psu-foot-wave 14s ease-in-out -7s infinite alternate;
	transform-origin: 50% 100%;
}

@keyframes psu-foot-wave {
	from { transform: translateX(-2%) scaleY(1); }
	to   { transform: translateX(2%) scaleY(1.18); }
}

.psu-foot__body {
	position: relative;
	overflow: hidden;
	padding: 0 var(--psu-gutter, 24px) 28px;
	background:
		radial-gradient(55% 45% at 85% 45%, rgba(212, 176, 115, .13), transparent 70%),
		radial-gradient(50% 40% at 10% 90%, rgba(212, 176, 115, .08), transparent 70%),
		linear-gradient(180deg, var(--pf-bg) 0%, var(--pf-bg-2) 100%);
}

.psu-foot__body > * {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

/* ------------------------------------------------------------ bandeau de mots */

.psu-foot__marquee {
	max-width: none;
	margin: 0 calc(-1 * var(--psu-gutter, 24px));
	padding: clamp(10px, 2vw, 22px) 0 clamp(36px, 5vw, 64px);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.psu-foot__track {
	display: flex;
	width: max-content;
	animation: psu-foot-marquee 48s linear infinite;
}

.psu-foot__words {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.psu-foot__words span {
	padding: 0 .55em;
	font-size: clamp(24px, 3.4vw, 46px); /* un peu plus petite (2026-11-02) */
	font-style: italic;
	font-weight: 300;
	letter-spacing: -.01em;
	white-space: nowrap;
	color: var(--pf-text); /* tous pleins (Laura, 2026-11-01) ; avant, 3 mots sur 4 étaient au trait */
	transition: color .6s var(--pf-ease);
}

.psu-foot__words i {
	font-style: normal;
	font-size: clamp(14px, 1.6vw, 22px);
	color: var(--pf-gold);
}

.psu-foot__marquee:hover .psu-foot__track {
	animation-play-state: paused;
}

@keyframes psu-foot-marquee {
	to { transform: translateX(-50%); }
}

/* ------------------------------------------------------------ invitation + arches */

.psu-foot__invite {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(32px, 5vw, 80px);
	padding-bottom: clamp(48px, 6vw, 88px);
	border-bottom: 1px solid var(--pf-line);
}

.psu-foot p.psu-foot__kicker {
	margin: 0 0 14px !important;
	font-size: 12px;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--pf-gold) !important;
}

.site-footer .psu-foot h2.psu-foot__title,
.psu-foot__title {
	margin: 0 0 30px !important;
	font-size: clamp(34px, 4.4vw, 62px) !important;
	font-weight: 400 !important;
	line-height: 1.08;
	letter-spacing: -.02em !important;
	text-transform: none;
	color: var(--pf-text) !important;
}

.psu-foot__title em {
	font-style: italic;
	font-weight: 300;
	color: var(--pf-gold) !important;
}

.psu-foot__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* Les deux boutons d'appel à l'action, mis en valeur (Laura, 2026-11-01) : plus grands, doré plein
   avec un reflet qui passe de temps en temps pour « Me contacter », liseré doré pour l'appel. */
.site-footer a.psu-foot__btn,
.psu-foot__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 17px 32px;
	overflow: hidden;
	border: 1.5px solid var(--pf-gold);
	border-radius: 999px;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: .01em;
	color: var(--pf-gold-2) !important;
	background: rgba(240, 217, 168, .07);
	background-image: none !important;
	isolation: isolate;
	transition: background-color .5s var(--pf-ease), color .5s var(--pf-ease), border-color .5s, box-shadow .6s var(--pf-ease), transform .5s var(--pf-ease);
}

.site-footer a.psu-foot__btn--solid,
.psu-foot__btn--solid {
	border-color: transparent;
	background: linear-gradient(135deg, #f0d9a8 0%, #d4b073 45%, #b8914f 100%) !important;
	background-origin: border-box !important;
	color: #1a1208 !important;
	box-shadow: 0 0 0 4px rgba(212, 176, 115, .16), 0 18px 44px -16px rgba(212, 176, 115, .7);
}

/* Reflet doré qui traverse le bouton toutes les quelques secondes. */
.psu-foot__btn--solid::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
	transform: translateX(-120%);
	animation: psu-foot-shine 4.5s var(--pf-ease) infinite;
}

@keyframes psu-foot-shine {
	0%, 55% { transform: translateX(-120%); }
	85%, 100% { transform: translateX(120%); }
}

.psu-foot__btn i {
	display: inline-flex;
	font-style: normal;
	transition: transform .5s var(--pf-ease);
}

.site-footer a.psu-foot__btn:hover,
.psu-foot__btn:hover {
	border-color: var(--pf-gold-2);
	background: rgba(240, 217, 168, .16);
	box-shadow: 0 18px 44px -16px rgba(212, 176, 115, .6);
	transform: translateY(-3px);
	color: #fff !important;
}

.site-footer a.psu-foot__btn--solid:hover {
	background: linear-gradient(135deg, #f6e6c4 0%, #e0c085 45%, #c9a565 100%) !important;
	box-shadow: 0 0 0 6px rgba(212, 176, 115, .2), 0 22px 50px -16px rgba(212, 176, 115, .8);
	color: #1a1208 !important;
}

.psu-foot__btn:hover i {
	transform: translateX(4px);
}

.psu-foot__btn:not(.psu-foot__btn--solid):hover i {
	transform: translate(3px, -3px);
}

@media (max-width: 560px) {
	.psu-foot__cta {
		flex-direction: column;
	}

	.site-footer a.psu-foot__btn,
	.psu-foot__btn {
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.psu-foot__btn--solid::after {
		animation: none;
	}
}

.psu-foot__arches {
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	gap: clamp(10px, 1.4vw, 18px);
}

/* Photos aux coins doucement arrondis, tous pareils, liseré doré (Laura, 2026-11-01 : plus de
   forme « fenêtre » arrondie en haut et droite en bas). */
.psu-foot__arch {
	position: relative;
	flex: 0 1 30%;
	max-width: 190px;
	aspect-ratio: 3 / 4.6;
	overflow: hidden;
	border-radius: 22px;
	box-shadow: 0 0 0 1px rgba(240, 217, 168, .35), 0 24px 50px -20px rgba(0, 0, 0, .55);
	animation: psu-foot-float 7s ease-in-out infinite alternate;
	animation-delay: calc(var(--i) * -2.3s);
}

.psu-foot__arch:nth-child(2) {
	max-width: 220px;
	flex-basis: 36%;
	margin-bottom: clamp(20px, 3vw, 44px);
}

.psu-foot__arch img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transition: transform 1.2s var(--pf-ease), filter 1.2s;
	filter: sepia(.18) saturate(.9);
}

.psu-foot__arch:hover img {
	transform: scale(1.06);
	filter: none;
}

@keyframes psu-foot-float {
	from { translate: 0 6px; }
	to   { translate: 0 -8px; }
}

/* ------------------------------------------------------------ colonnes */

.psu-foot__cols {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	gap: 32px;
	padding: clamp(40px, 5vw, 64px) 0 clamp(20px, 3vw, 40px);
}

.psu-foot p {
	margin: 0;
	color: var(--pf-muted) !important;
}

.psu-foot p.psu-foot__brand {
	margin-bottom: 10px !important;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--pf-text) !important;
}

.psu-foot__about em {
	font-style: italic;
	color: var(--pf-gold);
}

.psu-foot p.psu-foot__head {
	margin-bottom: 14px !important;
	font-size: 12px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--pf-gold) !important;
}

.psu-foot ul {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.psu-foot li {
	margin: 0 0 6px !important;
	padding: 0 !important;
	list-style: none !important;
}

.psu-foot li::before {
	content: none !important;
}

.site-footer .psu-foot li a,
.psu-foot li a {
	position: relative;
	color: var(--pf-text) !important;
	background-image: linear-gradient(var(--pf-gold), var(--pf-gold)) !important;
	background-size: 0 1px !important;
	background-position: 0 100% !important;
	background-repeat: no-repeat !important;
	transition: background-size .5s var(--pf-ease), color .4s, padding .5s var(--pf-ease);
}

.site-footer .psu-foot li a:hover,
.psu-foot li a:hover {
	padding-left: 14px;
	background-size: 100% 1px !important;
	background-position: 14px 100% !important;
	color: var(--pf-gold-2) !important;
}

.psu-foot li a::before {
	content: "•";
	position: absolute;
	left: 0;
	top: 50%;
	font-size: 9px;
	color: var(--pf-gold);
	opacity: 0;
	transform: translate(-6px, -50%) scale(.4);
	transition: opacity .4s, transform .5s var(--pf-ease);
}

.psu-foot li a:hover::before {
	opacity: 1;
	transform: translate(0, -50%) scale(1);
}

.psu-foot__social {
	display: flex;
	gap: 10px;
	margin-top: 18px;
}

.site-footer .psu-foot__social a,
.psu-foot__social a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(240, 217, 168, .35);
	border-radius: 50%;
	color: var(--pf-text) !important;
	background: none !important;
	transition: border-color .4s, color .4s, transform .5s var(--pf-ease), box-shadow .5s;
}

.psu-foot__social a:hover {
	border-color: var(--pf-gold);
	color: var(--pf-gold) !important;
	transform: translateY(-3px) rotate(-6deg);
	box-shadow: 0 10px 26px -10px rgba(212, 176, 115, .6);
}

.psu-foot__social svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
}

.psu-foot__social .psu-foot__dot {
	fill: currentColor;
	stroke: none;
}

/* ------------------------------------------------------------ signature */

.psu-foot p.psu-foot__sign {
	display: flex;
	justify-content: center;
	max-width: none;
	margin: clamp(4px, 1vw, 12px) 0 0 !important;
	font-size: clamp(54px, 13.5vw, 230px);
	font-weight: 300;
	font-style: italic;
	line-height: 1;
	letter-spacing: -.035em;
	white-space: nowrap;
	color: transparent !important;
	user-select: none;
}

.psu-foot__sign span {
	display: inline-block;
	padding: .2em .22em .14em .04em;
	margin-right: -.18em;
	background: linear-gradient(100deg, #b8914f 0%, #f0d9a8 28%, #c9a565 46%, #f6e6c4 62%, #b8914f 100%);
	background-size: 260% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: psu-foot-shine 9s ease-in-out infinite;
	animation-delay: calc(var(--k) * .12s);
}

@keyframes psu-foot-shine {
	0%, 100% { background-position: 100% 0; }
	50%      { background-position: 0 0; }
}

/* ------------------------------------------------------------ bas de page */

.psu-foot__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 10px 28px;
	padding-top: 20px;
	border-top: 1px solid var(--pf-line);
	font-size: 13px;
}

.psu-foot__bottom ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
}

.psu-foot__bottom li {
	margin: 0 !important;
}

.site-footer .psu-foot__bottom li a {
	color: var(--pf-muted) !important;
}

.psu-foot__heart {
	display: inline-block;
	color: var(--pf-gold);
	animation: psu-foot-beat 2.6s ease-in-out infinite;
}

@keyframes psu-foot-beat {
	0%, 60%, 100% { transform: scale(1); }
	30%           { transform: scale(1.25); }
}

/* ------------------------------------------------------------ apparitions (footer.js) */

.psu-foot.is-live .psu-foot__in {
	opacity: 0;
	transform: translateY(28px);
	filter: blur(6px);
	transition: opacity 1s var(--pf-ease), transform 1.2s var(--pf-ease), filter 1s var(--pf-ease);
}

.psu-foot.is-live .psu-foot__arch.psu-foot__in {
	transform: translateY(60px);
	clip-path: inset(100% 0 0 0 round 22px);
	transition: opacity 1s var(--pf-ease), transform 1.4s var(--pf-ease), clip-path 1.4s var(--pf-ease), filter 1s;
	transition-delay: calc(.15s + var(--i) * .15s);
}

.psu-foot.is-live .psu-foot__in.is-in {
	opacity: 1;
	transform: none;
	filter: none;
}

.psu-foot.is-live .psu-foot__arch.psu-foot__in.is-in {
	clip-path: inset(0 0 0 0 round 22px);
}

.psu-foot.is-live .psu-foot__cols .psu-foot__in:nth-child(2) { transition-delay: .1s; }
.psu-foot.is-live .psu-foot__cols .psu-foot__in:nth-child(3) { transition-delay: .2s; }
.psu-foot.is-live .psu-foot__cols .psu-foot__in:nth-child(4) { transition-delay: .3s; }

/* Signature : les lettres montent une à une. */
.psu-foot.is-live .psu-foot__sign span {
	opacity: 0;
	transform: translateY(45%) rotate(4deg);
	transition: opacity .9s var(--pf-ease), transform 1.2s var(--pf-ease);
	transition-delay: calc(var(--k) * .06s);
}

.psu-foot.is-live .psu-foot__sign.is-in span {
	opacity: 1;
	transform: none;
}

/* ------------------------------------------------------------ tablette / téléphone */

@media (max-width: 980px) {
	.psu-foot__invite {
		grid-template-columns: 1fr;
	}

	.psu-foot__arches {
		justify-content: center;
	}

	.psu-foot__cols {
		grid-template-columns: 1fr 1fr;
	}

	.psu-foot__cols > :first-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.psu-foot__cols {
		gap: 28px 20px;
	}

	.psu-foot__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.psu-foot__arch {
		max-width: 120px;
	}

	.psu-foot__arch:nth-child(2) {
		max-width: 140px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.psu-foot *,
	.psu-foot *::before {
		animation: none !important;
		transition: none !important;
	}
}

/* Un séparateur laissé tout en bas d'une page ferait doublon avec la vague. */
.entry-content > .wp-block-separator:last-child,
.entry-content > .wp-block-separator:has(+ p:empty:last-child),
.entry-content > .wp-block-separator:has(+ p:empty + p:empty:last-child) {
	display: none;
}

/* « Gérer les cookies » (ajouté par ui.js) : même allure que les liens légaux. */
.psu-foot__bottom .psu-consent-link {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: var(--pf-muted);
	cursor: pointer;
	transition: color .4s;
}

.psu-foot__bottom .psu-consent-link:hover {
	color: var(--pf-gold-2);
}

/* Le bouton « haut de page » ne recouvre plus les liens du bas de page sur mobile (6 novembre 2026). */
@media (max-width: 700px) {
	.psu-foot__bottom {
		padding-bottom: 76px;
	}

	.psu-foot__bottom .psu-consent-link {
		padding-block: 8px;
	}
}

/* Flèches en SVG (iPhone affichait « → » / « ↗ » en emoji, 2026-11-10). */
.psu-foot__btn i svg,
.psu-greviews__btn i svg {
	display: block;
	width: 1em;
	height: 1em;
}
.psu-greviews__btn i {
	display: inline-flex;
	font-style: normal;
}

/* Téléphone / écran tactile : pas de survol, la teinte sépia restait pour toujours sur les trois
   photos (couleurs fausses, 2026-11-10). Photos en vraies couleurs. */
@media (hover: none), (max-width: 780px) {
	.psu-foot__arch img {
		filter: none;
	}
}
