/* Photographies et compositions éditoriales */
.city-photo .agency-exterior-lille{object-position:center top}
.map-agency-panel .agency-exterior-lille{height:auto;aspect-ratio:2/1;object-position:center top}
.city-photo .agency-exterior-paris{object-position:50% 70%}
.map-agency-panel .agency-exterior-paris{height:auto;aspect-ratio:2/1;object-position:50% 70%}
.map-agency-panel .agency-exterior-morlaix{height:auto;aspect-ratio:2/1;object-position:center}
.skip-link:not(:focus){clip-path:inset(50%);width:1px;height:1px;overflow:hidden;padding:0;white-space:nowrap}
.page-hero-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:42px;align-items:center}
.with-photo .page-hero-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.page-hero-photo{width:100%;height:340px;object-fit:cover;border-radius:26px;box-shadow:0 24px 70px rgba(0,0,0,.2)}
.page-hero.with-photo{padding-top:140px;padding-bottom:70px}.with-photo h1{font-size:clamp(2rem,3.7vw,3.2rem)}
.editorial-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:70px;align-items:start}
.editorial-lead{font-size:1.13rem;line-height:1.85}.expertise-scope{padding:34px;background:var(--mint);border:1px solid var(--line);border-radius:24px}
.expertise-scope h2{color:var(--deep);margin:16px 0 24px;font-size:1.6rem}.expertise-scope ul{display:grid;gap:16px;margin-bottom:30px;line-height:1.7;color:#4a5d55}
.expertise-scope li{padding-left:22px;position:relative}.expertise-scope li::before{content:'→';position:absolute;left:0;color:var(--deep)}
.process-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.page-content>.process-grid{margin-top:70px}
.process-grid article{padding:26px;border-top:2px solid var(--leaf);background:rgba(255,255,255,.7);border-radius:0 0 18px 18px}
.process-number{display:block;font-family:'Space Grotesk';font-size:2rem;color:#ad591b;margin-bottom:20px}.process-grid h3{color:var(--deep);font-size:1.15rem;margin-bottom:12px}.process-grid p{color:#54655d;line-height:1.75}
.photo-story{background:var(--cream)}.story-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:60px;align-items:center}
.story-layout h2{font-size:clamp(1.8rem,3vw,2.4rem);color:var(--deep);line-height:1.2;margin:18px 0}.story-layout p{line-height:1.8;color:#54655d}
.photo-pair{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:20px}.photo-pair img{width:100%;height:360px;object-fit:cover;border-radius:20px}
figcaption{font-size:.86rem;line-height:1.6;color:#54655d;margin-top:12px}.preparation{margin-top:28px;border-top:1px solid var(--line);padding-top:20px}.preparation summary{cursor:pointer;font-weight:600;color:var(--deep)}.preparation ul{list-style:disc;padding-left:20px;margin-top:18px;line-height:1.8;color:#54655d}
.project-photo .detail-photo{max-height:620px}.team-strip{background:var(--deep);color:white}.team-strip .story-layout h2{color:white}.team-strip .story-layout p{color:rgba(255,255,255,.8)}
.filter-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) auto;gap:18px;align-items:end;padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--mint);margin-bottom:22px}.filter-bar label{font-weight:600;color:var(--deep);font-size:.9rem}.filter-field{display:grid;gap:8px}.filter-field select,.filter-field input{width:100%;min-width:0;padding:13px;border:1px solid var(--line);border-radius:10px;background:white;font:inherit}.results-meta{display:flex;gap:18px;justify-content:space-between;flex-wrap:wrap;margin:20px 0 30px;color:#54655d}.results-meta a{text-decoration:underline;color:var(--deep)}
/* Carte : les repères sont de vrais liens, enrichis en commandes avec JS. */
.map-section{background:var(--mint)}.map-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:44px;align-items:center}.map-figure{position:relative;max-width:600px;width:100%;margin:auto}.map-figure>svg{width:100%;height:auto;display:block}.map-land{fill:#fff;stroke:#8cb3cd;stroke-width:2}.map-route{fill:none;stroke:var(--leaf);stroke-width:2;stroke-dasharray:4 7;opacity:.55}
.map-marker{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px;color:var(--deep);font-family:'Space Grotesk';font-weight:700;font-size:.9rem}.marker-dot{width:14px;height:14px;border-radius:50%;background:var(--deep);border:3px solid white;box-shadow:0 0 0 2px var(--deep)}.map-marker[aria-pressed=true] .marker-dot{background:var(--leaf);box-shadow:0 0 0 4px rgba(244,162,89,.3)}.map-marker[aria-pressed=true]{color:#9b4e14}.marker-label{background:rgba(255,255,255,.9);padding:4px 8px;border-radius:8px;white-space:nowrap}.map-caption{max-width:540px;margin:12px auto 0;font-size:.82rem;line-height:1.6;color:#54655d}
.map-agency-panel{background:white;border:1px solid var(--line);border-radius:24px;overflow:hidden}.map-agency-panel+.map-agency-panel{margin-top:20px}.map-agency-panel img{width:100%;height:220px;object-fit:cover}.map-panel-body{padding:30px}.map-panel-body h3{font-size:1.7rem;color:var(--deep);margin:12px 0}.map-panel-body p{color:#54655d;line-height:1.7;margin-bottom:16px}.map-panel-body address{font-style:normal;color:#54655d;line-height:1.8;margin:16px 0}.map-panel-body .section-actions{gap:10px}.map-panel-body .btn{font-size:.88rem;padding:12px 18px}
/* Prototype pédagogique : animation pilotée selon visibilité et préférence. */
.map-figure{max-width:520px;background:radial-gradient(ellipse at center,rgba(255,255,255,.7),transparent 70%)}
.map-figure .map-land{fill:#fff;stroke:#609bc2;stroke-width:1.35;stroke-linejoin:round}
.map-guide{fill:none;stroke:#94b8d0;stroke-width:.7;stroke-dasharray:2 7;opacity:.45}
.map-figure .map-route{stroke:#d87922;stroke-width:1.8;stroke-dasharray:none;opacity:.8}
.map-country-label{fill:#486b84;font-family:'Space Grotesk',sans-serif;font-size:14px;letter-spacing:4px}
.map-country-note{fill:#546b7d;font-size:11px;letter-spacing:1px}
.map-marker{top:calc(var(--y) - 7px);transform:translateX(-50%);padding:0;gap:7px;font-size:clamp(.72rem,1.2vw,.9rem)}
.marker-label{box-shadow:0 3px 12px rgba(10,61,98,.08);border:1px solid rgba(10,61,98,.08)}
.map-marker:is(:hover,:focus-visible) .marker-label{border-color:var(--leaf);background:#fff7ec}
.map-figure .marker-label{background:transparent;border:0;border-radius:0;box-shadow:none;padding:2px 0;text-shadow:0 1px 3px rgba(255,255,255,.9)}
.map-figure .map-marker:is(:hover,:focus-visible) .marker-label{background:transparent;border-color:transparent;color:#9b4e14}
/* Les fiches partagent une cellule : leur hauteur maximale est réservée avant sélection. */
.js .map-layout{align-items:start}
.js .map-panels{display:grid;align-items:stretch}
.js .map-panels .map-agency-panel{grid-area:1/1;margin-top:0;align-self:stretch}
.js .map-panels .map-agency-panel[data-active=false]{visibility:hidden;pointer-events:none}
.ventilation-section{background:var(--deep-2);color:white}.ventilation-section .section-head h2{color:white}.ventilation-section .section-head p{color:rgba(255,255,255,.8)}.ventilation-section .eyebrow{color:white;border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.08)}
.ventilation-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:30px;align-items:start}.vent-diagram{padding:20px;border-radius:24px;background:#f4f7fa;overflow:hidden}.vent-diagram svg{width:100%;height:auto;display:block}.vent-diagram text{font-family:'Space Grotesk',sans-serif;font-size:20px;fill:var(--deep)}.vent-diagram .small-label{font-size:16px}.building-outline{fill:white;stroke:#9ab6c9;stroke-width:2}.air-base{fill:none;stroke-width:14;stroke-linecap:round;opacity:.17}.air-flow{fill:none;stroke-width:5;stroke-linecap:round;stroke-dasharray:7 13;animation:air-travel 2.5s linear infinite;animation-play-state:paused}.fresh-air{stroke:#2172af}.used-air{stroke:#b95c12}.heat-energy{fill:none;stroke:#b95c12;stroke-width:3;stroke-dasharray:5 6;animation:air-travel 4s linear infinite;animation-play-state:paused}.ventilation-demo.is-animating .air-flow,.ventilation-demo.is-animating .heat-energy{animation-play-state:running}@keyframes air-travel{to{stroke-dashoffset:-80}}
.ventilation-demo[data-flow=fresh] .used-air,.ventilation-demo[data-flow=extract] .fresh-air{opacity:.13}.ventilation-demo[data-flow=heat] .heat-energy{stroke-width:6}.vent-legend{display:flex;flex-wrap:wrap;gap:20px;color:var(--deep);font-size:.86rem;padding:10px}.vent-legend span::before{content:'';display:inline-block;width:20px;height:4px;margin-right:8px;vertical-align:middle;background:#2172af}.vent-legend span:last-child::before{background:#b95c12}
.vent-controls{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}.vent-controls button{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:10px 16px;color:white;font-weight:600;font-size:.85rem}.vent-controls button[aria-pressed=true]{background:var(--leaf);color:var(--deep-2);border-color:var(--leaf)}.vent-explanation{padding:28px;border:1px solid rgba(255,255,255,.2);border-radius:20px;background:rgba(255,255,255,.05)}.vent-explanation h3{font-size:1.4rem;margin-bottom:18px}.vent-explanation p{line-height:1.8;color:rgba(255,255,255,.85)}.motion-button{font-size:.82rem;color:inherit;background:none;border:1px solid currentColor;padding:9px 14px;border-radius:999px;margin-top:20px}.motion-button:disabled{opacity:.6;cursor:default}.diagram-note{font-size:.84rem;margin-top:20px;line-height:1.6;color:rgba(255,255,255,.75)}
/* Parcours de demande : tout est accessible sans JavaScript. */
.project-page{background:var(--cream)}.project-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:50px;align-items:start}.project-intro h2{font-size:2rem;color:var(--deep);line-height:1.2;margin:18px 0}.project-intro p{color:#54655d;line-height:1.8;margin-bottom:20px}.project-intro img{width:100%;height:280px;border-radius:20px;object-fit:cover;margin-top:26px}.project-form#contact-form{display:block;background:white;padding:clamp(22px,4vw,40px)}.project-form fieldset{border:0;padding:0;margin:28px 0}.project-form legend{font-family:'Space Grotesk';font-weight:700;font-size:1.4rem;color:var(--deep);margin-bottom:20px}.step-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.wizard-progress{display:flex;gap:8px;list-style:none;margin-bottom:25px}.wizard-progress li{flex:1;padding:10px 8px;border-radius:10px;background:var(--mint);color:var(--deep);font-size:.8rem;text-align:center}.wizard-progress li[aria-current=step]{background:var(--deep);color:white}.wizard-actions{display:flex;justify-content:space-between;gap:14px;margin-top:24px}.wizard-actions .btn{padding:12px 20px}.project-summary{background:var(--mint);padding:20px;border-radius:14px;margin-bottom:25px}.project-summary dl{display:grid;grid-template-columns:auto 1fr;gap:10px 18px;line-height:1.6;font-size:.9rem}.project-summary dt{font-weight:600;color:var(--deep)}.project-summary dd{color:#54655d}.agency-suggestion{margin:14px 0;color:#54655d;font-size:.87rem;line-height:1.6}.guided-link{grid-column:1/-1;padding-top:4px;color:var(--deep);font-size:.9rem;line-height:1.6}.guided-link a{text-decoration:underline}.is-paused *,.is-paused *::before,.is-paused *::after{animation-play-state:paused!important}
@media(max-width:980px){.with-photo .page-hero-layout,.editorial-grid,.story-layout,.map-layout,.ventilation-layout,.project-layout{grid-template-columns:1fr}.page-hero-photo{height:300px}.editorial-grid,.story-layout{gap:36px}.process-grid{grid-template-columns:1fr}.map-figure{max-width:470px}.project-intro img{max-width:500px}.filter-bar{grid-template-columns:1fr 1fr}.filter-bar .btn{grid-column:1/-1;justify-self:start}.photo-pair img{height:300px}}
@media(max-width:560px){.page-hero-photo{height:230px}.filter-bar,.step-fields{grid-template-columns:1fr}.filter-bar .btn{width:100%;justify-content:center}.page-hero.with-photo{padding-top:120px;padding-bottom:50px}.map-panel-body{padding:22px}.vent-diagram{padding:8px}.vent-explanation{padding:22px}.wizard-progress li{font-size:.73rem;padding:10px 3px}.project-summary dl{grid-template-columns:1fr;gap:4px}.project-summary dd{margin-bottom:10px}.expertise-scope{padding:24px}}
@media(prefers-reduced-motion:reduce){.air-flow,.heat-energy{animation:none!important}}
.wizard-actions #wizard-next{margin-left:auto}
@media(max-width:560px){.vent-diagram text{font-size:28px}.vent-diagram .small-label{font-size:24px}}
