.fiche-metier { color: #192923; background: #f8f5ef; }
.dossier, .pied-metier { width: min(91%, 88rem); margin-inline: auto; }
.fiche-metier .dossier {
  padding-block: calc(var(--haut-barre) + var(--hauteur-barre) + clamp(24px, 4vw, 56px)) clamp(40px, 5vw, 82px);
}
.fil-metier, .pied-metier { display: flex; align-items: center; flex-wrap: wrap; column-gap: .7rem; }
.fil-metier { font-size: .95rem; color: #526055; }
.fil-metier a, .pied-metier a { display: inline-flex; align-items: center; min-height: 44px; }
.fil-metier a:last-child, .pied-metier a, .liens-chantiers a { text-decoration: underline; text-underline-offset: .23em; }
.ouverture-metier {
  display: grid; grid-template-columns: 1fr 1.06fr; align-items: center;
  gap: clamp(28px, 5vw, 90px); padding: 12px 0 clamp(30px, 4.5vw, 74px);
}
.intro-metier { padding-block: 12px; }
.repere-dossier {
  display: flex; align-items: center; gap: 9px;
  color: #993d22; font-size: .98rem; font-weight: 700; letter-spacing: .01em;
}
.repere-dossier::before { content: ''; width: 24px; height: 2px; background: #d54d29; }
.fiche-metier h1 {
  font: 700 clamp(2.6rem, 4.8vw, 4.75rem)/.99 var(--display); letter-spacing: -.055em;
  margin: .28em 0; white-space: normal; text-wrap: balance; color: #192923;
}
.chapeau-metier { max-width: 48ch; font-size: clamp(1.04rem, 1.4vw, 1.3rem); color: #445047; line-height: 1.52; }
.ct-fiche { min-height: 46px; margin-top: clamp(16px, 2vw, 28px); padding-inline: 20px; background: #aa401f; }
.image-chantier { border-radius: 6px; overflow: hidden; background: #20342c; }
.image-chantier img { display: block; width: 100%; height: clamp(210px, 24vw, 410px); object-fit: cover; }
.image-chantier figcaption {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  column-gap: .8rem; row-gap: 4px; padding: 12px 17px; color: #fffcf5; font-size: .93rem; line-height: 1.45;
}
.image-chantier a { color: #ffcfad; text-decoration: underline; text-underline-offset: .2em; font-weight: 700; }
.contenu-metier { display: grid; grid-template-columns: minmax(14rem, 1fr) minmax(0, 2.4fr); gap: clamp(35px, 6vw, 100px); border-top: 1px solid #b8bbae; padding-top: clamp(26px, 3.5vw, 60px); }
.lecture-metier { max-width: 52rem; }
.sommaire-metier { align-self: start; position: sticky; top: calc(var(--espace-barre) + 22px); }
.sommaire-metier p { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.sommaire-metier a { display: block; border-top: 1px solid #d2d3c8; padding: .8em 0; color: #445047; line-height: 1.35; }
.sommaire-metier a:hover, .fil-metier a:hover { color: #983b20; }
.lecture-metier h2 { font-size: clamp(1.8rem, 2.6vw, 2.65rem); line-height: 1.1; letter-spacing: -.045em; }
.intervention { padding-block: clamp(20px, 2.1vw, 32px); }
.intervention + .intervention { border-top: 1px solid #d0cfc2; }
.intervention, .questions-metier { scroll-margin-block-start: calc(var(--espace-barre) + 20px); }
.intervention h3 { font-size: clamp(1.22rem, 1.7vw, 1.65rem); margin: 0 0 .45em; line-height: 1.18; letter-spacing: -.035em; }
.intervention p, .questions-metier details p { font-size: clamp(1rem, 1.1vw, 1.12rem); line-height: 1.62; }
.intervention .legende-liens { font-size: .94rem; font-weight: 700; margin-top: 1.1em; }
.liens-chantiers { list-style: none; padding: 0; margin: .15em 0 0; }
.liens-chantiers a { display: inline-block; padding-block: .27em; font-weight: 700; color: #8d371e; line-height: 1.45; }
.questions-metier { margin-top: clamp(18px, 2.5vw, 38px); padding: clamp(18px, 3vw, 44px); border-radius: 6px; background: #20342c; color: #fffdf5; }
.questions-metier h2 { margin: 0 0 .65em; }
.questions-metier details { border-top: 1px solid #607268; }
.questions-metier summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 54px; padding-block: .85em; font: 700 1.02rem/1.35 var(--display); cursor: pointer; list-style: none; }
.questions-metier summary::-webkit-details-marker { display:none; }
.questions-metier summary::after { content: '+'; color: #ffc5a4; font-size: 1.4rem; }
.questions-metier details[open] summary::after { content: '−'; }
.questions-metier details p { padding: 0 0 18px; color: #eceee7; }
.pied-metier { justify-content: space-between; border-top: 1px solid #c8c8bc; padding: 12px 0 22px; color: #34493e; font-weight: 700; }
@media(max-width: 760px) {
  .fiche-metier .dossier { padding-top: calc(var(--hauteur-barre) + 24px); }
  .ouverture-metier, .contenu-metier { grid-template-columns: 1fr; gap: 18px; }
  .intro-metier { padding: 0; }
  .image-chantier img { height: auto; aspect-ratio: 1.85; }
  .contenu-metier { display: block; }
  .sommaire-metier { position: static; margin-bottom: 32px; }
  .intervention, .questions-metier { scroll-margin-block-start: 10px; }
  .dossier, .pied-metier { width: 91%; }
  .fiche-metier .dossier { background: transparent; }
}
