/*
Theme Name: Montagut BTP
Template: hello-elementor
Description: Thème enfant de Montagut BTP (Logia)
Version: 1.0.0
Text Domain: montagut-btp
*/

/* ---------- Police : Satoshi Variable (fichier fourni par le client) ---------- */
@font-face {
	font-family: "Satoshi Variable";
	src: url("assets/fonts/Satoshi-Variable.ttf") format("truetype");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}

/* ---------- Variables du projet (branchées sur le Kit) ---------- */
:root {
	--pb-accent: var(--e-global-color-primary, #007833);
	--pb-accent-survol: var(--e-global-color-accent, #01421d);
	--pb-texte: var(--e-global-color-text, #484848);
	--pb-vert-a: #007030;
	--pb-vert-b: #029f36;
	--pb-degrade: linear-gradient(-78deg, var(--pb-vert-a) 0.16%, var(--pb-vert-b) 88.7%);
	--pb-form-etiquette-gauche: 10px;
	--pb-form-demi-gouttiere: 10px;
	--pb-form-rayon-fichier: 10px;
	--pb-form-etiquette-fond: #fff;
}

body { font-family: "Satoshi Variable", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }

/* ==========================================================================
   Typo : H2 (1re ligne Black, 2e Medium), gras = Bold, texte gris
   ========================================================================== */
.pb-med { font-weight: 500; }
.pb-gris { color: #c6c6c6; }
.elementor-widget-text-editor strong, .elementor-widget-text-editor b { font-weight: 700; }
.elementor-widget-text-editor p + p { margin-top: 1.15em; }
.elementor-widget-text-editor p { margin: 0; }
p.elementor-heading-title { margin: 0; }
.elementor-widget-heading .elementor-heading-title strong { font-weight: 900; }
.pb-puces-w { width: 100%; }

/* ==========================================================================
   Surtitre à picto « équerre » (::before), 2 couleurs
   ========================================================================== */
.pb-surtitre { position: relative; padding: 0 0 0 5.35px; margin-top: 3.4px; }
.pb-surtitre .elementor-heading-title { position: relative; display: inline-block; padding: 3.4px 0 0 5.35px; line-height: 1.15; }
.pb-surtitre .elementor-heading-title::before {
	content: ""; position: absolute; left: -5.35px; top: 0; width: 29px; height: 30px;
	background: url("assets/img/picto-surtitre.svg") no-repeat center / contain;
}
.pb-surtitre .pb-s1 { color: var(--e-global-color-primary, #007833); font-weight: 900; }
.pb-surtitre .pb-s2 { color: #c6c6c6; font-weight: 700; }
.pb-surtitre--clair .pb-s1 { color: #fff; }
.pb-surtitre--noir .pb-s2 { color: #484848; font-weight: 900; }
.pb-surtitre--centre .elementor-heading-title { margin-inline: auto; }
.pb-bloc { padding-top: 0; }
.pb-bloc > .elementor-widget-heading:nth-child(2) { margin-top: 12px; }

/* ==========================================================================
   Boutons : pilule dégradé vert + rond-flèche. Survol : le fond (dégradé) se resserre jusqu'à une couleur unie.
   ========================================================================== */
.elementor-button,
.elementor-field-type-submit .elementor-button {
	--pb-fond-uni: #029f36;
	position: relative; overflow: hidden; min-height: 40px; border: 0;
	background-image: linear-gradient(var(--pb-fond-uni), var(--pb-fond-uni)), var(--pb-degrade) !important;
	background-repeat: no-repeat !important;
	background-position: 50% 50%, 0 0 !important;
	background-size: 0% 100%, 100% 100% !important;
	transition: background-size .5s cubic-bezier(.4, 0, .2, 1), color .3s ease, box-shadow .3s ease;
}
.elementor-button:hover, .elementor-button:focus-visible {
	background-size: 100% 100%, 100% 100% !important;
}
.pb-btn .elementor-button { padding: 5px 5.5px 5px 18px; }
.pb-btn .elementor-button-content-wrapper { display: flex; align-items: center; flex-direction: row; gap: 18px; }
.pb-btn .elementor-button-text { line-height: 30px; white-space: nowrap; }
.pb-btn .elementor-button-content-wrapper::after {
	content: ""; flex: none; width: 30px; height: 30px; background: url("assets/img/rond-fleche-blanc.svg") no-repeat center / contain;
}
/* Bouton blanc : texte en dégradé vert, rond vert ; au survol le fond devient vert uni et le texte blanc */
.pb-btn--blanc .elementor-button {
	--pb-fond-uni: #029f36;
	background-color: #fff !important; color: #009c3d;
	background-image: linear-gradient(var(--pb-fond-uni), var(--pb-fond-uni)) !important;
	background-size: 0% 100% !important; background-position: 50% 50% !important;
}
.pb-btn--blanc .elementor-button:hover, .pb-btn--blanc .elementor-button:focus-visible { background-size: 100% 100% !important; }
.pb-btn--blanc .elementor-button-text {
	background: var(--pb-degrade); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; transition: -webkit-text-fill-color .3s;
}
.pb-btn--blanc .elementor-button:hover .elementor-button-text { -webkit-text-fill-color: #fff; }
.pb-btn--blanc .elementor-button-content-wrapper::after { background-image: url("assets/img/rond-fleche-vert.svg"); }
.pb-btn--blanc .elementor-button:hover .elementor-button-content-wrapper::after { background-image: url("assets/img/rond-fleche-blanc.svg"); }
.pb-numero .elementor-heading-title a { color: #fff; }

/* ==========================================================================
   Header : fixe, blanc, rétrécit au scroll (classe scrollHeader posée par site.js)
   ========================================================================== */
.pb-header { position: fixed !important; top: 0; left: 0; right: 0; width: 100%; background: #fff; transition: box-shadow .3s ease; }
.pb-header > .e-con-inner { transition: padding .3s ease; }
.pb-header { --padding-top: 21px; --padding-bottom: 21px; transition: --padding-top .3s, --padding-bottom .3s, box-shadow .3s; }
.pb-header.scrollHeader { --padding-top: 8px !important; --padding-bottom: 8px !important; box-shadow: 0 2px 16px rgba(0, 0, 0, .08); }
.admin-bar .pb-header { top: var(--wp-admin--admin-bar--height, 32px); }
.pb-logo img { transition: width .3s ease; }
.pb-header.scrollHeader .pb-logo img { width: 190px; }
.pb-header .pb-btn-header .elementor-button { transition: background-size .5s cubic-bezier(.4,0,.2,1); }
.pb-header.scrollHeader .pb-btn-header .elementor-button { transform: scale(.92); transform-origin: right center; }
.pb-header-tel .elementor-icon-list-item { white-space: nowrap; }
.pb-header-tel .elementor-icon-list-items { justify-content: flex-end; }
/* Menu : séparateurs verticaux fins entre les entrées de la barre */
.pb-nav--barre .elementor-nav-menu > li + li > a.elementor-item { position: relative; }
.pb-nav--barre .elementor-nav-menu--main > .elementor-nav-menu > li { display: flex; align-items: center; }
.pb-nav--barre .elementor-nav-menu--main > .elementor-nav-menu > li + li::before {
	content: ""; width: 0.5px; height: 13.5px; background: #01421d; margin-right: 35px; flex: none;
}
.pb-nav--barre .elementor-nav-menu--main > .elementor-nav-menu > li > a.elementor-item { padding-left: 0; padding-right: 0; }
.pb-nav--barre .elementor-nav-menu--main .sub-arrow { color: var(--pb-accent); }
.pb-nav--barre .elementor-nav-menu--main > .elementor-nav-menu > li { margin-right: 35px; }
.pb-nav--barre .elementor-nav-menu--main > .elementor-nav-menu > li:last-child { margin-right: 0; }
.pb-nav--barre .elementor-nav-menu--main > .elementor-nav-menu > li + li::before { margin-right: 35px; }
.pb-nav--barre .elementor-nav-menu--main .sub-menu { border-radius: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.08), 0 0 4px rgba(0,0,0,.1); }

/* ==========================================================================
   Hero arrondi sous le header
   ========================================================================== */
.pb-hero { position: relative; isolation: isolate; }
.pb-hero::after {
	content: ""; position: absolute; left: -134px; bottom: 0; width: 705px; height: 608px; z-index: -1; pointer-events: none;
	background: url("assets/img/hero-motif-m.svg") no-repeat left bottom / contain;
}
.pb-hero--pole::after { top: 0; bottom: auto; width: 545px; height: 470px; background-image: url("assets/img/hero-motif-m.svg"); opacity: .67; }
.pb-hero h1.elementor-heading-title { font-weight: 900; }
.pb-hero .pb-hero-texte { position: relative; z-index: 1; }
.pb-hero-sous .elementor-heading-title { font-weight: 900; }
.pb-hero-sous .elementor-heading-title .pb-med { font-weight: 500; }

/* Bandeau de certifications */
.e-con.pb-certifs { position: absolute !important; top: 40px !important; right: 35px !important; left: auto !important; bottom: auto !important; width: 524px !important; max-width: calc(100% - 40px); height: 85px; backdrop-filter: blur(2px); z-index: 2; }
.pb-hero--pole .e-con.pb-certifs { top: auto !important; bottom: 32px !important; right: 32px !important; }
.pb-certifs .elementor-widget-image { flex: none; }
.pb-certifs img { width: auto; max-height: 52px; object-fit: contain; }
.pb-sep-w { width: auto !important; flex: none; }
.pb-sep { display: block; width: 0.5px; height: 13.5px; background: #01421d; }
.pb-cert--aipr img { max-height: 45px; }

/* Puces à double barre */
.pb-puces { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pb-puces li { position: relative; padding-left: 14px; font-weight: 900; font-size: 1rem; line-height: 1.15; color: #007833; }
.pb-puces li::before { content: ""; position: absolute; left: 0; top: 2.9px; width: 7px; height: 12px; background: url("assets/img/puce-double-barre.svg") no-repeat center / contain; }
.pb-puces li span { color: #484848; font-weight: 700; }
.pb-puces li .pb-gris { color: #c6c6c6; font-weight: 700; }
.pb-puces--clair li { color: #fff; }

/* Photo + carte grise inclinée derrière */
.pb-pile { position: relative; isolation: isolate; }
.pb-pile::before {
	content: ""; position: absolute; z-index: -1; left: 2.5%; top: 2.5%; width: 96%; height: 94%; border-radius: 25px;
	background: linear-gradient(180deg, #fff 2%, #bababa 99.5%); transform: rotate(var(--pb-rot, 6.35deg));
}
.pb-pile .elementor-widget-image { overflow: hidden; }
.pb-pile img { display: block; width: 100%; object-fit: cover; }

/* ==========================================================================
   Pied de page : bloc vert arrondi
   ========================================================================== */
.pb-footer { position: relative; isolation: isolate; color: #fff; }
.pb-footer::before { content: ""; position: absolute; left: -97px; top: -8px; width: 864px; height: 744px; z-index: -1; pointer-events: none; background: url("assets/img/footer-motif-m.svg") no-repeat left top / contain; }
.pb-footer-trait { border: 0; height: 1px; background: rgba(198,198,198,.5); margin: 0; }
.pb-footer-trait-w { padding-inline: 36px; width: 100%; }
.pb-footer-trait--bas { }
.pb-footer-menu .elementor-nav-menu--dropdown { background: transparent; box-shadow: none; position: static; width: auto; }
.pb-footer-menu .elementor-nav-menu a { padding: 0 !important; margin-bottom: 15px; }
.pb-footer-menu .sub-menu { padding-left: 14px; }
.pb-footer-bas { border-top: 1px solid #fff; margin-inline: 40px; padding-inline: 0 !important; padding-top: 14px; }
.pb-footer-lien .elementor-heading-title a, .pb-copyright .elementor-heading-title { color: #fff; }
.pb-footer-lien .elementor-heading-title::after { content: " - "; font-weight: 300; }
.pb-footer .pb-copyright-texte .elementor-heading-title { font-weight: 300; }
.pb-footer .pb-footer-lien .elementor-heading-title { font-weight: 500; }
.pb-footer-titre.pb-surtitre { margin: 0; }
.pb-partenaire { background: #fff; border-radius: 6px; overflow: hidden; width: 98px; height: 55px; }
.pb-partenaire img { width: 100%; height: 55px; object-fit: contain; }
.pb-footer .elementor-icon-list-icon svg { fill: #fff; }

/* ==========================================================================
   Cartes d'atouts / bénéfices, pastilles d'icône
   ========================================================================== */
.pb-pastille { display: inline-flex; align-items: center; justify-content: center; width: 33px; height: 33px; border-radius: 50%; background: #009c3d; }
.pb-pastille img { width: 14px; height: 14px; display: block; object-fit: contain; }
.pb-pastille--blanche { background: #fff; }
.pb-pastille--grande { width: 56px; height: 56px; }
.pb-pastille--grande img { width: 32px; height: 31px; }
.pb-pastille-w .elementor-widget-container, .pb-pastille-w { line-height: 0; }
.pb-atout { background: #fff; border-radius: 15px; box-shadow: 0 0 4px rgba(0, 0, 0, .1); transition: background-color .35s ease, color .35s ease, transform .35s ease; position: relative; overflow: hidden; }
.pb-atout > .elementor-widget-text-editor { margin-top: 20px; }
.pb-atout--verte { background: linear-gradient(-72deg, #007030 32.83%, #029f36 104.98%); box-shadow: none; }
.pb-atout:not(.pb-atout--verte):hover { background: linear-gradient(-72deg, #007030 32.83%, #029f36 104.98%); }
.pb-atout:not(.pb-atout--verte):hover .pb-atout-texte, .pb-atout:not(.pb-atout--verte):hover .pb-atout-texte p { color: #fff; }
.pb-atout:not(.pb-atout--verte):hover .pb-pastille { background: #fff; }
.pb-atout .pb-atout-texte { font-weight: 900; }
.pb-atout--benef .pb-atout-texte strong { font-weight: 900; }
.pb-atouts-rangee .pb-atout { flex: 1 1 0; min-width: 0; }
.pb-benef-groupe { background: linear-gradient(-69.6deg, #007030 32.83%, #029f36 104.98%); border-radius: 15px; position: relative; overflow: hidden; }
.pb-benef-groupe .elementor-widget-text-editor strong { font-weight: 900; }
.pb-benef-grille .pb-atout { flex: 1 1 calc(33.33% - 16px); max-width: calc(33.33% - 11px); }
@media (max-width: 1024px) {
	.pb-atouts-rangee { overflow-x: auto; flex-wrap: nowrap !important; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: -40px; padding-inline: 40px; -webkit-overflow-scrolling: touch; }
	.pb-atouts-rangee .pb-atout { flex: 0 0 min(260px, 64vw); scroll-snap-align: start; }
	.pb-benef-grille .pb-atout { flex: 1 1 calc(50% - 16px); max-width: calc(50% - 8px); }
}
@media (max-width: 767px) {
	.pb-atouts-rangee { margin-inline: -20px; padding-inline: 20px; }
	.pb-benef-grille .pb-atout { flex: 1 1 100%; max-width: 100%; }
}

/* ==========================================================================
   Cartes de pôle (liens entiers)
   ========================================================================== */
.pb-pole { position: relative; cursor: pointer; transition: transform .35s ease, box-shadow .35s ease; }
.pb-pole::after {
	content: ""; position: absolute; top: 22px; right: 22px; width: 40.47px; height: 40.47px; background: url("assets/img/rond-fleche-blanc.svg") no-repeat center / contain; transition: transform .35s ease;
}
.pb-pole:hover::after { transform: rotate(45deg) scale(1.08); }
.pb-pole-photo { overflow: hidden; border-radius: 15px; position: relative; isolation: isolate; margin-top: auto; }
.pb-pole-photo img { transition: transform .6s ease; }
.pb-pole:hover .pb-pole-photo img { transform: scale(1.05); }
.pb-voile::after { content: ""; position: absolute; inset: 0; background: rgba(0, 120, 51, .1); pointer-events: none; }
.pb-pole .elementor-widget-image { margin-top: auto; }

/* ==========================================================================
   Carte de la zone d'intervention
   ========================================================================== */
.pb-carte-zone { position: relative; width: 100%; max-width: 578px; margin-inline: auto; }
.pb-carte-zone img { display: block; width: 100%; height: auto; }
.pb-dep { position: absolute; transform: translateX(-50%); font-size: .75rem; font-weight: 500; color: #fff; line-height: 1; pointer-events: none; }
.pb-carte-etiquette { position: absolute; background: #fff; border-radius: 5px; box-shadow: 0 4px 4px rgba(0, 0, 0, .12); padding: 3px 8px; font-size: .875rem; font-weight: 500; color: #007833; white-space: nowrap; line-height: 1.15; transform: translateX(0); }
.pb-carte-tige { position: absolute; width: 1px; height: 21px; background: #fff; box-shadow: 0 0 3px rgba(0, 0, 0, .25); }
.pb-carte-point { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 3px rgba(0, 0, 0, .25); }
@media (max-width: 767px) { .pb-carte-etiquette { font-size: .75rem; padding: 2px 6px; } }

/* ==========================================================================
   Bandeau CTA : voile vert 90 % + motif M
   ========================================================================== */
.pb-cta-bandeau { position: relative; isolation: isolate; }
.pb-cta-bandeau::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(77.2deg, rgba(0, 112, 48, .9) 1.33%, rgba(2, 159, 54, .9) 102.39%); }
.pb-cta-bandeau::after { content: ""; position: absolute; left: 0; top: 0; width: 438px; height: 377px; z-index: -1; background: url("assets/img/bandeau-cta-motif-m.svg") no-repeat left top / contain; pointer-events: none; }
.pb-numero .elementor-heading-title { font-weight: 700; }
.pb-numero a { color: #fff; }
.e-con.pb-certifs.pb-certifs--statique { position: static !important; top: auto !important; right: auto !important; width: 100% !important; width: 100%; max-width: 584px; height: auto; padding: 14px 20px; background: transparent !important; backdrop-filter: none; justify-content: center; gap: 35px; }
.pb-certifs--statique img { max-height: 52px; }

/* Pile de cartes : tailles */
.pb-pile--groupe::before { border-radius: 35px; --pb-rot: 4.87deg; }
.pb-pile--realisation::before { border-radius: 35px; --pb-rot: 2.82deg; }
.pb-pile--onglet::before { border-radius: 35px; --pb-rot: -6.35deg; width: 98%; height: 88%; left: -2%; top: 8%; }

/* Pilules (groupe, listes d'onglets) */
.pb-pilules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.pb-pilules li { padding: 0 19px; min-height: 44px; display: flex; align-items: center; border-radius: 10px; background: rgba(198, 198, 198, .25); color: #484848; font-weight: 700; line-height: 1.15; backdrop-filter: blur(2px); transition: background .35s ease, color .35s ease; cursor: default; }
.pb-pilules li:first-child, .pb-pilules li:hover { background: linear-gradient(-58.5deg, #007030 .16%, #029f36 88.7%); color: #fff; }
.pb-pilules:hover li:first-child:not(:hover) { background: rgba(198, 198, 198, .25); color: #484848; }
.pb-pilules:hover li:first-child:not(:hover) { }

/* Avis : étoiles */
.mb-etoiles { display: inline-flex; gap: 5.3px; line-height: 0; }
.mb-etoiles svg { width: 22.9px; height: 21px; fill: #009c3d; }
.mb-etoiles svg.vide { fill: #c6c6c6; }

/* ==========================================================================
   Cartes réalisation (boucle) : voile sombre en haut, titre à barre
   ========================================================================== */
.pb-real-carte { position: relative; isolation: isolate; cursor: pointer; }
.pb-real-carte::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(-11deg, rgba(0,0,0,0) 54.8%, rgba(0,0,0,.69) 107.3%); transition: opacity .4s ease; }
.pb-real-carte:hover::before { opacity: 1.0; }
.pb-real-carte { background-size: cover; transition: background-size .6s ease; }
.pb-real-titre { position: relative; padding-left: 15px; }
.pb-real-titre::before { content: ""; position: absolute; left: 0; top: 2px; width: 7px; height: 35px; background: url("assets/img/barre-titre.svg") no-repeat center / contain; }
.pb-btn-real { align-self: flex-end; }
.elementor-widget-loop-carousel .e-loop-item { height: auto; }
.pb-carousel-real .swiper-slide, .pb-carousel-avis .swiper-slide { height: auto; }
.pb-note-google { display: inline-flex; align-items: center; gap: 12px; }
.pb-note strong { font-size: 1.359rem; font-weight: 700; color: #007833; }
.pb-note small { font-size: 1.0875rem; font-weight: 700; color: #007833; }
.pb-note-lib { font-size: .875rem; font-weight: 300; color: #313131; display: block; }

/* Hero et pied de page : marges latérales (le conteneur est à 100 % de large) */
.e-con.pb-hero, .e-con.pb-footer { --width: calc(100% - 80px); width: calc(100% - 80px) !important; }
@media (max-width: 1024px) { .e-con.pb-hero, .e-con.pb-footer { --width: calc(100% - 48px); width: calc(100% - 48px) !important; } }
@media (max-width: 767px) { .e-con.pb-hero, .e-con.pb-footer { --width: calc(100% - 24px); width: calc(100% - 24px) !important; } }
.pb-nav .elementor-item.elementor-item-anchor.elementor-item-active:not(:hover) { color: #484848; }
.pb-footer-suivre { flex-wrap: nowrap; white-space: nowrap; }
.pb-footer-suivre .elementor-widget-text-editor { width: auto; }
.pb-real-fond { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; z-index: -2; overflow: hidden; }
.pb-real-fond img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pb-real-carte:hover .pb-real-fond img { transform: scale(1.05); }

/* Fil d'Ariane (Rank Math) */
.pb-ariane nav, .pb-ariane p { margin: 0; font-size: .875rem; font-weight: 500; color: #fff; line-height: 1.2; }
.pb-ariane a { color: #fff; text-decoration: none; }
.pb-ariane a:hover { color: #00d553; }
.pb-ariane .separator { margin: 0 .5em; }
.pb-ariane .last { color: #00d553; font-weight: 700; }
.pb-ariane--hero { position: absolute !important; top: 40px; left: 89px; z-index: 2; width: auto !important; }
@media (max-width: 1024px) { .pb-ariane--hero { position: static !important; } }
.pb-noir { color: #484848; font-weight: 900; }

/* ==========================================================================
   Onglets (Nested Tabs) : pastilles, 2 rangées centrées
   ========================================================================== */
.pb-onglets .e-n-tabs-heading { display: flex; flex-wrap: wrap; justify-content: center; gap: 23px 12px; max-width: 900px; margin: 0 auto 56px; }
.pb-onglets .e-n-tab-title, .elementor-kit-6 .pb-onglets .e-n-tab-title {
	background: #fff !important; background-image: none !important; color: #101010 !important; border: 1px solid #c6c6c6 !important; border-radius: 53px !important;
	padding: 13px 28px !important; font-family: "Satoshi Variable", sans-serif !important; font-size: 1.125rem !important; font-weight: 700 !important; line-height: 1.2 !important; text-transform: none !important;
	white-space: nowrap; flex: none; transition: color .3s ease, border-color .3s ease, background-size .5s ease; cursor: pointer;
}
.pb-onglets .e-n-tab-title:hover { border-color: #007833 !important; color: #007833 !important; }
.pb-onglets .e-n-tab-title[aria-selected="true"], .pb-onglets .e-n-tab-title[aria-selected="true"]:hover {
	background-image: var(--pb-degrade) !important; color: #fff !important; border-color: transparent !important;
}
.pb-onglets .e-n-tab-title .e-n-tab-title-text { color: inherit; }
.pb-onglets .e-n-tabs-content > .e-con { padding: 13px 0 0; }
.pb-onglet-panneau { position: relative; }
.pb-onglets-zone { position: relative; }
@media (max-width: 767px) { .pb-onglets .e-n-tab-title { font-size: 1rem !important; padding: 11px 20px !important; white-space: normal; } .pb-onglets .e-n-tabs-heading { gap: 12px 8px; } }
.pb-onglet-panneau .pb-pilules li { min-height: 44px; }

/* ==========================================================================
   FAQ (Logia Accordion) : cartes, ouverte en dégradé vert, icônes plus / moins
   ========================================================================== */
.pb-faq .logia-accordion { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.pb-faq .logia-accordion__item { background: #fff; border-radius: 15px; box-shadow: 0 0 4px rgba(0, 0, 0, .1); overflow: hidden; transition: background-color .35s ease; position: relative; }
.pb-faq .logia-accordion__item.is-open { background: linear-gradient(-78deg, #007030 .16%, #029f36 88.7%); }
.pb-faq .logia-accordion__heading { margin: 0; }
.pb-faq .logia-accordion__trigger { display: flex !important; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 24px 24px 30px; cursor: pointer; color: #1d1d1b; font-size: 1.125rem; font-weight: 700; line-height: 1.2; text-transform: none; }
.pb-faq .logia-accordion__item.is-open .logia-accordion__trigger { color: #fff; padding-bottom: 12px; }
.pb-faq .logia-accordion__toggle-icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: rgba(0, 156, 61, .1); font-size: 0; }
.pb-faq .logia-accordion__toggle-icon svg { display: none; }
.pb-faq .logia-accordion__toggle-icon::before, .pb-faq .logia-accordion__toggle-icon::after { content: ""; position: absolute; left: 10px; top: 15px; width: 12px; height: 2px; border-radius: 1px; background: #009c3d; transition: transform .3s ease, opacity .3s ease; }
.pb-faq .logia-accordion__toggle-icon::after { transform: rotate(90deg); }
.pb-faq .logia-accordion__item.is-open .logia-accordion__toggle-icon { background: #fff; }
.pb-faq .logia-accordion__item.is-open .logia-accordion__toggle-icon::after { transform: rotate(0); opacity: 0; }
.pb-faq .logia-accordion__content { padding: 0 24px 26px 30px; color: #fff; font-size: 1rem; font-weight: 500; line-height: 1.15; }
.pb-faq .logia-accordion__content p { margin: 0; }
.pb-faq .logia-accordion__trigger:hover .logia-accordion__title-label { text-decoration: underline; text-underline-offset: 3px; }
.pb-footer-suivre p { white-space: nowrap; }

.pb-faq .logia-accordion__item.is-open .logia-accordion__content, .pb-faq .logia-accordion__item.is-open .logia-accordion__content * { color: #fff !important; }
.pb-faq .logia-accordion__toggle-icon { display: block; align-self: center; margin: 0; }
.pb-faq .logia-accordion__trigger { align-items: center; }
.pb-pastille--douce { width: 40px; height: 40px; background: rgba(0, 156, 61, .1); }
.pb-pastille--douce img { width: 20px; height: 20px; }
.pb-info-carte .pb-info-titre .elementor-heading-title { text-transform: uppercase; }
.pb-info-val a { color: inherit; }

/* Fiche réalisation */
.pb-real-h1 .elementor-heading-title { text-shadow: 0 0 10px rgba(0, 0, 0, .25); }
.pb-hero--photo { position: relative; isolation: isolate; }
.pb-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, 0) 60%), linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 35%); pointer-events: none; }
.pb-hero--photo > .elementor-widget:not(.pb-real-fond) { position: relative; z-index: 2; }
.pb-hero--photo .pb-ariane--hero { position: relative !important; top: auto; left: auto; }
.mb-chiffres { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; color: #fff; font-size: 1rem; line-height: 1.2; }
.mb-chiffres li { padding-left: 14px; position: relative; font-weight: 500; }
.mb-chiffres li::before { content: ""; position: absolute; left: 0; top: .2em; width: 7px; height: 12px; background: url("assets/img/puce-double-barre.svg") no-repeat center / contain; filter: brightness(2); }
.mb-chiffres strong { font-weight: 900; }
.pb-chiffres-carte:not(:has(.mb-chiffres)) { display: none; }
.pb-galerie-section:not(:has(.e-gallery-item)):not(:has(.gallery-item)) { display: none; }
.pb-real-detail .lwfc__content, .pb-real-detail { font-weight: 500; line-height: 1.3; }
.pb-real-detail h3, .pb-real-detail h4 { color: #007833; font-weight: 700; font-size: 1rem; margin: 1.2em 0 .4em; text-transform: none; }
.pb-real-detail p { margin: 0 0 1em; }
.pb-grille-real .e-loop-item { height: auto; }
.pb-grille-real .e-load-more-anchor + .e-load-more-spinner, .pb-grille-real .elementor-button[role="button"] { margin-inline: auto; }

/* Header : desktop étroit (1025-1440) et mobile */
.pb-nav--barre .elementor-item { white-space: nowrap; }
@media (max-width: 1440px) {
	.pb-nav--barre .elementor-nav-menu--main > .elementor-nav-menu > li { margin-right: 22px; }
	.pb-nav--barre .elementor-nav-menu--main > .elementor-nav-menu > li + li::before { margin-right: 22px; }
	.pb-header .pb-header-droite > .e-con { gap: 22px; }
	.pb-nav--barre .elementor-item { font-size: 1rem !important; }
	.pb-logo img { width: 210px; }
}
@media (max-width: 1180px) {
	.pb-nav--barre .elementor-nav-menu--main > .elementor-nav-menu > li { margin-right: 14px; }
	.pb-nav--barre .elementor-nav-menu--main > .elementor-nav-menu > li + li::before { margin-right: 14px; }
	.pb-header .pb-header-droite > .e-con { gap: 14px; }
	.pb-logo img { width: 180px; }
	.pb-btn-header .elementor-button-text { font-size: 1rem; }
}
@media (max-width: 767px) {
	.pb-header.scrollHeader { --padding-top: 4px !important; --padding-bottom: 4px !important; }
	.pb-header.scrollHeader .pb-logo img { width: 130px; }
}
.pb-compteur { font-variant-numeric: tabular-nums; }

/* Sous-pages : liste numérotée, cartes « autres expertises », texte mixte */
.pb-numerotee { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; counter-reset: n; }
.pb-numerotee li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0 18px; border-top: 1px solid #d9d9d9; font-size: 1rem; line-height: 1.15; font-weight: 500; color: #484848; }
.pb-numerotee .pb-num { color: #007833; font-weight: 900; flex: none; width: 24px; }
@media (max-width: 767px) { .pb-numerotee { grid-template-columns: 1fr; } }
.pb-pile--realise-liste::before { border-radius: 35px; --pb-rot: -2.8deg; }
.pb-pile--realise-grille::before { border-radius: 35px; --pb-rot: 2.8deg; }
.pb-atout--mixte .pb-atout-texte, .pb-atout--mixte .pb-atout-texte p { font-weight: 500; }
.pb-atout--mixte .pb-atout-texte strong { font-weight: 700; }
.pb-pole--expertise .elementor-heading-title { font-size: 1.375rem !important; line-height: 1.1; }
.pb-pole--expertise.pb-pole::after { top: 18px; right: 18px; width: 40px; height: 40px; }
.pb-pole--blanc { background: #fff !important; border: 1px solid #e0e0e0; }
.pb-pole--blanc::after { background-image: url("assets/img/rond-fleche-vert.svg"); }
.pb-pole--blanc .elementor-heading-title, .pb-pole--blanc .elementor-widget-text-editor, .pb-pole--blanc .elementor-widget-text-editor p { color: #484848 !important; }
.pb-pole--expertise .pb-pole-photo { height: 150px; }
.pb-certifs--gauche { justify-content: flex-start; padding-left: 0 !important; margin-left: 0; }

/* Bandeau de certifications : sous le texte du hero en tablette et mobile */
@media (max-width: 1024px) {
	.e-con.pb-certifs, .pb-hero--pole .e-con.pb-certifs { position: static !important; width: 100% !important; max-width: 100%; height: auto; order: 5; padding: 14px 18px; flex-wrap: wrap !important; gap: 14px 16px !important; margin-top: 24px; }
	.pb-certifs .pb-sep-w { display: none; }
	.pb-certifs img { max-height: 40px; }
	.pb-ariane--hero { order: -1; }
}
@media (max-width: 767px) { .pb-certifs img { max-height: 32px; } }

/* Header : à 768 px et en dessous, l'appel remplace le numéro et le bouton (le devis reste dans le burger) */
@media (max-width: 768px) {
	.pb-header .pb-btn-header, .pb-header .pb-header-tel { display: none !important; }
	.pb-header .pb-appel { display: block !important; }
}

/* Boutons contour (« Voir plus de réalisations », « Voir plus », « Voir toutes les photos ») */
.pb-grille-real .elementor-button[role="button"], .pb-btn-contour .elementor-button {
	background: #fff !important; background-image: none !important; border: 1px solid #c6c6c6 !important; color: #009c3d !important; border-radius: 53px; padding: 5px 5.5px 5px 18px; font-weight: 700; margin-inline: auto; display: inline-flex;
}
.pb-grille-real .elementor-button[role="button"] .elementor-button-text { background: var(--pb-degrade); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pb-grille-real .elementor-button[role="button"]:hover { border-color: #007833 !important; box-shadow: 0 4px 16px rgba(0,120,51,.18); }
.pb-grille-real .e-load-more-anchor { text-align: center; }
/* Chiffres clés de la liste : chiffre vert en majuscules, puis description */
.pb-atout--chiffre .pb-atout-texte strong { display: block; color: #009c3d; font-size: 1.25rem; text-transform: uppercase; font-weight: 900; line-height: 1.15; margin-bottom: 6px; }
.pb-atout--chiffre .pb-atout-texte, .pb-atout--chiffre .pb-atout-texte p { font-weight: 900; }
.pb-atout--chiffre.pb-atout:hover .pb-atout-texte strong { color: #fff; }

/* Galerie du chantier : vignettes 433 x 320 arrondies */
.pb-galerie .gallery { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pb-galerie .gallery-item { width: 100% !important; max-width: none !important; margin: 0 !important; float: none !important; }
.pb-galerie .gallery-icon, .pb-galerie .gallery-icon a { display: block; }
.pb-galerie .gallery-icon img { width: 100%; height: auto; aspect-ratio: 433 / 320; object-fit: cover; border-radius: 25px; transition: transform .5s ease; }
.pb-galerie .gallery-icon a { overflow: hidden; border-radius: 25px; }
.pb-galerie .gallery-icon a:hover img { transform: scale(1.04); }
@media (max-width: 1024px) { .pb-galerie .gallery { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 767px) { .pb-galerie .gallery { grid-template-columns: 1fr; } }

/* Menu : « À propos » (ancre de l'accueil) n'est jamais actif */
.pb-nav a.elementor-item[href*="#a-propos"], .pb-nav a.elementor-item[href*="#a-propos"].elementor-item-active { color: #484848 !important; }
.pb-nav a.elementor-item[href*="#a-propos"]:hover { color: #007833 !important; }

/* ===== Corrections passe 1 des inspecteurs ===== */
/* FAQ : icônes + / - centrées dans leur cercle */
.pb-faq .logia-accordion__toggle-icon::before, .pb-faq .logia-accordion__toggle-icon::after { left: 50%; top: 50%; margin: -1px 0 0 -6px; transform: none; }
.pb-faq .logia-accordion__toggle-icon::after { transform: rotate(90deg); }
.pb-faq .logia-accordion__item.is-open .logia-accordion__toggle-icon::after { transform: rotate(0); }
.pb-faq .logia-accordion__toggle-icon { flex: none; box-sizing: border-box; min-width: 32px; }
/* Avis : auteur en majuscules, pastille Google empilée */
.pb-avis-auteur .elementor-heading-title { text-transform: uppercase; }
.pb-note-google { display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: 12px; row-gap: 0; justify-items: start; }
.pb-note-google img { grid-row: 1 / 3; }
.pb-note-lib { grid-column: 2; }
/* Pastille d'icône : le widget garde sa largeur (cartes de contact, fiche réalisation) */
.pb-pastille-w { flex: none; width: auto !important; }
.pb-pastille--verre { background: rgba(255, 255, 255, .3); width: 40px; height: 40px; }
.pb-pastille--verre img { width: 20px; height: 20px; }
.pb-chiffres-carte { background: linear-gradient(-81.97deg, #007030 .16%, #029f36 88.7%) !important; }
.mb-chiffres li strong { color: #fff; }
.mb-chiffres li { color: #60c081; }
.pb-info-carte .pb-info-titre .elementor-heading-title { text-transform: uppercase; }
/* Pied de page */
.pb-footer-trait { display: block; height: 1px; background: rgba(198, 198, 198, .5); margin: 0; width: 100%; }
.pb-footer-trait--bas { background: #fff; }
.pb-footer-trait-w { padding-inline: 36px; width: 100%; height: 1px; }
.pb-footer-bas { margin-inline: 0 !important; padding-inline: 40px !important; border-top: 0 !important; }
.pb-footer-lien .elementor-heading-title a, .pb-footer-lien .elementor-heading-title { font-weight: 500; }
.pb-footer-suivre { flex-wrap: nowrap !important; }
.pb-footer-suivre .elementor-widget-text-editor { flex: none; }
.pb-footer-suivre .elementor-widget-text-editor p { white-space: nowrap; }
/* Cartes de réalisations : voile sombre exact de la maquette */
.e-con.pb-real-carte::before { content: "" !important; display: block; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 1 !important; background: linear-gradient(-11.06deg, rgba(0, 0, 0, 0) 54.77%, rgba(0, 0, 0, .69) 107.27%); }
.e-con.pb-hero--photo::before { content: "" !important; display: block; opacity: 1 !important; background: linear-gradient(90deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .25) 65%, rgba(0, 0, 0, 0) 100%), linear-gradient(220.41deg, rgba(0, 0, 0, 0) 38.42%, rgba(0, 0, 0, .3) 100.16%); }
.pb-hero--photo .pb-ariane--hero { position: static !important; }
/* Hero de l'accueil en tablette et mobile : voile plus dense sous le texte */
@media (max-width: 1024px) { .e-con.pb-hero--accueil::before { background-image: linear-gradient(0deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .4) 55%, rgba(0, 0, 0, .12) 100%) !important; } .pb-hero--accueil { background-position: 62% 50% !important; } }
/* Rangées de cartes à défilement tactile : marge à gauche et trois cartes entières en tablette */
@media (max-width: 1024px) {
	.pb-atouts-rangee { margin-inline: 0 !important; padding-inline: 0 !important; scroll-padding-left: 0; }
	.pb-atouts-rangee .pb-atout { flex: 0 0 calc((100% - 32px) / 3); }
}
@media (max-width: 767px) { .pb-atouts-rangee .pb-atout { flex: 0 0 min(260px, 72%); } }
/* Formulaire de contact : case à cocher, flèche de la liste, mention « champs obligatoires » */
.pb-form input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 20px !important; height: 20px !important; min-height: 0 !important; padding: 0 !important; border: 1.5px solid #c6c6c6 !important; border-radius: 5px !important; background: #fff; cursor: pointer; position: relative; flex: none; }
.pb-form input[type="checkbox"]:checked { background: #007833; border-color: #007833 !important; }
.pb-form input[type="checkbox"]:checked::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pb-form .elementor-field-type-acceptance label, .pb-form .elementor-field-type-acceptance { font-weight: 500; color: #484848; }
.pb-form .elementor-field-type-acceptance a { color: #007833; text-decoration: underline; }
.pb-form select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 256 256' fill='%23007833'%3E%3Cpath d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80A8 8 0 0 1 48 88h160a8 8 0 0 1 5.66 13.66z'/%3E%3C/svg%3E") no-repeat right 18px center; }
.pb-form .elementor-field-type-submit { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; }
.pb-form .elementor-field-type-submit::before { content: "* Champs obligatoires"; font-size: 1rem; font-weight: 500; color: #484848; flex: none; }
.pb-form textarea { min-height: 107px; }
/* Bouton « Voir plus » du texte replié : pilule contour centrée */
.pb-real-detail .lwfc__btn { display: inline-flex; align-items: center; gap: 10px; margin: 18px auto 0; padding: 8px 8px 8px 18px; border: 1px solid #c6c6c6; border-radius: 53px; background: #fff; color: #009c3d; font-weight: 700; font-size: 1.125rem; }
.pb-real-detail .lwfc__btn::after { content: ""; width: 30px; height: 30px; background: url("assets/img/rond-fleche-vert.svg") no-repeat center / contain; transform: rotate(135deg); }
.pb-real-detail .lwfc { text-align: center; }
.pb-real-detail .lwfc__content { text-align: left; }
.pb-real-detail h3 { font-size: 1.25rem; line-height: 1.2; }

/* ===== Corrections passe 1 (sous-pages) ===== */
.pb-pile::before { left: 0; top: 1%; width: 100%; height: 98%; transform: translateX(2.5%) rotate(var(--pb-rot, 6.35deg)); }
.pb-pile--onglet::before, .pb-pile--realise-liste::before { transform: translateX(-2.5%) rotate(var(--pb-rot)); width: 100%; height: 98%; left: 0; top: 1%; }
.pb-carte-logo { background: #fff; border-radius: 20px; overflow: hidden; backdrop-filter: blur(1.4px); padding: 10px 14px; box-sizing: border-box; }
.pb-carte-logo img { width: 100%; height: 100%; object-fit: contain; }
.pb-groupe .pb-pile img { object-position: 50% 80%; }
.e-con.pb-certifs.pb-certifs--statique { order: 0 !important; }
.pb-numerotee li { min-height: 80px; box-sizing: border-box; }
@media (max-width: 1024px) { .pb-ariane--hero { margin-bottom: 14px; } }
@media (max-width: 767px) {
	.pb-copyright { flex-direction: column !important; align-items: center; gap: 4px !important; }
	.pb-footer-lien .elementor-heading-title::after { content: none; }
	.pb-footer-bas { text-align: center; }
}
.pb-footer-trait-w { padding-inline: 75px; }
.pb-certifs--statique img { max-height: 62px; }
.pb-certifs--statique .pb-cert--aipr img { max-height: 56px; }
.pb-footer-suivre .elementor-widget, .pb-footer-suivre .pb-reseaux { width: auto !important; flex: none !important; max-width: none; }
.pb-footer-suivre { gap: 8px; }
.pb-info-carte > .e-con, .pb-info-carte .elementor-widget { min-width: 0; }
.pb-info-carte > .e-con { flex: 1 1 0; }
.pb-info-carte p, .pb-info-carte .elementor-heading-title { overflow-wrap: anywhere; }
