/* My Trendz — site vitrine */

.mtz-body {
	margin: 0;
	overflow-x: hidden;
	color: var(--tz-black);
	font-family: var(--tz-font);
	font-weight: 700;
	-webkit-font-smoothing: antialiased;
	background: var(--tz-white);
}

/* Shell + wrapper (comme le portail) */
.mtz-shell.tz-shell {
	min-height: 100vh;
	min-height: 100dvh;
	align-items: flex-start;
	padding: 24px;
}

.mtz-wrap.tz-wrap {
	width: 80%;
	max-width: 1200px;
	height: auto !important;
	min-height: 0;
	max-height: none !important;
	background: var(--tz-white);
	border-radius: var(--tz-radius-wrap) !important;
	box-shadow: var(--tz-shadow) !important;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	position: relative;
}

/* Header dans le wrapper — identique portail + nav vitrine */
.mtz-wrap .tz-header {
	position: sticky;
	top: 0;
	z-index: 50;
	flex-shrink: 0;
}
.mtz-wrap .tz-header__right {
	gap: 16px;
}
.mtz-header__links {
	display: flex;
	align-items: center;
	gap: 16px;
}
.mtz-wrap .mtz-header__burger {
	display: none;
}
.mtz-header__demo {
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--tz-white);
	text-decoration: none;
	opacity: .92;
	transition: opacity .15s ease;
}
.mtz-header__demo:hover { opacity: 1; }
.mtz-header__login {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 22px;
	border-radius: 999px;
	background: var(--tz-white);
	color: var(--tz-black);
	font-family: var(--tz-font);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease;
}
.mtz-header__login:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}

/* ---------- Sections communes ---------- */
.mtz-section {
	padding: 64px 80px 72px;
}
.mtz-section--white {
	background: var(--tz-white);
}
.mtz-section--gradient {
	background: var(--tz-gradient);
	color: var(--tz-white);
}
.mtz-section__head {
	text-align: center;
	margin-bottom: 44px;
}
.mtz-section__head .tz-script {
	display: block;
	margin: 0 0 16px;
	font-size: clamp(44px, 6.5vw, 64px);
	line-height: 1;
}
.mtz-section--white .mtz-section__head .tz-script {
	color: var(--tz-pink);
}
.mtz-section--gradient .mtz-section__head .tz-script {
	color: var(--tz-white);
}
.mtz-section__sub {
	margin: 0 auto;
	max-width: 620px;
	font-size: 15px;
	line-height: 1.55;
	font-weight: 700;
}
.mtz-section--white .mtz-section__sub {
	color: var(--tz-black);
	opacity: .72;
}
.mtz-section--gradient .mtz-section__sub {
	color: var(--tz-white);
	opacity: .92;
}

/* ---------- Hero (vidéo + overlay rose) ---------- */
.mtz-hero {
	position: relative;
	min-height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex-shrink: 0;
}
.mtz-hero__video,
.mtz-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.mtz-hero__bg {
	background-size: cover;
	background-position: center;
}
.mtz-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		165deg,
		rgba(225, 100, 225, .7) 0%,
		rgba(50, 0, 175, .75) 100%
	);
}
.mtz-hero__content {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 48px 80px;
	max-width: 860px;
	margin: 0 auto;
}
.mtz-hero__content .tz-script {
	margin: 0 0 10px;
	font-size: clamp(44px, 7vw, 68px);
	color: var(--tz-white);
	line-height: 1;
}
.mtz-hero__subtitle {
	margin: 0 0 22px;
	font-size: clamp(16px, 2.4vw, 20px);
	color: var(--tz-white);
	font-weight: 700;
	line-height: 1.35;
	white-space: nowrap;
}
.mtz-hero__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--tz-white);
	opacity: .92;
	font-weight: 700;
}

/* ---------- Étapes ---------- */
.mtz-steps__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.mtz-step-box {
	border: 2px solid rgba(225, 100, 225, .4);
	border-radius: 24px;
	min-height: 220px;
	padding: 32px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: var(--tz-white);
}
.mtz-step-box__icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--tz-gradient);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}
.mtz-step-box__icon img {
	width: 28px;
	filter: brightness(0) invert(1);
}
.mtz-step-box h3 {
	margin: 0 0 12px;
	font-family: var(--tz-script);
	font-size: clamp(28px, 4vw, 38px);
	font-weight: 400;
	color: var(--tz-pink);
	text-transform: lowercase;
	line-height: 1;
}
.mtz-step-box p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	opacity: .7;
	max-width: 280px;
}

