/* =========================================================
   Alvin D'or – Pied de page « palette »
   ========================================================= */
.ad-footer { display: none !important; } /* ancien pied de page, s'il traîne en cache */

.adf {
	--e: cubic-bezier(.22,.8,.24,1);
	position: relative; overflow: hidden; isolation: isolate;
	background: radial-gradient(120% 80% at 50% 0%, #3a2e2a 0%, #2E2522 55%, #231c1a 100%);
	color: rgba(244,231,223,.72); font-size: .86rem; margin-top: 0;
}
.adf a { color: inherit; text-decoration: none; transition: color .25s; }
.adf a:hover { color: #fff; }

/* ---------- Palette de teintes ---------- */
.adf-palette { display: flex; height: 64px; position: relative; z-index: 2; }
.adf-swatch {
	position: relative; flex: 1 1 0; min-width: 0; background: var(--c, #4a3c37);
	transition: flex-grow .5s var(--e), filter .3s, background-color .8s;
	transform-origin: top; animation: adf-drip .9s var(--e) both; animation-delay: calc(var(--i) * 25ms);
	animation-play-state: paused;
}
.adf-palette.is-in .adf-swatch { animation-play-state: running; }
@keyframes adf-drip { from { transform: scaleY(0); } }
.adf-swatch:hover, .adf-swatch:focus-visible { flex-grow: 5; filter: brightness(1.06); outline: none; }
.adf-swatch::after { content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 18px; background: inherit; border-radius: 0 0 50% 50% / 0 0 100% 100%; transform: scaleY(0); transform-origin: top; transition: transform .45s var(--e); }
.adf-swatch:hover::after { transform: scaleY(1); }
.adf-swatch__tip {
	position: absolute; left: 50%; top: calc(100% + 26px); transform: translate(-50%, 6px); white-space: nowrap;
	background: #F4E7DF; color: var(--ad-ink); font-size: .68rem; padding: .45em .9em; border-radius: 999px;
	opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 3; box-shadow: 0 8px 18px rgba(0,0,0,.25);
}
.adf-swatch:hover .adf-swatch__tip { opacity: 1; transform: translate(-50%, 0); }
.adf-swatch:first-child .adf-swatch__tip { left: 0; transform: translate(0, 6px); }
.adf-swatch:last-child .adf-swatch__tip { left: auto; right: 0; transform: translate(0, 6px); }
@media (max-width: 760px) {
	.adf-palette { height: 34px; }
	.adf-swatch:nth-child(n+21) { display: none; }
	.adf-swatch__tip, .adf-swatch::after { display: none; }
}

/* ---------- Contenu ---------- */
.adf-inner { max-width: 1240px; margin: 0 auto; padding: 4.2rem 1.4rem 1rem; position: relative; z-index: 1; }
.adf-hero { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.adf-eyebrow { font-size: .64rem; letter-spacing: .34em; text-transform: uppercase; color: var(--ad-rosegold-2); margin: 0 0 1rem; }
.adf-title { font-family: var(--global-heading-font-family); font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 500; line-height: 1.04; color: #fff; margin: 0; }
.adf-title em { font-style: italic; font-weight: 400; color: #F3C9AE; }
.adf-sub { margin: 1rem auto 0; max-width: 520px; line-height: 1.7; }
.adf-sub strong { color: #F4E7DF; }
.adf-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.6rem; }
.adf .adf-btn { display: inline-flex; align-items: center; justify-content: center; background: #F4E7DF; color: var(--ad-ink); border: 1px solid #F4E7DF; border-radius: 999px; padding: 1em 1.6em; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; transition: background .3s, color .3s, transform .3s var(--e); }
.adf .adf-btn:hover { background: var(--ad-rosegold); border-color: var(--ad-rosegold); color: #fff; transform: translateY(-2px); }
.adf .adf-btn--ghost { background: transparent; color: #F4E7DF; border-color: rgba(244,231,223,.35); }

.adf-perks { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 900px) { .adf-perks { grid-template-columns: repeat(4, 1fr); } }
.adf-perks li { display: flex; align-items: center; gap: .8rem; background: rgba(255,255,255,.04); border: 1px solid rgba(244,231,223,.1); border-radius: 18px; padding: .9rem 1rem; margin: 0; transition: background .3s, border-color .3s, transform .3s var(--e); }
.adf-perks li:hover { background: rgba(255,255,255,.07); border-color: rgba(207,164,140,.4); transform: translateY(-3px); }
.adf-perks b { flex: none; width: 38px; height: 38px; border-radius: 50%; background: rgba(207,164,140,.16); display: grid; place-items: center; font-size: .95rem; color: #F3C9AE; }
.adf-perks span { font-size: .74rem; line-height: 1.35; }
.adf-perks strong { display: block; color: #F4E7DF; font-size: .82rem; font-weight: 600; }

.adf-cols { display: grid; gap: 2rem; padding: 2.4rem 0 1rem; border-top: 1px solid rgba(244,231,223,.1); }
@media (min-width: 900px) { .adf-cols { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; } }
.adf-logo { max-width: 190px; height: auto; margin-bottom: 1rem; }
.adf-name { font-family: var(--global-heading-font-family); font-size: 2rem; color: #fff; margin: 0 0 1rem; }
.adf-brand p { line-height: 1.7; max-width: 320px; margin: 0 0 1.2rem; }
.adf-social { display: flex; flex-wrap: wrap; gap: .5rem; }
.adf-social a { border: 1px solid rgba(244,231,223,.25); border-radius: 999px; padding: .5em 1em; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.adf-social a:hover { background: #F4E7DF; color: var(--ad-ink); border-color: #F4E7DF; }
.adf-col summary { list-style: none; font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: #F4E7DF; font-weight: 600; margin-bottom: 1rem; cursor: default; }
.adf-col summary::-webkit-details-marker { display: none; }
.adf-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.adf-col ul a { position: relative; }
.adf-col ul a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px; background: var(--ad-rosegold-2); transition: right .35s var(--e); }
.adf-col ul a:hover::after { right: 0; }
@media (max-width: 899px) {
	.adf-cols { gap: 0; }
	.adf-brand { padding-bottom: 1.6rem; }
	details.adf-col { border-top: 1px solid rgba(244,231,223,.1); padding: 1rem 0; }
	details.adf-col summary { cursor: pointer; margin: 0; display: flex; justify-content: space-between; }
	details.adf-col summary::after { content: "+"; font-size: 1rem; letter-spacing: 0; color: var(--ad-rosegold-2); transition: transform .3s; }
	details.adf-col[open] summary::after { transform: rotate(45deg); }
	details.adf-col ul { margin-top: .9rem; }
}

/* ---------- Grand nom scintillant ---------- */
.adf-word { position: relative; z-index: 0; text-align: center; line-height: .78; margin: 1rem 0 -0.12em; pointer-events: none; user-select: none; }
.adf-word span {
	display: inline-block; font-family: var(--global-heading-font-family); font-weight: 500; font-size: clamp(4.2rem, 19vw, 17rem); letter-spacing: -.01em; white-space: nowrap;
	background: linear-gradient(100deg, rgba(207,164,140,.16) 0%, rgba(207,164,140,.16) 40%, rgba(247,212,190,.75) 50%, rgba(207,164,140,.16) 60%, rgba(207,164,140,.16) 100%);
	background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
	animation: adf-shine 7s ease-in-out infinite;
}
@keyframes adf-shine { 0% { background-position: 120% 0; } 60%, 100% { background-position: -30% 0; } }

/* ---------- Bas de page ---------- */
.adf-bottom { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; max-width: 1240px; margin: 0 auto; padding: 1.2rem 1.4rem 1.6rem; border-top: 1px solid rgba(244,231,223,.1); font-size: .72rem; }
@media (max-width: 760px) { .adf-bottom { justify-content: center; text-align: center; } .adf-bottom__mid { width: 100%; order: 3; } }
.adf .adf-top { display: inline-flex; align-items: center; gap: .5rem; background: none; border: 1px solid rgba(244,231,223,.25); color: #F4E7DF; border-radius: 999px; padding: .4em 1em .4em .7em; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: border-color .3s, background .3s; }
.adf .adf-top svg { width: 12px; height: 20px; color: var(--ad-rosegold-2); transition: transform .5s var(--e); }
.adf .adf-top:hover { background: rgba(255,255,255,.06); border-color: var(--ad-rosegold-2); color: #fff; }
.adf .adf-top:hover svg { transform: translateY(-4px); }

/* Les barres collantes (accueil, fiche produit) ne masquent pas le bas de page */
.home .adf-bottom, .single-product .adf-bottom { padding-bottom: 6rem; }
@media (min-width: 1025px) { .single-product .adf-bottom { padding-bottom: 1.6rem; } }

@media (prefers-reduced-motion: reduce) {
	.adf-swatch { animation: none; }
	.adf-word span { animation: none; }
}

@media (max-width: 480px) {
	.adf-perks { grid-template-columns: 1fr; gap: .5rem; }
	.adf-perks li { padding: .75rem .9rem; }
	.adf-inner { padding-top: 3rem; }
}
