.dl-home h2, .dl-home h3, .dl-home p, .dl-home figure { margin: 0; }
.dl-home button { cursor: pointer; }
.dl-home button:disabled { cursor: default; }
.dl-home button:is(.dl-arrow, .dl-profile-toggle),
.dl-home .dl-shelf-tabs button {
	font-family: inherit;
	text-transform: none;
	letter-spacing: normal;
}
.dl-home [id] { scroll-margin-block-start: 42px; }

.dl-hero { --disc: var(--dl-honey); background: var(--dl-sand); }
.dl-hero[data-tone="1"] { --disc: color-mix(in srgb, var(--dl-rose) 26%, var(--dl-sand)); }
.dl-hero[data-tone="2"] { --disc: color-mix(in srgb, var(--dl-saffron) 45%, var(--dl-sand)); }
.dl-hero-inner { display: grid; gap: 14px; padding-block: 24px 16px; }
.dl-slides { display: grid; min-height: 292px; }
.dl-slide {
	grid-area: 1 / 1;
	display: grid;
	grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(18px, 4vw, 55px);
}
.dl-slide[aria-hidden="true"] { visibility: hidden; }
.dl-slide h2 { max-width: 12ch; font-size: clamp(2.35rem, 6vw, 4.65rem); font-weight: 800; line-height: .98; letter-spacing: -.064em; }
.dl-slide .dl-hero-label { margin-bottom: 8px; color: var(--dl-rose-ink); font-size: .86rem; font-weight: 750; }
.dl-slide .dl-hero-text { max-width: 42ch; margin-block: 12px 16px; white-space: pre-line; }
.dl-slide .dl-button { padding: 9px 14px; font-size: .9rem; }
.dl-hero .dl-hero-photo {
	position: relative;
	display: grid;
	place-items: center;
	width: min(100%, 320px);
	aspect-ratio: 1;
	justify-self: center;
	isolation: isolate;
	background: var(--dl-sand);
}
.dl-hero-photo::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: var(--disc); z-index: -1; }
.dl-hero-photo img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.dl-hero-scene img { width: 88%; height: 72%; object-fit: cover; border: 5px solid var(--dl-paper); border-radius: 16px; mix-blend-mode: normal; }
.dl-hero-controls, .dl-shelf-controls { display: flex; align-items: center; gap: 6px; }
.dl-hero-controls { justify-content: center; }
.dl-home button.dl-arrow {
	display: inline-grid;
	place-items: center;
	min-width: 38px;
	min-height: 38px;
	padding: 0;
	border: 1px solid var(--dl-line);
	border-radius: 999px;
	background: var(--dl-paper);
	color: var(--dl-ink);
	line-height: 1;
}
.dl-home button.dl-arrow { font-size: 1.5rem; padding-bottom: 2px; }
.dl-arrow:disabled { opacity: .45; }
.dl-arrow:hover:not(:disabled) { border-color: var(--dl-rose-ink); color: var(--dl-rose-ink); }
.dl-slide-position { min-width: 44px; text-align: center; font-size: .84rem; font-variant-numeric: tabular-nums; }

