/*!
 * HOPELA Contributions — styles de l'interface
 * Page publique de contribution + vue « Ma communauté ».
 *
 * - Tout est préfixé « hc- » et rangé sous .hc pour ne pas entrer en collision
 *   avec le thème WHMCS (Bootstrap).
 * - Animations décoratives : transform / opacity uniquement, nombre de cycles
 *   limité, coupées par prefers-reduced-motion ou par .hc--still.
 * - Aucune logique financière ici : les montants affichés viennent du serveur.
 */

/* ---------------------------------------------------------------------------
   1. Jetons
   ------------------------------------------------------------------------ */
.hc {
  --hc-night: #0b1210;
  --hc-well: #09100d;
  --hc-panel: #142019;
  --hc-panel-2: #18261e;
  --hc-panel-3: #203128;
  --hc-selected: #1a2a1c;
  --hc-line: rgba(209, 235, 196, .11);
  --hc-line-2: rgba(209, 235, 196, .2);

  --hc-ink: #f3efe4;      /* 16,5:1 sur --hc-night */
  --hc-ink-2: #c2cbbd;    /* 10:1 sur --hc-panel */
  --hc-ink-3: #97a699;    /* 6,6:1 sur --hc-panel */
  --hc-placeholder: #6f7f72;

  --hc-lime: #b6ec79;     /* 12:1 sur --hc-panel */
  --hc-lime-ink: #10200a;
  --hc-orange-top: #ff8a3d;
  --hc-orange: #ff7219;
  --hc-orange-bottom: #e25b0b;
  --hc-orange-edge: #b94206;
  --hc-on-orange: #1a0c02; /* ≥ 5,3:1 sur tout le dégradé */
  --hc-violet: #a98bff;
  --hc-violet-ink: #d9ccff;
  --hc-alert: #ffb59e;     /* 9,9:1 sur --hc-panel */
  --hc-amber-ink: #ffc597;

  --hc-font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hc-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --hc-r-card: 28px;
  --hc-r-field: 20px;
  --hc-r-row: 16px;
  --hc-ease: cubic-bezier(.2, .7, .2, 1);
  --hc-gutter: 48px;

  position: relative;
  overflow-x: clip;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--hc-night);
  color: var(--hc-ink);
  font-family: var(--hc-font);
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

/* ---------------------------------------------------------------------------
   2. Base (limitée à .hc)
   ------------------------------------------------------------------------ */
/* :where() garde ces règles à faible spécificité : les classes hc-* l'emportent. */
.hc *, .hc *::before, .hc *::after { box-sizing: border-box; }
:where(.hc) :where(h1, h2, h3, p, ul, ol, figure) { margin: 0; }
:where(.hc) :where(ul, ol) { padding: 0; list-style: none; }
:where(.hc) :where(img, svg) { display: block; max-width: 100%; }
:where(.hc) :where(button, input, textarea, select) { font: inherit; color: inherit; }
:where(.hc) button { cursor: pointer; }
:where(.hc) a { color: var(--hc-ink-2); text-underline-offset: 3px; }
:where(.hc) a:hover { color: var(--hc-ink); }
:where(.hc) strong { font-weight: 650; color: var(--hc-ink); }
.hc :focus-visible { outline: 2px solid var(--hc-lime); outline-offset: 3px; }
.hc [hidden] { display: none !important; }

.hc-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hc-label {
  font-family: var(--hc-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--hc-ink-3);
}
.hc-i {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.hc-fine { font-size: 12.5px; color: var(--hc-ink-3); line-height: 1.5; }
.hc-lime { color: var(--hc-lime); }
.hc-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.hc-tag {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px;
  border: 1px dashed rgba(182, 236, 121, .45); color: var(--hc-lime);
  font-family: var(--hc-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.hc-example {
  display: inline-block; margin-left: 6px; padding: 1px 5px; border-radius: 6px;
  border: 1px dashed rgba(182, 236, 121, .45); color: var(--hc-lime);
  font-family: var(--hc-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}

/* ---------------------------------------------------------------------------
   3. Ciel (couche décorative)
   ------------------------------------------------------------------------ */
.hc-sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hc-sky__glow { position: absolute; border-radius: 50%; }
.hc-sky__glow--lime {
  left: -240px; top: -300px; width: 980px; height: 760px;
  background: radial-gradient(closest-side, rgba(182, 236, 121, .09), rgba(182, 236, 121, 0));
}
.hc-sky__glow--warm {
  right: -120px; top: 560px; width: 760px; height: 560px;
  background: radial-gradient(closest-side, rgba(255, 114, 25, .09), rgba(255, 114, 25, 0));
}
.hc-sky__stars { position: absolute; left: 0; top: 0; width: 100%; height: 900px; }
.hc-spark { position: absolute; width: 16px; height: 16px; animation: hc-twinkle 5s ease-in-out 3 both; }
.hc-spark--sm { width: 12px; height: 12px; }
.hc-planet {
  position: absolute; left: 50%; bottom: -3790px; width: 4000px; height: 4000px; margin-left: -2000px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 0%, #15241c 0%, #0f1a14 14%, var(--hc-night) 32%);
  box-shadow: inset 0 1.5px 0 rgba(182, 236, 121, .5), 0 -30px 110px -30px rgba(182, 236, 121, .22);
}

/* ---------------------------------------------------------------------------
   4. En-tête, pied de page
   ------------------------------------------------------------------------ */
.hc-top {
  position: relative; z-index: 5; width: 100%; max-width: 1360px; margin: 0 auto;
  padding: 20px var(--hc-gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.hc-top__nav, .hc-top__end { display: flex; align-items: center; gap: 16px; }
.hc-brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--hc-ink) !important; text-decoration: none;
  font-weight: 800; font-size: 18px; letter-spacing: .06em;
}
.hc-brand img, .hc-brand svg { height: 30px; width: auto; }
.hc-top__sep { width: 1px; height: 22px; background: rgba(209, 235, 196, .25); }
.hc-navlink {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 15px; font-weight: 500; color: var(--hc-ink-2); text-decoration: none;
}
.hc-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--hc-line-2);
  color: var(--hc-ink) !important; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background-color .2s, border-color .2s;
}
.hc-pill:hover { background: var(--hc-panel); border-color: rgba(182, 236, 121, .5); }
.hc-pill .hc-i { width: 18px; height: 18px; }

.hc-foot {
  position: relative; z-index: 2; width: 100%; max-width: 1360px; margin: auto auto 0;
  padding: 96px var(--hc-gutter) 28px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 24px;
  font-size: 13px; color: var(--hc-ink-3);
}
.hc-foot nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.hc-foot a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.hc-foot a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------------------
   5. Grille de la page publique
   ------------------------------------------------------------------------ */
.hc-main {
  position: relative; z-index: 2; width: 100%; max-width: 1360px; margin: 0 auto;
  padding: 4px var(--hc-gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px minmax(400px, 476px);
  /* La dernière rangée absorbe la hauteur de la carte : pas de vide sous le titre. */
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    "hero  hero  card"
    "about panda card"
    "steps steps card";
  column-gap: 24px; row-gap: 24px; align-items: start;
}
.hc-hero { grid-area: hero; padding-top: 40px; min-width: 0; }
.hc-about { grid-area: about; align-self: center; max-width: 440px; display: grid; gap: 22px; }
.hc-pz-wrap { grid-area: panda; justify-self: center; }
.hc-steps { grid-area: steps; margin-top: 12px; }
.hc-card { grid-area: card; margin-left: 24px; position: sticky; top: 20px; }

/* ---------------------------------------------------------------------------
   6. Présentation du projet
   ------------------------------------------------------------------------ */
.hc-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--hc-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--hc-lime);
}
.hc-eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--hc-lime); box-shadow: 0 0 0 5px rgba(182, 236, 121, .15);
}
.hc-title {
  margin-top: 22px !important;
  font-size: clamp(56px, 8.2vw, 128px);
  font-weight: 800; font-stretch: 75%; line-height: .86; letter-spacing: -.035em;
  overflow-wrap: anywhere; hyphens: auto;
}
.hc-title__last { color: var(--hc-lime); }
.hc-lead { font-size: 20px; line-height: 1.5; color: var(--hc-ink-2); overflow-wrap: anywhere; }
.hc-where {
  display: flex; gap: 14px; align-items: flex-start; padding-top: 20px; border-top: 1px solid var(--hc-line);
  font-size: 14.5px; line-height: 1.55; color: var(--hc-ink-2);
}
.hc-where .hc-i { color: var(--hc-lime); margin-top: 2px; }
.hc-about__title { font-size: 26px; font-weight: 750; font-stretch: 85%; line-height: 1.05; }

