/* ============================================================
   DAL'ALU — Page "Devenir franchisé / Le concept"
   ============================================================ */

.dal-concept {
	padding-bottom: 90px;
	overflow: hidden;
}

.dal-concept .dal-container {
	width: 80%;
	margin: 0 auto;
}

/* ── Fil d'ariane ── */
.dal-concept__fil {
	padding: 18px 0 8px;
	font-size: 13px;
	color: #888;
}

.dal-concept__fil a {
	color: #888;
	text-decoration: none;
}

.dal-concept__fil a:hover {
	color: var(--dal-red, #DC0D15);
}

.dal-concept__fil span {
	margin: 0 6px;
}

/* ── Hero : bandeau + panneau rouge centré ──
   Centrage en flex (pas de transform : un transform créerait un
   stacking context qui piégerait le mix-blend-mode du panneau). */
.dal-concept__hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80%;
	min-height: 260px;
	margin: 8px auto 0;
	background: #cfcfcf;
	border-radius: 24px;
}

.dal-concept__hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
	display: block;
}

/* Panneau : pas de z-index/transform ici (sinon le blend est piégé) */
.dal-concept__hero-panel {
	position: relative;
	color: #fff;
	text-align: center;
	padding: 20px 60px;
	border-radius: 100px;
	max-width: 80%;
}

