/* Composants communs des pages retenues et de leurs maquettes. */
.hb-content-page {
  --hb-font-size-h1: var(--hb-font-size-h1-desktop);
  --hb-font-size-h2: var(--hb-font-size-page-h2);
  --hb-font-size-h3: var(--hb-font-size-page-h3);
  --hb-page-top-space: 150px;
  padding-top: var(--hb-page-top-space);
  background: var(--hb-color-paper);
  color: var(--hb-color-ink);
}
.hb-contact,
.hb-document,
.hb-contact-review {
  font: 400 var(--hb-font-size-text-sm)/1.65 var(--hb-font-body);
}
.hb-content-page [hidden] {
  display: none !important;
}
.hb-contact svg,
.hb-document svg,
.hb-contact-review svg {
  display: block;
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hb-content-page .hb-page-intro__eyebrow > svg {
  width: 18px;
  height: 18px;
  fill: var(--hb-color-orange);
  stroke: none;
}
.hb-page-intro__eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.5;
}
.hb-page-intro__lead {
  font-size: 17px;
  line-height: 1.75;
  font-weight: 300;
  max-width: 580px;
}
.hb-page-intro__index {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hb-page-intro__button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 52px;
  padding: 15px 20px;
  border-radius: var(--hb-radius-button);
  background: var(--hb-color-forest);
  color: var(--hb-color-paper);
  font: 400 13px/1.5 var(--hb-font-body);
  text-align: left;
  cursor: pointer;
}
.hb-page-intro__button svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s var(--hb-ease);
}
.hb-page-intro__button:hover svg {
  transform: translateX(4px);
}
.hb-contact {
  --hb-contact-top-space: 55px;
  padding: var(--hb-contact-top-space) var(--hb-gutter) 80px;
}
.hb-contact .hb-contact__title {
  font: 500 clamp(65px, 6.6vw, 108px)/0.99 var(--hb-font-heading);
  letter-spacing: -0.06em;
}
.hb-contact .hb-contact__title em {
  color: #738467;
}
.hb-contact__mascot {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1;
  margin: 22px 0 0;
}
.hb-contact__mascot > img,
.hb-contact__mascot > video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hb-contact__mascot--letter {
  width: 260px;
  flex: none;
  margin: 0;
  align-self: center;
}
.hb-contact__mascot--vine {
  --hb-mascot-width: 300px;
  --hb-vine-top-space: 60px;
  width: var(--hb-mascot-width);
  aspect-ratio: 2 / 3;
  align-self: flex-start;
  margin-top: calc(
    var(--hb-vine-top-space) - var(--hb-page-top-space) - var(--hb-contact-top-space)
  );
}
.hb-contact__mascot--vine::before {
  /* Raccord fixe de la même image ; le personnage reste sous le header. */
  content: '';
  position: absolute;
  inset: calc(-1 * var(--hb-vine-top-space)) 0 auto;
  height: var(--hb-vine-top-space);
  background: url('/assets/media/contact/mascot-phone-vine-v2.webp') center top / 100% calc(var(--hb-mascot-width) * 3) no-repeat;
  transform: scaleY(-1);
  pointer-events: none;
}
.hb-contact__numbers {
  display: grid;
  gap: 0;
  margin-top: 34px;
}
.hb-contact__numbers a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 15px;
  padding: 16px 0;
  border-top: 1px solid #10211924;
}
.hb-contact__numbers a > span {
  font-size: 10px;
  color: var(--hb-color-muted);
}
.hb-contact__numbers a > strong {
  font-size: 17px;
  font-weight: 400;
  grid-column: 1;
}
.hb-contact__numbers a > svg {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  width: 18px;
  height: 18px;
}
.hb-contact-form-wrap {
  padding: 34px;
  border-radius: 20px;
  background: #f5f6ef;
  min-width: 0;
}
.hb-contact-form {
  display: grid;
  gap: 23px;
  min-width: 0;
}
.hb-contact-form .hb-contact-form__title {
  font-size: 30px;
  line-height: 1.1;
  margin-bottom: 2px;
}
.hb-contact-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  display: grid;
  gap: 18px;
}
.hb-contact-form legend {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 13px;
  padding: 0;
}
.hb-contact-form__details > legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.hb-contact-form__project > .hb-contact-form__services {
  gap: 0;
}
.hb-contact-form__project > legend {
  display: none;
}
.hb-contact-form__services > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hb-contact-form__services label {
  position: relative;
  cursor: pointer;
}
.hb-contact-form__services input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.hb-contact-form__services label > span {
  display: block;
  font-size: 11px;
  padding: 10px 13px;
  border: 1px solid #10211935;
  border-radius: 30px;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.hb-contact-form__services input:checked + span {
  background: var(--hb-color-forest);
  color: var(--hb-color-paper);
  border-color: var(--hb-color-forest);
}
.hb-contact-form__services input:focus-visible + span {
  outline: 2px solid var(--hb-color-orange);
  outline-offset: 4px;
}
.hb-contact-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}
.hb-contact-form__field {
  display: block;
  min-width: 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}
