/*
 * Guide de Noël la Cense (refonte du 01/12/2026, décor festif du 02/12).
 * Veillée d'hiver au haras : hero de nuit sous la neige, guirlandes lumineuses (hero, carte cadeau), congères,
 * une branche de sapin et houx (livres), nœuds de ruban rouge sur les cadeaux (simplifié le 02/12) ; typo et boutons de la charte
 * (Poppins, brun, vert prairie), rouge houx et vert sapin en accents de Noël.
 * Le hero sert aussi sur l'accueil jusqu'au 27/12 (classes .lgn-home-noel et .lgn--home, en fin de fichier).
 * Sélecteurs doublés sur les boutons et titres pour passer devant le reset du thème Hello.
 */

@font-face { font-family: 'Poppins'; src: url('/wp-content/fonts/Poppins-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/wp-content/fonts/Poppins-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/wp-content/fonts/Poppins-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('/wp-content/fonts/Roboto-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('/wp-content/fonts/Roboto-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('/wp-content/fonts/Roboto-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

body:has(.lgn) { overflow-x: clip; }

.lgn {
	--gn-brown: #522B0D;
	--gn-green: #79B51D;
	--gn-green-hover: #6BA118;
	--gn-green-dark: #4F7A12;
	--gn-ink: #2B2E34;
	--gn-muted: #56575A;
	--gn-cream: #F8F7F6;
	--gn-paper: #FBF6EC;
	--gn-line: #E7E2DA;
	--gn-gold: #E6C27A;
	--gn-red: #C23B2E;
	--gn-red-dark: #8F271E;
	--gn-fir: #1C3828;
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	font: 400 17px/1.65 'Roboto', sans-serif;
	color: var(--gn-ink);
	text-align: left;
	-webkit-font-smoothing: antialiased;
}
.lgn *, .lgn *::before, .lgn *::after { box-sizing: border-box; }
.lgn img { max-width: 100%; height: auto; }
.lgn p { margin: 0; }
.lgn-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ---------- Titres et textes ---------- */
.lgn .lgn-section h2 { margin: 0 0 18px; font: 700 clamp(30px, 3.3vw, 46px)/1.12 'Poppins', sans-serif; letter-spacing: -.022em; color: var(--gn-brown); text-wrap: balance; }
.lgn .lgn-section h3 { margin: 0 0 10px; font: 700 21px/1.3 'Poppins', sans-serif; letter-spacing: -.01em; color: var(--gn-brown); }
.lgn-copy > p, .lgn-head p { color: var(--gn-muted); }
.lgn-head { max-width: 720px; margin: 0 0 48px; }

/* ---------- Boutons et liens ---------- */
.lgn .lgn-btn.lgn-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 56px; padding: 0 30px; border: 0; border-radius: 999px;
	background: var(--gn-green); color: #FFFFFF;
	font: 700 16px/1 'Poppins', sans-serif; text-decoration: none; white-space: nowrap;
	transition: background .2s, transform .2s, box-shadow .2s;
}
.lgn .lgn-btn.lgn-btn:hover, .lgn .lgn-btn.lgn-btn:focus-visible { background: var(--gn-green-hover); color: #FFFFFF; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(121, 181, 29, .32); }
.lgn .lgn-btn.lgn-btn--small { height: 46px; padding: 0 22px; font-size: 15px; }
.lgn .lgn-btn.lgn-btn--light { background: #FFFFFF; color: var(--gn-brown); }
.lgn .lgn-btn.lgn-btn--light:hover, .lgn .lgn-btn.lgn-btn--light:focus-visible { background: var(--gn-paper); color: var(--gn-brown); box-shadow: 0 12px 26px rgba(0, 0, 0, .3); }
.lgn-btn svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lgn-cta { margin-top: 28px !important; }
.lgn a.lgn-link { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1.4 'Roboto', sans-serif; color: var(--gn-green-dark); text-decoration: underline; text-underline-offset: 3px; }
.lgn a.lgn-link::after { content: '→'; text-decoration: none; transition: transform .2s; }
.lgn a.lgn-link:hover::after { transform: translateX(3px); }
.lgn a:focus-visible, .lgn button:focus-visible { outline: 3px solid var(--gn-gold); outline-offset: 3px; }

/* ---------- Hero ---------- */
.lgn-hero { position: relative; display: flex; align-items: flex-end; min-height: min(86vh, 820px); overflow: hidden; background: #14110D; color: #FFFFFF; isolation: isolate; }
.lgn .lgn-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transform: scale(1.06); animation: lgn-zoom 16s ease-out both; }
.lgn-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 12, 22, .28) 0%, rgba(10, 10, 14, .12) 38%, rgba(20, 14, 8, .62) 70%, rgba(20, 14, 8, .9) 100%); }
.lgn-snow, .lgn-snow::after { position: absolute; inset: -220px 0 0; z-index: -1; pointer-events: none; }
.lgn-snow {
	background-image:
		radial-gradient(1.6px 1.6px at 30px 40px, rgba(255, 255, 255, .85) 50%, transparent 52%),
		radial-gradient(1.2px 1.2px at 120px 140px, rgba(255, 255, 255, .7) 50%, transparent 52%),
		radial-gradient(1.8px 1.8px at 190px 70px, rgba(255, 255, 255, .75) 50%, transparent 52%),
		radial-gradient(1.1px 1.1px at 80px 190px, rgba(255, 255, 255, .6) 50%, transparent 52%);
	background-size: 220px 220px;
	opacity: .55;
	animation: lgn-snow 22s linear infinite;
}
.lgn-snow::after {
	content: '';
	inset: 0;
	background-image:
		radial-gradient(2.4px 2.4px at 60px 90px, rgba(255, 255, 255, .8) 50%, transparent 52%),
		radial-gradient(2px 2px at 250px 260px, rgba(255, 255, 255, .65) 50%, transparent 52%);
	background-size: 340px 340px;
	animation: lgn-snow-slow 34s linear infinite;
}
.lgn-hero__inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 160px; padding-bottom: 104px; }
.lgn .lgn-hero h1 { margin: 0; max-width: 11ch; font: 700 clamp(46px, 6.6vw, 94px)/1 'Poppins', sans-serif; letter-spacing: -.04em; color: #FFFFFF; text-shadow: 0 2px 30px rgba(0, 0, 0, .3); animation: lgn-rise .9s .1s both; }
/* « Noël » couleur guirlande : l'or chaud des lumières de la photo, qui s'accorde au brun et au vert de la charte */
.lgn .lgn-hero h1 .lgn-hl { color: #F2C36B; text-shadow: 0 0 28px rgba(242, 195, 107, .35), 0 2px 30px rgba(0, 0, 0, .3); }
.lgn-hero__lead { max-width: 560px; font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .9); animation: lgn-rise .9s .22s both; }
.lgn a.lgn-ribbon { display: inline-block; padding: 9px 18px; border-radius: 999px; background: var(--gn-green); color: #FFFFFF; font: 500 14px/1.4 'Poppins', sans-serif; text-decoration: none; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); animation: lgn-rise .9s both; }
.lgn a.lgn-ribbon b { letter-spacing: .05em; }
.lgn a.lgn-ribbon:hover { background: var(--gn-green-hover); color: #FFFFFF; }

/* Invitation à défiler */
.lgn a.lgn-scroll { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 22px; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 999px; color: #FFFFFF; font: 500 15px/1 'Poppins', sans-serif; text-decoration: none; transition: background .2s, color .2s, border-color .2s; animation: lgn-rise .9s .34s both; }
.lgn a.lgn-scroll svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: lgn-bob 2.2s ease-in-out infinite; }
.lgn a.lgn-scroll:hover, .lgn a.lgn-scroll:focus-visible { background: #FFFFFF; border-color: #FFFFFF; color: var(--gn-brown); }

/* ---------- Sections ---------- */
.lgn-section { position: relative; padding: 112px 0; scroll-margin-top: 90px; }
.lgn-formations { background: #FFFFFF; }
.lgn-livres {
	background-color: var(--gn-paper);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cg fill='%23D9A441' fill-opacity='.38'%3E%3Cpath d='M24 18Q24 26 32 26Q24 26 24 34Q24 26 16 26Q24 26 24 18Z'/%3E%3Cpath d='M104 78Q104 84 110 84Q104 84 104 90Q104 84 98 84Q104 84 104 78Z'/%3E%3Cpath d='M58 118Q58 122 62 122Q58 122 58 126Q58 122 54 122Q58 122 58 118Z'/%3E%3C/g%3E%3Cg fill='%23C23B2E' fill-opacity='.22'%3E%3Ccircle cx='128' cy='22' r='2.2'/%3E%3Ccircle cx='70' cy='58' r='1.8'/%3E%3C/g%3E%3C/svg%3E");
}
.lgn-equipement { background: var(--gn-cream); }

/* Stages : nuit d'hiver vert sapin, neige qui tombe */
.lgn-stages { isolation: isolate; padding: 150px 0 160px; background: radial-gradient(110% 80% at 15% 0%, #2C5239 0%, var(--gn-fir) 55%, #132A1D 100%); color: #FFFFFF; }
.lgn .lgn-stages .lgn-head h2 { color: #FFFFFF; }
.lgn .lgn-stages .lgn-head p { color: rgba(255, 255, 255, .8); }
.lgn-stages .lgn-snow { opacity: .4; }

/* ---------- Décors ---------- */
/* Guirlande lumineuse */
.lgn .lgn-garland { position: absolute; top: 0; left: 0; z-index: 3; display: block; width: 100%; height: 64px; overflow: visible; pointer-events: none; }
.lgn-garland__wire { fill: none; stroke: #2A2117; stroke-width: 1.6; }
.lgn-bulb rect { fill: #6B5A44; }
.lgn-bulb--gold { color: #F6C661; }
.lgn-bulb--red { color: #E8483A; }
.lgn-bulb--green { color: #A2D84A; }
.lgn-bulb--white { color: #FFF4D6; }
.lgn-bulb__glass { fill: currentColor; animation: lgn-twinkle 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.31s); }
.lgn-bulb__glow { fill: currentColor; opacity: .3; animation: lgn-glow 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.31s); }
.lgn-bulb__shine { fill: #FFFFFF; opacity: .7; }

/* Congère entre deux sections */
.lgn .lgn-drift { position: absolute; left: 0; z-index: 2; display: block; width: 100%; height: 46px; fill: #FFFFFF; pointer-events: none; }
.lgn .lgn-drift--bottom { bottom: -1px; }
.lgn .lgn-drift--top { top: -1px; transform: scaleY(-1); }
.lgn .lgn-drift--cream { fill: var(--gn-paper); }

/* Branche de sapin et houx */
.lgn .lgn-sprig { position: absolute; top: 22px; z-index: 2; display: block; width: 210px; height: auto; pointer-events: none; }
.lgn .lgn-sprig--left { left: max(8px, calc(50% - 700px)); transform: rotate(-6deg); }
.lgn .lgn-sprig--right { right: max(8px, calc(50% - 700px)); transform: scaleX(-1) rotate(-6deg); }
.lgn-sprig__stem { fill: none; stroke: #5A3F25; stroke-width: 2.4; stroke-linecap: round; }
.lgn-sprig [class^='lgn-sprig__n'] { stroke-width: 2.4; stroke-linecap: round; }
.lgn-sprig__n0 { stroke: #2E5B3B; }
.lgn-sprig__n1 { stroke: #44814F; }
.lgn-sprig__n2 { stroke: #22462E; }
.lgn-sprig__berries circle { fill: var(--gn-red); }
.lgn .lgn-sprig__berries .lgn-sprig__shine { fill: #FFFFFF; fill-opacity: .7; }

/* Nœud de ruban */
.lgn .lgn-bow { position: absolute; z-index: 3; display: block; height: auto; filter: drop-shadow(0 4px 6px rgba(60, 10, 5, .3)); pointer-events: none; }
.lgn-bow__loop, .lgn-bow__tail { fill: var(--gn-red); }
.lgn-bow__fold { fill: var(--gn-red-dark); opacity: .55; }
.lgn-bow__knot { fill: #A8301F; }
.lgn-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.lgn-split--reverse > :first-child { order: 2; }

.lgn-media { position: relative; }
.lgn .lgn-media__main { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: 0 24px 50px rgba(43, 30, 18, .16); }
.lgn-media--stack { padding-bottom: 36px; }
.lgn-media__card { position: absolute; right: -20px; bottom: 0; width: 46%; margin: 0; padding: 6px; border-radius: 12px; background: #FFFFFF; box-shadow: 0 20px 44px rgba(43, 30, 18, .28); transform: rotate(-4deg); transition: transform .5s cubic-bezier(.2, .9, .25, 1.2); }
.lgn-media__card img { display: block; width: 100%; border-radius: 7px; }
.lgn-media--stack:hover .lgn-media__card { transform: rotate(-1.5deg) translateY(-6px); }

.lgn-points { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.lgn-points li { position: relative; padding-left: 32px; color: var(--gn-ink); }
.lgn-points li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #FBEFD6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4.2l1.7 3.6 3.9.5-2.9 2.7.8 3.9L10 13l-3.5 1.9.8-3.9-2.9-2.7 3.9-.5z' fill='%23C9902E'/%3E%3C/svg%3E") center / 20px no-repeat; }
.lgn-aside { margin-top: 16px !important; font-size: 15px; color: var(--gn-muted); }
.lgn .lgn-aside a { color: var(--gn-green-dark); text-decoration: underline; text-underline-offset: 3px; }

/* Promo du salon */
.lgn-promo { display: flex; align-items: center; gap: 18px; margin-top: 26px; padding: 16px 20px; border: 2px solid var(--gn-green); border-radius: 16px; background: #F4F9EC; }
.lgn-promo__pct { flex: none; font: 700 30px/1 'Poppins', sans-serif; letter-spacing: -.03em; color: var(--gn-green-dark); }
.lgn-promo p { font-size: 16px; line-height: 1.6; color: var(--gn-ink); }
.lgn-promo strong { color: var(--gn-brown); }
.lgn .lgn-code.lgn-code { display: inline-block; margin: 0 2px; padding: 1px 12px; border: 2px dashed var(--gn-green); border-radius: 8px; background: #FFFFFF; color: var(--gn-brown); font: 700 15px/24px 'Poppins', sans-serif; letter-spacing: .06em; cursor: pointer; }
.lgn .lgn-code.lgn-code:hover, .lgn .lgn-code.lgn-code:focus { background: #FFFFFF; color: var(--gn-brown); border-style: solid; }

/* Stages */
.lgn-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.lgn-card { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: #FFFFFF; color: var(--gn-ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .22); transition: transform .35s, box-shadow .35s; }
.lgn-card:hover { transform: translateY(-6px); box-shadow: 0 28px 54px rgba(0, 0, 0, .32); }
.lgn-card__img { position: relative; display: block; overflow: hidden; border-radius: 22px 22px 0 0; }
.lgn .lgn-card__bow { top: -24px; right: 22px; width: 68px; transition: transform .5s cubic-bezier(.2, .9, .25, 1.4); }
.lgn-card:hover .lgn-card__bow { transform: rotate(-8deg) scale(1.06); }
.lgn .lgn-card__img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.lgn-card:hover .lgn-card__img img { transform: scale(1.05); }
.lgn-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 4px; padding: 24px 26px 28px; }
.lgn-card__body p { margin-bottom: 18px !important; font-size: 16px; line-height: 1.6; color: var(--gn-muted); }
.lgn .lgn-card__body .lgn-btn.lgn-btn { margin-top: auto; }

/* Livres */
.lgn-books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.lgn-book { position: relative; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 30px; border-radius: 26px; background: #FFFFFF; box-shadow: 0 1px 0 rgba(43, 30, 18, .06), 0 16px 40px rgba(43, 30, 18, .07); }
.lgn .lgn-book__bow { top: -26px; right: 28px; width: 72px; transform: rotate(9deg); }
.lgn-book__cover { display: block; }
.lgn .lgn-book__cover img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(43, 30, 18, .28)); transform: rotate(-2.5deg) scale(1.16); transition: transform .5s cubic-bezier(.2, .9, .25, 1.2); }
.lgn-book:nth-child(2) .lgn-book__cover img { transform: rotate(2.5deg) scale(1.16); }
.lgn-book:hover .lgn-book__cover img { transform: rotate(0) translateY(-4px) scale(1.2); }
.lgn-book__body p { font-size: 15.5px; line-height: 1.6; color: var(--gn-muted); }
.lgn .lgn-book__credits { margin: -4px 0 10px !important; font-style: italic; font-size: 14px; line-height: 1.5; }
.lgn-book__credits sup { font-size: .7em; }
.lgn-book__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.lgn-price { font: 700 22px/1 'Poppins', sans-serif; color: var(--gn-brown); }
.lgn-shelf { display: flex; align-items: center; gap: 26px; margin-top: 40px; padding: 22px 0 0; border-top: 1px solid #E5D9C3; }
.lgn-shelf__covers { display: flex; flex: none; padding-left: 14px; }
.lgn .lgn-shelf__covers img { display: block; width: 64px; height: 64px; margin-left: -14px; object-fit: cover; border: 3px solid #FFFFFF; border-radius: 8px; box-shadow: 0 6px 14px rgba(43, 30, 18, .18); }
.lgn-shelf p { flex: 1; font-size: 15.5px; color: var(--gn-muted); }
.lgn .lgn-shelf .lgn-btn.lgn-btn { flex: none; }

/* Carte cadeau : la veillée */
.lgn-carte { position: relative; overflow: hidden; background: radial-gradient(120% 100% at 78% 15%, #3D2714 0%, #22170D 55%, #15100A 100%); color: #FFFFFF; }
.lgn-carte::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(1.4px 1.4px at 40px 60px, rgba(255, 236, 190, .35) 50%, transparent 52%), radial-gradient(1px 1px at 150px 20px, rgba(255, 236, 190, .3) 50%, transparent 52%); background-size: 200px 200px; pointer-events: none; }
.lgn .lgn-carte h2 { color: #FFFFFF; }
.lgn .lgn-carte h2 .lgn-hl { color: #F2C36B; text-shadow: 0 0 24px rgba(242, 195, 107, .35); }
.lgn-carte { padding-top: 140px; }
.lgn .lgn-carte .lgn-copy > p { color: rgba(255, 255, 255, .82); }
.lgn-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.lgn-facts li { padding: 9px 16px; border: 1px solid rgba(230, 194, 122, .55); border-radius: 999px; color: #F3DFB2; font: 500 15px/1.2 'Poppins', sans-serif; }
.lgn-facts b { font-weight: 500; }
.lgn-carte__visual { position: relative; display: flex; justify-content: center; padding-top: 56px; }
.lgn-carte__string { position: absolute; top: 0; left: 50%; width: 9px; height: 80px; background: linear-gradient(90deg, var(--gn-red-dark), var(--gn-red) 35%, #D9544A 50%, var(--gn-red) 65%, var(--gn-red-dark)); transform: translateX(-50%); }
.lgn-carte__tag { position: relative; width: 100%; max-width: 420px; transform-origin: 50% -40px; animation: lgn-swing 7s ease-in-out infinite; }
.lgn .lgn-carte__bow { top: -34px; left: 50%; width: 92px; margin-left: -46px; }
.lgn .lgn-carte__visual img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; box-shadow: 0 34px 70px rgba(0, 0, 0, .5); }

/* Équipement */
.lgn .lgn-equipement .lgn-media__main { object-position: 40% 40%; }

/* Vœux */
.lgn-voeux { position: relative; display: grid; place-items: center; min-height: 360px; padding: 80px 0; overflow: hidden; isolation: isolate; text-align: center; }
.lgn-voeux .lgn-snow { opacity: .6; }
.lgn .lgn-voeux__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.lgn-voeux::after { content: ''; position: absolute; inset: 0; z-index: -2; background: rgba(20, 14, 8, .5); }
.lgn .lgn-voeux p { max-width: 24ch; font: 500 clamp(24px, 2.8vw, 38px)/1.3 'Poppins', sans-serif; letter-spacing: -.015em; color: #FFFFFF; text-wrap: balance; }

/* ---------- Apparition au défilement (si JS) ---------- */
.lgn.lgn-js .lgn-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.lgn.lgn-js .lgn-reveal.is-in { opacity: 1; transform: none; }

@keyframes lgn-zoom { from { transform: scale(1.12); } to { transform: scale(1.04); } }
@keyframes lgn-snow { from { background-position: 0 0, 0 0, 0 0, 0 0; } to { background-position: 40px 220px, -30px 220px, 20px 220px, -10px 220px; } }
@keyframes lgn-snow-slow { from { background-position: 0 0, 0 0; } to { background-position: -60px 340px, 40px 340px; } }
@keyframes lgn-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes lgn-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@keyframes lgn-twinkle { 0%, 100% { opacity: 1; } 45% { opacity: 1; } 60% { opacity: .5; } 75% { opacity: 1; } }
@keyframes lgn-glow { 0%, 100% { opacity: .32; } 45% { opacity: .4; } 60% { opacity: .06; } 75% { opacity: .32; } }
@keyframes lgn-swing { 0%, 100% { transform: rotate(3deg); } 50% { transform: rotate(-1.5deg); } }

/* La branche de sapin reste dans la marge haute de la section, au-dessus des titres */
@media (max-width: 1280px) {
	.lgn .lgn-sprig { top: 8px; width: 140px; }
}

/* ---------- Tablette ---------- */
@media (max-width: 1024px) {
	.lgn-split { gap: 48px; }
	.lgn-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lgn-books { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.lgn { font-size: 16px; }
	.lgn-wrap { padding: 0 18px; }
	.lgn-hero { min-height: 78vh; }
	.lgn-hero__inner { gap: 16px; padding-top: 120px; padding-bottom: 36px; }
	.lgn .lgn-hero h1 { font-size: 42px; letter-spacing: -.035em; }
	.lgn-hero__lead { font-size: 16.5px; }
	.lgn a.lgn-ribbon { font-size: 13px; border-radius: 14px; }
	.lgn-section { padding: 64px 0; }
	.lgn .lgn-section h2 { font-size: 29px; }
	.lgn-head { margin-bottom: 30px; }
	.lgn-split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.lgn-split--reverse > :first-child { order: 0; }
	.lgn-media__card { right: -6px; width: 50%; }
	.lgn-promo { flex-direction: column; align-items: flex-start; gap: 6px; }
	.lgn .lgn-btn.lgn-btn { width: 100%; }
	.lgn .lgn-book__foot .lgn-btn.lgn-btn { width: auto; }
	.lgn-cards { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.lgn-book { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 22px; }
	.lgn .lgn-book__cover img { width: 78%; margin: 0 auto; }
	.lgn-shelf { flex-direction: column; align-items: flex-start; gap: 14px; }
	.lgn-carte__visual { padding-top: 40px; }
	.lgn .lgn-carte__visual img { max-width: 300px; }
	.lgn-voeux { min-height: 260px; padding: 56px 0; }
	.lgn .lgn-garland { height: 50px; }
	.lgn .lgn-drift { height: 26px; }
	.lgn .lgn-sprig { top: 4px; width: 92px; }
	.lgn-stages { padding: 90px 0 96px; }
	.lgn-carte { padding-top: 96px; }
	.lgn-hero__inner { padding-bottom: 64px; }
	.lgn .lgn-card__bow { width: 58px; top: -20px; right: 18px; }
	.lgn .lgn-book__bow { width: 60px; top: -22px; right: 18px; }
	.lgn .lgn-carte__bow { width: 76px; margin-left: -38px; top: -28px; }
}

/* ---------- Hero de Noël sur l'accueil (jusqu'au 27/12 inclus) ----------
 * Le conteneur Elementor du hero garde son menu et sa hauteur (85vh) : on remplace seulement son image
 * de fond. La photo et le dégradé se placent sur tout le conteneur, donc aussi sous le menu
 * translucide, comme l'image d'origine ; la guirlande et le texte suivent le menu dans le flux. */
.elementor-element.lgn-home-noel { position: relative; isolation: isolate; background-image: none !important; background-color: #14110D !important; gap: 0 !important; }
/* Calque de couleur d'Elementor (noir opaque sur mobile) : le dégradé du hero le remplace */
.elementor-element.lgn-home-noel::before { display: none !important; }
.lgn.lgn--home { position: static; display: flex; flex: 1 1 auto; width: 100%; margin-left: 0; }
.lgn--home .lgn-hero { position: static; flex: 1 1 auto; flex-direction: column; align-items: stretch; min-height: 0; overflow: visible; isolation: auto; background: none; }
.lgn.lgn--home .lgn-hero__bg { transform: none; animation: none; object-position: center bottom; }
/* Photo et voile du modèle Elementor 838984 (dégradé brun nuit). Cadrages tablette et mobile du modèle
 * (-736px et -521px) convertis en pourcentages : en pixels, ils laissent une bande noire à 85vh de haut. */
.lgn--home .lgn-hero::after { background: linear-gradient(180deg, rgba(14, 12, 18, .18) 30%, rgba(22, 14, 8, .86) 100%); }
@media (max-width: 1024px) { .lgn.lgn--home .lgn-hero__bg { object-position: 100% 0; } }
@media (max-width: 767px) { .lgn.lgn--home .lgn-hero__bg { object-position: 80% 0; } }
.lgn.lgn--home .lgn-garland { position: relative; flex: none; }
.lgn--home .lgn-hero__inner { margin-top: auto; padding-top: 40px; padding-bottom: 72px; }
.lgn--home .lgn-hero h1 { font-size: clamp(42px, 5.6vw, 80px); }
/* CTA vert plein, comme le bouton du modèle Elementor 838984 (#79B51D, Poppins 700 16px, 19/32px, ombre) */
.lgn.lgn--home a.lgn-scroll { padding: 19px 32px; border: 0; background: var(--gn-green); color: #FFFFFF; font: 700 16px/1 'Poppins', sans-serif; box-shadow: 0 12px 28px rgba(0, 0, 0, .28); }
.lgn.lgn--home a.lgn-scroll:hover, .lgn.lgn--home a.lgn-scroll:focus-visible { background: var(--gn-green-hover); color: #FFFFFF; }
.lgn--home a.lgn-scroll svg { animation: none; }
@media (max-width: 767px) {
	.lgn--home .lgn-hero__inner { padding-top: 32px; padding-bottom: 48px; }
	.lgn--home .lgn-hero h1 { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	.lgn *, .lgn *::before, .lgn *::after { animation: none !important; transition: none !important; }
	.lgn.lgn-js .lgn-reveal { opacity: 1; transform: none; }
}
