/* Content pages (Agence web en Valais, Réalisations, projects): legal.css + this */
.pg-hd { position: sticky; top: 0; z-index: 5; background: rgba(246, 241, 231, .92); backdrop-filter: blur(10px); }
.pg-nav { display: flex; align-items: center; gap: 6px; }
.pg-nav a:not(.lg-back) { font-weight: 600; font-size: 15px; text-decoration: none; padding: 10px 14px; border-radius: 99px; }
.pg-nav a:not(.lg-back):hover, .pg-nav a[aria-current] { background: rgba(20, 18, 21, .07); }
.pg { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 5vh var(--m) 10vh; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--mute); list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { color: inherit; text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--encre); }
.pg h1 { margin-top: 26px; max-width: 16ch; font-family: var(--disp); font-variation-settings: "wdth" 125; font-weight: 800; font-size: clamp(42px, 7vw, 104px); line-height: .93; letter-spacing: -.05em; }
.pg h1 em { font-style: normal; background: linear-gradient(transparent 58%, var(--framboise) 58%, var(--framboise) 92%, transparent 92%); padding: 0 .04em; }
.lead { margin-top: 28px; max-width: 46ch; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.45; font-weight: 500; }
.pg h2 { margin-top: 80px; max-width: 22ch; font-family: var(--disp); font-variation-settings: "wdth" 118; font-weight: 800; font-size: clamp(30px, 3.8vw, 52px); line-height: 1; letter-spacing: -.04em; }
.pg h3 { font-family: var(--disp); font-variation-settings: "wdth" 112; font-weight: 760; font-size: 22px; letter-spacing: -.02em; }
.pg p { max-width: 64ch; }
.pg h2 + p, .pg p + p, .pg h2 + ul, .pg p + ul, .pg ul + p { margin-top: 16px; }
.pg ul.dots { list-style: none; display: grid; gap: 10px; max-width: 64ch; }
.pg ul.dots li { position: relative; padding-left: 26px; }
.pg ul.dots li::before { content: ""; position: absolute; left: 0; top: .45em; width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--framboise); }
.pg a { font-weight: 650; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pg-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.pg-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 99px; background: var(--encre); color: var(--creme); font-weight: 650; text-decoration: none !important; transition: background .25s, color .25s; }
.pg-btn:hover, .pg-btn:focus-visible { background: var(--framboise); color: var(--encre); }
.pg-btn.alt { background: transparent; color: var(--encre); box-shadow: inset 0 0 0 2px var(--encre); }
.pg-btn.alt:hover { background: var(--encre); color: var(--creme); }
.pg-btn svg { width: 20px; height: 20px; }
/* three offers */
.offers { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.offer-c { padding: 28px 26px 30px; border-radius: 26px; }
.offer-c.o1 { background: var(--framboise); } .offer-c.o2 { background: var(--pistache); } .offer-c.o3 { background: var(--encre); color: var(--creme); }
.offer-c h3 { font-size: 28px; line-height: 1; }
.offer-c p { margin-top: 14px; font-size: 16px; }
.offer-c ul { margin-top: 16px; list-style: none; display: grid; gap: 7px; font-size: 15px; font-weight: 550; }
.offer-c li::before { content: "→ "; }
/* project cards */
.projs { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.proj { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; text-decoration: none !important; color: inherit; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.proj:hover, .proj:focus-visible { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(20, 18, 21, .14); }
.proj img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: #e9e2d4; }
.proj div { padding: 20px 22px 24px; }
.proj b { display: block; font-family: var(--disp); font-variation-settings: "wdth" 115; font-weight: 800; font-size: 26px; letter-spacing: -.03em; }
.proj span { display: block; margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--mute); }
.proj i { display: inline-block; margin-top: 14px; font-style: normal; font-weight: 650; font-size: 15px; }
/* towns */
.towns { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; max-width: 820px; }
.towns li { padding: 10px 18px; border-radius: 99px; background: #fff; font-weight: 600; font-size: 16px; }
.towns li.is-main { background: var(--encre); color: var(--creme); }
/* steps */
.steps { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; padding: 24px; border-radius: 22px; background: #fff; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-weight: 800; font-size: 14px; color: var(--framboise); letter-spacing: .06em; }
.steps b { display: block; margin-top: 8px; font-family: var(--disp); font-variation-settings: "wdth" 112; font-weight: 760; font-size: 21px; }
.steps span { display: block; margin-top: 4px; font-size: 15.5px; color: var(--mute); }
/* FAQ */
.faq { margin-top: 26px; display: grid; gap: 10px; max-width: 860px; }
.faq details { border-radius: 20px; background: #fff; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; padding: 20px 24px; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 500; font-size: 26px; line-height: .8; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; margin: 0; font-size: 16.5px; }
/* project page */
.facts-row { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.facts-row li { padding: 9px 16px; border-radius: 99px; background: #fff; font-size: 15px; font-weight: 600; }
.facts-row li b { color: var(--mute); font-weight: 600; margin-right: 6px; }
.shots { margin-top: 44px; display: grid; grid-template-columns: 1fr 240px; gap: 18px; align-items: start; }
.shots.one { grid-template-columns: 1fr; }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 24px 50px rgba(20, 18, 21, .14); background: #e9e2d4; }
.shots .m img { border-radius: 26px; border: 7px solid var(--encre); }
.shots figcaption { margin-top: 10px; font-size: 14px; color: var(--mute); }
.two-col { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.two-col h3 { margin-top: 0; }
.next { margin-top: 90px; padding-top: 28px; border-top: 1px solid rgba(20, 18, 21, .14); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.next a { text-decoration: none; }
.next small { display: block; font-size: 14px; color: var(--mute); font-weight: 500; }
.next b { font-family: var(--disp); font-variation-settings: "wdth" 115; font-size: 28px; letter-spacing: -.03em; }
.pg-cta { margin-top: 90px; padding: clamp(30px, 5vw, 60px); border-radius: 32px; background: var(--encre); color: var(--creme); }
.pg-cta h2 { margin-top: 0; color: var(--creme); }
.pg-cta p { color: rgba(246, 241, 231, .78); }
.pg-cta .pg-btn { background: var(--framboise); color: var(--encre); }
.pg-cta .pg-btn:hover { background: var(--creme); }
.pg-cta .pg-btn.alt { background: transparent; color: var(--creme); box-shadow: inset 0 0 0 2px var(--creme); }
.pg-cta .pg-btn.alt:hover { background: var(--creme); color: var(--encre); }
.clients-row { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.clients-row a { display: block; padding: 12px 18px; border-radius: 16px; background: #fff; text-decoration: none; font-weight: 650; }
.clients-row a:hover { background: var(--encre); color: var(--creme); }
.clients-row small { display: block; font-weight: 500; font-size: 13px; color: var(--mute); }
.clients-row a:hover small { color: rgba(246, 241, 231, .7); }
.ft-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 900px) {
  .offers, .projs, .steps { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; } .shots .m { max-width: 260px; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .pg-nav a:not(.lg-back) { display: none; }
}
