/* Qui sommes-nous ? (spec 02) : variantes propres à la page. */

/* ---- Hero : paragraphe en REM Regular (maquette), texte sur la moitié droite de la photo */
.nl-qui-hero .elementor-widget-text-editor { font-weight: 400; }
.nl-qui-hero .nl-ariane { width: auto; }

/* ---- Frise (Logia Timeline) sur la bande de bois en flèche (fond de la section) */
.nl-qui-timeline .lt-item { padding-left: 0; }
.nl-qui-timeline .lt-head,
.nl-qui-timeline .lt-body { padding-left: 25px; }
.nl-qui-timeline .lt-date { white-space: nowrap; }
.nl-qui-timeline.lt-layout-top .lt-line-zone { margin: 0 0 11px; }
/* Le trait traverse la bande puis descend le long de l'année (168 px en tout). */
.nl-qui-timeline .lt-marker { top: 0; bottom: -64px; }
.nl-qui-timeline .lt-desc {
	margin: 0;
	font-size: 0.9375rem !important; /* 15 px — était 1.125 rem, trop grand → déborde */
	line-height: 1.35 !important;
	white-space: normal; /* pas de nowrap : évite la coupe à droite ≥ 1600 px */
	overflow-wrap: break-word;
	word-break: normal;
}
@media (max-width: 1599px) {
	.nl-qui-timeline .lt-desc { font-size: 0.875rem !important; }
}
/* Contenir la frise dans la largeur utile (plus de débordement hors écran). */
.nl-qui-frise-contenu.e-con,
.nl-qui-timeline,
.nl-qui-timeline .lt-scroller,
.nl-qui-timeline .lt-timeline {
	max-width: 100%;
}
@media (min-width: 1025px) {
	.nl-qui-frise.e-con,
	.nl-qui-frise-contenu.e-con {
		overflow-x: clip;
	}
	.nl-qui-timeline .lt-scroller {
		overflow: hidden;
	}
	.nl-qui-timeline.elementor-widget {
		width: 100% !important;
		max-width: 100% !important;
	}
}
/* Desktop : bande et repères à l'échelle de la maquette 1920 (1 px maquette = 1/19.2 vw, plafonné à 1 px),
   repérés depuis le centre de la page comme l'image de la bande. Traits à x 68.8 / 336.8 / 603.8 / 878.8 /
   1153.8 / 1439.8, pointe à 1755.3 ; année et texte décalés de 18 / 18 / 26 / 25 / 36 / 31 px ; texte 230 px. */
