* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

:root {
  --spacing: 10px;
  --color-rouge: #ae2123;
  --color-gris-clair: #ededed;
  --color-gris-fonce: #858585;
  --color-link-rollover: #999;
  --color-btn-rollover: #BAF1CB;
  --color-bleu: #527bea
}

.container {
  max-width: 1850px;
  margin: 0 auto;
  font-family: BenchNine, sans-serif;
  font-size: 1.25em;
  line-height: 1.5
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem
}

h3 {
  font-size: 1.25rem;
  margin-bottom: .75rem
}

h4 {
  font-size: 1rem;
  margin-bottom: .5rem
}

h5 {
  font-size: .875rem;
  margin-bottom: .5rem
}

h6 {
  font-size: .75rem;
  margin-bottom: .5rem
}

p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: .5rem
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.logo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center
}

.logo {
  width: 100%;
  height: 100%;
  grid-column: 1
}

.logo-img {
  width: 20%;
  height: auto
}

.text-description {
  font-size: 3rem;
  color: var(--color-bleu);
  width: 100%;
  height: 100%;
  grid-column: 2;
  text-align: right;
  align-items: center;
  justify-content: end;
  display: flex
}

.menu {
  background-color: var(--color-rouge);
  padding: .2rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

nav {
  width: 100%
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  justify-content: start
}

.menu li {
  display: inline
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 4px;
  transition: background-color .3s ease
}

.menu a:hover {
  color: var(--color-link-rollover)
}

.search {
  display: flex;
  justify-content: flex-end;
  align-items: center
}

input {
  font-size: 1rem;
  margin: 0;
  padding: .5rem .7rem;
  border-radius: calc(var(--spacing) * 2);
  border: none;
  outline: none
}

input::placeholder {
  color: gray
}

.partie-centrale {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(1, auto);
  gap: 1rem;
  align-items: start;
  padding-top: 1rem
}

.la-une-gauche,
.la-une-droite {
  width: 100%;
  height: 100%
}

.la-une-gauche {
  grid-column: 1 / span 5;
  padding: 1rem
}

.la-une-droite {
  grid-column: 6 / span 3;
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.container-picture {
  display: flex;
}

.container-picture img {
  width: 100%;
  height: auto;
}

.btn-container {
  display: inline-block;
}

.btn-group {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0 1rem
}

.btn-group a {
  flex: 0 1 auto;
}

.link-more {
  color: var(--color-rouge);
  text-decoration: none;
  font-weight: 700;
  margin-left: .5rem
}

.link-more:hover {
  color: var(--color-link-rollover);
  text-decoration: underline
}

.btn-primary {
  background-color: var(--color-rouge);
  color: #fff;
  border: none;
  padding: .75rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color .3s ease;
  text-decoration: none
}

.btn-secondary {
  background-color: var(--color-bleu);
  color: #fff;
  border: none;
  padding: .75rem 2rem;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  border-radius: calc(var(--spacing) * 2);
  transition: background-color .3s ease
}

.btn-primary:hover {
  color: var(--color-link-rollover)
}

.btn-secondary:hover {
  background-color: var(--color-btn-rollover);
  color: var(--color-link-rollover)
}

.portfolio-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
  margin: 0;
}

.portfolio-content picture {
  display: block;
  width: 100%;
  position: relative;
}

.portfolio-content img {
  width: 100%;
  height: 100%;
  display: block;
}

.portfolio-content a {
  position: absolute;
  bottom: 50%;
  transform: translateY(50%);
  opacity: 0;
  z-index: 3
}

.portfolio-voile {
  position: absolute;
  inset: 2rem;
  transition: background-color .3s ease;
  background-color: #0000;
  z-index: 2
}

.portfolio-content:hover .portfolio-voile {
  background-color: #fff3;
  backdrop-filter: blur(2px);
  border: 1px solid var(--color-gris-clair)
}

.portfolio-content:hover a {
  opacity: 1
}

.portfolio-content a:hover {
  background-color: color-mix(in srgb, var(--color-gris-fonce) 90%, transparent);
  color: #fff
}

.shadow-box {
  padding: 1rem;
  border-radius: 3px;
  border: 1px solid var(--color-gris-clair);
  box-shadow: 3px 3px 2px 0 var(--color-gris-clair)
}

.pt-16 {
  padding-top: 2rem
}

.mb-1 {
  margin-bottom: 1rem
}

.mb-16 {
  margin-bottom: 2rem
}

table {
  width: 100%;
  margin-top: 1rem;
  border-spacing: 0
}

th {
  color: #fff
}

th,
td {
  padding: .5rem;
  text-align: center
}

th {
  background-color: var(--color-bleu)
}

tr:nth-child(2n) {
  background-color: var(--color-gris-fonce);
  color: #fff
}

tr:nth-child(odd) {
  background-color: #fff;
  color: #000
}

.partie-basse {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1rem;
  align-items: start;
  padding-top: 1rem
}

.article-extrait-1 {
  margin: 1rem 0;
  grid-column: 1 / span 4
}

.article-extrait-2 {
  margin: 1rem 0;
  grid-column: 5 / span 4
}

.img-partie-basse {
  width: 100%;
  height: 100%;
  justify-self: center
}

.colonnes-all {
  grid-column: 1 / span 8;
  text-align: start;
  margin-left: 0;
  margin-right: auto;
}

footer nav {
  max-width: 1850px;
  margin: 0 auto;
  width: 100%;
  background-color: var(--color-gris-clair)
}

footer nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 2rem 1rem
}

