/* Atelier Lalo : complément du thème enfant (19/11/2026, Max Gorelkine)
   Chargé à part pour que le fichier CSS fusionné d'Enfold change de nom. */

/* =============================================================================
   19/11/2026 (Max Gorelkine)
============================================================================= */

/* Page Projets : sans image de survol, l'image à la une reste en place */
div.works-link.sans-survol a:hover > .lalo-works-image img.wp-post-image {
	right: 0 !important;
}
/* 20/11 : vignette du téléphone (.lalo-mobile, sans image de survol) : au toucher, la règle de
   survol faisait glisser l'image hors du cadre et laissait une case blanche (aussi en ligne) */
div.works-link a:hover > .lalo-works-image.lalo-mobile img.wp-post-image {
	right: 0 !important;
}

/* Index : image du projet qui suit la souris au survol d'un titre (js/lalo-index-apercu.js) */
.lalo-index-apercu {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10000;
	margin: 0;
	padding: 0;
	pointer-events: none;
	opacity: 0;
	will-change: transform, opacity;
	transition: opacity 0.16s ease-out;
}
.lalo-index-apercu img {
	display: block;
	max-width: none;
	transform: scale(0.96);
	transform-origin: 0 0;
	transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.lalo-index-apercu.est-visible {
	opacity: 1;
	transition-duration: 0.22s;
}
.lalo-index-apercu.est-visible img {
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.lalo-index-apercu img,
	.lalo-index-apercu.est-visible img {
		transform: none;
		transition: none;
	}
}
@media (hover: none), (pointer: coarse) {
	.lalo-index-apercu {
		display: none !important;
	}
}

/* Fiche projet : les flèches précédent / suivant (en haut à droite) recouvraient
   la première ligne de l'année quand elle est longue. Réserve invisible à droite,
   haute d'une ligne : seule la première ligne s'écarte des flèches. */
@media only screen and (min-width: 1181px) {
	.lalo-projet-annee::before {
		content: "";
		float: right;
		width: 150px;
		height: 24px;
	}
}

/* Galeries des fiches projet : glisser à la souris (js/lalo-carrousel-glisser.js) */
@media (hover: hover) and (pointer: fine) {
	.lalo-glissable .slides,
	.lalo-glissable .slides a {
		cursor: grab;
	}
	.lalo-en-glisse .slides,
	.lalo-en-glisse .slides a {
		cursor: grabbing;
		user-select: none;
		-webkit-user-select: none;
	}
}

/* Lightbox : croix fixée dans le coin supérieur droit de l'écran (elle suivait le coin de l'image) */
div.mfp-wrap .mfp-close,
div.mfp-wrap .mfp-image-holder .mfp-close,
div.mfp-wrap .mfp-iframe-holder .mfp-close {
	position: fixed !important;
	top: 16px !important;
	right: 16px !important;
	left: auto !important;
	width: 44px !important;
	height: 44px !important;
	line-height: 44px !important;
	text-align: center;
	padding: 0 !important;
	z-index: 1046;
}
/* le « × » est dessiné par le :before du bouton (thème : top 40px, right -40 sans unité) :
   on le centre dans le bouton fixé au coin */
div.avia-popup .mfp-close:before,
div.mfp-wrap .mfp-close:before {
	position: static !important;
	display: block !important;
	top: auto !important;
	right: auto !important;
	width: 44px;
	height: 44px;
	line-height: 44px !important;
	text-align: center;
}

/* Fiche projet : image et titre des projets précédent / suivant au survol des flèches */
#top .avia-post-nav .entry-info-wrap {
	position: absolute;
	/* carte sous la flèche, qui reste visible ; pas de marge transparente (elle recouvrait l'autre
	   flèche) : le lien de la flèche fait 110 px de haut et garde le survol jusqu'à la carte */
	top: 74px;
	right: 0;
	width: auto !important;
	overflow: visible;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.18s ease-out, transform 0.18s ease-out, visibility 0s linear 0.18s;
}
#top .avia-post-nav:hover .entry-info-wrap,
#top .avia-post-nav:focus-visible .entry-info-wrap {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 0.22s ease-out, transform 0.22s ease-out, visibility 0s;
}
#top .avia-post-nav .entry-info {
	display: flex !important;
	flex-direction: column;
	width: 240px !important;
	height: auto;
	margin: 0;
	padding: 0;
	background: #fff;
	text-align: left;
}
#top .avia-post-nav .entry-info span {
	display: block;
}
#top .avia-post-nav .entry-image {
	order: 0;
	width: 240px;
	height: auto;
}
#top .avia-post-nav .entry-image img {
	display: block;
	width: 240px;
	height: auto;
	aspect-ratio: 450 / 250;
	border-radius: 0;
}
#top .avia-post-nav .entry-title {
	order: 1;
	padding: 10px;
	font-size: 16px;
	line-height: 20px;
	color: #111;
	white-space: normal;
}
@media (hover: none), (pointer: coarse) {
	#top .avia-post-nav .entry-info-wrap { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	#top .avia-post-nav .entry-info-wrap { transform: none; }
}

