/* Hucan Veículos · /links (e /bio): o link tree da bio. Site primeiro, UM botão de contato (WhatsApp), nenhuma foto de carro.
   No alto a fachada deles (o letreiro HUCAN); a abertura (a mesma do site, hucan-abertura.js) monta a logo em ouro e pousa nesse letreiro. */
html.hc-links, html.hc-links body { min-height: 100%; }
html.hc-links body { margin: 0; display: grid; justify-items: center; padding: 0 16px; }
.hc-l-fundo { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 40% at 50% 0%, rgba(227,178,26,.14), transparent 70%), radial-gradient(50% 35% at 100% 100%, rgba(168,121,11,.12), transparent 70%), #070707; }
.pg { width: min(100%, 520px); display: grid; gap: 16px; padding: max(16px, env(safe-area-inset-top)) 0 max(26px, env(safe-area-inset-bottom)); }
.hc-l-foto { display: block; margin-top: 4px; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid rgba(227,178,26,.3); box-shadow: 0 24px 50px -28px rgba(0,0,0,.9), 0 0 40px -18px rgba(227,178,26,.4); }
.hc-l-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 33%; display: block; }
.hc-l-cab { display: grid; justify-items: center; gap: 8px; text-align: center; }
.hc-l-frase { margin: 4px 0 0; font: 800 clamp(25px, 7.4vw, 31px)/1.1 var(--hc-sans); color: #fff; letter-spacing: -.02em; }
.hc-l-cid { margin: 0; font: 500 14px/1.4 var(--hc-sans); color: var(--hc-mut); }
.hc-l-agora { margin-top: 2px; padding: 8px 14px; border-radius: 10px; background: rgba(227,178,26,.05); border: 1px solid rgba(227,178,26,.2); }
.hc-l-demarca { margin-top: 12px; width: calc(100% + 32px); }
.hc-l-lista { display: grid; gap: 10px; margin-top: 4px; }
html.hc-links .btn { position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 14px; min-height: 74px; padding: 12px 14px 12px 12px; border-radius: 14px; text-align: left;
  background: rgba(227,178,26,.035); box-shadow: inset 0 0 0 1px rgba(227,178,26,.2); color: #fff; font-weight: 400; overflow: hidden; isolation: isolate; text-decoration: none; transition: transform .35s var(--hc-ease), background .3s, box-shadow .3s; }
html.hc-links .btn .ic { width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(227,178,26,.1); color: #f6d466; }
html.hc-links .btn .ic svg { width: 23px; height: 23px; }
html.hc-links .btn .tx { display: grid; gap: 4px; flex: 1; min-width: 0; }
html.hc-links .btn .tx > b { font: 800 16.5px/1.15 var(--hc-sans); letter-spacing: -.01em; }
html.hc-links .btn .tx > span { font: 500 13.5px/1.3 var(--hc-sans); color: var(--hc-mut); }
html.hc-links .btn .tx > span b { color: #fff; }
html.hc-links .btn > i { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(227,178,26,.08); }
html.hc-links .btn > i svg { width: 16px; height: 16px; transition: transform .4s var(--hc-ease); }
html.hc-links .btn.est { background: var(--hc-g-ouro); color: #0d0b06; box-shadow: 0 16px 36px -16px rgba(227,178,26,.9), inset 0 1px 0 rgba(255,255,255,.35); }
html.hc-links .btn.est .ic, html.hc-links .btn.est > i { background: rgba(0,0,0,.14); color: #0d0b06; }
html.hc-links .btn.est .tx > span, html.hc-links .btn.est .tx > span b { color: rgba(13,11,6,.8); }
html.hc-links .btn.wa .ic { background: #1fbd5a; color: #fff; }
html.hc-links .btn.ig .ic { background: linear-gradient(45deg, #feda75, #fa7e1e 30%, #d62976 60%, #962fbf 85%, #4f5bd5); color: #fff; }
@media (hover: hover) { html.hc-links .btn:hover { transform: translateY(-2px); } html.hc-links .btn:not(.est):hover { background: rgba(227,178,26,.08); box-shadow: inset 0 0 0 1px rgba(246,207,85,.6); } html.hc-links .btn:hover > i svg { transform: translateX(3px); } }
.hc-l-pe { margin: 10px 0 0; text-align: center; font: 500 12.5px/1.5 var(--hc-sans); color: var(--hc-mut2); }
.hc-l-pe .credito { color: var(--hc-mut); text-decoration: none; }
.credito__marca { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: #e9eaed; }
.credito__marca svg { width: 15px; height: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* entrada: frase, cidade e botões sobem quando a logo pousa (ou direto, sem abertura) */
.hc-links .hc-l-cab > *, .hc-links .hc-l-lista .btn { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--hc-ease), transform .7s var(--hc-ease); }
html.hc-links.hc-vivo .hc-l-cab > *, html.hc-links.hc-vivo .hc-l-lista .btn { opacity: 1; transform: none; }
.hc-links .hc-l-lista .btn:nth-child(1) { transition-delay: .12s; } .hc-links .hc-l-lista .btn:nth-child(2) { transition-delay: .2s; } .hc-links .hc-l-lista .btn:nth-child(3) { transition-delay: .28s; }
.hc-links .hc-l-lista .btn:nth-child(4) { transition-delay: .36s; } .hc-links .hc-l-lista .btn:nth-child(5) { transition-delay: .44s; }
@media (max-width: 359px) { html.hc-links .btn { min-height: 68px; gap: 11px; padding-right: 10px; } html.hc-links .btn .ic { width: 44px; height: 44px; } html.hc-links .btn .tx > b { font-size: 15.5px; } html.hc-links .btn .tx > span { font-size: 12.5px; } html.hc-links .btn > i { width: 30px; height: 30px; } }

/* ---------- abertura (a mesma do início; as regras moram aqui porque o /links não carrega o hucan-home.css) ---------- */
.hc-ab { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; align-content: center; gap: 20px; padding: 24px; overflow: hidden; cursor: pointer; }
.hc-ab::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 55% at 50% 50%, #15110a 0%, #070707 62%, #050505 100%); transition: opacity .75s ease; }
html.hc-sem-ab .hc-ab { display: none; }
html.hc-abre, html.hc-abre body { overflow: hidden; }
.hc-ab-marca { position: relative; z-index: 1; width: min(84vw, 520px); transform-origin: 0 0; will-change: transform; }
.hc-ab-svg { display: block; width: 100%; height: auto; overflow: visible; }
.hc-ab [data-p="l"] { opacity: 0; transform-box: fill-box; transform-origin: 0 100%; }
.hc-ab.vai [data-p="l"] { animation: hcLetra .62s var(--hc-ease) both; animation-delay: calc(.12s + var(--k) * .085s); }
@keyframes hcLetra { 0% { opacity: 0; transform: translateX(-70px) skewX(-14deg); } 45% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.hc-ab [data-p="carro"] { clip-path: inset(-10% 100% -10% 0); filter: drop-shadow(0 0 8px rgba(255,214,110,.55)); }
.hc-ab.vai [data-p="carro"] { animation: hcCarro .75s cubic-bezier(.6,0,.2,1) .55s both; }
@keyframes hcCarro { to { clip-path: inset(-10% -2% -10% 0); } }
.hc-ab [data-p="v"] { opacity: 0; transform-box: fill-box; }
.hc-ab.vai [data-p="v"] { animation: hcV .5s var(--hc-ease) both; animation-delay: calc(1s + var(--k) * .04s); }
@keyframes hcV { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hc-ab-pula { position: absolute; z-index: 2; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); padding: 10px 16px; border-radius: 8px; border: 1px solid rgba(227,178,26,.3); background: rgba(227,178,26,.05); color: #d8c79a; font: 600 12.5px/1 var(--hc-sans); }
.hc-ab.sai { pointer-events: none; }
.hc-ab.sai::before { opacity: 0; }
.hc-ab.sai .hc-ab-pula { opacity: 0; }
.hc-ab-marca.pousou { opacity: 0; filter: drop-shadow(0 0 18px rgba(255,220,120,.9)) brightness(1.25); transition: opacity .55s ease .12s, filter .2s; }

/* ---------- abertura GIRANDO do /links (01/12, Luiz: "faça o link da bio com abertura diferente da do site, faça girando") ----------
   Um aro dourado gira como roda atrás; a logo entra girando como moeda (eixo de pé, 3 voltas freando), para de frente, o brilho passa,
   e ela pousa no letreiro HUCAN da foto (hucan-links-ab.js). O aro abre e some na saída. Só transform e opacity. */
.hc-lab { perspective: 900px; }
.hc-lab .hc-ab-marca { width: min(78vw, 440px); }
.hc-lab-moeda { position: relative; display: block; transform-style: preserve-3d; opacity: 0; }
.hc-lab-moeda img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
.hc-lab.vai .hc-lab-moeda { animation: hcMoeda 1.55s cubic-bezier(.12,.75,.25,1) .1s both; }
@keyframes hcMoeda {
  0% { opacity: 0; transform: rotateY(-1080deg) scale(.35); filter: brightness(1.8); }
  12% { opacity: 1; }
  70% { filter: brightness(1.15); }
  100% { opacity: 1; transform: rotateY(0deg) scale(1); filter: none; } }
.hc-lab-brilho { position: absolute; inset: -10% 0; overflow: hidden; pointer-events: none; -webkit-mask: url("assets/img/hc/marca-hucan.svg") center / contain no-repeat; mask: url("assets/img/hc/marca-hucan.svg") center / contain no-repeat; }
.hc-lab-brilho::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 34%; background: linear-gradient(90deg, rgba(255,250,225,0), rgba(255,250,225,.95), rgba(255,250,225,0)); transform: translateX(-130%) skewX(-18deg); }
.hc-lab.vai .hc-lab-brilho::after { animation: hcLabBrilho .7s cubic-bezier(.5,0,.3,1) 1.5s both; }
@keyframes hcLabBrilho { to { transform: translateX(360%) skewX(-18deg); } }
.hc-lab-aro { position: absolute; left: 50%; top: 50%; width: min(96vw, 560px); aspect-ratio: 1; margin: calc(min(96vw, 560px) / -2) 0 0 calc(min(96vw, 560px) / -2); border-radius: 50%; pointer-events: none; opacity: 0;
  background: conic-gradient(from 0deg, rgba(227,178,26,0) 0deg, rgba(246,207,85,.95) 40deg, rgba(227,178,26,0) 95deg, rgba(227,178,26,0) 180deg, rgba(246,207,85,.75) 220deg, rgba(227,178,26,0) 275deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px), #000 100%, transparent 100%); mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px), #000 100%, transparent 100%);
  filter: drop-shadow(0 0 8px rgba(240,196,64,.7)); transition: opacity .45s, transform .6s cubic-bezier(.3,0,.2,1); }
.hc-lab.vai .hc-lab-aro { opacity: 1; animation: hcAro 1.1s linear infinite; }
@keyframes hcAro { to { transform: rotate(360deg); } }
.hc-lab.sai .hc-lab-aro { opacity: 0; transform: scale(1.5); animation-play-state: paused; }