.hc-traj { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.hc-traj::before {
  content: ""; position: absolute; left: 8px; right: 8px; top: 7px;
  border-top: 1.5px dashed rgba(182, 236, 121, .35);
}
.hc-traj li { position: relative; padding-top: 32px; }
.hc-traj__node {
  position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%;
  background: var(--hc-night); border: 1.5px solid var(--hc-lime);
}
.hc-traj li:last-child .hc-traj__node { background: var(--hc-lime); box-shadow: 0 0 0 6px rgba(182, 236, 121, .16); }
.hc-traj__num { font-family: var(--hc-mono); font-size: 12px; letter-spacing: .06em; color: var(--hc-ink-3); }
.hc-traj strong { display: block; margin: 6px 0 4px; font-size: 18px; font-weight: 700; }
.hc-traj p { font-size: 14.5px; line-height: 1.45; color: var(--hc-ink-2); }
.hc-steps__title { margin-bottom: 20px !important; color: var(--hc-lime); }

/* ---------------------------------------------------------------------------
   7. Panda, orbite, fusée
   Coordonnées dans un repère fixe 360 × 360 ; mis à l'échelle via --hc-pz-scale.
   ------------------------------------------------------------------------ */
.hc-pz-wrap {
  --hc-pz-scale: 1;
  position: relative; flex: none;
  width: calc(360px * var(--hc-pz-scale)); height: calc(360px * var(--hc-pz-scale));
}
.hc-pz {
  position: absolute; left: 0; top: 0; width: 360px; height: 360px;
  transform: scale(var(--hc-pz-scale)); transform-origin: 0 0;
}
.hc-pz__glow {
  position: absolute; left: -40px; top: -40px; width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(169, 139, 255, .2), rgba(169, 139, 255, 0));
}
.hc-pz__orbit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hc-pz__orbit--back { z-index: 1; }
.hc-pz__orbit--front { z-index: 3; }
.hc-pz__panda {
  position: absolute; z-index: 2; left: 55px; top: 22px; width: 250px;
  animation: hc-float 6.5s ease-in-out .9s 4 alternate both;
}
.hc-pz__panda-in { display: block; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.hc-pz__panda img { width: 100%; height: auto; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .5)); }
.hc-pz-wrap:hover .hc-pz__panda-in { transform: translateY(-6px) rotate(-4deg) scale(1.03); }
.hc-rocket {
  position: absolute; z-index: 4; left: 0; top: 0; width: 48px; height: 28px;
  offset-path: path("M 308.2 187.6 A 168 56 -14 1 1 51.8 172.4 A 168 56 -14 1 1 308.2 187.6 Z");
  offset-distance: 0%;
  offset-rotate: auto;
  animation: hc-orbit 11s linear 1.4s 3 both;
}
.hc-rocket__flame { transform-origin: 12px 14px; transition: transform .3s; }
.hc-pz-wrap:hover .hc-rocket__flame { transform: scaleX(1.6); }
@supports not (offset-path: path("M0 0")) {
  .hc-rocket { left: 284px; top: 174px; animation: none; }
}

/* ---------------------------------------------------------------------------
   8. Carte de contribution
   ------------------------------------------------------------------------ */
.hc-card {
  background: var(--hc-panel); border: 1px solid var(--hc-line); border-radius: var(--hc-r-card);
  padding: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 50px 90px -40px rgba(0, 0, 0, .75);
}
.hc-form { display: flex; flex-direction: column; gap: 20px; }
.hc-card__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.hc-card__head .hc-label { order: 2; }
.hc-card__title { margin-top: 0 !important; font-size: 25px; font-weight: 750; font-stretch: 88%; letter-spacing: -.01em; line-height: 1.1; overflow-wrap: anywhere; }

