/* =========================================================
   Entrega Turbo · hotsite KaBuM!
   Tipografia: Inter em todo o site; Lilita One só no logotipo "Entrega Turbo".
   (Fredoka fica carregada apenas para a interface interna do jogo.)
   Desktop segue o board do Figma (1920); abaixo de 1100 / 700 px reorganiza.
   ========================================================= */
@font-face { font-family: "Lilita One"; src: url("../font/lilita-one.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../font/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../font/fredoka.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --plum: #2b1b3d; --plum-2: #4a2e5e; --ink: #1a1028; --deep: #160d22; --night: #140a22;
  --cream: #fffdf6; --cream-2: #fff4ec; --pink: #ff5d8f; --sun: #ffd23f; --gas: #3ddc97;
  --purple: #6b2c8e; --lilac: #6b4e9b; --orange: #ff6500;
  --display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --logo: "Lilita One", system-ui, sans-serif;
  --heavy: 800;
  --wrap: 1320px;
}
/* the embedded game keeps its own typography (Lilita One + Fredoka) */
#jogo-root {
  --display: "Lilita One", "Fredoka", system-ui, sans-serif;
  --ui: "Fredoka", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--cream); font-family: var(--ui); font-size: 16px; line-height: 1.45; overflow-x: hidden; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }
.ht-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ht-wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; position: relative; z-index: 2; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

/* ---------- type ---------- */
.ht-h1, .ht-h2 { font-family: var(--display); font-weight: var(--heavy); margin: 0; line-height: 1.08; }
.ht-h1 { letter-spacing: -0.01em; font-size: clamp(26px, 2.1vw, 34px); text-shadow: 0 3px 0 var(--plum); text-wrap: balance; }
.ht-h2 { letter-spacing: -0.01em; font-size: clamp(30px, 3vw, 50px); text-align: center; text-wrap: balance; margin: 14px auto 0; max-width: 900px; color: var(--cream); }
.ht-h2--xl { font-size: clamp(32px, 3.2vw, 60px); max-width: 1380px; }
.ht-h2--pink { text-shadow: 0 5px 0 var(--pink); }
.ht-h2--dark { color: var(--plum); text-shadow: 0 5px 0 #fff; }
.ht-h2--sun { text-shadow: 0 6px 0 var(--sun); max-width: 800px; }
.ht-h2--left { text-align: left; margin-left: 0; text-shadow: 0 5px 0 var(--plum); max-width: 500px; }
.ht-lead { margin: 14px auto 0; max-width: 860px; text-align: center; color: #f3e6f0; font-size: clamp(16px, 1.1vw, 19px); text-wrap: pretty; }
.ht-lead--lg { font-size: clamp(17px, 1.2vw, 22.6px); max-width: 1020px; }
.ht-lead--dark { color: var(--plum-2); }
.ht-lead--left { text-align: left; margin-left: 0; color: var(--cream); max-width: 590px; }

/* ---------- chips ---------- */
.ht-chip { display: table; margin: 0 auto; font-weight: 700; font-size: 13px; letter-spacing: 0.12em; padding: 7px 18px 6px; border-radius: 999px; line-height: 1.2; }
.ht-chip--lg { font-size: 16px; padding: 10px 22px 9px; }
.ht-chip--sun { background: var(--sun); color: var(--plum); border: 2.5px solid var(--plum); }
.ht-chip--plum { background: var(--plum); color: var(--sun); }
.ht-chip--pinkfill { background: var(--pink); color: var(--cream); border: 3px solid var(--plum); }

/* ---------- buttons: toy plastic ---------- */
.ht-btn {
  --b: var(--sun); --t: var(--plum);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em; white-space: nowrap; cursor: pointer; text-decoration: none;
  font-family: var(--display); font-weight: var(--heavy); font-size: 19px; letter-spacing: 0.02em; color: var(--t); background: var(--b);
  border: 3.3px solid var(--plum); border-radius: 15px; padding: 13px 26px 11px;
  box-shadow: inset 0 -4px 0 color-mix(in srgb, var(--b), var(--plum) 22%), 0 5px 0 var(--plum);
  transition: transform 0.1s, box-shadow 0.1s, filter 0.15s;
}
.ht-btn:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: inset 0 -4px 0 color-mix(in srgb, var(--b), var(--plum) 22%), 0 7px 0 var(--plum); }
.ht-btn:active { transform: translateY(4px); box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--b), var(--plum) 22%), 0 1px 0 var(--plum); }
.ht-btn--pink { --b: var(--pink); --t: var(--cream); text-shadow: 0 2px 0 var(--plum); }
.ht-btn--sun { --b: var(--sun); --t: var(--plum); }
.ht-btn--xl { font-size: clamp(24px, 1.8vw, 34px); border-width: 4px; border-radius: 22px; padding: 18px 44px 15px; box-shadow: inset 0 -6px 0 color-mix(in srgb, var(--b), var(--plum) 22%), 0 8px 0 var(--plum); }
.ht-btn--sm { font-size: 20px; padding: 11px 24px 9px; }
.ht-tri { display: inline-block; width: 0; height: 0; border-left: 0.75em solid currentColor; border-top: 0.45em solid transparent; border-bottom: 0.45em solid transparent; filter: drop-shadow(0 2px 0 var(--plum)); }
.ht-btn--sun .ht-tri, .ht-btn--card .ht-tri { filter: none; }
.ht-tri--l { border-left: 0; border-right: 0.75em solid currentColor; }