@media (min-width: 1025px) {
	.nl-qui-frise.e-con { background-size: min(133.3333vw, 2560px) 224px !important; }
	.nl-qui-frise-contenu.e-con > .nl-qui-timeline.elementor-widget {
		align-self: flex-start;
		width: min(87.8385vw, 1686.5px) !important;
		max-width: none !important;
		margin-left: calc(50% - min(46.4167vw, 891.2px)) !important;
		margin-right: 0 !important;
	}
	.nl-qui-timeline .lt-timeline { --lt-gap: 0px !important; }
	.nl-qui-timeline .lt-item { padding-left: 0 !important; padding-right: 0 !important; }
	.nl-qui-timeline .lt-item:nth-child(1) { flex: 0 0 min(13.9583vw, 268px) !important; --nl-frise-dx: min(.9375vw, 18px); }
	.nl-qui-timeline .lt-item:nth-child(2) { flex: 0 0 min(13.9063vw, 267px) !important; --nl-frise-dx: min(.9375vw, 18px); }
	.nl-qui-timeline .lt-item:nth-child(3) { flex: 0 0 min(14.3229vw, 275px) !important; --nl-frise-dx: min(1.3542vw, 26px); }
	.nl-qui-timeline .lt-item:nth-child(4) { flex: 0 0 min(14.3229vw, 275px) !important; --nl-frise-dx: min(1.3021vw, 25px); }
	.nl-qui-timeline .lt-item:nth-child(5) { flex: 0 0 min(14.8958vw, 286px) !important; --nl-frise-dx: min(1.875vw, 36px); }
	.nl-qui-timeline .lt-item:nth-child(6) { flex: 0 0 min(16.4323vw, 315.5px) !important; --nl-frise-dx: min(1.6146vw, 31px); }
	.nl-qui-timeline .lt-head, .nl-qui-timeline .lt-body { padding-left: var(--nl-frise-dx) !important; }
	.nl-qui-timeline .lt-date {
		font-size: max(28px, min(2.5521vw, 49px)) !important;
		letter-spacing: min(.2594vw, 4.98px) !important;
	}
	.nl-qui-timeline .lt-desc {
		width: min(11.9792vw, 230px);
		max-width: none;
		font-size: max(12px, min(.9375vw, 18px)) !important;
		line-height: 1.311 !important;
	}
}
/* Dès 1280 px : retours de ligne de la maquette conservés (le texte tient dans sa colonne à l'échelle). */
@media (min-width: 1280px) {
	.nl-qui-timeline .lt-desc { white-space: nowrap; }
	.nl-qui-timeline .lt-desc br { display: inline !important; }
}
@media (min-width: 1025px) and (max-width: 1599px) {
	.nl-qui-frise.e-con { background-size: min(133.3333vw, 2560px) 168px !important; }
}
@media (max-width: 1599px) {
	.nl-qui-timeline .lt-head, .nl-qui-timeline .lt-body { padding-left: 18px; }
	.nl-qui-timeline.lt-layout-top .lt-line-zone { margin-bottom: 8px; }
	.nl-qui-timeline .lt-marker { bottom: -48px; }
	.nl-qui-timeline .lt-desc br { display: none; }
}
@media (max-width: 1024px) {
	.nl-qui-timeline .lt-head, .nl-qui-timeline .lt-body { padding-left: 16px; }
	.nl-qui-timeline .lt-marker { bottom: -44px; }
}
/* Tablette et téléphone : liste verticale du widget, ligne or à gauche (la bande en flèche disparaît). */
@media (max-width: 1024px) {
	.nl-qui-frise.e-con { background-image: none !important; --padding-top: 24px; --padding-bottom: 104px; padding-top: 24px !important; padding-bottom: 104px !important; }
	.nl-qui-frise-contenu.e-con { overflow: visible; }
	.nl-qui-timeline .lt-timeline { --lt-gap: 28px !important; --lt-v-rail: 36px; }
	.nl-qui-timeline .lt-desc { font-size: 1rem !important; }
	.nl-qui-timeline .lt-desc br { display: none; }
	.nl-qui-timeline .lt-item { padding-left: 0 !important; padding-right: 0 !important; }
	.nl-qui-timeline .lt-date { font-size: 2rem !important; }
	.nl-qui-timeline .lt-timeline { --lt-line-color: var(--nl-or) !important; --lt-line-weight: 2px !important; --lt-connector-color: var(--nl-or) !important; }
	.nl-qui-timeline .lt-head, .nl-qui-timeline .lt-body { padding-left: 0; }
	.nl-qui-timeline .lt-marker { bottom: auto; }
}

/* ---- Dirigeants : encarts de citation plus larges que la colonne, glissés sous le portrait */
.nl-qui-citation.e-con { max-width: none; flex-shrink: 0; }
.nl-qui-citation .nl-signature .elementor-heading-title { white-space: normal; }
@media (max-width: 1024px) {
	.nl-qui-citation.e-con { width: 100% !important; margin-left: 0 !important; }
	.nl-qui-portrait.e-con { align-self: center; }
	.nl-qui-citation .elementor-widget-text-editor br { display: none; }
}
/* Desktop : portraits 544 × 739 et encarts 1148 × 418 de la maquette 1920, à l'échelle de l'écran. La largeur de
   l'encart part de la largeur de la rangée (cqw) pour qu'il glisse toujours de 109 px (Nicolas) / 68 px (Nadine)
   sous le portrait ; marges internes de la maquette : texte calé à 153 px du bord droit (Nicolas), à 150 px du
   bord gauche (Nadine), retours de ligne de la maquette. */