footer nav ul {
  grid-column: 1 / span 3
}

footer ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  gap: 1rem;
  list-style: none;
  padding: 0
}

footer ul li a {
  color: inherit;
  text-decoration: none
}

footer ul li a:hover {
  color: var(--color-link-rollover)
}

.footer-logo {
  grid-column: 4 / span 1;
  display: flex;
  align-items: start;
  justify-content: end;
  text-align: end
}

.footer-logo picture {
  display: block;
}

.footer-logo img {
  width: 80%;
  height: auto
}

@media(max-width:1850px) {
  footer nav {
    grid-template-columns: repeat(3, 1fr)
  }

  footer nav ul {
    grid-column: 1 / span 2
  }

  footer ul {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(8, auto)
  }

  .footer-logo {
    grid-column: 3 / span 1
  }
}

@media(max-width:940px) {
  .container {
    max-width: 940px;
    margin-right: .4rem;
    font-size: 1.5em
  }

  .menu {
    flex-direction: column
  }

  .menu ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: .2rem
  }

  .menu a {
    padding: 0
  }

  .search {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    padding: .2rem 0 0
  }

  .logo-container {
    display: block;
    justify-content: center;
    margin-bottom: 1rem
  }

  .logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center
  }

  .logo img {
    width: 30%;
    height: auto;
    margin: 0 auto;
    display: block
  }

  .text-description {
    font-size: 2rem;
    text-align: center;
    justify-content: center;
    align-items: center
  }

  .partie-centrale {
    grid-template-columns: repeat(1, auto);
    grid-template-rows: repeat(8, auto)
  }

  .la-une-gauche,
  .la-une-droite {
    grid-column: auto
  }

  .la-une-gauche {
    grid-row: 1 / span 4
  }

  .la-une-droite {
    grid-row: 5 / span 4
  }

  .btn-group {
    flex-direction: column;
    gap: 1rem
  }

  .btn-group a {
    text-align: center;
    margin: auto
  }

  .shadow-box {
    box-shadow: 5px 0 0 0 var(--color-gris-clair)
  }

  .partie-basse {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(3, auto)
  }

  .article-extrait-1,
  .article-extrait-2 {
    grid-column: auto;
    grid-row: auto
  }

  .colonnes-all {
    grid-column: 1 / span 1;
  }

  footer nav {
    grid-template-columns: repeat(2, 1fr)
  }

  footer nav ul {
    grid-column: 1 / span 1
  }

  footer ul {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(15, auto)
  }

  .footer-logo {
    grid-column: 2 / span 1
  }
}