/* Montant */
.hc-amount-label { display: block; margin-bottom: 10px; }
.hc-amount-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.hc-amount {
  flex: 1 1 180px; display: flex; align-items: center; gap: 6px; min-height: 76px; padding: 6px 18px;
  border-radius: var(--hc-r-field); background: var(--hc-well); border: 1px solid var(--hc-line-2);
  transition: border-color .2s, box-shadow .2s;
}
.hc-amount:focus-within { border-color: var(--hc-lime); box-shadow: 0 0 0 4px rgba(182, 236, 121, .14); }
.hc-amount.is-invalid { border-color: var(--hc-alert); box-shadow: 0 0 0 4px rgba(255, 181, 158, .1); }
.hc-amount__input {
  flex: 1 1 auto; align-self: stretch; min-width: 0; width: 100%; min-height: 64px; padding: 0; border: 0; outline: 0; background: transparent;
  color: var(--hc-ink); font-weight: 700; font-size: 46px; line-height: 1; font-stretch: 85%;
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.hc-amount__input:focus-visible { outline: none; }
.hc-amount__cur { font-size: 30px; font-weight: 600; color: var(--hc-ink-3); }
.hc-presets { display: flex; gap: 6px; align-items: stretch; }
.hc-chip {
  min-width: 52px; min-height: 44px; padding: 0 8px; border-radius: 14px;
  border: 1px solid var(--hc-line-2); background: var(--hc-panel-2);
  font-weight: 650; font-size: 15px; font-variant-numeric: tabular-nums;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.hc-chip:hover { border-color: rgba(182, 236, 121, .55); transform: translateY(-1px); }
.hc-chip[aria-pressed="true"] { background: var(--hc-lime); border-color: var(--hc-lime); color: var(--hc-lime-ink); }
.hc-help { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px !important; font-size: 13.5px; color: var(--hc-ink-3); }
.hc-help strong { color: var(--hc-ink-2); font-weight: 600; }
.hc-help--error { color: var(--hc-alert); }
.hc-help .hc-i { width: 18px; height: 18px; margin-top: 1px; }

/* Méthodes */
.hc-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.hc-fieldset legend { padding: 0; margin-bottom: 12px; }
.hc-methods { display: grid; gap: 10px; container-type: inline-size; }
.hc-method {
  position: relative; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 10px;
  min-height: 62px; padding: 10px 16px 10px 14px; border-radius: var(--hc-r-row);
  border: 1px solid var(--hc-line); background: var(--hc-panel-2); cursor: pointer;
  transition: border-color .2s, background-color .2s, transform .2s;
}
.hc-method:hover { border-color: rgba(182, 236, 121, .45); transform: translateY(-1px); }
.hc-method.is-selected { border-color: var(--hc-lime); background: var(--hc-selected); box-shadow: inset 0 0 0 1px var(--hc-lime); }
.hc-method.is-best { margin-top: 8px; }
.hc-method__input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.hc-method:has(.hc-method__input:focus-visible) { outline: 2px solid var(--hc-lime); outline-offset: 3px; }
.hc-method__radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--hc-ink-3); display: grid; place-items: center; }
.hc-method.is-selected .hc-method__radio { border-color: var(--hc-lime); }
.hc-method.is-selected .hc-method__radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--hc-lime); }
.hc-method__icon { width: 48px; height: 34px; display: grid; place-items: center; }
.hc-method__icon img { display: block; width: 48px; height: 32px; object-fit: contain; border-radius: 6px; }
.hc-method.is-selected .hc-method__icon { color: var(--hc-lime); }
.hc-method__text { min-width: 0; }
.hc-method__name { display: block; font-weight: 650; font-size: 16px; line-height: 1.25; }
.hc-method__sub { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.35; color: var(--hc-ink-3); }
.hc-method__fig { text-align: right; white-space: nowrap; }
.hc-method__credit { display: block; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.hc-method__fee { display: block; margin-top: 2px; font-family: var(--hc-mono); font-size: 12px; color: var(--hc-ink-3); }
.hc-badge {
  position: absolute; top: -11px; right: 14px; display: inline-flex; align-items: center; gap: 5px;
  height: 22px; padding: 0 9px; border-radius: 999px; background: var(--hc-lime); color: var(--hc-lime-ink);
  font-size: 11.5px; font-weight: 700; white-space: nowrap;
}
.hc-badge .hc-i { width: 13px; height: 13px; stroke-width: 2.6; }
.hc-method:not(.is-best) .hc-badge { display: none; }
@container (max-width: 330px) {
  .hc-method { grid-template-columns: auto auto minmax(0, 1fr); gap: 7px 9px; }
  .hc-method__radio, .hc-method__icon { grid-row: 1 / span 2; }
  .hc-method__fig { grid-column: 3; text-align: left; display: flex; gap: 10px; align-items: baseline; }
  .hc-method__fee { margin: 0; }
}

/* Devis en cours */
.hc-q { transition: opacity .3s; }
.is-quoting .hc-q { opacity: .38; transition-duration: .2s; }
.hc-roll { display: inline-block; }

/* Récapitulatif */
.hc-recap { border-radius: 18px; background: var(--hc-well); border: 1px solid var(--hc-line); padding: 2px 18px; container-type: inline-size; }
.hc-recap__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; }
.hc-recap__row + .hc-recap__row { border-top: 1px solid var(--hc-line); }
.hc-recap__k { font-size: 15px; color: var(--hc-ink-2); }
.hc-recap__k small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--hc-ink-3); }
.hc-recap__v { display: inline-block; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hc-recap__v--fee { color: var(--hc-ink-2); }
.hc-recap__row--total { align-items: center; }
.hc-recap__row--total .hc-recap__k { color: var(--hc-ink); font-weight: 600; font-size: 16px; line-height: 1.25; }
.hc-recap__row--total .hc-recap__v { color: var(--hc-lime); font-size: 32px; font-stretch: 85%; letter-spacing: -.015em; }
@container (max-width: 300px) {
  .hc-recap__row--total { flex-direction: column; align-items: flex-start; gap: 2px; }
}
.hc-quote-status { display: flex; align-items: center; gap: 8px; min-height: 20px; margin-top: 8px !important; font-family: var(--hc-mono); font-size: 12.5px; color: var(--hc-ink-3); }
.hc-quote-error { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px !important; font-size: 13.5px; color: var(--hc-alert); }
.hc-spin {
  width: 14px; height: 14px; flex: none; border-radius: 50%;
  border: 2px solid rgba(182, 236, 121, .25); border-top-color: var(--hc-lime);
  animation: hc-spin .9s linear infinite;
}

/* Boutons */
.hc-cta {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; min-height: 60px; padding: 0 24px; border: 0; border-radius: 18px;
  background: linear-gradient(180deg, var(--hc-orange-top) 0%, var(--hc-orange) 48%, var(--hc-orange-bottom) 100%);
  color: var(--hc-on-orange) !important; font-weight: 750; font-size: 19px; line-height: 1.15; letter-spacing: -.005em;
  text-align: center; text-decoration: none;
  box-shadow: inset 0 -3px 0 var(--hc-orange-edge), inset 0 1px 0 rgba(255, 255, 255, .35), 0 16px 34px -14px rgba(255, 114, 25, .6);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.hc-cta:hover { transform: translateY(-1px); filter: saturate(1.08) brightness(1.04); box-shadow: inset 0 -3px 0 var(--hc-orange-edge), inset 0 1px 0 rgba(255, 255, 255, .35), 0 20px 40px -14px rgba(255, 114, 25, .75); }
.hc-cta:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 var(--hc-orange-edge), 0 8px 18px -10px rgba(255, 114, 25, .6); }
.hc-cta[disabled], .hc-cta[aria-disabled="true"] {
  cursor: not-allowed; transform: none; filter: none;
  background: var(--hc-panel-3); color: var(--hc-ink-3) !important; box-shadow: inset 0 0 0 1px var(--hc-line);
}
.hc-cta[disabled] .hc-i { transform: none; }
.hc-cta .hc-i { width: 22px; height: 22px; stroke-width: 2.2; transition: transform .25s; }
.hc-cta:hover .hc-i { transform: translateX(4px); }
.hc-cta--inline { display: inline-flex; width: auto; min-height: 56px; padding: 0 26px; font-size: 17.5px; }
.hc-btn2 {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  min-height: 52px; padding: 0 20px; border-radius: 16px; border: 1px solid var(--hc-line-2); background: var(--hc-panel-2);
  color: var(--hc-ink) !important; font-weight: 650; font-size: 16px; text-decoration: none; text-align: center;
  transition: border-color .2s, background-color .2s;
}
.hc-btn2:hover { border-color: rgba(182, 236, 121, .55); background: var(--hc-panel-3); }
.hc-btn2 .hc-i { width: 18px; height: 18px; }
.hc-btn2--inline { display: inline-flex; width: auto; min-height: 48px; padding: 0 18px; font-size: 15.5px; white-space: nowrap; }
.hc-back {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; width: fit-content;
  border: 0; background: transparent; color: var(--hc-ink-2) !important; font-weight: 600; font-size: 14.5px; text-decoration: none;
}
.hc-back:hover { color: var(--hc-ink) !important; }
.hc-back .hc-i { width: 18px; height: 18px; }
.hc-copy {
  display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--hc-line-2); background: var(--hc-panel-2); color: var(--hc-ink-2);
  transition: border-color .2s, color .2s;
}
.hc-copy:hover { border-color: rgba(182, 236, 121, .55); color: var(--hc-lime); }
.hc-copy .hc-i { width: 18px; height: 18px; }
.hc-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--hc-ink-3); }
.hc-note .hc-i { width: 16px; height: 16px; margin-top: 2px; color: var(--hc-lime); }