.dl-home-sections { display: grid; gap: clamp(34px, 5vw, 62px); padding-block: 30px 46px; }
.dl-home-sections > section { min-width: 0; }
.dl-home-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.dl-home-heading h2 { font-size: clamp(1.65rem, 3.7vw, 2.55rem); font-weight: 800; line-height: 1.05; letter-spacing: -.046em; }
.dl-home-heading > a { flex: none; font-size: .87rem; font-weight: 750; }
.dl-shelf-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; min-height: 38px; }
.dl-shelf-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.dl-home .dl-shelf-tabs button { min-height: 37px; padding: 6px 13px; border: 1px solid var(--dl-line); border-radius: 999px; background: var(--dl-paper); color: var(--dl-ink); font-size: .84rem; font-weight: 750; }
.dl-home .dl-shelf-tabs button[aria-pressed="true"] { background: var(--dl-rose); border-color: var(--dl-rose); color: white; }
.dl-shelf-tabs button:hover { border-color: var(--dl-rose-ink); }
.dl-shelf-panel { margin-block-start: 12px; }
.dl-games {
	--visible: 4;
	--gap: 14px;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% + var(--gap)) / var(--visible) - var(--gap));
	gap: var(--gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-block: 4px 8px;
}
[data-dl-selection][data-enhanced] .dl-games { scrollbar-width: none; }
[data-dl-selection][data-enhanced] .dl-games::-webkit-scrollbar { display: none; }
.dl-game { min-width: 0; padding: 8px; border: 1px solid var(--dl-line); border-radius: 12px; background: var(--dl-card); scroll-snap-align: start; }
.dl-game-link { display: block; text-decoration: none; }
.dl-game-link:focus-visible { outline-offset: -3px; border-radius: 10px; }
.dl-game-link:hover h3 { text-decoration: underline; }
.dl-game-image { display: grid; place-items: center; height: clamp(110px, 17vw, 168px); padding: 8px; border-radius: 10px; background: var(--dl-sand); isolation: isolate; position: relative; overflow: hidden; container-type: size; }
.dl-game-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.dl-game-image img[data-dl-framed] {
	position: absolute;
	left: 50%;
	top: 50%;
	width: min(calc(92cqw / var(--dl-crop-width)), calc(92cqh * var(--dl-photo-ratio) / var(--dl-crop-height)));
	max-width: none;
	height: auto;
	transform: translate(var(--dl-crop-x), var(--dl-crop-y));
}
.dl-game h3 { margin: 7px 0 2px; font-size: .98rem; line-height: 1.24; }
.dl-price { color: var(--dl-rose-ink); font-size: .92rem; font-weight: 750; }
.dl-home .dl-shelf-empty { background: var(--dl-sand); padding: 14px 16px; border-radius: 9px; color: var(--dl-muted); }