/* Liens dans les textes (Presse, Studio, fiches) : jamais soulignés (Max, 30/11/2026) ;
   au survol, seule la couleur change, vers le noir du site (#111). Menus non touchés. */
.lalo-texte a {
	text-decoration: none;
	background-image: none;
	transition: color 0.2s ease-out;
}
/* #top : passe devant « .main_color a:hover » d'Enfold (doré), même force et chargé après (01/12/2026) */
#top .lalo-texte a:hover,
#top .lalo-texte a:focus-visible {
	color: #111;
}

/* Galerie d'une seule image : pas de main (ni glissé) ; loupe, le clic ouvre l'image en grand */
.flexslider:not(.lalo-glissable) .slides a {
	cursor: zoom-in;
}

/* Lightbox, changement d'image : Enfold lance un fondu de sortie de 0,3 s mais remplace l'image
   au bout de 0,12 s (avia-snippet-lightbox.js), d'où un saut à mi-fondu. Sortie calée sur 0,12 s,
   entrée en 0,25 s : enchaînement continu. */
div.mfp-wrap.mfp-zoom-in .mfp-figure {
	transition: opacity 0.12s ease-in !important;
}
div.mfp-wrap.mfp-zoom-in.mfp-image-loaded .mfp-figure {
	transition: opacity 0.25s ease-out !important;
}

/* Enfold 8 écrit les marges des cellules du constructeur avec
   « .responsive #top #wrap_all .flex_cell.av-… { padding … !important } », plus fort que les
   réglages du thème enfant (style.css l. 994, 1004, 1070, 1104, 1275) : mêmes valeurs, sélecteur
   renforcé (:not(#lalo) ajoute le poids d'un identifiant). */
@media only screen and (min-width: 768px) {
	.responsive #top #wrap_all .flex_cell.lalo-projet-infos:not(#lalo) { padding-top: 23px !important; }
	.responsive #top #wrap_all #index .flex_cell.lalo-projet-infos:not(#lalo) { padding-top: 5px !important; }
	.responsive #top #wrap_all .flex_cell.fixed-lalo:not(#lalo) { padding-top: 25px !important; }
}
@media only screen and (max-width: 767px) {
	.responsive #top #wrap_all .flex_cell.lalo-projet-infos:not(#lalo) { padding-top: 10px !important; }
	.responsive #top #wrap_all #index .flex_cell.lalo-projet-infos:not(#lalo) { padding-top: 0 !important; }
}
/* Journal : Enfold 8 met 50 px au-dessus de chaque rangée de colonnes après la première */
#top .flex_column_table.lalo-breves-ligne:not(#lalo) {
	margin-top: 0 !important;
}
/* Téléphone : marges latérales de 10 px des cellules (Enfold 2018), remises à 0 par Enfold 8 */
@media only screen and (max-width: 767px) {
	.responsive #top #wrap_all .av-layout-grid-container .flex_cell:not(.av-zero-padding):not(#lalo) {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}
}
/* Téléphone : 20 px sous les colonnes pleine largeur des fiches et du menu de l'Index (Enfold 2018) */
@media only screen and (max-width: 767px) {
	.responsive #top #wrap_all .lalo-projet-infos .flex_column.av_one_full:not(#lalo),
	.responsive #top #wrap_all #index .fixed-lalo .flex_column.av_one_full:not(#lalo) {
		margin-bottom: 20px !important;
	}
}

