/* Footer shared by every page: who we are, the four expertises, the studio, how to reach us.
   On the page's 12-column grid: the identity takes four columns; the three link blocks share columns 5 to 12,
   the first on column 5 (where the case-study texts start), the last flush right, with the same gap between them.
   A thin rule above, a second one before the legal line. */
.pied { display: grid; padding-top: clamp(40px, 4.4vw, 64px); border-top: 1px solid var(--ink); }
/* right after a colour band the band's own edge is the separation: no rule */
:is(.band-bleu, .suite) + .pied { border-top: 0; }
.pied-haut, .pied-bas { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; }
.pied-haut { row-gap: 36px; padding-bottom: clamp(36px, 4vw, 56px); }

.pied-marque { grid-column: 1 / span 4; display: grid; gap: 20px; align-content: start; }
.pied-logo { display: block; width: 116px; }
.pied-logo svg { display: block; width: 100%; height: auto; fill: var(--ink); }
.pied-marque p { max-width: 17em; font: 400 clamp(19px, 1.5vw, 22px)/1.25 var(--display); letter-spacing: -.015em; text-wrap: balance; }

/* the three link blocks: as wide as their longest line, equal space between them */
.pied-liens { grid-column: 5 / -1; display: flex; justify-content: space-between; gap: 32px; }

.pied-col { display: grid; gap: 14px; align-content: start; }
.pied-col > p { font: 400 13px/1.35 var(--mono); text-transform: uppercase; letter-spacing: .02em; color: var(--mute); }
.pied-col ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.4; }

/* links: a hairline draws in from the left on hover; the out-arrows lift a little */
.pied a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--open); }
.pied a:focus-visible { background-size: 100% 1px; }
@media (hover: hover) { .pied a:hover:not([data-clic]) { background-size: 100% 1px; } }
.pied .ar { display: inline-block; margin-left: .3em; transition: translate .35s var(--open); }
@media (hover: hover) { .pied a:hover:not([data-clic]) .ar { translate: 2px -2px; } }

.pied-bas { row-gap: 10px; align-items: baseline; padding-block: 16px 28px; border-top: 1px solid rgba(0, 0, 0, .14); font: 400 12px/1.35 var(--mono); text-transform: uppercase; letter-spacing: .02em; color: var(--mute); }
.pied-bas > :nth-child(1) { grid-column: 1 / span 4; }
.pied-bas .reseaux { grid-column: 5 / span 4; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.pied-bas .legal { grid-column: 9 / -1; justify-self: end; text-align: right; }
.pied-bas a { color: var(--ink); }

@media (max-width: 1100px) {
  .pied-marque, .pied-liens { grid-column: 1 / -1; }
  .pied-bas > :nth-child(1) { grid-column: 1 / span 4; }
  .pied-bas .reseaux { grid-column: 5 / -1; justify-content: flex-end; }
  .pied-bas .legal { grid-column: 1 / -1; justify-self: start; text-align: left; }
}
@media (max-width: 760px) {
  .pied-haut { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  /* each block over the full width, so no expertise breaks; the studio's four short links sit two by two */
  .pied-marque, .pied-liens { grid-column: 1 / -1; }
  .pied-liens { flex-direction: column; gap: 32px; }
  .pied-stu ul { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .pied-bas { grid-template-columns: 1fr; }
  .pied-bas > * { grid-column: 1 / -1 !important; justify-self: start !important; justify-content: flex-start !important; text-align: left !important; }
}

/* ---------- The blue contact band above the footer, shared tweaks ----------
   (each page still sets the band itself; these win because they are more specific) */
.band-bleu > .wrap.contact { padding-block: clamp(56px, 6.5vw, 108px) clamp(24px, 3vw, 40px); gap: 24px; }
.band-bleu > .wrap.contact h2 { font-size: clamp(44px, 6.6vw, 112px); }
.band-bleu > .wrap.contact .mono a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--open); }
.band-bleu > .wrap.contact .mono a:focus-visible { background-size: 100% 1px; }
@media (hover: hover) { .band-bleu > .wrap.contact .mono a:hover:not([data-clic]) { background-size: 100% 1px; } }
/* the button: black, and on hover the off-white of the page with black words (blue would vanish into the band) */
.band-bleu > .wrap.contact .bar.dark:focus-visible { background: var(--warm); color: var(--ink); }
@media (hover: hover) { .band-bleu > .wrap.contact .bar.dark:hover:not([data-clic]) { background: var(--warm); color: var(--ink); } }
