/* Hypercor — surcharges du clone. Logo Hypercor (symbole à points, copy/logo.py + mot en police du site) à la place du wordmark Privy. */
[data-framer-name="Wordmark"] { position: relative; container-type: size; }
[data-framer-name="Wordmark"] > * { visibility: hidden; }
[data-framer-name="Wordmark"]::before {
  content: "";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 62cqh; height: 62cqh;
  background: url("/assets/logos/hypercor-mark.svg") no-repeat center / contain;
}
[data-framer-name="Wordmark"]::after {
  content: "hypercor";
  position: absolute; top: 0; bottom: 0; left: 76cqh;
  display: flex; align-items: center;
  font-family: "Inter Display", "Inter", system-ui, sans-serif;
  font-weight: 600; letter-spacing: -0.04em;
  font-size: 72cqh; line-height: 1;
  color: rgb(17, 17, 23);
}

/* Bandeau de logos clients Privy (Robinhood, etc.) : masqué, ce ne sont pas nos clients. */
div:has(> [data-framer-name="Hero"] .ticker-item) { display: none !important; }

/* Cartes « case studies » : photos + logos Ramp/Deel/Hyperliquid/Klarna masqués
   en attendant de vrais visuels. */
a.framer-19v6qzp img { visibility: hidden; }


/* One-page : plus de sous-menus, on retire les chevrons des entrées du menu. */
[data-framer-name="Menu"] [data-framer-name="Caret"],
[data-framer-name="Menu"] [data-framer-name="Icon"],
[data-framer-name="Mobile Title"] [data-framer-name="Caret"] { display: none !important; }
[data-framer-name="Menu"] [data-framer-name="Dropdown"],
[data-framer-name="Menu"] [data-framer-name="Regular"],
[data-framer-name="Mobile Title"] { cursor: pointer; }
/* Panneaux de sous-menus (desktop/tablette) : jamais affichés. */
[data-framer-name="Desktop & Tablet"].framer-296lV { display: none !important; }