/* =========================================================
   01 · HERO
   ========================================================= */
.ht-hero { position: relative; min-height: min(56.25vw, 1080px); padding: clamp(110px, 8.5vw, 164px) 0 0; overflow: hidden; background: var(--ink); isolation: isolate; }
.ht-hero__bg { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, #33026bf2 0%, #33026b8c 21%, #33026b00 39%),
  linear-gradient(180deg, #160d2200 72%, #160d22b8 86%, #160d22e6 100%),
  url("../img/bg-orla.jpg") center 30% / cover no-repeat; }
.ht-hero__info { display: grid; grid-template-columns: 714fr 523fr; gap: 36px; align-items: center; }

.ht-logo { position: relative; display: flex; flex-direction: column; align-items: center; transform: rotate(-4deg); }
.ht-logo__chip { display: inline-flex; align-items: center; gap: 12px; background: var(--plum); color: var(--sun); font-weight: 600; font-size: clamp(16px, 1.3vw, 24px); padding: 10px 24px 10px 26px; border-radius: 999px; box-shadow: 0 4px 0 #0004; transform: rotate(8deg); position: relative; z-index: 2; margin-bottom: -6px; }
.ht-logo__chip img { height: 1.35em; width: auto; }
.ht-logo__type, .ht-foot__logo { display: flex; flex-direction: column; align-items: center; line-height: 0.86; font-family: var(--logo); font-weight: 400; text-decoration: none; }
.ht-logo__type span, .ht-foot__logo span { -webkit-text-stroke: 0.16em var(--plum); paint-order: stroke fill; }
.lt1 { font-size: clamp(54px, 5.6vw, 106px); color: var(--sun); letter-spacing: 0.08em; text-shadow: 0 0.09em 0 var(--plum); }
.lt2 { font-size: clamp(130px, 13.5vw, 260px); color: var(--cream); letter-spacing: 0.01em; -webkit-text-stroke-width: 0.07em !important;
  text-shadow: 0.006em 0.012em 0 #ffd0dc, 0.012em 0.024em 0 #ff9cb8, 0.018em 0.036em 0 var(--pink), 0.024em 0.048em 0 var(--pink), 0.03em 0.06em 0 #e8457a, 0.036em 0.072em 0 #d63a6e, 0.042em 0.084em 0 #c22f62, 0.048em 0.096em 0 var(--plum), 0.054em 0.108em 0 var(--plum), 0.058em 0.118em 0 var(--plum), 0.06em 0.17em 0.15em #0008;
  animation: ht-wob 2.6s ease-in-out infinite; }
@keyframes ht-wob { 50% { transform: translateY(-5px) rotate(0.6deg); } }

.ht-hero__txt { min-width: 0; max-width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.ht-hero__txt .ht-lead { margin: 0; font-size: clamp(15px, 0.95vw, 17px); color: #f3e6f0; text-shadow: 0 1px 2px #160d22, 0 0 14px #160d22e6; }
.ht-hero__txt .ht-btn--xl { margin-top: 6px; }
.ht-squads { display: flex; flex-wrap: nowrap; align-items: center; gap: clamp(8px, 1vw, 16px); max-width: 100%; width: fit-content; background: #2b1b3de6; border-radius: 999px; padding: 9px clamp(14px, 1.4vw, 22px); margin-top: 18px; }
.ht-squads__k { flex: none; font-weight: 700; font-size: 12px; letter-spacing: 0.12em; color: var(--sun); }
/* each logo keeps its proportion and can shrink when the column is narrow */
.ht-squads img { flex: 0 1 auto; min-width: 0; height: auto; width: var(--lw); }
.ht-squads .lg-husky { --lw: 89px; }
.ht-squads .lg-jbl { --lw: 53px; }
.ht-squads .lg-xpg { --lw: 86px; }
.ht-squads .lg-havit { --lw: 89px; }

.ht-fleet { position: relative; z-index: 2; display: flex; justify-content: center; align-items: flex-end; gap: clamp(20px, 3.6vw, 70px); margin: clamp(24px, 4vw, 70px) auto 0; padding: 0 24px clamp(90px, 6vw, 118px); width: min(1490px, 100%); }
.ht-fleet__v { position: relative; border: 0; background: none; padding: 0; cursor: pointer; transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1); filter: drop-shadow(0 16px 22px #00000059); }
.ht-fleet__v > img:first-child { width: 100%; height: auto; }
.v-husky { width: 25.5%; } .v-jbl { width: 22.4%; } .v-xpg { width: 13%; } .v-havit { width: 22.8%; }
.ht-fleet__turbo { position: absolute; right: -6%; top: -4%; width: clamp(34px, 2.9vw, 56px); opacity: 0; transform: scale(0.5) rotate(-20deg); transition: 0.28s cubic-bezier(0.34, 1.56, 0.64, 1); }
.v-xpg .ht-fleet__turbo { right: -22%; }
.ht-fleet__v:hover, .ht-fleet__v:focus-visible { transform: translateY(-14px) scale(1.04); }
.ht-fleet__v:hover .ht-fleet__turbo, .ht-fleet__v:focus-visible .ht-fleet__turbo { opacity: 1; transform: none; }

.ht-wave { position: absolute; left: 0; width: 100%; height: clamp(36px, 4.2vw, 80px); z-index: 3; }
.ht-wave--hero { bottom: -1px; fill: var(--night); }

/* =========================================================
   02 · COMO FUNCIONA
   ========================================================= */
.ht-how { position: relative; padding: 99px 0 76px; background: linear-gradient(180deg, var(--night), var(--plum)); overflow: hidden; }
.ht-how__bg { position: absolute; inset: 0; }
.ht-how__bg::before { content: ""; position: absolute; inset: 0; background: url("../img/bg-cidade.jpg") center / cover; opacity: 0.22; }
.ht-how__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #140a22e6 2%, #140a2226 30%, #2b1b3d59 75%, #2b1b3d 100%); }
.ht-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 338px)); justify-content: center; gap: 75px; margin-top: 150px; }
.ht-route { position: absolute; left: 50%; top: -114px; width: min(880px, 100%); height: 135px; transform: translateX(-50%); overflow: visible; filter: drop-shadow(0 0 6px #ff5d8fcc); }
.ht-route path { fill: none; stroke: var(--pink); stroke-width: 6.8; stroke-linecap: round; stroke-dasharray: 2 16; vector-effect: non-scaling-stroke; animation: ht-route 1.2s linear infinite; }
@keyframes ht-route { to { stroke-dashoffset: -18; } }
.ht-step { position: relative; background: var(--cream); border: 2.7px solid var(--plum); border-radius: 24px; box-shadow: 0 9px 0 var(--c); color: var(--plum); overflow: visible; }
.ht-pin { position: absolute; left: 50%; top: -108px; width: 57px; height: 70px; transform: translateX(-50%); filter: drop-shadow(0 4px 0 var(--plum)); }
.ht-step:nth-child(3) .ht-pin { top: -115px; }
.ht-pin svg { width: 100%; height: 100%; fill: var(--c); stroke: var(--plum); stroke-width: 4.1; overflow: visible; }
.ht-pin b { position: absolute; inset: 9px 0 auto; text-align: center; font-family: var(--display); font-weight: var(--heavy); font-size: 30px; color: var(--plum); }
.ht-step__stage { position: relative; height: 156px; margin: 2.7px; border-radius: 21px 21px 0 0; background: var(--bg); display: flex; align-items: flex-end; justify-content: center; gap: 2.5%; padding: 0 4% 34px; overflow: hidden; }
.ht-step__stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 31px; background: #2b1b3d14; }
.ht-step__stage img { width: var(--w); height: auto; position: relative; z-index: 1; transform: translateY(var(--y, 0)); }
.ht-step__stage--items { padding-bottom: 20px; align-items: flex-end; }
.ht-step__body { padding: 18px 24px 30px; }
.ht-tag { display: inline-block; background: var(--plum); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; padding: 5px 13px 4px; border-radius: 999px; }
.ht-step h3 { font-family: var(--display); font-weight: var(--heavy); font-size: 30px; line-height: 1.05; margin: 10px 0 8px; }
.ht-step p { margin: 0; font-size: 14.2px; color: var(--plum-2); line-height: 1.45; }
.ht-hud { display: flex; align-items: center; justify-content: center; gap: 13px; width: fit-content; margin: 70px auto 0; background: var(--ink); border: 1.2px solid var(--lilac); border-radius: 999px; padding: 10px 38px 10px 38px; font-weight: 600; font-size: 22.6px; color: #fff4ec; }
.ht-hud b { color: var(--sun); font-weight: 600; }
.ht-hud strong { font-family: var(--display); font-weight: var(--heavy); font-size: 32px; letter-spacing: 0.03em; color: var(--gas); }
.ht-hud__stars { display: inline-flex; gap: 4px; margin-right: 6px; }
.ht-hud__stars i { width: 27px; height: 27px; background: var(--sun); clip-path: polygon(50% 4%, 62% 37%, 97% 38%, 69% 59%, 79% 94%, 50% 73%, 21% 94%, 31% 59%, 3% 38%, 38% 37%); }

/* =========================================================
   03 · JOGO + ESQUADRÕES
   ========================================================= */
.ht-play { position: relative; padding: 26px 0 88px; background: linear-gradient(180deg, var(--plum) 0%, #4a2370 45%, var(--plum) 100%); overflow: hidden; }
.ht-play__glow { position: absolute; left: 50%; top: 206px; width: 1400px; height: 900px; transform: translateX(-50%); border-radius: 50%; background: #ff5d8f38; filter: blur(110px); }
.ht-play .ht-h2 { margin-top: 14px; }
.ht-game { position: relative; width: min(1304px, 100%); margin: 70px auto 0; padding: clamp(10px, 1.8vw, 23.5px); background: var(--ink); border: 4.9px solid var(--pink); border-radius: clamp(28px, 2.7vw, 51px); box-shadow: 0 16px 0 var(--plum), 0 0 59px #ff5d8f73; }
.ht-game__screen { position: relative; aspect-ratio: 16 / 9; border-radius: clamp(18px, 1.75vw, 33px); overflow: hidden; background: #1a1028; }
#jogo-root { position: absolute; inset: 0; }
.ht-game__full { display: none; position: absolute; inset: 0; z-index: 5; border: 0; padding: 0; cursor: pointer; background: radial-gradient(ellipse at 50% 60%, #1a102866, #1a1028cc); flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.ht-game__full small { font-weight: 500; font-size: 14px; color: var(--cream); background: #2b1b3dcc; padding: 4px 14px; border-radius: 999px; }
.ht-game__exit { display: none; }

/* fullscreen (mobile): JS adds .is-full on .ht-game, .is-portrait rotates the stage */
.ht-game.is-full { position: fixed; inset: 0; z-index: 1000; width: auto; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: #1a1028; }
.ht-game.is-full .ht-game__screen { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.ht-game.is-full .ht-game__full { display: none !important; }
.ht-game.is-full.is-portrait #jogo-root { inset: auto; top: 0; left: 0; transform-origin: 0 0; }
.ht-game.is-full .ht-game__exit { display: grid; place-items: center; position: absolute; z-index: 10; left: max(8px, env(safe-area-inset-left)); top: max(8px, env(safe-area-inset-top)); width: 40px; height: 40px; border-radius: 12px; border: 3px solid var(--plum); background: var(--cream); color: var(--plum); font-weight: 700; font-size: 18px; box-shadow: 0 3px 0 var(--plum); cursor: pointer; }
.ht-game.is-full.is-portrait .ht-game__exit { left: auto; right: max(8px, env(safe-area-inset-right)); transform: rotate(90deg); }
html.ht-lock, html.ht-lock body { overflow: hidden; overscroll-behavior: none; }
html.ht-lock .ht-play .ht-wrap { z-index: 1000; }

/* squad cards */
.ht-carousel--cards { margin-top: 113px; }
.ht-carousel--cards .ht-arrow, .ht-dots--cards { display: none; }
.ht-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 306px)); justify-content: center; gap: 26px; }
.ht-card { display: flex; flex-direction: column; background: var(--cream); border: 4.1px solid var(--plum); border-radius: 32.6px; box-shadow: 0 11px 0 var(--sun); overflow: hidden; color: var(--plum); }
.ht-card__poster { position: relative; height: 269px; margin: 0; background: linear-gradient(180deg, #3a2650, #160d22); overflow: hidden; }
.ht-card--havit .ht-card__poster, .ht-card:nth-child(2) .ht-card__poster, .ht-card:nth-child(3) .ht-card__poster { background: linear-gradient(180deg, #29262e, #120f15); }
.ht-card__band { position: absolute; left: -16%; right: -16%; top: 69.5%; height: 68px; background: var(--brand); transform: rotate(6deg); }
.ht-card--havit .ht-card__band { background: linear-gradient(90deg, #22e4f2, #ff3fd0); }
.ht-card__wm { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); font-family: var(--display); font-weight: var(--heavy); font-size: 134px; line-height: 1.1; color: #fff; opacity: 0.08; white-space: nowrap; }
.ht-card__logo { position: absolute; left: 23px; top: 27px; width: var(--lw); max-width: 42%; height: auto; }
.ht-card__logo--box { top: 23px; }
.ht-card__tag { position: absolute; right: 22px; top: 31px; max-width: 40%; text-align: right; line-height: 1.25; font-weight: 700; font-size: 11px; letter-spacing: 0.06em; color: var(--cream); }
.ht-card__veh { position: absolute; left: 50%; bottom: 7%; width: var(--vw); height: auto; transform: translateX(-50%); filter: drop-shadow(0 9px 12px #00000059); transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1); }
.ht-card:hover .ht-card__veh { transform: translateX(-50%) translateY(-8px); }
.ht-card__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 26px 22px 32px; }
.ht-chip--card { margin: 0; background: var(--chip); color: var(--chip-t); border: 2.4px solid var(--plum); font-size: 12.2px; }
.ht-card h3 { margin: 11px 0 0; font-family: var(--display); font-weight: var(--heavy); font-size: 21.2px; line-height: 1.13; color: var(--purple); }
.ht-card h3 span { display: block; font-size: 45.6px; line-height: 1.02; color: var(--plum); }
.ht-card p { margin: 11px 0 20px; font-weight: 500; font-size: 14.6px; line-height: 1.42; color: var(--plum-2); }
.ht-btn--card { --b: var(--chip); --t: var(--chip-t); margin-top: auto; font-size: 17px; padding: 13px 20px 11px; gap: 14px; border-width: 3.3px; }
.ht-card:first-child .ht-btn--card { --b: var(--sun); --t: var(--plum); }

/* =========================================================
   04 · LOOT
   ========================================================= */
.ht-loot { position: relative; padding: 145px 0 300px; background: linear-gradient(180deg, #8feaf2 0%, #ffe3ec 55%, #ffd9c2 100%); color: var(--plum); overflow: hidden; }
.ht-wave--loot { top: -1px; fill: var(--plum); }
.ht-loot .ht-h2 { margin-top: 12px; }
.ht-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.ht-tab { border: 2.5px solid var(--plum); background: var(--cream); color: var(--plum); border-radius: 999px; padding: 9px 20px 8px; font-weight: 700; font-size: 13.2px; letter-spacing: 0.12em; cursor: pointer; transition: transform 0.1s; }
.ht-tab:hover { transform: translateY(-2px); }
.ht-tab[aria-selected="true"] { background: var(--plum); color: var(--sun); }
.ht-carousel { position: relative; margin-top: 39px; }
.ht-track { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 4px 18px; margin: 0 -4px; scrollbar-width: none; }
.ht-track::-webkit-scrollbar { display: none; }
.ht-prod { flex: 0 0 calc((100% - 3 * 26px) / 4); scroll-snap-align: start; display: flex; flex-direction: column; gap: 11.5px; padding: 16.4px; background: var(--cream); border: 3.3px solid var(--plum); border-radius: 23px; box-shadow: 0 8px 0 var(--plum); color: var(--plum); }
.ht-prod__img { aspect-ratio: 270 / 247; background: #fff; border: 1.6px solid #e8e5da; border-radius: 16.4px; display: grid; place-items: center; overflow: hidden; }
.ht-prod__img img { width: 100%; height: 100%; object-fit: contain; }
.ht-prod__brand { align-self: flex-start; background: var(--plum); color: var(--sun); border-radius: 999px; font-weight: 700; font-size: 11.5px; letter-spacing: 0.08em; padding: 5px 12px 4px; }
.ht-prod__name { margin: 0; font-weight: 500; font-size: 16.4px; line-height: 1.25; min-height: 2.5em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ht-prod .ht-btn { --b: var(--orange); --t: var(--cream); align-self: flex-start; margin-top: auto; font-size: 19.7px; text-shadow: 0 2px 0 var(--plum); }
.ht-arrow { position: absolute; top: 124px; z-index: 3; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; border: 3.3px solid var(--plum); background: var(--sun); color: var(--plum); font-size: 22px; cursor: pointer; box-shadow: 0 5px 0 var(--plum); }
.ht-arrow:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--plum); }
.ht-arrow--prev { left: -31px; } .ht-arrow--next { right: -31px; }
.ht-arrow .ht-tri { filter: none; }
.ht-arrow[disabled] { visibility: hidden; }
.ht-dots { display: flex; justify-content: center; gap: 8px; margin-top: 38px; min-height: 12px; }
.ht-dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 6px; background: #2b1b3d4d; cursor: pointer; transition: width 0.2s, background 0.2s; }
.ht-dots button[aria-current="true"] { width: 33px; background: var(--pink); }
.ht-empty { width: 100%; text-align: center; padding: 60px 0; font-weight: 500; color: var(--plum-2); }

.ht-deco { position: absolute; z-index: 1; pointer-events: none; height: auto; }
.ht-deco--balao { left: 19.6%; top: 123px; width: 74px; transform: rotate(10deg); animation: ht-float 4s ease-in-out infinite; }
.ht-deco--dancer { right: 13%; top: -40px; width: 160px; transform: rotate(-8deg); z-index: 4; }
@keyframes ht-float { 50% { translate: 0 -12px; } }
.ht-beach { position: absolute; left: 0; right: 0; bottom: 0; height: 257px; z-index: 0; }
.ht-beach svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ht-beach .ht-deco { z-index: 2; }
.ht-deco--prancha { left: 21.8%; top: -33px; width: 106px; }
.ht-deco--boombox { left: 28.4%; top: 46px; width: 81px; }
.ht-deco--coco { left: 61.7%; top: -30px; width: 125px; }
.ht-deco--sol { left: 69.1%; top: -41px; width: 175px; }

/* =========================================================
   05 · RESGATE
   ========================================================= */
.ht-prize { position: relative; padding: 125px 0 110px; background: var(--deep); overflow: hidden; isolation: isolate; }
.ht-prize__bg { position: absolute; inset: -54px 0 -150px; z-index: -1; background:
  linear-gradient(180deg, #33026b 0, #33026b00 240px),
  linear-gradient(180deg, #160d22f7 0%, #160d22e0 45%, #160d2233 100%),
  url("../img/bg-madrugada.jpg") center bottom / cover; }
.ht-prize__grid { display: grid; grid-template-columns: minmax(0, 1fr) 592px; gap: 60px; padding-right: 18px; align-items: center; }
.ht-prize__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ht-prize__txt .ht-chip { margin: 0; }
.ht-prize__txt .ht-h2, .ht-prize__txt .ht-lead { margin: 0; }
.ht-prize__txt .ht-btn--xl { margin-top: 18px; }
.ht-label { width: min(561px, 100%); justify-self: end; background: var(--cream); border: 4.3px solid var(--plum); border-radius: 24px; box-shadow: 0 14px 0 var(--plum), 0 34px 51px #0000004d; transform: rotate(4deg); color: var(--plum); overflow: hidden; }
.ht-label__top { display: flex; justify-content: space-between; align-items: center; background: var(--plum); padding: 16px 30px; }
.ht-label__top b { font-family: var(--display); font-weight: var(--heavy); font-size: 22px; letter-spacing: 0.06em; color: var(--sun); }
.ht-label__top span { font-family: var(--display); font-weight: var(--heavy); font-size: 25.5px; color: var(--cream); }
.ht-label__body { padding: 24px 30px 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ht-label__k { font-weight: 700; font-size: 15.3px; letter-spacing: 0.08em; color: var(--pink); }
.ht-label__code { width: 100%; background: #ffe9f0; border: 2.6px solid var(--plum); border-radius: 15px; padding: 8px 16px 12px; text-align: center; }
.ht-label__code small { display: block; font-weight: 600; font-size: 13.6px; letter-spacing: 0.12em; color: var(--lilac); }
.ht-label__code strong { display: block; font-family: var(--display); font-weight: var(--heavy); font-size: clamp(30px, 3.2vw, 60px); letter-spacing: 0.01em; white-space: nowrap; line-height: 1.1; }
.ht-label__bars { width: 100%; height: 60px; }
.ht-label__bars rect { fill: var(--plum); }
.ht-label__body p { margin: -4px 0 0; font-size: 13.6px; color: var(--lilac); }

/* =========================================================
   06 · FAQ
   ========================================================= */
.ht-faq { position: relative; padding: 140px 0 144px; background: var(--cream-2); color: var(--plum); overflow: hidden; }
.ht-faq .ht-h2 { margin-top: 12px; }
.ht-faq__list { max-width: 1200px; margin: 64px auto 0; display: flex; flex-direction: column; gap: 20px; }
.ht-q { background: var(--cream); border: 4px solid var(--plum); border-radius: 24px; box-shadow: 0 6px 0 var(--plum); transition: box-shadow 0.2s; }
.ht-q[open] { box-shadow: 0 8px 0 var(--pink); }
.ht-q summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 36px; cursor: pointer; font-weight: 600; font-size: clamp(18px, 1.4vw, 26px); line-height: 1.25; }
.ht-q summary::-webkit-details-marker { display: none; }
.ht-q summary i { flex: 0 0 48px; height: 48px; border-radius: 50%; border: 3px solid var(--plum); background: var(--sun); position: relative; }
.ht-q summary i::before, .ht-q summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 4px; border-radius: 2px; background: var(--plum); transform: translate(-50%, -50%); }
.ht-q summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.2s; }
.ht-q[open] summary i { background: var(--pink); }
.ht-q[open] summary i::before, .ht-q[open] summary i::after { background: var(--cream); }
.ht-q[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.ht-q p { margin: -6px 0 0; padding: 0 36px 30px; font-size: clamp(16px, 1.05vw, 20px); color: var(--plum-2); max-width: 1120px; }
.ht-deco--cone { left: 18.7%; top: 140px; width: 120px; transform: rotate(-8deg); }
.ht-deco--turbo { right: 16%; top: 137px; width: 190px; }

/* =========================================================
   07 · RODAPÉ
   ========================================================= */
.ht-foot { position: relative; background: var(--deep); padding-top: 61px; overflow: hidden; }
.ht-foot__row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.ht-foot__logo { transform: rotate(-4deg); }
.ht-foot__logo .lt1 { font-size: 30px; }
.ht-foot__logo .lt2 { font-size: 72px; animation: none; }
.ht-squads--foot { margin: 0; background: none; padding: 0; }
.ht-squads--foot .lg-husky { --lw: 93px; }
.ht-squads--foot .lg-jbl { --lw: 61px; }
.ht-squads--foot .lg-xpg { --lw: 98px; }
.ht-squads--foot .lg-havit { --lw: 100px; }
.ht-road { position: relative; height: 230px; margin-top: 55px; }
.ht-road::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px; border-top: 10px solid #f3b5c8; background: #3a2650 repeating-linear-gradient(90deg, #fffdf6 0 60px, transparent 60px 120px) 30px 112px / 100% 6px no-repeat; }
.ht-road__v { position: absolute; height: auto; z-index: 1; }
.r-jbl { left: 15.3%; bottom: 50px; width: 13.1%; }
.r-havit { left: 35%; bottom: 49px; width: 9%; }
.ht-road__trail { position: absolute; left: 31.9%; bottom: 81px; width: 3.8%; height: 20px; border-radius: 10px; background: linear-gradient(90deg, #ff3fd000, #ff3fd0d9 45%, #22e4f2); filter: blur(3px); }
.r-cone { left: 47.1%; bottom: 38px; width: 3.5%; }
.r-xpg { left: 56.8%; bottom: 48px; width: 6%; animation: ht-float 1.6s ease-in-out infinite; }
.r-police { left: 69.7%; bottom: 17px; width: 12.4%; }

/* toast */
.ht-toast { position: fixed; left: 50%; bottom: 28px; z-index: 1100; transform: translate(-50%, 140%); background: var(--plum); color: var(--cream); border: 3px solid var(--sun); border-radius: 16px; padding: 12px 20px; font-weight: 600; box-shadow: 0 6px 0 #0006; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s; max-width: calc(100% - 32px); text-align: center; opacity: 0; pointer-events: none; }
.ht-toast.is-on { transform: translate(-50%, 0); opacity: 1; }

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

/* =========================================================
   TABLET ≤ 1199
   ========================================================= */
@media (max-width: 1199px) {
  .ht-hero { min-height: 0; padding-top: 72px; }
  .ht-hero__info { grid-template-columns: 1fr; gap: 26px; justify-items: center; }
  .ht-hero__txt { max-width: 620px; }
  .lt2 { font-size: clamp(110px, 19vw, 200px); }
  .lt1 { font-size: clamp(46px, 8vw, 84px); }
  .ht-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .ht-route { display: none; }
  .ht-steps { margin-top: 110px; }
  .ht-cards { grid-template-columns: repeat(2, minmax(0, 340px)); }
  .ht-prod { flex-basis: calc((100% - 2 * 26px) / 3); }
  .ht-arrow--prev { left: -12px; } .ht-arrow--next { right: -12px; }
  .ht-prize__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 70px; padding-right: 0; }
  .ht-prize__txt { align-items: center; text-align: center; }
  .ht-h2--left, .ht-lead--left { text-align: center; margin-inline: auto; }
  .ht-label { justify-self: center; transform: rotate(3deg); }
  .ht-deco--dancer { width: 120px; right: 4%; }
  .ht-deco--balao { left: 6%; }
  .ht-deco--cone { left: 4%; width: 90px; } .ht-deco--turbo { right: 4%; width: 130px; }
  .ht-foot__row { flex-wrap: wrap; justify-content: center; }
  .ht-road__v, .ht-road__trail { display: none; }
  .ht-road { height: 110px; margin-top: 40px; }
  .ht-road::before { height: 90px; background-position: 30px 56px; }
}

/* =========================================================
   MOBILE ≤ 760
   ========================================================= */
@media (max-width: 760px) {
  .ht-wrap { width: calc(100% - 32px); }
  .ht-hero { padding-top: 40px; }
  .ht-logo__chip { font-size: 15px; padding: 7px 16px; }
  .ht-hero__txt { gap: 12px; }
  .ht-btn--xl { font-size: 24px; padding: 15px 30px 12px; }
  .ht-squads { flex-wrap: wrap; justify-content: center; gap: 10px 14px; border-radius: 22px; padding: 10px 16px; }
  .ht-squads__k { width: 100%; text-align: center; }
  .ht-squads .lg-husky { --lw: 66px; } .ht-squads .lg-jbl { --lw: 38px; } .ht-squads .lg-xpg { --lw: 62px; } .ht-squads .lg-havit { --lw: 64px; }
  .ht-label__code strong { font-size: clamp(26px, 8.4vw, 36px); }
  .ht-card__tag { font-size: 10px; letter-spacing: 0.04em; right: 16px; }
  .ht-card__logo { left: 16px; }
  .ht-card__body { padding: 22px 18px 26px; }
  .ht-card h3 span { font-size: clamp(30px, 10vw, 44px); }
  .ht-btn--card { font-size: clamp(13px, 4.2vw, 16px); padding: 12px 14px 10px; gap: 8px; max-width: 100%; white-space: normal; text-align: center; line-height: 1.15; }
  .ht-fleet { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 26px 18px; padding: 0 20px 70px; margin-top: 36px; }
  .ht-fleet__v { width: 100% !important; justify-self: center; }
  .v-xpg { width: 56% !important; }
  .ht-fleet__turbo { opacity: 1; transform: none; width: 32px; right: 0; }
  .v-xpg .ht-fleet__turbo { right: -16%; }

  .ht-how { padding: 64px 0 56px; }
  .ht-steps { grid-template-columns: 1fr; gap: 70px; margin-top: 90px; max-width: 380px; margin-inline: auto; }
  .ht-pin { top: -84px; } .ht-step:nth-child(3) .ht-pin { top: -84px; }
  .ht-hud { flex-wrap: wrap; font-size: 17px; padding: 10px 20px; gap: 8px; border-radius: 22px; }
  .ht-hud strong { font-size: 24px; }
  .ht-hud__stars i { width: 20px; height: 20px; }

  .ht-play { padding-bottom: 64px; }
  .ht-game { margin-top: 36px; border-width: 3.5px; }
  .ht-carousel--cards { margin-top: 64px; }
  .ht-carousel--cards .ht-arrow { display: grid; top: 112px; }
  .ht-dots--cards { display: flex; margin-top: 22px; }
  .ht-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; gap: 16px; margin: 0 -16px; padding: 0 11% 20px; scroll-padding-inline: 11%; scrollbar-width: none; justify-content: flex-start; }
  .ht-cards::-webkit-scrollbar { display: none; }
  .ht-card { flex: 0 0 78%; max-width: 340px; scroll-snap-align: center; }
  .ht-dots--cards button { background: #fffdf64d; }

  .ht-loot { padding: 100px 0 230px; }
  .ht-prod { flex-basis: 78%; scroll-snap-align: center; }
  .ht-track { padding-inline: 11%; margin-inline: -16px; scroll-padding-inline: 11%; }
  .ht-arrow { width: 44px; height: 44px; top: 96px; font-size: 16px; border-width: 3px; box-shadow: 0 4px 0 var(--plum); }
  .ht-arrow--prev { left: -8px; } .ht-arrow--next { right: -8px; }
  .ht-tabs { gap: 8px; }
  .ht-tab { padding: 8px 14px 7px; font-size: 12px; }
  .ht-deco--dancer { display: none; }
  .ht-deco--balao { top: 70px; width: 50px; left: 4%; }
  .ht-beach { height: 190px; }
  .ht-deco--prancha { left: 4%; width: 70px; top: -10px; }
  .ht-deco--boombox { left: 22%; width: 60px; top: 40px; }
  .ht-deco--coco { left: 56%; width: 84px; top: -6px; }
  .ht-deco--sol { left: 74%; width: 110px; top: -16px; }

  .ht-prize { padding: 80px 0 90px; }
  .ht-label__top { padding: 12px 18px; }
  .ht-label__top b { font-size: 17px; }
  .ht-label__body { padding: 18px; }
  .ht-label { transform: rotate(2deg); }

  .ht-faq { padding: 90px 0; }
  .ht-q summary { padding: 18px 18px 18px 20px; gap: 14px; }
  .ht-q summary i { flex-basis: 38px; height: 38px; }
  .ht-q p { padding: 0 20px 22px; }
  .ht-deco--cone { width: 54px; top: 70px; left: 3%; } .ht-deco--turbo { width: 70px; top: 60px; right: 3%; }

  .ht-foot { padding-top: 44px; }
  .ht-foot__row { flex-direction: column; gap: 22px; }
  .ht-road { height: 80px; margin-top: 30px; }
  .ht-road::before { height: 64px; background-position: 30px 34px; }
}

/* touch devices: the inline game becomes a "tap to play fullscreen" preview */
.ht-touch .ht-game__full { display: flex; }
