/* Accueil - port fidèle de la vitrine validée guyatouc.1d-d1.io
   (Hero.module.css, TrustBar.module.css, UniversRail.module.css,
   PackModule.module.css). Uniquement des tokens --od-*. */

/* ---------- Hero ---------- */

.od-hero {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(18px, 4vw, 32px);
	align-items: center;
	padding: clamp(16px, 4vw, 56px) 0 clamp(20px, 3vw, 38px);
}

.od-hero__showcase {
	order: -1;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

.od-hero__pitch {
	min-width: 0;
}

@media (min-width: 860px) {
	.od-hero {
		grid-template-columns: 1.05fr 0.95fr;
	}
	.od-hero__showcase {
		order: 2;
		gap: 14px;
	}
	.od-hero__pitch {
		order: 1;
	}
}

@media (max-width: 640px) {
	.od-hero {
		padding-top: 2px;
	}
	.od-hero__showcase {
		gap: 6px;
	}
	.od-hero__kicker {
		margin-bottom: 8px;
	}
	.od-hero__title {
		margin-bottom: 8px;
	}
}

.od-hero__kicker {
	display: inline-block;
	background: var(--od-maison);
	color: var(--od-on-univers-light);
	font-weight: 900;
	font-size: 0.7rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: var(--od-radius-pill);
	margin-bottom: 12px;
}

.od-hero__title {
	font-size: clamp(1.85rem, 9vw, 2.6rem);
	margin: 0 0 14px;
	line-height: 1.04;
}

@media (min-width: 560px) {
	.od-hero__title {
		font-size: clamp(2.6rem, 6vw, 3.6rem);
	}
}

@media (min-width: 900px) {
	.od-hero__title {
		font-size: clamp(3.2rem, 5vw, 4.4rem);
		margin-bottom: 20px;
	}
}

@media (min-width: 1200px) {
	.od-hero__title {
		font-size: clamp(3.6rem, 4.2vw, 5.4rem);
	}
}

.od-hero__highlight {
	background: var(--od-accent);
	color: var(--od-on-accent);
	padding: 0 0.14em;
	border-radius: 0.18em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	white-space: nowrap;
}

.od-hero__lede {
	font-size: clamp(0.92rem, 1.6vw, 1.05rem);
	max-width: 42ch;
	color: var(--od-muted);
	line-height: 1.55;
	margin: 0 0 22px;
}

.od-hero__cta {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.od-btn-primary,
.od-btn-ghost {
	font-family: var(--font-display, inherit);
	font-weight: 700;
	font-size: 0.96rem;
	padding: 13px 22px;
	border-radius: var(--od-radius-pill);
	border: var(--od-line) solid var(--od-border);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.od-btn-primary {
	background: var(--od-ink);
	color: var(--od-bg);
}

.od-btn-ghost {
	background: transparent;
	color: var(--od-ink);
}

.od-btn-primary:hover,
.od-btn-primary:focus-visible,
.od-btn-ghost:hover,
.od-btn-ghost:focus-visible {
	transform: translate(-2px, -2px);
	box-shadow: var(--od-shadow-sm) var(--od-shadow-sm) 0 var(--od-maison);
}

@media (prefers-reduced-motion: reduce) {
	.od-btn-primary,
	.od-btn-ghost {
		transition: none;
	}
	.od-btn-primary:hover,
	.od-btn-ghost:hover {
		transform: none;
	}
}

.od-hero__tile {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border: var(--od-line) solid var(--od-border);
	border-radius: var(--od-radius-lg);
	background: var(--tile-t);
	box-shadow: inset 0 0 0 6px var(--tile-c);
}

.od-hero__tile-img {
	position: absolute;
	inset: 12%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.od-hero__tile-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.od-hero__tile-price {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 1;
	background: var(--od-surface);
	border: var(--od-line) solid var(--od-border);
	border-radius: var(--od-radius-pill);
	padding: 4px 10px;
	font-family: var(--font-display, inherit);
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--od-ink);
}

.od-hero__tile-label {
	position: absolute;
	bottom: 10px;
	right: 10px;
	z-index: 1;
	border-radius: var(--od-radius-pill);
	padding: 3px 9px;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.od-hero__empty {
	grid-column: 1 / -1;
	border: var(--od-line) dashed var(--od-border);
	border-radius: var(--od-radius-md);
	padding: clamp(24px, 5vw, 40px);
	text-align: center;
	color: var(--od-muted);
	font-weight: 600;
}

/* ---------- Réassurance ---------- */

.od-trust {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	border: var(--od-line) solid var(--od-border);
	border-radius: var(--od-radius-lg);
	overflow: hidden;
	background: var(--od-surface);
	margin-top: clamp(20px, 3vw, 32px);
}

.od-trust__item {
	padding: 16px;
	border-right: var(--od-line) solid var(--od-border);
	border-bottom: var(--od-line) solid var(--od-border);
}

.od-trust__item:nth-child(2n) {
	border-right: 0;
}

.od-trust__item:nth-last-child(-n + 2) {
	border-bottom: 0;
}

.od-trust__item strong {
	display: block;
	font-family: var(--font-display, inherit);
	font-size: 1rem;
	margin-bottom: 3px;
}

.od-trust__item span {
	display: block;
	font-size: 0.8rem;
	color: var(--od-muted);
	font-weight: 600;
	line-height: 1.4;
}

@media (min-width: 780px) {
	.od-trust {
		grid-template-columns: repeat(4, 1fr);
	}
	.od-trust__item {
		border-bottom: 0;
		border-right: 0;
	}
	.od-trust__item:nth-child(n + 1):not(:last-child) {
		border-right: var(--od-line) solid var(--od-border);
	}
}

/* ---------- Rayons par univers ---------- */

.od-rail {
	margin-top: clamp(38px, 5.4vw, 64px);
}

.od-rail__head {
	display: flex;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 18px;
}

.od-rail__heading {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.od-rail__eyebrow {
	align-self: flex-start;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: var(--od-radius-pill);
}

.od-rail__heading h2 {
	font-size: clamp(1.5rem, 3.4vw, 2.4rem);
	margin: 0;
}

.od-rail__more {
	margin-left: auto;
	font-weight: 700;
	font-size: 0.92rem;
	border-bottom: 3px solid;
	padding-bottom: 2px;
	white-space: nowrap;
	color: inherit;
	text-decoration: none;
}

/* Le rail est un ul.products WooCommerce : défilement horizontal, une carte
   par colonne (prend le pas sur la grille générique de shop.css grâce à la
   spécificité de .od-rail__track). */
ul.products.od-rail__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(190px, 1fr);
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 0 var(--od-gutter) 14px;
	margin: 0 calc(var(--od-gutter) * -1);
	list-style: none;
}

ul.products.od-rail__track > li {
	scroll-snap-align: start;
}

@media (min-width: 720px) {
	ul.products.od-rail__track {
		grid-auto-columns: minmax(232px, 1fr);
	}
}

.od-rail__empty {
	color: var(--od-muted);
	border: var(--od-line) dashed var(--od-border);
	border-radius: var(--od-radius-md);
	padding: 24px;
	text-align: center;
}

/* ---------- Listes toutes prêtes (packs) ---------- */

.od-pack {
	margin-top: clamp(38px, 5vw, 64px);
	border: var(--od-line) solid var(--od-border);
	border-radius: var(--od-radius-lg);
	padding: clamp(22px, 3.4vw, 40px);
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--od-gutter);
}

@media (min-width: 780px) {
	.od-pack {
		grid-template-columns: 1fr 1.25fr;
		align-items: center;
	}
}

.od-pack__pitch h2 {
	font-size: clamp(1.6rem, 3.4vw, 2.4rem);
	margin: 0 0 12px;
}

.od-pack__pitch p {
	max-width: 42ch;
	line-height: 1.55;
	margin: 0 0 18px;
}

.od-pack__total {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.od-pack__total b {
	font-family: var(--font-display, inherit);
	font-size: 1.9rem;
}

.od-pack__empty,
.od-pack__note {
	font-weight: 600;
	opacity: 0.85;
}

.od-pack__add {
	font-family: var(--font-display, inherit);
	font-weight: 700;
	font-size: 0.96rem;
	padding: 13px 22px;
	border-radius: var(--od-radius-pill);
	border: var(--od-line) solid var(--od-border);
	background: var(--od-accent);
	color: var(--od-on-accent);
	cursor: pointer;
	transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.od-pack__add:hover,
.od-pack__add:focus-visible {
	transform: translate(-2px, -2px);
	box-shadow: var(--od-shadow-sm) var(--od-shadow-sm) 0 var(--od-ink);
}

.od-pack__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

@media (min-width: 560px) {
	.od-pack__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.od-pack__item {
	border: var(--od-line) solid var(--od-border);
	border-radius: var(--od-radius-md);
	padding: 10px;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-decoration: none;
}

.od-pack__item-img {
	position: relative;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.od-pack__item-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.od-pack__item-name {
	font-size: 0.74rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--od-ink-on-tint);
}