@media (min-width: 1025px) {
	.nl-qui-nicolas.e-con, .nl-qui-nadine.e-con {
		--nl-u: min(calc(100vw / 1920), 1px);
		container-type: inline-size;
	}
	.nl-qui-nicolas .nl-qui-portrait.e-con, .nl-qui-nadine .nl-qui-portrait.e-con {
		--width: calc(544 * var(--nl-u)) !important;
		width: calc(544 * var(--nl-u)) !important;
		flex: 0 0 auto !important;
		position: relative;
		z-index: 2;
	}
	.nl-qui-nicolas .nl-qui-portrait img, .nl-qui-nadine .nl-qui-portrait img {
		width: 100% !important;
		height: calc(739 * var(--nl-u)) !important;
	}
	.nl-qui-nicolas .nl-qui-portrait.e-con { margin-right: calc(8 * var(--nl-u)) !important; }
	.nl-qui-nadine .nl-qui-portrait.e-con { margin-left: calc(-27 * var(--nl-u)) !important; }
	.nl-qui-citation.e-con {
		--min-height: calc(418 * var(--nl-u)) !important;
		min-height: calc(418 * var(--nl-u)) !important;
		--gap: calc(22 * var(--nl-u)) !important;
		gap: calc(22 * var(--nl-u)) !important;
	}
	.nl-qui-nicolas .nl-qui-citation.e-con {
		--margin-left: 0px !important;
		margin-left: 0 !important;
		/* 1148 px : largeur de la maquette. Sur écran plus étroit la colonne ne rétrécit pas autant :
		   le bloc s'allonge jusqu'à 140 px sous le portrait, et ce surplus passe en padding droit pour
		   que le texte, aligné à droite, ne bouge pas. */
		width: max(calc(1148 * var(--nl-u)), calc(100% + 140px)) !important;
		padding: calc(51 * var(--nl-u)) calc(153 * var(--nl-u) + max(0px, 100% + 140px - 1148 * var(--nl-u))) calc(71 * var(--nl-u)) 0 !important;
		border-radius: 0 0 0 calc(199 * var(--nl-u)) !important;
	}
	.nl-qui-nadine .nl-qui-citation.e-con {
		--margin-left: calc(449 * var(--nl-u) - 100cqw + 100%) !important;
		margin-left: calc(449 * var(--nl-u) - 100cqw + 100%) !important;
		width: calc(100cqw - 482 * var(--nl-u)) !important;
		padding: calc(51 * var(--nl-u)) calc(131 * var(--nl-u)) calc(70 * var(--nl-u)) calc(150 * var(--nl-u)) !important;
		border-radius: 0 0 calc(199 * var(--nl-u)) 0 !important;
	}
	.nl-qui-citation .elementor-widget-text-editor {
		--container-widget-width: auto !important;
		width: auto !important;
		max-width: none !important;
	}
	.nl-qui-citation .elementor-widget-text-editor,
	.nl-qui-citation .elementor-widget-text-editor p {
		font-size: calc(38 * var(--nl-u)) !important;
		line-height: 1.263 !important;
		white-space: nowrap;
	}
	.nl-qui-citation .nl-signature .elementor-heading-title {
		font-size: calc(26 * var(--nl-u)) !important;
		line-height: 1.27 !important;
		white-space: nowrap;
	}
}

/* ---- Recrutement : e-mail en gras, sur la même ligne que la phrase */
.nl-qui-mention .elementor-icon-list-items.elementor-inline-items { margin: 0 !important; column-gap: .3em; row-gap: 0; }
.nl-qui-mention .elementor-icon-list-item { margin: 0 !important; padding: 0 !important; }
.nl-qui-mention .elementor-icon-list-item::after { display: none !important; }
.nl-qui-mention .elementor-icon-list-icon { display: none; }
.nl-qui-mention .elementor-icon-list-item:last-child .elementor-icon-list-text { font-weight: 700; }
.nl-qui-mention--stage .elementor-icon-list-items { justify-content: center; }
/* « Envoyer CV… » + e-mail : une seule ligne (typo un peu réduite). */
.nl-qui-mention--equipe .elementor-icon-list-items {
	flex-wrap: nowrap !important;
	white-space: nowrap;
}
.nl-qui-mention--equipe .elementor-icon-list-text {
	font-size: 0.9375rem !important; /* 15 px */
	white-space: nowrap;
}
@media (max-width: 1599px) {
	.nl-qui-mention--equipe .elementor-icon-list-text { font-size: 0.875rem !important; }
}
@media (max-width: 1024px) {
	.nl-qui-mention--equipe .elementor-icon-list-items { flex-wrap: wrap !important; white-space: normal; }
	.nl-qui-mention--equipe .elementor-icon-list-text { white-space: normal; font-size: 1rem !important; }
}

