/* 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);
}

.mtz-page {
	padding-top: var(--tz-header-h);
}

/* Header fixe (structure portail + nav vitrine) */
.mtz-header--fixed {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 200;
	height: var(--tz-header-h);
}
.mtz-header--fixed .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--fixed .mtz-header__demo:hover { opacity: 1; }
.mtz-header--fixed .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--fixed .mtz-header__login:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}

/* Shell + wrapper (comme le portail, scroll global) */
.mtz-shell {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 24px;
	min-height: 0;
}

.mtz-wrap {
	width: 80%;
	max-width: 1200px;
	height: auto;
	min-height: 0;
	max-height: none;
	background: var(--tz-white);
	border-radius: var(--tz-radius-wrap);
	box-shadow: var(--tz-shadow);
	overflow: visible;
	display: block;
}

/* ---------- Sections communes ---------- */
.mtz-section {
	padding: 64px 40px 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;
}
.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 40px;
	max-width: 640px;
	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;
}
.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é (maquette) ---------- */
.mtz-vis {
	padding-top: 72px;
	padding-bottom: 80px;
}
.mtz-cats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin: 0 0 44px;
}
.mtz-cat {
	position: relative;
	border: 2px solid transparent;
	border-radius: 999px;
	padding: 16px 48px 16px 20px;
	background: var(--tz-white);
	color: var(--tz-black);
	font: inherit;
	font-size: 12px;
	letter-spacing: .05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease;
	text-align: center;
	line-height: 1.3;
}
.mtz-cat:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}
.mtz-cat.is-active {
	border-color: var(--tz-purple);
	box-shadow: 0 8px 28px rgba(0, 0, 0, .14);
}
.mtz-cat__check {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--tz-gradient);
	color: var(--tz-white);
	font-size: 14px;
	line-height: 1;
	display: none;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(50, 0, 175, .28);
}
.mtz-cat.is-active .mtz-cat__check {
	display: flex;
}

.mtz-videos__panel {
	display: none;
	animation: mtzFadeIn .35s ease;
}
.mtz-videos__panel.is-active {
	display: block;
}
@keyframes mtzFadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}
.mtz-videos__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.mtz-video-card {
	border-radius: 20px;
	overflow: hidden;
	background: rgba(0, 0, 0, .15);
	box-shadow: 0 12px 36px rgba(0, 0, 0, .2);
}
.mtz-video-card__media {
	position: relative;
	aspect-ratio: 9 / 16;
	background: #111;
}
.mtz-video-card__media video,
.mtz-video-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.mtz-video-card__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	opacity: .6;
	color: var(--tz-white);
	padding: 16px;
	text-align: center;
}

/* ---------- 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;
}

/* ---------- Footer ---------- */
.mtz-footer {
	padding: 28px 40px 32px;
	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 (max-width: 960px) {
	.mtz-videos__grid { grid-template-columns: repeat(2, 1fr); }
	.mtz-cats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
	.mtz-shell { padding: 16px; }
	.mtz-wrap {
		width: 100%;
		border-radius: 28px;
	}
	.mtz-section,
	.mtz-hero__content { padding-left: 24px; padding-right: 24px; }
	.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; }
}
@media (max-width: 480px) {
	.mtz-cats { grid-template-columns: 1fr; }
	.mtz-videos__grid {
		grid-template-columns: 1fr;
		max-width: 220px;
		margin: 0 auto;
	}
}

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