/* Détail du calcul */
.hc-calc { border-top: 1px solid var(--hc-line); }
.hc-calc summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--hc-ink-2);
}
.hc-calc summary::-webkit-details-marker { display: none; }
.hc-calc summary:hover { color: var(--hc-ink); }
.hc-calc__chev { transition: transform .25s; }
.hc-calc[open] .hc-calc__chev { transform: rotate(180deg); }
.hc-calc[open] .hc-calc__body { animation: hc-rise .35s var(--hc-ease) both; }
.hc-calc__body { display: grid; gap: 12px; padding-bottom: 8px; font-size: 14px; color: var(--hc-ink-2); }
.hc-calc table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.hc-calc caption { caption-side: top; text-align: left; padding-bottom: 6px; }
.hc-calc th {
  padding: 6px 0; border-bottom: 1px solid var(--hc-line); text-align: left;
  font-family: var(--hc-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--hc-ink-3);
}
.hc-calc td { padding: 9px 0; border-bottom: 1px solid var(--hc-line); vertical-align: top; font-variant-numeric: tabular-nums; }
.hc-calc td + td, .hc-calc th + th { padding-left: 8px; }
.hc-calc .hc-n { text-align: right; white-space: nowrap; }
.hc-calc td small { display: block; font-size: 12px; color: var(--hc-ink-3); }

/* ---------------------------------------------------------------------------
   9. Vues d'état (connexion, virement, attente, succès, échec…)
   ------------------------------------------------------------------------ */
