/* ==========================================================================
   Single Magasin — mobile first
   ========================================================================== */

.litmag {
	overflow-x: hidden;
	background-color: var( --color-gris-vert );
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */

.litmag__hero {
	background-color: var( --color-vert-noir );
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	gap: 15px;
}

.litmag__hero-img-wrap {
	width: 90%;
	aspect-ratio: 1 / .78;
	flex-shrink: 0;
}

.litmag__hero-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0 33vw 33vw 0;
}

.litmag__hero-content {
	padding: 0 5vw 25px 5vw;
	color: var( --color-gris );
	position: relative;
	z-index: 1;
}

.litmag__hero-title {
	color: var( --color-gris );
	margin: 0 0 16px;
}

.litmag__hero-subtitle {
	margin: 0;
	opacity: 0.85;
}

.litmag__hero-title-wrap {
	position: relative;
}

.litmag__hero-small-star {
	position: absolute;
	bottom: 100%;
	right: 25%;
	width: 40px;
	height: auto;
	pointer-events: none;
}

.litmag__hero-big-star {
	position: absolute;
	left: -34%;
	top: 0;
	width: 85%;
	pointer-events: none;
}

.litmag__hero-big-star svg {
	display: block;
	width: 100%;
	height: auto;
}

/* --------------------------------------------------------------------------
   INFOS MAGASIN + PHOTO RONDE
   -------------------------------------------------------------------------- */

.litmag__info-section {
	padding: 48px 24px;
	display: flex;
	flex-direction: column;
	gap: 48px;
	position: relative;
}

.litmag__info-star {
	display: none;
	position: absolute;
	top: 38px;
	left: 50%;
	transform: translateX( -50% );
	width: 35%;
	pointer-events: none;
	z-index: 0;
}

.litmag__info-star svg {
	display: block;
	width: 100%;
	height: auto;
}

.litmag__info,
.litmag__info-right {
	position: relative;
	z-index: 1;
}

.litmag__store-name {
	margin: 0 0 28px;
	line-height: 1.4;
	font-size: 1.875em;
	font-weight: 700;
	color: var(--color-vert-noir);
}

.litmag__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 75px;
}

.litmag__horaires-heading {
	margin: 0 0 20px;
	color: var(--color-vert-noir);
}

