/*
Theme Name: Dejours
Description: Thème enfant de Hello Elementor pour le site Entreprise Dejours (généré, voir /root/build).
Author: Logia
Template: hello-elementor
Version: 1.0.0
Text Domain: dejours
*/

/* ==========================================================================
   Site Entreprise Dejours. Le socle de l'agence (assets/css/socle.css) est chargé avant ce fichier : on ne le modifie
   pas, on le surcharge ici. Toutes les tailles de police en rem.
   ========================================================================== */

:root {
	--dj-rouge: var(--e-global-color-primary, #E22F27);
	--dj-rouge-survol: var(--e-global-color-e1f0a01, #C4261F);
	--dj-noir: var(--e-global-color-text, #1D1D1B);
	--dj-gris: var(--e-global-color-a939b6a, #838382);
	--dj-fond-gris: var(--e-global-color-f6d808b, #F4F4F4);
	--dj-bordure: rgba(29, 29, 27, .25);
	/* Variables du socle branchées sur le Kit. */
	--pb-accent: var(--dj-rouge);
	--pb-accent-survol: var(--dj-rouge-survol);
	--pb-texte: var(--dj-noir);
	--pb-pastille-survol: rgba(226, 47, 39, .08);
	--pb-demi-contenu: 633px;
	--nav-height: 132px;
}

body { -webkit-font-smoothing: antialiased; }

/* ----------------------------------------------------------------- Textes */
.elementor-heading-title strong, .elementor-heading-title b { font-weight: 700; }
.elementor-widget-text-editor strong, .elementor-icon-list-text strong { font-weight: 700; }
p.elementor-heading-title { margin: 0; }
.elementor-widget-text-editor p { margin: 0; }
.elementor-widget-text-editor p + p { margin-top: 1.4em; }
.pb-rouge { color: var(--dj-rouge); }
.pb-insecable { white-space: nowrap; }

/* Sur-titre : marque en équerre (trait noir + rectangle rouge) devant le texte. */
.pb-surtitre { line-height: 0; }
.pb-surtitre .elementor-heading-title { display: inline-flex; align-items: flex-end; gap: 6px; vertical-align: top; }
.pb-surtitre .elementor-heading-title::before { content: ""; flex: none; width: 36px; height: 26px; background: url("assets/img/equerre.svg") center / contain no-repeat; }
.pb-surtitre--clair .elementor-heading-title::before { background-image: url("assets/img/equerre-claire.svg"); }
.pb-entete { margin-left: -8px; width: calc(100% + 8px); }
.pb-entete .pb-titre { padding-left: 8px; }
.pb-entete-centre .pb-entete, .pb-hero-page .pb-entete { margin-left: 0; width: 100%; }
.pb-entete-centre .pb-entete .pb-titre, .pb-hero-page .pb-entete .pb-titre { padding-left: 0; }

/* ----------------------------------------------------------------- Boutons
   Survol (choix du client) : inversion des couleurs, le nouveau fond se remplit par la gauche. */
.pb-btn .elementor-button,
.elementor-widget-form .elementor-button[type="submit"],
.elementor-widget-loop-grid .elementor-button[role="button"] {
	--dj-btn-survol: #fff;
	background-image: linear-gradient(var(--dj-btn-survol), var(--dj-btn-survol));
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 0% 100%;
	transition: background-size .35s ease, color .35s ease, fill .35s ease, border-color .35s ease;
}
.pb-btn .elementor-button:hover, .pb-btn .elementor-button:focus-visible,
.elementor-widget-form .elementor-button[type="submit"]:hover, .elementor-widget-form .elementor-button[type="submit"]:focus-visible,
.elementor-widget-loop-grid .elementor-button[role="button"]:hover { background-size: 100% 100%; }
.pb-btn--blanc .elementor-button { --dj-btn-survol: var(--dj-rouge); }
.pb-btn--blanc .elementor-button:hover, .pb-btn--blanc .elementor-button:focus-visible { border-color: var(--dj-rouge) !important; }
.elementor-widget-form .elementor-button[type="submit"]:hover { color: var(--dj-rouge); }
.pb-btn .elementor-button { white-space: nowrap; }
.pb-btn .elementor-button-content-wrapper { align-items: center; }
.pb-btn .elementor-button-icon svg { width: 11px; height: 16px; }
/* Équerre décorative au coin haut gauche d'un bouton (« Voir toutes nos réalisations »). */
.pb-btn-equerre { position: relative; }
.pb-btn-equerre::before { content: ""; position: absolute; left: -10px; top: -10px; width: 36px; height: 26px; background: url("assets/img/equerre-fine.svg") center / contain no-repeat; pointer-events: none; }
@media (min-width: 1025px) { .pb-section-real .pb-btn-equerre .elementor-button { padding-left: 27px; padding-right: 27px; } }

/* ----------------------------------------------------------------- Header : barre blanche flottante, plus fine au scroll */
.pb-header { position: fixed !important; top: 0; left: 0; right: 0; z-index: 999; transition: padding .3s ease; }
body.admin-bar .pb-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .pb-header { top: 46px; } }
.pb-header.e-con { --padding-top: 22px; transition: --padding-top .3s ease; }
.pb-header > .e-con-inner { transition: padding .3s ease; }
.pb-header-tel { max-height: 20px; overflow: hidden; transition: max-height .3s ease, opacity .3s ease, margin .3s ease; }
.pb-header-tel .elementor-icon-list-items { justify-content: flex-end; }
.pb-header-tel .elementor-icon-list-icon { color: #fff; }
.pb-header-tel .elementor-icon-list-icon svg { fill: currentColor; }
/* Pages sans image sous le header (contact, fiche réalisation, pages légales) : téléphone en noir. */
body:not(:has(.pb-hero)) .pb-header-tel .elementor-icon-list-text { color: var(--dj-noir) !important; }
body:not(:has(.pb-hero)) .pb-header-tel .elementor-icon-list-icon { color: var(--dj-rouge); }
body:not(:has(.pb-hero)) .pb-header-tel .elementor-icon-list-icon svg { fill: var(--dj-rouge) !important; }
.pb-header-barre { position: relative; min-height: 79px; box-shadow: 0 0 4px rgba(0, 0, 0, .1), 0 4px 4px rgba(0, 0, 0, .15); transition: min-height .3s ease; }
.pb-header-barre::before { content: ""; position: absolute; left: -15px; top: -13px; width: 36px; height: 26px; background: url("assets/img/equerre-fine-claire.svg") center / contain no-repeat; pointer-events: none; transition: opacity .3s ease; }
body:not(:has(.pb-hero)) .pb-header-barre::before { background-image: url("assets/img/equerre-fine.svg"); }
.pb-header-logo img { transition: width .3s ease; }
.pb-header-devis .elementor-button { transition: background-size .35s ease, color .35s ease, fill .35s ease, padding .3s ease; }
@media (min-width: 1340px) { .pb-header-devis { margin-right: -13px; } }
.pb-header .pb-nav .elementor-nav-menu--main .elementor-item { transition: color .2s ease; }
.pb-header .pb-nav .sub-arrow { color: var(--dj-rouge); font-size: .625rem; padding-left: 7px; }
.pb-header .pb-nav .sub-arrow svg { fill: currentColor; width: 11px; height: 11px; }
.pb-header .elementor-nav-menu--main .sub-menu, .pb-header .elementor-nav-menu--dropdown { border-radius: 0 !important; box-shadow: 0 0 4px rgba(0, 0, 0, .1), 0 8px 16px rgba(0, 0, 0, .12); }
.pb-header .elementor-nav-menu--main .sub-menu a, .pb-header .elementor-nav-menu--dropdown a { border-radius: 0 !important; }
.pb-header .elementor-nav-menu--main .sub-menu { min-width: 250px !important; }
/* Au scroll : téléphone replié, barre plus fine, toujours flottante. */
.pb-header.scrollHeader.e-con { --padding-top: 12px; }
.pb-header.scrollHeader .pb-header-tel { display: none; }
.pb-header.scrollHeader .pb-header-barre { pointer-events: auto; }
.pb-header.scrollHeader .pb-header-barre { min-height: 64px; }
.pb-header.scrollHeader .pb-header-barre::before { opacity: 0; }
.pb-header.scrollHeader .pb-header-logo img { width: 84px; }
.pb-header.scrollHeader .pb-header-devis .elementor-button { padding-top: 13px; padding-bottom: 13px; }
/* Bouton « Demander un devis » dans le burger. */
.pb-menu-devis {
	--pb-menu-action-fond: var(--dj-rouge);
	--pb-menu-action-texte: #fff;
	--pb-menu-action-contour-texte: var(--dj-rouge); /* survol : fond blanc, contour, texte et triangle rouges comme les autres boutons du site */
	--pb-menu-icone: url("/wp-content/themes/dejours/assets/img/picto-triangle.svg");
}
/* Même rangement que le bouton du header : texte puis triangle, centrés. */
.elementor-nav-menu--dropdown .menu-item.pb-menu-devis > a.elementor-item { justify-content: center; gap: 15px; }
.elementor-nav-menu--dropdown .menu-item.pb-menu-devis > a.elementor-item::before { order: 1; width: 11px; height: 16px; }
/* Sur mobile, le numéro au-dessus de la barre disparaît : l'appel est l'icône téléphone
   à gauche du burger, même carré (50 px), liée à la variable « Téléphone URL ». */
@media (max-width: 767px) {
	.pb-header-tel { display: none; }
	.pb-header-appel .elementor-button {
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		width: 50px;
		height: 50px;
		min-width: 50px;
		min-height: 50px;
		padding: 0 !important;
		line-height: 0;
	}
	.pb-header-appel .elementor-button-text {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
	.pb-header-appel .elementor-button-content-wrapper,
	.pb-header-appel .elementor-button-icon {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 18px;
		height: 18px;
		margin: 0;
		gap: 0;
	}
	.pb-header-appel .elementor-button-icon svg {
		display: block;
		width: 18px;
		height: 18px;
		fill: currentColor;
	}
	.pb-header .pb-nav-burger .elementor-menu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		width: 50px;
		height: 50px;
		margin: 0;
		padding: 0;
	}
}
@media (max-width: 1024px) {
	.pb-header.e-con { --padding-top: 16px; }
	.pb-header-barre { min-height: 68px; }
	.pb-header.scrollHeader .pb-header-barre { min-height: 58px; }
	.pb-header.scrollHeader.e-con { --padding-top: 10px; }
	.pb-header .elementor-menu-toggle { padding: 12px; margin-right: 6px; }
}
/* Tablette : le panneau du burger est posé sous le bouton (50 px + 10 px), la barre fait 68 px : il se retrouvait à 1 px de
   la barre. 21 px de marge = 12 px d'écart entre la barre et le panneau. */
@media (min-width: 768px) and (max-width: 1024px) {
	.pb-header.pb-header .pb-nav-burger .elementor-nav-menu--dropdown.elementor-nav-menu__container.elementor-nav-menu__container { margin-top: 21px !important; }
}
@media (max-width: 767px) {
	.pb-header.e-con { --padding-top: 10px; }
	.pb-header-barre { min-height: 60px; }
	.pb-header-barre::before { display: none; }
	.pb-header.scrollHeader .pb-header-barre { min-height: 54px; }
	.pb-header.scrollHeader.e-con { --padding-top: 8px; }
	.pb-header.scrollHeader .pb-header-logo img { width: 72px; }
}
/* Première section d'une page sans hero : dégagée du header fixe. */
.pb-sous-header.e-con { --padding-top: 180px; }
.pb-section-contact.pb-sous-header.e-con { --padding-top: 212px; }
@media (max-width: 1024px) { .pb-sous-header.e-con { --padding-top: 152px; } .pb-section-contact.pb-sous-header.e-con { --padding-top: 140px; } }
@media (max-width: 767px) { .pb-sous-header.e-con { --padding-top: 124px; } .pb-section-contact.pb-sous-header.e-con { --padding-top: 80px; } }

/* ----------------------------------------------------------------- Hero */
.pb-hero { position: relative; }
.pb-hero::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 10px; background: var(--dj-rouge); pointer-events: none; }
.pb-hero-contenu { padding-left: 8px; }
.pb-hero-nom { position: relative; }
.pb-hero-nom::before { content: ""; position: absolute; left: -26px; top: -12px; width: 63px; height: 46px; background: url("assets/img/equerre-hero.svg") center / contain no-repeat; pointer-events: none; }
.pb-hero-accueil .elementor-heading-title { text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.pb-bande-services .elementor-icon-list-items { display: flex; flex-wrap: nowrap; justify-content: space-between; margin: 0 !important; padding: 0 27px; }
.pb-bande-services .elementor-icon-list-item { position: relative; margin: 0 !important; padding: 0 !important; }
.pb-bande-services .elementor-icon-list-item::after { display: none !important; }
.pb-bande-services .elementor-icon-list-item + .elementor-icon-list-item::before { content: ""; position: absolute; top: 50%; left: calc(var(--dj-services-ecart, 150px) / -2 - 4px); width: 9px; height: 6px; margin-top: -3px; background: var(--dj-rouge); }
.pb-bande-services .elementor-icon-list-item a { transition: opacity .2s ease; }
.pb-bande-services .elementor-icon-list-item a:hover { opacity: .75; }
.pb-bande-services .elementor-icon-list-text { padding: 0 !important; white-space: nowrap; }
@media (max-width: 1024px) {
	.pb-bande-services .elementor-icon-list-items { flex-wrap: wrap; justify-content: flex-start; gap: 10px 32px; padding: 0; }
	.pb-bande-services .elementor-icon-list-item + .elementor-icon-list-item::before { left: -20px; }
	.pb-hero-nom::before { left: -14px; width: 44px; height: 32px; top: -8px; }
}
@media (max-width: 767px) {
	.pb-bande-services .elementor-icon-list-items { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
	.pb-bande-services .elementor-icon-list-item + .elementor-icon-list-item::before { display: none; }
	.pb-bande-services .elementor-icon-list-item { padding-left: 15px !important; }
	.pb-bande-services .elementor-icon-list-item::before { content: ""; display: block !important; position: absolute; left: 0; top: 50%; width: 9px; height: 6px; margin-top: -3px; background: var(--dj-rouge); }
	.pb-bande-services .elementor-icon-list-text { white-space: normal; }
}
.pb-hero-page .elementor-widget-text-editor strong { font-weight: 700; }

/* ----------------------------------------------------------------- Décors de fond (repris de la maquette Figma)
   Un calque ::before par section, avec plusieurs SVG orientés et placés aux cotes de la maquette (1512 px) :
   ancrage à droite ou à gauche, décalage vertical depuis le haut de la section. Le calque est borné à la largeur
   de la page (aucun débordement horizontal) et passe derrière le contenu.
   Tablette et mobile : mêmes décors, réduits par le coefficient --dj-dk (tailles, positions et hauteurs). */
:root { --dj-dk: 1; }
@media (max-width: 1024px) { :root { --dj-dk: .62; } }
@media (max-width: 767px) { :root { --dj-dk: .4; } }
.pb-decor-histoire, .pb-decor-expertise, .pb-decor-groupe, .pb-decor-real, .pb-decor-territoire, .pb-decor-pg { position: relative; }
.pb-decor-histoire::before, .pb-decor-expertise::before, .pb-decor-groupe::before, .pb-decor-real::before, .pb-decor-territoire::before, .pb-decor-pg::before {
	content: ""; position: absolute; z-index: 0; left: 0; right: 0; pointer-events: none; background-repeat: no-repeat;
}
.pb-decor-histoire > .e-con-inner, .pb-decor-expertise > .e-con-inner, .pb-decor-groupe > .e-con-inner, .pb-decor-real > .e-con-inner, .pb-decor-territoire > .e-con-inner, .pb-decor-pg > .e-con-inner,
.pb-decor-histoire > .e-con, .pb-decor-expertise > .e-con, .pb-decor-groupe > .e-con, .pb-decor-real > .e-con, .pb-decor-territoire > .e-con, .pb-decor-pg > .e-con,
.pb-decor-histoire > .elementor-element, .pb-decor-expertise > .elementor-element, .pb-decor-groupe > .elementor-element, .pb-decor-real > .elementor-element, .pb-decor-territoire > .elementor-element, .pb-decor-pg > .elementor-element { position: relative; z-index: 1; }
/* Accueil */
.pb-decor-histoire::before { top: 0; height: calc(1420px * var(--dj-dk)); background-image: url("assets/img/decor-histoire-lignes.svg"), url("assets/img/decor-bloc-rose.svg"); background-size: calc(712px * var(--dj-dk)) auto, calc(879px * var(--dj-dk)) auto; background-position: right calc(-139px * var(--dj-dk)) top calc(0px * var(--dj-dk)), right calc(-486px * var(--dj-dk)) top calc(544px * var(--dj-dk)); }
.pb-decor-expertise::before { top: calc(765px * var(--dj-dk)); height: calc(300px * var(--dj-dk)); background-image: url("assets/img/decor-grille-certifs.svg"); background-size: calc(947.004px * var(--dj-dk)) auto; background-position: left calc(-73px * var(--dj-dk)) top calc(0px * var(--dj-dk)); }
.pb-decor-groupe::before { top: 0; height: calc(1620px * var(--dj-dk)); background-image: url("assets/img/decor-grille-groupe.svg"), url("assets/img/decor-bloc-rose.svg"); background-size: calc(668.612px * var(--dj-dk)) auto, calc(879px * var(--dj-dk)) auto; background-position: left calc(-323px * var(--dj-dk)) top calc(59px * var(--dj-dk)), right calc(-156px * var(--dj-dk)) top calc(735px * var(--dj-dk)); }
.pb-decor-real::before { top: 0; bottom: 0; background-image: url("assets/img/decor-grille-realisations.svg"); background-size: calc(964.004px * var(--dj-dk)) auto; background-position: right calc(-170px * var(--dj-dk)) top calc(106px * var(--dj-dk)); }
.pb-decor-territoire::before { top: 0; height: calc(1309px * var(--dj-dk)); background-image: url("assets/img/decor-grille-avis.svg"), url("assets/img/decor-bloc-rose.svg"); background-size: calc(964.004px * var(--dj-dk)) auto, calc(879px * var(--dj-dk)) auto; background-position: right calc(-630px * var(--dj-dk)) top calc(503px * var(--dj-dk)), left calc(-113px * var(--dj-dk)) top calc(506px * var(--dj-dk)); }
/* Pages intérieures (une règle par page et par section ; la fiche réalisation passe par .single-realisation). */
.page-id-125 .pb-section-intro.pb-decor-pg::before { top: 0; height: calc(875px * var(--dj-dk)); background-image: url("assets/img/decor-bloc-rose.svg"); background-size: calc(879px * var(--dj-dk)) auto; background-position: right calc(-40px * var(--dj-dk)) top calc(-274px * var(--dj-dk)); }
.page-id-125 .pb-section-cartes.pb-decor-pg::before { top: 0; height: calc(1331px * var(--dj-dk)); background-image: url("assets/img/decor-grille-groupe.svg"); background-size: calc(668.612px * var(--dj-dk)) auto; background-position: left calc(-121px * var(--dj-dk)) top calc(542px * var(--dj-dk)); }
.page-id-125 .pb-section-etapes.pb-decor-pg::before { top: 0; height: calc(1154px * var(--dj-dk)); background-image: url("assets/img/decor-bloc-rose.svg"); background-size: calc(879px * var(--dj-dk)) auto; background-position: left calc(-221px * var(--dj-dk)) top calc(222px * var(--dj-dk)); }
.page-id-125 .pb-section-avis.pb-decor-pg::before { top: 0; height: calc(885px * var(--dj-dk)); background-image: url("assets/img/decor-bloc-rose.svg"); background-size: calc(879px * var(--dj-dk)) auto; background-position: left calc(-113px * var(--dj-dk)) top calc(71px * var(--dj-dk)); }
.page-id-125 .pb-section-faq.pb-decor-pg::before { top: 0; bottom: 0; background-image: url("assets/img/decor-grille-faq.svg"); background-size: calc(935.663px * var(--dj-dk)) auto; background-position: right calc(-622.663px * var(--dj-dk)) top calc(147px * var(--dj-dk)); }
.page-id-125 .pb-section-real.pb-decor-real::before { background-position: right calc(-170px * var(--dj-dk)) top calc(101px * var(--dj-dk)); }
.page-id-126 .pb-section-intro.pb-decor-pg::before { top: 0; height: calc(1364px * var(--dj-dk)); background-image: url("assets/img/decor-bloc-rose.svg"); background-size: calc(879px * var(--dj-dk)) auto; background-position: right calc(-82px * var(--dj-dk)) top calc(521px * var(--dj-dk)); }
.page-id-126 .pb-section-grandes-cartes.pb-decor-pg::before { top: calc(-570px * var(--dj-dk)); height: calc(1260px * var(--dj-dk)); background-image: url("assets/img/decor-grille-groupe.svg"); background-size: calc(668.612px * var(--dj-dk)) auto; background-position: left calc(-239px * var(--dj-dk)) top 0; }
.page-id-126 .pb-section-etapes.pb-decor-pg::before { top: 0; height: calc(1035px * var(--dj-dk)); background-image: url("assets/img/decor-bloc-rose.svg"); background-size: calc(879px * var(--dj-dk)) auto; background-position: left calc(-221px * var(--dj-dk)) top calc(91px * var(--dj-dk)); }
.page-id-126 .pb-section-real.pb-decor-real::before { background-position: right calc(-170px * var(--dj-dk)) top calc(115px * var(--dj-dk)); }
.page-id-126 .pb-section-avis.pb-decor-pg::before { top: 0; height: calc(885px * var(--dj-dk)); background-image: url("assets/img/decor-bloc-rose.svg"); background-size: calc(879px * var(--dj-dk)) auto; background-position: left calc(-113px * var(--dj-dk)) top calc(70px * var(--dj-dk)); }
.page-id-126 .pb-section-faq.pb-decor-pg::before { top: 0; bottom: 0; background-image: url("assets/img/decor-grille-faq.svg"); background-size: calc(935.663px * var(--dj-dk)) auto; background-position: right calc(-612.663px * var(--dj-dk)) top calc(148px * var(--dj-dk)); }
.page-id-127 .pb-section-intro.pb-decor-pg::before { top: 0; height: calc(884px * var(--dj-dk)); background-image: url("assets/img/decor-bloc-rose.svg"); background-size: calc(879px * var(--dj-dk)) auto; background-position: right calc(-63px * var(--dj-dk)) top calc(9px * var(--dj-dk)); }
.page-id-127 .pb-section-toiture-planchers.pb-decor-pg::before { top: 0; height: calc(851px * var(--dj-dk)); background-image: url("assets/img/decor-grille-groupe.svg"); background-size: calc(668.612px * var(--dj-dk)) auto; background-position: left calc(-111px * var(--dj-dk)) top calc(25px * var(--dj-dk)); }
.page-id-127 .pb-section-gains.pb-decor-pg::before { top: 0; height: calc(917px * var(--dj-dk)); background-image: url("assets/img/decor-bloc-rose.svg"); background-size: calc(879px * var(--dj-dk)) auto; background-position: left calc(-264px * var(--dj-dk)) top calc(78px * var(--dj-dk)); }
.page-id-127 .pb-section-real.pb-decor-real::before { background-position: right calc(-170px * var(--dj-dk)) top calc(80px * var(--dj-dk)); }
.page-id-127 .pb-section-avis.pb-decor-pg::before { top: 0; height: calc(885px * var(--dj-dk)); background-image: url("assets/img/decor-bloc-rose.svg"); background-size: calc(879px * var(--dj-dk)) auto; background-position: left calc(-113px * var(--dj-dk)) top calc(71px * var(--dj-dk)); }
.page-id-127 .pb-section-faq.pb-decor-pg::before { top: 0; bottom: 0; background-image: url("assets/img/decor-grille-faq.svg"); background-size: calc(935.663px * var(--dj-dk)) auto; background-position: right calc(-622.663px * var(--dj-dk)) top calc(194px * var(--dj-dk)); }
.page-id-128 .pb-section-intro.pb-decor-pg::before { top: 0; height: calc(884px * var(--dj-dk)); background-image: url("assets/img/decor-bloc-rose.svg"); background-size: calc(879px * var(--dj-dk)) auto; background-position: right calc(-63px * var(--dj-dk)) top calc(9px * var(--dj-dk)); }
.page-id-128 .pb-section-etapes.pb-decor-pg::before { top: 0; height: calc(1219px * var(--dj-dk)); background-image: url("assets/img/decor-bloc-rose.svg"); background-size: calc(879px * var(--dj-dk)) auto; background-position: right calc(-226px * var(--dj-dk)) top calc(254px * var(--dj-dk)); }
.page-id-128 .pb-section-real.pb-decor-real::before { background-position: right calc(-170px * var(--dj-dk)) top calc(114px * var(--dj-dk)); }
.page-id-128 .pb-section-territoire.pb-decor-pg::before { top: 0; height: calc(1486px * var(--dj-dk)); background-image: url("assets/img/decor-bloc-rose.svg"); background-size: calc(879px * var(--dj-dk)) auto; background-position: left calc(-113px * var(--dj-dk)) top calc(756px * var(--dj-dk)); }
.page-id-128 .pb-section-faq.pb-decor-pg::before { top: 0; bottom: 0; background-image: url("assets/img/decor-grille-faq.svg"); background-size: calc(935.663px * var(--dj-dk)) auto; background-position: right calc(-611.663px * var(--dj-dk)) top calc(195px * var(--dj-dk)); }
.page-id-129 .pb-section-grille-real.pb-decor-pg::before { top: 0; bottom: 0; background-image: url("assets/img/decor-grille-haut.svg"); background-size: calc(726.004px * var(--dj-dk)) auto; background-position: right calc(-69.004px * var(--dj-dk)) top calc(0px * var(--dj-dk)); }
.page-id-129 .pb-section-expertise.pb-decor-pg::before { top: 0; height: calc(1549px * var(--dj-dk)); background-image: url("assets/img/decor-bloc-rose.svg"); background-size: calc(879px * var(--dj-dk)) auto; background-position: calc(50% + 91.5px * var(--dj-dk)) calc(674px * var(--dj-dk)); }
.single-realisation .pb-sous-header.pb-decor-pg::before { top: 0; height: calc(882px * var(--dj-dk)); background-image: url("assets/img/decor-grille-haut.svg"); background-size: calc(726.004px * var(--dj-dk)) auto; background-position: right calc(-226.004px * var(--dj-dk)) top calc(178px * var(--dj-dk)); }
.single-realisation .pb-section-galerie.pb-decor-pg::before { top: 0; height: calc(1016px * var(--dj-dk)); background-image: url("assets/img/decor-bloc-rose.svg"); background-size: calc(879px * var(--dj-dk)) auto; background-position: left calc(-289px * var(--dj-dk)) top calc(141px * var(--dj-dk)); }
.page-id-130 .pb-section-contact.pb-decor-pg::before { top: 0; bottom: 0; background-image: url("assets/img/decor-bloc-rose.svg"), url("assets/img/decor-grille-groupe.svg"); background-size: calc(879px * var(--dj-dk)) auto, calc(668.612px * var(--dj-dk)) auto; background-position: right calc(-58px * var(--dj-dk)) top calc(157px * var(--dj-dk)), left calc(-58px * var(--dj-dk)) top calc(547px * var(--dj-dk)); }
.page-id-125 .pb-section-intro.pb-decor-pg::before { top: 0; height: 875px; background-image: url("assets/img/decor-bloc-rose.svg"); background-position: right -40px top -274px; }
.page-id-125 .pb-section-cartes.pb-decor-pg::before { top: 0; height: 1331px; background-image: url("assets/img/decor-grille-groupe.svg"); background-position: left -121px top 542px; }
.page-id-125 .pb-section-etapes.pb-decor-pg::before { top: 0; height: 1154px; background-image: url("assets/img/decor-bloc-rose.svg"); background-position: left -221px top 222px; }
.page-id-125 .pb-section-avis.pb-decor-pg::before { top: 0; height: 885px; background-image: url("assets/img/decor-bloc-rose.svg"); background-position: left -113px top 71px; }
.page-id-125 .pb-section-faq.pb-decor-pg::before { top: 0; bottom: 0; background-image: url("assets/img/decor-grille-faq.svg"); background-position: right -623px top 147px; }
.page-id-125 .pb-section-real.pb-decor-real::before { background-position: right -170px top 101px; }
.page-id-126 .pb-section-intro.pb-decor-pg::before { top: 0; height: 1364px; background-image: url("assets/img/decor-bloc-rose.svg"); background-position: right -82px top 521px; }
.page-id-126 .pb-section-grandes-cartes.pb-decor-pg::before { top: -570px; height: 1260px; background-image: url("assets/img/decor-grille-groupe.svg"); background-position: left -239px top 0; }
.page-id-126 .pb-section-etapes.pb-decor-pg::before { top: 0; height: 1035px; background-image: url("assets/img/decor-bloc-rose.svg"); background-position: left -221px top 91px; }
.page-id-126 .pb-section-real.pb-decor-real::before { background-position: right -170px top 115px; }
.page-id-126 .pb-section-avis.pb-decor-pg::before { top: 0; height: 885px; background-image: url("assets/img/decor-bloc-rose.svg"); background-position: left -113px top 70px; }
.page-id-126 .pb-section-faq.pb-decor-pg::before { top: 0; bottom: 0; background-image: url("assets/img/decor-grille-faq.svg"); background-position: right -613px top 148px; }
.page-id-127 .pb-section-intro.pb-decor-pg::before { top: 0; height: 884px; background-image: url("assets/img/decor-bloc-rose.svg"); background-position: right -63px top 9px; }
.page-id-127 .pb-section-toiture-planchers.pb-decor-pg::before { top: 0; height: 851px; background-image: url("assets/img/decor-grille-groupe.svg"); background-position: left -111px top 25px; }
.page-id-127 .pb-section-gains.pb-decor-pg::before { top: 0; height: 917px; background-image: url("assets/img/decor-bloc-rose.svg"); background-position: left -264px top 78px; }
.page-id-127 .pb-section-real.pb-decor-real::before { background-position: right -170px top 80px; }
.page-id-127 .pb-section-avis.pb-decor-pg::before { top: 0; height: 885px; background-image: url("assets/img/decor-bloc-rose.svg"); background-position: left -113px top 71px; }
.page-id-127 .pb-section-faq.pb-decor-pg::before { top: 0; bottom: 0; background-image: url("assets/img/decor-grille-faq.svg"); background-position: right -623px top 194px; }
.page-id-128 .pb-section-intro.pb-decor-pg::before { top: 0; height: 884px; background-image: url("assets/img/decor-bloc-rose.svg"); background-position: right -63px top 9px; }
.page-id-128 .pb-section-etapes.pb-decor-pg::before { top: 0; height: 1219px; background-image: url("assets/img/decor-bloc-rose.svg"); background-position: right -226px top 254px; }
.page-id-128 .pb-section-real.pb-decor-real::before { background-position: right -170px top 114px; }
.page-id-128 .pb-section-territoire.pb-decor-pg::before { top: 0; height: 1486px; background-image: url("assets/img/decor-bloc-rose.svg"); background-position: left -113px top 756px; }
.page-id-128 .pb-section-faq.pb-decor-pg::before { top: 0; bottom: 0; background-image: url("assets/img/decor-grille-faq.svg"); background-position: right -612px top 195px; }
.page-id-129 .pb-section-grille-real.pb-decor-pg::before { top: 0; bottom: 0; background-image: url("assets/img/decor-grille-haut.svg"); background-position: right -69px top 0px; }
.page-id-129 .pb-section-expertise.pb-decor-pg::before { top: 0; height: 1549px; background-image: url("assets/img/decor-bloc-rose.svg"); background-position: calc(50% + 91.5px) 674px; }
.single-realisation .pb-sous-header.pb-decor-pg::before { top: 0; height: 883px; background-image: url("assets/img/decor-grille-haut.svg"); background-position: right -226px top 178px; }
.single-realisation .pb-section-galerie.pb-decor-pg::before { top: 0; height: 1016px; background-image: url("assets/img/decor-bloc-rose.svg"); background-position: left -289px top 141px; }
.page-id-130 .pb-section-contact.pb-decor-pg::before { top: 0; height: 1236px; background-image: url("assets/img/decor-bloc-rose.svg"), url("assets/img/decor-grille-groupe.svg"); background-position: right -58px top 157px, left -58px top 547px; }

/* Bande grise terminée par trois bandeaux rouges en biais (25 %, 50 %, 100 %). */
.pb-bande { position: relative; }
.pb-bande-biais::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: -23px; height: 41px; clip-path: inset(0 0 18px 0); background: url("assets/img/bandeau-biais.svg") center / 100% 100% no-repeat; transform: rotate(180deg); pointer-events: none; } /* Réalisations : 23 px visibles sous le fond gris (maquette) */
.pb-bande-biais + .e-con { --dj-apres-biais: 23px; }
@media (max-width: 767px) { .pb-bande-biais::after { height: 24px; bottom: -13px; clip-path: inset(0 0 11px 0); } }

/* ----------------------------------------------------------------- Chiffres clés sur une photo */
.pb-photo-chiffres { position: relative; }
.pb-photo-chiffres-img { padding-left: 42px; }
.pb-chiffres { position: absolute; left: 0; bottom: 15px; width: auto !important; }
.pb-chiffre .elementor-heading-title { display: inline-flex; align-items: baseline; gap: .3em; padding: 10px 16px 11px; background: var(--dj-rouge); white-space: nowrap; }
.pb-chiffre-mot { font-size: .72em; font-weight: 400; }
.pb-chiffre { position: relative; }
.pb-chiffre::before { content: ""; position: absolute; left: -10px; top: -9px; width: 26px; height: 19px; background: url("assets/img/equerre-fine.svg") center / contain no-repeat; pointer-events: none; }
.pb-chiffre-signe { margin-right: -.3em; }
@media (max-width: 1024px) { .pb-photo-chiffres-img { padding-left: 0; } .pb-chiffres { left: -12px; } }

/* ----------------------------------------------------------------- Frise des dates clés et des étapes */
.pb-frise .elementor-loop-container, .pb-etapes-frise { border-top: 2px solid var(--dj-bordure); }
.pb-date-cle, .pb-etape { position: relative; }
.pb-date-cle::before, .pb-etape::before { content: ""; position: absolute; left: 0; top: -2px; width: 18px; height: 2px; background: linear-gradient(90deg, var(--dj-rouge) 0 4px, #fff 4px 10px, var(--dj-rouge) 10px 18px); }
@media (max-width: 767px) {
	.pb-frise .elementor-loop-container { border-top: 0; border-left: 2px solid var(--dj-bordure); padding-left: 20px; }
	.pb-date-cle.e-con { --padding-top: 0px; padding-top: 0; }
	.pb-date-cle::before { left: -22px; top: 10px; width: 2px; height: 18px; background: var(--dj-rouge); }
}
/* Écran classique : chaque texte de la maquette tient sur 2 lignes, donc les colonnes
   suivent ces largeurs (258, 211, 252, 221, 228) et l'écart prend la place qui reste.
   En dessous, les 5 colonnes égales reviennent et certains textes passent à 3 lignes. */
/* Le widget est un élément flexible : sans align-self, container-type fait exploser
   sa hauteur sur mobile et laisse un grand vide avant la comparaison. */
.pb-frise .elementor-widget-container { container-type: inline-size; }
.pb-frise.elementor-widget { align-self: flex-start; width: 100%; }
@container (min-width: 1170px) {
	.pb-frise .elementor-loop-container {
		grid-template-columns: 258px 211px 252px 221px 228px !important;
		column-gap: calc((100% - 1170px) / 4) !important;
	}
	.pb-frise .pb-date-cle.e-con { --padding-right: 0px !important; }
}
/* Comparaison Logia Timeline : même repère que la frise (tiret rouge posé sur la ligne).
   Même débordement que les autres carrousels : le cadre couvre l'écran, la piste reste alignée
   sur le contenu. Après un glissement, la date passée reste visible à gauche et la suivante
   dépasse à droite, estompées seulement dans la marge (les années du contenu restent nettes). */
@property --dj-frise-fondu {
	syntax: "<length>";
	inherits: true;
	initial-value: 0px;
}
.pb-frise-comparaison,
.pb-frise-logia,
.pb-frise-logia .lt-timeline { overflow: visible; }
/* 50cqw = moitié du contenu : la piste commence au même bord que le reste de la page. */
.pb-frise-comparaison { container-type: inline-size; }
.pb-frise-logia { --dj-frise-fondu: max(0px, calc(50vw - 50cqw)); }
/* Mobile : la colonne fait toute la largeur, le trait traverse l'écart interne pour finir au bord de la section. */
@media (max-width: 767px) {
	.pb-frise-logia .lt-item:last-child .lt-line-zone::before {
		right: calc(-1 * var(--lt-gap, 24px));
	}
}
.pb-frise-logia .lt-line-zone { height: 0; margin: 0 0 16px; }
.pb-frise-logia .lt-marker {
	top: 0;
	bottom: auto;
	left: 0;
	width: 18px;
	height: 2px;
	background: linear-gradient(90deg, var(--dj-rouge) 0 4px, #fff 4px 10px, var(--dj-rouge) 10px 18px);
}
/* Même découpe que la frise d'origine : sur écran classique, chaque texte tient sur 2 lignes.
   Swiper efface les largeurs en ligne dès qu'un point de rupture existe, donc elles sont ici. */
@container (min-width: 1170px) {
	.pb-frise-logia:not(.pb-etapes-logia) .lt-timeline { --lt-gap: calc((100cqw - 1170px) / 4) !important; }
	.pb-frise-logia:not(.pb-etapes-logia) .swiper-slide:nth-child(1) { width: calc(258px + (100cqw - 1170px) / 4) !important; }
	.pb-frise-logia:not(.pb-etapes-logia) .swiper-slide:nth-child(2) { width: calc(211px + (100cqw - 1170px) / 4) !important; }
	.pb-frise-logia:not(.pb-etapes-logia) .swiper-slide:nth-child(3) { width: calc(252px + (100cqw - 1170px) / 4) !important; }
	.pb-frise-logia:not(.pb-etapes-logia) .swiper-slide:nth-child(4) { width: calc(221px + (100cqw - 1170px) / 4) !important; }
	.pb-frise-logia:not(.pb-etapes-logia) .swiper-slide:nth-child(5) { width: calc(228px + (100cqw - 1170px) / 4) !important; }
}
.pb-frise-logia .lt-nav { display: none; }
/* Tablette et mobile : les deux flèches sous la frise, centrées. La flèche inactive reste grise. */
.pb-frise-logia .dj-frise-nav { display: none; }
.pb-frise-logia .dj-frise-fleche {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--dj-rouge);
	cursor: pointer;
}
.pb-frise-logia .dj-frise-fleche svg { width: 16px; height: 16px; fill: #fff; }
.pb-frise-logia .dj-frise-fleche--next svg { transform: scaleX(-1); }
.pb-frise-logia .dj-frise-fleche:is(:hover, :focus-visible) { background: var(--dj-noir); }
.pb-frise-logia .dj-frise-fleche:disabled { background: var(--dj-gris); cursor: default; }
@media (max-width: 1024px) {
	.pb-frise-logia.dj-frise-defile .dj-frise-nav {
		display: flex;
		justify-content: center;
		gap: 12px;
		margin-top: 18px;
	}
}
@media (max-width: 767px) {
	.pb-frise-logia .dj-frise-fleche { width: 36px; height: 36px; }
	.pb-frise-logia .dj-frise-fleche svg { width: 13px; height: 13px; }
}
.pb-frise-logia .lt-swiper {
	overflow: visible !important;
	box-sizing: content-box;
	margin-inline: calc(50% - 50vw) !important;
	padding-inline: var(--dj-frise-fondu) !important;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--dj-frise-fondu), #000 calc(100% - var(--dj-frise-fondu)), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 var(--dj-frise-fondu), #000 calc(100% - var(--dj-frise-fondu)), transparent);
}

/* ----------------------------------------------------------------- Onglets « expertise » (widget Onglets imbriqués) */
.pb-onglets .e-n-tabs-heading { gap: 0 !important; border-bottom: 2px solid var(--dj-bordure); align-items: stretch; }
.pb-onglets .e-n-tab-title { flex: 1 1 0; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 0 12px 22px !important; margin-bottom: -2px; background: none !important; border: 0 !important; border-bottom: 3px solid transparent !important; border-radius: 0 !important; color: rgba(29, 29, 27, .5); fill: currentColor; box-shadow: none !important; cursor: pointer; transition: color .25s ease, border-color .25s ease; }
.pb-onglets .e-n-tab-title .e-n-tab-title-text { color: inherit; }
.pb-onglets .e-n-tab-title .e-n-tab-icon { color: inherit; }
.pb-onglets .e-n-tab-title .e-n-tab-icon svg { width: auto; height: 44px; fill: currentColor; color: inherit; }
.pb-onglets .e-n-tab-title:hover, .pb-onglets .e-n-tab-title[aria-selected="true"] { color: var(--dj-rouge); }
.pb-onglets .e-n-tab-title[aria-selected="true"] { border-bottom-color: var(--dj-rouge) !important; }
.pb-onglets .e-n-tabs-content > .e-con { border: 0 !important; background: none !important; }
.pb-onglets .e-n-tabs-content > .e-con.e-active { animation: dj-fondu .35s ease; }
@keyframes dj-fondu { from { opacity: 0; } to { opacity: 1; } }
.pb-photo-bouton { position: relative; }
.pb-photo-bouton-btn { position: absolute; left: calc(100% - 23px); bottom: 13px; width: auto !important; }
@media (max-width: 1340px) { .pb-photo-bouton-btn { left: auto; right: 0; bottom: 0; } }
@media (max-width: 767px) {
	.pb-onglets .e-n-tabs-heading { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
	.pb-onglets .e-n-tab-title { flex: 0 0 auto; padding: 0 18px 16px !important; }
	.pb-onglets .e-n-tab-title .e-n-tab-icon svg { height: 34px; }
}

/* ----------------------------------------------------------------- Listes */
.elementor-widget-icon-list .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item { align-items: flex-start; }
.pb-puces .elementor-icon-list-item { position: relative; padding-left: 34px !important; }
.pb-puces .elementor-icon-list-item::before { content: ""; position: absolute; left: 0; top: .32em; width: 27px; height: 10px; background: linear-gradient(90deg, var(--dj-rouge) 0 18px, transparent 18px 21.5px, var(--dj-rouge) 21.5px 27px); }
.pb-puces .elementor-icon-list-text, .pb-coches .elementor-icon-list-text, .pb-plus .elementor-icon-list-text { padding-left: 0 !important; }
.pb-coches .elementor-icon-list-icon, .pb-plus .elementor-icon-list-icon, .pb-lieu .elementor-icon-list-icon { color: var(--dj-rouge); margin-right: 7px !important; }
.elementor-icon-list-icon svg { fill: currentColor; margin: 0 !important; }
.pb-coches .elementor-icon-list-icon { margin-top: -2px; }

/* ----------------------------------------------------------------- Cartes */
.pb-grille { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px !important; }
.pb-grille > .e-con { width: auto !important; max-width: none; }
.pb-grille-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px !important; }
.pb-grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .pb-grille, .pb-grille-5, .pb-grille-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .pb-grille, .pb-grille-5, .pb-grille-3 { grid-template-columns: minmax(0, 1fr); gap: 12px !important; } }
.pb-carte-picto { min-height: 201px; overflow: visible; transition: background-color .3s ease, border-color .3s ease, color .3s ease; }
.pb-carte-picto .elementor-heading-title, .pb-carte-picto .elementor-widget-text-editor, .pb-carte-picto .elementor-icon { transition: color .3s ease; }
.pb-carte-picto .elementor-icon svg { fill: currentColor; }
/* Les pictos (sauf Canalisations) sont en fill-opacity .5 : au survol ils doivent passer blanc plein, comme Canalisations. */
.pb-carte-picto:hover .elementor-icon svg path { fill-opacity: 1; }
/* Équerre du groupe 9237, tracé #1D1D1B : 14 px à gauche et 13 px au-dessus du bord de la carte. left/top partent du bord intérieur (bordure 2 px). */
.pb-carte-picto::after { content: ""; position: absolute; left: -16px; top: -15px; width: 35.7136px; height: 25.7718px; background: url("assets/img/equerre-fine.svg") center / 100% 100% no-repeat; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.pb-carte-picto:hover { background-color: var(--dj-rouge) !important; border-color: var(--dj-rouge) !important; }
.pb-carte-picto:hover::after { opacity: 1; }
.pb-carte-picto:hover .elementor-heading-title, .pb-carte-picto:hover .elementor-widget-text-editor, .pb-carte-picto:hover .elementor-icon { color: #fff !important; }
@media (max-width: 767px) { .pb-carte-picto { min-height: 0; } }

/* Photos superposées + étiquette rouge (« Un partenaire de confiance », pages de prestations). */
.pb-photos-duo { position: relative; }
.pb-photos-duo-1 { width: 77% !important; }
.pb-photos-duo-2 { position: absolute !important; right: 0; bottom: 0; width: 69% !important; border: 8px solid #fff; background: #fff; }
.pb-etiquette { position: absolute !important; left: -16px; top: 375px; width: auto !important; }
.pb-etiquette .elementor-heading-title { padding: 18px 23px; background: var(--dj-rouge); white-space: nowrap; }
.pb-etiquette::before { content: ""; position: absolute; left: -14px; top: -12px; width: 36px; height: 26px; background: url("assets/img/equerre-fine.svg") center / contain no-repeat; }
@media (max-width: 767px) { .pb-etiquette { top: auto; bottom: 24px; left: -8px; } }
.pb-logo-qualibat { margin-top: -7px; }
@media (max-width: 1024px) { .pb-logo-qualibat { margin-top: 0; } }

/* Certifications : le paragraphe reste en 547 px, les coches en 14 px.
   La colonne de texte se cale sur le titre : le logo, aligné à droite, s'arrête
   avec « qualité ». Le bloc est centré, donc la marge de droite égale celle de gauche. */
.pb-section-certifs .pb-entete { --gap: 2px; gap: 2px !important; }
.pb-section-certifs .pb-surtitre .elementor-heading-title { gap: 2px; }
.pb-section-certifs .pb-titre { --width: max-content; width: max-content !important; max-width: 100% !important; }
.pb-section-certifs .pb-titre .elementor-heading-title { font-weight: 500; line-height: normal; }
.pb-section-certifs .pb-intro,
.pb-section-certifs .pb-intro p { line-height: normal !important; }
.pb-section-certifs .pb-coches .elementor-icon-list-items { display: flex; flex-direction: column; gap: 8px; }
.pb-section-certifs .pb-coches .elementor-icon-list-item { margin: 0 !important; padding: 0 !important; align-items: center !important; }
.pb-section-certifs .pb-coches .elementor-icon-list-icon { margin-top: 0 !important; }
.pb-section-certifs .pb-coches .elementor-icon-list-icon svg { width: 25px; height: 26px; }
.pb-section-certifs .pb-coches .elementor-icon-list-text { font-size: 14px !important; font-weight: 500 !important; line-height: normal !important; }
.pb-section-certifs .pb-coches .elementor-icon-list-item:first-child .elementor-icon-list-text { font-weight: 400 !important; }
.pb-section-certifs .pb-coches .elementor-icon-list-text strong { font-weight: 700 !important; }
@media (min-width: 1025px) {
	.pb-section-certifs.e-con > .e-con-inner {
		align-items: flex-start !important;
		width: fit-content !important;
		max-width: 100% !important;
		margin-left: auto !important;
		margin-right: auto !important;
		padding-bottom: 40px !important;
		--gap: 64px;
		gap: 64px !important;
	}
	.pb-section-certifs .pb-bloc-texte { width: max-content; max-width: 100%; min-width: 0; flex: 0 1 auto !important; margin-top: 56px; }
}

/* Carte de réalisation : photo au bord haut incliné, flèche carrée dans le coin. */
/* La carte elle-même a le bord haut incliné (30 px), et son ombre suit la découpe (drop-shadow sur l'élément de boucle). */
.pb-carte-real { position: relative; height: 100%; clip-path: polygon(0 0, 100% 30px, 100% 100%, 0 100%); }
.e-loop-item:has(> .pb-carte-real) { filter: drop-shadow(0 0 4px rgba(0, 0, 0, .1)); }
.e-loop-item > .e-con { height: 100%; }
/* Photo : contour blanc intérieur de 4 px tout autour, bord haut compris (maquette, Figma 2168:3324). */
.pb-carte-real-img { overflow: hidden; clip-path: polygon(4px 4px, calc(100% - 4px) 34px, calc(100% - 4px) calc(100% - 4px), 4px calc(100% - 4px)); }
.pb-carte-real-img img { transition: transform .5s ease; }
.pb-carte-real:hover .pb-carte-real-img img { transform: scale(1.05); }
.pb-carte-real .elementor-heading-title a { transition: color .25s ease; }
.pb-carte-real:hover .elementor-heading-title a { color: var(--dj-rouge); }
/* Texte de la carte (Figma 2168:3324, carte de 401 px) : lieu en 14 px sur 17 px de haut, picto à 25 px du bord et texte à 42 px,
   titre en 16 / 19 px sur 207 px de large (retour à la ligne après « complète »), 10 px entre les deux, carte de 344 px. */
.pb-carte-real-corps { --gap: 10px; gap: 10px !important; padding-bottom: 35px !important; }
.pb-carte-real .pb-lieu .elementor-icon-list-text { font-size: 14px !important; line-height: 17px !important; }
.pb-carte-real .pb-lieu .elementor-icon-list-icon { width: auto; flex: none; margin: 0 0 0 2px !important; }
.pb-carte-real .pb-lieu .elementor-icon-list-icon svg { width: 11.8px !important; height: 15.9px !important; max-width: none; }
.pb-carte-real-corps .elementor-widget-heading .elementor-heading-title { line-height: 19px !important; max-width: 212px; }
.pb-carte-fleche { position: absolute !important; right: 0; bottom: 0; width: auto !important; line-height: 0; }
.pb-carte-fleche .elementor-icon-wrapper { line-height: 0; }
.pb-carte-fleche .elementor-icon { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; border-radius: 0; transition: background-color .25s ease; }
.pb-carte-fleche .elementor-icon svg { width: 7px; height: 11px; }
.pb-lieu .elementor-icon-list-icon svg { width: 12px; height: 16px; }

/* ----------------------------------------------------------------- Carrousels : flèches carrées, points */
.pb-carrousel-nav.elementor-widget { --pb-nav-taille: 34px; --pb-nav-espace: 28px; --pb-nav-fond: var(--dj-rouge); --pb-nav-couleur: var(--dj-rouge); --arrow-normal-color: #fff; --arrow-hover-color: #fff; --arrow-size: 12px; }
.pb-carrousel-nav .elementor-swiper-button { border-radius: 0 !important; background-color: var(--dj-rouge) !important; transition: background-color .25s ease; }
.pb-carrousel-nav .elementor-swiper-button:hover { background-color: var(--dj-noir) !important; }
.pb-carrousel-nav .elementor-swiper-button svg { fill: #fff !important; width: 12px; height: 12px; }
.pb-carrousel-nav .swiper-pagination-bullet { border-radius: 0 !important; }

/* ----------------------------------------------------------------- Territoire */
.pb-territoire-bloc { display: flex; align-items: center; gap: 36px; }
.pb-territoire-carte { position: relative; flex: none; width: 295px; height: 457px; }
.pb-territoire-ardeche { position: absolute; inset: 0; width: 100%; height: 100%; }
.pb-territoire-zone { position: absolute; left: 85px; top: 89px; width: 262px; height: 255px; max-width: none; }
.pb-territoire-ville { position: absolute; left: 118px; top: 177px; padding: 4px 9px; background: #fff; box-shadow: 0 4px 4px rgba(0, 0, 0, .12); color: var(--dj-rouge); font-size: .875rem; font-weight: 400; line-height: 1.15; white-space: nowrap; }
.pb-territoire-ville::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 21px; background: var(--dj-rouge); box-shadow: 0 21px 0 3.5px var(--dj-rouge); border-radius: 50%; }
.pb-territoire-communes { flex: 1 1 auto; min-width: 0; padding: 18px 0 18px 36px; margin-left: 40px; border-left: 2px solid var(--dj-bordure); }
.pb-territoire-communes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.pb-territoire-communes li { position: relative; padding-left: 20px; font-weight: 400; line-height: 1.2; }
.pb-territoire-communes li::before { content: ""; position: absolute; left: 0; top: 1px; width: 12px; height: 16px; background: url("assets/img/lieu.svg") center / contain no-repeat; }
.pb-territoire-mention { margin: 22px 0 0; font-size: .875rem; color: rgba(29, 29, 27, .5); }
@media (max-width: 767px) {
	.pb-territoire-bloc { flex-direction: column; align-items: flex-start; gap: 32px; }
	.pb-territoire-carte { width: 236px; height: 366px; align-self: center; }
	.pb-territoire-zone { left: 68px; top: 71px; width: 210px; height: 204px; }
	.pb-territoire-ville { left: 60px; top: 142px; }
	.pb-territoire-communes { margin-left: 0; padding: 0 0 0 20px; }
	.pb-territoire-communes ul { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
}

/* ----------------------------------------------------------------- Avis */
.pb-avis-entete { position: relative; }
.pb-badge-google { position: absolute !important; right: 0; bottom: -6px; }
.pb-note-google .elementor-heading-title span { font-size: .8em; }
/* Badge Google (Figma 2168:329) : colonne de texte de la hauteur du logo (42 px = note 26 + libellé 16), alignée à gauche,
   sans dépasser du G. */
.pb-badge-google > .e-con { --gap: 0px; --row-gap: 0px; --column-gap: 0px; gap: 0; flex-direction: column !important; align-items: flex-start !important; flex-wrap: nowrap !important; justify-content: center; height: 42px; width: auto; flex: 0 0 auto; }
@media (max-width: 1200px) { .pb-badge-google { width: fit-content !important; max-width: 100%; } }
.pb-badge-google .elementor-widget-heading, .pb-badge-google .elementor-heading-title { text-align: left !important; }
.pb-badge-google .pb-note-google .elementor-heading-title { line-height: 26px !important; height: 26px; }
.pb-badge-google .elementor-widget-heading + .elementor-widget-heading .elementor-heading-title { font-size: 13.45px !important; line-height: 16px !important; }
@media (max-width: 1200px) { .pb-badge-google { position: static !important; margin-top: 24px; } }
.pb-carte-avis { height: calc(100% - 15px); min-height: 201px; }
.pb-avis-bas { margin-bottom: -15px; padding-top: 12px; }
.pb-guillemet { display: block; width: 60px; height: 54px; background: var(--dj-rouge); position: relative; }
.pb-guillemet::before { content: "“"; position: absolute; left: 0; right: 0; top: 4px; color: #fff; font: 700 6.25rem/1 Georgia, "Times New Roman", serif; text-align: center; }
.pb-etoiles { padding-top: 6px; }
.pb-carrousel-avis .swiper { padding-bottom: 15px; }

/* ----------------------------------------------------------------- Bloc d'appel à l'action et pied de page */
.pb-cta-global { position: relative; background-position: 50% 90% !important; }
/* Voile de la maquette : fondu noir à gauche, puis 21 % de noir et 14 % de rouge sur toute la photo. */
.pb-cta-global::before { background-image: linear-gradient(90deg, rgba(0, 0, 0, .61) 0%, rgba(0, 0, 0, 0) 100%), linear-gradient(90deg, rgba(0, 0, 0, .21), rgba(0, 0, 0, .21)), linear-gradient(90deg, rgba(226, 47, 39, .14), rgba(226, 47, 39, .14)) !important; }
.pb-cta-titre .elementor-heading-title { font-weight: 700 !important; }
@media (min-width: 768px) {
	/* Le bouton s'arrête 132 px avant le bord du contenu à 1 512 px (10,4 % de la colonne). */
	.pb-cta-global .pb-cta-bouton-1 { margin-right: 10.4%; }
}
.pb-footer-main { position: relative; margin-top: 41px; }
.pb-footer-main::before { content: ""; position: absolute; left: 0; right: 0; top: -41px; height: 41px; background: url("assets/img/bandeau-biais.svg") center / 100% 100% no-repeat; pointer-events: none; }
.pb-footer-titre .elementor-heading-title { position: relative; padding-left: 34px; }
.pb-footer-titre .elementor-heading-title::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 27px; height: 10px; background: linear-gradient(90deg, #fff 0 18px, transparent 18px 21.5px, #fff 21.5px 27px); }
.pb-footer-menu .elementor-nav-menu { display: grid; gap: 11px; }
.pb-footer-menu .elementor-nav-menu > li > a { position: relative; padding-left: 13px !important; transition: color .2s ease; }
.pb-footer-menu .elementor-nav-menu > li > a::before { content: "" !important; position: absolute !important; opacity: 1 !important; left: 0; top: .28em; width: 6px; height: 10px; background: #fff; }
.pb-footer-menu .sub-menu { position: static !important; padding: 8px 0 4px 23px !important; background: none !important; }
.pb-footer-menu .sub-menu a { padding: 3px 0 !important; font-size: .625rem !important; font-weight: 300 !important; border: 0 !important; background: none !important; }
.pb-footer-menu .sub-arrow { padding: 0 0 0 8px; }
.pb-footer-menu a.highlighted .sub-arrow { transform: rotate(180deg); }
.pb-footer-contact .elementor-icon-list-icon { color: #fff; padding-top: 2px; }
.pb-footer-contact .elementor-icon-list-text br { display: inline; }
.pb-footer-logo img { background: #fff; transition: opacity .2s ease; }
.pb-footer-logo a:hover img { opacity: .85; }
.pb-footer-bas .elementor-heading-title a { color: inherit; transition: color .2s ease; }
.pb-footer-bas .elementor-heading-title a:hover { color: var(--dj-noir); }
.pb-copyright > .elementor-widget + .elementor-widget .elementor-heading-title::before { content: "|"; margin: 0 .35em; font-weight: 300; }
@media (max-width: 1024px) { .pb-copyright > .elementor-widget + .elementor-widget .elementor-heading-title::before { content: none; } }

/* ----------------------------------------------------------------- FAQ (accordéon imbriqué) */
.pb-faq .e-n-accordion { display: grid; gap: 8px; }
.pb-faq .e-n-accordion-item { border: 2px solid var(--dj-bordure); background: #fff; transition: background-color .25s ease, border-color .25s ease; }
.pb-faq .e-n-accordion-item-title { padding: 12px 14px !important; border: 0 !important; background: none !important; cursor: pointer; }
.pb-faq .e-n-accordion-item-title-text { font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--dj-noir); transition: color .25s ease; }
.pb-faq .e-n-accordion-item-title-icon svg { width: 11px; height: 11px; fill: var(--dj-noir); transition: fill .25s ease; }
.pb-faq .e-n-accordion-item-title:hover .e-n-accordion-item-title-text { color: var(--dj-rouge); }
.pb-faq .e-n-accordion-item[open] { background: var(--dj-rouge); border-color: var(--dj-rouge); }
.pb-faq .e-n-accordion-item[open] .e-n-accordion-item-title-text { color: #fff; }
.pb-faq .e-n-accordion-item[open] .e-n-accordion-item-title-icon svg { fill: #fff; }
.pb-faq .e-n-accordion-item > .e-con { padding: 0 14px 14px !important; border: 0 !important; background: none !important; }

/* ----------------------------------------------------------------- Formulaires (libellés flottants du socle) */
.elementor-widget-form { --pb-form-etiquette-gauche: 12px; --pb-form-demi-gouttiere: 6px; --pb-form-rayon-fichier: 0px; }
.elementor-widget-form .elementor-field-textual { min-height: 51px; }
.elementor-widget-form .elementor-field-textual::placeholder { color: var(--dj-noir); opacity: 1; }

/* ----------------------------------------------------------------- Fil d'Ariane, galerie, pages de texte */
.pb-ariane { font-size: .875rem; font-weight: 400; }
.pb-ariane a { color: var(--dj-noir); transition: color .2s ease; }
.pb-ariane a:hover { color: var(--dj-rouge); }
.pb-ariane .separator { margin: 0 12px; color: var(--dj-rouge); }
.pb-ariane .last { color: var(--dj-rouge); font-weight: 700; }
.pb-texte-long h2 { margin: 2.2em 0 .7em; font-size: 1.5rem; font-weight: 700; line-height: 1.25; }
.pb-texte-long h3 { margin: 1.8em 0 .6em; font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.pb-texte-long p + p, .pb-texte-long ul + p, .pb-texte-long p + ul { margin-top: 1em; }
.pb-texte-long ul { padding-left: 1.2em; }
.pb-texte-long a { text-decoration: underline; }

/* ----------------------------------------------------------------- Ajustements après comparaison à la maquette */
/* Certifications : bandeau non pivoté, 18 px visibles sous le fond gris (maquette) */
.pb-bande-biais--inverse::after { transform: none; bottom: -18px; clip-path: inset(23px 0 0 0); }
.pb-bande-biais--inverse + .e-con { --dj-apres-biais: 18px; }
@media (max-width: 767px) { .pb-bande-biais--inverse::after { bottom: -10px; clip-path: inset(14px 0 0 0); } }
.pb-header .elementor-nav-menu--main .elementor-item.elementor-item-anchor.elementor-item-active:not(:hover) { color: var(--dj-noir) !important; }
.pb-header .pb-nav .sub-arrow svg { width: 12px; height: 12px; }
.pb-onglets .e-n-tab-title:not([aria-selected="true"]):not(:hover) .e-n-tab-title-text { color: rgba(29, 29, 27, .5) !important; }
/* Les tracés sont en currentColor : le fill du svg ne les colore pas, et le survol Elementor les passait en blanc. */
.pb-onglets .e-n-tab-title:not([aria-selected="true"]):not(:hover) .e-n-tab-icon svg { fill: rgba(29, 29, 27, .5) !important; color: rgba(29, 29, 27, .5) !important; }
.pb-onglets .e-n-tab-title[aria-selected="true"] .e-n-tab-title-text, .pb-onglets .e-n-tab-title:hover .e-n-tab-title-text { color: var(--dj-rouge) !important; }
.pb-onglets .e-n-tab-title[aria-selected="true"] .e-n-tab-icon svg, .pb-onglets .e-n-tab-title:hover .e-n-tab-icon svg { fill: var(--dj-rouge) !important; color: var(--dj-rouge) !important; }
/* Maquette des 4 onglets : intro Como Light 16 px à l'interligne normal, gras à la même taille,
   puces Como Medium 14 px. Les libellés restent en Volte 20 px sur écran classique. */
.pb-onglets .pb-intro { font-size: 1rem !important; line-height: normal !important; }
.pb-onglets .pb-intro strong, .pb-onglets .pb-intro b { font-size: 1em; font-weight: 700; line-height: inherit; }
.pb-onglets .pb-puces .elementor-icon-list-text { font-size: 14px !important; font-weight: 500 !important; line-height: normal !important; }
/* La photo fixe et le padding latéral réduisaient chaque texte à 608 px.
   La maquette les tient dans 647 px : sans ça, les intros ne se coupent pas au même mot. */
@media (min-width: 1366px) {
	.pb-onglets .e-n-tabs-content > .e-con { --padding-left: 0px; --padding-right: 0px; }
	.pb-onglets .e-n-tabs-content > .e-con > .e-con:not(.pb-photo-bouton) { --width: 647px; width: 647px; min-width: 647px; flex-shrink: 0; }
}
.pb-photo-bouton-btn { left: auto; right: -42px; }
@media (max-width: 1024px) { .pb-photo-bouton-btn { right: 0; bottom: 0; } }
.pb-footer-main .elementor-heading-title { white-space: nowrap; }
.pb-signature .elementor-heading-title, .pb-copyright-texte .elementor-heading-title { white-space: normal; }
.pb-bande-services { container-type: inline-size; }
.pb-bande-services .elementor-icon-list-items { width: 100%; justify-content: space-between !important; --dj-services-ecart: calc((100cqw - 706px) / 3); }
@media (max-width: 1024px) { .pb-bande-services .elementor-icon-list-items { justify-content: flex-start !important; } }
.pb-reseaux { flex: none; width: auto !important; }
.pb-carrousel-avis .swiper { padding-bottom: 20px; margin-bottom: -20px; }
.pb-carte-avis { height: auto; }
.pb-carrousel-avis .swiper-slide { height: auto; display: flex; }
.pb-carrousel-avis .swiper-slide > .e-con, .pb-carrousel-avis .e-loop-item > .e-con { height: auto; flex: 1; margin-bottom: 15px; }

/* ----------------------------------------------------------------- Réalisations, fiche, contact, pages de texte */
.pb-single-real-titre .elementor-heading-title { font-weight: 700; }
.pb-single-real-description p + p { margin-top: 1.4em; }
.pb-galerie .e-gallery-item { border-radius: 0; overflow: hidden; transition: none; }
/* Elementor sort la grille du flux pendant 0,4 s et zoome chaque photo (depuis 0, puis depuis 0,5
   ancrée en haut) quand elle entre à l'écran. On garde la grille en place : le fondu est celui du bloc. */
.pb-galerie .e-gallery-grid { --columns: 3; }
@media (max-width: 1024px) { .pb-galerie .e-gallery-grid { --columns: 2; } }
@media (max-width: 767px) { .pb-galerie .e-gallery-grid { --columns: 1; } }
.pb-galerie .e-gallery-grid,
.pb-galerie .e-gallery-grid.e-gallery--animated { display: grid; padding-bottom: 0; grid-template-columns: repeat(var(--columns), 1fr); gap: var(--vgap, 20px) var(--hgap, 20px); }
.pb-galerie .e-gallery-grid .e-gallery-item,
.pb-galerie .e-gallery-grid.e-gallery--animated .e-gallery-item { position: relative; top: auto; left: auto; right: auto; width: auto; }
.pb-galerie .e-gallery-item.e-gallery-item--hidden { transform: none; opacity: 1; }
.pb-galerie .e-gallery-grid .e-gallery-image { padding-bottom: 100%; }
.pb-galerie .e-gallery--lazyload .e-gallery-image:not(.e-gallery-image-loaded) { transform: none; }
.pb-galerie .e-gallery-image { transition: transform .5s ease, filter .4s ease; }
.pb-galerie .e-gallery-item:hover .e-gallery-image { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .pb-galerie .e-gallery-image { transition: none; } }
.pb-galerie .e-gallery-item.pb-galerie-cache { display: none; }
.pb-galerie-plus { display: flex; justify-content: center; margin-top: 40px; }
.pb-galerie-plus[hidden] { display: none; }
.pb-galerie-plus .elementor-button { cursor: pointer; }
.pb-galerie-plus .elementor-button-content-wrapper { display: flex; flex-direction: row-reverse; gap: 15px; }
.pb-galerie-plus .elementor-button-icon { display: flex; transform: rotate(90deg); }
@media (max-width: 767px) { .pb-galerie-plus { margin-top: 28px; } }
/* Photos seules (colonne, certifications, onglet, fiche) : zoom au survol, le cadre coupe. */
.pb-prest-photo,
.pb-prest-photo .elementor-widget-container,
.pb-photo-bouton .elementor-widget-image,
.pb-photo-bouton .elementor-widget-image .elementor-widget-container,
.pb-section-certifs .elementor-widget-image:not(.pb-logo-qualibat),
.pb-section-certifs .elementor-widget-image:not(.pb-logo-qualibat) .elementor-widget-container,
.pb-single-real .elementor-widget-theme-post-featured-image,
.pb-single-real .elementor-widget-theme-post-featured-image .elementor-widget-container { overflow: hidden; }
.pb-prest-photo img,
.pb-photo-bouton .elementor-widget-image img,
.pb-section-certifs .elementor-widget-image:not(.pb-logo-qualibat) img,
.pb-single-real .elementor-widget-theme-post-featured-image img { transition: transform .5s ease; }
.pb-prest-photo:hover img,
.pb-photo-bouton:hover .elementor-widget-image img,
.pb-section-certifs .elementor-widget-image:not(.pb-logo-qualibat):hover img,
.pb-single-real .elementor-widget-theme-post-featured-image:hover img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) {
	.pb-prest-photo img,
	.pb-photo-bouton .elementor-widget-image img,
	.pb-section-certifs .elementor-widget-image:not(.pb-logo-qualibat) img,
	.pb-single-real .elementor-widget-theme-post-featured-image img { transition: none; }
}
.pb-grille-real .elementor-button[role="button"] { margin-top: 24px; }
.pb-coordonnees .elementor-icon-list-icon { color: var(--dj-rouge); padding-top: 2px; }
.pb-coordonnees .elementor-icon-list-text { line-height: 19px; }
.pb-coordonnees .elementor-icon-list-text br { display: inline; }
.pb-form-contact .elementor-button[type="submit"] { min-height: 54px; }
.pb-form-contact .elementor-button-icon svg { width: 11px; height: 16px; }
.pb-form-contact .texte-captcha { margin: 0 auto; max-width: 38em; font-size: .75rem; font-weight: 300; line-height: 1.4; text-align: center; }
.pb-form-contact .texte-captcha a[href*="policies.google.com/privacy"]::before { content: "\A"; white-space: pre; }
@media (max-width: 480px) {
	.pb-form-contact .texte-captcha { text-wrap: balance; }
	.pb-form-contact .texte-captcha a[href*="policies.google.com/privacy"]::before { content: none; }
}
.pb-form-contact .elementor-field-type-acceptance { font-size: .875rem; }
.pb-reseaux-carres { justify-content: center; }
.pb-reseaux-carres .elementor-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--dj-rouge); transition: background-color .25s ease; }
.pb-reseaux-carres .elementor-icon:hover { background: var(--dj-noir); }
.pb-carte-google iframe { display: block; filter: none; }
.pb-section-carte + .elementor-location-footer, .pb-section-carte { margin-bottom: 0; }
.menu-sitemap a { color: var(--dj-noir); transition: color .2s ease; }
.menu-sitemap a:hover { color: var(--dj-rouge); }
/* Carrousel des réalisations : une carte garde sa largeur même s'il y en a moins que de colonnes. */
@media (min-width: 1101px) { .pb-carrousel-real .swiper-slide { max-width: calc((100% - 90px) / 4); } }
@media (min-width: 768px) and (max-width: 1100px) { .pb-carrousel-real .swiper-slide { max-width: calc((100% - 24px) / 2); } }
.pb-carrousel-nav .swiper-pagination-bullet:only-child { display: none; }
.pb-carrousel-nav:has(.swiper-wrapper > .swiper-slide:only-child) .elementor-swiper-button, .pb-carrousel-nav:has(.swiper-wrapper > .swiper-slide:only-child) .swiper-pagination { display: none !important; }
.pb-carrousel-nav.elementor-widget:has(.swiper-wrapper > .swiper-slide:only-child) { padding-bottom: 0 !important; }

@media (max-width: 767px) {
	.pb-onglets .e-n-tabs-heading { display: grid !important; grid-template-columns: 1fr 1fr; overflow: visible; border-bottom: 0; gap: 8px 0 !important; }
	.pb-onglets .e-n-tabs-heading { gap: 0 !important; }
	.pb-onglets .e-n-tab-title { border-bottom: 2px solid var(--dj-bordure) !important; margin-bottom: 0; padding: 18px 8px 18px !important; gap: 16px; }
	.pb-onglets .e-n-tab-title[aria-selected="true"] { border-bottom-color: var(--dj-rouge) !important; }
	.pb-carrousel-avis .swiper { padding-bottom: 24px; }
}
.pb-faq .e-n-accordion-item-title { justify-content: space-between; }
.pb-faq .e-n-accordion-item-title-header { flex: 1; }


/* ----------------------------------------------------------------- Corrections de la 1re passe d'inspection */
/* Guillemet des avis : carré entier qui dépasse sous la carte. */
.pb-carte-avis, .pb-carrousel-avis .e-loop-item, .pb-carrousel-avis .e-loop-item > .e-con { overflow: visible !important; }
.pb-avis-bas { position: relative; margin-bottom: 0; padding-top: 12px; min-height: 51px; }
.pb-avis-bas .elementor-widget-html { position: absolute; left: -2px; bottom: -15px; width: auto !important; }
.pb-carrousel-avis .swiper { padding-bottom: 28px !important; margin-bottom: -28px; }
.pb-carrousel-avis .swiper-slide > .e-con, .pb-carrousel-avis .e-loop-item > .e-con { margin-bottom: 0; }
.pb-guillemet { overflow: hidden; }
/* Bande des prestations du hero : grille régulière 2 × 2 sous 1025 px. */
@media (max-width: 1024px) {
	.pb-bande-services .elementor-icon-list-items { display: grid !important; grid-template-columns: max-content max-content; justify-content: start !important; gap: 12px 56px; padding: 0; }
	.pb-bande-services .elementor-icon-list-item { padding-left: 17px !important; }
	.pb-bande-services .elementor-icon-list-item::before, .pb-bande-services .elementor-icon-list-item + .elementor-icon-list-item::before { content: ""; display: block !important; position: absolute; left: 0; top: 50%; width: 9px; height: 6px; margin-top: -3px; background: var(--dj-rouge); }
}
@media (max-width: 767px) { .pb-bande-services .elementor-icon-list-items { grid-template-columns: 1fr 1fr; gap: 10px 16px; } }
@media (min-width: 768px) and (max-width: 1024px) { .pb-onglets .e-n-tab-title { padding-left: 4px !important; padding-right: 4px !important; } .pb-onglets .e-n-tab-title-text { white-space: nowrap; } }
/* Fiche réalisation : titre coupé comme la maquette, page courante du fil d'Ariane sur sa ligne en mobile. */
@media (min-width: 1025px) { .pb-single-real-titre { max-width: 500px; } }
@media (max-width: 767px) { .pb-ariane .last { display: block; margin-top: 4px; } }
/* Formulaire : case de consentement au style des champs, zone de texte de la maquette. */
.pb-form-contact .elementor-field-type-acceptance, .pb-form-contact .elementor-field-type-acceptance label { font-size: 1rem; line-height: 1.3; }
.pb-form-contact .elementor-field-type-acceptance .elementor-field-option { display: flex; align-items: flex-start; gap: 10px; }
.pb-form-contact .elementor-acceptance-field { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 2px solid var(--dj-bordure); background: #fff; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.pb-form-contact .elementor-acceptance-field:checked { border-color: var(--dj-rouge); background: var(--dj-rouge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23fff' stroke-width='2.2'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pb-form-contact .elementor-acceptance-field:focus-visible { outline: 2px solid var(--dj-rouge); outline-offset: 2px; }
.pb-form-contact textarea.elementor-field-textual { height: 178px; min-height: 0; }
.pb-section-contact h1 .pb-h1-reg { font-weight: 400; }
.pb-form-contact .elementor-form-fields-wrapper { margin: 0 !important; column-gap: 11px; row-gap: 22px !important; }
.pb-form-contact .elementor-field-group { padding-left: 0 !important; padding-right: 0 !important; margin-bottom: 0 !important; }
.pb-form-contact .elementor-field-group.elementor-col-50 { width: calc((100% - 11px) / 2) !important; }
.pb-form-contact .elementor-field-type-recaptcha_v3 { position: absolute; width: 0; height: 0; margin: 0; padding: 0; overflow: hidden; }
/* Décors de fond masqués sous 1025 px (ils passaient derrière des textes en pleine largeur). */
@media (max-width: 767px) { .pb-chiffres { left: 0; } .pb-chiffre::before { display: none; } }
@media (min-width: 768px) and (max-width: 1024px) { .pb-bloc-texte .pb-intro, .pb-bloc-texte .elementor-widget-text-editor { max-width: 720px; } }
.pb-avis-bas { justify-content: flex-end !important; }
@media (min-width: 1025px) { .pb-single-real-titre { max-width: 452px; } }
@media (max-width: 1024px) { .pb-bande-services .elementor-icon-list-item, .pb-bande-services .elementor-icon-list-item a { justify-content: flex-start !important; text-align: left; } }
@media (min-width: 1025px) { .pb-single-real-texte h1 { max-width: 460px; } }


/* ----------------------------------------------------------------- Corrections de la 2e passe d'inspection */
/* Carrousel à une seule carte : la boucle insère une balise <style> à côté de la carte, d'où :only-of-type. */
.pb-carrousel-nav:has(.swiper-wrapper > .swiper-slide:only-of-type) .elementor-swiper-button, .pb-carrousel-nav:has(.swiper-wrapper > .swiper-slide:only-of-type) .swiper-pagination { display: none !important; }
.pb-carrousel-nav.elementor-widget:has(.swiper-wrapper > .swiper-slide:only-of-type) { padding-bottom: 0 !important; }
/* Case de consentement : carré de 20 px (la règle des champs d'Elementor lui donnait padding et hauteur). */
.pb-form-contact .elementor-field-group .elementor-field-option input.elementor-acceptance-field, .pb-form-contact .elementor-field-group input[type="checkbox"] { width: 20px !important; height: 20px !important; min-height: 0 !important; padding: 0 !important; margin: 1px 0 0 !important; border-radius: 0 !important; flex: 0 0 20px; }
.pb-surtitre .elementor-heading-title { text-align: left; }
@media (max-width: 1024px) {
	.pb-section-gains .pb-entete-centre, .pb-section-gains .pb-entete-centre .pb-entete, .e-con:has(> .e-con-inner > .pb-etapes-frise, > .e-con-inner > .pb-etapes-logia) .pb-entete-centre, .e-con:has(> .e-con-inner > .pb-etapes-frise, > .e-con-inner > .pb-etapes-logia) .pb-entete-centre .pb-entete { align-items: flex-start !important; }
	.pb-section-gains .elementor-heading-title, .pb-section-gains .elementor-widget-text-editor, .e-con:has(> .e-con-inner > .pb-etapes-frise, > .e-con-inner > .pb-etapes-logia) .pb-entete-centre .elementor-heading-title, .e-con:has(> .e-con-inner > .pb-etapes-frise, > .e-con-inner > .pb-etapes-logia) .pb-entete-centre .elementor-widget-text-editor { text-align: left !important; }
	.pb-section-gains .pb-intro br, .page-id-126 .pb-section-intro .pb-intro br,
	.page-id-128 .pb-section-intro .pb-intro br, .page-id-128 .pb-grande-carte .pb-intro br, .page-id-128 .pb-section-savoir .pb-intro br { display: none; }
	.pb-section-gains .pb-surtitre, .e-con:has(> .e-con-inner > .pb-etapes-frise, > .e-con-inner > .pb-etapes-logia) .pb-entete-centre .pb-surtitre { text-align: left !important; }
	.pb-footer-main { background-image: none; }
}
@media (max-width: 767px) { .pb-carrousel-avis.pb-carrousel-nav.elementor-widget { --pb-nav-espace: 52px; } }
.pb-header .pb-nav .sub-arrow svg { width: 13px; height: 13px; fill: var(--dj-rouge) !important; opacity: 1; }
.pb-guillemet::before { top: 9px; font-size: 5rem; }
.page-id-126 .pb-prest-faq .elementor-widget-image img { object-position: 50% 100%; }
.page-id-126 .pb-section-faq .elementor-widget-image img { object-position: 50% 100%; }
@media (max-width: 1024px) { .pb-section-etapes .pb-entete-centre, .pb-section-etapes .pb-entete-centre .pb-entete { align-items: flex-start !important; } .pb-section-etapes .pb-entete-centre .elementor-heading-title, .pb-section-etapes .pb-entete-centre .elementor-widget-text-editor { text-align: left !important; } }
.pb-guillemet::before { top: 1px; }
/* Photo de la FAQ de Toiture : la bande sombre du haut de la photo source sort du cadre (zoom ancré en bas). */
.page-id-126 .pb-section-faq .elementor-widget-image { overflow: hidden; }
.page-id-126 .pb-section-faq .elementor-widget-image img { transform: scale(1.07); transform-origin: 50% 100%; }

/* ----------------------------------------------------------------- Pied de page : refonte d'après la maquette (frame 2168:85)
   Fond rouge + deux pans clairs (16 % de blanc) : l'un collé au bord gauche, l'autre au bord droit, comme sur la maquette 1512 px. */
.pb-footer-main {
	background-image: url("assets/img/decor-footer-gauche.svg"), url("assets/img/decor-footer-droite.svg");
	background-repeat: no-repeat, no-repeat;
	background-position: left bottom, right bottom;
	background-size: auto, auto;
}
@media (min-width: 1025px) {
	.pb-footer-colonnes { justify-content: flex-start !important; gap: 0 !important; }
	.pb-footer-colonnes > .pb-footer-marque { width: 20.2% !important; margin-top: -10px; gap: 4px !important; }
	.pb-footer-colonnes > .pb-footer-marque .elementor-widget-image:first-child { margin-bottom: 14px !important; }
	.pb-footer-colonnes > .e-con:nth-child(2) { width: 28.6% !important; margin-left: 19.4%; padding-top: 0 !important; }
	.pb-footer-colonnes > .e-con:nth-child(3) { width: auto !important; flex: 1 1 0; padding-top: 0 !important; }
}
/* Tablette et mobile : mêmes pans clairs, réduits, collés en bas à gauche et à droite. */
@media (max-width: 1024px) {
	.pb-footer-main { background-size: 380px auto, 500px auto; background-position: left bottom, right 30%; }
	.pb-footer-colonnes { row-gap: 40px; }
	.pb-footer-colonnes > .pb-footer-marque { margin-bottom: 8px; }
	.pb-footer-main .pb-footer-bas { padding-bottom: 36px; }
	.pb-footer-main .elementor-element-65f19ad { padding-left: 0 !important; }
}
@media (max-width: 767px) {
	/* Mobile : deux pans décalés (celui de droite plus haut, celui de gauche tout en bas) plutôt que deux petits pans alignés. */
	.pb-footer-main { background-size: 270px auto, 340px auto; background-position: left bottom, right 40%; }
	.pb-footer-colonnes { row-gap: 36px; }

	/* Mobile : tout le pied de page est centré. */
	.pb-footer-main, .pb-footer-main .e-con, .pb-footer-main .elementor-widget { text-align: center; }
	.pb-footer-main .e-con { align-items: center !important; }
	.pb-footer-main .e-con:not(.pb-footer-bas):not(.pb-footer-marque) { justify-content: flex-start; }
	.pb-footer-main .elementor-widget { margin-left: auto; margin-right: auto; }
	.pb-footer-main .elementor-heading-title { white-space: normal; }
	/* Titres de colonne : la marque en équerre passe au-dessus du texte, centrée. */
	.pb-footer-titre .elementor-heading-title { padding-left: 0; padding-top: 18px; }
	.pb-footer-titre .elementor-heading-title::before { left: 50%; top: 0; transform: translateX(-50%); }
	/* Menu : puces carrées retirées, liens et sous-menu centrés. */
	.pb-footer-menu .elementor-nav-menu { justify-items: center; }
	.pb-footer-menu .elementor-nav-menu > li > a { padding-left: 0 !important; justify-content: center; }
	.pb-footer-menu .elementor-nav-menu > li > a::before { display: none !important; }
	.pb-footer-menu .sub-menu { padding: 8px 0 4px !important; }
	.pb-footer-menu .sub-menu a { justify-content: center; }
	/* Coordonnées : icône et texte centrés sur la ligne. */
	.pb-footer-contact .elementor-icon-list-items { align-items: center; }
	.pb-footer-contact .elementor-icon-list-items { gap: 14px; }
	.pb-footer-contact .elementor-icon-list-item, .pb-footer-contact .elementor-icon-list-item > a { flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; }
	.pb-footer-contact .elementor-icon-list-icon { padding-top: 0; }
	.pb-footer-contact .elementor-icon-list-text { padding: 0 !important; text-align: center; }
	.pb-footer-main .elementor-widget-image img { margin-left: auto; margin-right: auto; }
	/* « Suivez-nous : » puis l'icône Facebook, l'un sous l'autre. */
	.pb-footer-main .e-con:has(> .pb-reseaux) { flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 10px !important; }
	.pb-footer-main .e-con:has(> .pb-reseaux) > .elementor-widget { margin: 0 !important; }
}

/* Tablette : bloc marque compact (logo seul sur la 1re ligne, puis « Découvrez également : » et les deux logos sur une ligne). */
@media (min-width: 768px) and (max-width: 1024px) {
	.pb-footer-colonnes > .pb-footer-marque { flex-direction: row !important; flex-wrap: wrap; justify-content: center; align-items: center !important; gap: 10px 18px !important; margin-bottom: 0; }
	.pb-footer-marque > .elementor-element-a2f671e { flex: 0 0 100%; margin-bottom: 4px !important; }
	.pb-footer-marque > .elementor-widget:not(.elementor-element-a2f671e) { width: auto !important; max-width: none; margin: 0 !important; }
	.pb-footer-colonnes { row-gap: 32px; }
}

/* Carrousel des avis. Ordinateur (≥ 1025 px) : flèches carrées 22 px sur les côtés, centrées en hauteur sur les cartes, sans points
   (maquette). Préfixe renforcé pour passer devant la navigation du socle. Tablette et mobile : ni flèches ni points,
   défilement au doigt avec les cartes suivantes visibles à droite, comme le carrousel des réalisations. */
@media (min-width: 1025px) {
	.pb-carrousel-nav.pb-carrousel-cotes.elementor-widget { padding-bottom: 0; --pb-nav-taille: 22px; }
	.pb-carrousel-nav.pb-carrousel-cotes.elementor-widget .swiper-pagination { display: none !important; }
	.pb-carrousel-nav.pb-carrousel-cotes.elementor-widget .elementor-swiper-button {
		position: absolute; top: calc(50% - 11px) !important; bottom: auto !important; width: 22px; height: 22px; border-radius: 0;
		background: var(--dj-rouge) !important; color: #fff; font-size: 0; opacity: 1;
	}
	.pb-carrousel-nav.pb-carrousel-cotes.elementor-widget .elementor-swiper-button-prev { left: -36px !important; right: auto !important; }
	.pb-carrousel-nav.pb-carrousel-cotes.elementor-widget .elementor-swiper-button-next { left: auto !important; right: -36px !important; }
	.pb-carrousel-nav.pb-carrousel-cotes.elementor-widget .elementor-swiper-button svg { width: 8px !important; height: 8px !important; fill: #fff !important; }
	.pb-carrousel-nav.pb-carrousel-cotes.elementor-widget .elementor-swiper-button:is(:hover, :focus-visible) { background: var(--dj-noir) !important; }
	.pb-carrousel-nav.pb-carrousel-cotes.elementor-widget .elementor-swiper-button.swiper-button-disabled { background: #838382 !important; opacity: 1; }
}
@media (min-width: 1025px) and (max-width: 1280px) {
	.pb-carrousel-nav.pb-carrousel-cotes.elementor-widget .elementor-swiper-button-prev { left: -28px !important; }
	.pb-carrousel-nav.pb-carrousel-cotes.elementor-widget .elementor-swiper-button-next { right: -28px !important; }
}
@media (max-width: 1024px) {
	.pb-carrousel-nav.pb-carrousel-cotes.elementor-widget .swiper { overflow: visible !important; }
	.pb-carrousel-nav.pb-carrousel-cotes.elementor-widget { padding-bottom: 0 !important; }
	.pb-carrousel-nav.pb-carrousel-cotes.elementor-widget .elementor-swiper-button, .pb-carrousel-nav.pb-carrousel-cotes.elementor-widget .swiper-pagination { display: none !important; }
	/* fondu des bords, comme pb-carrousel-fondu */
	.pb-carrousel-nav.pb-carrousel-cotes.elementor-widget .swiper {
		--pb-fondu-largeur: 120px;
		margin-inline: calc(50% - 50vw) !important; padding-inline: calc(50vw - 50%) !important;
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--pb-fondu-largeur), #000 calc(100% - var(--pb-fondu-largeur)), transparent);
		mask-image: linear-gradient(90deg, transparent, #000 var(--pb-fondu-largeur), #000 calc(100% - var(--pb-fondu-largeur)), transparent);
	}
}
@media (max-width: 767px) {
	.pb-carrousel-nav.pb-carrousel-cotes.elementor-widget .swiper { --pb-fondu-largeur: 40px; padding-inline: 40px !important; }
}

/* Tablette et mobile : le texte passe avant la photo.
   Le DOM garde la photo à gauche sur ordinateur ; ici elle descend sous le texte. */
@media (max-width: 1024px) {
	.e-con:has(> .e-con + .pb-bloc-texte) > .e-con:first-child,
	.e-con-inner:has(> .e-con + .pb-bloc-texte) > .e-con:first-child,
	.e-con:has(> .pb-single-real-texte) > .e-con:first-child {
		order: 2;
	}
	/* Fiche réalisation : titre et lieu, puis la photo, puis la description. */
	.pb-single-real-texte { display: contents; opacity: 1 !important; visibility: visible !important; } /* sans boîte, l'apparition Motion ne se déclencherait jamais */
	.pb-single-real-texte > .e-con { order: 1; }
	.pb-single-real-texte > .pb-single-real-description { order: 3; }
}

/* Footer : textes un peu plus grands pour la lisibilité (maquette : 12 px, sous-menu 10 px, titres 13 px), identiques sur PC,
   tablette et mobile. Les liens du bas (mentions, crédits) ne changent pas. */
.pb-footer-main {
	--pb-footer-texte: 14px;
	--pb-footer-sous-menu: 12px;
	--pb-footer-titre: 16px;
}
.pb-footer-main .pb-footer-marque .elementor-heading-title,
.pb-footer-main .pb-footer-menu .elementor-nav-menu > li > a,
.pb-footer-main .pb-footer-contact .elementor-icon-list-text,
.pb-footer-main .pb-footer-contact .elementor-icon-list-text a,
.pb-footer-main .e-con:has(> .pb-reseaux) > .elementor-widget-heading .elementor-heading-title { font-size: var(--pb-footer-texte) !important; }
.pb-footer-main .pb-footer-menu .sub-menu a { font-size: var(--pb-footer-sous-menu) !important; }
.pb-footer-main .pb-footer-titre .elementor-heading-title { font-size: var(--pb-footer-titre) !important; }

/* Accueil « Trois générations » : photo et chiffres clés, proportions de la maquette (conteneur 432 × 411, photo 390 × 411
   décalée de 42 px, pastilles 49 px de haut à 25 px du bas). En tablette et mobile, même composition à l'échelle :
   photo au ratio de la maquette (jamais étirée ni écrasée en bandeau), pastilles débordant à gauche de la photo. */
@media (min-width: 1025px) { .pb-chiffre .elementor-heading-title { line-height: 28.4px !important; } .pb-chiffre-mot { line-height: 1 !important; } }
.pb-section-histoire .pb-chiffres { bottom: 25px; }
@media (max-width: 1024px) {
	.pb-section-histoire .pb-photo-chiffres { max-width: 460px; }
	.pb-section-histoire .pb-photo-chiffres-img { padding-left: 42px; }
	.pb-section-histoire .pb-photo-chiffres-img img { height: auto !important; aspect-ratio: 390 / 411; object-fit: cover; }
	.pb-section-histoire .pb-chiffres { left: 0; }
}
@media (max-width: 767px) {
	.pb-section-histoire .pb-photo-chiffres-img { padding-left: 28px; }
	.pb-section-histoire .pb-chiffres { bottom: 18px; }
}
/* Cadrage de la photo (Figma 2168:741) : la maquette écrase l'image d'environ 28 % pour montrer toute sa hauteur. Ici le ratio est
   respecté : toute la largeur, du haut de la tête du maçon (7 % du haut) jusqu'à 77 % de la hauteur (la scie en grande partie). */
.pb-section-histoire .pb-photo-chiffres-img img { object-fit: cover; object-view-box: inset(7% 0 23% 0); }

/* Tablette et mobile : logo Qualibat incrusté en haut à droite de la photo (accueil « certifications », prestations
   « savoir-faire »), sans fond. site.js le déplace dans le bloc de la photo (.pb-hote-qualibat). */
@media (max-width: 1024px) {
	.pb-hote-qualibat { position: relative; }
	.pb-hote-qualibat > .pb-logo-qualibat { position: absolute !important; z-index: 3; top: 16px; right: 16px; width: auto !important; margin: 0 !important; }
	.pb-hote-qualibat > .pb-logo-qualibat .elementor-widget-container { display: flex; }
	.pb-hote-qualibat > .pb-logo-qualibat img { width: 65px !important; height: auto !important; max-height: none !important; aspect-ratio: auto !important; object-fit: contain !important; object-view-box: none !important; display: block; }
}
@media (max-width: 767px) {
	.pb-hote-qualibat > .pb-logo-qualibat { top: 12px; right: 12px; }
}
