/**
 * Zorya Showroom — v1.0.0 — développé par ICT (https://ict.com.tn/)
 *
 * Cartes showroom côte à côte : image/vidéo + contenu regroupés dans un
 * même bloc uni (fond, bordure), plutôt que du texte flottant sous une
 * image séparée. Utilise les polices/couleurs du thème si disponibles
 * (--font-editorial-new, --font-helvetica-now, --inspiro-dark-color),
 * avec repli sinon.
 */

.zorya-showrooms-wrap {
	margin: 0 auto;
	padding: 24px;
}


.zorya-showrooms {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.zorya-showroom {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.06);
}

/* ---------- Média ---------- */

.zorya-showroom__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: #f2f2f2;
}

.zorya-showroom__image,
.zorya-showroom__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.zorya-showroom__media:hover .zorya-showroom__image {
	transform: scale(1.05);
}

.zorya-showroom__video-wrap {
	position: relative;
	width: 100%;
	height: 100%;
}

.zorya-showroom__video-wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* ---------- Numéro de téléphone (sous la localisation) ---------- */

.zorya-showroom__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 20px;
	color: inherit;
	text-decoration: none;
	font-family: var(--zorya-body-font, var(--font-helvetica-now, inherit));
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
	opacity: 0.85;
	transition: opacity 0.2s ease;
}

.zorya-showroom__phone:hover,
.zorya-showroom__phone:focus-visible {
	opacity: 1;
}

.zorya-showroom__phone-icon {
	font-size: 15px;
}

/* ---------- Contenu ---------- */

.zorya-showroom__content {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 32px;
	font-family: var(--zorya-body-font, var(--font-helvetica-now, inherit));
	color: var(--inspiro-dark-color, #101010);
}

.zorya-showroom__title {
	margin: 0 0 10px;
	font-family: var(--zorya-title-font, var(--font-editorial-new, inherit));
	font-size: clamp(24px, 2.6vw, 32px);
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.15;
}

.zorya-showroom__location {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	opacity: 0.5;
}

.zorya-showroom__story {
	margin: 0 0 20px;
	font-size: 15px;
	line-height: 1.9;
	color: inherit;
	opacity: 0.85;
}

.zorya-showroom__story:empty {
	display: none;
}

.zorya-showroom__story p:first-child {
	margin-top: 0;
}

.zorya-showroom__story p:last-child {
	margin-bottom: 0;
}

/* ---------- Bouton "Prendre Rendez-vous" ---------- */

.zorya-showroom__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	margin-top: auto;
	padding: 18px 0 0;
	background: none;
	border: none;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	color: var(--inspiro-dark-color, #101010);
	font-family: inherit;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-align: left;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.zorya-showroom__cta:hover,
.zorya-showroom__cta:focus-visible {
	opacity: 0.6;
}

.zorya-showroom__cta-arrow {
	font-size: 16px;
	transition: transform 0.25s ease;
}

.zorya-showroom__cta:hover .zorya-showroom__cta-arrow,
.zorya-showroom__cta:focus-visible .zorya-showroom__cta-arrow {
	transform: translateX(6px);
}

/* ---------- Révélation au scroll ---------- */

.zorya-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.zorya-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.zorya-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
	.zorya-showrooms {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}
