/* Espace client Helaio — mêmes tokens que les sites (HOTokens.css), propriétés
 * logiques uniquement : le RTL vient du `dir` sur <html>. Polices servies par
 * ce processus (J9 : aucune requête externe). */

@font-face {
  font-family: 'Quicksand Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('/assets/fonts/quicksand/quicksand-latin-wght-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Quicksand Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('/assets/fonts/quicksand/quicksand-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Rubik Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url('/assets/fonts/rubik/rubik-hebrew-wght-normal.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Rubik Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url('/assets/fonts/rubik/rubik-latin-wght-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-block-size: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--accent-text);
  text-decoration: none;
  text-underline-offset: 0.15em;
}
a:hover,
a:focus-visible {
  text-decoration: underline;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
h1,
h2,
p,
dl,
dd {
  margin: 0;
}

.ho-container {
  inline-size: min(100% - 2 * var(--space-5), var(--container-max));
  margin-inline: auto;
}
.ho-skip {
  position: absolute;
  inset-inline-start: var(--space-4);
  inset-block-start: -100px;
  padding: var(--space-2) var(--space-3);
  background: var(--surface-elevated);
  border-radius: var(--radius-md);
  z-index: 10;
}
.ho-skip:focus {
  inset-block-start: var(--space-4);
}

.ho-header {
  background: var(--surface-elevated);
  border-block-end: var(--border-hairline) solid var(--border);
}
.ho-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-6);
  padding-block: var(--space-4);
}
.ho-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-2xl);
  letter-spacing: var(--ls-tight);
  color: var(--text-primary);
}
.ho-nav,
.ho-langs {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.ho-nav__form {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0;
}
.ho-nav__who {
  font-size: var(--fs-base);
}
.ho-langs__link {
  font-size: var(--fs-base);
}

.ho-main {
  flex: 1;
  padding-block: var(--space-10) var(--space-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.ho-page-title {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}
.ho-title {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  line-height: var(--lh-tight);
  margin-block-end: var(--space-4);
}
.ho-lead {
  color: var(--text-secondary);
  margin-block-end: var(--space-6);
}
.ho-card {
  background: var(--surface-elevated);
  border: var(--border-hairline) solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
}
.ho-card--narrow {
  max-inline-size: 520px;
  margin-inline: auto;
  inline-size: 100%;
}
.ho-muted {
  color: var(--text-secondary);
}
.ho-footnote {
  font-size: var(--fs-base);
}
.ho-error {
  color: var(--error);
  background: color-mix(in srgb, var(--error) 10%, transparent);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-block-end: var(--space-4);
}

.ho-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--space-2) var(--space-6);
}
.ho-facts dt {
  color: var(--text-secondary);
  font-size: var(--fs-base);
}
.ho-status {
  display: inline-block;
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--fs-base);
  background: var(--surface);
  border: var(--border-hairline) solid var(--border);
}
.ho-status--live {
  color: var(--success);
  border-color: color-mix(in srgb, var(--success) 40%, transparent);
  background: color-mix(in srgb, var(--success) 10%, transparent);
}
.ho-status--suspended,
.ho-status--archived {
  color: var(--error);
}

.ho-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.ho-form__row {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.ho-form__label {
  font-weight: 600;
  font-size: var(--fs-md);
}
.ho-form__input {
  inline-size: 100%;
  padding: 10px 12px;
  border: var(--border-control) solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  color: var(--text-primary);
  font: inherit;
  transition:
    border-color var(--dur-fast),
    box-shadow var(--dur-fast);
}
.ho-form__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--glow-accent);
}
.ho-btn {
  display: inline-block;
  padding: 10px var(--space-5);
  border: var(--border-control) solid var(--accent);
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--accent-contrast);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    filter var(--dur-fast),
    box-shadow var(--dur-fast);
}
.ho-btn:hover,
.ho-btn:focus-visible {
  filter: brightness(1.05);
  box-shadow: var(--glow-accent);
  text-decoration: none;
}
.ho-btn--ghost {
  background: transparent;
  color: var(--accent-text);
  border-color: var(--border);
  padding-block: 6px;
  font-size: var(--fs-base);
}

.ho-footer {
  padding-block: var(--space-6);
  border-block-start: var(--border-hairline) solid var(--border);
}