/* Fond rouge en blend, séparé du texte */
.dal-concept__hero-panel-bg {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: var(--dal-red, #DC0D15);
	mix-blend-mode: hard-light;
}

/* Texte au-dessus du fond, hors du contexte de blend */
.dal-concept__hero-panel-texte {
	position: relative;
	z-index: 1;
}

.dal-concept__hero-titre {
	margin: 0;
	font-size: clamp(1.85rem, 2.6vw, 48px);
	font-weight: 800;
}

.dal-concept__hero-sous {
	margin: 4px 0 0;
	font-size: clamp(1.15rem, 2.6vw, 20px);
	font-weight: 500;
}

/* ── Section "Pourquoi choisir" ── */
.dal-container.dal-concept__pourquoi {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: clamp(40px, 6vw, 90px);
	align-items: center;
	margin-top: 64px;
}

.dal-concept__titre {
	font-size: clamp(1.85rem, 2.4vw, 39px);
	font-weight: 800;
	color: #000;
	margin: 0 0 20px;
}

.dal-concept__rouge {
	color: var(--dal-red, #DC0D15);
}

/* Trait rouge sous le titre */
.dal-concept__titre::after {
	content: "";
	display: block;
	width: 90px;
	height: 5px;
	margin-top: 16px;
	background: var(--dal-red, #DC0D15);
	border-radius: 20px;
}

.dal-concept__intro {
	font-size: 18px;
	color: #000;
	font-weight: 400;
	margin: 0 0 32px;
}

/* ── Grille des atouts (2 × 2) ── */
.dal-concept__features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px 36px;
	margin-bottom: 36px;
}

.dal-concept__feature-titre {
	position: relative;
	padding-left: 28px;
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 800;
	color: #000;
}

/* Puce ronde rouge devant le titre */
.dal-concept__feature-titre::before {
	content: "";
	position: absolute;
	left: 0;
	top: 20%;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--dal-red, #DC0D15);
}

.dal-concept__feature p {
	padding-left: 28px;
	margin: 0;
	font-size: 16px;
	font-weight: 400;
}

.dal-concept__btn {
	padding: 10px 50px;
	font-size: 18px;
	font-weight: 500;
}

/* ── Visuel de droite + demi-cercle rouge ── */
.dal-concept__col-visuel {
	position: relative;
}

.dal-concept__col-visuel::before {
	content: "";
	position: absolute;
	right: max(-80px, calc(50% - 50vw));
	bottom: 60px;
	width: 260px;
	height: 165px;
	background: var(--dal-red, #DC0D15);
	border-radius: 500px;
	z-index: 0;
}

.dal-concept__visuel {
	position: relative;
	z-index: 1;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 24px;
	display: block;
}

/* ── Section "Dal'Alu en chiffres" ── */
.dal-chiffres {
	margin-top: 65px;
	background: #F4F4F6;
	border-radius: 30px;
	padding: 40px 20px;
}

.dal-chiffres__titre {
	text-align: center;
	font-size: clamp(1.85rem, 2.2vw, 39px);
	font-weight: 800;
	color: #000;
	margin: 0 0 60px;
}

.dal-chiffres__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 80px 24px;
	/* 4 cartes max par ligne : 4 × 300px + 3 × 24px de gap */
	max-width: 1272px;
	margin: 0 auto;
}

.dal-chiffre {
	flex: 1 1 260px;
	max-width: 300px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: #fff;
	border-radius: 18px;
	padding: 30px 25px 30px;
	height: 200px;
	box-sizing: border-box;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

/* Pastille rouge + icône, débordant en haut de la carte */
.dal-chiffre__icone {
	max-width: 98px;
	max-height: 98px;
	margin-top: -75px;
	margin-bottom: 20px;
	border-radius: 50%;
}

.dal-chiffre__valeur {
	margin: 0 0 8px;
	font-size: clamp(1.5rem, 2vw, 36px);
	font-weight: 800;
	color: #000;
	line-height: 1;
}

.dal-chiffre__label {
	color: #000;
	font-weight: 500;
	margin: 0;
	font-size: 21px;
	line-height: 1.4;
}

/* ── Responsive ── */
@media (max-width: 1440px) {

	.dal-concept .dal-container,
	.dal-concept__hero {
		width: 90%;
	}
}

@media (max-width: 900px) {

	/* Bannière : texte calé en bas, panneau titre sans arrondi (image inchangée) */
	.dal-concept__hero {
		align-items: flex-end;
	}

	.dal-concept__hero-panel {
		margin-bottom: 18px;
		border-radius: 0;
	}

	/* Pourquoi choisir : image d'abord, puis les textes */
	.dal-container.dal-concept__pourquoi {
		grid-template-columns: 1fr;
	}

	.dal-concept__col-visuel {
		order: -1;
	}

	.dal-chiffres__grid {
		gap: 60px 16px;
	}

	.dal-chiffres {
		margin-top: 40px;

	}

	.dal-chiffre {
		height: 150px;
		padding: 30px 15px 15px;
	}

	.dal-chiffre__icone {
		max-width: 80px;
		max-height: 80px;
		margin-top: -75px;
		margin-bottom: 10px;
		border-radius: 50%;
	}

	.dal-concept__visuel {
		aspect-ratio: 5 / 2;
	}

	.dal-concept__col-visuel::before {
		width: 160px;
		height: 100px;
		border-radius: 500px;
	}
}


/* ── Section "Venez nous rencontrer" (carrousel) ── */
.dal-evenements {
	margin-top: 90px;
	overflow: hidden;
}

.dal-evenements__inner {
	width: 80%;
	margin: 0 auto;
}

.dal-evenements__titre {
	text-align: center;
	font-size: clamp(1.85rem, 2.2vw, 39px);
	font-weight: 800;
	color: #000;
	margin: 0 0 48px;
}

/* Piste scrollable (drag + flèches gérés en JS).
   margin/padding en calc() : la piste s'étend jusqu'aux bords du viewport,
   ce qui dépasse reste visible à gauche et à droite, et au repos la première
   carte reste alignée sur le container (comme les sliders de la home). */
.dal-evenements__scroller {
	display: flex;
	gap: 28px;
	overflow-x: auto;
	padding: 60px calc(50vw - 50%) 40px;
	margin: 0 calc(50% - 50vw);
	scrollbar-width: none;
	cursor: grab;
}

.dal-evenements__scroller.is-dragging {
	cursor: grabbing;
	user-select: none;
}

.dal-evenements__scroller::-webkit-scrollbar {
	display: none;
}

.dal-evenement {
	flex: 0 0 auto;
	width: min(360px, 90vw);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: #fff;
	border-radius: 20px;
	padding: 0 24px 32px;
	box-shadow: 0 0 29px 0 rgba(0, 0, 0, 0.14);
}

/* Pastille ronde à contour rouge qui déborde en haut */
.dal-evenement__icone {
	width: 92px;
	height: 92px;
	margin-top: -46px;
	margin-bottom: 20px;
	border-radius: 50%;
	border: 2px solid var(--dal-red, #DC0D15);
	background: #fff;
	color: var(--dal-red, #DC0D15);
	display: flex;
	align-items: center;
	justify-content: center;
}

.dal-evenement__icone svg {
	width: 48px;
	height: 48px;
}

/* Picto uploadé (image mise en avant) */
.dal-evenement__picto {
	width: 52px;
	height: 52px;
	object-fit: contain;
}

.dal-evenement__date {
	margin: 0 0 6px;
	font-size: 30px;
	font-weight: 800;
	color: #000;
}

.dal-evenement__ville {
	margin: 0 0 18px;
	font-size: 42px;
	font-weight: 800;
	color: var(--dal-red, #DC0D15);
	line-height: 1;
}

.dal-evenement__adresse {
	margin: 0;
	font-size: 16px;

}

/* Navigation : flèches + barre de progression */
.dal-evenements__nav {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-top: 16px;
}

.dal-evenements__arrows {
	display: flex;
	gap: 12px;
	/* couleurs de .dal-arrow (global.css) */
	--dal-arrow-color: var(--dal-red, #DC0D15);
	--dal-arrow-hover-bg: rgba(220, 13, 21, 0.08);
}

.dal-evenements__progress {
	flex: 1;
	height: 2px;
	background: #f0d3d5;
	border-radius: 1px;
	overflow: hidden;
}

.dal-evenements__progress-fill {
	display: block;
	height: 100%;
	width: 0;
	background: var(--dal-red, #DC0D15);
	transition: width 0.2s ease;
}

@media (max-width: 1440px) {
	.dal-evenements__inner {
		width: 90%;
	}
}


/* ── Section "Ils nous ont rejoint" (vidéos) ── */
.dal-temoignages {
	margin-top: 90px;
	background: #F4F4F6;
	border-radius: 30px;
	padding: clamp(32px, 4vw, 64px);
}

.dal-temoignages__titre {
	text-align: center;
	font-size: clamp(1.85rem, 2.2vw, 39px);
	font-weight: 800;
	color: #000;
	margin: 0 0 14px;
}

.dal-temoignages__sous {
	text-align: center;
	font-size: 18px;
	margin: 0 auto 40px;
	font-weight: 400;
}

.dal-temoignages__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}

/* Vignette vidéo (bouton) */
.dal-temoignage {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 300 / 430;
	padding: 0;
	border: none;
	border-radius: 20px;
	overflow: hidden;
	background: #cfcfcf;
	cursor: pointer;
}

.dal-temoignage__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Bouton play façon YouTube, centré */
.dal-temoignage__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: transform 0.15s ease, filter 0.15s ease;
}

.dal-temoignage__play svg {
	display: block;
	width: 62px;
	height: auto;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.dal-temoignage:hover .dal-temoignage__play {
	transform: translate(-50%, -50%) scale(1.08);
}

/* Iframe injectée au clic (JS) */
.dal-temoignage iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 900px) {
	.dal-temoignages__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mobile : slider horizontal (swipe tactile, aperçu de la carte suivante) */
@media (max-width: 640px) {
	.dal-temoignages__grid {
		display: flex;
		grid-template-columns: none;
		gap: 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		/* déborde jusqu'aux bords de la carte grise pour un vrai effet slider */
		margin: 0 clamp(-64px, -4vw, -32px);
		padding: 0 clamp(32px, 4vw, 64px);
	}

	.dal-temoignages__grid::-webkit-scrollbar {
		display: none;
	}

	.dal-temoignage {
		flex: 0 0 auto;
		width: min(72%, 260px);
		scroll-snap-align: start;
	}
}

@media (max-width: 900px) {
	.dal-concept__pourquoi {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.dal-concept__col-visuel {
		order: -1;
		/* visuel au-dessus du texte */
	}
}

@media (max-width: 560px) {
	.dal-concept__features {
		grid-template-columns: 1fr;
	}

	.dal-concept__hero-panel {
		padding: 16px 32px;
		max-width: 105%;
		width: 105%;
	}

	.dal-concept__btn {
		display: block;
		text-align: center;
	}
}
/* Mobile : marge latérale 16px */
@media (max-width: 600px) {
	.dal-concept .dal-container {
		width: 100%;
		padding-left: max(16px, 4vw);
		padding-right: max(16px, 4vw);
		box-sizing: border-box;
	}
}

/* ============================================================
   Module flottant "Salon Batimat" (prise de rendez-vous)
   Onglet fixé au bord droit : replié = languette verticale,
   ouvert = panneau avec formulaire. Front uniquement.
   ============================================================ */
.dal-batimat {
	--bat-dark: #2b333a;
	position: fixed;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	z-index: 1000;
}

/* ── Languette repliée ── */
.dal-batimat__toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 18px;
	width: 100px;
	/* même hauteur que le bloc ouvert */
	height: 503px;
	padding: 26px 14px;
	box-sizing: border-box;
	border: none;
	cursor: pointer;
	background: var(--bat-dark);
	color: #fff;
	border-radius: 69px 0 0 69px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
}

.dal-batimat__toggle .dal-batimat__ico {
	width: 28px;
	height: auto;
	flex: 0 0 auto;
}

.dal-batimat__toggle-txt {
	writing-mode: vertical-rl;
	rotate: 180deg;
	display: flex;
	align-items: baseline;
	gap: 8px;
	line-height: 1.1;
}

.dal-batimat__toggle-txt strong {
	font-size: 18px;
	font-weight: 800;
}

.dal-batimat__toggle-txt span {
	font-size: 12px;
	font-weight: 400;
	opacity: .9;
}

/* ── Panneau ouvert ── */
.dal-batimat__panel {
	position: relative;
	width: 340px;
	max-width: calc(100vw - 24px);
	padding: 45px 45px 45px;
	background: var(--bat-dark);
	color: #fff;
	border-radius: 69px 0 0 69px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
	box-sizing: border-box;
	/* masqué par défaut : glisse depuis la droite */
	display: none;
}

/* États : replié → languette ; ouvert → panneau */
.dal-batimat.is-open .dal-batimat__toggle {
	display: none;
}

.dal-batimat.is-open .dal-batimat__panel {
	display: block;
}

.dal-batimat__close {
	position: absolute;
	top: 10px;
	right: 14px;
	border: none;
	background: none;
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	opacity: .8;
}

.dal-batimat__close:hover {
	opacity: 1;
}

/* En-tête */
.dal-batimat__head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 22px;
}

.dal-batimat__head .dal-batimat__ico {
	width: 28px;
	height: auto;
	flex: 0 0 auto;
	margin-top: 4px;
}

.dal-batimat__dates {
	margin: 0;
	color: #FFF;
	font-family: "Futura Std";
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
}

.dal-batimat__titre {
	margin: 2px 0 6px;
	color: #FFF;
	font-family: "Futura Std";
	font-size: 26px;
	font-style: normal;
	font-weight: 800;
	line-height: normal;
}

.dal-batimat__lieu {
	margin: 0;
	color: #FFF;
	font-family: "Futura Std";
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

/* Champs */
.dal-batimat__form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.dal-batimat__input {
	width: 100%;
	padding: 12px 20px;
	border: none;
	border-radius: 100px;
	background: #fff;
	color: #000;
	font-family: inherit;
	font-size: 14px;
	outline: none;
	box-sizing: border-box;
}

.dal-batimat__input::placeholder {
	color: #BFBFBF;
	font-family: "Futura Std";
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
}

.dal-batimat__rdv {
	margin: 10px 0 0;
	/* aligné sur le texte des inputs (padding interne de 20px) */
	padding-left: 20px;
	color: #FFF;
	font-family: "Futura Std";
	font-size: 18px;
	font-style: normal;
	font-weight: 800;
	line-height: normal;
}

.dal-batimat__date {
	display: flex;
	align-items: center;
	gap: 14px;
	/* aligné sur le texte des inputs */
	padding-left: 20px;
}

.dal-batimat__date-label {
	color: #FFF;
	font-family: "Futura Std";
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.dal-batimat__select {
	padding: 9px 20px;
	border: 1px solid rgba(255, 255, 255, .55);
	border-radius: 12px;
	background: transparent;
	color: #FFF;
	font-family: "Futura Std";
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}

.dal-batimat__select:hover,
.dal-batimat__select.is-set {
	background: #fff;
	color: var(--bat-dark);
}

/* input datetime natif masqué : déclenché par le bouton "Sélectionner" */
.dal-batimat__datetime {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.dal-batimat__submit {
	margin-top: 8px;
	/* aligné à gauche, comme « Prendre rendez-vous » et les inputs */
	align-self: flex-start;
	width: 100%;
	padding: 13px 20px;
	border: none;
	border-radius: 12px;
	background: var(--dal-red, #DC0D15);
	color: #FFF;
	font-family: "Futura Std";
	font-size: 16px;
	font-style: normal;
	font-weight: 800;
	line-height: normal;
	cursor: pointer;
	transition: background .15s ease;
}

.dal-batimat__submit:hover {
	background: #b40a11;
}

/* ── Mobile ── */
@media (max-width: 600px) {
	.dal-batimat {
		top: auto;
		bottom: 0;
		transform: none;
	}

	.dal-batimat__toggle {
		border-radius: 20px 20px 0 0;
		flex-direction: row;
		padding: 12px 18px;
	}

	.dal-batimat__toggle-txt {
		writing-mode: horizontal-tb;
		rotate: none;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.dal-batimat__panel {
		border-radius: 20px 20px 0 0;
		width: 100vw;
		max-width: 100vw;
	}
}