.litmag__horaires {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.litmag__horaire {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 20px;
	border: 1px solid #6B7280;
	border-radius: 20px;
	gap: 12px;
	background-color: var(--color-gris-vert);
}

.litmag__horaire-day {
	font-weight: 700;
	white-space: nowrap;
}

.litmag__horaire-hours {
	text-align: right;
}

.litmag__round-photo-wrap {
	display: flex;
	justify-content: center;
	position: relative;
}

.litmag__round-photo-wrap .leaflet-map {
	width: 100%;
	height: auto !important;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
	display: block;
	background-color: #D9D9D9;
}

.litmag__round-photo-wrap .leaflet-top.leaflet-left {
	top: auto;
	left: 50%;
	bottom: 10%;
	transform: translateX(-50%);
}

.litmag__round-photo-wrap .leaflet-control-zoom {
	display: flex;
	flex-direction: row;
	border: none;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.litmag__round-photo-wrap .leaflet-control-zoom-in,
.litmag__round-photo-wrap .leaflet-control-zoom-out {
	border: none;
}

.litmag__map-star {
	position: absolute;
	margin-left: -27px;
	margin-top: -21px;
	cursor: pointer;
}

.litmag__map-tooltip {
	position: absolute;
	transform: translate(-50%, calc(-100% - 8px));
	background: #fff;
	border-radius: 6px;
	padding: 10px 14px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
	font-size: 0.875rem;
	line-height: 1.5;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.2s ease;
	z-index: 1000;
}

.litmag__map-tooltip.is-visible {
	opacity: 1;
}

/* --------------------------------------------------------------------------
   QUIZ (intégré à .litmag__info-right)
   -------------------------------------------------------------------------- */

.litmag__info-right {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.litmag__quiz {
	margin: 0 -24px;
	width: calc( 100% + 48px );
}

.litmag__quiz .lit-quiz {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: var( --color-gris-vert );
	border-radius: 50vw 50vw 0 0;
	overflow: visible;
	gap: 30px;
}

.litmag__quiz .lit-quiz__image-wrap {
	order: 2;
	width: 100%;
	margin-top: -32px;
	position: relative;
	z-index: 1;
}

.litmag__quiz .lit-quiz__image-wrap img {
	display: block;
	width: 100%;
	height: 280px;
	object-fit: cover;
}

.litmag__quiz .lit-quiz__content {
	order: 1;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 28px;
	padding: 66px 24px 0;
	text-align: center;
	position: relative;
	z-index: 1;
}

.litmag__quiz .lit-quiz__title {
	color: var( --color-vert-noir );
	margin: 0;
}

.litmag__quiz .lit-quiz .bouton {
	margin: 0 auto;
}

/* --------------------------------------------------------------------------
   ÉQUIPE
   -------------------------------------------------------------------------- */

.litmag__equipe {
	background: linear-gradient(87deg,rgba(1, 37, 21, 1) 25%, rgba(0, 81, 49, 1) 100%);
	padding: 64px 24px;
	text-align: center;
}

.litmag__equipe-title {
	color: var( --color-gris );
	margin: 0 0 48px;
}

.litmag__equipe-list {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
}

.litmag__membre {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.litmag__membre-photo {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background-color: #D9D9D9;
	overflow: hidden;
}

.litmag__membre-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.litmag__membre-infos {
	text-align: center;
	margin: 0;
	color: var( --color-gris );
}

.litmag__membre-name {
	font-weight: 700;
}

.litmag__membre-role {
	opacity: 0.8;
}

/* --------------------------------------------------------------------------
   RDV
   -------------------------------------------------------------------------- */

.litmag__rdv {
	position: relative;
}

.litmag__rdv > .elementor,
.litmag__rdv #vivre-experience {
	height: 100%;
}

.litmag__rdv #vivre-experience {
	margin-top: 0;
}

/* --------------------------------------------------------------------------
   AVIS CLIENTS
   -------------------------------------------------------------------------- */

.litmag__avis {
	padding: 2rem 0 2rem 5vw;
}

.litmag__avis-cards {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 0.5rem;
}

.litmag__avis-card {
	background: var( --color-blanc );
	border: 1px solid #DADADA;

	padding: 1.25rem;
	min-width: 260px;
	max-width: 280px;
	flex-shrink: 0;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.litmag__avis-stars {
	display: flex;
	gap: 0.15em;
	color: var( --color-rouge );
}

.litmag__avis-name,
.litmag__avis-title,
.litmag__avis-text,
.litmag__avis-date {
	margin: 0;
}

.litmag__avis-name {
	font-size: 0.9rem;
	font-weight: 700;
	text-align: left;
}

.litmag__avis-title {
	font-size: 0.95rem;
	font-weight: 700;
	text-align: center;
}

.litmag__avis-text {
	font-size: 0.85rem;
	line-height: 1.5;
	flex: 1;
}

.litmag__avis-date {
	font-size: 0.85rem;
	color: var( --color-rouge );
}

.litmag__avis-more {
	display: block;
	margin-top: 1.25rem;
	text-align: center;
	text-decoration: underline;
	color: var( --color-vert-noir );
}

/* --------------------------------------------------------------------------
   BLOC CONTENU BLANC
   -------------------------------------------------------------------------- */

.litmag__content-wrap {
	background-color: var( --color-blanc );
	display: flex;
	flex-direction: column;
}

/* — Expertise — */

.litmag__expertise {
	display: flex;
	flex-direction: column;
}

.litmag__expertise-img-wrap {
	overflow: hidden;
}

.litmag__expertise-img {
	display: block;
	width: 100%;
	height: 300px;
	object-fit: cover;
	background-color: #D9D9D9;
}

.litmag__expertise-text {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 10vw 5vw;
	color: var(--color-vert-noir);
}

/* — FAQ — */

.litmag__faq-section {
	display: flex;
	flex-direction: column-reverse;
}

.litmag__faq {
	display: flex;
	flex-direction: column;
	padding: 10vw 5vw;
}

.litmag__faq-item {
	border-bottom: 1px solid var( --color-vert-noir );
}

.litmag__faq-q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 23px 0;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	color: var( --color-vert-noir );
	user-select: none;
	font-size: 1.25em;
  	font-weight: 700;
}

.litmag__faq-icon {
	flex-shrink: 0;
	color: var( --color-vert-noir );
}

.litmag__faq-q[aria-expanded="true"] .litmag__faq-icon--plus {
	display: none;
}

.litmag__faq-q[aria-expanded="false"] .litmag__faq-icon--minus {
	display: none;
}

.litmag__faq-a-wrap {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.3s ease;
}

.litmag__faq-item.is-open .litmag__faq-a-wrap {
	grid-template-rows: 1fr;
}

.litmag__faq-a-inner {
	overflow: hidden;
}

.litmag__faq-a {
	padding: 0 0 1.5rem;
	line-height: 1.7;
}

.litmag__faq-img-wrap {
	overflow: hidden;
}

.litmag__faq-img {
	display: block;
	width: 100%;
	height: 300px;
	object-fit: cover;
	background-color: #D9D9D9;
}

/* — Infos pratiques — */

.litmag__pratique {
	display: flex;
	flex-direction: column;
}

.litmag__pratique-img-wrap {
	overflow: hidden;
}

.litmag__pratique-img {
	display: block;
	width: 100%;
	height: 300px;
	object-fit: cover;
	background-color: #D9D9D9;
}

.litmag__pratique-text {
	display: flex;
	flex-direction: column;
	padding: 10vw 5vw calc(10vw + 120px) 5vw;
	color: var(--color-vert-noir);
}

.litmag__pratique-text h3 {
	margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   Bande USP (avantages)
   -------------------------------------------------------------------------- */

.litmag__usp {
	margin-top: -80px;
	border-radius: 80px 80px 0 0;
	padding-bottom: 80px;
	background-color: var( --color-rouge );
}

.litmag__usp .grille-avantages {
	padding-top: 20px;
	padding-bottom: 20px;
	border-radius: 80px 80px 0 0;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media ( min-width: 768px ) {

	/* Hero */

	.litmag__hero {
		flex-direction: row;
		align-items: stretch;
	}

	.litmag__hero-img-wrap {
		width: 60%;
		aspect-ratio: 1 / .80;
		flex-shrink: 0;
		align-self: stretch;
	}

	.litmag__hero-img {
		width: 100%;
		height: 100%;
		max-height: none;
	}

	.litmag__hero-content {
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 64px 5vw 64px 15px;
	}

	.litmag__hero-small-star {
		width: 55px;
	}

	.litmag__hero-big-star {
		left: -10.2%;
		top: 5px;
		width: 40.6%;
	}

	/* Quiz — horizontal à partir de 768px, identique à single-produit */

	.litmag__quiz {
		margin: 0;
		width: auto;
		padding: 0;
	}

	.litmag__quiz .lit-quiz__title {
		font-size: clamp( 1rem, 1.6vw, 1.6vw );
	}

	.litmag__quiz .lit-quiz {
		flex-direction: row-reverse;
		background-color: transparent;
		border-radius: 0;
		overflow: hidden;
		gap: 0;
	}

	.litmag__quiz .lit-quiz::before {
		content: '';
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 15vw;
		background-color: var( --color-gris-vert-clair );
		border-radius: 50vw 0 0 50vw;
		z-index: 0;
	}

	.litmag__quiz .lit-quiz__image-wrap {
		order: 0;
		flex: 0 0 50%;
		width: auto;
		margin-top: 0;
	}

	.litmag__quiz .lit-quiz__image-wrap img {
		height: auto;
		transform: scaleX( -1 );
	}

	.litmag__quiz .lit-quiz__content {
		order: 0;
		flex: 1;
		align-self: flex-end;
		width: auto;
		padding: 0 0 0 2vw;
		height: 15vw;
	}

	.litmag__equipe-list {
		flex-direction: row;
		justify-content: center;
	}

	.litmag__membre-photo {
		width: 220px;
		height: 220px;
	}

	.litmag__avis {
		padding: 2rem 5vw;
	}

	.litmag__avis-cards {
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: center;
		overflow-x: visible;
		scroll-snap-type: none;
	}

	.litmag__avis-card {
		flex: 1 1 0;
		min-width: 0;
		max-width: unset;
	}

}

@media screen and (min-width: 768px) and (max-width: 1024px) {

	.litmag__quiz {
		margin-right: -5vw;
	}

}

@media ( min-width: 1025px ) {

	.litmag__hero-img-wrap {
		aspect-ratio: 1 / .71;
	}

	/* Info section */

	.litmag__info-star {
		display: block;
	}

	.litmag__info-section {
		flex-direction: row;
		align-items: flex-start;
		padding: 64px 0 64px 5vw;
		gap: 25px;
	}

	.litmag__info {
		flex: 0 0 50%;
		width: 50%;
	}

	.litmag__horaires {
		max-width: 600px;
	}

	.litmag__info-right {
		flex: 0 0 50%;
		width: 50%;
		align-self: stretch;
		position: relative;
		z-index: 1;
		gap: 25px;
		justify-content: space-between;
	}

	.litmag__round-photo-wrap {
		margin-top: -114px;
	}

	.litmag__round-photo-wrap .leaflet-map {
		width: 41vw;
	}

	/* Mid section — grille 2 colonnes */

	.litmag__mid {
		display: grid;
		grid-template-columns: 32% 1fr;
		grid-template-rows: auto auto;
		background: linear-gradient(87deg,rgba(1, 37, 21, 1) 25%, rgba(0, 81, 49, 1) 100%);
	}

	.litmag__equipe {
		grid-column: 2;
		grid-row: 1;
		padding: 80px 60px;
		text-align: center;
		background: none;
	}

	.litmag__equipe-title {
		text-align: center;
	}

	.litmag__equipe-list {
		flex-direction: row;
		justify-content: center;
		gap: 40px;
	}

	.litmag__membre-photo {
		width: 249px;
		height: 249px;
	}

	/* RDV — colonne gauche, spans les 2 rangées */

	.litmag__rdv {
		grid-column: 1;
		grid-row: 1 / 3;
		border-radius: 0 13vw 0 0;
    	overflow: hidden;
	}

	.litmag__rdv #vivre-experience {
		justify-content: flex-start;
		align-items: flex-start;
	}

	.litmag__rdv #vivre-experience-content {
		border-radius: 0 23vw 23vw 0;
		width: 80%;
		background: rgba(246, 244, 243, .84);
	}

	.litmag__rdv #vivre-experience-inner {
		flex-direction: column;
		gap: 60px;
	}

	.litmag__rdv h2 {
		font-size: clamp( 1rem, 1.85vw, 1.85vw );
		text-align: center;
  		padding: 0 15%;
		line-height: 1.2;
	}

	.litmag__rdv .bouton {
		padding-inline-start: 12px !important;
		padding-inline-end: 12px !important;
	}

	/* Avis — colonne droite, rangée 2 */

	.litmag__avis {
		grid-column: 2;
		grid-row: 2;
		padding: 64px 60px;
		background: var(--color-gris-vert);
	}

	.litmag__avis-cards {
		display: grid;
		grid-template-columns: repeat( 3, 1fr );
		overflow-x: visible;
	}

	.litmag__avis-card {
		min-width: unset;
		max-width: unset;
	}

	/* Expertise / FAQ / Pratique — quadrillage 50/50 */

	.litmag__expertise,
	.litmag__faq-section,
	.litmag__pratique {
		align-items: stretch;
		gap: 0;
		padding: 0;
	}

	/* Expertise */

	.litmag__expertise {
		flex-direction: row;
	}

	.litmag__expertise-img-wrap {
		flex: 0 0 50%;
	}

	.litmag__expertise-img {
		height: 100%;
	}

	.litmag__expertise-text {
		flex: 0 0 50%;
		padding: 64px 5vw;
		justify-content: center;
	}

	/* FAQ */

	.litmag__faq-section {
		flex-direction: row;
	}

	.litmag__faq {
		flex: 0 0 50%;
		min-width: 0;
		padding: 64px 5vw;
		justify-content: center;
	}

	.litmag__faq-img-wrap {
		flex: 0 0 50%;
	}

	.litmag__faq-img {
		height: 100%;
	}

	/* Infos pratiques */

	.litmag__pratique {
		flex-direction: row;
	}

	.litmag__pratique-img-wrap {
		flex: 0 0 50%;
	}

	.litmag__pratique-img {
		height: 100%;
	}

	.litmag__pratique-text {
		flex: 0 0 50%;
		padding: 64px 5vw 144px;
		justify-content: center;
	}

}

@media ( min-width: 1200px ) {

	.litmag__quiz .lit-quiz::before {
		height: 10vw;
	}

	.litmag__quiz .lit-quiz__content {
		height: 10vw;
	}

}

@media ( min-width: 1367px ) {

	.litmag__hero-content {
		padding: 90px 8vw 10px 1vw;
	}

	.litmag__equipe {
		padding: 100px 80px;
	}

}