/* Bandeau de logos d'intégrations sous le hero (injecté par custom.js). */
.hc-marquee { width: 100%; padding: 28px 0 32px; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hc-marquee-label { margin: 0; font: 500 13px/1 "Inter", system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(112, 112, 125); }
.hc-marquee-viewport { width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.hc-marquee-track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: hc-marquee-ltr 40s linear infinite; }
.hc-logo { display: flex; align-items: center; gap: 10px; padding: 0 48px; color: rgb(17, 17, 23); opacity: 0.72; white-space: nowrap; }
.hc-logo-word { font: 600 26px/1 "Inter Display", "Inter", system-ui, sans-serif; letter-spacing: -0.03em; }
.hc-logo-img { display: block; width: auto; }
.hc-hl-img { height: 30px; }
.hc-okx-img { height: 104px; margin: -37px 0; } /* le SVG OKX est carré, le logo occupe la bande centrale */
@keyframes hc-marquee-ltr { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .hc-marquee-track { animation: none; } }
@media (max-width: 809px) { .hc-logo { padding: 0 28px; } .hc-logo-word { font-size: 20px; } .hc-hl-img { height: 24px; } .hc-okx-img { height: 84px; margin: -30px 0; } .hc-marquee { padding: 20px 0 24px; } }

/* Pop-up « Book a call » */
.hc-modal-open, .hc-modal-open body { overflow: hidden; }
.hc-modal { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 16px; font-family: "Inter", system-ui, sans-serif; color: rgb(17, 17, 23); }
.hc-modal[hidden] { display: none; }
.hc-modal-backdrop { position: absolute; inset: 0; background: rgba(17, 17, 23, 0.45); backdrop-filter: blur(4px); }
.hc-modal-card { position: relative; width: 100%; max-width: 560px; max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 24px 64px rgba(17, 17, 23, 0.25); }
.hc-modal-x { position: absolute; top: 14px; right: 16px; width: 32px; height: 32px; border: 0; background: transparent; font-size: 26px; line-height: 1; color: rgb(112, 112, 125); cursor: pointer; border-radius: 50%; }
.hc-modal-x:hover { background: rgb(243, 244, 247); color: rgb(17, 17, 23); }
.hc-modal h2 { margin: 0 0 6px; font: 500 28px/1.15 "Inter Display", "Inter", system-ui, sans-serif; letter-spacing: -0.02em; }
.hc-form-sub, .hc-done p { margin: 0 0 22px; font-size: 15px; line-height: 1.45; color: rgb(112, 112, 125); }
.hc-form { display: flex; flex-direction: column; gap: 14px; }
.hc-form[hidden], .hc-done[hidden] { display: none; }
.hc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hc-form label, .hc-form legend { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; }
.hc-opt { font-weight: 400; color: rgb(140, 140, 150); }
.hc-form label:has(.hc-opt) { display: block; }
.hc-form label:has(.hc-opt) input { margin-top: 6px; width: 100%; }
.hc-form input:not([type=checkbox]), .hc-form textarea, .hc-form select { box-sizing: border-box; width: 100%; font: 400 15px/1.4 "Inter", system-ui, sans-serif; color: inherit; background: #fff; border: 1px solid rgb(222, 224, 230); border-radius: 10px; padding: 10px 12px; outline: none; transition: border-color .15s, box-shadow .15s; }
.hc-form textarea { resize: vertical; min-height: 96px; }
.hc-form input:focus, .hc-form textarea:focus, .hc-form select:focus { border-color: rgb(17, 17, 23); box-shadow: 0 0 0 3px rgba(17, 17, 23, 0.08); }
.hc-form fieldset { border: 0; margin: 0; padding: 0; }
.hc-form legend { padding: 0; margin-bottom: 8px; }
.hc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hc-chip { position: relative; display: inline-flex !important; cursor: pointer; }
.hc-chip input { position: absolute; opacity: 0; pointer-events: none; }
.hc-chip span { font-size: 13px; font-weight: 400; padding: 7px 12px; border: 1px solid rgb(222, 224, 230); border-radius: 999px; transition: all .15s; }
.hc-chip input:checked + span { background: rgb(17, 17, 23); border-color: rgb(17, 17, 23); color: #fff; }
.hc-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(17, 17, 23, 0.15); }
.hc-form-error { margin: 0; font-size: 13px; color: rgb(200, 40, 40); }
.hc-submit { align-self: flex-start; margin-top: 4px; font: 500 15px/1 "Inter", system-ui, sans-serif; color: #fff; background: rgb(17, 17, 23); border: 0; border-radius: 999px; padding: 14px 24px; cursor: pointer; }
.hc-submit:hover { background: rgb(45, 45, 55); }
.hc-submit:disabled { opacity: .6; cursor: default; }
@media (max-width: 560px) { .hc-modal-card { padding: 24px 20px; } .hc-row { grid-template-columns: 1fr; } .hc-modal h2 { font-size: 24px; } .hc-submit { align-self: stretch; } }

/* Cartes « What you can launch » : fond dégradé + pictogramme en bas de carte. */
a.framer-19v6qzp { position: relative; overflow: hidden; }
.hc-card-art { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hc-card-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: visible !important; filter: none !important; }
.hc-card-icon { position: absolute; left: 30px; bottom: 30px; width: 72px; height: 72px; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 18px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 6px 20px rgba(40, 80, 200, 0.12); }
.hc-card-icon img { width: 36px; height: 36px; visibility: visible !important; }
a.framer-19v6qzp > :not(.hc-card-art) { position: relative; z-index: 1; }
@media (max-width: 809px) { .hc-card-icon { left: 24px; bottom: 24px; width: 60px; height: 60px; border-radius: 16px; } .hc-card-icon img { width: 30px; height: 30px; } }

/* Menu déroulant « Timeline » sur mesure : même gabarit que les champs texte. */
.hc-field { display: flex; flex-direction: column; gap: 6px; }
.hc-field-label { font-size: 13px; font-weight: 500; }
.hc-select { position: relative; }
.hc-select-btn { box-sizing: border-box; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font: 400 15px/1.4 "Inter", system-ui, sans-serif; color: rgb(17, 17, 23); text-align: left;
  background: #fff; border: 1px solid rgb(222, 224, 230); border-radius: 10px; padding: 10px 12px; cursor: pointer;
  transition: border-color .15s, box-shadow .15s; }
.hc-select-btn:hover { border-color: rgb(196, 198, 206); }
.hc-select-btn:focus-visible, .hc-select.is-open .hc-select-btn { outline: none; border-color: rgb(17, 17, 23); box-shadow: 0 0 0 3px rgba(17, 17, 23, 0.08); }
.hc-select-value.is-placeholder { color: rgb(140, 140, 150); }
.hc-select-chev { width: 16px; height: 16px; flex: none; color: rgb(112, 112, 125); transition: transform .2s; }
.hc-select.is-open .hc-select-chev { transform: rotate(180deg); }
.hc-select-list { position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); z-index: 5; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid rgb(232, 233, 238); border-radius: 12px; box-shadow: 0 12px 32px rgba(17, 17, 23, 0.12); }
.hc-select-list[hidden] { display: none; }
.hc-select-list [role=option] { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 8px;
  font-size: 15px; cursor: pointer; outline: none; }
.hc-select-list [role=option]:hover, .hc-select-list [role=option]:focus { background: rgb(243, 244, 247); }
.hc-select-list [role=option] svg { width: 16px; height: 16px; color: rgb(17, 17, 23); visibility: hidden; }
.hc-select-list [role=option][aria-selected=true] { font-weight: 500; }
.hc-select-list [role=option][aria-selected=true] svg { visibility: visible; }

/* Blocs avec visuel Hypercor (écrans, cube) : fond bleu clair, visuel en fondu sous le texte. */
.hc-art-card { background-color: rgb(236, 242, 255) !important; }
.hc-art-img {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 26%, rgba(0,0,0,.55) 42%, #000 62%);
          mask-image: linear-gradient(to bottom, transparent 0%, transparent 26%, rgba(0,0,0,.55) 42%, #000 62%);
}
.hc-art-img[src*="screens"] { object-fit: contain !important; object-position: center bottom !important; }

/* Illustrations d'origine : recolorées directement dans les fichiers (copy/recolor_images.py). */

/* Footer : icônes des réseaux sociaux de Privy masquées. */
[data-framer-name="Footer Logo Column"] a[data-framer-component-type="SVG"] { display: none !important; }
/* Liens retirés : pas de soulignement par défaut du navigateur. */
a[data-hc-href] { text-decoration: none !important; }
[data-framer-name="Footer Logo Column"] a:not([data-framer-name="Wordmark"]),
[data-framer-name="Footer Logo Column"] a:not([data-framer-name="Wordmark"]) * { text-decoration: none !important; pointer-events: none; }
a[data-hc-href] * { text-decoration: none !important; }
.hc-tv-img { height: 26px; }
@media (max-width: 809px) { .hc-tv-img { height: 20px; } }

/* Cartes « What you can launch », modèle Privy : pictogramme en haut à gauche (place du logo), sans tuile. */
.hc-card-icon { top: 26px !important; bottom: auto !important; left: 28px !important; width: auto !important; height: auto !important;
  background: none !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.hc-card-icon img { width: 34px !important; height: 34px !important; }
/* Footer : logo un peu plus petit pour tenir dans la colonne. */
[data-framer-name="Footer Logo Column"] [data-framer-name="Wordmark"]::before { width: 46cqh; height: 46cqh; }
[data-framer-name="Footer Logo Column"] [data-framer-name="Wordmark"]::after { left: 56cqh; font-size: 52cqh; }

/* Hero mobile : image alignée par le haut (fond prolongé par copy/hero_mobile_pad.py) -> la fenêtre passe sous les boutons. */
@media (max-width: 809px) {
  img[src*="DYiPdWE6aHwTRE7JtAbVRtwfc5I"], img[srcset*="DYiPdWE6aHwTRE7JtAbVRtwfc5I"] { object-position: 50% 0 !important; }
}
