/* Pages métier (gabarits page-<slug>.php, rendu inc/pages-metier.php). Complète css/accueil.css et css/devis.css, chargés avant.
   Classes nouvelles préfixées « mt- ». Seule animation : la barre mobile (désactivée si prefers-reduced-motion). */
.fx-metier .chapo{color:#4a4a44}
.fx-metier .mt-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Hero : aligné sur la grille (1080 px centré), fond gris pleine largeur */
.fx-metier .hero{padding-left:max(48px,calc((100% - 1080px)/2));padding-right:max(48px,calc((100% - 1080px)/2))}
.fx-metier .hero .mt-court{display:none}
.fx-metier .hero .mt-rea{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px 18px;font-size:14px;font-weight:600;color:#3d3d38}
.fx-metier .hero .mt-rea li{margin:0;padding-left:20px;position:relative}
.fx-metier .hero .mt-rea li:before{content:"";position:absolute;left:0;top:.45em;width:11px;height:6px;border-left:2.5px solid var(--vert-fonce);border-bottom:2.5px solid var(--vert-fonce);transform:rotate(-45deg)}

/* Liens : zones tactiles >= 44 px */
.fx-metier .mt-lien,.fx-metier .lien-t,.fx-metier .mt-ecrire a,.fx-metier .mt-lien-v{display:inline-flex;align-items:center;min-height:44px}
.fx-metier .mt-lien{text-decoration:underline;text-underline-offset:3px;color:var(--noir)}
.fx-metier .mt-lien:hover{color:var(--vert-fonce)}
.fx-metier .mt-suite{margin-top:14px}
.fx-metier .mt-suite-2{margin-top:0}

/* Cas : grille 3 x 2, 6e cellule = carte CTA */
.fx-metier .mt-cas{list-style:none;margin:0 0 12px;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.fx-metier .mt-cas li{background:#fff;border:1px solid var(--trait);border-top:4px solid var(--mt-c,#201f1b);border-radius:var(--r);padding:20px 22px;margin:0}
.fx-metier .mt-cas h3,.fx-metier .mt-pq h3{font-size:19px;margin-bottom:6px;display:flex;align-items:center;gap:10px}
.fx-metier .mt-cas h3{font-size:18px}
.fx-metier .mt-ico{display:inline-flex;flex:none}
.fx-metier .mt-cas p{font-size:15px;color:#3d3d38}
.fx-metier .mt-cas li.mt-cas-cta{background:#201f1b;border-color:#201f1b;display:flex;flex-direction:column;justify-content:center;gap:6px}
.fx-metier .mt-cas-t{font:600 22px/1.2 Oswald,sans-serif;color:#fff!important}
.fx-metier .mt-cas-cta p{color:#fff}
.fx-metier .mt-lien-v{color:#a6d800;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.fx-metier .mt-lien-v:hover{color:#c4f000}
.fx-metier .mt-autres{margin-top:4px;font-size:14px;color:var(--doux)}

/* Loi : encadré centré, puces aux couleurs de tri */
.fx-metier .mt-loi{max-width:820px;margin:0 auto;background:#fff;border:1px solid var(--trait);border-left:5px solid var(--noir);border-radius:var(--r);padding:28px 30px}
.fx-metier .mt-loi ul{list-style:none;margin:14px 0;padding:0}
.fx-metier .mt-loi li{margin:0 0 10px;padding-left:24px;position:relative;font-size:15.5px}
.fx-metier .mt-loi li:before{content:"";position:absolute;left:0;top:.5em;width:10px;height:10px;border-radius:50%;background:#f2c200}
.fx-metier .mt-loi li:nth-child(2):before{background:#2f6fd6}
.fx-metier .mt-loi li:nth-child(3):before{background:#2e8b3e}
.fx-metier .mt-loi li:nth-child(4):before{background:#8a5a2b}
.fx-metier .mt-loi li:nth-child(5):before{background:#8d8d86}
.fx-metier .mt-reponse{font-size:17px;color:var(--noir)}
.fx-metier .mt-petit{font-size:14px;color:var(--doux);margin-bottom:6px}
.fx-metier .mt-detail{margin-top:6px}
.fx-metier .mt-detail summary{cursor:pointer;font-weight:700;color:var(--noir);min-height:44px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:3px}
.fx-metier .mt-detail[open] summary{margin-bottom:8px}

/* Tableaux */
.fx-metier .mt-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--trait);border-radius:var(--r);background:#fff}
.fx-metier .mt-scroll:focus-visible{outline:3px solid #1a73e8;outline-offset:2px}
.fx-metier .mt-table{width:100%;min-width:640px;border-collapse:collapse;font-size:15px;margin:0}
.fx-metier .mt-table th,.fx-metier .mt-table td{padding:13px 16px;text-align:left;vertical-align:top;border:0;border-bottom:1px solid var(--trait);line-height:1.4}
.fx-metier .mt-table thead th{background:var(--noir);color:#fff;font-weight:700;font-size:14px;border-bottom:0;white-space:nowrap}
.fx-metier .mt-table tbody th{font-weight:700;color:var(--noir);background:transparent}
.fx-metier .mt-table tbody tr:nth-child(even) th,.fx-metier .mt-table tbody tr:nth-child(even) td{background:var(--gris)}
.fx-metier .mt-table tbody tr:last-child th,.fx-metier .mt-table tbody tr:last-child td{border-bottom:0}
.fx-metier .mt-table-prix thead th:last-child,.fx-metier .mt-table-prix td:last-child{text-align:right;white-space:nowrap}
.fx-metier .mt-table-prix td:last-child{font-weight:700;color:var(--noir)}
.fx-metier .mt-note{margin-top:14px;font-size:14px;color:var(--doux);max-width:760px}
.fx-metier .mt-cta{margin-top:26px;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;background:#eef6d6;border:1px solid #d6e6a0;border-radius:var(--r);padding:20px 24px}
.fx-metier .mt-cta p{max-width:620px}

/* Prix : exemple + carte CTA */
.fx-metier .mt-prix-g{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;align-items:stretch;margin-top:26px}
.fx-metier .mt-exemple{margin:0;background:#fff;border:1px solid var(--trait);border-left:6px solid var(--vert);border-radius:var(--r);padding:22px 26px;box-shadow:0 2px 12px rgba(0,0,0,.05)}
.fx-metier .mt-exemple h3{font-size:22px;margin-bottom:10px}
.fx-metier .mt-exemple ul{list-style:none;margin:0;padding:0}
.fx-metier .mt-exemple li{margin:0;padding:9px 0;border-bottom:1px solid var(--trait);font-size:15.5px}
.fx-metier .mt-exemple .mt-total{font-size:15.5px;padding-bottom:9px}
.fx-metier .mt-exemple .mt-total b{font:600 26px/1.2 Oswald,sans-serif;color:var(--noir)}
.fx-metier .mt-exemple .mt-livr{border-bottom:0;padding-bottom:0;font-size:14px;color:#3d3d38}
.fx-metier .mt-cta-c{background:#201f1b;color:#fff;border-radius:var(--r);padding:28px 28px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:14px}
.fx-metier .mt-cta-c h3{font-size:24px;color:#fff}
.fx-metier .mt-cta-c p{color:#f4f4f1;font-size:15.5px}
.fx-metier .mt-cta-c .btn-v{background:var(--vert);color:var(--noir)!important}
.fx-metier .mt-cta-c .mt-cta-rea{font-size:14px;color:#cfcfc6}
.fx-metier .mt-mention{margin-top:20px;font-size:14px;color:#3d3d38;max-width:760px}

/* Cartes produits */
.fx-metier .mt-produits{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:6px}
.fx-metier .mt-prod{display:flex;flex-direction:column;text-decoration:none;background:#fff;border:1px solid var(--trait);border-radius:var(--r);overflow:hidden}
.fx-metier .mt-prod:hover,.fx-metier .mt-prod:focus-visible{border-color:var(--noir)}
.fx-metier .mt-prod-im{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;background:#ebebe6;overflow:hidden;padding:24px}
.fx-metier .mt-prod-im img{width:100%;height:100%;object-fit:contain;display:block;mix-blend-mode:multiply}
.fx-metier .mt-prod-t{display:flex;flex-direction:column;gap:4px;padding:16px 18px 18px;flex:1}
.fx-metier .mt-prod-t b{font:600 20px/1.2 Oswald,sans-serif;color:var(--noir)}
.fx-metier .mt-prod-t em{font-style:normal;font-size:13px;color:#4a4a44;font-weight:600}
.fx-metier .mt-prod-t span{font-size:14.5px;color:#3d3d38;margin-top:4px}
.fx-metier .mt-prod-t i{font-style:normal;font-weight:700;font-size:14px;color:var(--vert-fonce);margin-top:auto;padding-top:8px}

/* Conseils */
.fx-metier .mt-duo{display:grid;grid-template-columns:5fr 6fr;gap:48px;align-items:center}
.fx-metier .mt-photo{border-radius:var(--r);overflow:hidden;aspect-ratio:4/5;background:#e4e4de}
.fx-metier .mt-photo img{width:100%;height:100%;object-fit:cover;object-position:var(--mt-pos,50% 50%);display:block}
.fx-metier .mt-conseils{list-style:none;margin:0;padding:0}
.fx-metier .mt-conseils li{margin:0;padding:14px 0;border-top:1px solid #d6d6cf;font-size:15.5px;color:#3d3d38}
.fx-metier .mt-conseils li:last-child{border-bottom:1px solid #d6d6cf}
.fx-metier .mt-conseils b{color:var(--noir)}

/* Pourquoi 5flux : fond sombre */
.fx-metier .bloc.mt-pourquoi{background:#201f1b;padding-top:96px;padding-bottom:96px}
.fx-metier .mt-pourquoi h2,.fx-metier .mt-pourquoi h3{color:#fff}
.fx-metier .mt-pq{list-style:none;margin:32px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.fx-metier .mt-pq li{margin:0}
.fx-metier .mt-pq h3{flex-direction:column;align-items:flex-start;gap:12px}
.fx-metier .mt-pq p{color:rgba(244,244,241,.85);font-size:15px}

/* FAQ */
.fx-metier .mt-faq{max-width:820px}
.fx-metier .mt-faq .titre-s{margin-bottom:14px}

/* Formulaire */
.fx-metier .mt-final{background:#eef6d6}
.fx-metier .mt-final-g{display:grid;grid-template-columns:1fr 1.25fr;gap:48px;align-items:start}
.fx-metier .mt-final-t{align-self:start}
.fx-metier .mt-final-t h2:focus{outline:none}
.fx-metier .mt-final-t h2:focus-visible{outline:3px solid #1a73e8;outline-offset:4px}
.fx-metier .mt-final-t p{margin-bottom:14px;color:#2b2b28}
.fx-metier .mt-final-t .rea{color:#3d3d38;font-size:14px}
.fx-metier .mt-etapes{list-style:none;margin:20px 0;padding:0;display:grid;gap:14px}
.fx-metier .mt-etapes li{display:flex;align-items:center;gap:14px;margin:0;font-weight:600;color:var(--noir)}
.fx-metier .mt-etapes i{flex:none;width:32px;height:32px;border-radius:50%;background:var(--mt-c);color:#fff;font:600 16px/32px Oswald,sans-serif;font-style:normal;text-align:center}
.fx-metier .mt-etapes li:first-child i{color:#201f1b}
.fx-metier .mt-ecrire{font-size:15px}
.fx-metier .mt-ecrire a{font-weight:700;text-decoration:underline}
.fx-metier .form .aide{font-size:14px;margin:0 0 8px}
.fx-metier .form .rgpd{font-size:14px;gap:12px;align-items:flex-start}
.fx-metier .form .rgpd input{width:24px;height:24px;margin-top:10px}
.fx-metier .form .rgpd label{padding:10px 0;min-height:44px}
.fx-metier .form .rgpd label a{display:inline-block;padding:4px 0}
.fx-metier .form .rgpd-long,.fx-metier .form .msg-err,.fx-metier .form .rea{font-size:14px}
.fx-metier .form .champ-aide{display:block}

/* Barre CTA mobile */
.flux-barre-metier{display:none}
body.cookies-not-set .flux-barre-metier{display:none!important}

@media (max-width:860px){
.fx-metier .hero{padding-left:18px;padding-right:18px}
.fx-metier .hero .mt-rea{flex-direction:column}
.fx-metier .mt-cas{grid-template-columns:1fr;gap:10px}
.fx-metier .mt-cas li{padding:14px 16px}
.fx-metier .mt-cas h3{font-size:17px;margin-bottom:2px}
.fx-metier .mt-cas p{font-size:14px}
.fx-metier .mt-cas li.mt-cas-cta{gap:2px}
.fx-metier .mt-loi{padding:20px 18px}
.fx-metier .mt-prix-g{grid-template-columns:1fr}
.fx-metier .mt-cta-c .btn{width:100%}
.fx-metier .mt-cta .btn{width:100%;justify-content:center;text-align:center}
.fx-metier .mt-duo{grid-template-columns:1fr;gap:24px}
.fx-metier .mt-photo{aspect-ratio:4/3}
.fx-metier .mt-exemple{padding:18px}
.fx-metier .mt-final-g{grid-template-columns:1fr;gap:24px}
.fx-metier .mt-final-t{position:static}
.fx-metier .bloc.mt-pourquoi{padding-top:64px;padding-bottom:64px}
.fx-metier .mt-pq{grid-template-columns:1fr 1fr;gap:22px 16px}
.fx-metier .mt-pq h3{flex-direction:row;align-items:center;gap:8px;font-size:16px}
.fx-metier .mt-pq .mt-ico svg{width:20px;height:20px}
.fx-metier .mt-pq p{font-size:14px}
/* Produits : une colonne, image 96 px à gauche */
.fx-metier .mt-produits{grid-template-columns:1fr;gap:12px}
.fx-metier .mt-prod{flex-direction:row;align-items:stretch}
.fx-metier .mt-prod-im{flex:0 0 96px;width:96px;aspect-ratio:auto;padding:10px}
.fx-metier .mt-prod-t{padding:12px 14px}
.fx-metier .mt-prod-t b{font-size:18px}
.fx-metier .mt-prod-t span{font-size:14px;margin-top:2px}
/* Barre */
.flux-barre-metier{display:block;position:fixed;left:0;right:0;bottom:0;z-index:99990;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -4px 16px rgba(32,31,27,.14);transform:translateY(100%);visibility:hidden;transition:transform .25s ease,visibility .25s}
.flux-barre-metier.is-visible{transform:none;visibility:visible}
.flux-barre-metier .btn{width:100%;min-height:48px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;font:700 15px "Open Sans",sans-serif;background:#a6d800;color:#201f1b!important;text-decoration:none}
body.has-flux-barre-metier{padding-bottom:72px}
}
@media (prefers-reduced-motion:reduce){.flux-barre-metier{transition:none}}

/* Tableaux sur mobile : plus de défilement ni d'étiquettes répétées */
@media (max-width:600px){
.fx-metier .mt-scroll{border:0;background:transparent;overflow:visible}
.fx-metier .mt-table,.fx-metier .mt-table tbody{display:block;min-width:0;width:100%}
.fx-metier .mt-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.fx-metier .mt-table tbody tr{display:grid;column-gap:12px;padding:12px 0;border-bottom:1px solid #e4e4de}
.fx-metier .mt-table tbody tr:last-child{border-bottom:0}
.fx-metier .mt-table th,.fx-metier .mt-table td{display:block;padding:0;border:0;background:transparent!important;min-width:0}
/* Prix : nom + prix, usage dessous */
.fx-metier .mt-table-prix tbody tr{grid-template-columns:1fr auto;grid-template-areas:"n p" "u u"}
.fx-metier .mt-table-prix tbody th{grid-area:n;font-size:15px;font-weight:700}
.fx-metier .mt-table-prix td:nth-child(2){grid-area:u;font-size:13px;color:#6b6b64;margin-top:2px}
.fx-metier .mt-table-prix td:last-child{grid-area:p;font:600 18px/1.2 Oswald,sans-serif;color:#201f1b;text-align:right;white-space:normal}
/* Repères : espace + repère, puis ce qu'on y jette, puis modèles */
.fx-metier .mt-table-reperes tbody tr{grid-template-columns:1fr;row-gap:2px}
.fx-metier .mt-table-reperes tbody th{font-size:16px}
.fx-metier .mt-table-reperes td{font-size:14.5px}
.fx-metier .mt-table-reperes td:nth-child(2){font-size:13px;color:#6b6b64}
.fx-metier .mt-table-reperes td:nth-child(4){font-size:13px;color:#4a4a44}
.fx-metier .mt-table-reperes td:nth-child(4):before{content:"Modèles : ";font-weight:700}
.fx-metier .mt-table-reperes td:nth-child(3){order:-1;font-weight:600}
.fx-metier .mt-table-reperes th{order:-2}
/* Hero */
.fx-metier .hero .marque{font-size:12px;flex-wrap:nowrap;white-space:nowrap;gap:8px}
.fx-metier .hero .mt-long{display:none}
.fx-metier .hero .mt-court{display:inline}
.fx-metier .hero .mt-rea{font-size:13px}
.fx-metier .hero .photo{aspect-ratio:16/9}
.fx-metier .mt-exemple h3{font-size:19px}
}
@media (max-width:600px){.fx-metier .mt-autres{display:flex;flex-direction:column}.fx-metier .mt-sep{display:none}}
/* Collectivités : critères du bloc extérieur, avis Chorus Pro au-dessus du formulaire */
.fx-metier .mt-criteres{margin:0 0 28px}
.fx-metier .mt-avis{margin:14px 0;padding:12px 16px;border-left:4px solid var(--vert);background:#fff;color:#3d3d38;font-size:14.5px;line-height:1.5}
.fx-metier .mt-duo-prod{grid-template-columns:6fr 5fr;align-items:center;margin-bottom:8px}
.fx-metier .mt-photo.mt-photo-43{aspect-ratio:4/3}
@media (max-width:860px){.fx-metier .mt-duo-prod{grid-template-columns:1fr;gap:20px}}