.dl-profile-section { padding: clamp(14px, 3vw, 32px); border-radius: 12px; background: var(--dl-honey); }
.dl-home .dl-profiles-intro { display: grid; gap: 4px; margin: 0 0 17px; color: var(--dl-muted); text-align: start; }
.dl-profiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dl-profile { position: relative; display: grid; min-width: 0; perspective: 950px; --profile-accent: #d5a657; }
#profil-initie { --profile-accent: #7199b9; }
#profil-expert { --profile-accent: #9378aa; }
#profil-enquete { --profile-accent: #bc6e67; }
#profil-famille { --profile-accent: #8ea779; }
#profil-enfant { --profile-accent: #d3a647; }
#profil-ambiance { --profile-accent: #d58c66; }
#profil-duo { --profile-accent: #bf7486; }
.dl-profile-faces { display: grid; }
.dl-profile[data-enhanced] .dl-profile-faces { min-height: clamp(250px, 26vw, 308px); transform-style: preserve-3d; }
.dl-profile[data-flipped] .dl-profile-faces { transform: rotateY(180deg); }
.dl-profile-front, .dl-profile-back { display: grid; min-width: 0; padding: 15px; border-radius: 11px; overflow: hidden; }
.dl-profile[data-enhanced] .dl-profile-front, .dl-profile[data-enhanced] .dl-profile-back { grid-area: 1 / 1; backface-visibility: hidden; }
.dl-profile-front { position: relative; align-items: end; min-height: 142px; isolation: isolate; background: #382f32; color: white; }
.dl-profile-front::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(transparent 36%, #17131c63 62%, #18121bf2 100%); }
.dl-profile-image { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; object-fit: cover; }
.dl-profile-back {
	align-content: center;
	gap: 8px;
	border-block-end: 5px solid var(--profile-accent);
	background: var(--dl-card);
}
.dl-profile[data-enhanced] .dl-profile-back { transform: rotateY(180deg); }
.dl-profile h3 { font-size: clamp(1.05rem, 2.4vw, 1.5rem); line-height: 1.08; font-weight: 800; letter-spacing: -.033em; }
.dl-profile-back p { font-size: .88rem; white-space: pre-line; }
.dl-profile-back a { justify-self: start; color: var(--dl-rose-ink); font-size: .82rem; font-weight: 800; }
.dl-home button.dl-profile-toggle { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 11px; background: transparent; }
.dl-home button.dl-profile-toggle:is(:hover, :focus) { background: transparent; }
.dl-profile[data-flipped] .dl-profile-toggle { pointer-events: none; }

.dl-why { padding: clamp(22px, 4vw, 43px) clamp(16px, 4vw, 42px); border-radius: 13px; background: var(--dl-blue); color: var(--dl-ink); }
.dl-why h2 { margin-bottom: clamp(20px, 3vw, 32px); text-align: center; color: var(--dl-ink); font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1; letter-spacing: -.055em; font-weight: 800; }
.dl-why-table { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .88fr) minmax(0, 1fr); align-items: center; gap: clamp(12px, 3vw, 29px); }
.dl-why-photo { grid-area: 1 / 2; padding: 7px; border: 1px solid #9a7736; border-radius: 50%; background: #f1d58e; }
.dl-why-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.dl-why-list { list-style: none; padding: 0; margin: 0; }
.dl-why-list-1 { grid-area: 1 / 1; }
.dl-why-list-2 { grid-area: 1 / 3; }
.dl-why-list li { display: grid; grid-template-columns: 31px minmax(0, 1fr); gap: 8px; padding: 10px 0; }
.dl-why-list li + li { border-top: 1px solid #99afc4; }
.dl-why-list h3 { padding-top: 3px; font-size: 1.03rem; line-height: 1.2; font-weight: 800; letter-spacing: -.022em; }
.dl-why-list p { margin-top: 5px; color: var(--dl-muted); font-size: .89rem; line-height: 1.48; }
.dl-home .dl-home-quote {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--dl-rose);
	text-align: center;
	font-style: italic;
}
.dl-home-quote p { font-size: max(20px, 1.25rem); line-height: 1.55; font-weight: 700; }
.dl-partners h2 { margin-bottom: 15px; text-align: center; font-size: clamp(1.5rem, 3.4vw, 2.15rem); line-height: 1.08; letter-spacing: -.035em; }
.dl-home .dl-partner-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dl-partner-list li {
	display: grid;
	place-items: center;
	flex: 1 1 122px;
	max-width: 220px;
	min-height: 100px;
	padding: 10px;
	border: 1px solid var(--dl-line);
	border-radius: 9px;
	background: var(--dl-card);
	isolation: isolate;
}
.dl-partner-list img { display: block; width: auto; max-width: min(100%, 136px); height: auto; max-height: 78px; object-fit: contain; mix-blend-mode: multiply; }
.dl-why-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #f3dfae; color: #725118; }
[data-dl-reason="proximite"] .dl-why-icon { background: #ecf4fc; color: #294869; }
[data-dl-reason="passion"] .dl-why-icon { background: #f6dfda; color: #85342f; }
[data-dl-reason="recompenses"] .dl-why-icon { background: #ffe078; color: #533a06; }
[data-dl-reason="livraison"] .dl-why-icon { background: #e2ebd5; color: #375136; }
[data-dl-reason="analyse"] .dl-why-icon { background: #eadff6; color: #5d3d78; }

@media (prefers-reduced-motion: no-preference) {
	.dl-profile[data-enhanced] .dl-profile-faces { transition: transform .42s ease; }
}
@media (pointer: coarse) {
	.dl-home button.dl-arrow, .dl-home .dl-shelf-tabs button { min-width: 44px; min-height: 44px; }
	.dl-profile-back a { display: flex; align-items: center; min-height: 44px; }
}
@media (max-width: 820px) {
	.dl-profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dl-why-table { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dl-why-photo { grid-area: 1 / 1 / 2 / -1; width: min(100%, 184px); justify-self: center; }
	.dl-why-list-1 { grid-area: 2 / 1; align-self: start; }
	.dl-why-list-2 { grid-area: 2 / 2; align-self: start; }
}
@media (max-width: 600px) {
	.dl-slide { grid-template-columns: 1fr; align-content: start; gap: 12px; }
	.dl-slide h2 { font-size: clamp(2.45rem, 9vw, 3.6rem); }
	.dl-hero .dl-hero-photo { width: min(75%, 200px); }
	.dl-hero-inner { padding-block-start: 20px; }
	.dl-games { --visible: 2; }
	.dl-shelf-toolbar { align-items: end; }
}
@media (max-width: 480px) {
	.dl-profiles { grid-template-columns: minmax(0, 1fr); }
	.dl-profile[data-enhanced] .dl-profile-faces { min-height: 240px; }
	.dl-why-list li { grid-template-columns: minmax(0, 1fr); gap: 3px; }
}
