/* Hub « Idées cadeaux » (maquette A). S'appuie sur gift.css (variables, cartes, guide, FAQ). */

/* Bandeau */
.slgh-hero { background: var(--slgp-plum); color: #fff; padding: 28px 24px 40px; }
.slgh-hero__in { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.slgh-hero__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.slgh-hero__txt { display: flex; flex-direction: column; gap: 8px; max-width: 760px; min-width: 0; }
.slgh-hero h1 { margin: 0; font-size: 44px; line-height: 1.05; font-weight: 800; color: #fff; text-transform: none; }
.slgh-hero__lead { margin: 0; font-size: 17px; line-height: 1.55; color: #e6d9ee; }
.slgh .slgp-band .slgp-star, .slgh-hero .slgp-star { color: var(--slgp-gold); }

/* C'est pour qui ? */
.slgh-who { display: flex; flex-direction: column; gap: 12px; }
.slgh .slgh-who__t { margin: 0; font-size: 22px; font-weight: 700; color: var(--slgp-gold); }
.slgh-who__grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px; }
.slgh-who__tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--slgp-purple); box-shadow: 0 6px 18px rgba(0,0,0,0.25); transition: transform .15s; }
.slgh-who__tile:hover { transform: translateY(-2px); }
.slgh-who__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.slgh-who__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,4,24,0) 35%, rgba(20,4,24,0.92) 100%); }
.slgh-who__l { position: absolute; z-index: 1; left: 8px; right: 8px; bottom: 8px; display: flex; flex-direction: column; text-align: left; color: #fff; }
.slgh-who__l strong { font-family: var(--slgp-head); font-size: 16px; line-height: 1.15; }
.slgh-who__l span { font-size: 11px; opacity: .85; line-height: 1.3; }
.slgh-who__tile.is-on { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--slgp-gold); }
.slgh-panel { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 120px; }
.slgh-panel[hidden] { display: none; }
.slgh-panel__h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.slgh-panel__h strong { font-family: var(--slgp-head); font-size: 18px; }
.slgh a.slgh-panel__all { background: #fff; color: var(--slgp-plum) !important; font-weight: 600; border-radius: 999px; padding: 11px 18px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.slgh-panel__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.slgh a.slgh-chip { display: inline-flex; align-items: center; min-height: 44px; border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 600; line-height: 1.25; background: rgba(255,255,255,0.1); color: #fff !important; border: 1px solid rgba(255,255,255,0.35); }
.slgh a.slgh-chip:hover { background: #fff; color: var(--slgp-plum) !important; }
.slgh-panel__note { margin: 0; font-size: 12px; color: #cdb8dc; }
.slgh-who__alt { margin: 0; font-size: 14px; color: #e6d9ee; }
.slgh .slgh-who__alt a { color: #fff; font-weight: 600; }

/* Corps */
.slgh-main { padding: 28px 24px 64px; display: flex; flex-direction: column; gap: 48px; }
.slgh-anchors { display: flex; flex-wrap: wrap; gap: 8px; }
.slgh-anchors a { flex: 0 0 auto; border: 1px solid var(--slgp-chip-line); border-radius: 999px; padding: 9px 14px; color: var(--slgp-ink); font-size: 14px; font-weight: 600; min-height: 40px; display: inline-flex; align-items: center; white-space: nowrap; }
.slgh-anchors a:hover { border-color: var(--slgp-purple); color: var(--slgp-purple); }
.slgh-sec { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 110px; }
.slgh-sec__h { display: flex; flex-direction: column; gap: 4px; }
.slgh-sec__h h2 { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.2; }
.slgh-sec__h p { margin: 0; font-size: 14px; color: var(--slgp-muted); }

/* Noël : cartes à trois images */
.slgh-trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.slgh-trio__c { display: flex; flex-direction: column; gap: 12px; background: var(--slgp-lilac); border-radius: 16px; padding: 14px; color: var(--slgp-ink); }
.slgh-trio__imgs { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; aspect-ratio: 16 / 9; }
.slgh-trio__imgs img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; margin: 0; }
.slgh-trio__imgs img:first-child { grid-row: 1 / 3; }
.slgh-trio__t { display: flex; flex-direction: column; gap: 2px; padding: 0 4px 4px; }
.slgh-trio__t strong { font-family: var(--slgp-head); font-size: 19px; }
.slgh-trio__t span { font-size: 13px; color: var(--slgp-muted); }
.slgh-trio__c:hover strong { color: var(--slgp-purple); }

/* Occasions */
.slgh-occ { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.slgh-occ__c { display: flex; align-items: center; gap: 12px; border: 1px solid #e3d8ea; border-radius: 14px; padding: 8px 14px 8px 8px; color: var(--slgp-ink); min-height: 64px; }
.slgh-occ__c:hover { border-color: var(--slgp-purple); }
.slgh-occ__img { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; display: block; background: var(--slgp-lilac); }
.slgh-occ__img img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.slgh-occ__t { display: flex; flex-direction: column; min-width: 0; }
.slgh-occ__t strong { font-size: 15px; }
.slgh-occ__t span { font-size: 12px; color: var(--slgp-soft); }

/* Passions : tuiles 4:5 (styles de .slgp-tile) */
.slgh-pas { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.slgh .slgh-pas__c { aspect-ratio: 4 / 5; }

/* Budgets */
.slgh-bud { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.slgh-bud__c { display: flex; flex-direction: column; gap: 12px; border: 1px solid #e3d8ea; border-radius: 16px; padding: 16px; color: var(--slgp-ink); }
.slgh-bud__c:hover { border-color: var(--slgp-purple); }
.slgh-bud__t { display: flex; flex-direction: column; }
.slgh-bud__t strong { font-family: var(--slgp-head); font-size: 22px; }
.slgh-bud__t span { font-size: 13px; color: var(--slgp-soft); }
.slgh-bud__items { display: flex; gap: 8px; }
.slgh-bud__i { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; font-size: 12px; font-weight: 600; }
.slgh-bud__i img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; border-radius: 10px; display: block; margin: 0; }

/* Guide et FAQ */
.slgh-guide { display: flex; flex-direction: column; gap: 40px; }

/* Liens sans soulignement hérité du thème */
.slgh a.slgh-who__tile, .slgh a.slgh-chip, .slgh a.slgh-panel__all, .slgh .slgh-anchors a, .slgh a.slgh-trio__c,
.slgh a.slgh-occ__c, .slgh a.slgh-bud__c, .slgh a.slgh-pas__c { text-decoration: none !important; }

/* Tablette */
@media (max-width: 1100px) {
	.slgh-who__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Mobile */
@media (max-width: 640px) {
	.slgh-hero { padding: 16px 16px 24px; }
	.slgh-hero__in { gap: 18px; }
	.slgh-hero h1 { font-size: 30px; }
	.slgh-hero__lead { font-size: 14px; }
	.slgh .slgh-who__t { font-size: 18px; }
	.slgh-who__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.slgh-who__tile { aspect-ratio: 1 / 1; }
	.slgh-who__l strong { font-size: 14px; }
	.slgh-panel { padding: 14px; }
	.slgh-panel__h strong { font-size: 16px; }
	.slgh a.slgh-panel__all { width: 100%; justify-content: center; }
	.slgh a.slgh-chip { font-size: 13px; padding: 10px 14px; }
	.slgh-main { padding: 20px 16px 48px; gap: 32px; }
	.slgh-anchors { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
	.slgh-anchors::-webkit-scrollbar { display: none; }
	.slgh-sec__h h2 { font-size: 20px; }
	.slgh-trio { grid-template-columns: 1fr; }
	.slgh-occ { grid-template-columns: 1fr; }
	.slgh-pas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.slgh-bud { grid-template-columns: 1fr; }
	.slgh .slgh-top { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.slgh-who__tile { transition: none; }
}
