/* Tissel – maquette 2026 · Studio Comme Prévu
 * Couleurs reprises du kit Elementor de tissel.org
 */
:root {
	--tx-bleu: #3651A0;
	--tx-jaune: #FFEF06;
	--tx-orange: #DF6437;
	--tx-rose: #E392BD;
	--tx-vert: #4AAF71;
	--tx-violet: #7A3787;
	--tx-encre: #121212;
	--tx-papier: #F6F2EA;
	--tx-titre: 'Poppins', system-ui, sans-serif;
	--tx-texte: 'Montserrat', system-ui, sans-serif;
	--tx-courbe: cubic-bezier(.2, .7, .1, 1);
}

html { scroll-behavior: smooth; }
body { background: var(--tx-papier); color: var(--tx-encre); -webkit-font-smoothing: antialiased; }
body .elementor-heading-title { text-wrap: balance; }
::selection { background: var(--tx-jaune); color: var(--tx-encre); }

/* ---------------------------------------------------------------
 * Boutons
 * --------------------------------------------------------------- */
.tx-btn {
	display: inline-flex; align-items: center; gap: .6em;
	padding: 18px 30px; border-radius: 999px;
	font: 700 15px/1 var(--tx-titre); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
	text-decoration: none !important; cursor: pointer; border: 0;
	transition: background .3s, color .3s, transform .3s var(--tx-courbe), box-shadow .3s;
}
.tx-btn--jaune { background: var(--tx-jaune); color: var(--tx-encre) !important; box-shadow: 0 10px 30px -10px rgba(255, 239, 6, .55); }
.tx-btn--jaune:hover { background: var(--tx-jaune); filter: brightness(.96); transform: translateY(-2px); }
.tx-btn--contour { color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.tx-btn--contour:hover { background: #fff; color: var(--tx-encre) !important; }
.tx-btn--petit { padding: 12px 20px; font-size: 13px; }
.tx-fleche { display: inline-block; transition: transform .3s var(--tx-courbe); }
.tx-btn:hover .tx-fleche { transform: translateX(5px); }

/* ---------------------------------------------------------------
 * 1. Accueil plein écran
 * --------------------------------------------------------------- */
.tx-hero { --p: 0; --vie: 1; position: relative; height: 100vh; height: 100svh; background: #0b0b0b; color: #fff; }
.tx-hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.tx-hero__scene { position: absolute; inset: 0; }
.tx-hero__fond, .tx-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tx-hero__canvas { filter: grayscale(.85); pointer-events: none; }
.tx-hero__avant-src { display: none; }
.tx-hero__voile {
	position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(8, 8, 8, .82) 0%, rgba(8, 8, 8, .45) 42%, rgba(8, 8, 8, 0) 70%),
		linear-gradient(0deg, rgba(8, 8, 8, .85) 0%, rgba(8, 8, 8, 0) 32%),
		linear-gradient(180deg, rgba(8, 8, 8, .55) 0%, rgba(8, 8, 8, 0) 18%);
	opacity: calc(1 - var(--p) * .25);
}

.tx-hero__s { position: absolute; width: 150px; height: 128px; background: center / contain no-repeat; pointer-events: none; will-change: transform; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
.tx-hero__s--1 { background-image: url(s-jaune.png); top: 15%; right: 7%; width: 170px; height: 145px; }
.tx-hero__s--2 { background-image: url(s-rose.png); top: 47%; right: 30%; width: 92px; height: 78px; opacity: .95; }
.tx-hero__s--3 { background-image: url(s-vert.png); bottom: 23%; right: 4%; width: 120px; height: 102px; }

.tx-grain {
	position: absolute; inset: -50%; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: txGrain 1.2s steps(6) infinite;
}
@keyframes txGrain { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); } }

/* Menu */
.tx-nav { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 36px; padding: 26px 4vw; }
.tx-hero .tx-nav__logo img { height: 38px !important; width: auto !important; max-width: none; display: block; }
.tx-nav__logo span, .tx-barre__logo { font: 900 30px var(--tx-titre); color: #fff; letter-spacing: -.02em; text-decoration: none; }
.tx-nav__menu { display: flex; gap: 30px; margin-left: auto; white-space: nowrap; }
.tx-nav__menu a, .tx-barre nav a { position: relative; color: #fff; font: 600 13px var(--tx-texte); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 6px 0; }
.tx-nav__menu a::after, .tx-barre nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--tx-jaune); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--tx-courbe); }
.tx-nav__menu a:hover::after, .tx-barre nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.tx-nav__burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--tx-jaune); cursor: pointer; position: relative; }
.tx-nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--tx-encre); transition: transform .3s; }
.tx-nav__burger span:first-child { top: 19px; }
.tx-nav__burger span:last-child { top: 26px; }