/* Lightbox : Enfold 8 dessine ses flèches avec sa police « entypo-fontello-enfold » (chevrons) ;
   même caractère, police du site (flèches longues), comme avant la mise à niveau */
div.mfp-wrap .mfp-arrow:before,
div.mfp-wrap .mfp-arrow:after {
	font-family: 'atelier-lalo-icones' !important;
}
div.mfp-wrap .mfp-arrow-right:before { content: '\e804' !important; }
div.mfp-wrap .mfp-arrow-left:before { content: '\e805' !important; }
/* Lightbox : glisser à la souris (js/lalo-carrousel-glisser.js), seulement s'il y a plusieurs images */
.mfp-wrap.lalo-lb-plusieurs .mfp-img { user-select: none; -webkit-user-select: none; }
@media (hover: hover) and (pointer: fine) {
	.mfp-wrap.lalo-lb-plusieurs .mfp-img { cursor: grab; }
}

/* Lightbox : l'image ne passe plus sous les flèches (zones de 90 px aux bords) : 100 px réservés
   de chaque côté sur ordinateur et tablette ; sur téléphone l'image garde toute la largeur */
@media only screen and (min-width: 768px) {
	div.mfp-wrap.mfp-gallery .mfp-container.mfp-image-holder {
		padding-left: 100px;
		padding-right: 100px;
	}
}
/* Téléphone : flèches de la lightbox masquées (elles recouvraient l'image) ; on change d'image au doigt */
@media only screen and (max-width: 767px) {
	div.mfp-wrap .mfp-arrow {
		display: none !important;
	}
}

/* Page Projets, téléphone : filtres repliés par défaut derrière un bouton « Filtres » (js/lalo-filtres.js, 20/11) */
.lalo-filtres-bouton {
	display: none;
}
@media only screen and (max-width: 767px) {
	.lalo-filtres-zone .lalo-filtres-bouton {
		display: flex;
		align-items: baseline;
		width: 100%;
		margin: 0;
		padding: 0;
		border: 0;
		background: none;
		font: inherit;
		font-size: 20px;
		line-height: 24px;
		color: #111;
		text-align: left;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
	.lalo-filtres-zone .lalo-filtres-actif {
		margin-left: 0.25em;
		color: #a3895f;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		min-width: 0;
	}
	/* signe + qui devient − à l'ouverture, à gauche du mot ; trait de 1,333 px = jambage des lettres
	   (Apercu Light à 20 px, mesuré sur le « F » : 4 px écran en densité 3) ; en SVG pour être rendu
	   à la finesse de l'écran comme le texte (un bloc CSS de 1,33 px est arrondi à 2 px) */
	.lalo-filtres-zone .lalo-filtres-signe {
		flex: 0 0 auto;
		width: 10px;
		height: 10px;
		margin-right: 6px;
		align-self: center;
	}
	.lalo-filtres-zone .lalo-filtres-signe svg {
		display: block;
		fill: #111;
		overflow: visible;
	}
	.lalo-filtres-zone .lalo-filtres-signe .v {
		transform-box: fill-box;
		transform-origin: center;
		transition: transform 0.25s ease;
	}
	.lalo-filtres-zone.lalo-filtres-ouverts .lalo-filtres-signe .v {
		transform: scaleY(0);
	}
	.lalo-filtres-zone .lalo-filtres-volet {
		display: grid;
		grid-template-rows: 0fr;
		opacity: 0;
		transition: grid-template-rows 0.3s ease, opacity 0.2s ease;
	}
	.lalo-filtres-zone .lalo-filtres-volet > div {
		overflow: hidden;
		min-height: 0;
	}
	.lalo-filtres-zone.lalo-filtres-ouverts .lalo-filtres-volet {
		grid-template-rows: 1fr;
		opacity: 1;
	}
	.lalo-filtres-zone.lalo-filtres-ouverts .lalo-filtres-volet > div {
		padding-top: 10px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.lalo-filtres-zone .lalo-filtres-volet,
	.lalo-filtres-zone .lalo-filtres-signe .v {
		transition: none;
	}
}

/* Menu ouvert : Journal / Projets / Studio en haut, sous la croix, comme en ligne (20/11). Enfold 8
   centre la liste avec « #top #av-burger-menu-ul { vertical-align: middle } », plus fort que la règle
   « #av-burger-menu-ul » du thème enfant (style.css) ; :not(#lalo) car cette feuille passe avant celle d'Enfold */
#top #av-burger-menu-ul:not(#lalo) {
	vertical-align: top;
}

/* Liens du texte du menu (adresse, e-mail, téléphone) et liens posés par Safari sur iPhone : jamais soulignés (Max, 24/11) */
#texte-menu-bas a, #texte-menu-bas a:hover { text-decoration: none; }
a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; font: inherit !important; }

