/* Réparation PC & Mac — compléments éditoriaux et diagnostic guidé */
body.page-pc-mac-manual main [id] {
  scroll-margin-top: 112px;
}

body.page-pc-mac-manual .pc-mac-workbench {
  padding-top: clamp(70px, 8vw, 118px);
  padding-bottom: clamp(70px, 8vw, 118px);
  border-bottom: 1px solid rgba(240, 236, 230, 0.12);
}

body.page-pc-mac-manual .pc-mac-workbench-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  border-top: 1px solid rgba(224, 164, 125, 0.28);
  border-left: 1px solid rgba(240, 236, 230, 0.12);
}

body.page-pc-mac-manual .pc-mac-workbench figure {
  margin: 0;
  min-width: 0;
  border-right: 1px solid rgba(240, 236, 230, 0.12);
  border-bottom: 1px solid rgba(240, 236, 230, 0.12);
  background: #0d0e0d;
  overflow: hidden;
}

body.page-pc-mac-manual .pc-mac-workbench img {
  display: block;
  width: 100%;
  height: clamp(330px, 38vw, 560px);
  object-fit: cover;
  transition: transform 850ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

body.page-pc-mac-manual .pc-mac-workbench figure:hover img {
  transform: scale(1.025);
}

body.page-pc-mac-manual .pc-mac-workbench figure:first-child img {
  object-position: center;
}

body.page-pc-mac-manual .pc-mac-workbench figure:last-child img {
  object-position: 58% center;
}

body.page-pc-mac-manual .pc-mac-workbench figcaption {
  display: grid;
  gap: 13px;
  min-height: 150px;
  padding: clamp(23px, 3vw, 34px);
  border-top: 1px solid rgba(224, 164, 125, 0.24);
}

body.page-pc-mac-manual .pc-mac-workbench figcaption span {
  color: #e0a47d;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.page-pc-mac-manual .pc-mac-workbench figcaption strong {
  max-width: 34ch;
  color: #f0ece6;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.24;
}

body.page-pc-mac-manual .pc-symptom-selector {
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(0, 1.22fr);
  border: 1px solid rgba(224, 164, 125, 0.28);
  background: #0b0c0b;
}

body.page-pc-mac-manual .pc-symptom-list {
  display: grid;
  align-content: start;
  border-right: 1px solid rgba(224, 164, 125, 0.24);
}

body.page-pc-mac-manual .pc-symptom-list button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 15px;
  min-height: 92px;
  padding: 17px 20px;
  border: 0;
  border-bottom: 1px solid rgba(240, 236, 230, 0.11);
  background: transparent;
  color: #aaa39c;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, padding-left 180ms ease;
}

body.page-pc-mac-manual .pc-symptom-list button:hover {
  color: #f0ece6;
  padding-left: 24px;
}

body.page-pc-mac-manual .pc-symptom-list button[aria-selected="true"] {
  background: #17130f;
  color: #e0a47d;
  box-shadow: inset 3px 0 0 #e0a47d;
}

body.page-pc-mac-manual .pc-symptom-list button > span {
  grid-row: 1 / 3;
  color: #c8845c;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

body.page-pc-mac-manual .pc-symptom-list button > strong {
  color: inherit;
  font-size: 1rem;
  line-height: 1.25;
}

body.page-pc-mac-manual .pc-symptom-list button > small {
  margin-top: 5px;
  color: #8f8983;
  font-size: 0.77rem;
  line-height: 1.45;
}

body.page-pc-mac-manual .pc-symptom-panel {
  display: flex;
  flex-direction: column;
  min-height: 554px;
  padding: clamp(32px, 5vw, 68px);
}

body.page-pc-mac-manual .pc-symptom-panel h3 {
  max-width: 14ch;
  margin: 24px 0 22px;
  color: #f0ece6;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

body.page-pc-mac-manual .pc-symptom-panel > p {
  max-width: 62ch;
  margin: 0;
  color: #aaa39c;
  font-size: 1rem;
  line-height: 1.75;
}

body.page-pc-mac-manual .pc-symptom-panel dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0;
}

body.page-pc-mac-manual .pc-symptom-panel dl div {
  padding: 16px 0;
  border-top: 1px solid rgba(224, 164, 125, 0.24);
  border-bottom: 1px solid rgba(240, 236, 230, 0.1);
}

body.page-pc-mac-manual .pc-symptom-panel dt {
  color: #c8845c;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.page-pc-mac-manual .pc-symptom-panel dd {
  margin: 8px 0 0;
  color: #d4cec7;
  line-height: 1.55;
}

body.page-pc-mac-manual .pc-symptom-panel > .btn {
  align-self: flex-start;
  margin-top: auto;
}

body.page-pc-mac-manual .pc-symptom-list button:focus-visible,
body.page-pc-mac-manual .pc-symptom-panel a:focus-visible {
  outline: 2px solid #e0a47d;
  outline-offset: -4px;
}

@media (max-width: 900px) {
  body.page-pc-mac-manual .pc-mac-workbench-grid,
  body.page-pc-mac-manual .pc-symptom-selector {
    grid-template-columns: 1fr;
  }

  body.page-pc-mac-manual .pc-mac-workbench img {
    height: clamp(300px, 60vw, 520px);
  }

  body.page-pc-mac-manual .pc-symptom-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid rgba(224, 164, 125, 0.24);
  }

  body.page-pc-mac-manual .pc-symptom-list button {
    border-right: 1px solid rgba(240, 236, 230, 0.11);
  }

  body.page-pc-mac-manual .pc-symptom-list button[aria-selected="true"] {
    box-shadow: inset 0 -3px 0 #e0a47d;
  }

  body.page-pc-mac-manual .pc-symptom-panel {
    min-height: 490px;
  }
}

@media (max-width: 560px) {
  body.page-pc-mac-manual .pc-mac-workbench-grid {
    gap: 16px;
    border: 0;
  }

  body.page-pc-mac-manual .pc-mac-workbench figure {
    border-left: 1px solid rgba(240, 236, 230, 0.12);
  }

  body.page-pc-mac-manual .pc-mac-workbench img {
    height: 280px;
  }

  body.page-pc-mac-manual .pc-symptom-list {
    grid-template-columns: 1fr;
  }

  body.page-pc-mac-manual .pc-symptom-list button {
    min-height: 80px;
  }

  body.page-pc-mac-manual .pc-symptom-panel {
    min-height: 0;
    padding: 28px 20px;
  }

  body.page-pc-mac-manual .pc-symptom-panel dl {
    grid-template-columns: 1fr;
    gap: 0;
  }

  body.page-pc-mac-manual .pc-symptom-panel > .btn {
    width: 100%;
  }
}