/* ---------- Visibilité ---------- */
.mtz-vis {
	padding-top: 72px;
	padding-bottom: 80px;
}
.mtz-cats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin: 0 0 44px;
}
.mtz-cat {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid transparent;
	border-radius: 999px;
	padding: 8px 14px;
	min-height: 36px;
	background: var(--tz-pink-pale);
	color: var(--tz-purple);
	font: inherit;
	font-size: 10px;
	letter-spacing: .05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
	line-height: 1.2;
	width: 100%;
}
.mtz-cat:hover {
	box-shadow: 0 6px 20px rgba(225, 100, 225, .25);
}
.mtz-cat.is-active {
	background: var(--tz-white);
	color: var(--tz-black);
	border-color: var(--tz-purple);
	box-shadow: 0 6px 22px rgba(0, 0, 0, .12);
	padding-right: 36px;
}
.mtz-cat__label {
	text-align: center;
	width: 100%;
}
.mtz-cat__check {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--tz-gradient);
	color: var(--tz-white);
	font-size: 12px;
	line-height: 1;
	display: none;
	align-items: center;
	justify-content: center;
	box-shadow: 0 3px 10px rgba(50, 0, 175, .25);
}
.mtz-cat.is-active .mtz-cat__check {
	display: inline-flex;
}

.mtz-videos__panel {
	display: none;
	animation: mtzFadeIn .35s ease;
}
.mtz-videos__panel.is-active {
	display: block;
}
.mtz-videos__carousel {
	overflow: visible;
	width: 100%;
}
.mtz-videos__track {
	width: 100%;
}
.mtz-videos__grid--clone {
	display: none;
}
@keyframes mtzFadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}
.mtz-videos__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 45px;
}
.mtz-video-card {
	border-radius: 16px;
	overflow: hidden;
	background: rgba(0, 0, 0, .15);
	box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
	flex-shrink: 0;
}
.mtz-video-card__media {
	position: relative;
	height: 250px;
	max-height: 250px;
	width: calc(250px * 9 / 16);
	background: var(--tz-purple);
	overflow: hidden;
}
.mtz-video-card__media video,
.mtz-video-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.mtz-video-card__placeholder {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	color: var(--tz-white);
	padding: 12px;
	text-align: center;
	z-index: 1;
	background: var(--tz-purple);
}
.mtz-video-card__placeholder span {
	position: relative;
	z-index: 2;
}
.mtz-video-card__placeholder::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(255, 255, 255, .33);
	pointer-events: none;
}
.mtz-video-card__placeholder::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 200vmax;
	height: 200vmax;
	margin: 0;
	transform: translate(-50%, -50%);
	z-index: 0;
	background: linear-gradient(165deg, var(--tz-pink) 0%, var(--tz-purple) 42%, var(--tz-pink) 84%, var(--tz-purple) 100%);
	background-size: 240% 240%;
	animation:
		mtzPlaceholderGradientShift 3s ease-in-out infinite,
		mtzPlaceholderGradientRotate 20s linear infinite;
}
@keyframes mtzPlaceholderGradientShift {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}
@keyframes mtzPlaceholderGradientRotate {
	from { transform: translate(-50%, -50%) rotate(0deg); }
	to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes mtzVideoMarquee {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(-50%, 0, 0); }
}

/* ---------- FAQ ---------- */
.mtz-faq {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}
.mtz-faq__item {
	border: 2px solid rgba(225, 100, 225, .4);
	border-radius: 999px;
	overflow: hidden;
	background: var(--tz-white);
	align-self: start;
	transition: border-radius .35s cubic-bezier(.4, 0, .2, 1), box-shadow .35s ease;
}
.mtz-faq__item.is-open {
	border-radius: 22px;
	box-shadow: 0 8px 28px rgba(225, 100, 225, .12);
}
.mtz-faq__q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 24px;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 13px;
	text-align: left;
	cursor: pointer;
	color: var(--tz-black);
}
.mtz-faq__q::after {
	content: '+';
	font-size: 20px;
	color: var(--tz-pink);
	flex-shrink: 0;
	transition: transform .35s cubic-bezier(.4, 0, .2, 1);
	line-height: 1;
}
.mtz-faq__item.is-open .mtz-faq__q::after {
	transform: rotate(45deg);
}
.mtz-faq__body {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .4s cubic-bezier(.4, 0, .2, 1);
}
.mtz-faq__item.is-open .mtz-faq__body {
	grid-template-rows: 1fr;
}
.mtz-faq__a {
	overflow: hidden;
	padding: 0 24px;
	font-size: 13px;
	line-height: 1.55;
	opacity: 0;
	font-weight: 700;
	color: var(--tz-black);
	transform: translateY(-8px);
	transition:
		opacity .35s ease .05s,
		transform .35s cubic-bezier(.4, 0, .2, 1) .05s,
		padding .4s cubic-bezier(.4, 0, .2, 1);
}
.mtz-faq__item.is-open .mtz-faq__a {
	opacity: .72;
	transform: translateY(0);
	padding: 0 24px 18px;
}

