.terrain-intro{max-width:780px;line-height:1.7}.terrain-topics{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 36px}.terrain-topics a{border:1px solid #b7d2d0;border-radius:30px;padding:10px 16px;font-size:14px}.terrain-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.terrain-card{background:#edf5f3;border-radius:0 26px 0 26px;overflow:hidden;scroll-margin-top:190px}.terrain-card img{width:100%;height:290px;object-fit:contain;background:#dce7e5;display:block}.terrain-card>div{padding:24px}.terrain-card h3{font-size:23px;line-height:1.25}.terrain-card p{line-height:1.65}.terrain-card a{color:inherit}.terrain-card>div>a{font-weight:600;color:#086b78}.terrain-topics a:hover{background:#dceeea}@media(max-width:1000px){.terrain-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.terrain-grid{grid-template-columns:1fr}.terrain-card img{height:320px}}

.project-stories{display:grid;gap:36px;margin-top:36px}.project-story{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:36px;padding:28px;background:#edf5f3;border-radius:0 28px 0 28px;scroll-margin-top:180px}.project-story figure{margin:0}.project-story img{width:100%;height:350px;object-fit:contain;background:#dce7e5}.project-story figcaption{font-size:12px;padding-top:10px}.project-story h3{font-size:28px;line-height:1.25}.project-story p{line-height:1.7}.project-story .button{margin-top:12px}@media(max-width:760px){.project-story{grid-template-columns:1fr;padding:20px;gap:20px}.project-story img{height:270px}.project-story h3{font-size:25px}}
.terrain-grid-pairs{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:30px}@media(max-width:650px){.terrain-grid-pairs{grid-template-columns:1fr}}

/* Ajustement de lecture — 29 octobre 2026 */
.be-references #terrain-en-images,.be-references #details-terrain,.be-references #projets-techniques{scroll-margin-top:150px}
.be-references .sl-section>h2{max-width:850px;line-height:1.18}
.be-references .sl-section>p:not(.eyebrow){max-width:800px;line-height:1.7}
.terrain-grid{gap:28px;align-items:stretch}
.terrain-card{display:flex;flex-direction:column;border:1px solid #dce7e3;background:#f0f5f2}
.terrain-card>div{display:flex;flex:1;flex-direction:column;padding:25px 26px;gap:12px}
.terrain-card>div>p,.terrain-card h3{margin:0}
.terrain-card h3{font-size:clamp(21px,2vw,26px);line-height:1.25;overflow-wrap:normal}
.terrain-card .eyebrow{font-size:10px;letter-spacing:.12em;line-height:1.5}
.terrain-card>div>a{margin-top:auto;padding-top:12px;font-size:14px;line-height:1.5}
.terrain-card img{height:300px;padding:12px;box-sizing:border-box;background:#e1eae6}
.terrain-card>div>p:not(.eyebrow){font-size:16px;line-height:1.65}
.terrain-grid-pairs .terrain-card{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
.terrain-grid-pairs .terrain-card>a{display:flex;align-items:center;background:#e1eae6}
.terrain-grid-pairs .terrain-card img{height:350px}
.project-story{gap:32px;padding:30px}
.project-story>div{align-self:center;min-width:0}
.project-story h3{margin:12px 0 22px;font-size:clamp(24px,3vw,32px)}
.project-story .button{white-space:normal;line-height:1.5}
.real-case h3{font-size:22px;line-height:1.3;margin:0 0 6px}.real-case{padding:26px}.real-number{font-size:42px}
@media(max-width:1150px){.terrain-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.terrain-grid-pairs .terrain-card{display:flex}.terrain-grid-pairs .terrain-card>a{display:block}.terrain-grid-pairs .terrain-card img{height:300px}}
@media(max-width:800px){.terrain-grid,.terrain-grid-pairs{grid-template-columns:1fr;gap:24px}.terrain-card>div{padding:24px}.terrain-card img,.terrain-grid-pairs .terrain-card img{height:330px}.terrain-card h3{font-size:25px}.terrain-topics{gap:8px}.terrain-topics a{font-size:13px;padding:9px 13px}.project-story{padding:22px;grid-template-columns:1fr}.project-story img{height:300px}.project-story h3{font-size:26px}.be-references .sl-section{padding-top:42px;padding-bottom:42px}}
@media(max-width:420px){.terrain-card img,.terrain-grid-pairs .terrain-card img{height:290px}.terrain-card>div{padding:22px}.terrain-card h3{font-size:23px}.project-story{padding:18px}.project-story img{height:260px}}

/* Contraste des petits titres sur les fonds clairs — 29 octobre 2026 */
.be-references .eyebrow{color:#086b78}


/* Parcours et visionneuse — 29 octobre 2026 */
.reference-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-top:18px;padding-bottom:18px}
.reference-paths>a{display:flex;flex-direction:column;gap:14px;padding:25px;background:#fff;border:1px solid #c9dcd8;border-top:3px solid #086b78;text-decoration:none;color:#102c3e;border-radius:0 18px 0 18px}
.reference-paths span{font-size:11px;letter-spacing:.08em;color:#086b78;font-weight:600}.reference-paths strong{font-size:23px;line-height:1.25}.reference-paths small{font-size:14px;line-height:1.5}.reference-paths b{float:right;color:#086b78}.reference-paths>a:hover{background:#e6efed}
.be-references a:focus-visible,.terrain-lightbox button:focus-visible{outline:3px solid #08769d;outline-offset:5px}
.be-references #retour-experience{scroll-margin-top:150px}.gallery-hint{font-size:14px;color:#49616a}
.terrain-card>a:hover img{filter:brightness(1.05)}
.terrain-lightbox{border:0;padding:22px;background:#f6f7f3;color:#102c3e;border-radius:16px;max-width:94vw;width:1000px;max-height:92vh;box-sizing:border-box;overflow:auto}
.terrain-lightbox::backdrop{background:rgba(11,32,56,.88)}.terrain-lightbox-close{display:block;margin:0 0 16px auto;background:#0b2038;color:#fff;border:0;border-radius:6px;padding:12px 20px;cursor:pointer;font:inherit}
.terrain-lightbox figure{margin:0}.terrain-lightbox img{display:block;max-width:100%;max-height:70vh;width:auto;height:auto;object-fit:contain;margin:auto}.terrain-lightbox figcaption{padding:16px 0 0;line-height:1.5;text-align:center}
@media(max-width:800px){.reference-paths{grid-template-columns:1fr;gap:12px}.reference-paths>a{padding:20px;gap:8px}.reference-paths strong{font-size:22px}.terrain-lightbox{padding:16px}}
.terrain-lightbox{margin:auto}

/* Réalisations regroupées par métier — 30 octobre 2026 */
.metier-nav{display:flex;flex-wrap:wrap;gap:10px;padding-block:8px 20px}.metier-nav a{padding:13px 18px;border:1px solid #bdd0d8;border-radius:0 14px 0 14px;background:white;color:#102c3e;font-weight:600;font-size:15px;text-decoration:none}.metier-nav a:hover{background:#dce9ef}.metier-section{border-top:1px solid #cbd9df;scroll-margin-top:140px}.metier-section>.terrain-grid{margin-top:24px}.metier-subtitle{font-size:23px;margin-top:30px;line-height:1.3}.metier-anchor{display:block;scroll-margin-top:150px}.metier-section .project-story h3{font-size:26px}@media(max-width:760px){.metier-nav{gap:8px}.metier-nav a{flex:1 1 150px;padding:12px;font-size:14px}.metier-section{scroll-margin-top:30px}}
