/* Texte dépliable : hauteur réduite = premiers paragraphes (calculée par le script). */
.adr-depliable__contenu {
	overflow: hidden;
	max-height: var(--adr-replie, none);
	transition: max-height .5s ease;
}
.adr-depliable.est-deplie .adr-depliable__contenu {
	max-height: var(--adr-deplie, none);
}
.adr-depliable__contenu > :last-child {
	margin-bottom: 0;
}
.adr-depliable__bouton .elementor-button-icon svg {
	transition: transform .3s ease;
}
.adr-depliable.est-deplie .adr-depliable__bouton .elementor-button-icon svg {
	transform: rotate(45deg);
}

/* Carrousel mobile (maquette mobile des tarifs : carte active 336 px, voisines réduites à 78 % derrière). */
.adr-carrousel-mobile__nav {
	display: none;
}
@media (max-width: 767px) {
	.adr-carrousel-mobile.est-carrousel {
		position: relative;
		display: block !important;
		transition: height .3s ease;
	}
	.adr-carrousel-mobile.est-carrousel > [data-adr-position] {
		position: absolute !important;
		top: 0;
		left: 0;
		width: 100% !important;
		margin: 0 !important;
		transition: transform .45s ease, opacity .45s ease, box-shadow .45s ease;
	}
	.adr-carrousel-mobile.est-carrousel > [data-adr-position="actif"] {
		z-index: 3;
		box-shadow: 0 4px 14px rgba(35, 42, 85, .18);
	}
	.adr-carrousel-mobile.est-carrousel > [data-adr-position="suivant"] {
		z-index: 2;
		transform-origin: right center;
		transform: translateX(26px) scale(.784);
	}
	.adr-carrousel-mobile.est-carrousel > [data-adr-position="precedent"] {
		z-index: 2;
		transform-origin: left center;
		transform: translateX(-23px) scale(.784);
	}
	.adr-carrousel-mobile.est-carrousel > [data-adr-position="cache"] {
		z-index: 1;
		opacity: 0;
		pointer-events: none;
	}
	.adr-carrousel-mobile.est-carrousel + .adr-carrousel-mobile__nav {
		display: flex;
		justify-content: center;
		gap: 6px;
		margin-top: 4px;
	}
	.adr-carrousel-mobile__fleche {
		display: block;
		width: 31px !important;
		min-width: 31px !important;
		height: 31px;
		padding: 0 !important;
		border: 0 !important;
		background: none !important;
		color: #232A55 !important;
		line-height: 0;
		cursor: pointer;
	}
	.adr-carrousel-mobile__fleche svg circle { transition: fill .2s; }
	.adr-carrousel-mobile__fleche svg path { transition: stroke .2s; }
	.adr-carrousel-mobile__fleche:hover svg circle,
	.adr-carrousel-mobile__fleche:focus-visible svg circle { fill: #232A55; }
	.adr-carrousel-mobile__fleche:hover svg path,
	.adr-carrousel-mobile__fleche:focus-visible svg path { stroke: #FFFFFF; }
}