/* Citation CAPEB : largeur un peu réduite (rendu lignes ≈ maquette). */
.nl-qui-citation-capeb.elementor-widget {
	max-width: 600px !important;
	width: 600px !important;
}
@media (max-width: 1599px) {
	.nl-qui-citation-capeb.elementor-widget {
		max-width: 520px !important;
		width: 520px !important;
	}
}
@media (max-width: 1024px) {
	.nl-qui-citation-capeb.elementor-widget {
		max-width: 100% !important;
		width: 100% !important;
	}
	.nl-qui-citation-capeb br { display: none; }
}
/* Desktop : 7 lignes de la maquette (38 / 53.5 à 1920, à l'échelle de l'écran). */
@media (min-width: 1025px) {
	.nl-qui-citation-capeb.elementor-widget {
		--nl-u: min(calc(100vw / 1920), 1px);
		width: auto !important;
		max-width: none !important;
	}
	.nl-qui-citation-capeb,
	.nl-qui-citation-capeb p {
		font-size: calc(38 * var(--nl-u)) !important;
		line-height: 1.408 !important;
		white-space: nowrap;
	}
}

/* ---- Chiffres clés : exposant de « m² » (Mevac), nombre sur une ligne */
.nl-qui-nombre .elementor-heading-title { white-space: nowrap; }
.nl-qui-exposant { font-size: .58em; letter-spacing: 0; vertical-align: top; position: relative; top: .02em; margin-left: .08em; }

/* ---- Labels : bandeau sombre de l'accueil */
.nl-qui-labels .nl-grille-labels { width: 100%; }

/* ---- Distinction CAPEB : photo sans rayon ni ombre */
.nl-qui-trophee img { width: 100%; }

/* ---- Essences : seule la 1re vignette (haut gauche) et la 6e (bas droit) sont arrondies */
.nl-qui-grille-essences .e-loop-item:nth-of-type(1) .nl-essence-img { border-top-left-radius: 110px; }
.nl-qui-grille-essences .e-loop-item:nth-of-type(6) .nl-essence-img { border-bottom-right-radius: 110px; }
@media (max-width: 1599px) {
	.nl-qui-grille-essences .e-loop-item:nth-of-type(1) .nl-essence-img { border-top-left-radius: 82px; }
	.nl-qui-grille-essences .e-loop-item:nth-of-type(6) .nl-essence-img { border-bottom-right-radius: 82px; }
}
@media (max-width: 1024px) {
	.nl-qui-grille-essences .e-loop-item:nth-of-type(1) .nl-essence-img { border-top-left-radius: 72px; }
	.nl-qui-grille-essences .e-loop-item:nth-of-type(6) .nl-essence-img { border-bottom-right-radius: 72px; }
}
/* Téléphone : rangée tactile (une vignette et l'amorce de la suivante) plutôt que 6 vignettes empilées. */
@media (max-width: 767px) {
	.nl-qui-grille-essences .elementor-loop-container {
		display: flex !important;
		gap: 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		margin-inline: -20px;
		padding: 0 20px 8px;
		scroll-padding-inline: 20px;
	}
	.nl-qui-grille-essences .elementor-loop-container::-webkit-scrollbar { display: none; }
	.nl-qui-grille-essences .e-loop-item { flex: 0 0 78%; scroll-snap-align: start; }
	.nl-qui-grille-essences .e-loop-item:nth-of-type(1) .nl-essence-img { border-top-left-radius: 56px; }
	.nl-qui-grille-essences .e-loop-item:nth-of-type(6) .nl-essence-img { border-bottom-right-radius: 56px; }
}

/* ---- Architectes : drapeau du Canada posé sur le coin de la photo */
.nl-qui-carte-visuel.e-con { position: relative; }

/* ---- Stage + CTA de bas de page : un seul bloc photo (maquette). La section « stage » (fin de la page) porte le haut
   de la photo, le CTA du pied de page le bas ; l'écart entre les deux est celui de la maquette (coordonnées → stage). */
.nl-qui-stage .nl-qui-mention { margin-top: 0; }
/* « Envie d'en savoir plus » : écarts de la maquette 1920, à l'échelle de l'écran.
   Titre → surtitre 48, surtitre → texte 40, texte → bouton or 52, bouton → coordonnées 33,
   coordonnées → titre du stage 111, titre → texte 20, texte → bouton brun 22. */
