/* ==========================================================================
   Pied de page Wouly — vert sapin, comme la boutique actuelle
   ========================================================================== */

.wf-foot { color: #fff; font-family: var(--wh-font); }
.wf-foot a { color: inherit; text-decoration: none; }
.wf-foot h2 { color: #fff; }

/* Bandeau compte + avantages */
.wf-foot__band { background: #08382f; padding: 40px 0; }
.wf-foot__band-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.wf-foot__band-title { margin: 0 0 18px; font-size: 28px; font-weight: 600; line-height: 1.2; }
.wf-foot__account-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.wf-foot__account-row p { margin: 0; font-size: 16px; color: #fff; }
.wf-foot__account-row p a { text-decoration: underline; text-underline-offset: 3px; }
.wf-foot__account-row p a:hover { color: rgba(255, 255, 255, .75); }
.wf-foot__btn {
	display: inline-flex; align-items: center; min-height: 42px; padding: 5px 22px; box-sizing: border-box;
	border-radius: 35px; background: #fff; color: var(--wh-title) !important;
	font-size: 13px; font-weight: 600; text-transform: capitalize; transition: background .2s ease;
}
.wf-foot__btn:hover, .wf-foot__btn:focus { background: #e1edeb; }
.wf-foot__why-title { margin: 0 0 18px; font-size: 20px; font-weight: 600; line-height: 1.3; }
.wf-foot__perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.wf-foot__perks li { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 14px; font-weight: 600; line-height: 1.35; }
.wf-foot__perks a:hover { color: rgba(255, 255, 255, .75); }
.wf-ficon { width: 32px; height: 32px; flex: none; }

/* Colonnes */
.wf-foot__main { background: var(--wh-link); padding: 40px 0 0; }
.wf-foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 30px; padding-bottom: 40px; }
.wf-foot__logo { display: inline-block; margin-bottom: 16px; }
.wf-foot__logo span { font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.035em; color: #9fd9c9; }
.wf-foot__logo img { display: block; max-width: 272px; max-height: 50px; width: auto; height: auto; }
.wf-foot__brand p { max-width: 340px; margin: 0; font-size: 15px; font-weight: 500; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.wf-foot__col { margin: 0; }
.wf-foot__title {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	margin: 0 0 16px; list-style: none; cursor: default;
	font-size: 18px; font-weight: 600; line-height: 1.3; color: #fff;
}
.wf-foot__title::-webkit-details-marker { display: none; }
.wf-foot__title .wh-icon { display: none; width: 16px; height: 16px; transition: transform .2s ease; }
.wf-foot__links { margin: 0; padding: 0; list-style: none; }
.wf-foot__links li { margin: 0 0 12px; }
.wf-foot__links a { font-size: 15px; color: rgba(255, 255, 255, .72); transition: color .2s ease; }
.wf-foot__links a:hover, .wf-foot__links a:focus { color: #fff; }

/* Bas de page */
.wf-foot__bottom {
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 30px;
	padding-top: 20px; padding-bottom: 20px; border-top: 1px solid rgba(255, 255, 255, .12);
}
.wf-foot__copy { margin: 0; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .9); }
.wf-foot__pay { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.wf-pay {
	display: inline-flex; align-items: center; justify-content: center; height: 24px; min-width: 38px; padding: 0 8px;
	margin: 0; box-sizing: border-box; border-radius: 4px; background: #fff;
	font-size: 11px; font-weight: 700; line-height: 1; color: #1d1d1b; white-space: nowrap;
}
.wf-pay--visa { color: #1a1f71; font-style: italic; font-weight: 800; letter-spacing: .02em; }
.wf-pay--cb { color: #fff; background: linear-gradient(135deg, #1b3d8f 0%, #1a7fb5 55%, #2a9d5c 100%); }
.wf-pay--mastercard { color: #1d1d1b; }
.wf-pay--apple-pay, .wf-pay--google-pay { background: #000; color: #fff; }

/* Bouton retour en haut */
.wf-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 350;
	display: flex; align-items: center; justify-content: center; width: 50px; height: 50px;
	border-radius: 50%; background: #fff; color: var(--wh-nav);
	box-shadow: 0 0 9px rgba(0, 0, 0, .12);
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.wf-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.wf-top:hover, .wf-top:focus { color: var(--wh-primary); }
.wf-top .wf-ficon { width: 20px; height: 20px; }

/* Tablette */
@media (max-width: 1024px) {
	.wf-foot__band-inner { grid-template-columns: 1fr; gap: 30px; }
	.wf-foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.wf-foot__brand { grid-column: 1 / -1; }
	.wf-top { bottom: calc(70px + env(safe-area-inset-bottom)); right: 15px; width: 44px; height: 44px; }
}

/* Mobile : colonnes repliables */
@media (max-width: 767px) {
	.wf-foot__band { padding: 30px 0; }
	.wf-foot__band-title { font-size: 22px; }
	.wf-foot__why-title { font-size: 18px; }
	.wf-foot__perks { grid-template-columns: 1fr; gap: 14px; }
	.wf-foot__grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 20px; }
	.wf-foot__brand { margin-bottom: 20px; }
	.wf-foot__col { border-top: 1px solid rgba(255, 255, 255, .12); }
	.wf-foot__title { margin: 0; padding: 16px 0; cursor: pointer; font-size: 16px; }
	.wf-foot__title .wh-icon { display: block; }
	.wf-foot__col[open] .wf-foot__title .wh-icon { transform: rotate(180deg); }
	.wf-foot__links { padding-bottom: 8px; }
	.wf-foot__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	.wf-top, .wf-foot__title .wh-icon { transition: none; }
}