/* Contenu */
.tx-hero__contenu { position: absolute; z-index: 4; left: 4vw; bottom: calc(130px + 7vh); max-width: min(1000px, 66vw); transform: translateY(calc(var(--p) * -60px)); pointer-events: none; }
.tx-hero__contenu a { pointer-events: auto; }
.tx-hero__surtitre { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 600 13px var(--tx-texte); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.tx-point { width: 10px; height: 10px; border-radius: 50%; background: var(--tx-jaune); box-shadow: 0 0 0 0 rgba(255, 239, 6, .7); animation: txPouls 2s infinite; }
@keyframes txPouls { 70% { box-shadow: 0 0 0 14px rgba(255, 239, 6, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 239, 6, 0); } }
.tx-hero__titre { margin: 0; font: 900 clamp(46px, 7.4vw, 136px)/.9 var(--tx-titre); letter-spacing: -.035em; text-transform: uppercase; color: #fff; }
.tx-ligne { display: block; overflow: hidden; padding-bottom: .04em; }
.tx-ligne > .tx-in { display: inline-block; animation-name: txMonteLigne; }
.tx-mot {
	font-style: normal; position: relative; color: var(--tx-encre); padding: 0 .1em; margin: 0 -.02em;
	background: linear-gradient(var(--tx-jaune), var(--tx-jaune)) no-repeat left 100% / calc(18% + var(--vie) * 82%) 100%;
	transition: color .4s;
	-webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.tx-hero:not(.tx-apres) .tx-mot { color: #fff; background-size: calc(18% + var(--vie) * 82%) 22%; }
.tx-hero.tx-apres .tx-mot { background-size: 100% 100%; transition: background-size .6s var(--tx-courbe), color .3s .1s; }
.tx-hero__texte { margin: 28px 0 0; max-width: 560px; font: 500 clamp(16px, 1.35vw, 21px)/1.55 var(--tx-texte); color: rgba(255, 255, 255, .88); }
.tx-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Jauge avant / après */
.tx-hero__etat { position: absolute; z-index: 4; right: 4vw; bottom: calc(130px + 7vh); width: 290px; font-family: var(--tx-texte); }
.tx-hero__jauge { height: 3px; background: rgba(255, 255, 255, .22); border-radius: 3px; overflow: hidden; }
.tx-hero__jauge span { display: block; height: 100%; background: var(--tx-jaune); transform-origin: left; transform: scaleX(0); }
.tx-hero__legendes { position: relative; height: 26px; margin-top: 14px; }
.tx-leg { position: absolute; left: 0; top: 0; font: 700 15px var(--tx-titre); transition: opacity .5s, transform .5s var(--tx-courbe); }
.tx-leg--apres { opacity: 0; transform: translateY(10px); color: var(--tx-jaune); }
.tx-apres .tx-leg--avant { opacity: 0; transform: translateY(-10px); }
.tx-apres .tx-leg--apres { opacity: 1; transform: none; }
.tx-hero__lieu { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }

/* Indice */
.tx-hero__indice { position: absolute; z-index: 4; top: 112px; right: 4vw; margin: 0; padding: 10px 18px 10px 40px; border-radius: 999px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 600 12px var(--tx-texte); letter-spacing: .08em; text-transform: uppercase; color: #fff; transition: opacity .6s, transform .6s; }
.tx-hero__indice::before { content: ''; position: absolute; left: 16px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--tx-jaune); animation: txPouls 2s infinite; }
.tx-a-bouge .tx-hero__indice { opacity: 0; transform: translateY(-8px); }
.tx-indice-mob { display: none; }
.tx-tactile .tx-indice-pc { display: none; }
.tx-tactile .tx-indice-mob { display: inline; }

/* Chiffres */
.tx-hero__chiffres { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .16); background: rgba(10, 10, 10, .35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.tx-chiffre { padding: 26px 4vw 30px; border-left: 1px solid rgba(255, 255, 255, .12); }
.tx-chiffre:first-child { border-left: 0; }
.tx-chiffre strong, .tx-chiffre b { font: 800 clamp(30px, 3.2vw, 52px)/1 var(--tx-titre); letter-spacing: -.03em; color: #fff; }
.tx-chiffre b { color: var(--tx-jaune); }
.tx-chiffre span { display: block; margin-top: 8px; font: 600 12px var(--tx-texte); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.tx-chiffre:last-child strong { color: var(--tx-jaune); }
.tx-hero__defile { display: none; }

/* Apparition au chargement */
.tx-in { animation: txMonte 1.1s var(--tx-courbe) both; animation-delay: var(--d, 0s); }
@keyframes txMonte { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes txMonteLigne { from { transform: translateY(105%); } to { transform: none; } }

.tx-reduit .tx-hero__canvas { display: none; }

/* Barre fixe après l'accueil */
.tx-barre { position: fixed; z-index: 9990; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 30px; padding: 14px 4vw; background: rgba(14, 14, 14, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transform: translateY(-110%); transition: transform .5s var(--tx-courbe); }
.tx-barre.tx-visible { transform: none; }
.tx-barre .tx-barre__logo img { height: 26px !important; width: auto !important; max-width: none; display: block; }
.tx-barre nav { display: flex; gap: 26px; margin-left: auto; }
.elementor-editor-active .tx-barre { display: none; }

/* ---------------------------------------------------------------
 * 1 bis. En-tête des pages intérieures
 * --------------------------------------------------------------- */
.tx-entete { --vie: 1; position: relative; min-height: 88vh; min-height: 88svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--tx-bleu); color: #fff; }
.tx-entete__scene { position: absolute; inset: 0; }
.tx-entete__img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none !important; object-fit: cover; animation: txZoom 14s var(--tx-courbe) both; }
@keyframes txZoom { from { transform: scale(1.12); } to { transform: none; } }
.tx-entete__voile { --c: 54, 81, 160; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--c), .92) 0%, rgba(var(--c), .62) 42%, rgba(var(--c), .05) 78%), linear-gradient(180deg, rgba(var(--c), .6) 0%, rgba(var(--c), 0) 24%); }
.tx-entete--violet { background: var(--tx-violet); } .tx-entete--violet .tx-entete__voile { --c: 122, 55, 135; }
.tx-entete--vert { background: var(--tx-vert); } .tx-entete--vert .tx-entete__voile { --c: 38, 120, 72; }
.tx-entete--orange { background: var(--tx-orange); } .tx-entete--orange .tx-entete__voile { --c: 190, 80, 40; }
.tx-entete--rose { background: var(--tx-rose); } .tx-entete--rose .tx-entete__voile { --c: 170, 70, 125; }
.tx-entete .tx-nav__logo img { height: 38px !important; width: auto !important; max-width: none; display: block; }
.tx-entete__contenu { position: relative; z-index: 4; padding: 160px 4vw 70px; max-width: min(1080px, 78vw); }
.tx-entete__titre { margin: 0; font: 900 clamp(42px, 6.2vw, 112px)/.95 var(--tx-titre); letter-spacing: -.035em; color: #fff; }
.tx-entete .tx-mot { background-size: 100% 100%; }
.tx-entete__reperes { position: relative; z-index: 4; display: flex; flex-wrap: wrap; background: #fff; color: var(--tx-encre); }
.tx-repere { flex: 1 1 200px; padding: 24px 4vw 28px; border-left: 1px solid rgba(0, 0, 0, .08); }
.tx-repere:first-child { border-left: 0; }
.tx-repere strong { display: block; font: 800 clamp(26px, 2.6vw, 42px)/1 var(--tx-titre); letter-spacing: -.03em; }
.tx-repere span { display: block; margin-top: 8px; font: 600 12px var(--tx-texte); letter-spacing: .1em; text-transform: uppercase; color: #555; }
.tx-repere:nth-child(2) strong { color: var(--tx-orange); }
.tx-repere:nth-child(3) strong { color: var(--tx-bleu); }
body .tx-entete .tx-nav__menu a { color: #fff; }
@media (max-width: 900px) {
	.tx-entete { min-height: 92svh; }
	.tx-entete__contenu { max-width: none; padding: 130px 5vw 50px; }
	.tx-entete .tx-nav__logo img { height: 30px !important; }
	.tx-repere { flex-basis: 50%; padding: 16px 5vw; }
	.tx-entete .tx-hero__s--1 { width: 90px; height: 77px; top: 14%; }
}

/* ---------------------------------------------------------------
 * 2. Avant / après
 * --------------------------------------------------------------- */
.tx-aa { --pos: 50%; position: relative; width: 100%; overflow: hidden; border-radius: 24px; cursor: ew-resize; user-select: none; touch-action: pan-y; background: #222; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .45); }
.tx-aa img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; max-width: none !important; pointer-events: none; }
.tx-aa__avant { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.tx-aa__avant img { filter: grayscale(.85) brightness(.85); }
.tx-aa__tag { position: absolute; top: 20px; z-index: 2; padding: 8px 14px; border-radius: 999px; font: 700 12px var(--tx-titre); letter-spacing: .08em; text-transform: uppercase; }
.tx-aa__tag--avant { left: 20px; background: rgba(0, 0, 0, .65); color: #fff; }
.tx-aa__tag--apres { right: 20px; background: var(--tx-jaune); color: var(--tx-encre); }
.tx-aa__poignee { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; outline: none; }
.tx-aa__poignee span { position: absolute; top: 50%; left: 50%; width: 66px; height: 66px; margin: -33px 0 0 -33px; display: grid; place-items: center; border-radius: 50%; background: var(--tx-jaune); color: var(--tx-encre); font: 800 22px var(--tx-titre); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .3s var(--tx-courbe); }
.tx-aa:hover .tx-aa__poignee span, .tx-aa__poignee:focus span { transform: scale(1.12); }

/* ---------------------------------------------------------------
 * 3. Formulaire friche
 * --------------------------------------------------------------- */
.tx-form { background: #fff; color: var(--tx-encre); border-radius: 28px; padding: clamp(26px, 3vw, 44px); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .5); font-family: var(--tx-texte); display: grid; gap: 18px; }
.tx-form__titre { margin: 0 0 4px; font: 800 26px/1.15 var(--tx-titre); letter-spacing: -.02em; }
.tx-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #555; }
.tx-form input[type=text], .tx-form select, .tx-form textarea { width: 100%; border: 0; border-bottom: 2px solid #e4e0d6; border-radius: 0; background: transparent; padding: 10px 0; font: 500 16px var(--tx-texte); color: var(--tx-encre); text-transform: none; letter-spacing: 0; transition: border-color .3s; }
.tx-form input:focus, .tx-form select:focus, .tx-form textarea:focus { outline: none; border-color: var(--tx-bleu); }
.tx-form__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tx-form__choix { display: flex; flex-wrap: wrap; gap: 8px; }
.tx-form__choix label { display: block; position: relative; padding: 10px 16px; border-radius: 999px; background: #f2eee5; cursor: pointer; font-size: 12px; color: var(--tx-encre); transition: background .25s, color .25s; }
.tx-form__choix input { position: absolute; opacity: 0; }
.tx-form__choix label:has(input:checked) { background: var(--tx-bleu); color: #fff; }
.tx-form .tx-btn { justify-self: start; margin-top: 6px; }
.tx-form__mention { margin: 0; font-size: 13px; color: #777; }
.tx-form__merci { margin: 0; padding: 40px 0; font: 800 28px/1.2 var(--tx-titre); text-align: center; }

/* ---------------------------------------------------------------
 * 4. Outils pour les sections Elementor (classes CSS à poser dans
 *    Avancé > Classes CSS)
 * --------------------------------------------------------------- */

/* Apparition au scroll */
.tx-apparait { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--tx-courbe), transform 1.1s var(--tx-courbe); transition-delay: var(--d, 0s); }
.tx-apparait.tx-vu { opacity: 1; transform: none; }
.elementor-editor-active .tx-apparait { opacity: 1; transform: none; }

/* Surlignage façon feutre */
.tx-surligne { --c: var(--tx-jaune); background: linear-gradient(transparent 55%, var(--c) 55%, var(--c) 90%, transparent 90%) no-repeat 0 0 / 0% 100%; transition: background-size 1.3s var(--tx-courbe) .3s; padding: 0 .05em; }
.tx-vu .tx-surligne, .tx-vu.tx-surligne, .elementor-editor-active .tx-surligne { background-size: 100% 100%; }
.tx-surligne--rose { --c: var(--tx-rose); }
.tx-surligne--vert { --c: var(--tx-vert); }
.tx-surligne--orange { --c: var(--tx-orange); }
.tx-texte-jaune { color: var(--tx-jaune); }
.tx-texte-rose { color: var(--tx-rose); }

/* Étiquette */
.tx-tag .elementor-heading-title { display: inline-flex; align-items: center; gap: 10px; }
.tx-tag .elementor-heading-title::before { content: none; display: none; }

/* Cartes avec zoom photo */
.tx-carte { transition: transform .6s var(--tx-courbe), box-shadow .6s var(--tx-courbe); overflow: hidden; }
.tx-carte:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -35px rgba(0, 0, 0, .45); }
.tx-carte .elementor-widget-image { overflow: hidden; }
.tx-carte .elementor-widget-image img { transition: transform 1.2s var(--tx-courbe); width: 100%; object-fit: cover; }
.tx-carte:hover .elementor-widget-image img { transform: scale(1.07); }
.tx-carte--fond { background-size: cover !important; }
.tx-carte--fond::before { transition: opacity .6s !important; }

/* Carte « le prochain lieu » */
.tx-pointille { border: 3px dashed var(--tx-encre) !important; }
.tx-pointille:hover { background-color: var(--tx-jaune) !important; }

/* Grand numéro d'étape */
.tx-num .elementor-heading-title { font-feature-settings: 'tnum'; }

/* Bandeau qui défile */
.tx-defile-cadre { overflow: hidden; }
.tx-defile { width: max-content !important; max-width: none !important; flex-wrap: nowrap !important; animation: txDefile var(--duree, 60s) linear infinite; }
.tx-defile:hover { animation-play-state: paused; }
@keyframes txDefile { to { transform: translateX(calc(-50% - var(--gap, 12px))); } }
.elementor-editor-active .tx-defile { animation: none; }

/* Carte habitant (photo en fond + texte en bas) */
.tx-habitant { flex: 0 0 auto !important; transition: transform .6s var(--tx-courbe); }
.tx-habitant:hover { transform: rotate(-1.5deg) scale(1.02); }
.tx-habitant .tx-stat .elementor-heading-title { font-feature-settings: 'tnum'; }

/* Vidéo à venir */
.tx-lecture { position: relative; }
.tx-lecture .elementor-icon { transition: transform .5s var(--tx-courbe); }
.tx-lecture:hover .elementor-icon { transform: scale(1.12); }
.tx-onde .elementor-icon { position: relative; }
.tx-onde .elementor-icon::after { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(255, 239, 6, .7); animation: txOnde 2.4s infinite; }
@keyframes txOnde { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

/* Ruban décoratif */
.tx-ruban-deco img { width: 100%; pointer-events: none; }

/* Logos partenaires en gris */
.tx-logos img { filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.tx-logos img:hover { filter: none; opacity: 1; }

/* Liens du pied de page */
.tx-pied a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .4s; }
.tx-pied a:hover { background-size: 100% 1px; }

/* ---------------------------------------------------------------
 * Responsive
 * --------------------------------------------------------------- */
@media (max-width: 1100px) {
	.tx-nav__menu { gap: 20px; }
	.tx-nav__menu a { font-size: 12px; letter-spacing: .06em; }
	.tx-hero__etat { display: none; }
	.tx-hero__contenu { max-width: 88vw; }
}
@media (max-width: 900px) {
	.tx-nav { padding: 18px 5vw; }
	.tx-nav__logo img { height: 30px; }
	.tx-nav__menu, .tx-nav__cta { display: none; }
	.tx-nav__burger { display: block; }
	.tx-nav.tx-ouvert { bottom: auto; height: 100svh; flex-wrap: wrap; align-content: flex-start; background: var(--tx-bleu); }
	.tx-nav.tx-ouvert .tx-nav__menu { display: flex; flex-direction: column; order: 3; width: 100%; margin: 40px 0 0; gap: 18px; }
	.tx-nav.tx-ouvert .tx-nav__menu a { font: 800 34px var(--tx-titre); text-transform: none; letter-spacing: -.02em; }
	.tx-nav.tx-ouvert .tx-nav__cta { display: inline-flex; order: 4; margin-top: 30px; }
	.tx-nav.tx-ouvert .tx-nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
	.tx-nav.tx-ouvert .tx-nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
	.tx-hero__contenu { left: 5vw; right: 5vw; bottom: 190px; }
	.tx-hero__texte { font-size: 16px; margin-top: 18px; }
	.tx-hero__ctas { margin-top: 22px; }
	.tx-hero__ctas .tx-btn { padding: 15px 22px; font-size: 13px; }
	.tx-hero__indice { top: auto; bottom: 168px; right: 5vw; }
	.tx-hero__chiffres { grid-template-columns: repeat(2, 1fr); }
	.tx-chiffre { padding: 14px 5vw; }
	.tx-chiffre:nth-child(3) { border-left: 0; }
	.tx-chiffre:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
	.tx-chiffre strong, .tx-chiffre b { font-size: 26px; }
	.tx-chiffre span { font-size: 10px; }
	.tx-hero__s--1 { width: 100px; height: 86px; top: 12%; }
	.tx-hero__s--2 { display: none; }
	.tx-hero__s--3 { width: 70px; height: 60px; bottom: 44%; }
	.tx-barre nav { display: none; }
	.tx-barre .tx-btn { margin-left: auto; }
	.tx-form__ligne { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.tx-in, .tx-ligne > .tx-in { animation: none; }
	.tx-apparait { opacity: 1; transform: none; }
	.tx-defile { animation: none; }
	.tx-grain { animation: none; }
}

/* Neutralise les styles par défaut du thème Hello (liens et boutons roses) */
.tx-form button.tx-btn, .tx-form button.tx-btn:focus { border: 0; background: var(--tx-jaune); color: var(--tx-encre); }
.tx-form button.tx-btn:hover { border: 0; background: var(--tx-jaune); color: var(--tx-encre); }
.tx-pied .elementor-widget-text-editor a { color: #fff; }
.tx-pied .elementor-widget-text-editor a:hover { color: var(--tx-jaune); }

.tx-habitant { width: 340px !important; min-width: 340px; }
@media (max-width: 767px) { .tx-habitant { width: 270px !important; min-width: 270px; } }
.tx-form button.tx-btn { padding: 18px 30px; }
.tx-habitant::before { background-image: linear-gradient(180deg, rgba(10, 10, 10, 0) 20%, rgba(10, 10, 10, .92) 78%) !important; }

/* Sur tissel.org, le kit Elementor met les titres en majuscules et les liens en orange */
.elementor-widget-heading h2.elementor-heading-title, .elementor-widget-heading h3.elementor-heading-title { text-transform: none; }
body .tx-hero .tx-nav__menu a, body .tx-barre nav a { color: #fff; }
.admin-bar .tx-barre { top: 32px; }

/* ---------------------------------------------------------------
 * DA plus lumineuse (validée le 19/10, reprise du CSS de la page)
 * --------------------------------------------------------------- */
.tx-hero, .tx-hero__sticky { background: var(--tx-bleu); }
.tx-hero__voile { background: linear-gradient(90deg, rgba(54, 81, 160, .9) 0%, rgba(54, 81, 160, .6) 38%, rgba(54, 81, 160, 0) 70%), linear-gradient(180deg, rgba(54, 81, 160, .55) 0%, rgba(54, 81, 160, 0) 22%); opacity: 1; }
.tx-hero__etat, .tx-hero__lieu { text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.tx-hero__chiffres { background: #fff; border-top: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.tx-chiffre { border-left-color: rgba(0, 0, 0, .08); }
.tx-chiffre strong { color: var(--tx-encre); }
.tx-chiffre b { color: var(--tx-orange); }
.tx-chiffre:last-child strong { color: var(--tx-bleu); }
.tx-chiffre span { color: #555; }
@media (max-width: 900px) { .tx-chiffre:nth-child(n+3) { border-top-color: rgba(0, 0, 0, .08); } }
.tx-barre { background: rgba(255, 255, 255, .95); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .35); }
body .tx-barre nav a { color: var(--tx-encre); }
.tx-barre .tx-barre__logo img { filter: invert(1); }
.tx-barre__logo { color: var(--tx-encre); }

/* Cartes « Tissel, c'est pour vous » (accueil) */
.tx-porte { position: relative; }
.tx-porte .elementor-widget-image img { aspect-ratio: 4 / 3; }
.tx-porte .elementor-widget-button .elementor-button { transition: gap .3s; }
.tx-fixe { flex-wrap: wrap !important; }
.tx-defile-cadre:has(.tx-fixe) { margin-left: 0 !important; margin-right: 0 !important; }

/* Le surlignage de « vie » reste fixe (il ne suit plus la souris) */
.tx-hero .tx-mot, .tx-hero:not(.tx-apres) .tx-mot { color: var(--tx-encre); background-size: 100% 100%; transition: none; }

/* Frise « Comment ça marche » : photos rondes reliées par un pointillé */
.tx-etapes { position: relative; }
.e-con.tx-etapes::before { content: '' !important; display: block; position: absolute; inset: auto; top: 160px; left: 16% !important; right: 16% !important; width: auto !important; height: 0 !important; background: none; border-top: 3px dashed rgba(18, 18, 18, .35); opacity: 1; z-index: 0; }
.tx-etape { position: relative; z-index: 1; text-align: center; }
.tx-etape .tx-etape__img img { width: 260px !important; height: 260px !important; max-width: none; border-radius: 50%; object-fit: cover; border: 10px solid var(--tx-papier); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); transition: transform .6s var(--tx-courbe); }
.tx-etape:hover .tx-etape__img img { transform: scale(1.04) rotate(-2deg); }
.tx-etape .tx-etape__num { position: absolute; top: 14px; left: calc(50% + 70px); width: auto !important; border-radius: 50%; }
.tx-etape .tx-etape__num .elementor-heading-title { width: 70px; height: 70px; display: grid; place-items: center; line-height: 1; }
.tx-etape .tx-etape__num > .elementor-widget-container { border-radius: 50%; }
.tx-etape__txt { max-width: 340px; }
@media (max-width: 767px) {
	.e-con.tx-etapes::before { top: 30px; bottom: 30px; left: 50%; right: auto; border-top: 0; border-left: 3px dashed rgba(18, 18, 18, .25); }
	.tx-etape .tx-etape__img img { width: 200px !important; height: 200px !important; }
	.tx-etape .tx-etape__num { left: calc(50% + 50px); }
	.tx-etape { background: var(--tx-papier); padding-bottom: 10px; }
}


/* Carrousel des habitants (remplace le bandeau automatique) */
.tx-defile-cadre.tx-carrousel { overflow-x: auto !important; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; padding-left: 40px !important; padding-right: 40px !important; scroll-padding-left: 40px; }
.tx-carrousel::-webkit-scrollbar { display: none; }
.tx-carrousel.tx-tire { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.tx-carrousel .tx-defile { animation: none !important; }
.tx-carrousel .tx-habitant { scroll-snap-align: start; }
.tx-carrousel .tx-habitant img, .tx-carrousel a { -webkit-user-drag: none; }
.tx-carrousel__nav { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.tx-carrousel__barre { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; margin-right: 12px; }
.tx-carrousel__barre span { display: block; height: 100%; background: #fff; border-radius: 3px; transition: transform .2s; }
.tx-carrousel__btn { width: 54px; height: 54px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); background: transparent; color: #fff; font: 700 20px var(--tx-titre); cursor: pointer; transition: background .3s, color .3s, transform .3s var(--tx-courbe); padding: 0; }
.tx-carrousel__btn:hover:not(:disabled) { background: #fff; color: var(--tx-encre); transform: scale(1.06); }
.tx-carrousel__btn:disabled { opacity: .3; cursor: default; }
@media (max-width: 767px) { .tx-defile-cadre.tx-carrousel { padding-left: 20px !important; padding-right: 20px !important; scroll-padding-left: 20px; } }

/* « Pourquoi on fait ça » : bandeau compact et premium */
.tx-pourquoi .tx-stat { position: relative; padding-left: 26px; }
.tx-pourquoi .tx-stat::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: rgba(255, 255, 255, .18); }
.tx-pourquoi .tx-stat .elementor-heading-title { font-feature-settings: 'tnum'; line-height: .9; }
.tx-points { display: flex; gap: 6px; margin-top: 14px; }
.tx-points i { width: 12px; height: 12px; border-radius: 50%; background: var(--tx-vert); transform: scale(0); transition: transform .5s var(--tx-courbe); }
.tx-points i.tx-vide { background: transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); }
.tx-vu .tx-points i, .tx-apparait.tx-vu .tx-points i, .elementor-editor-active .tx-points i { transform: scale(1); }
.tx-points i:nth-child(1) { transition-delay: 0.40s; }
.tx-points i:nth-child(2) { transition-delay: 0.48s; }
.tx-points i:nth-child(3) { transition-delay: 0.56s; }
.tx-points i:nth-child(4) { transition-delay: 0.64s; }
.tx-points i:nth-child(5) { transition-delay: 0.72s; }
.tx-points i:nth-child(6) { transition-delay: 0.80s; }
.tx-points i:nth-child(7) { transition-delay: 0.88s; }
.tx-points i:nth-child(8) { transition-delay: 0.96s; }
.tx-points i:nth-child(9) { transition-delay: 1.04s; }
body .tx-carrousel__nav .tx-carrousel__btn { width: 54px; height: 54px; padding: 0; border-radius: 50% !important; border: 2px solid rgba(255, 255, 255, .7) !important; background: transparent !important; color: #fff !important; line-height: 1; box-shadow: none; }
body .tx-carrousel__nav .tx-carrousel__btn:hover:not(:disabled) { background: #fff !important; color: var(--tx-encre) !important; }

/* ---------------------------------------------------------------
 * V2 (06/11/2026) · DA : titres en minuscules, plus gras, plus grands
 * --------------------------------------------------------------- */
.elementor-widget-heading:not(.tx-tag) .elementor-heading-title { text-transform: none; }
.tx-tag .elementor-heading-title { text-transform: uppercase; }
.tx-hero__titre { text-transform: none; font-size: clamp(52px, 8.2vw, 150px); line-height: .92; letter-spacing: -.04em; }
.tx-entete__titre { font-size: clamp(46px, 6.8vw, 124px); letter-spacing: -.04em; }
.tx-btn { text-transform: none; letter-spacing: 0; font-size: 16px; }
.tx-btn--petit { font-size: 14px; }
.tx-nav__menu a, .tx-barre nav a { text-transform: none; letter-spacing: 0; font: 600 15px var(--tx-titre); }
.tx-chiffre span, .tx-repere span { text-transform: none; letter-spacing: 0; font-size: 14px; }
.tx-btn--encre { background: var(--tx-encre); color: #fff !important; }
.tx-btn--encre:hover { background: var(--tx-bleu); transform: translateY(-2px); }

/* À compléter par l'équipe Tissel (repère visible dans la maquette) */
.tx-a-completer { outline: 2px dashed var(--tx-orange); outline-offset: 3px; border-radius: 4px; }
.tx-a-completer::after { content: 'à compléter'; display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: var(--tx-orange); color: #fff; font: 700 11px var(--tx-texte); letter-spacing: .04em; vertical-align: middle; }

/* Agenda et actus */
.tx-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tx-article { display: flex; flex-direction: column; background: #fff; border-radius: 26px; overflow: hidden; color: var(--tx-encre) !important; text-decoration: none !important; transition: transform .6s var(--tx-courbe), box-shadow .6s var(--tx-courbe); }
.tx-article:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -35px rgba(0, 0, 0, .45); }
.tx-article__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tx-bleu); }
.tx-article__img img { width: 100%; height: 100% !important; object-fit: cover; transition: transform 1.2s var(--tx-courbe); }
.tx-article:hover .tx-article__img img { transform: scale(1.06); }
.tx-article__date { position: absolute; left: 18px; top: 18px; padding: 10px 16px; border-radius: 16px; background: var(--tx-jaune); font: 800 18px/1 var(--tx-titre); letter-spacing: -.02em; }
.tx-article__corps { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 28px; flex: 1; }
.tx-article__meta { font: 600 13px var(--tx-texte); color: var(--tx-orange); }
.tx-article__titre { font: 800 23px/1.15 var(--tx-titre); letter-spacing: -.02em; }
.tx-article__extrait { font: 500 15px/1.55 var(--tx-texte); color: #555; }
.tx-article__lire { margin-top: auto; padding-top: 6px; font: 700 15px var(--tx-titre); }
.tx-article:hover .tx-fleche { transform: translateX(5px); }
.tx-articles--actus .tx-article { background: transparent; border-radius: 0; }
.tx-articles--actus .tx-article__img { border-radius: 20px; aspect-ratio: 3 / 2; }
.tx-articles--actus .tx-article__corps { padding: 18px 0 0; }
.tx-articles--actus .tx-article:hover { box-shadow: none; transform: none; }
.tx-articles__vide { font: 600 18px var(--tx-texte); color: #555; }
@media (max-width: 900px) { .tx-articles { grid-template-columns: 1fr; } }

/* Newsletter (bandeau, pas de pop-up) */
.tx-news { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.tx-news__texte { flex: 1 1 420px; }
.tx-news__titre { margin: 0; font: 900 clamp(28px, 3.2vw, 46px)/1.05 var(--tx-titre); letter-spacing: -.035em; color: var(--tx-encre); }
.tx-news__sous { margin: 12px 0 0; font: 500 17px/1.5 var(--tx-texte); color: rgba(18, 18, 18, .75); }
.tx-news__form { flex: 1 1 420px; display: flex; gap: 10px; padding: 8px; border-radius: 999px; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); }
.tx-news__champ { flex: 1; display: flex; }
body .tx-news__form input[type=email] { flex: 1; min-width: 0; border: 0 !important; background: transparent; padding: 0 22px; font: 500 17px var(--tx-texte); color: var(--tx-encre); outline: none; box-shadow: none; }
.tx-news__piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
body .tx-news__form button.tx-btn { border: 0; background: var(--tx-encre); color: #fff; padding: 18px 28px; }
body .tx-news__form button.tx-btn:hover { background: var(--tx-bleu); color: #fff; }
.tx-news__merci { margin: 0; padding: 14px 22px; font: 700 16px/1.4 var(--tx-titre); }
@media (max-width: 600px) {
	.tx-news__form { flex-direction: column; border-radius: 26px; }
	body .tx-news__form input[type=email] { padding: 14px 16px; }
}

/* Contact */
.tx-contact .tx-form__choix label { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; }
.tx-form input[type=email] { width: 100%; border: 0; border-bottom: 2px solid #e4e0d6; border-radius: 0; background: transparent; padding: 10px 0; font: 500 16px var(--tx-texte); color: var(--tx-encre); }
.tx-form label { text-transform: none; letter-spacing: 0; font-size: 13px; }

/* Occupation du bâtiment */
.tx-occ { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.tx-occ__plan { border-radius: 26px; overflow: hidden; background: repeating-linear-gradient(45deg, #eee8db 0 14px, #f6f2ea 14px 28px); min-height: 380px; display: grid; place-items: center; }
.tx-occ__plan img { width: 100%; height: auto; display: block; }
.tx-occ__sans-plan { font: 800 26px/1.2 var(--tx-titre); text-align: center; color: rgba(18, 18, 18, .45); }
.tx-occ__sans-plan small { font: 600 14px var(--tx-texte); }
.tx-occ__dispo { margin: 0; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.tx-occ__dispo strong { font: 900 clamp(64px, 8vw, 120px)/.9 var(--tx-titre); letter-spacing: -.05em; color: var(--tx-vert); }
.tx-occ__dispo span { font: 700 20px/1.2 var(--tx-titre); max-width: 220px; }
.tx-occ__total { margin: 10px 0 24px; font: 600 15px var(--tx-texte); color: #555; }
.tx-occ__barre { display: flex; height: 26px; border-radius: 99px; overflow: hidden; gap: 3px; }
.tx-occ__seg { display: block; flex-basis: 0; transform-origin: left; animation: txBarre 1.4s var(--tx-courbe) both; }
@keyframes txBarre { from { transform: scaleX(0); } }
.tx-occ--occupe { background: var(--tx-bleu); }
.tx-occ--evenement { background: var(--tx-violet); }
.tx-occ--commun { background: var(--tx-jaune); }
.tx-occ--libre { background: var(--tx-vert); background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .25) 0 6px, transparent 6px 12px); }
.tx-occ__legende { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.tx-occ__legende li { display: grid; grid-template-columns: 16px 1fr auto; gap: 12px; align-items: center; font: 500 16px var(--tx-texte); padding-bottom: 12px; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.tx-occ__legende i { width: 16px; height: 16px; border-radius: 50%; }
.tx-occ__legende b { font: 700 16px var(--tx-titre); }
.tx-occ__legende span { color: #555; font-feature-settings: 'tnum'; }
.tx-occ__mention { margin: 14px 0 0; font-size: 13px; color: #777; }
@media (max-width: 900px) { .tx-occ { grid-template-columns: 1fr; } .tx-occ__plan { min-height: 240px; } }

/* FAQ */
.tx-faq { display: grid; gap: 12px; }
.tx-faq__item { background: #fff; border-radius: 22px; overflow: hidden; }
.tx-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 28px; font: 800 clamp(18px, 1.6vw, 22px)/1.25 var(--tx-titre); letter-spacing: -.02em; color: var(--tx-encre); }
.tx-faq__item summary::-webkit-details-marker { display: none; }
.tx-faq__item summary i { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--tx-jaune); position: relative; transition: transform .4s var(--tx-courbe); }
.tx-faq__item summary i::before, .tx-faq__item summary i::after { content: ''; position: absolute; left: 12px; right: 12px; top: 19px; height: 2px; background: var(--tx-encre); }
.tx-faq__item summary i::after { transform: rotate(90deg); transition: transform .4s var(--tx-courbe); }
.tx-faq__item[open] summary i::after { transform: none; }
.tx-faq__rep { padding: 0 28px 24px; font: 500 16px/1.65 var(--tx-texte); color: #444; max-width: 820px; }
.tx-faq__rep p { margin: 0 0 10px; }

/* Bandeau « voyage apprenant » (4e porte, plus discrète) */
.tx-bandeau-lien { transition: background .4s, transform .4s var(--tx-courbe); }
.tx-bandeau-lien:hover { transform: translateY(-3px); }

/* Témoignage */
.tx-citation .elementor-heading-title { quotes: '«\00a0' '\00a0»'; }

/* Habitants d'un lieu : cartes sobres */
.tx-fiche { transition: transform .5s var(--tx-courbe); }
.tx-fiche:hover { transform: translateY(-6px); }

/* Pied de page V2 */
.tx-pied .elementor-widget-text-editor p { margin-bottom: 0; }
.elementor-heading-title .tx-a-completer::after { font-size: 10px; padding: 1px 6px; }

/* Titre de l'accueil sur une seule ligne (retour du 06/11) */
.tx-hero__contenu:has(.tx-hero__titre--une-ligne) { max-width: 92vw; }
.tx-hero__titre--une-ligne { font-size: clamp(40px, 6.4vw, 124px); white-space: nowrap; }
@media (max-width: 900px) { .tx-hero__titre--une-ligne { white-space: normal; font-size: clamp(44px, 12vw, 72px); } }

/* ---------------------------------------------------------------
 * Retours du 06/11 (2)
 * --------------------------------------------------------------- */
/* Sous-menu (Nos manufactures > Roger, Carihem, Madeleine) */
.tx-sous { position: relative; display: inline-flex; align-items: center; }
.tx-sous > a::before { content: ''; position: absolute; right: -14px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tx-sous > a { margin-right: 14px; }
.tx-sous__liste { position: absolute; z-index: 20; top: 100%; left: -18px; min-width: 220px; padding: 14px 8px 8px; display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s, transform .25s, visibility .25s; }
.tx-sous__liste::before { content: ''; position: absolute; inset: 8px 0 0; background: #fff; border-radius: 18px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .45); z-index: -1; }
.tx-sous:hover .tx-sous__liste, .tx-sous:focus-within .tx-sous__liste { opacity: 1; visibility: visible; transform: none; }
body .tx-nav__menu .tx-sous__liste a, body .tx-barre nav .tx-sous__liste a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--tx-encre); font: 600 15px var(--tx-titre); }
.tx-sous__liste a::after { display: none; }
.tx-sous__liste a:hover { background: var(--tx-jaune); }
@media (max-width: 900px) {
	.tx-nav.tx-ouvert .tx-sous { display: block; }
	.tx-nav.tx-ouvert .tx-sous > a::before { display: none; }
	.tx-nav.tx-ouvert .tx-sous__liste { position: static; opacity: 1; visibility: visible; transform: none; padding: 6px 0 0 4px; min-width: 0; }
	.tx-nav.tx-ouvert .tx-sous__liste::before { display: none; }
	body .tx-nav.tx-ouvert .tx-sous__liste a { color: #fff; font: 600 20px var(--tx-titre); padding: 4px 0; }
}

/* Surlignage des en-têtes : un trait de feutre, plus un bloc plein */
.tx-entete .tx-mot { color: var(--tx-encre); padding: 0 .12em; margin: 0 -.04em; background: linear-gradient(transparent 14%, var(--tx-jaune) 14%, var(--tx-jaune) 96%, transparent 96%) no-repeat 0 0 / 100% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tx-hero .tx-mot, .tx-hero:not(.tx-apres) .tx-mot { padding: 0 .06em; background-size: 100% 80%; background-position: 0 70%; }
.tx-surligne { background-image: linear-gradient(transparent 62%, var(--c) 62%, var(--c) 88%, transparent 88%); }

/* Agenda : une liste de dates (différente des actus) */
.tx-articles--agenda { grid-template-columns: 1fr; gap: 0; border-top: 2px solid var(--tx-encre); }
.tx-articles--agenda .tx-article { flex-direction: row; align-items: center; gap: 28px; padding: 22px 0; background: transparent; border-radius: 0; border-bottom: 1px solid rgba(0, 0, 0, .12); }
.tx-articles--agenda .tx-article:hover { transform: none; box-shadow: none; background: rgba(255, 239, 6, .18); }
.tx-articles--agenda .tx-article__img { order: 2; flex: 0 0 180px; aspect-ratio: 3 / 2; border-radius: 16px; }
.tx-articles--agenda .tx-article__date { position: static; order: 1; flex: 0 0 104px; display: grid; place-items: center; align-content: center; height: 104px; padding: 0; border-radius: 20px; text-align: center; }

.tx-article__date b { display: block; font: 900 40px/1 var(--tx-titre); letter-spacing: -.04em; }
.tx-article__date small { display: block; margin-top: 4px; font: 700 13px var(--tx-texte); text-transform: uppercase; letter-spacing: .08em; }
.tx-articles--agenda .tx-article__corps { order: 3; padding: 0; }
.tx-articles--agenda .tx-article__titre { font-size: 26px; }
.tx-articles--agenda .tx-article__lire { order: 4; margin: 0; padding: 0; white-space: nowrap; }
@media (max-width: 900px) {
	.tx-articles--agenda .tx-article { flex-wrap: wrap; gap: 16px; }
	.tx-articles--agenda .tx-article__img { display: none; }
	.tx-articles--agenda .tx-article__date { flex-basis: 76px; height: 76px; }
	.tx-articles--agenda .tx-article__corps { flex: 1 1 200px; }
	.tx-articles--agenda .tx-article__titre { font-size: 20px; }
}
/* Actus : petites cartes, quatre par ligne */
.tx-articles--actus { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tx-articles--actus .tx-article__titre { font-size: 18px; }
.tx-articles--actus .tx-article__extrait { display: none; }
@media (max-width: 900px) { .tx-articles--actus { grid-template-columns: 1fr 1fr; } }
.tx-pastille { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px; background: var(--tx-papier); font: 700 14px var(--tx-titre); color: var(--tx-encre); }
.tx-pastille::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--tx-orange); }

/* Carrousel des habitants : la molette verticale ne doit jamais se bloquer dedans */
.tx-defile-cadre.tx-carrousel { overflow-y: hidden !important; overscroll-behavior-x: contain; padding-top: 14px !important; padding-bottom: 14px !important; }
.tx-carrousel .tx-habitant:hover { transform: translateY(-6px); }

/* Newsletter, version carte bleue (06/11) */
.tx-news { position: relative; overflow: hidden; padding: clamp(40px, 5vw, 72px); border-radius: 32px; background: var(--tx-bleu); color: #fff; box-shadow: 0 50px 100px -50px rgba(54, 81, 160, .8); isolation: isolate; }
.tx-news::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .08; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.tx-news__s { position: absolute; z-index: -1; background: center / contain no-repeat; pointer-events: none; animation: txFlotte 7s ease-in-out infinite; }
.tx-news__s--1 { background-image: url(s-jaune.png); width: 150px; height: 128px; top: -30px; right: 6%; }
.tx-news__s--2 { background-image: url(s-rose.png); width: 90px; height: 77px; bottom: 18px; right: 34%; animation-delay: -2s; }
.tx-news__s--3 { background-image: url(s-vert.png); width: 110px; height: 94px; bottom: -26px; left: 38%; animation-delay: -4s; opacity: .9; }
@keyframes txFlotte { 50% { transform: translateY(-12px) rotate(-6deg); } }
.tx-news__etiquette { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 700 13px var(--tx-texte); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.tx-news .tx-news__titre { color: #fff; font-size: clamp(32px, 3.8vw, 58px); line-height: 1; }
.tx-news__titre mark { background: linear-gradient(transparent 62%, var(--tx-jaune) 62%, var(--tx-jaune) 88%, transparent 88%); color: inherit; padding: 0 .04em; }
.tx-news .tx-news__sous { color: rgba(255, 255, 255, .8); max-width: 480px; }
.tx-news__droite { flex: 1 1 420px; display: grid; gap: 12px; }
.tx-news .tx-news__form { flex: none; padding: 8px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
body .tx-news .tx-news__form button.tx-btn { background: var(--tx-jaune); color: var(--tx-encre); }
body .tx-news .tx-news__form button.tx-btn:hover { background: var(--tx-jaune); color: var(--tx-encre); }
.tx-news__mention { margin: 0 0 0 22px; font: 500 13px var(--tx-texte); color: rgba(255, 255, 255, .7); }
.tx-news .tx-news__merci { color: var(--tx-encre); }
@media (prefers-reduced-motion: reduce) { .tx-news__s { animation: none; } }
@media (max-width: 600px) { .tx-news__s--1 { width: 90px; height: 77px; } .tx-news__s--2 { display: none; } .tx-news__mention { margin-left: 0; } }

/* Tableau des services par lieu */
.tx-tableau { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 26px; overflow: hidden; font-family: var(--tx-texte); }
.tx-tableau th, .tx-tableau td { padding: 18px 24px; border-bottom: 1px solid rgba(0, 0, 0, .07); text-align: left; }
.tx-tableau thead th { background: var(--tx-encre); color: #fff; font: 800 20px var(--tx-titre); letter-spacing: -.02em; }
.tx-tableau thead th a { color: #fff !important; text-decoration: none; }
.tx-tableau thead th small { display: block; margin-top: 4px; font: 500 13px var(--tx-texte); color: rgba(255, 255, 255, .65); }
.tx-tableau tbody th { font: 700 17px var(--tx-titre); color: var(--tx-encre); }
.tx-tableau td { text-align: center; font-size: 15px; width: 22%; }
.tx-tableau tbody tr:hover { background: rgba(255, 239, 6, .15); }
.tx-oui { color: var(--tx-vert); font-size: 22px !important; }
.tx-non { color: #bbb; }
.tx-bientot { color: var(--tx-orange); font-weight: 700; }
.tx-tableau__note { margin: 14px 0 0; font-size: 13px; color: #777; }
@media (max-width: 700px) { .tx-tableau th, .tx-tableau td { padding: 12px 10px; } .tx-tableau thead th { font-size: 15px; } .tx-tableau tbody th { font-size: 14px; } }

/* ---------- v1.3 : agenda + actus fusionnés, portraits d'habitants, services détaillés ---------- */
.tx-fil .tx-articles--agenda .tx-article { gap: 20px; padding: 18px 0; }
.tx-fil .tx-articles--agenda .tx-article__img { flex-basis: 130px; }
.tx-fil .tx-articles--agenda .tx-article__date { flex-basis: 84px; height: 84px; }
.tx-fil .tx-articles--agenda .tx-article__titre { font-size: 21px; }
.tx-fil .tx-articles--agenda .tx-article__extrait { display: none; }
.tx-fil .tx-articles--actus { grid-template-columns: 1fr; gap: 0; border-top: 2px solid var(--tx-encre); }
.tx-fil .tx-articles--actus .tx-article { flex-direction: row; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(0, 0, 0, .12); }
.tx-fil .tx-articles--actus .tx-article__img { flex: 0 0 96px; aspect-ratio: 1; border-radius: 14px; }
.tx-fil .tx-articles--actus .tx-article__corps { padding: 0; }
.tx-fil .tx-articles--actus .tx-article__lire { display: none; }
.tx-fil .tx-articles--actus .tx-article:hover .tx-article__titre { text-decoration: underline; text-decoration-color: var(--tx-jaune); text-decoration-thickness: 4px; }
@media (max-width: 1024px) { .tx-fil { flex-wrap: wrap !important; } }

.tx-portrait .elementor-widget-image, .tx-portrait .elementor-widget-image img { height: 100%; }
.tx-portrait .elementor-widget-image img { min-height: 100%; object-fit: cover; }
.tx-portrait:hover { transform: translateY(-6px); }
.tx-portrait { transition: transform .35s ease; }
.tx-portrait__chiffre { padding-left: 12px; border-left: 3px solid currentColor; }

.tx-service ul, .tx-portrait ul { margin: 0 0 12px; padding: 0; list-style: none; }
.tx-service li { position: relative; padding: 7px 0 7px 22px; border-top: 1px solid currentColor; border-color: rgba(127, 127, 127, .25); }
.tx-service li::before { content: '→'; position: absolute; left: 0; font-weight: 700; }
.tx-service a { font: 700 15px var(--tx-titre); color: inherit; text-decoration: underline; text-underline-offset: 4px; }

.tx-pilules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; margin: 0; padding: 0; list-style: none; border-bottom: 1px solid rgba(18, 18, 18, .18); }
.tx-pilules li { padding: 13px 0; border-top: 1px solid rgba(18, 18, 18, .18); font: 700 17px/1.25 var(--tx-titre); letter-spacing: -.01em; color: var(--tx-encre); }
@media (max-width: 560px) { .tx-pilules { grid-template-columns: 1fr; } }
/* Curseur avant / après : en mobile, une colonne flex avec retour à la ligne le calcule à 0 px de haut (il chevauchait la suite) */
@media (max-width: 767px) { .e-con:has(.elementor-widget-tissel_avant_apres) { flex-wrap: nowrap !important; } }
/* Hero sur grand écran : « On redonne vie » reste sur une ligne (la colonne de 1000 px était trop étroite pour un titre à 150 px),
   et le titre suit aussi la hauteur de l'écran pour ne jamais remonter sous le menu */
.tx-hero__contenu { max-width: min(1240px, 80vw); }
.tx-hero__titre { font-size: clamp(52px, min(8.2vw, 16vh), 150px); }
@media (max-width: 900px) { .tx-hero__titre { font-size: clamp(52px, 8.2vw, 150px); } }

/* v1.3.1 — Frise 1-2-3 : le pointillé se dessine, les photos s'ouvrent en cercle, les numéros rebondissent */
.tx-etape.tx-apparait { opacity: 1; transform: none; }
.tx-etape.tx-apparait .tx-etape__img img { opacity: 0; transform: scale(.86); transition: opacity .55s ease-out var(--d, 0s), transform .9s var(--tx-courbe) var(--d, 0s); will-change: transform, opacity; backface-visibility: hidden; }
.tx-etape.tx-apparait .tx-etape__num { opacity: 0; transform: scale(.4); transition: opacity .3s calc(var(--d, 0s) + .3s), transform .55s cubic-bezier(.34, 1.5, .64, 1) calc(var(--d, 0s) + .3s); will-change: transform, opacity; }
.tx-etape.tx-apparait .elementor-widget-heading:not(.tx-etape__num), .tx-etape.tx-apparait .tx-etape__txt { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--tx-courbe) calc(var(--d, 0s) + .2s), transform .6s var(--tx-courbe) calc(var(--d, 0s) + .2s); }
.tx-etape.tx-apparait.tx-vu .tx-etape__img img { opacity: 1; transform: none; }
.tx-etape.tx-apparait.tx-vu:hover .tx-etape__img img { transform: scale(1.04) rotate(-2deg); }
.tx-etape.tx-apparait.tx-vu .tx-etape__num { opacity: 1; transform: none; }
.tx-etape.tx-apparait.tx-vu .elementor-widget-heading:not(.tx-etape__num), .tx-etape.tx-apparait.tx-vu .tx-etape__txt { opacity: 1; transform: none; }
.e-con.tx-etapes::before { transform: scaleX(0); transform-origin: left center; transition: transform 1.1s var(--tx-courbe) .1s; will-change: transform; }
.e-con.tx-etapes.tx-vu::before, .elementor-editor-active .e-con.tx-etapes::before { transform: none; }
@media (max-width: 767px) { .e-con.tx-etapes::before { transform: scaleY(0); transform-origin: center top; } }
@media (prefers-reduced-motion: reduce) { .tx-etape.tx-apparait *, .e-con.tx-etapes::before { transition: none !important; will-change: auto !important; opacity: 1 !important; transform: none !important; } }
.elementor-editor-active .tx-etape.tx-apparait * { opacity: 1 !important; clip-path: none !important; transform: none !important; }
.tx-etapes > .tx-etape:nth-child(2) { --d: .15s; } .tx-etapes > .tx-etape:nth-child(3) { --d: .3s; }
@media (max-width: 767px) { .tx-etapes > .tx-etape:nth-child(n) { --d: 0s; } }
.tx-hero__surtitre .tx-point { display: none; }

/* v1.3.2 — retours du 16/11 (2) */
/* Plus aucun point rond animé */
.tx-point, .tx-hero__surtitre .tx-point, .tx-news__etiquette .tx-point { display: none !important; }
.tx-hero__indice::before { animation: none !important; display: none !important; }
.tx-pastille::before { content: none !important; display: none !important; }
/* Newsletter : le mot mis en avant en rose, sans surlignage jaune */
.tx-news__titre mark { background: none; color: var(--tx-rose); padding: 0; }
/* Titres blancs sur fond de couleur : surlignage jaune en bas des lettres, le texte reste blanc et lisible */
.tx-sur-fonce .tx-surligne { --c: var(--tx-jaune); color: inherit; padding: 0 .04em; margin: 0 -.04em; background-image: linear-gradient(transparent 71%, var(--c) 71%, var(--c) 91%, transparent 91%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tx-hero .tx-mot, .tx-hero:not(.tx-apres) .tx-mot, .tx-hero.tx-apres .tx-mot, .tx-entete .tx-mot { color: #fff; padding: 0 .04em; margin: 0 -.04em; background: linear-gradient(transparent 71%, var(--tx-jaune) 71%, var(--tx-jaune) 91%, transparent 91%) no-repeat 0 0 / 100% 100%; transition: none; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tx-entete .tx-mot { white-space: nowrap; }
.tx-hero__titre { line-height: 1; font-size: clamp(44px, 6vw, 108px); letter-spacing: -.025em; }
/* Le voile passe au-dessus de l'effet « friche sous la souris » : le titre reste sur un fond bleu calme */
.tx-hero__canvas { z-index: 1; }
.tx-hero__voile { z-index: 2; background: linear-gradient(90deg, rgba(54, 81, 160, .95) 0%, rgba(54, 81, 160, .84) 42%, rgba(54, 81, 160, 0) 74%), linear-gradient(180deg, rgba(54, 81, 160, .55) 0%, rgba(54, 81, 160, 0) 22%); }
.tx-hero__s, .tx-grain { z-index: 3; }
.tx-hero .tx-ligne { padding-bottom: .18em; margin-bottom: -.12em; }
@media (max-width: 600px) { .tx-hero__titre { font-size: 10.6vw; } }
/* Logos partenaires */
.tx-partenaire__logo img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; border-radius: 12px; }
/* Chiffres sous les en-têtes : alignés sur la largeur des sections (1320 px) */
@media (min-width: 768px) {
	.tx-entete__reperes { padding: 0 max(40px, calc((100% - 1320px) / 2)); }
	.tx-repere { padding-left: 32px; padding-right: 32px; }
	.tx-repere:first-child { padding-left: 0; }
}
/* Repères de maquette : jamais affichés */
.tx-a-completer::after { content: none !important; }
.tx-a-completer { outline: 0 !important; }
/* v1.3.3 — Bloc « Pourquoi on fait ça » : chiffres sur une grille, filet horizontal */
.tx-pourquoi-chiffres .tx-stat { position: relative; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .2); }
.tx-pourquoi-chiffres .tx-stat::before { content: none !important; }
/* v1.3.6 — Plan de Roger */
.tx-plan img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 60px -35px rgba(0, 0, 0, .45); cursor: zoom-in; }
/* v1.3.7 — Bloc « Le bâtiment aujourd'hui » en mode légende (plan redessiné, sans pourcentages) */
.tx-occ:has(.tx-occ__chiffres--legende) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.tx-occ:has(.tx-occ__chiffres--legende) .tx-occ__plan { background: #f6f2ea; padding: clamp(12px, 2vw, 28px); max-width: 560px; }
.tx-occ__cles { display: flex; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; margin-bottom: 28px; }
.tx-occ__cles p { margin: 0; }
.tx-occ__cles strong { display: block; font: 900 clamp(40px, 4.6vw, 64px)/.95 var(--tx-titre); letter-spacing: -.04em; color: var(--tx-encre); }
.tx-occ__cles p:nth-child(2) strong { color: var(--tx-violet); }
.tx-occ__cles span { display: block; margin-top: 8px; font: 600 15px var(--tx-texte); color: #555; }
.tx-occ__chiffres--legende .tx-occ__legende li { grid-template-columns: 18px auto 1fr; padding-bottom: 12px; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.tx-occ__chiffres--legende .tx-occ__legende i { width: 18px; height: 18px; border-radius: 5px; }
.tx-occ__chiffres--legende .tx-occ__legende span { text-align: right; }
.tx-occ__chiffres--legende .tx-occ__mention { font-size: 15px; color: #555; margin-top: 18px; }

/* Dernières nouvelles : étiquette « à venir », retirée automatiquement une fois la date passée */
.tx-article__flag { position: absolute; z-index: 2; left: 12px; top: 12px; padding: 7px 11px; border-radius: 8px; background: var(--tx-jaune); color: var(--tx-encre); font: 800 12px/1 var(--tx-texte); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 560px) { .tx-articles--fil { grid-template-columns: 1fr; } }

/* Newsletter : bouton arrondi comme le champ */
body .tx-news__form button.tx-btn { border-radius: 999px !important; }

/* Grande carte photo */
.tx-carte-image { position: relative; isolation: isolate; }
.tx-carte-image::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 18, 18, 0) 38%, rgba(18, 18, 18, .55) 66%, rgba(18, 18, 18, .88) 100%); pointer-events: none; }
.tx-carte-image .tx-carte-image__img { position: absolute !important; inset: 0; z-index: -2; width: 100% !important; max-width: none; height: 100%; margin: 0; }
.tx-carte-image .tx-carte-image__img img { width: 100%; height: 100% !important; max-width: none; object-fit: cover; transition: transform 1.2s var(--tx-courbe); }
.tx-carte-image:hover .tx-carte-image__img img { transform: scale(1.05); }

/* Grande liste typographique */
.tx-index { border-top: 1px solid rgba(255, 255, 255, .24); }
.tx-index__ligne { position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(180px, 300px) 36px; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .24); color: #fff !important; text-decoration: none; transition: padding .45s var(--tx-courbe); }
.tx-index__num { font: 700 14px var(--tx-texte); letter-spacing: .08em; color: rgba(255, 255, 255, .55); }
.tx-index__titre { font: 900 clamp(34px, 5.2vw, 80px)/1.05 var(--tx-titre); letter-spacing: -.03em; transition: color .25s; }
.tx-index__detail { font: 500 15px/1.4 var(--tx-texte); color: rgba(255, 255, 255, .72); }
.tx-index__fleche { font: 700 26px var(--tx-titre); justify-self: end; transition: transform .35s var(--tx-courbe), color .25s; }
.tx-index__img { position: absolute; z-index: 2; top: 50%; right: 30%; width: 250px; height: 180px !important; object-fit: cover; border-radius: 16px; opacity: 0; pointer-events: none; transform: translateY(-50%) rotate(-3deg) scale(.88); transition: opacity .25s, transform .45s var(--tx-courbe); }
.tx-index__ligne:hover, .tx-index__ligne:focus-visible { padding-left: 22px; }
.tx-index__ligne:hover .tx-index__titre, .tx-index__ligne:focus-visible .tx-index__titre, .tx-index__ligne:hover .tx-index__fleche { color: var(--tx-jaune); }
.tx-index__ligne:hover .tx-index__fleche { transform: translateX(6px); }
.tx-index__ligne:hover .tx-index__img { opacity: 1; transform: translateY(-50%) rotate(-3deg) scale(1); }
@media (max-width: 760px) {
	.tx-index__ligne { grid-template-columns: 34px minmax(0, 1fr); gap: 4px 10px; padding: 16px 0; }
	.tx-index__detail { grid-column: 2; font-size: 14px; }
	.tx-index__fleche, .tx-index__img { display: none; }
}

/* En-têtes de page : fond calme derrière le titre, comme sur l'accueil */
.tx-entete__voile { background: linear-gradient(90deg, rgba(var(--c), .95) 0%, rgba(var(--c), .84) 42%, rgba(var(--c), 0) 74%), linear-gradient(180deg, rgba(var(--c), .5) 0%, rgba(var(--c), 0) 22%); }
.tx-entete .tx-hero__s--1 { top: auto; bottom: 22%; right: 3%; width: 104px; height: 89px; }
@media (max-width: 760px) { .tx-entete .tx-hero__s--1 { width: 64px; height: 55px; bottom: 20%; } }

.tx-carte-image { text-decoration: none; }
.tx-carte-image__fleche { flex: none; transition: transform .35s var(--tx-courbe); }
.tx-carte-image:hover .tx-carte-image__fleche { transform: translateX(8px); }
.tx-carte-image .tx-carte-image__cible { position: absolute !important; top: 24px; left: 24px; width: auto !important; max-width: calc(100% - 48px); margin: 0; }
.tx-carte-image__cible .elementor-heading-title { display: inline-block; padding: 8px 12px; border-radius: 8px; background: var(--tx-jaune); line-height: 1.3; }
.tx-carte-image__txt { flex: 1 1 0 !important; width: auto !important; min-width: 0; }
.tx-carte-image__cible .elementor-heading-title { box-sizing: border-box; max-width: 100%; }
@media (max-width: 760px) { .tx-carte-image__cible .elementor-heading-title { max-width: calc(100vw - 88px); } }

/* Accueil : fond bleu et colonnes de photos qui défilent */
.tx-hero--mosaique, .tx-hero--mosaique .tx-hero__sticky { background: var(--tx-bleu); }
.tx-hero--mosaique .tx-hero__scene { visibility: hidden; }
.tx-hero--mosaique .tx-hero__defile, .tx-hero--mosaique .tx-hero__indice { display: none; }
.tx-hero--mosaique .tx-hero__titre { font-size: clamp(44px, 5.3vw, 100px); }
.tx-hero--mosaique .tx-hero__contenu { max-width: 51vw; transform: none; }
.tx-mosaique { position: absolute; z-index: 2; top: 0; right: 4vw; bottom: 118px; width: 37vw; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 90%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 90%, transparent 100%); }
.tx-mosaique__col { overflow: hidden; }
.tx-mosaique__piste { display: flex; flex-direction: column; gap: 14px; animation: txDefileY 42s linear infinite; will-change: transform; }
.tx-mosaique__col:nth-child(2) .tx-mosaique__piste { animation-direction: reverse; animation-duration: 50s; }
.tx-mosaique__col:nth-child(3) .tx-mosaique__piste { animation-duration: 36s; }
.tx-mosaique img { display: block; width: 100%; aspect-ratio: 3 / 4; height: auto !important; object-fit: cover; border-radius: 18px; }
.tx-mosaique__ligne { display: none; }
@keyframes txDefileY { to { transform: translateY(calc(-50% - 7px)); } }
@keyframes txDefileX { to { transform: translateX(calc(-50% - 5px)); } }
@media (prefers-reduced-motion: reduce) { .tx-mosaique__piste { animation: none; } }
@media (max-width: 900px) {
	.tx-hero--mosaique { height: auto; }
	.tx-hero--mosaique .tx-hero__sticky { position: relative; height: auto; display: flex; flex-direction: column; }
	.tx-hero--mosaique .tx-nav.tx-ouvert { position: fixed; }
	.tx-hero--mosaique .tx-hero__contenu { position: relative; left: auto; right: auto; bottom: auto; order: 1; max-width: none; padding: 104px 5vw 32px; }
	.tx-hero--mosaique .tx-hero__titre { font-size: 10.6vw; }
	.tx-hero--mosaique .tx-hero__texte { font-size: 17px; }
	.tx-hero--mosaique .tx-hero__ctas { flex-direction: column; gap: 10px; }
	.tx-hero--mosaique .tx-hero__ctas .tx-btn { justify-content: center; width: 100%; padding: 17px 22px; font-size: 15px; box-sizing: border-box; }
	.tx-hero--mosaique .tx-btn--contour { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55) !important; }
	.tx-mosaique { position: relative; order: 2; top: auto; right: auto; bottom: auto; width: 100%; height: 220px; display: block; overflow: hidden; margin-bottom: 28px; -webkit-mask-image: none; mask-image: none; }
	.tx-mosaique__col { display: none; }
	.tx-mosaique__ligne { display: block; height: 100%; }
	.tx-mosaique__ligne .tx-mosaique__piste { flex-direction: row; gap: 10px; width: max-content; height: 100%; animation: txDefileX 46s linear infinite; }
	.tx-mosaique__ligne img { width: 165px; height: 100% !important; aspect-ratio: auto; border-radius: 16px; }
	.tx-hero--mosaique .tx-hero__chiffres { position: relative; order: 3; }
}

/* Vidéo verticale */
.tx-li { position: relative; width: 100%; max-width: 390px; aspect-ratio: 9 / 16; margin: 0 auto; overflow: hidden; border-radius: 26px; background: #000; box-shadow: 0 40px 80px -35px rgba(0, 0, 0, .65); }
.tx-li video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tx-li::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .7)); pointer-events: none; }
body .tx-li__play { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; place-items: center; width: 78px; height: 78px; margin: -39px 0 0 -39px; padding: 0; border: 0; border-radius: 50%; background: var(--tx-jaune); color: var(--tx-encre); cursor: pointer; transition: transform .3s var(--tx-courbe); }
body .tx-li__play:hover, body .tx-li__play:focus { background: var(--tx-jaune); color: var(--tx-encre); transform: scale(1.08); }
.tx-li__play svg { width: 34px; height: 34px; fill: currentColor; }
.tx-li__bas { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; gap: 12px; font: 700 12px var(--tx-texte); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.tx-li__bas a { color: #fff !important; text-decoration: none; }
.tx-li--lecture::after, .tx-li--lecture .tx-li__play, .tx-li--lecture .tx-li__bas { display: none; }
.tx-fil-video .tx-articles--fil { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .tx-fil-video .tx-articles--fil { grid-template-columns: 1fr 1fr; } .tx-li { max-width: 320px; } }
@media (max-width: 560px) { .tx-fil-video .tx-articles--fil { grid-template-columns: 1fr; } }

/* Pied de page : réseaux bien visibles */
.tx-reseaux > .tx-reseau-w { flex: 1 1 0; width: auto; min-width: 0; }
.tx-reseau { display: flex; align-items: center; gap: 18px; padding: 24px 28px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 20px; color: #fff !important; text-decoration: none; transition: background .25s, color .25s, border-color .25s; }
.tx-reseau__ico { flex: none; width: 34px; height: 34px; }
.tx-reseau__ico svg { display: block; width: 100%; height: 100%; }
.tx-reseau__txt { flex: 1; min-width: 0; }
.tx-reseau__txt b { display: block; font: 800 26px/1.1 var(--tx-titre); letter-spacing: -.02em; }
.tx-reseau__txt small { display: block; margin-top: 3px; font: 500 14px var(--tx-texte); opacity: .7; }
.tx-reseau__fleche { font: 700 24px var(--tx-titre); }
.tx-reseau:hover { background: var(--tx-jaune); border-color: var(--tx-jaune); color: var(--tx-encre) !important; }
.elementor-widget-tissel_linkedin { width: 100%; }
.tx-mosaique { -webkit-mask-image: linear-gradient(180deg, transparent 72px, #000 200px, #000 90%, transparent 100%); mask-image: linear-gradient(180deg, transparent 72px, #000 200px, #000 90%, transparent 100%); }
@media (max-width: 900px) { .tx-mosaique { -webkit-mask-image: none; mask-image: none; } }

/* ===============================================================
 * Passage mobile (18/11/2026)
 * Uniquement sous 900 px : l'ordinateur n'est pas concerné.
 * =============================================================== */
.tx-barre__burger { display: none; }

/* --- Tablette et mobile : menu, barre fixe, cibles tactiles ---- */
@media (max-width: 900px) {
	html { scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
	body { -webkit-tap-highlight-color: rgba(255, 239, 6, .28); }
	html:has(.tx-nav.tx-ouvert) { overflow: hidden; }

	/* Bouton menu : jamais repris par les couleurs de survol du thème */
	body .tx-nav__burger, body .tx-nav__burger:hover, body .tx-nav__burger:focus, body .tx-nav__burger:active { padding: 0; border: 0; border-radius: 50%; background: var(--tx-jaune); color: var(--tx-encre); }
	body .tx-nav__burger:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

	/* Menu ouvert : plein écran, défilable, cibles confortables */
	.tx-nav { padding: 14px 20px; }
	.tx-nav.tx-ouvert, .tx-hero--mosaique .tx-nav.tx-ouvert { position: fixed; z-index: 10000; inset: 0; height: 100vh; height: 100dvh; gap: 0; align-content: flex-start; overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
	.tx-nav.tx-ouvert .tx-nav__burger { flex: none; }
	.tx-nav.tx-ouvert .tx-nav__menu { gap: 0; margin: 22px 0 0; white-space: normal; border-bottom: 1px solid rgba(255, 255, 255, .22); }
	body .tx-nav.tx-ouvert .tx-nav__menu > a, body .tx-nav.tx-ouvert .tx-sous > a { display: flex; align-items: center; min-height: 58px; margin: 0; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .22); font: 800 25px/1.15 var(--tx-titre); letter-spacing: -.02em; color: #fff; }
	.tx-nav.tx-ouvert .tx-nav__menu a::after { display: none; }
	.tx-nav.tx-ouvert .tx-sous__liste { gap: 0; padding: 0 0 10px; }
	body .tx-nav.tx-ouvert .tx-sous__liste a { display: flex; align-items: center; min-height: 44px; padding: 6px 0 6px 14px; border-left: 2px solid var(--tx-jaune); border-radius: 0; font: 600 16px/1.25 var(--tx-titre); color: rgba(255, 255, 255, .9); }
	body .tx-nav.tx-ouvert .tx-sous__liste a:hover { background: transparent; color: var(--tx-jaune); }
	.tx-nav.tx-ouvert .tx-nav__cta { justify-content: center; width: 100%; min-height: 54px; margin-top: 22px; font-size: 16px; box-sizing: border-box; }

	/* Barre fixe : logo, contact, menu */
	.tx-barre { gap: 10px; padding: 8px 20px; }
	.tx-barre:not(.tx-visible) { visibility: hidden; transition: transform .5s var(--tx-courbe), visibility 0s .5s; }
	.tx-barre .tx-barre__logo { display: flex; align-items: center; min-height: 44px; }
	.tx-barre .tx-barre__logo img { height: 24px !important; }
	.tx-barre .tx-btn { min-height: 44px; padding: 0 18px; font-size: 14px; box-sizing: border-box; }
	.tx-barre .tx-barre__burger { display: block; flex: none; width: 44px; height: 44px; margin-left: 0; padding: 0; }
	.tx-barre__burger span { left: 12px; right: 12px; }
	.tx-barre__burger span:first-child { top: 18px; }
	.tx-barre__burger span:last-child { top: 25px; }

	/* Boutons, liens et champs : au moins 44 px sous le doigt */
	.tx-btn { min-height: 48px; box-sizing: border-box; }
	.elementor-widget-button.tx-lien .elementor-button { display: inline-flex; align-items: center; min-height: 46px; }
	.tx-service a, .tx-portrait .elementor-widget-text-editor a { display: inline-flex; align-items: center; min-height: 46px; }
	.tx-li__bas { bottom: 0; align-items: center; }
	.tx-li__bas a { display: inline-flex; align-items: center; min-height: 46px; }
	.tx-tableau thead th a { display: inline-flex; align-items: center; min-height: 44px; }
	.tx-btn:active, .elementor-button:active { opacity: .86; }

	/* Pied de page : une ligne par lien, facile à toucher */
	.tx-pied .elementor-widget-text-editor a { display: flex; align-items: center; min-height: 44px; background: none; }
	.tx-pied .elementor-widget-text-editor br { display: none; }
	.tx-pied .elementor-widget-text-editor p + p { margin-top: 8px; }
	.tx-reseau { min-height: 64px; box-sizing: border-box; }

	/* Formulaires */
	.tx-form input[type=text], .tx-form input[type=email], .tx-form input[type=tel], .tx-form select { min-height: 48px; box-sizing: border-box; font-size: 16px; }
	.tx-form textarea { min-height: 112px; box-sizing: border-box; font-size: 16px; }
	.tx-form__choix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.tx-form__choix label, .tx-contact .tx-form__choix label { display: flex; align-items: center; min-height: 48px; padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px #e4e0d6; box-sizing: border-box; font-size: 15px; line-height: 1.25; }
	.tx-form__choix label:has(input:checked) { background: var(--tx-bleu); box-shadow: none; color: #fff; }
	.tx-form__choix label:has(input:focus-visible) { outline: 2px solid var(--tx-bleu); outline-offset: 2px; }
	.tx-form button.tx-btn { border-radius: 999px !important; }
	.tx-form button.tx-btn, body .tx-news__form button.tx-btn { font: 700 16px/1.2 var(--tx-titre); }
	.tx-faq__item summary { min-height: 56px; box-sizing: border-box; }
	body .tx-news__form input[type=email] { min-height: 52px; box-sizing: border-box; font-size: 16px; }
}

/* --- Tablette : pied de page sur deux niveaux, longs titres ----- */
@media (min-width: 768px) and (max-width: 1024px) {
	.tx-pied > .e-con-inner > .e-con:first-child { flex-wrap: wrap !important; }
	.tx-pied > .e-con-inner > .e-con:first-child > .e-con { flex: 1 1 28%; width: auto !important; min-width: 0; }
	.tx-pied > .e-con-inner > .e-con:first-child > .e-con:first-child { flex-basis: 100%; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.tx-etape .tx-etape__img img { width: 170px !important; height: 170px !important; }
	.tx-etape .tx-etape__num { top: 0; left: calc(50% + 34px); }
	.tx-etape .tx-etape__num .elementor-heading-title { width: 52px; height: 52px; font-size: 19px !important; }
}
@media (min-width: 601px) and (max-width: 900px) {
	.tx-repere { flex-basis: 30%; }
	.tx-bandeau-ligne > .elementor-widget-heading, .tx-bandeau-ligne > .tx-lien, .tx-bandeau-lien > .tx-lien { flex: none; }
	.tx-bandeau-ligne > .elementor-widget-text-editor, .tx-bandeau-lien > .elementor-widget-text-editor { flex: 1 1 0; min-width: 0; }
}
@media (max-width: 900px) {
	.tx-entete { min-height: min(76svh, 720px); }
	.tx-entete .tx-hero__s--1, .tx-news__s--2, .tx-news__s--3 { display: none; }
	.tx-habitant::before { background-image: linear-gradient(180deg, rgba(10, 10, 10, 0) 30%, rgba(10, 10, 10, .78) 56%, rgba(10, 10, 10, .95) 100%) !important; }
	.tx-carte-image::after { background: linear-gradient(180deg, rgba(18, 18, 18, .08) 20%, rgba(18, 18, 18, .62) 52%, rgba(18, 18, 18, .92) 100%); }
	.tx-carte .elementor-heading-title { overflow-wrap: break-word; }
	.tx-index__ligne { grid-template-columns: 44px minmax(0, 1fr) 28px; gap: 4px 12px; padding: 16px 0; }
	.tx-index__titre { font-size: clamp(30px, 5.4vw, 42px); }
	.tx-index__detail { grid-column: 2; grid-row: 2; }
	.tx-index__fleche { grid-column: 3; grid-row: 1 / span 2; }
	.tx-index__img { display: none; }
}

/* --- Écrans tactiles : aucun état de survol ne reste collé ------ */
@media (max-width: 900px) and (hover: none) {
	.elementor-animation-grow:hover, .elementor-animation-grow:focus, .elementor-animation-grow:active { transform: none !important; }
	.tx-btn--jaune:hover { background: var(--tx-jaune); transform: none; }
	.tx-bouton--jaune .elementor-button:hover, .tx-bouton--jaune .elementor-button:focus { background-color: var(--tx-jaune) !important; color: var(--tx-encre) !important; }
	.tx-bouton--blanc .elementor-button:hover, .tx-bouton--blanc .elementor-button:focus { background-color: #fff !important; color: var(--tx-encre) !important; }
	.tx-btn--contour:hover { background: transparent; color: #fff !important; }
	.tx-btn--encre:hover { background: var(--tx-encre); transform: none; }
	.tx-btn:hover .tx-fleche, .tx-article:hover .tx-fleche, .tx-carte-image:hover .tx-carte-image__fleche { transform: none; }
	.tx-carte:hover, .tx-article:hover, .tx-fiche:hover, .tx-portrait:hover, .tx-bandeau-lien:hover, .tx-carrousel .tx-habitant:hover, .tx-habitant:hover { transform: none; box-shadow: none; }
	.tx-carte:hover .elementor-widget-image img, .tx-article:hover .tx-article__img img, .tx-carte-image:hover .tx-carte-image__img img, .tx-etape:hover .tx-etape__img img, .tx-etape.tx-apparait.tx-vu:hover .tx-etape__img img { transform: none; }
	.tx-articles--agenda .tx-article:hover { background: transparent; }
	.tx-fil .tx-articles--actus .tx-article:hover .tx-article__titre { text-decoration: none; }
	.tx-reseau:hover { background: transparent; border-color: rgba(255, 255, 255, .24); color: #fff !important; }
	.tx-index__ligne:hover, .tx-index__ligne:focus-visible { padding-left: 0; }
	.tx-index__ligne:hover .tx-index__titre, .tx-index__ligne:focus-visible .tx-index__titre, .tx-index__ligne:hover .tx-index__fleche { color: inherit; }
	.tx-index__ligne:hover .tx-index__fleche { transform: none; }
	.tx-tableau tbody tr:hover { background: transparent; }
	.tx-pointille:hover { background-color: transparent !important; }
	body .tx-carrousel__nav .tx-carrousel__btn:hover:not(:disabled) { background: transparent !important; color: #fff !important; transform: none; }
	.tx-aa:hover .tx-aa__poignee span { transform: none; }
	.tx-logos img:hover { filter: grayscale(1); opacity: .65; }
	body .tx-li__play:hover, body .tx-li__play:focus { transform: none; }
	.tx-pied a:hover { background-size: 0 1px; }
	.tx-sous__liste a:hover { background: transparent; }
}

/* --- Téléphones ------------------------------------------------ */
@media (max-width: 600px) {
	/* En-têtes de page : photo en haut, texte sur un voile lisible */
	.tx-entete { min-height: min(80svh, 660px); }
	.tx-entete { --c: 54, 81, 160; }
	.tx-entete--violet { --c: 122, 55, 135; }
	.tx-entete--vert { --c: 38, 120, 72; }
	.tx-entete--orange { --c: 190, 80, 40; }
	.tx-entete--rose { --c: 170, 70, 125; }
	.tx-entete__voile { --c: inherit; background: linear-gradient(180deg, rgba(var(--c), .62) 0, rgba(var(--c), 0) 120px); }
	/* Le texte repose sur un aplat de la couleur de page, la photo reste nette au-dessus */
	.tx-entete__contenu { isolation: isolate; margin-top: 170px; padding: 6px 20px 26px; }
	.tx-entete__contenu::before { content: ''; position: absolute; z-index: -1; inset: -72px 0 0; background: linear-gradient(180deg, rgba(var(--c), 0) 0, rgba(var(--c), .93) 72px, rgb(var(--c)) 130px); pointer-events: none; }
	.tx-entete__titre { font-size: clamp(36px, 11.2vw, 52px); line-height: 1.02; letter-spacing: -.035em; }
	.tx-entete .tx-hero__surtitre { margin-bottom: 12px; font-size: 12px; line-height: 1.35; letter-spacing: .12em; }
	.tx-entete .tx-hero__texte { margin-top: 14px; font-size: 16px; line-height: 1.5; color: #fff; }
	.tx-entete .tx-hero__ctas { flex-direction: column; gap: 10px; margin-top: 20px; }
	.tx-entete .tx-hero__ctas .tx-btn { justify-content: center; width: 100%; min-height: 52px; padding: 14px 20px; font-size: 15px; line-height: 1.2; white-space: normal; text-align: center; }
	.tx-entete .tx-btn--contour { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6) !important; }
	.tx-entete__reperes { display: grid; grid-template-columns: 1fr 1fr; }
	.tx-repere { padding: 14px 20px 15px; }
	.tx-repere:nth-child(odd) { border-left: 0; }
	.tx-repere:nth-child(n+3) { border-top: 1px solid rgba(0, 0, 0, .08); }
	.tx-repere:last-child:nth-child(odd) { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; }
	.tx-repere strong { font-size: 24px; white-space: nowrap; }
	.tx-repere span { margin-top: 4px; font-size: 13px; line-height: 1.3; }

	/* Boutons : pleine largeur, liens centrés sous le bouton */
	.tx-boutons > .elementor-widget-button { width: 100%; }
	.tx-boutons .elementor-button { display: flex; justify-content: center; width: 100%; box-sizing: border-box; text-align: center; }
	.tx-lien .elementor-button { white-space: nowrap; }
	.tx-bouton .elementor-button { min-height: 52px; padding-top: 14px; padding-bottom: 14px; align-items: center; }

	/* Frise « Comment ça marche » : une ligne par étape */
	.e-con.tx-etapes { gap: 22px !important; padding-top: 0; }
	.e-con.tx-etapes::before { top: 20px; bottom: 40px; left: 45px !important; right: auto !important; width: 0 !important; height: auto !important; border-left: 2px dashed rgba(18, 18, 18, .22); }
	.e-con.tx-etape { display: grid !important; grid-template-columns: 92px minmax(0, 1fr); column-gap: 16px; row-gap: 3px; align-content: start; padding: 0; background: none; text-align: left; }
	.tx-etape > .tx-etape__img { grid-column: 1; grid-row: 1 / span 2; width: 92px !important; }
	.tx-etape .tx-etape__img img { width: 92px !important; height: 92px !important; border-width: 4px; box-shadow: none; }
	.tx-etape .tx-etape__num { top: -3px; left: 64px; }
	.tx-etape .tx-etape__num .elementor-heading-title { width: 30px; height: 30px; font-size: 13px !important; }
	.tx-etape > .elementor-widget-heading:not(.tx-etape__num), .tx-etape > .tx-etape__txt { grid-column: 2; width: auto !important; max-width: none; }
	.tx-etape > .elementor-widget-heading:not(.tx-etape__num) { align-self: end; }
	.tx-etape > .elementor-widget-heading:not(.tx-etape__num) .elementor-heading-title { font-size: 21px !important; line-height: 1.15; text-align: left; }
	.tx-etape > .tx-etape__txt, .tx-etape > .tx-etape__txt p { font-size: 14.5px !important; line-height: 1.45; text-align: left !important; }

	/* Chiffres : lignes nettes plutôt que colonnes étroites */
	.e-con.tx-compteur:not(.tx-stat) { flex-direction: row !important; flex-wrap: nowrap; align-items: baseline; justify-content: space-between; gap: 14px !important; padding: 11px 0; border-top: 1px solid rgba(18, 18, 18, .13); }
	.tx-compteur:not(.tx-stat) > .elementor-widget { width: auto !important; min-width: 0; }
	.tx-compteur:not(.tx-stat) > .elementor-widget-heading { flex: none; }
	.tx-compteur:not(.tx-stat) .elementor-heading-title { white-space: nowrap; }
	.tx-compteur:not(.tx-stat) .elementor-widget-text-editor, .tx-compteur:not(.tx-stat) .elementor-widget-text-editor p { margin: 0; font-size: 14px; line-height: 1.35; text-align: right; }
	.tx-pourquoi-chiffres { gap: 20px !important; }
	.tx-pourquoi-chiffres .tx-stat { padding-top: 16px; gap: 6px !important; }

	/* Cartes photo */
	.tx-habitant .tx-stat .elementor-heading-title { font-size: 36px !important; line-height: 1.02; overflow-wrap: anywhere; }
	.tx-carte-image .tx-carte-image__cible { top: 14px; left: 14px; max-width: calc(100% - 28px) !important; }
	.tx-carte-image__cible .elementor-heading-title { max-width: 100%; font-size: 11px !important; }
	.tx-carte-image__fleche .elementor-heading-title { font-size: 24px !important; }

	/* Avant / après : étiquettes côte à côte sans se toucher */
	.tx-aa { border-radius: 20px; }
	.tx-aa__tag { top: 10px; padding: 6px 9px; font-size: 10px; letter-spacing: .05em; }
	.tx-aa__tag--avant { left: 10px; }
	.tx-aa__tag--apres { right: 10px; }
	.tx-aa__poignee span { width: 52px; height: 52px; margin: -26px 0 0 -26px; font-size: 19px; }

	/* Bâtiment aujourd'hui : plan puis légende, en une colonne */
	.tx-occ, .tx-occ:has(.tx-occ__chiffres--legende) { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.tx-occ:has(.tx-occ__chiffres--legende) .tx-occ__plan { max-width: none; min-height: 0; padding: 12px; }
	.tx-occ__cles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
	.tx-occ__cles strong { font-size: 32px; white-space: nowrap; }
	.tx-occ__cles span { margin-top: 5px; font-size: 13.5px; line-height: 1.3; }
	.tx-occ__legende { margin-top: 0; gap: 10px; }
	.tx-occ__chiffres--legende .tx-occ__legende li { grid-template-columns: 16px minmax(0, 1fr); gap: 2px 10px; padding-bottom: 10px; }
	.tx-occ__chiffres--legende .tx-occ__legende i { width: 16px; height: 16px; }
	.tx-occ__chiffres--legende .tx-occ__legende span { grid-column: 2; font-size: 14px; line-height: 1.35; text-align: left; }
	.tx-occ__chiffres--legende .tx-occ__mention { margin-top: 12px; font-size: 14px; }

	/* Tableau des services : tient dans la largeur */
	.tx-tableau { border-radius: 18px; table-layout: fixed; }
	.tx-tableau th, .tx-tableau td { padding: 10px 8px; }
	.tx-tableau th:first-child { width: 44%; padding-left: 12px; }
	.tx-tableau thead th { font-size: 13.5px; line-height: 1.15; vertical-align: top; }
	.tx-tableau thead th small { margin-top: 0; font-size: 11px; line-height: 1.25; }
	.tx-tableau tbody th { font-size: 13.5px; line-height: 1.25; overflow-wrap: anywhere; }
	.tx-tableau td { width: auto; }
	.tx-oui { font-size: 17px !important; }

	/* Formulaire de contact : sujets en liste, pas en pastilles */
	.tx-form { gap: 14px; padding: 22px 18px; border-radius: 22px; box-shadow: 0 24px 50px -32px rgba(0, 0, 0, .45); }
	.tx-form__titre { font-size: 24px; }
	.tx-form__ligne { gap: 14px; }
	.tx-form__choix { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.tx-form .tx-btn, .tx-form button.tx-btn { justify-self: stretch; justify-content: center; width: 100%; min-height: 54px; padding: 14px 20px; }

	/* Newsletter */
	.tx-news { gap: 20px; padding: 28px 20px 24px; border-radius: 24px; box-shadow: 0 24px 50px -34px rgba(54, 81, 160, .8); }
	.tx-news__texte, .tx-news__droite { flex-basis: 100%; }
	.tx-news__s--1 { top: -22px; right: -8px; width: 76px; height: 65px; }
	.tx-news__etiquette { margin-bottom: 10px; font-size: 12px; }
	.tx-news .tx-news__titre { font-size: 30px; line-height: 1.04; }
	.tx-news .tx-news__sous { margin-top: 10px; font-size: 15.5px; }
	.tx-news .tx-news__form { gap: 6px; padding: 6px; border-radius: 22px; }
	body .tx-news__form input[type=email] { padding: 0 14px; }
	body .tx-news__form button.tx-btn, body .tx-news .tx-news__form button.tx-btn { justify-content: center; width: 100%; min-height: 52px; padding: 14px 20px; }

	/* FAQ */
	.tx-faq { gap: 8px; }
	.tx-faq__item { border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(18, 18, 18, .09); }
	.tx-faq__item summary { gap: 14px; padding: 14px 14px 14px 18px; font-size: 16px; line-height: 1.3; }
	.tx-faq__item summary i { flex-basis: 30px; height: 30px; }
	.tx-faq__item summary i::before, .tx-faq__item summary i::after { left: 9px; right: 9px; top: 14px; }
	.tx-faq__rep { padding: 0 18px 16px; font-size: 15px; line-height: 1.55; }

	/* Liste d'activités */
	.tx-index__ligne { grid-template-columns: 28px minmax(0, 1fr); gap: 3px 8px; min-height: 56px; padding: 13px 0; }
	.tx-index__fleche { display: none; }
	.tx-index__num { font-size: 12px; }
	.tx-index__titre { font-size: 27px; line-height: 1.08; }
	.tx-index__detail { font-size: 14px; line-height: 1.35; }

	/* Vidéo : pleine largeur et plus compacte, format complet à la lecture */
	.tx-li { width: 100%; max-width: none; aspect-ratio: 4 / 5; border-radius: 20px; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .6); }
	.tx-li.tx-li--lecture { aspect-ratio: 9 / 16; }
	body .tx-li__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
	.tx-li__play svg { width: 28px; height: 28px; }
	.tx-li__bas { left: 16px; right: 16px; font-size: 11px; }

	/* Articles */
	.tx-articles { gap: 16px; }
	.tx-article { border-radius: 20px; }
	.tx-article__corps { padding: 16px 18px 18px; gap: 6px; }
	.tx-article__titre { font-size: 20px; }

	/* Pied de page */
	.tx-pied .elementor-widget-image img { width: 118px; }
	.tx-reseaux { gap: 8px !important; }
	.tx-reseau { gap: 14px; padding: 12px 16px; border-radius: 16px; }
	.tx-reseau__ico { width: 26px; height: 26px; }
	.tx-reseau__txt b { font-size: 19px; }
	.tx-reseau__txt small { margin-top: 1px; font-size: 13px; }
	.tx-reseau__fleche { font-size: 20px; }
}

/* ===============================================================
 * Retours du 19/11/2026
 * =============================================================== */
/* Hero de l'accueil : mots clés en jaune plein, plus de bande sous les lettres */
body .tx-hero.tx-hero--mosaique .tx-mot { color: var(--tx-jaune); background: none; padding: 0; margin: 0; }
@media (min-width: 901px) {
	/* Texte centré dans la hauteur (plus de vide en haut), photos jusqu'au bord droit */
	.tx-hero--mosaique .tx-hero__contenu { top: 96px; bottom: 128px; display: flex; flex-direction: column; justify-content: center; max-width: calc(51vw - 32px); }
	.tx-hero--mosaique .tx-hero__titre { font-size: clamp(44px, 4.9vw, 96px); line-height: .98; }
	.tx-mosaique { right: 0; width: 45vw; gap: 16px; }
	.tx-mosaique__piste { gap: 16px; }
	.tx-mosaique img { border-radius: 20px; }
	/* Barre fixe : pas de bouton menu sur ordinateur, menu calé à droite comme en haut de page */
	body .tx-barre .tx-barre__burger { display: none !important; }
}
/* Carte « séminaire » : photo trop sombre */
img[src*="pepite-1"] { filter: brightness(1.25) contrast(1.04) saturate(1.06); }
/* Dernières nouvelles : la vidéo a la taille d'une carte */
@media (min-width: 901px) {
	.tx-fil-video .tx-li { max-width: none; aspect-ratio: 4 / 5; border-radius: 22px; box-shadow: none; }
	.tx-fil-video .tx-li--lecture video { object-fit: contain; }
	body .tx-fil-video .tx-li__play { width: 62px; height: 62px; margin: -31px 0 0 -31px; }
	.tx-fil-video .tx-li__play svg { width: 26px; height: 26px; }
}
/* Mur de photos : étiquette métier sur les photos d'artisans */
.tx-mosaique__ph { position: relative; margin: 0; }
.tx-mosaique__ph figcaption { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 6px 11px; border-radius: 999px; background: #fff; color: var(--tx-encre); font: 600 12px/1.2 var(--tx-titre); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-mosaique__piste { animation-duration: 34s; }
.tx-mosaique__col:nth-child(2) .tx-mosaique__piste { animation-duration: 42s; }
.tx-mosaique__col:nth-child(3) .tx-mosaique__piste { animation-duration: 30s; }
@media (max-width: 900px) {
	.tx-mosaique__ligne .tx-mosaique__ph { flex: none; height: 100%; }
	.tx-mosaique__ligne .tx-mosaique__piste { animation-duration: 40s; }
	.tx-mosaique__ph figcaption { left: 8px; bottom: 8px; padding: 5px 9px; font-size: 11px; }
}
/* Mur de photos : interaction au survol (ordinateur) */
@media (hover: hover) and (min-width: 901px) {
	.tx-hero--mosaique .tx-mosaique { pointer-events: auto; }
	.tx-mosaique__col { transform: translate3d(calc(var(--mx, 0) * -18px), calc(var(--my, 0) * -46px), 0); }
	.tx-mosaique__col:nth-child(2) { transform: translate3d(calc(var(--mx, 0) * -10px), calc(var(--my, 0) * 34px), 0); }
	.tx-mosaique__col:nth-child(3) { transform: translate3d(calc(var(--mx, 0) * -26px), calc(var(--my, 0) * -70px), 0); }
	.tx-mosaique__col:hover .tx-mosaique__piste { animation-play-state: paused; }
	.tx-mosaique__ph { overflow: hidden; border-radius: 20px; transition: opacity .45s var(--tx-courbe), transform .45s var(--tx-courbe); }
	.tx-mosaique__ph img { transition: transform .8s var(--tx-courbe); }
	.tx-mosaique:has(.tx-mosaique__ph:hover) .tx-mosaique__ph:not(:hover) { opacity: .45; }
	.tx-mosaique__ph:hover { transform: scale(1.03); }
	.tx-mosaique__ph:hover img { transform: scale(1.08); }
	.tx-mosaique__ph figcaption { transition: background .3s, transform .45s var(--tx-courbe); }
	.tx-mosaique__ph:hover figcaption { background: var(--tx-jaune); transform: translateY(-4px); }
}
/* Hero : phrase longue (« Résister à la consommation déraisonnée… ») */
.tx-hero--mosaique .tx-hero__titre { letter-spacing: -.03em; }
@media (min-width: 901px) { .tx-hero--mosaique .tx-hero__titre { font-size: clamp(42px, 4.4vw, 84px); line-height: 1; } }
@media (max-width: 900px) {
	.tx-hero--mosaique .tx-hero__titre { font-size: clamp(30px, 8.4vw, 52px); line-height: 1.02; }
	/* Photos qui défilent : coins arrondis */
	.tx-mosaique__ligne .tx-mosaique__ph { overflow: hidden; border-radius: 16px; }
	.tx-mosaique__ligne img { border-radius: 16px; }
}
/* Hero plus « premium » (19/11) : plus lent, plus calme, plus éditorial */
.tx-mosaique__piste { animation-duration: 80s; }
.tx-mosaique__col:nth-child(2) .tx-mosaique__piste { animation-duration: 96s; }
.tx-mosaique__col:nth-child(3) .tx-mosaique__piste { animation-duration: 70s; }
.tx-hero--mosaique .tx-hero__surtitre { gap: 14px; margin-bottom: 26px; font-size: 12px; letter-spacing: .2em; color: rgba(255, 255, 255, .72); }
.tx-hero--mosaique .tx-hero__surtitre::before { content: ''; flex: none; width: 36px; height: 1px; background: var(--tx-jaune); }
.tx-hero--mosaique .tx-hero__texte { color: rgba(255, 255, 255, .78); }
@media (min-width: 901px) {
	.tx-mosaique { gap: 20px; }
	.tx-mosaique__piste { gap: 20px; }
	.tx-mosaique img, .tx-mosaique__ph { border-radius: 24px; }
	.tx-hero--mosaique .tx-hero__texte { margin-top: 30px; max-width: 520px; }
	.tx-hero--mosaique .tx-hero__ctas { margin-top: 38px; }
}
@media (hover: hover) and (min-width: 901px) {
	/* Mouvement plus discret */
	.tx-mosaique__col { transform: translate3d(calc(var(--mx, 0) * -8px), calc(var(--my, 0) * -20px), 0); }
	.tx-mosaique__col:nth-child(2) { transform: translate3d(calc(var(--mx, 0) * -5px), calc(var(--my, 0) * 16px), 0); }
	.tx-mosaique__col:nth-child(3) { transform: translate3d(calc(var(--mx, 0) * -12px), calc(var(--my, 0) * -30px), 0); }
	/* Étiquettes métier : seulement au survol */
	.tx-mosaique__ph figcaption { opacity: 0; transform: translateY(8px); transition: opacity .4s var(--tx-courbe), transform .5s var(--tx-courbe), background .3s; }
	.tx-mosaique__ph:hover figcaption { opacity: 1; transform: none; background: var(--tx-jaune); }
	.tx-mosaique:has(.tx-mosaique__ph:hover) .tx-mosaique__ph:not(:hover) { opacity: .6; }
	.tx-mosaique__ph:hover { transform: none; }
	.tx-mosaique__ph:hover img { transform: scale(1.05); }
}
@media (max-width: 900px) {
	.tx-mosaique__ligne .tx-mosaique__piste { animation-duration: 90s; }
	.tx-hero--mosaique .tx-hero__surtitre { margin-bottom: 16px; font-size: 11px; letter-spacing: .1em; white-space: nowrap; }
	.tx-hero--mosaique .tx-hero__surtitre::before { display: none; }
}
/* Sous-menus : titre court + précision (19/11) */
.tx-sous__liste:has(.tx-sous__double) { min-width: 350px; }
body .tx-nav__menu .tx-sous__liste a.tx-sous__double, body .tx-barre nav .tx-sous__liste a.tx-sous__double { display: grid; gap: 2px; padding: 12px 16px; white-space: normal; }
.tx-sous__double b { font: 700 16px/1.2 var(--tx-titre); letter-spacing: -.01em; }
.tx-sous__double small { font: 500 13px/1.35 var(--tx-texte); color: rgba(18, 18, 18, .58); }
.tx-sous__double:hover small { color: rgba(18, 18, 18, .75); }
@media (max-width: 900px) {
	body .tx-nav.tx-ouvert .tx-sous__liste a.tx-sous__double { display: grid; align-content: center; gap: 1px; padding: 8px 0 8px 14px; }
	.tx-nav.tx-ouvert .tx-sous__double b { font: 600 17px/1.2 var(--tx-titre); color: #fff; }
	.tx-nav.tx-ouvert .tx-sous__double small { font-size: 13px; color: rgba(255, 255, 255, .62); }
}
/* Pied de page : cartes réseaux, survol plus doux (19/11) */
.tx-reseau { transition: background .6s var(--tx-courbe), border-color .6s var(--tx-courbe), transform .6s var(--tx-courbe); }
.tx-reseau__ico, .tx-reseau__fleche { transition: transform .6s var(--tx-courbe), color .5s var(--tx-courbe); }
.tx-reseau:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 239, 6, .55); color: #fff !important; transform: translateY(-2px); }
.tx-reseau:hover .tx-reseau__ico { transform: scale(1.06); }
.tx-reseau:hover .tx-reseau__fleche { color: var(--tx-jaune); transform: translateX(6px); }
@media (prefers-reduced-motion: reduce) { .tx-reseau, .tx-reseau__ico, .tx-reseau__fleche { transition: none; } .tx-reseau:hover { transform: none; } }
@media (hover: none) { .tx-reseau:hover { background: transparent; border-color: rgba(255, 255, 255, .24); transform: none; } .tx-reseau:hover .tx-reseau__ico, .tx-reseau:hover .tx-reseau__fleche { transform: none; color: inherit; } }

/* ===============================================================
 * Audit « haut de gamme » (19/11/2026)
 * =============================================================== */
/* Plus de « S » décoratifs posés sur les photos ni dans la newsletter */
.tx-hero__s, .tx-news__s, .tx-entete .tx-hero__s { display: none !important; }
/* Newsletter : pas de halo flou, mot mis en avant en blanc + bande jaune */
.tx-news, body .tx-news { box-shadow: none !important; }
.tx-news .tx-news__titre mark { color: #fff; padding: 0 .04em; background: linear-gradient(transparent 70%, var(--tx-jaune) 70%, var(--tx-jaune) 90%, transparent 90%); }
/* Étapes 01-02-03 : numéro typographique, sans rond de couleur */
body .tx-etape .tx-etape__num .elementor-heading-title { width: auto !important; height: auto !important; padding: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: var(--tx-encre) !important; font-weight: 900 !important; }
body .tx-etape .tx-etape__num, body .tx-etape .tx-etape__num > .elementor-widget-container { position: static !important; top: auto; left: auto; border-radius: 0; background: none !important; box-shadow: none !important; }
body .tx-etape .tx-etape__num .elementor-heading-title { font-size: 15px !important; letter-spacing: .12em; color: var(--tx-orange) !important; }
.tx-etape.tx-apparait .tx-etape__num { transform: translateY(10px); }
@media (max-width: 600px) { body .tx-etape .tx-etape__num { display: none; } }
/* Mission : plus de rangée de points sous 7/9 */
.tx-points { display: none !important; }
/* FAQ : un « + » au trait, sans rond jaune */
.tx-faq__item summary i { background: none !important; box-shadow: inset 0 0 0 1.5px currentColor; }
/* Tableau des services : Oui / Non en texte */
.tx-tableau td.tx-oui { color: var(--tx-encre); font: 700 15px var(--tx-titre) !important; }
.tx-tableau td.tx-non { color: rgba(18, 18, 18, .38); font: 500 15px var(--tx-texte); }
/* Bandeaux de chiffres : une seule couleur pour les nombres, l'unité en bleu */
.tx-chiffre strong, .tx-repere strong, .tx-repere:nth-child(2) strong, .tx-repere:nth-child(3) strong { color: var(--tx-encre); }
.tx-chiffre b { color: var(--tx-bleu); }
/* Boutons des formulaires : pilule comme tous les autres */
.tx-form button.tx-btn, .tx-form .tx-btn, .tx-contact button { border-radius: 999px !important; }
/* Surlignage : ne se coupe pas en deux sur ordinateur */
/* En-têtes de page : dégradé seulement derrière le texte, la photo reste nette à droite */
@media (min-width: 601px) {
	.tx-entete__voile { background: linear-gradient(90deg, rgba(var(--c), .94) 0%, rgba(var(--c), .78) 30%, rgba(var(--c), .2) 55%, rgba(var(--c), 0) 70%), linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 22%); }
}
/* Carrousel des habitants : texte lisible sur les photos chargées */
.tx-habitant::before { background-image: linear-gradient(180deg, rgba(10, 10, 10, 0) 15%, rgba(10, 10, 10, .55) 50%, rgba(10, 10, 10, .95) 100%) !important; }
/* Logos partenaires : une ligne centrée, pas de rangée incomplète */
.tx-logos { display: flex !important; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 48px; }
.tx-logos > * { flex: 0 0 auto; width: auto !important; }
/* Étiquette de cible longue sur mobile */
@media (max-width: 600px) { .tx-carte-image__cible .elementor-heading-title { font-size: 10px !important; letter-spacing: .06em !important; } }
/* Presse : liste texte */
.tx-presse { border-top: 1px solid rgba(18, 18, 18, .14); }
.tx-presse__ligne { display: grid; grid-template-columns: 220px minmax(0, 1fr) 130px 28px; align-items: baseline; gap: 24px; padding: 22px 0; border-bottom: 1px solid rgba(18, 18, 18, .14); color: var(--tx-encre) !important; text-decoration: none; transition: padding .5s var(--tx-courbe); }
.tx-presse__media { font: 800 20px/1.2 var(--tx-titre); letter-spacing: -.01em; }
.tx-presse__titre { font: 500 16px/1.5 var(--tx-texte); color: rgba(18, 18, 18, .72); }
.tx-presse__date { font: 600 13px var(--tx-texte); letter-spacing: .04em; color: rgba(18, 18, 18, .55); text-align: right; }
.tx-presse__fleche { font: 700 18px var(--tx-titre); transition: transform .5s var(--tx-courbe); }
@media (hover: hover) { .tx-presse__ligne:hover { padding-left: 10px; } .tx-presse__ligne:hover .tx-presse__fleche { transform: translateX(6px); } }
@media (max-width: 760px) {
	.tx-presse__ligne { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 16px 0; }
	.tx-presse__media { grid-column: 1; }
	.tx-presse__date { grid-column: 2; grid-row: 1; }
	.tx-presse__titre { grid-column: 1 / -1; font-size: 14.5px; }
	.tx-presse__fleche { display: none; }
}
/* Correctifs du contrôle (19/11) */
.tx-presse__ligne:not(:has(.tx-presse__titre)) { grid-template-columns: minmax(0, 1fr) 130px 28px; }
@media (max-width: 760px) { .tx-presse__ligne:not(:has(.tx-presse__titre)) { grid-template-columns: minmax(0, 1fr) auto; } }
.tx-faq__item summary i { box-shadow: none !important; }
@media (min-width: 601px) {
	.tx-entete__voile { background: linear-gradient(90deg, rgba(var(--c), .95) 0%, rgba(var(--c), .88) 38%, rgba(var(--c), .45) 60%, rgba(var(--c), 0) 80%), linear-gradient(180deg, rgba(10, 10, 20, .5) 0%, rgba(10, 10, 20, 0) 26%); }
}

/* Avis : photo de l'auteur, comme sur l'ancien site (20/11) */
.tx-avis__auteur { display: flex; align-items: center; gap: 14px; font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 15px; color: var(--tx-encre); }
.tx-avis__auteur img { width: 60px !important; height: 60px !important; max-width: none; border-radius: 50% !important; object-fit: cover; flex: none; }
@media (max-width: 767px) { .tx-avis__auteur img { width: 50px !important; height: 50px !important; } }

/* ---------------------------------------------------------------
 * Retours du 23/11
 * --------------------------------------------------------------- */
/* Hero de l'accueil : fond bleu travaillé (profondeur, lueur qui suit la souris, fils tissés, grain) */
.tx-hero__decor { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none;
	background:
		radial-gradient(70% 90% at 100% 0%, rgba(122, 55, 135, .38), transparent 62%),
		radial-gradient(60% 80% at 0% 100%, rgba(16, 28, 78, .55), transparent 70%),
		linear-gradient(155deg, #4262bb 0%, #3651a0 42%, #2b438f 100%); }
.tx-hero__lueur { position: absolute; width: 70vw; height: 70vw; left: calc(8vw + var(--hx, 0) * 14vw); top: calc(-28vw + var(--hy, 0) * 14vw);
	border-radius: 50%; background: radial-gradient(closest-side, rgba(140, 170, 255, .42), rgba(140, 170, 255, 0)); transition: left .2s linear, top .2s linear; }
.tx-hero__fils { position: absolute; inset: 0; width: 100%; height: 100%; }
.tx-fil { fill: none; stroke: #fff; stroke-width: 1.2; stroke-linecap: round; vector-effect: non-scaling-stroke;
	stroke-dasharray: 1; stroke-dashoffset: 1; animation: txFil 2.8s var(--tx-courbe) forwards, txOndule 14s ease-in-out infinite alternate; }
.tx-fil--1 { opacity: .16; animation-delay: .3s, 0s; }
.tx-fil--2 { opacity: .1; animation-delay: .6s, -4s; }
.tx-fil--3 { opacity: .12; animation-delay: .9s, -8s; }
.tx-fil--or { stroke: var(--tx-jaune); stroke-width: 2.4; opacity: .85; animation-delay: .5s, -2s; }
.tx-hero__decor .tx-grain { opacity: .07; }
@keyframes txFil { to { stroke-dashoffset: 0; } }
@keyframes txOndule { from { transform: translateY(-10px); } to { transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .tx-fil { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 900px) { .tx-hero__lueur { width: 140vw; height: 140vw; left: -20vw; top: -70vw; } .tx-fil--or { stroke-width: 2; } }

/* Cartes photo (espace, séminaire) : plus lumineuses, voile seulement sous le texte */
.tx-carte-image::after, .tx-carte-image:hover::after { background: linear-gradient(180deg, rgba(14, 18, 40, 0) 50%, rgba(14, 18, 40, .5) 73%, rgba(14, 18, 40, .86) 100%); }
.tx-carte-image .tx-carte-image__img img { filter: brightness(1.12) saturate(1.08) contrast(1.02); }
.tx-carte-image__txt .elementor-heading-title, .tx-carte-image__txt p { text-shadow: 0 1px 18px rgba(0, 0, 0, .35); }
@media (max-width: 760px) { .tx-carte-image::after { background: linear-gradient(180deg, rgba(14, 18, 40, 0) 34%, rgba(14, 18, 40, .5) 62%, rgba(14, 18, 40, .85) 100%); } }

/* Avant / après : glissé fluide (calques composés, pas de fond qui apparaît) */
.tx-aa { background: transparent; contain: paint; -webkit-tap-highlight-color: transparent; }
.tx-aa img { transform: translateZ(0); backface-visibility: hidden; }
.tx-aa__avant { will-change: clip-path; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.tx-aa__rail { position: absolute; inset: 0; z-index: 3; pointer-events: none; transform: translate3d(var(--pos), 0, 0); will-change: transform; }
.tx-aa__poignee { left: 0; pointer-events: auto; }
.tx-aa:not(.tx-aa--pret) .tx-aa__rail, .tx-aa:not(.tx-aa--pret) .tx-aa__tag { opacity: 0; }
.tx-aa__rail, .tx-aa__tag { transition: opacity .4s; }

/* ---------------------------------------------------------------
 * Articles du blog (gabarit « Articles – haut / bas de page »)
 * --------------------------------------------------------------- */
body.tx-page-article { margin: 0; background: #fff; }
.tx-entete--article { min-height: min(72svh, 680px); }
.tx-entete--article .tx-entete__titre { font-size: clamp(36px, 4.6vw, 76px); line-height: 1; max-width: 18em; }
.tx-entete--article .tx-hero__texte { max-width: 40em; }
body .tx-article-corps { box-sizing: border-box; max-width: 820px; margin: 0 auto; padding: 80px 24px 96px; font: 400 18px/1.75 var(--tx-texte, 'Montserrat', sans-serif); color: #2b2b2b; }
body .tx-article-corps .e-con { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px; }
body .tx-article-corps .e-con-inner { max-width: none; padding: 0; }
body .tx-article-corps .elementor-widget:not(:last-child) { margin-bottom: 0; }
body .tx-article-corps h1, body .tx-article-corps h2, body .tx-article-corps h3, body .tx-article-corps h4, body .tx-article-corps .elementor-heading-title {
	margin: 1.7em 0 .55em; font-family: var(--tx-titre, 'Poppins', sans-serif); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--tx-encre); text-transform: none; }
body .tx-article-corps h2, body .tx-article-corps .elementor-widget-heading h2.elementor-heading-title { font-size: clamp(26px, 2.6vw, 36px); }
body .tx-article-corps h3, body .tx-article-corps .elementor-widget-heading h3.elementor-heading-title { font-size: 24px; }
body .tx-article-corps .elementor-widget:first-child .elementor-heading-title, body .tx-article-corps > *:first-child { margin-top: 0; }
body .tx-article-corps p, body .tx-article-corps li, body .tx-article-corps .elementor-widget-text-editor { font-family: var(--tx-texte, 'Montserrat', sans-serif); font-size: 18px; line-height: 1.75; color: #2b2b2b; }
body .tx-article-corps p { margin: 0 0 1.1em; }
body .tx-article-corps .tx-chapo, body .tx-article-corps .tx-chapo p { font-size: 22px; line-height: 1.55; font-weight: 600; color: var(--tx-encre); }
body .tx-article-corps ul, body .tx-article-corps ol { margin: 0 0 1.2em; padding-left: 1.3em; }
body .tx-article-corps li { margin-bottom: .35em; }
body .tx-article-corps li::marker { color: var(--tx-bleu); }
body .tx-article-corps a:not(.elementor-button) { color: var(--tx-bleu); font-weight: 600; text-decoration: underline; text-decoration-color: var(--tx-jaune); text-decoration-thickness: 3px; text-underline-offset: 3px; }
body .tx-article-corps a:not(.elementor-button):hover { text-decoration-color: var(--tx-bleu); }
body .tx-article-corps strong, body .tx-article-corps b { font-weight: 700; color: var(--tx-encre); }
body .tx-article-corps blockquote { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--tx-jaune); font: 700 24px/1.4 var(--tx-titre, 'Poppins', sans-serif); color: var(--tx-encre); }
body .tx-article-corps .elementor-widget-image, body .tx-article-corps figure, body .tx-article-corps .wp-block-image { margin: 2em 0; }
body .tx-article-corps img { display: block; width: 100%; height: auto; max-width: 100%; border-radius: 18px; }
body .tx-article-corps .widget-image-caption, body .tx-article-corps figcaption { margin-top: 10px; font-size: 14px; color: #6b6b6b; text-align: left; }
body .tx-article-corps .elementor-widget-video, body .tx-article-corps .elementor-widget-divider { margin: 2em 0; }
body .tx-article-corps .elementor-widget-video .elementor-wrapper { border-radius: 18px; overflow: hidden; }
body .tx-article-corps .elementor-widget-button { margin: 1.6em 0; }
body .tx-article-corps .elementor-button { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border: 0; border-radius: 999px; background: var(--tx-jaune); color: var(--tx-encre); font: 700 16px/1 var(--tx-titre, 'Poppins', sans-serif); text-transform: none; transition: transform .3s var(--tx-courbe); }
body .tx-article-corps .elementor-button:hover { transform: translateY(-2px); background: var(--tx-jaune); color: var(--tx-encre); }
body .tx-article-corps .elementor-widget-image-gallery .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
body .tx-article-corps .elementor-widget-image-gallery .gallery-item { margin: 0 !important; max-width: none !important; }
@media (max-width: 760px) {
	body .tx-article-corps { padding: 48px 20px 64px; font-size: 17px; }
	body .tx-article-corps p, body .tx-article-corps li, body .tx-article-corps .elementor-widget-text-editor { font-size: 17px; }
	body .tx-article-corps .tx-chapo, body .tx-article-corps .tx-chapo p { font-size: 19px; }
	.tx-entete--article .tx-entete__titre { font-size: clamp(32px, 9vw, 44px); }
}

/* En-tête d'article : visuel montré en entier (affiches, captures), fond flou de la même image */
.tx-entete--affiche .tx-entete__img { filter: blur(38px) saturate(1.15); transform: scale(1.25); animation: none; opacity: .55; }
.tx-entete--affiche .tx-entete__voile { background: linear-gradient(90deg, rgba(var(--c), .96) 0%, rgba(var(--c), .9) 50%, rgba(var(--c), .72) 100%); }
.tx-entete--affiche { min-height: min(84svh, 760px); }
.tx-entete__affiche { position: absolute; z-index: 3; right: max(4vw, calc((100% - 1320px) / 2)); top: 50%; translate: 0 -38%; width: min(38vw, 560px); margin: 0; }
.tx-entete__affiche img { display: block; width: 100%; height: auto !important; max-height: 58vh; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); background: #fff; }
.tx-entete--affiche .tx-entete__contenu { max-width: min(760px, 52vw); }
.tx-entete--affiche .tx-entete__titre { font-size: clamp(40px, 4.6vw, 80px); }
@media (max-width: 1024px) {
	.tx-entete--affiche { min-height: 0; }
	.tx-entete__affiche { position: relative; z-index: 3; right: auto; top: auto; translate: none; width: auto; margin: 96px 20px 0 !important; }
	.tx-entete__affiche img { max-height: 46vh; width: auto; max-width: 100%; margin: 0 auto; }
	.tx-entete--affiche .tx-entete__contenu { max-width: none; margin-top: 0; padding-top: 28px; }
	.tx-entete--affiche .tx-entete__contenu::before { display: none; }
	.tx-entete--affiche .tx-entete__voile { background: rgba(var(--c), .9); }
}
/* Corps d'article : respiration entre une image et le texte qui suit */
.tx-article-corps .elementor-widget-image + .elementor-widget-text-editor,
.tx-article-corps .elementor-widget-image + .elementor-widget-heading { margin-top: 28px; }

/* Mosaïque : au survol d'une photo, les autres s'assombrissent mais restent opaques (le fil ne transparaît plus) */
@media (hover: hover) {
	.tx-mosaique:has(.tx-mosaique__ph:hover) .tx-mosaique__ph:not(:hover) { opacity: 1 !important; filter: brightness(.62) saturate(.7); }
	.tx-mosaique__ph { transition: filter .45s var(--tx-courbe), transform .45s var(--tx-courbe); }
}

/* ---------------------------------------------------------------
 * 24/11 : fond « fils tissés » décliné, correctifs Safari
 * --------------------------------------------------------------- */
/* Grandes sections de couleur : le fond travaillé de l'accueil (dégradé profond, fils, grain), dans leur couleur */
.tx-fond-hote { position: relative; isolation: isolate; }
.tx-fond { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; border-radius: inherit; }
.tx-fond--bleu { background: radial-gradient(70% 90% at 100% 0%, rgba(122, 55, 135, .34), transparent 62%), radial-gradient(60% 80% at 0% 100%, rgba(16, 28, 78, .5), transparent 70%), linear-gradient(155deg, #4262bb 0%, #3651a0 42%, #2b438f 100%); }
.tx-fond--violet { background: radial-gradient(70% 90% at 100% 0%, rgba(227, 146, 189, .3), transparent 62%), radial-gradient(60% 80% at 0% 100%, rgba(48, 16, 66, .55), transparent 70%), linear-gradient(155deg, #8b47a0 0%, #7a3787 45%, #652b72 100%); }
.tx-fond--vert { background: radial-gradient(70% 90% at 100% 0%, rgba(255, 239, 6, .14), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(12, 66, 48, .5), transparent 70%), linear-gradient(155deg, #56bc7d 0%, #4aaf71 45%, #3b9761 100%); }
.tx-fond--orange { background: radial-gradient(70% 90% at 100% 0%, rgba(227, 146, 189, .3), transparent 62%), radial-gradient(60% 80% at 0% 100%, rgba(120, 38, 18, .45), transparent 70%), linear-gradient(155deg, #e9774b 0%, #df6437 45%, #c8532a 100%); }
.tx-fond--encre { background: radial-gradient(70% 90% at 100% 0%, rgba(54, 81, 160, .34), transparent 62%), radial-gradient(60% 80% at 0% 100%, rgba(122, 55, 135, .2), transparent 70%), linear-gradient(155deg, #1e1e24 0%, #141416 50%, #0c0c0e 100%); }
.tx-fond__fils, .tx-entete__fils { position: absolute; inset: 0; width: 100%; height: 100%; }
.tx-fond .tx-grain { opacity: .06; }
.tx-fond--encre .tx-fil--1, .tx-fond--encre .tx-fil--2, .tx-fond--encre .tx-fil--3 { opacity: .09; }
/* Les fils se tracent quand la section arrive à l'écran, ondulent seulement quand on la voit */
.tx-fond .tx-fil, .tx-entete__fils .tx-fil { animation-play-state: paused; }
.tx-fond--vu .tx-fil { animation-play-state: running; }
.tx-fond--trace:not(.tx-fond--vu) .tx-fil { stroke-dashoffset: 0; animation-name: none, txOndule; }
/* En-têtes de page : les fils passent dans la couleur, s'effacent avant la photo */
.tx-entete__fils { z-index: 1; -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 80%); mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 80%); }
@media (max-width: 900px) { .tx-entete__fils { -webkit-mask-image: none; mask-image: none; } }

/* Avant / après : glisser ne sélectionne jamais le texte des blocs autour (Safari) */
.tx-aa, .tx-aa * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.tx-aa img { -webkit-user-drag: none; }
html.tx-glisse, html.tx-glisse * { -webkit-user-select: none !important; user-select: none !important; cursor: ew-resize; }

/* Mur de photos (Safari) : boucle exacte (plus de saut), coins arrondis tenus pendant l'animation, calques stables */
.tx-mosaique { transform: translateZ(0); }
.tx-mosaique__piste { -webkit-backface-visibility: hidden; backface-visibility: hidden; padding-bottom: 14px; animation-name: txBoucleY; }
.tx-mosaique__ligne .tx-mosaique__piste { padding-bottom: 0; padding-right: 10px; animation-name: txBoucleX; }
@media (min-width: 901px) { .tx-mosaique__col .tx-mosaique__piste { padding-bottom: 16px; } }
@keyframes txBoucleY { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -50%, 0); } }
@keyframes txBoucleX { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.tx-mosaique__ph { transform: translateZ(0); }
@media (hover: hover) and (min-width: 901px) { .tx-mosaique__ph:hover { transform: scale(1.03) translateZ(0); } }
/* Lueur du hero : déplacée par transformation (plus de recalcul de mise en page à chaque mouvement de souris) */
.tx-hero__lueur { left: 8vw; top: -28vw; transform: translate3d(calc(var(--hx, 0) * 14vw), calc(var(--hy, 0) * 14vw), 0); transition: transform .2s linear; will-change: transform; }
@media (max-width: 900px) { .tx-hero__lueur { left: -20vw; top: -70vw; transform: none; } }
/* Grain fixe derrière les photos et dans les fonds (l'animation en mode « overlay » faisait ramer Safari) */
.tx-hero__decor .tx-grain, .tx-fond .tx-grain { animation: none; inset: 0; }
.tx-fond .tx-fil--or { opacity: .55; } .tx-entete__fils .tx-fil--or { opacity: .7; }
