/* Module RECUPAL : section « Déchets collectés ». */

.elementor-widget-shortcode:has(.dc-wrap) {
	width: 100%;
}

.dc-wrap {
	position: relative;
	width: 100%;
	min-height: 940px;
	overflow: visible;
}

.dc-globe {
	position: absolute;
	left: -130px;
	top: 230px;
	width: 460px;
	max-width: 34vw;
	pointer-events: none;
}

.dc-follow {
	position: absolute;
	right: 49.34%;
	top: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 22px;
	white-space: nowrap;
	will-change: transform;
	margin-right: -31px;
}

.dc-title {
	font-size: 30px;
	color: #198A37;
}

.dc-t1 {
	font-family: Aptos, Arial, sans-serif;
	font-weight: 700;
}

.dc-t2 {
	font-family: 'Comfortaa', cursive;
	font-weight: 700;
}

.dc-arrow {
	width: 60px;
	height: 80px;
	flex: none;
}

.dc-panel {
	position: absolute;
	right: 0;
	top: 0;
	width: 49.34%;
	height: 888px;
	background: #B6CBA8;
	border-radius: 44px 0 0 44px;
	padding: 6px 0 6px 40px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

.dc-row {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 26px;
	border-bottom: 1.5px solid rgba(255, 255, 255, 0.95);
	color: #fff;
	transition: color 0.25s;
}

.dc-row:last-child {
	border-bottom: none;
}

.dc-icozone {
	width: 135px;
	min-width: 135px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dc-ico {
	display: inline-block;
	background-color: #fff;
	transition: background-color 0.25s;
}

.dc-label {
	font-family: 'Comfortaa', cursive;
	font-weight: 400;
	font-size: 22px;
	letter-spacing: 0.5px;
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.dc-sub {
	font-size: 15px;
	opacity: 0.95;
}

.dc-row.dc-active {
	color: #198A37;
}

.dc-row.dc-active .dc-ico {
	background-color: #198A37;
}

/* Tablette + mobile : layout de la maquette. Panneau sauge a DROITE (bord a
   bord), globe en filigrane a gauche, titre + fleche en haut a gauche, et
   chaque item centre avec le picto AU-DESSUS du label. */
@media (max-width: 1024px) {
	.dc-wrap {
		position: relative;
		min-height: auto;
		overflow: hidden;
	}

	.dc-follow {
		position: absolute;
		top: 0;
		left: 16px;
		z-index: 3;
		margin: 0;
		gap: 12px;
		will-change: transform;
	}

	.dc-title {
		font-size: 24px;
	}

	.dc-arrow {
		width: 40px;
		height: 52px;
	}

	.dc-globe {
		display: block;
		left: -50px;
		top: 200px;
		width: 240px;
		max-width: 44vw;
		opacity: 0.45;
	}

	.dc-panel {
		position: relative;
		margin-left: auto;
		width: 62%;
		height: auto;
		border-radius: 34px 0 0 34px;
		padding: 20px 16px;
	}

	.dc-row {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 10px;
		padding: 20px 0;
		text-align: center;
	}

	.dc-icozone {
		width: auto;
		min-width: 0;
	}

	.dc-ico {
		max-width: 52px;
		max-height: 48px;
	}

	.dc-label {
		align-items: center;
		text-align: center;
		font-size: 17px;
	}

	.dc-sub {
		font-size: 11px;
	}
}

/* Tablette : panneau un peu plus etroit, globe plus grand. */
@media (min-width: 768px) and (max-width: 1024px) {
	.dc-panel {
		width: 60%;
	}

	.dc-globe {
		width: 300px;
		top: 240px;
		opacity: 0.5;
	}

	.dc-title {
		font-size: 30px;
	}
}

/* Mobile etroit : le titre + la fleche partagent la largeur avec le panneau,
   la fleche arrive au-dessus du 1er item : on decale le contenu du panneau
   vers le bas pour degager la fleche. */
@media (max-width: 767px) {
	/* Titre sur 2 lignes ("Déchets" / "collectés") pour laisser la fleche a
	   gauche du panneau. */
	.dc-follow {
		left: 12px;
		gap: 8px;
	}

	.dc-title {
		font-size: 22px;
		line-height: 1.15;
	}

	.dc-title .dc-t1,
	.dc-title .dc-t2 {
		display: block;
	}

	.dc-arrow {
		width: 36px;
		height: 46px;
	}

	.dc-panel {
		width: 58%;
	}
}
