/* p3.css — refonte v2 des annuaires P3 gabarit g3 (pilote serrurier7j7.fr, 22/11/2026, sosa-0a).
   En-tête commun ag-hd collant + burger mobile, pied commun, harmonisation des pages héritées. */
html body header.p3-hd{position:sticky;top:0;z-index:60;box-shadow:0 1px 0 rgba(255,255,255,.06),0 6px 18px rgba(10,20,30,.18)}
html body header.p3-hd .ag-w{min-height:64px;flex-wrap:nowrap}
html body header.p3-hd .ag-logo{width:auto;margin-right:auto;background:#fff;border-radius:10px;padding:4px 10px}
html body header.p3-hd .ag-logo img{display:block;height:40px;width:auto}
html body header.p3-hd .ag-nav{display:flex}
html body header.p3-hd .ag-nav a,html body header.p3-hd .ag-dd>summary{color:#fff;background:none!important}
html body header.p3-hd .ag-dd ul{z-index:70;max-height:70vh;overflow:auto}
html body header.p3-hd .ag-dd ul a{background:none!important}
html body header.p3-hd .ag-dd li a:hover{background:var(--ag-mint)!important}
html body header.p3-hd .ag-cta-top{background:var(--ag-acc);border-color:var(--ag-acc);color:#fff;font-weight:700}
html body header.p3-hd .ag-cta-top:hover{background:#fff;color:var(--ag-ink);border-color:#fff}
.p3-burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;margin-left:8px;padding:0 11px;border:1px solid rgba(255,255,255,.28);border-radius:10px;background:transparent!important;cursor:pointer}
.p3-burger span{display:block;height:2px;border-radius:2px;background:#fff}
@media (max-width:980px){
 html body header.p3-hd .ag-w{flex-wrap:wrap}
 html body header.p3-hd .ag-nav{display:none;order:3;flex:0 0 100%;flex-direction:column;align-items:stretch;gap:0;overflow:visible;border-top:1px solid rgba(255,255,255,.14);padding:4px 0 10px;max-height:calc(100vh - 70px);overflow-y:auto}
 html body header.p3-hd.p3-open .ag-nav{display:flex}
 html body header.p3-hd .ag-dd{position:static}
 html body header.p3-hd .ag-dd>summary,html body header.p3-hd .ag-nav>a.ag-l{min-height:46px;padding:0 2px;font-size:15px;display:flex;align-items:center;border-bottom:1px solid rgba(255,255,255,.08)}
 html body header.p3-hd .ag-dd ul{position:static;min-width:0;max-height:none;box-shadow:none;background:rgba(255,255,255,.06);border-radius:10px;margin:4px 0 8px;padding:4px}
 html body header.p3-hd .ag-dd ul a{color:#fff!important;font-size:14px;min-height:40px;display:flex;align-items:center}
 .p3-burger{display:inline-flex;order:2}
 html body header.p3-hd .ag-cta-top{order:1;margin-left:auto;min-height:40px;padding:0 12px;font-size:12.5px}
}
@media (max-width:400px){html body header.p3-hd .ag-logo img{height:34px}html body header.p3-hd .ag-cta-top{padding:0 10px;font-size:12px}}
/* fil d'Ariane des pages héritées sous l'en-tête collant */
header.p3-hd+div.bg-white.border-b{border-color:rgba(0,0,0,.06)}
/* pied commun (pages qui n'avaient qu'un copyright) */
.p3-ft{background:var(--ag-ink2,#16222e);color:rgba(255,255,255,.78);margin-top:48px;padding:44px 0 26px;font-size:14px}
.p3-ft-g{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:28px}
.p3-ft h2{margin:0 0 12px;font:700 13px/1.2 var(--ag-disp);text-transform:uppercase;letter-spacing:.06em;color:#fff}
.p3-ft ul{list-style:none;margin:0;padding:0}
.p3-ft li a{display:inline-flex;align-items:center;min-height:32px;color:rgba(255,255,255,.78)}
.p3-ft li a:hover{color:#fff;text-decoration:underline}
.p3-ft-b{font:800 17px/1.2 var(--ag-disp);color:#fff;margin:0 0 8px}
.p3-ft-c{margin:30px 0 0;padding-top:18px;border-top:1px solid rgba(255,255,255,.12);font-size:13px;color:rgba(255,255,255,.6)}
@media (max-width:760px){.p3-ft-g{grid-template-columns:1fr 1fr}.p3-ft-g>div:first-child{grid-column:1/-1}}
/* accueil : sections d'origine conservées sous le nouveau haut de page */
.p3-home section#metiers,.p3-home section#villes{max-width:1240px}
.p3-home section[style*="2563EB"]{background:var(--ag-ink2)!important}
.p3-home section#villes .grid{gap:10px}
.p3-vl{display:flex;flex-direction:column;gap:2px;padding:12px 14px;background:#fff;border:1px solid rgba(22,34,46,.12);border-radius:10px;color:var(--ag-ink)}
.p3-vl b{font:700 14px/1.25 var(--ag-disp)}
.p3-vl span{font-size:12.5px;color:rgba(22,34,46,.68)}
.p3-vl:hover{border-color:var(--ag-acc);box-shadow:0 4px 14px rgba(22,34,46,.08)}
.p3-ft p{color:rgba(255,255,255,.74)!important}.p3-ft .p3-ft-b{color:#fff!important}.p3-ft .p3-ft-c{color:rgba(255,255,255,.62)!important}