.hc-view { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.hc-view__actions { display: grid; gap: 10px; }
.hc-state-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.hc-state-icon .hc-i { width: 26px; height: 26px; }
.hc-state-icon--ok { background: rgba(182, 236, 121, .14); color: var(--hc-lime); }
.hc-state-icon--wait { background: rgba(169, 139, 255, .16); color: #d3c4ff; }
.hc-state-icon--error { background: rgba(255, 181, 158, .13); color: var(--hc-alert); }
.hc-view__title { font-size: 28px; font-weight: 750; font-stretch: 88%; line-height: 1.05; letter-spacing: -.015em; }
.hc-view__title:focus { outline: none; }
.hc-view__text { font-size: 15px; line-height: 1.5; color: var(--hc-ink-2); }
.hc-kv { border: 1px solid var(--hc-line); border-radius: 16px; background: var(--hc-well); }
.hc-kv__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 10px 10px 10px 16px; }
.hc-kv__row + .hc-kv__row { border-top: 1px solid var(--hc-line); }
.hc-kv__row--key { background: rgba(182, 236, 121, .06); }
.hc-kv__k { font-family: var(--hc-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--hc-ink-3); }
.hc-kv__row--key .hc-kv__k { color: var(--hc-lime); }
.hc-kv__v { font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.hc-kv__stack { min-width: 0; }
.hc-kv__stack .hc-kv__v { display: block; text-align: left; }
.hc-kv__v--code { font-family: var(--hc-mono); font-size: 13.5px; font-weight: 500; }
.hc-kv__row--key .hc-kv__v--code { font-size: 15px; font-weight: 600; }
.hc-kv__v--credit { color: var(--hc-lime); font-size: 20px; }
.hc-status { display: inline-flex; align-items: center; gap: 8px; width: fit-content; min-height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.hc-status .hc-i { width: 16px; height: 16px; }
.hc-status--wait { background: rgba(169, 139, 255, .14); color: var(--hc-violet-ink); }
.hc-status--ok { background: rgba(182, 236, 121, .14); color: var(--hc-lime); }
.hc-status--fee { background: rgba(255, 154, 82, .13); color: var(--hc-amber-ink); }
.hc-status--error { background: rgba(255, 181, 158, .12); color: var(--hc-alert); }
.hc-success-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hc-success-head img { width: 83px; height: auto; transform: rotate(8deg); }

/* ---------------------------------------------------------------------------
   10. Barre mobile de raccourci vers le formulaire
   ------------------------------------------------------------------------ */
.hc-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: none; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 18, 16, .94); border-top: 1px solid var(--hc-line);
  transform: translateY(110%); visibility: hidden;
  transition: transform .35s var(--hc-ease), visibility 0s linear .35s;
}
.hc-bar.is-visible { transform: none; visibility: visible; transition: transform .35s var(--hc-ease), visibility 0s; }
.hc-bar__text { flex: 1 1 auto; min-width: 0; }
.hc-bar__pay { font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.hc-bar__credit { font-size: 12.5px; color: var(--hc-lime); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-bar .hc-cta { width: auto; min-height: 48px; padding: 0 18px; border-radius: 14px; font-size: 16px; }

/* ---------------------------------------------------------------------------
   11. Ma communauté (espace client)
   ------------------------------------------------------------------------ */
.hc-mc { position: relative; z-index: 2; width: 100%; max-width: 1360px; margin: 0 auto; padding: 28px var(--hc-gutter) 0; }
.hc-mc__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.hc-mc__title { margin-top: 12px !important; font-size: clamp(50px, 6vw, 76px); font-weight: 800; font-stretch: 75%; line-height: .9; letter-spacing: -.03em; }
.hc-mc__intro { margin-top: 14px !important; max-width: 620px; font-size: 18px; color: var(--hc-ink-2); }
.hc-pilot { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(169, 139, 255, .14); color: #dcd0ff; font-size: 13px; font-weight: 600; }
.hc-pilot .hc-i { width: 16px; height: 16px; }
.hc-mc__grid { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 40px; align-items: flex-start; }
.hc-panel { background: var(--hc-panel); border: 1px solid var(--hc-line); border-radius: var(--hc-r-card); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 40px 80px -40px rgba(0, 0, 0, .7); }
.hc-mc__form { flex: 1 1 460px; min-width: 0; width: 100%; max-width: 560px; padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.hc-mc__form-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hc-mc__form-title { font-size: 24px; font-weight: 750; font-stretch: 88%; }
.hc-field { display: grid; gap: 10px; }
.hc-input {
  width: 100%; min-height: 68px; padding: 0 20px; border-radius: 18px; outline: 0;
  background: var(--hc-well); border: 1px solid var(--hc-line-2);
  font-size: 26px; font-weight: 700; font-stretch: 88%; letter-spacing: -.01em;
  transition: border-color .2s, box-shadow .2s;
}
.hc-input:focus { border-color: var(--hc-lime); box-shadow: 0 0 0 4px rgba(182, 236, 121, .14); }
.hc-input.is-invalid { border-color: var(--hc-alert); }
.hc-input::placeholder, .hc-textarea::placeholder { color: var(--hc-placeholder); }
.hc-textarea {
  width: 100%; min-height: 120px; padding: 14px 18px; border-radius: 16px; outline: 0; resize: vertical;
  background: var(--hc-well); border: 1px solid var(--hc-line-2); font-size: 16px; line-height: 1.5;
}
.hc-textarea:focus { border-color: var(--hc-lime); box-shadow: 0 0 0 4px rgba(182, 236, 121, .14); }
.hc-hint { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--hc-ink-3); }
.hc-hint--error { color: var(--hc-alert); }
.hc-hint__count { font-family: var(--hc-mono); }
.hc-saved { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--hc-lime); }
.hc-saved .hc-i { width: 18px; height: 18px; }
.hc-dirty { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #e8c9a8; }
.hc-dirty::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff9a52; }
.hc-more { border-top: 1px solid var(--hc-line); }
.hc-more summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 56px; cursor: pointer; font-weight: 600; font-size: 15.5px; color: var(--hc-ink-2); }
.hc-more summary::-webkit-details-marker { display: none; }
.hc-more summary:hover { color: var(--hc-ink); }
.hc-more summary span { font-weight: 400; color: var(--hc-ink-3); }
.hc-more .hc-calc__chev { margin-left: auto; }
.hc-more[open] .hc-calc__chev { transform: rotate(180deg); }
.hc-more__body { padding-bottom: 8px; }
.hc-mc__save { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hc-mc__save .hc-fine { flex: 1 1 200px; }
.hc-spin--dark { border-color: rgba(26, 12, 2, .25); border-top-color: var(--hc-on-orange); width: 16px; height: 16px; }
.hc-link-block { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 14px; padding-top: 24px; border-top: 1px solid var(--hc-line); animation: hc-rise .6s var(--hc-ease) both; }
.hc-link-block__head { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.hc-link-block__head .hc-label { color: var(--hc-ink); }
.hc-link { display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; min-height: 56px; padding: 6px 6px 6px 18px; border-radius: 16px; background: var(--hc-well); border: 1px solid rgba(182, 236, 121, .35); }
.hc-link > button { flex-shrink: 0; }
.hc-link__url { flex: 1; min-width: 0; font-family: var(--hc-mono); font-size: 14.5px; color: var(--hc-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-link-block__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hc-link-block__actions .hc-fine { flex: 1 1 200px; }

.hc-banner-editor { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 24px; border-top: 1px solid var(--hc-line); }
.hc-banner-upload { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 18px; background: var(--hc-well); border: 1px dashed var(--hc-line-2); border-radius: 18px; }
.hc-banner-upload__label { font-weight: 650; }
.hc-banner-upload input[type="file"] { min-width: 0; width: 100%; font-size: 14px; color: var(--hc-ink-2); }
.hc-banner-upload input::file-selector-button { margin: 0 10px 6px 0; padding: 10px 12px; border: 1px solid var(--hc-line-2); border-radius: 10px; background: var(--hc-panel); color: var(--hc-ink); cursor: pointer; }
.hc-banner-upload .hc-btn2 { justify-self: start; }
.hc-banner-remove { background: none; padding: 8px 0; border: 0; color: var(--hc-ink-2); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.hc-banner-error { padding: 16px; border: 1px solid var(--hc-alert); border-radius: 16px; color: var(--hc-alert); }
.hc-banner-editor__image, .hc-banner { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 16px; background: transparent; }
.hc-main--banner { grid-template-rows: auto auto auto 1fr; grid-template-areas: "banner banner banner" "hero hero card" "about panda card" "steps steps card"; }
.hc-community-banner { grid-area: banner; position: relative; isolation: isolate; width: 100%; margin: 0 auto -28px; max-width: 1200px; }
.hc-community-banner::before { content: ''; position: absolute; z-index: -1; inset: 12% 12% 2%; background: radial-gradient(ellipse, rgb(182 236 121 / 15%), transparent 70%); }
.hc-community-banner .hc-banner, .hc-pv__banner {
  border-radius: 22px 22px 0 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 68%, transparent), linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 68%, transparent), linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-composite: intersect;
}
.hc-banner--preview { position: relative; border-radius: 0; }
.hc-pv__banner { position: relative; margin: 0 0 -12px; }
.hc-crop { min-width: 0; display: grid; gap: 14px; padding-top: 8px; }
.hc-crop__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.hc-crop__badge { padding: 4px 8px; border-radius: 6px; color: #d2bfff; background: #332b42; font-size: 11px; }
.hc-crop__stage { position: relative; overflow: hidden; width: 100%; aspect-ratio: 3 / 1; border: 2px solid var(--hc-lime); border-radius: 14px; cursor: grab; touch-action: none; background-color: #1c2924; background-image: linear-gradient(45deg,#29362f 25%,transparent 25%),linear-gradient(-45deg,#29362f 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#29362f 75%),linear-gradient(-45deg,transparent 75%,#29362f 75%); background-size: 20px 20px; background-position: 0 0,0 10px,10px -10px,-10px 0; }
.hc-crop__stage:active { cursor: grabbing; }
.hc-crop__stage:focus-visible { outline: 3px solid #d2bfff; outline-offset: 4px; }
.hc-crop__stage.is-busy { pointer-events: none; opacity: .7; }
.hc-crop__stage canvas { display: block; width: 100%; height: 100%; }
.hc-crop__grid { position: absolute; inset: 0; pointer-events: none; opacity: .35; background: linear-gradient(to right,transparent 33.1%,#fff 33.1%,#fff 33.4%,transparent 33.4%,transparent 66.4%,#fff 66.4%,#fff 66.7%,transparent 66.7%),linear-gradient(to bottom,transparent 33.1%,#fff 33.1%,#fff 33.7%,transparent 33.7%,transparent 66.4%,#fff 66.4%,#fff 67%,transparent 67%); }
.hc-crop__drag { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); padding: 4px 8px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 6px; background: rgb(8 18 12 / 85%); color: #fff; font-size: 10px; white-space: nowrap; pointer-events: none; }
.hc-crop__zoom { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.hc-crop__zoom label { flex: 0 0 auto; font-weight: 650; }
.hc-crop__zoom input { flex: 1 1 auto; min-width: 0; min-height: 44px; accent-color: var(--hc-lime); cursor: pointer; }
.hc-crop__zoom output { width: 48px; flex: 0 0 auto; text-align: right; font-variant-numeric: tabular-nums; }
.hc-crop__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hc-mc__preview { flex: 1 1 520px; min-width: 0; display: grid; gap: 14px; }
@media (min-width: 1180px) { .hc-mc__preview { position: sticky; top: 20px; } }
.hc-mc__preview-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hc-live { display: inline-flex; align-items: center; gap: 8px; color: var(--hc-lime); }
.hc-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hc-lime); }
.hc-pv { position: relative; overflow: hidden; min-height: 400px; border-radius: 24px; background: var(--hc-night); border: 1px solid var(--hc-line-2); }
.hc-pv__glow { position: absolute; left: -120px; top: -160px; width: 520px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(182, 236, 121, .1), rgba(182, 236, 121, 0)); }
.hc-pv__bar { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid rgba(209, 235, 196, .08); }
.hc-pv__brand { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; letter-spacing: .06em; font-size: 12px; }
.hc-pv__brand svg { width: 16px; height: 16px; }
.hc-pv__account { font-size: 11px; color: var(--hc-ink-2); border: 1px solid var(--hc-line-2); border-radius: 999px; padding: 4px 10px; }
.hc-pv__body { position: relative; display: flex; gap: 24px; padding: 28px 24px 30px; align-items: flex-start; }
.hc-pv__text { flex: 1 1 auto; min-width: 0; display: grid; gap: 14px; padding-right: 8px; }
.hc-pv__eyebrow { font-family: var(--hc-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--hc-lime); }
.hc-pv__title { font-size: 58px; font-weight: 800; font-stretch: 75%; line-height: .88; letter-spacing: -.03em; overflow-wrap: anywhere; hyphens: auto; }
.hc-pv__title[data-size="m"] { font-size: 50px; }
.hc-pv__title[data-size="s"] { font-size: 40px; }
.hc-pv__title[data-size="xs"] { font-size: 32px; }
.hc-pv__desc { max-width: 300px; font-size: 12.5px; line-height: 1.5; color: var(--hc-ink-2); overflow-wrap: anywhere; }
.hc-pv__side { position: relative; flex: 0 0 210px; }
.hc-pv__panda { position: absolute; left: -78px; top: -30px; width: 118px; animation: hc-float 6.5s ease-in-out .6s 4 alternate both; }
.hc-pv__panda img { width: 100%; height: auto; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .5)); }
.hc-pv__card { position: relative; margin-top: 60px; display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: var(--hc-panel); border: 1px solid var(--hc-line); }
.hc-pv__amount { display: flex; align-items: center; height: 46px; padding: 0 12px; border-radius: 11px; background: var(--hc-well); border: 1px solid var(--hc-line-2); font-weight: 700; font-size: 24px; font-stretch: 85%; }
.hc-pv__amount span { margin-left: 4px; font-size: 16px; color: var(--hc-ink-3); }
.hc-pv__line { display: flex; justify-content: space-between; align-items: center; height: 30px; padding: 0 10px; border-radius: 9px; background: var(--hc-panel-2); font-size: 11.5px; color: var(--hc-ink-2); }
.hc-pv__line.is-selected { box-shadow: inset 0 0 0 1px var(--hc-lime); }
.hc-pv__btn { display: grid; place-items: center; height: 38px; border-radius: 11px; background: linear-gradient(180deg, var(--hc-orange-top), var(--hc-orange-bottom)); color: var(--hc-on-orange); font-weight: 750; font-size: 13px; }

.hc-history { margin-top: 40px; padding: 32px; }
.hc-history__head { margin-bottom: 22px; }
.hc-history__title-row { display: flex; align-items: center; gap: 4px; }
.hc-history__title { font-size: 24px; font-weight: 750; font-stretch: 88%; }
.hc-history__intro { margin-top: 6px !important; max-width: 720px; font-size: 14.5px; color: var(--hc-ink-2); }
.hc-table-wrap { overflow-x: auto; }
.hc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hc-table caption { caption-side: bottom; text-align: left; padding-top: 14px; }
.hc-table th { padding: 0 12px 12px; border-bottom: 1px solid var(--hc-line-2); text-align: left; font-family: var(--hc-mono); font-size: 11px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--hc-ink-3); }
.hc-table td { padding: 16px 12px; border-bottom: 1px solid var(--hc-line); font-variant-numeric: tabular-nums; vertical-align: middle; }
.hc-table td small { display: block; font-family: var(--hc-mono); font-size: 12.5px; color: var(--hc-ink-3); }
.hc-table .hc-n { text-align: right; white-space: nowrap; }
.hc-table .hc-credit-final { color: var(--hc-lime); font-weight: 700; }
.hc-table tbody tr:hover { background: rgba(209, 235, 196, .03); }
.hc-st { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.hc-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hc-st--ok { background: rgba(182, 236, 121, .13); color: var(--hc-lime); }
.hc-st--wait { background: rgba(169, 139, 255, .15); color: #dcd0ff; }
.hc-st--fee { background: rgba(255, 154, 82, .13); color: var(--hc-amber-ink); }
.hc-st--error { background: rgba(255, 181, 158, .12); color: var(--hc-alert); }
.hc-empty { display: flex; gap: 20px; align-items: center; padding: 28px; border-radius: 20px; border: 1px dashed var(--hc-line-2); }
.hc-empty img { width: 72px; height: auto; }
.hc-empty__title { font-size: 18px; font-weight: 700; }
.hc-empty__text { margin-top: 4px !important; font-size: 14.5px; color: var(--hc-ink-2); }

/* ---------------------------------------------------------------------------
   12. Mouvement
   ------------------------------------------------------------------------ */
.hc-rise { animation: hc-rise .9s var(--hc-ease) both; }
.hc-d1 { animation-delay: .05s; } .hc-d2 { animation-delay: .15s; } .hc-d3 { animation-delay: .28s; }
.hc-d4 { animation-delay: .4s; } .hc-d5 { animation-delay: .52s; }

@keyframes hc-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hc-float { from { transform: translateY(0) rotate(0); } to { transform: translateY(-14px) rotate(-2deg); } }
@keyframes hc-twinkle { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }
@keyframes hc-spin { to { transform: rotate(360deg); } }
/* La fusée passe derrière le panda (z-index 1) sur la moitié haute de l'orbite. */
@keyframes hc-orbit {
  0%    { offset-distance: 0%; scale: 1.04; z-index: 4; }
  13%   { scale: 1.08; }
  37.9% { z-index: 4; }
  38%   { scale: .95; z-index: 1; }
  63%   { scale: .8; }
  87.9% { z-index: 1; }
  88%   { scale: .95; z-index: 4; }
  100%  { offset-distance: 100%; scale: 1.04; z-index: 4; }
}

.hc--still *, .hc--still *::before, .hc--still *::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .hc *, .hc *::before, .hc *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------------------
   13. Responsive : composition mobile dédiée
   Sous 1180 px : nom + panda, puis directement la carte, puis le reste.
   ------------------------------------------------------------------------ */
@media (max-width: 1179px) {
  .hc { --hc-gutter: 16px; }
  .hc-main {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "hero  panda"
      "card  card"
      "steps steps"
      "about about";
    column-gap: 4px; row-gap: 0; padding-top: 8px;
  }
  .hc-main--banner { grid-template-rows: auto auto auto auto 1fr; grid-template-areas: "banner banner" "hero panda" "card card" "steps steps" "about about"; }
  .hc-community-banner { margin-bottom: -8px; }
  .hc-hero { padding: 6px 4px 0; }
  .hc-title { margin-top: 14px !important; font-size: clamp(40px, 11vw, 96px); line-height: .88; letter-spacing: -.03em; }
  .hc-pz-wrap { --hc-pz-scale: .356; margin-top: -4px; }
  .hc-hero__short { display: block !important; margin-top: 16px !important; font-size: 16.5px; line-height: 1.45; color: var(--hc-ink-2); }
  .hc-card { margin: 22px 0 0; position: relative; top: auto; width: 100%; max-width: 560px; justify-self: center; border-radius: 24px; padding: 22px 18px; }
  .hc-card__title { font-size: 23px; }
  .hc-steps { margin-top: 48px; padding: 0 4px; }
  .hc-about { max-width: 640px; margin-top: 44px; padding: 0 4px; align-self: start; }
  .hc-about__title { display: block !important; }
  .hc-traj { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hc-traj::before { left: 7px; right: auto; top: 10px; bottom: 10px; border-top: 0; border-left: 1.5px dashed rgba(182, 236, 121, .35); }
  .hc-traj li { padding: 0 0 0 36px; }
  .hc-traj__node { top: 3px; }
  .hc-traj strong { margin: 2px 0; font-size: 17px; }
  .hc-steps__title { display: block !important; }
  .hc-bar { display: flex; }
  .hc-foot { padding-top: 150px; padding-bottom: 96px; flex-direction: column-reverse; align-items: flex-start; }
  .hc-sky__glow--warm { top: 900px; }
  .hc-planet { bottom: -3700px; }
  .hc-amount { min-height: 72px; padding: 6px 16px; }
  .hc-amount__input { font-size: 42px; }
  .hc-presets { flex: 1 1 160px; }
  .hc-chip { flex: 1 1 0; min-width: 48px; min-height: 48px; padding: 0 6px; }
  .hc-recap__row--total .hc-recap__v { font-size: 29px; }
  .hc-cta { font-size: 18.5px; min-height: 58px; padding: 0 18px; }
  .hc-view__title { font-size: 26px; }

  .hc-mc { padding-top: 16px; }
  .hc-mc__grid { margin-top: 24px; gap: 24px; }
  .hc-mc__form { padding: 20px 18px; border-radius: 24px; }
  .hc-input { min-height: 60px; font-size: 22px; padding: 0 16px; }
  .hc-history { padding: 24px 18px; border-radius: 24px; }
}
@media (min-width: 700px) and (max-width: 1179px) {
  .hc-pz-wrap { --hc-pz-scale: .6; }
}
@media (max-width: 599px) {
  .hc-top__sep, .hc-top__current, .hc-top .hc-tag { display: none; }
  .hc-top { padding-top: 12px; padding-bottom: 12px; }
  .hc-brand { font-size: 17px; }
  .hc-pv__body { flex-direction: column; }
  .hc-pv__text { padding-right: 96px; }
  .hc-pv__title { font-size: 44px; }
  .hc-pv__title[data-size="m"] { font-size: 38px; }
  .hc-pv__title[data-size="s"] { font-size: 32px; }
  .hc-pv__title[data-size="xs"] { font-size: 26px; }
  .hc-pv__side { position: static; flex-basis: auto; width: 100%; }
  .hc-pv__panda { left: auto; right: 14px; top: 22px; width: 84px; }
  .hc-pv__card { margin-top: 0; }
  .hc-link { padding: 6px 6px 6px 12px; }
  .hc-link__url { font-size: 12px; }

  /* Historique : le tableau devient une liste de cartes */
  .hc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hc-table, .hc-table tbody { display: block; }
  .hc-table caption { display: block; padding: 4px 0 0; }
  .hc-table tr { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 12px; margin-bottom: 10px; padding: 16px; border-radius: 18px; background: var(--hc-panel-2); border: 1px solid var(--hc-line); }
  .hc-table td { display: block; padding: 0; border: 0; }
  .hc-table td:nth-child(1) { order: 1; flex: 1 1 auto; font-weight: 650; }
  .hc-table td:nth-child(6) { order: 2; flex: 0 0 auto; }
  .hc-table td:nth-child(2) { order: 3; flex: 1 1 100%; margin-top: -4px; font-size: 14px; color: var(--hc-ink-2); }
  .hc-table td.hc-n { order: 4; flex: 1 1 0; min-width: 0; text-align: left; white-space: normal; }
  .hc-table td.hc-n::before { content: attr(data-label); display: block; margin-bottom: 2px; font-family: var(--hc-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--hc-ink-3); }
  .hc-table tbody tr:hover { background: var(--hc-panel-2); }
}
@media (max-width: 360px) {
  .hc-cta { font-size: 17px; gap: 8px; }
  .hc-card { padding: 20px 16px; }
  .hc-recap { padding: 2px 14px; }
}
/* Éléments visibles seulement dans la composition mobile */
.hc-hero__short, .hc-about__title, .hc-steps__title { display: none; }

/* Native controller integration, without changing the payment flow. */
.hc .hc-official-logo{width:140px;height:42px;object-fit:contain;background:#f5f7ef;padding:5px 7px;border-radius:7px}.hc .hc-server-error{padding:15px;border:1px solid var(--hc-alert);border-radius:12px;color:var(--hc-alert)}.hc .hc-confirm-terms{display:flex;gap:12px;font-size:13px;line-height:1.7}.hc .hc-confirm-terms input{flex-shrink:0;width:20px;height:20px;margin-top:4px;accent-color:var(--hc-lime)}.hc .hc-native-invoice{margin-top:20px}

/* Clear, equally usable account choices; the native WHMCS routes stay unchanged. */
.hc-auth-options { display: grid; gap: 18px; }
.hc-auth-option { display: grid; gap: 10px; }
.hc-auth-option__label { color: var(--hc-ink); font-size: 18px; font-weight: 700; }
.hc-auth-option--new { position: relative; padding: 22px 18px 18px; border: 1px solid #b9a2f1; border-radius: 20px; background: linear-gradient(135deg, #2c2440, #202032); }
.hc-auth-option__tag { position: absolute; top: -11px; left: 16px; padding: 3px 10px; border-radius: 999px; background: #dfd1ff; color: #292038; font-size: 12px; font-weight: 750; }
.hc-auth-option__help { color: #ded6ee; font-size: 14px; line-height: 1.5; }
.hc-auth-create { text-decoration: none; min-height: 54px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 14px; background: #dfd1ff; color: #241a35; font-size: 17px; font-weight: 750; transition: background .18s, transform .18s; }
.hc-auth-create:hover { color: #241a35; background: #eee5ff; transform: translateY(-2px); }
.hc-auth-create:focus-visible { outline: 3px solid var(--hc-lime); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .hc-auth-create { transition: none; } .hc-auth-create:hover { transform: none; } }
/* Single card payment: card fields are isolated Stripe iframes. */
.hc-oneoff-card{display:grid;gap:16px;margin:24px 0}
#hc-card-element{min-height:48px;padding:16px;background:#111e18;border:1px solid #52695a;border-radius:12px}
#hc-card-error{min-height:24px;margin:0;color:#ffcfbc;font-size:14px;line-height:1.5}
.hc-oneoff-card .hc-cta:disabled{opacity:.6;cursor:wait}