/* Pages de Complianz (Politique de cookies / Cookie Policy), 30/11/2026 : même grille et mêmes tailles que Studio.
   Ordinateur : titre H1 dans la 2e colonne (25 %), texte dans la 3e (50 %) ; téléphone : tout à 10 px du bord.
   Intertitres en ocre 26 px, texte courant en noir 20 / 26 px, liens ocre sans soulignement, noir au survol. */
body.cmplz-document .container_wrap_first > .container { max-width: none; width: 100%; padding: 0; }
#top.cmplz-document #main .template-page { float: none; width: 100%; padding: 25px 0 80px; margin: 0; }
body.cmplz-document .entry-content-header { display: none; }
#top.cmplz-document #main .entry-content h1.lalo-titre-document { font-size: 32px; line-height: 33px; font-weight: 400; color: #111; letter-spacing: normal; margin: 0 0 14px; padding: 0; text-transform: none; }
body.cmplz-document #cmplz-document,
body.cmplz-document #cmplz-document p,
body.cmplz-document #cmplz-document li,
body.cmplz-document #cmplz-document td,
body.cmplz-document #cmplz-document th,
body.cmplz-document #cmplz-document summary,
body.cmplz-document #cmplz-document .cmplz-subtitle { font-size: 20px; line-height: 26px; font-weight: 400; color: #111; font-style: normal; letter-spacing: 0; }
body.cmplz-document #cmplz-document p { margin: 0 0 17px; }
body.cmplz-document #cmplz-document h2 { font-size: 26px; line-height: 28.6px; font-weight: 400; color: #a3895f; letter-spacing: 0; text-transform: none; margin: 44px 0 14px; }
body.cmplz-document #cmplz-document h3,
body.cmplz-document #cmplz-document h4 { font-size: 20px; line-height: 26px; font-weight: 700; color: #111; letter-spacing: 0; text-transform: none; margin: 30px 0 10px; }
body.cmplz-document #cmplz-document > p:first-child i { font-style: normal; color: #111; }
/* aucun gris (Max, 30/11) : pas de fond sur les tableaux, en-têtes et blocs de Complianz ; liens à la taille du texte */
body.cmplz-document #cmplz-document, body.cmplz-document #cmplz-document * { background-color: transparent !important; }
body.cmplz-document #cmplz-document a, body.cmplz-document #cmplz-document a * { font-size: inherit; line-height: inherit; }
body.cmplz-document #cmplz-document .cookies-per-purpose, body.cmplz-document #cmplz-document .cookies-per-purpose div { border-color: #111 !important; }
body.cmplz-document #cmplz-document a { color: #a3895f; text-decoration: none; background-image: none; transition: color .2s ease-out; }
body.cmplz-document #cmplz-document details,
body.cmplz-document #cmplz-document .cmplz-dropdown { background: none; border: 0; border-top: 2px solid #111; border-radius: 0; margin: 0; padding: 0; }
body.cmplz-document #cmplz-document details summary { padding: 14px 0; background: none; }
body.cmplz-document #cmplz-document .cookies-per-purpose,
body.cmplz-document #cmplz-document .cookies-per-purpose div { background: none; border-color: #111; border-radius: 0; }
@media (hover: hover) and (pointer: fine) {
	body.cmplz-document #cmplz-document a:hover { color: #111; }
}
@media only screen and (min-width: 768px) {
	/* colonnes calées sur la fenêtre comme Studio (Enfold décale le contenu de 10 px) : titre à 25 vw, texte à 50 vw */
	body.cmplz-document .entry-content { display: grid; grid-template-columns: calc(25vw - 10px) 25vw calc(50vw - 30px); align-items: start; padding-top: 25px; }
	/* titre figé, seul le texte de droite défile (comme .fixed-lalo sur Studio) */
	#top.cmplz-document #main .entry-content h1.lalo-titre-document { grid-column: 2; grid-row: 1; position: fixed; top: 25px; left: 25vw; width: calc(25vw - 30px); padding-right: 0; z-index: 2; }
	body.cmplz-document #cmplz-document { grid-column: 3; grid-row: 1; max-width: none; margin: 5px 0 0; padding: 0; }
	body.cmplz-document #cmplz-document > p:first-child { margin-top: 0; }
	body.cmplz-document #cmplz-document > h2:first-of-type { margin-top: 30px; }
}
@media only screen and (max-width: 767px) {
	#top.cmplz-document #main .template-page { padding: 90px 10px 60px; }
	body.cmplz-document .entry-content { padding-top: 57px; }  /* titre à 90 px du haut, comme Studio */
	#top.cmplz-document #main .entry-content h1.lalo-titre-document { font-size: 30px; line-height: 32px; margin-bottom: 30px; }
	body.cmplz-document #cmplz-document,
	body.cmplz-document #cmplz-document p,
	body.cmplz-document #cmplz-document li,
	body.cmplz-document #cmplz-document td,
	body.cmplz-document #cmplz-document th,
	body.cmplz-document #cmplz-document summary { font-size: 16px; line-height: 20px; }
	body.cmplz-document #cmplz-document h2 { font-size: 20px; line-height: 24px; margin-top: 34px; }
	body.cmplz-document #cmplz-document h3,
	body.cmplz-document #cmplz-document h4 { font-size: 16px; line-height: 20px; }
}

