@media screen {
  body.site-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
  }
  .site-body > #contenu { flex: 1 0 auto; }
  .site-body > :is(.site-header, .site-footer) { flex: none; }
}

.site-footer.tc-footer {
  padding: 0;
  color: #f5f8fc;
  background: #071b31;
  border-top: 4px solid #ffda1a;
}
.tc-footer .tc-footer-main {
  display: grid;
  grid-template-columns: minmax(13rem, 1.05fr) minmax(18rem, 1.6fr) minmax(9rem, .65fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(1.65rem, 4vw, 3.25rem);
}
.tc-footer-brand img {
  display: block;
  width: min(13rem, 100%);
  height: auto;
  padding: .6rem .8rem;
  border-radius: 5px;
  background: #fff;
}
.tc-footer-brand p { max-width: 27ch; margin: .85rem 0 0; color: #c1d1df; font-size: .94rem; line-height: 1.55; }
.tc-footer .tc-footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(1rem, 3.2vw, 3rem);
}
.tc-footer-heading {
  margin: .15rem 0 .45rem;
  color: #ffda1a;
  font: 700 1.28rem/1.15 "Barlow Condensed", Impact, sans-serif;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.tc-footer ul { list-style: none; margin: 0; padding: 0; }
.tc-footer a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  color: #f5f8fc;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}
.tc-footer a:hover { color: #ffda1a; }
.tc-footer a:focus-visible {
  outline: 3px solid #ffda1a;
  outline-offset: 3px;
  border-radius: 3px;
  box-shadow: none;
}
.tc-footer-socials svg { width: 1.1rem; height: 1.1rem; }
.tc-footer-bottom { border-top: 1px solid #34495e; background: #051525; }
.tc-footer-bottom > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  padding-block: .6rem;
}
.tc-footer-legal, .tc-footer .tc-footer-credit { display: flex; align-items: center; gap: .5rem 1rem; flex-wrap: wrap; }
.tc-footer-legal > span, .tc-footer-credit > span { color: #bed0df; font-size: .82rem; }
.tc-footer .tc-footer-legal a { font-size: .83rem; }
.tc-footer .tc-footer-credit { width: fit-content; max-width: min(100%, 19rem); }
.tc-footer-photos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 0;
  color: #f5f8fc;
  font-size: .84rem;
}
.tc-footer-photos > span:first-child { color: #bed0df; margin-inline-end: .25rem; }
.tc-footer .tc-footer-photos a { font-size: inherit; }
.tc-footer-credit img { display: block; width: min(12rem, 100%); height: auto; filter: invert(1); }
.tc-footer .tc-footer-credit:hover span { color: #ffda1a; }
@media (max-width: 830px) {
  .tc-footer .tc-footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
  .tc-footer-socials { grid-column: 1 / -1; display: flex; align-items: center; gap: .5rem 1.25rem; flex-wrap: wrap; }
  .tc-footer-socials .tc-footer-heading { margin: 0; }
  .tc-footer-socials ul { display: flex; gap: .5rem 1.1rem; flex-wrap: wrap; }
}
@media (max-width: 580px) {
  .tc-footer .tc-footer-main { grid-template-columns: 1fr; gap: 1.4rem; }
  .tc-footer-brand img { width: 11.8rem; }
  .tc-footer-brand p { max-width: 36ch; }
  .tc-footer .tc-footer-nav { gap: .7rem; }
  .tc-footer .tc-footer-socials { border-top: 1px solid #34495e; padding-top: .7rem; }
  .tc-footer-bottom > .container { display: grid; justify-content: start; gap: .2rem; }
  .tc-footer .tc-footer-credit { gap: .6rem; }
  .tc-footer-photos { column-gap: .3rem; }
}