.hb-contact-form__field > span {
  color: var(--hb-color-orange);
}
.hb-contact-form__field :is(input, textarea, select) {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  border-bottom: 1px solid #10211942;
  background: transparent;
  border-radius: 0;
  padding: 11px 0 13px;
  margin-top: 3px;
  font: 400 13px/1.5 var(--hb-font-body);
  color: var(--hb-color-ink);
}
.hb-contact-form__field textarea {
  resize: vertical;
  min-height: 90px;
}
.hb-contact-form__field input::placeholder,
.hb-contact-form__field textarea::placeholder {
  color: #85927c;
  opacity: 1;
}
.hb-contact-form__privacy {
  font-size: 10px;
  line-height: 1.7;
  color: #6b7863;
}
.hb-contact-form__privacy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hb-contact--letter {
  background: var(--hb-color-paper);
}
.hb-contact__letterhead {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 42px;
  border-bottom: 1px solid #10211940;
}
.hb-contact__letterhead .hb-contact__title {
  margin-top: 28px;
  font-size: clamp(58px, 5.1vw, 88px);
}
.hb-contact__letter-body {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 8%;
  padding-top: 44px;
}
.hb-contact__letter-body > aside > p {
  font: 500 40px/1.15 var(--hb-font-heading);
  letter-spacing: -0.04em;
  margin: 32px 0 23px;
}
.hb-contact__letter-body > aside > span:last-of-type {
  font-size: 12px;
  color: var(--hb-color-muted);
}
.hb-contact--letter .hb-contact-form-wrap {
  padding: 0 0 0 8%;
  border-left: 1px solid #10211930;
  border-radius: 0;
  background: transparent;
}
.hb-contact--letter .hb-contact-form__field input,
.hb-contact--letter .hb-contact-form__field textarea {
  padding-block: 16px;
}
.hb-contact__signature {
  font-size: 13px;
  line-height: 1.8;
  margin-top: 45px;
  padding-top: 24px;
  border-top: 1px solid #10211930;
}
.hb-contact__signature strong {
  font: 500 24px/1.2 var(--hb-font-heading);
}
.hb-contact-review {
  width: min(620px, calc(100% - 40px));
  max-height: 85svh;
  overflow: auto;
  border: 0;
  border-radius: 20px;
  padding: 40px;
  background: var(--hb-color-paper);
  color: var(--hb-color-ink);
}
.hb-contact-review::backdrop {
  background: #071c13b3;
  backdrop-filter: blur(6px);
}
.hb-contact-review h2 {
  margin: 18px 0 16px;
}
.hb-contact-review > p:not(.hb-page-intro__index) {
  color: var(--hb-color-muted);
}
.hb-contact-review__close {
  position: absolute;
  right: 15px;
  top: 12px;
  width: 34px;
  height: 34px;
  font-size: 25px;
}
.hb-contact-review dl {
  margin: 25px 0;
}
.hb-contact-review dl > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid #10211925;
}
.hb-contact-review dt {
  font-size: 11px;
  color: var(--hb-color-muted);
}
.hb-contact-review dd {
  margin: 0;
  font-size: 13px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.hb-contact-review > .hb-page-intro__button {
  width: 100%;
}
.hb-document {
  padding: 55px var(--hb-gutter) 70px;
}
.hb-document__opening {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 50px;
  padding-bottom: 45px;
  border-bottom: 1px solid #10211935;
  margin-bottom: 45px;
}
.hb-document__opening .hb-document__title {
  font: 500 clamp(62px, 6.8vw, 108px)/1 var(--hb-font-heading);
  letter-spacing: -0.06em;
  max-width: 950px;
  margin-top: 28px;
}
.hb-document__opening .hb-document__title > span {
  color: var(--hb-color-orange);
}
.hb-document__opening .hb-page-intro__lead {
  margin-top: 28px;
}
.hb-document__edition {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--hb-color-muted);
  line-height: 1.8;
  text-align: right;
  white-space: nowrap;
}
.hb-document__layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 8%;
  align-items: start;
}
.hb-document__toc {
  position: sticky;
  top: 190px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.hb-document__toc > p {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hb-color-muted);
  margin: 0 0 18px;
}
.hb-document__toc a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 0;
  border-bottom: 1px solid #10211920;
}
.hb-document__toc a > span {
  font-size: 12px;
  color: var(--hb-color-muted);
}
.hb-document__toc a > svg {
  width: 14px;
  height: 14px;
  margin-left: auto;
}
.hb-document__toc a[aria-current] {
  color: var(--hb-color-orange);
}
.hb-document__sections {
  min-width: 0;
}
.hb-document__section {
  scroll-margin-top: 190px;
  border-top: 1px solid #1021192b;
  padding: 30px 0 35px;
}
.hb-document__section:first-child {
  border-top: 0;
  padding-top: 0;
}
.hb-document__section > header,
.hb-document__section > summary {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 22px;
}
.hb-document__number {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--hb-color-orange);
  flex: none;
}
.hb-document__section .hb-document__section-title {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.hb-document__section-body {
  max-width: 800px;
  padding-left: 35px;
}
.hb-document__section-body > p {
  line-height: 1.85;
  color: #64725b;
  margin: 16px 0 0;
  max-width: 72ch;
}
.hb-document__section-body > p.hb-document__section-intro {
  font-weight: 300;
  color: var(--hb-color-ink);
  line-height: 1.75;
  margin-top: 0;
}
.hb-document__facts {
  margin: 24px 0;
  max-width: 750px;
}
.hb-document__facts > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.2fr);
  gap: 25px;
  border-bottom: 1px solid #10211921;
  padding: 13px 0;
}
.hb-document__facts dt {
  color: var(--hb-color-muted);
}
.hb-document__facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.hb-document__facts dd.is-pending {
  color: #8e7454;
  font-style: italic;
}
.hb-document__text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 23px;
  border-bottom: 1px solid #10211945;
  padding-bottom: 7px;
}
.hb-document__text-link svg {
  width: 17px;
  height: 17px;
}
.hb-document__draft {
  display: flex;
  gap: 17px;
  background: #dfe6d6;
  padding: 24px;
  border-radius: 12px;
  margin-top: 30px;
}
.hb-document__draft > span > svg {
  width: 18px;
  height: 18px;
  fill: var(--hb-color-orange);
  stroke: none;
}
.hb-document__draft p {
  line-height: 1.8;
  color: #66755e;
}
.hb-document__draft strong {
  display: block;
  font-weight: 500;
  color: var(--hb-color-ink);
  margin-bottom: 3px;
}
.hb-document__draft a {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 10px;
  color: var(--hb-color-ink);
}
.hb-document__draft a svg {
  width: 14px;
  height: 14px;
}
.hb-document__end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border-top: 1px solid #10211935;
  margin-top: 50px;
  padding: 30px 0 0;
}
.hb-document__end span {
  font-size: 11px;
  color: var(--hb-color-muted);
}
.hb-document__end strong {
  display: block;
  font: 500 30px/1.15 var(--hb-font-heading);
  letter-spacing: -0.035em;
  color: var(--hb-color-ink);
  margin-top: 9px;
}
.hb-document__end > svg {
  width: 48px;
  height: 48px;
  padding: 13px;
  border-radius: 50%;
  color: var(--hb-color-paper);
  background: var(--hb-color-forest);
}
.hb-document__section > summary {
  cursor: pointer;
  list-style: none;
  margin-bottom: 0;
  padding: 25px 0;
}
.hb-document__section > summary::-webkit-details-marker {
  display: none;
}
.hb-document__section > summary h3 {
  flex: 1;
}
.hb-document__section > summary + .hb-document__section-body {
  padding-bottom: 28px;
}
.hb-document details.hb-document__section {
  padding: 0;
}
.hb-document--notebook {
  position: relative;
  background: #f0f1e7;
  padding: 0;
}
.hb-document__spine {
  position: absolute;
  inset: 0 auto 0 0;
  width: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  writing-mode: vertical-rl;
  background: #d8e0ce;
  padding: 40px 0;
  color: #56684d;
}
.hb-document__spine > span {
  font-size: 10px;
  letter-spacing: 0.13em;
}
.hb-document__spine > svg {
  width: 23px;
  height: 23px;
  fill: var(--hb-color-orange);
  stroke: none;
}
.hb-document__notebook-content {
  margin-left: 64px;
  padding: 50px var(--hb-gutter) 70px;
}
.hb-document__filing {
  display: inline-block;
  padding: 9px 16px;
  background: var(--hb-color-orange);
  color: white;
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 25px;
}
.hb-document--notebook .hb-document__opening {
  display: block;
}
.hb-document--notebook .hb-document__edition {
  display: none;
}
.hb-document--notebook .hb-document__layout {
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 7%;
}
.hb-document--notebook .hb-document__section > header {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
}
.hb-document--notebook .hb-document__number {
  font: 500 32px/1 var(--hb-font-heading);
  letter-spacing: -0.05em;
  color: #99a78d;
}
.hb-document--notebook .hb-document__section-body {
  padding-left: 65px;
}
@media (min-width: 1900px) {
  .hb-contact-form-wrap {
    max-width: 780px;
    width: 100%;
    justify-self: end;
    padding: 48px;
  }
  .hb-contact--letter .hb-contact-form-wrap {
    max-width: none;
  }
  .hb-contact-form {
    gap: 28px;
  }
  .hb-contact-form__field :is(input, textarea, select) {
    font-size: 15px;
  }
}
@media (max-width: 1050px) {
  .hb-contact .hb-contact__title {
    font-size: 62px;
  }
  .hb-contact-form-wrap {
    padding: 25px;
  }
  .hb-contact__letterhead .hb-contact__title {
    font-size: 58px;
  }
  .hb-document__layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 6%;
  }
  .hb-document--notebook .hb-document__layout {
    grid-template-columns: minmax(0, 1fr) 170px;
  }
  .hb-document__opening {
    gap: 25px;
  }
  .hb-document__opening .hb-document__title {
    font-size: 68px;
  }
  .hb-document__edition {
    font-size: 8px;
  }
  .hb-document__facts > div {
    grid-template-columns: minmax(90px, 0.8fr) minmax(0, 1.2fr);
    gap: 15px;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .hb-content-page {
    --hb-font-size-h1: var(--hb-font-size-h1-tablet);
  }
}
@media (max-width: 760px) {
  .hb-page-intro__eyebrow {
    font-size: 9px;
    letter-spacing: 0.09em;
  }
  .hb-page-intro__lead {
    font-size: 15px;
    line-height: 1.75;
  }
  .hb-contact {
    --hb-contact-top-space: 35px;
    padding: var(--hb-contact-top-space) 20px 45px;
  }
  .hb-contact .hb-contact__title,
  .hb-contact__letterhead .hb-contact__title {
    font-size: var(--hb-font-size-h2-mobile);
    line-height: 1.03;
    letter-spacing: -0.055em;
  }
  .hb-contact h3,
  .hb-contact-form .hb-contact-form__title {
    font-size: var(--hb-font-size-h3-mobile);
  }
  .hb-contact__numbers {
    margin-top: 25px;
  }
  .hb-contact__numbers a > strong {
    font-size: 16px;
  }
  .hb-contact-form-wrap {
    padding: 25px 20px;
    margin-top: 35px;
    border-radius: 16px;
  }
  .hb-contact-form {
    gap: 22px;
  }
  .hb-contact-form__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .hb-contact-form__field :is(input, textarea, select) {
    font-size: 16px;
  }
  .hb-contact-form__field {
    font-size: 11px;
  }
  .hb-contact-form__privacy {
    font-size: 11px;
  }
  .hb-contact-form__services label > span {
    font-size: 11px;
    padding: 9px 12px;
  }
  .hb-contact__mascot {
    width: min(100%, 270px);
    margin: 24px auto 0;
  }
  .hb-contact__mascot--letter {
    width: 230px;
    margin: 25px auto 0;
  }
  .hb-contact__letterhead {
    display: block;
    gap: 20px;
    padding-bottom: 28px;
  }
  .hb-contact__letterhead .hb-contact__title {
    margin-top: 22px;
  }
  .hb-contact__letter-body {
    display: block;
    padding-top: 26px;
  }
  .hb-contact__letter-body > aside > p {
    font-size: 28px;
    margin: 20px 0 15px;
  }
  .hb-contact__letter-body > aside > p br {
    display: none;
  }
  .hb-contact__letter-body > aside > .hb-contact__numbers {
    margin-bottom: 32px;
  }
  .hb-contact--letter .hb-contact-form-wrap {
    padding: 30px 0 0;
    border-left: 0;
    border-top: 1px solid #10211930;
  }
  .hb-contact__signature {
    margin-top: 32px;
  }
  .hb-contact-review {
    padding: 35px 22px 25px;
  }
  .hb-contact-review dl > div {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 15px;
  }
  .hb-document {
    padding: 35px 20px 40px;
  }
  .hb-document__opening {
    display: block;
    padding-bottom: 28px;
    margin-bottom: 28px;
  }
  .hb-document__opening .hb-document__title {
    font-size: var(--hb-font-size-h2-mobile);
    line-height: 1.03;
    margin-top: 24px;
    overflow-wrap: anywhere;
  }
  .hb-document__opening .hb-page-intro__lead {
    margin-top: 23px;
  }
  .hb-document__edition {
    display: block;
    text-align: left;
    margin-top: 25px;
    font-size: 8px;
  }
  .hb-document__layout,
  .hb-document--notebook .hb-document__layout {
    display: block;
  }
  .hb-document__toc {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #10211925;
  }
  .hb-document__toc > p {
    width: 100%;
    margin-bottom: 8px;
  }
  .hb-document__toc a {
    min-height: 40px;
    border: 0;
  }
  .hb-document__toc a > svg {
    display: none;
  }
  .hb-document__section {
    padding: 26px 0 30px;
    scroll-margin-top: 155px;
  }
  .hb-document__section > header,
  .hb-document__section > summary {
    gap: 13px;
  }
  .hb-document__section .hb-document__section-title {
    font-size: var(--hb-font-size-h3-mobile);
    line-height: 1.15;
  }
  .hb-document__section-body,
  .hb-document--notebook .hb-document__section-body {
    padding-left: 0;
  }
  .hb-document__facts > div {
    grid-template-columns: minmax(80px, 0.8fr) minmax(0, 1.2fr);
    gap: 14px;
  }
  .hb-document__facts dt {
    font-size: 13px;
  }
  .hb-document__facts dd {
    font-size: 13px;
  }
  .hb-document__draft {
    padding: 20px;
    gap: 13px;
  }
  .hb-document__end {
    margin-top: 32px;
    padding-top: 24px;
    gap: 20px;
  }
  .hb-document__end strong {
    font-size: 24px;
  }
  .hb-document__section > summary {
    padding: 23px 0;
  }
  .hb-document__section > summary + .hb-document__section-body {
    padding-bottom: 25px;
  }
  .hb-document--notebook {
    padding: 0;
  }
  .hb-document__spine {
    position: static;
    width: 100%;
    height: 44px;
    writing-mode: horizontal-tb;
    padding: 0 20px;
  }
  .hb-document__spine > span {
    font-size: 9px;
  }
  .hb-document__spine > svg {
    width: 18px;
    height: 18px;
  }
  .hb-document__notebook-content {
    margin-left: 0;
    padding: 30px 20px 40px;
  }
  .hb-document__filing {
    font-size: 8px;
    margin-bottom: 22px;
  }
  .hb-document--notebook .hb-document__section > header {
    grid-template-columns: 32px minmax(0, 1fr);
  }
  .hb-document--notebook .hb-document__number {
    font-size: 25px;
  }
  .hb-document--notebook .hb-document__toc {
    margin-top: 25px;
  }
}
/* L’espace de l’en-tête remplace uniquement les commandes de comparaison. */
.hb-content-page .hb-document__toc {
  top: 140px;
}
.hb-content-page .hb-document__section {
  scroll-margin-top: 140px;
}
@media (max-width: 760px) {
  .hb-content-page {
    --hb-font-size-h1: var(--hb-font-size-page-h1);
    --hb-gutter: var(--hb-gutter-mobile);
    --hb-page-top-space: 110px;
  }
  .hb-content-page--contact .hb-contact__letterhead {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .hb-content-page--contact .hb-contact__mascot--letter {
    order: -1;
    align-self: flex-start;
    margin: 0 0 24px;
  }
  .hb-content-page--contact .hb-contact__mascot--vine {
    --hb-mascot-width: 230px;
    margin-top: calc(
      var(--hb-vine-top-space) - var(--hb-page-top-space) - var(--hb-contact-top-space)
    );
  }
  .hb-content-page .hb-document__layout {
    display: flex;
    flex-direction: column;
  }
  .hb-content-page .hb-document__layout > div {
    width: 100%;
  }
  .hb-content-page .hb-document__toc {
    order: -1;
    width: 100%;
    margin-top: 0;
  }
  .hb-content-page .hb-document__section {
    scroll-margin-top: 110px;
  }
}

/* Pages retenues : fond et gouttières du site, sans les accessoires de maquette. */
.hb-content-page .hb-document--notebook {
  background: var(--hb-color-paper);
}
.hb-content-page .hb-document__notebook-content {
  margin-left: 0;
}
.hb-contact__letterhead .hb-heading-1,
.hb-document__opening .hb-heading-1 {
  margin-top: 28px;
}
.hb-document__opening .hb-heading-1 {
  max-width: none;
}
.hb-content-page .hb-document__opening .hb-page-intro__lead {
  max-width: none;
}
@media (min-width: 1024px) {
  .hb-content-page[data-document-page] {
    --hb-font-size-h1: var(--hb-font-size-h1-desktop);
  }
  .hb-content-page .hb-document__opening :is(.hb-heading-1, .hb-page-intro__lead) {
    white-space: nowrap;
  }
}
@media (min-width: 761px) {
  .hb-content-page--contact {
    --hb-font-size-h1: var(--hb-font-size-contact-h1-desktop);
  }
  .hb-document__section-body > p {
    font-size: 16px;
  }
  .hb-document__section-body > p.hb-document__section-intro {
    font-size: 18px;
  }
}

/* Confirmation d’envoi, dans la fenêtre de relecture existante. */
.hb-contact-review__actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:24px; }
.hb-contact-review__actions .hb-page-intro__button { flex:1; justify-content:center; }
.hb-contact-review__actions .hb-contact-review__back { background:transparent; color:var(--hb-color-ink); box-shadow:inset 0 0 0 1px #10211930; }
.hb-contact-review__status { padding:15px 0; line-height:1.7; }
.hb-contact-review__status.is-error { color:#a2472e; }
.hb-contact-review__status[hidden] { display:none; }
.hb-contact-review button:disabled { opacity:.6; cursor:wait; }