/* Menu : les drapeaux de langue qu'Enfold ajoute pour WPML (av-language-switch-item) apparaissaient une fraction
   de seconde à l'ouverture du menu plein écran (Max, 30/11/2026). La langue se choisit par « fr. en. » : jamais affichés. */
#top #avia-menu .av-language-switch-item,
#top #av-burger-menu-ul .av-language-switch-item,
#top .av-burger-overlay .av-language-switch-item { display: none !important; }

/* Page 404 (30/11/2026) : lettres L A L O de l'ancien accueil (mêmes tracés, tailles, durées, retards et trajets que
   .home dans style.css, ordinateur et téléphone), titre dans la colonne des titres comme Studio, texte à 50 vw.
   Le texte passe en blanc sur les lettres noires (mix-blend-mode: difference), comme le nom sur les pistes d'accueil. */
.error404 #wrap_all, .error404 #main, .error404 .container_wrap, .error404 #header, .error404 #header_main { background: transparent !important; }
.error404 .lalo-a, .error404 .lalo-l1, .error404 .lalo-l2, .error404 .lalo-o { position: fixed; z-index: 0; pointer-events: none; }
.error404 .lalo-a { width: 339px; height: 532px; background: url('../images/LALO-A2.svg') no-repeat left bottom; right: 0; animation: MoveDown 50s linear infinite; animation-delay: -10s; }
.error404 .lalo-l1 { width: 390px; height: 544px; background: url('../images/LALO-L1B.svg') no-repeat left top; left: -60px; animation: MoveUp 40s linear infinite; animation-delay: -5s; }
.error404 .lalo-l2 { width: 390px; height: 544px; background: url('../images/LALO-L2B.svg') no-repeat left top; top: -120px; animation: MoveRight 50s linear infinite; animation-delay: -15s; }
.error404 .lalo-o { width: 563px; height: 563px; background: url('../images/LALO-O.svg') no-repeat left top; bottom: -100px; animation: MoveLeft 60s linear infinite; animation-delay: -15s; }
.error404 .lalo-404 { position: relative; z-index: 1; min-height: 100vh; mix-blend-mode: difference; }  /* l'inversion se calcule avec les lettres et le fond blanc */
.error404 .lalo-404-grille { display: grid; grid-template-columns: 25vw 25vw calc(50vw - 30px); align-items: start; padding: 25px 0 80px; color: #fff; }
#top.error404 .lalo-404 .lalo-404-titre { grid-column: 2; font-size: 32px; line-height: 33px; font-weight: 400; color: #fff !important; letter-spacing: normal; text-transform: none; margin: 0; padding-right: 30px; }
.error404 .lalo-404-texte { grid-column: 3; padding-top: 5px; }
.error404 .lalo-404-texte p { font-size: 26px; line-height: 32px; font-weight: 400; color: #fff !important; margin: 0 0 22px; }
#top.error404 .lalo-404-retour { color: #fff !important; text-decoration: none; background-image: none; transition: color .2s ease-out; }
/* survol doré : avec l'inversion, #5c76a0 donne l'ocre #a3895f sur le fond blanc */
@media (hover: hover) and (pointer: fine) { #top.error404 .lalo-404-retour:hover { color: #5c76a0 !important; } }
@media (prefers-reduced-motion: reduce) { .error404 .lalo-a, .error404 .lalo-l1, .error404 .lalo-l2, .error404 .lalo-o { animation-play-state: paused; } }
@media only screen and (max-width: 767px) {
	.error404 .lalo-a { width: 138px; height: 139px; background-image: url('../images/lalo-A2.svg'); right: -20px; animation: MoveDownMobile 30s linear infinite; animation-delay: -10s; }
	.error404 .lalo-l1 { width: 139px; height: 101px; background-image: url('../images/lalo-L2B.svg'); left: auto; bottom: 0; animation: MoveLeftMobile 25s linear infinite; animation-delay: -5s; }
	.error404 .lalo-l2 { width: 101px; height: 139px; background-image: url('../images/lalo-L2A.svg'); top: 80px; animation: MoveRightMobile 20s linear infinite; animation-delay: -5s; }
	.error404 .lalo-o { width: 144px; height: 144px; background-image: url('../images/lalo-O2.svg'); left: -30px; bottom: auto; animation: MoveUpMobile 29s linear infinite; animation-delay: -10s; }
	.error404 .lalo-404-grille { display: block; padding: 90px 10px 60px; }
	#top.error404 .lalo-404 .lalo-404-titre { font-size: 30px; line-height: 32px; margin-bottom: 30px; padding: 0; }
	.error404 .lalo-404-texte p { font-size: 20px; line-height: 24px; margin-bottom: 17px; }
}

/* Sélecteur « fr. en. » sous Polylang (30/11/2026) : styles que chargeait WPML (liste horizontale + couleurs réglées dans WPML :
   langue courante #111, autre langue #c6c6c6, #111 au survol), repris tels quels. */
#lalo-language-switcher .wpml-ls-legacy-list-horizontal { border: 1px solid transparent; padding: 7px; clear: both; }
#lalo-language-switcher .wpml-ls-legacy-list-horizontal > ul { padding: 0; margin: 0 !important; list-style-type: none; }
#lalo-language-switcher .wpml-ls-legacy-list-horizontal .wpml-ls-item { padding: 0; margin: 0; list-style-type: none; display: inline-block; }
#lalo-language-switcher .wpml-ls-legacy-list-horizontal a { display: block; text-decoration: none; padding: 5px 10px 6px; line-height: 1; color: #c6c6c6; }
#lalo-language-switcher .wpml-ls-legacy-list-horizontal .wpml-ls-current-language > a,
#lalo-language-switcher .wpml-ls-legacy-list-horizontal .wpml-ls-current-language > a:visited { color: #111; }
#lalo-language-switcher .wpml-ls-legacy-list-horizontal a:visited { color: #c6c6c6; }
#lalo-language-switcher .wpml-ls-legacy-list-horizontal a:hover, #lalo-language-switcher .wpml-ls-legacy-list-horizontal a:focus { color: #111; }

/* Fiches projet (01/12/2026) : 1re image de la galerie visible avant le démarrage de FlexSlider (qui masque les vues
   jusqu'au chargement complet de la page) ; fondu des images arrivées après l'écran de chargement (js/lalo-fondu.js). */
.single-portfolio #galleryslider .slides > li:first-child { display: block; }
.lalo-js img.lalo-fondu { transition: opacity .6s ease-out; }
.lalo-js img.lalo-fondu:not(.lalo-fondu-ok) { opacity: 0; }
.lalo-js img.lalo-fondu.lalo-fondu-immediat { transition: none; }
@media (prefers-reduced-motion: reduce) { .lalo-js img.lalo-fondu { transition: none; } }

/* Galeries des fiches projet (01/12/2026, demande de Max) : toutes les vues au format de la taille « atelierlalo-projet »
   (930 x 540, recadrée). Une image plus petite que ce format n'est pas recadrée par WordPress et rendait la galerie plus
   haute (bande blanche sous les autres vues) : elle est recadrée ici au même format. La lightbox garde l'image entière. */
#galleryslider .slides img { width: 100%; height: auto; aspect-ratio: 930 / 540; object-fit: cover; }

/* Tablette, 768 à 989 px (01/12/2026, Max) : Enfold y passe les colonnes « un quart » à 50 %, la colonne fixe
   (« ← Projets ») se posait alors sur le titre de la fiche. Les grilles qui ont cette colonne gardent leurs quarts. */
@media only screen and (min-width: 768px) and (max-width: 989px) {
	.responsive #top .av-layout-grid-container:has(.fixed-lalo) > .no_margin.av_one_fourth { width: 25%; }
}

/* Gestion du consentement (01/12/2026, Max) : l'onglet de Complianz est retiré, le lien est dans le bas du menu
   (header.php), même style que l'adresse, doré au survol comme « Book ». */
#cmplz-manage-consent { display: none !important; }
/* bandeau au-dessus du bas du menu (#texte-menu-bas, z-index 99999 comme lui) quand le menu est ouvert */
.cmplz-cookiebanner.cmplz-cookiebanner { z-index: 100000; }
#texte-menu-bas .lalo-consentement-bouton {
	all: unset; cursor: pointer;
	font: inherit; color: #111; transition: color .2s ease-out;
}
#texte-menu-bas .lalo-consentement-bouton:hover,
#texte-menu-bas .lalo-consentement-bouton:focus-visible { color: #a3895f; }
#texte-menu-bas .lalo-consentement-bouton:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