@media (min-width: 1025px) {
	.nl-cta { --nl-u: min(calc(100vw / 1920), 1px); }
	.nl-cta-contenu > .e-con:first-child {
		gap: calc(48 * var(--nl-u)) !important;
		row-gap: calc(48 * var(--nl-u)) !important;
	}
	.nl-cta-contenu > .e-con:nth-child(2) {
		--padding-top: calc(40 * var(--nl-u)) !important;
		padding-top: calc(40 * var(--nl-u)) !important;
	}
	.nl-cta-contenu > .e-con:has(.nl-cta-bouton) {
		--padding-top: calc(52 * var(--nl-u)) !important;
		padding-top: calc(52 * var(--nl-u)) !important;
		gap: calc(33 * var(--nl-u)) !important;
		row-gap: calc(33 * var(--nl-u)) !important;
	}
	.nl-cta-bloc2.e-con {
		--padding-top: calc(111 * var(--nl-u)) !important;
		padding-top: calc(111 * var(--nl-u)) !important;
		gap: calc(20 * var(--nl-u)) !important;
		row-gap: calc(20 * var(--nl-u)) !important;
	}
	.nl-cta-bloc2 .elementor-widget-button {
		--margin-top: calc(2 * var(--nl-u)) !important;
		margin-top: calc(2 * var(--nl-u)) !important;
	}
}

/* ---- Hero : titre sur 2 lignes, qui déborde à droite de la colonne (maquette : 971 px à x 874) */
@media (min-width: 1025px) {
	.nl-qui-hero .nl-qui-br-l { display: none; }
	.nl-qui-hero .elementor-widget-heading.elementor-widget__width-initial { max-width: none !important; }
}
@media (max-width: 1024px) { .nl-qui-hero .nl-qui-br-d { display: none; } }
/* Tablette et téléphone : la colonne de texte des dirigeants prend toute la largeur (les titres ont une largeur max). */
@media (max-width: 1024px) {
	.nl-qui-col-texte.e-con { width: 100% !important; max-width: 100%; }
	.nl-qui-col-texte .elementor-widget__width-initial { max-width: 100%; }
}