/* ---------- Pages légales ---------- */
.mtz-section--legal {
	padding: 56px 80px 64px;
}
.mtz-section--legal .tz-page--legal {
	max-width: 680px;
	margin: 0 auto;
}

/* ---------- Footer ---------- */
.mtz-footer {
	flex-shrink: 0;
	padding: 16px 80px 18px;
	text-align: center;
	font-size: 12px;
	color: var(--tz-white);
	opacity: .88;
	font-weight: 700;
	background: var(--tz-gradient);
}
.mtz-footer a {
	color: var(--tz-white);
	text-decoration: none;
}
.mtz-footer a:hover { text-decoration: underline; }
.mtz-footer__sep {
	margin: 0 10px;
	opacity: .5;
}

/* ---------- Responsive ---------- */
@media (min-width: 721px) {
	.mtz-videos__track {
		display: block;
		width: 100%;
		animation: none !important;
		transform: none !important;
		will-change: auto;
	}
	.mtz-videos__grid--clone {
		display: none !important;
	}
	.mtz-videos__grid {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 45px;
		padding-right: 0;
	}
}
@media (max-width: 960px) {
	.mtz-cats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
	.mtz-header__links { display: none; }
	.mtz-wrap .mtz-header__burger { display: flex; }
	.mtz-section,
	.mtz-hero__content { padding-left: 48px; padding-right: 48px; }
	.mtz-section--legal { padding-left: 48px; padding-right: 48px; }
	.mtz-section { padding-top: 48px; padding-bottom: 56px; }
	.mtz-steps__grid {
		grid-template-columns: 1fr;
		max-width: 360px;
		margin: 0 auto;
	}
	.mtz-faq { grid-template-columns: 1fr; }
	.mtz-hero { min-height: 340px; }
	.mtz-hero__content { max-width: 640px; }
	.mtz-hero__subtitle {
		white-space: normal;
		font-size: clamp(16px, 2.4vw, 20px);
	}
	.mtz-cats { grid-template-columns: repeat(2, 1fr); }
	.mtz-footer {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 4px;
	}
	.mtz-footer__sep {
		display: none;
	}
	.mtz-footer__copy,
	.mtz-footer > a {
		display: block;
	}
	.mtz-footer__copy a {
		display: inline;
	}
	.mtz-vis .mtz-videos__carousel {
		margin-left: -48px;
		margin-right: -48px;
		width: calc(100% + 96px);
		overflow: hidden;
	}
	.mtz-videos__track {
		display: flex;
		flex-wrap: nowrap;
		width: max-content;
		justify-content: flex-start;
		animation: mtzVideoMarquee var(--mtz-marquee-duration, 50s) linear infinite;
		will-change: transform;
	}
	.mtz-videos__grid--clone {
		display: flex;
	}
	.mtz-videos__grid {
		display: flex;
		flex-wrap: nowrap;
		gap: 24px;
		padding-right: 24px;
	}
}
@media (max-width: 640px) {
	.mtz-shell.tz-shell { padding: 16px !important; }
	.mtz-wrap.tz-wrap {
		width: 100%;
		border-radius: var(--tz-radius-wrap) !important;
		box-shadow: var(--tz-shadow) !important;
		height: auto !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mtz-videos__panel { animation: none; }
	.mtz-videos__track { animation: none !important; }
	.mtz-video-card__placeholder::before { animation: none; }
	.mtz-faq__body,
	.mtz-faq__a,
	.mtz-faq__item,
	.mtz-faq__q::after { transition: none; }
}
