.presentation {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem);
  border-bottom: var(--trait);
}

.presentation__grille {
  display: grid;
  gap: 3rem;
}

@media (min-width: 62rem) {
  .presentation__grille {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: end;
    gap: 4rem;
  }
}

.presentation__identite {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 5.5rem;
}

.portrait {
  flex: none;
  width: 5.5rem;
  height: 5.5rem;
  border: var(--trait);
  box-shadow: 0.4rem 0.4rem 0 var(--jaune);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.presentation h1 {
  margin: 1.25rem 0 1.5rem;
  font-size: clamp(3.4rem, 11vw, 7.25rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.presentation h1 span {
  display: inline-block;
  padding-inline: 0.04em;
  background: linear-gradient(transparent 68%, var(--jaune) 68%, var(--jaune) 92%, transparent 92%);
}

.presentation__introduction {
  max-width: 36em;
  font-size: clamp(1.125rem, 1.8vw, 1.3rem);
  line-height: 1.55;
  color: var(--encre-douce);
}

.presentation__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.cartouche {
  border: var(--trait);
  background: var(--papier);
}

.cartouche__titre {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.6rem 1rem;
  background: var(--encre);
  color: var(--papier);
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cartouche__titre h2 {
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: inherit;
}

.cartouche__titre span {
  color: var(--jaune);
}

.cartouche__ligne {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem 1rem 1.4rem;
}

.cartouche__ligne + .cartouche__ligne {
  border-top: 1px solid var(--encre);
}

.cartouche__ligne h3 {
  font-size: 1.25rem;
}

.cartouche__date {
  font-size: 1.125rem;
}

.cartouche__date strong {
  font-weight: 600;
}

.cartouche__detail {
  font-size: 0.975rem;
  line-height: 1.5;
  color: var(--encre-douce);
}

.cote {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 2.4rem;
  border-inline: 1.5px solid var(--encre);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M0 5 10 1v8z' fill='%23111111'/%3E%3C/svg%3E") left center / 0.6rem 0.6rem no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M10 5 0 1v8z' fill='%23111111'/%3E%3C/svg%3E") right center / 0.6rem 0.6rem no-repeat,
    linear-gradient(var(--encre), var(--encre)) center / 100% 1.5px no-repeat;
}

.cote span {
  padding: 0 0.65rem;
  background: var(--papier);
  font-family: var(--f-titre);
  font-size: clamp(1.6rem, 3.2vw, 2rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  border-bottom: var(--trait);
}

.section__tete {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section__tete::after {
  content: "";
  flex: 1;
  align-self: center;
  border-top: 1px solid currentColor;
}

.section__numero {
  font-family: var(--f-mono);
  font-size: 0.875rem;
  color: var(--gris);
}

.section__tete h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-transform: uppercase;
}

.parcours {
  padding: 0;
  list-style: none;
  border-top: var(--trait);
}

.parcours__etape {
  display: grid;
  gap: 0.6rem 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--ligne);
}

@media (min-width: 48rem) {
  .parcours__etape {
    grid-template-columns: 13rem minmax(0, 1fr);
  }
}

.parcours__date {
  padding-top: 0.4rem;
  font-family: var(--f-mono);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.parcours__badge {
  padding: 0.05rem 0.4rem;
  background: var(--jaune);
}

.parcours h3 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.parcours__lieu {
  margin: 0.35rem 0 0.8rem;
  font-weight: 600;
}

.parcours__details {
  padding-left: 1.1rem;
}

.parcours .fiche {
  max-width: 38rem;
}

.competences {
  display: grid;
  gap: 2rem;
}

@media (min-width: 40rem) {
  .competences {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 68rem) {
  .competences {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.competence {
  padding-top: 1.1rem;
  border-top: var(--trait);
}

.competence h3 {
  margin-bottom: 1.1rem;
  font-size: 1.6rem;
  text-transform: uppercase;
}

.competence__vedette {
  margin-bottom: 1.4rem;
  padding: 1rem 1.1rem;
  border: var(--trait);
  background: var(--jaune);
}

.competence__nom {
  margin-bottom: 0.2rem;
  font-family: var(--f-titre);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
}

.competence__sous-titre {
  margin-bottom: 0.7rem;
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--encre-douce);
}

.interets {
  gap: 0.8rem;
}

.interets__nom {
  display: block;
  font-weight: 600;
}

.interets__detail {
  display: block;
  font-size: 0.9375rem;
  color: var(--encre-douce);
}

.contact__introduction {
  max-width: 36em;
  font-size: clamp(1.125rem, 2vw, 1.3rem);
  color: #e6e6e6;
}

.contact__courriel {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--jaune);
  font-family: var(--f-titre);
  font-size: clamp(2rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.12em;
  overflow-wrap: anywhere;
}

.contact__courriel:hover {
  color: var(--papier);
  text-decoration-color: var(--papier);
}

.contact__liste {
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #4a4a4a;
}

.contact__liste dt {
  margin-bottom: 0.3rem;
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gris-sur-noir);
}

.contact__liste dd {
  font-size: 1.125rem;
  overflow-wrap: anywhere;
}

.parcours__categorie {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--encre-douce);
}

.apercus {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.apercu {
  display: grid;
  border: var(--trait);
  background: var(--papier);
}

@media (min-width: 62rem) {
  .apercu {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
}

.apercu__image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  background: var(--papier-2);
  border-bottom: var(--trait);
}

@media (min-width: 62rem) {
  .apercu__image {
    border-bottom: 0;
    border-right: var(--trait);
  }
}

.apercu__image .photo {
  align-self: stretch;
  width: 100%;
}

.apercu__image .photo a {
  height: 100%;
  border: 0;
  cursor: pointer;
}

.photo--apercu img {
  height: 100%;
  min-height: 12rem;
  aspect-ratio: 16 / 10;
}

.apercu__corps {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.apercu__type {
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--encre-douce);
}

.apercu__corps h3 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.apercu__resume {
  color: var(--encre-douce);
}

.apercu__suite {
  padding: 0.55rem 0.9rem;
  border-left: 4px solid var(--jaune);
  background: var(--papier-2);
  font-size: 0.975rem;
}

.apercu__action {
  margin-top: 0.4rem;
}

.apercus__suite {
  margin-top: 2rem;
}