/* Passe 1 : hero plus haut (maquette 832 px) ; tablette : texte sur la moitié droite, dégagé des visages. */
@media (min-width: 1600px) { .nl-hero-page.e-con { min-height: 860px !important; } }
@media (min-width: 768px) and (max-width: 1024px) { .nl-hero-page .nl-hero-contenu.e-con { margin-left: auto !important; max-width: 56% !important; } }
@media (max-width: 767px) { .nl-hero-page.e-con { background-position: 18% 50% !important; } }
/* Passe 2 */
@media (min-width: 768px) and (max-width: 1024px) {
	.nl-hero-page.e-con { background-position: 0% 50% !important; }
	.nl-hero-page .nl-hero-contenu.e-con { max-width: 52% !important; }
	.nl-qui-portrait, .nl-qui-portrait img { width: 100% !important; max-width: 100% !important; }
	.nl-qui-frise.e-con { --padding-bottom: 64px !important; }
}
@media (max-width: 1024px) { .nl-qui-timeline { -webkit-mask-image: none; mask-image: none; } }
@media (max-width: 767px) { .nl-qui-timeline { -webkit-mask-image: none; mask-image: none; } .nl-qui-distinction img { width: 100% !important; } .nl-qui-distinction .elementor-widget-image { width: 100% !important; } }
/* Passe 3 : hero tablette, photo dégagée en haut (visages), texte en pleine largeur dans le bas du hero, sur le voile. */
@media (min-width: 768px) and (max-width: 1024px) {
	.nl-hero-page.e-con { background-position: 12% 22% !important; padding-top: 560px !important; justify-content: flex-end !important; }
	.nl-hero-page .nl-hero-contenu.e-con { margin-left: 0 !important; max-width: 100% !important; }
	.nl-hero-page.e-con::after { height: 62% !important; background: linear-gradient(0deg, rgba(19,16,13,.75) 0%, rgba(19,16,13,.55) 60%, transparent) !important; }
}
@media (min-width: 900px) and (max-width: 1024px) { .nl-hero-page.e-con { padding-top: 540px !important; background-position: 10% 18% !important; } }
/* Portraits des dirigeants en tablette : visages entiers. */
@media (min-width: 768px) and (max-width: 1024px) { .nl-qui-portrait img { object-position: 50% 12% !important; } }
/* Trophée CAPEB en mobile : toute la largeur du contenu. */
@media (max-width: 767px) { .nl-qui-trophee, .nl-qui-trophee.elementor-widget, .nl-qui-trophee img { width: 100% !important; max-width: 100% !important; } }
/* La forêt d'abord : photo en pleine largeur en tablette. */
@media (min-width: 768px) and (max-width: 1024px) { .nl-qui-foret .nl-photo, .nl-qui-foret .nl-photo img { width: 100% !important; max-width: 100% !important; } }
/* Contre-visite : conteneur du trophée CAPEB à toute la largeur en mobile. */
@media (max-width: 767px) { .e-con:has(> .nl-qui-trophee) { --width: 100% !important; width: 100% !important; max-width: 100% !important; } }
/* Hero tablette : photo en cover sur tout le hero (comme l'accueil), texte posé sur le bas de la photo, voile sombre progressif. */
@media (min-width: 768px) and (max-width: 1024px) {
	.nl-hero-page.e-con { background-size: auto 540px !important; background-position: 6% 0 !important; background-repeat: no-repeat !important; background-color: #13100D !important; padding-top: 340px !important; }
	.nl-hero-page.e-con::before { background-image: linear-gradient(180deg, rgba(19,16,13,.3) 0%, rgba(19,16,13,.05) 22%, rgba(19,16,13,.6) 52%, rgba(19,16,13,.95) 540px, #13100D 560px) !important; }
}

/* Équipe, desktop : photo 820 × 840 de la maquette 1920 à l'échelle de l'écran, qui s'allonge si le texte est plus
   haut ; la colonne texte prend la hauteur de la photo et le bouton + la mention « Envoyer CV » se calent en bas :
   bas de la mention = bas de la photo. Retours de ligne de la maquette dès 1600 (en dessous, ils débordent). */
@media (min-width: 1025px) {
	.nl-qui-equipe { --nl-u: min(calc(100vw / 1920), 1px); }
	.nl-qui-equipe .nl-photo.elementor-widget {
		--container-widget-width: calc(820 * var(--nl-u)) !important;
		width: calc(820 * var(--nl-u)) !important;
		max-width: none !important;
		flex-shrink: 0;
		align-self: stretch !important;
		min-height: calc(840 * var(--nl-u));
		position: relative;
		border-radius: 0 0 0 calc(211 * var(--nl-u)) !important;
	}
	.nl-qui-equipe .nl-photo img {
		position: absolute;
		inset: 0;
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
		border-radius: 0 0 0 calc(211 * var(--nl-u)) !important;
	}
	.nl-qui-equipe .e-con:has(> .nl-photo) { align-self: stretch !important; flex-shrink: 0; }
	.nl-qui-equipe .e-con:has(> .nl-photo) > .nl-photo { flex: 1 0 auto; }
	.nl-qui-equipe-texte.e-con { align-self: stretch !important; }
	.nl-qui-equipe-cta.e-con {
		margin-top: auto !important;
		--padding-top: calc(40 * var(--nl-u)) !important;
		padding-top: calc(40 * var(--nl-u)) !important;
	}
}
@media (min-width: 1600px) { .nl-qui-equipe-texte .elementor-widget-text-editor p { white-space: nowrap; } }
@media (max-width: 1599px) { .nl-qui-equipe-texte .elementor-widget-text-editor br { display: none; } }

/* Essences, desktop : grille de 1213 px comme la maquette (plus large que le texte d'intro de 1086), sans
   rétrécir en laptop ; vignettes au ratio 349 × 364 ; retours de ligne de l'intro de la maquette. */
@media (min-width: 1025px) {
	.nl-qui-grille-essences.elementor-widget {
		--container-widget-width: min(100%, 1213px) !important;
		width: min(100%, 1213px) !important;
		max-width: 100% !important;
	}
	.nl-qui-grille-essences .elementor-loop-container {
		--grid-column-gap: 82px !important;
		--grid-row-gap: 48px !important;
		column-gap: 82px !important;
		row-gap: 48px !important;
	}
	.nl-qui-grille-essences .nl-essence-img img {
		width: 100% !important;
		height: auto !important;
		aspect-ratio: 349.3 / 364.1;
		object-fit: cover !important;
	}
	.nl-qui-grille-essences .e-loop-item:nth-of-type(1) .nl-essence-img { border-top-left-radius: 110px; }
	.nl-qui-grille-essences .e-loop-item:nth-of-type(6) .nl-essence-img { border-bottom-right-radius: 110px; }
}
@media (min-width: 1100px) { .nl-qui-essences .elementor-widget-text-editor p:has(br) { white-space: nowrap; } }
@media (max-width: 1099px) { .nl-qui-essences .elementor-widget-text-editor p br { display: none; } }

/* ==========================================================================
   Tablette et mobile : l'image qui ouvre une section passe sous le titre et le sous-titre,
   avant le texte (display: contents sur la colonne de texte pour réordonner ses enfants).
   ========================================================================== */
@media (max-width: 1024px) {
	/* Quinze ans d'évolution */
	.elementor-element-7125e6b.e-con { gap: 40px; }
	.elementor-element-9cd55a5.e-con { display: contents; }
	.elementor-element-f83a3e3.e-con { order: 1; width: 100%; }
	.elementor-element-14563ec.e-con { order: 2; width: 100%; }
	.elementor-element-6dff702.e-con { order: 3; width: 100%; --padding-top: 0px; padding-top: 0 !important; }

	/* Nicolas Brottes */
	.elementor-element-19398e9.e-con { flex-direction: column !important; gap: 40px; }
	.elementor-element-f776651.e-con { display: contents; }
	.elementor-element-80a8947.e-con { order: 1; width: 100%; }
	.elementor-element-a6963b6.e-con { order: 2; width: 100%; }
	.elementor-element-56df91b.e-con { order: 3; width: 100%; }
	.elementor-element-bcc5684.e-con { order: 4; }

	/* Nadine Randon */
	.elementor-element-6ab4686.e-con { gap: 40px; }
	.elementor-element-e182558.e-con { display: contents; }
	.elementor-element-8331a62.e-con { order: 1; width: 100%; }
	.elementor-element-93a6d10.e-con { order: 2; width: 100%; }
	.elementor-element-6f1272a.e-con { order: 3; width: 100%; }
	.elementor-element-e9c2403.e-con { order: 4; }

	/* Une équipe de charpentiers et de fustiers */
	.elementor-element-0c6294d.e-con { gap: 40px; }
	.elementor-element-80c5e5c.e-con { display: contents; }
	.elementor-element-46b9e93.e-con { order: 1; width: 100%; }
	.elementor-element-cdaf016.e-con { order: 2; width: 100%; }
	.elementor-element-4e23581.e-con { order: 3; width: 100%; }
	.elementor-element-b3ad28f.e-con { order: 4; width: 100%; }
}

/* Les 3 labels (PEFC, Terre de Laine, CAPEB) en tablette : une seule ligne, logos centrés, même traitement que l'accueil. */
@media (min-width: 768px) and (max-width: 1024px) {
	.nl-qui-labels.e-con { --padding-top: 28px; --padding-bottom: 28px; --padding-left: 28px; --padding-right: 28px; padding: 28px !important; }
	.nl-qui-labels .nl-grille-labels .elementor-loop-container { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; column-gap: 12px !important; gap: 0 12px !important; }
	.nl-qui-labels .nl-label-logo.e-con { height: 100px !important; --min-height: 0px; min-height: 0 !important; align-items: center !important; --align-items: center; justify-content: center !important; --justify-content: center; }
	.nl-qui-labels .nl-label-img { margin: 0 auto; }
	.nl-qui-labels .nl-carte-label .nl-label-img img { max-height: 84px; width: auto !important; max-width: 100%; margin: 0 auto; display: block; }
	.nl-qui-labels .nl-carte-label .elementor-widget-text-editor,
	.nl-qui-labels .nl-carte-label .elementor-widget-text-editor p { font-size: .8125rem !important; line-height: 1.45 !important; }
}

/* Nicolas Brottes et Nadine Randon, tablette : titre sur toute la largeur, puis photo (60 %) à côté du texte (40 %), citation en dessous. */
@media (min-width: 768px) and (max-width: 1024px) {
	.elementor-element-19398e9.e-con, .elementor-element-6ab4686.e-con { display: grid !important; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px 32px; align-items: start; }
	.elementor-element-80a8947.e-con, .elementor-element-8331a62.e-con { grid-column: 1 / -1; grid-row: 1; }
	.elementor-element-a6963b6.e-con, .elementor-element-93a6d10.e-con { grid-column: 1; grid-row: 2; width: 100% !important; }
	.elementor-element-56df91b.e-con, .elementor-element-6f1272a.e-con { grid-column: 2; grid-row: 2; align-self: center; }
	.elementor-element-bcc5684.e-con, .elementor-element-e9c2403.e-con { grid-column: 1 / -1; grid-row: 3; }
	.nl-qui-nicolas .nl-qui-portrait img, .nl-qui-nadine .nl-qui-portrait img { height: auto !important; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22% !important; }
}
/* Mobile : cadrage des visages dans la photo réduite. */
@media (max-width: 767px) {
	.nl-qui-nicolas .nl-qui-portrait img, .nl-qui-nadine .nl-qui-portrait img { height: auto !important; aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 22% !important; }
}

/* Tablette : titre de l'équipe sur deux lignes ; espaces réduits sous la photo et avant les chiffres. */
@media (min-width: 768px) and (max-width: 1024px) {
	.nl-qui-equipe .elementor-heading-title br.nl-qui-br-t { display: none; }
	.nl-qui-equipe.e-con, .nl-qui-equipe.e-con > .e-con-inner { --padding-bottom: 56px !important; padding-bottom: 56px !important; }
}
@media (max-width: 1024px) {
	.elementor-element-4e23581.e-con { --padding-top: 0px; padding-top: 0 !important; }
	/* La forêt d'abord : photo sous le sous-titre, avant le texte. */
	.elementor-element-1a3b8a0.e-con { gap: 40px; }
	.elementor-element-6a8917d.e-con { display: contents; }
	.elementor-element-a867c21.e-con { order: 1; width: 100%; }
	.elementor-element-32bbbbb.e-con { order: 2; width: 100%; }
	.elementor-element-d9ba759.e-con { order: 3; width: 100%; --padding-top: 0px; padding-top: 0 !important; }
}

/* Titre de Nadine : 4 lignes (desktop, mobile), 3 lignes en tablette. */
.nl-qui-nadine br.nl-nad-t { display: none; }
@media (min-width: 768px) and (max-width: 1024px) {
	.nl-qui-nadine br.nl-nad-d { display: none; }
	.nl-qui-nadine br.nl-nad-t { display: inline; }
	.nl-qui-nadine .elementor-heading-title { white-space: nowrap; }
}

/* Tablette : resserre l'écart entre le CTA « Rejoindre notre équipe » et les trois chiffres. */
@media (max-width: 1024px) {
	.nl-qui-equipe.e-con, .nl-qui-equipe.e-con > .e-con-inner { --padding-bottom: 0px !important; padding-bottom: 0 !important; }
	.nl-qui-chiffres.e-con > .e-con-inner { padding-top: 72px !important; }
}

/* Tablette/mobile : drapeau du Canada posé dans l'angle bas-droit de la photo (plus de débord). */
@media (max-width: 1024px) {
	.elementor-element-23c78f0.elementor-absolute {
		top: auto !important; left: auto !important;
		right: 16px !important; bottom: 16px !important;
	}
}

/* Distinction CAPEB, tablette seulement : photo à gauche (environ 22 %) et citation à droite (environ 75 %) sur la même ligne. */
@media (min-width: 768px) and (max-width: 1024px) {
	html body .e-con.nl-qui-distinction { flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; gap: 24px !important; --gap: 24px; }
	html body .e-con.nl-qui-distinction > .e-con.nl-flex-fixe { flex: 0 0 22% !important; width: 22% !important; max-width: 22% !important; --width: 22%; }
	html body .nl-qui-distinction .nl-qui-trophee, html body .nl-qui-distinction .nl-qui-trophee.elementor-widget, html body .nl-qui-distinction .nl-qui-trophee img { width: 100% !important; max-width: 100% !important; }
	html body .nl-qui-distinction .nl-qui-trophee.elementor-widget { height: auto !important; }
	html body .nl-qui-distinction .nl-qui-trophee img { height: auto !important; aspect-ratio: 298 / 300; object-fit: cover; display: block; }
	html body .e-con.nl-qui-distinction > .e-con.nl-flex-reste { flex: 1 1 0 !important; width: auto !important; min-width: 0; max-width: none !important; --width: auto; }
	html body .nl-qui-distinction .nl-qui-citation-capeb.elementor-widget { width: 100% !important; max-width: 100% !important; }
}

/* Hero tablette : fond noir réduit sous le fil d'Ariane et contenu remonté, toujours aligné en bas du hero comme les autres pages. */
@media (min-width: 768px) and (max-width: 1024px) {
	html body .e-con.nl-qui-hero > .e-con-inner { padding-top: 64px !important; padding-bottom: 24px !important; }
}
