:root {
  --ink: #16171a;
  --ink-2: #5d6068;
  --ink-3: #9a9da5;
  --line: #e7e8eb;
  --paper: #ffffff;
  --soft: #f4f5f7;
  --accent: #3b5bfd;
  --accent-ink: #ffffff;
  --danger: #d93c3c;
  --ok: #17a36b;
  --radius: 14px;
  --shadow: 0 2px 6px rgba(10, 12, 20, .08), 0 24px 60px rgba(10, 12, 20, .22);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: #0d0e12; overflow: hidden; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------------------------------------------------- fundo */
.stage { position: fixed; inset: 0; z-index: 0; }
.scene {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease;
  background-size: cover; background-position: center;
}
.scene.on { opacity: 1; }
.scene::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(0,0,0,.18), transparent 60%);
}
.caption {
  position: fixed; right: 40px; bottom: 36px; z-index: 1; max-width: 420px; text-align: right;
  color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.25);
}
.caption h2 { font-size: clamp(28px, 3.4vw, 52px); line-height: 1.02; margin: 0 0 10px; letter-spacing: -.02em; font-weight: 800; }
.caption p { margin: 0; opacity: .85; font-size: 15px; }

/* ---------------------------------------------------- topo */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; padding: 22px 32px;
  color: #fff;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: #fff; text-decoration: none; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; background: #fff; color: var(--ink);
  display: grid; place-items: center; font-weight: 900; font-size: 18px;
}
.top nav { display: flex; gap: 22px; font-size: 14px; font-weight: 500; }
.top nav a { color: #fff; text-decoration: none; opacity: .9; }
.top nav a:hover { opacity: 1; text-decoration: underline; }

/* ---------------------------------------------------- card */
.wrap {
  position: relative; z-index: 2; height: 100%;
  display: flex; align-items: center; padding: 90px 0 30px 72px;
}
.card {
  width: 360px; max-height: calc(100vh - 120px);
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; flex-direction: column; overflow: hidden;
  animation: rise .5s cubic-bezier(.2,.8,.2,1);
}
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.card-body { padding: 22px 24px; overflow-y: auto; flex: 1; }
.card-foot {
  border-top: 1px solid var(--line); padding: 14px 16px 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}

/* adicionar arquivos */
.add { display: flex; align-items: center; gap: 14px; padding: 4px 0 18px; border-bottom: 1px solid var(--line); }
.add-btn {
  width: 52px; height: 52px; flex: none; border-radius: 50%; border: 0;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.add-btn:hover { transform: scale(1.06); box-shadow: 0 6px 20px rgba(59, 91, 253, .4); }
.add-btn svg { width: 24px; height: 24px; }
.add-txt strong { display: block; font-size: 18px; letter-spacing: -.01em; }
.add-txt button { border: 0; background: none; padding: 0; color: var(--ink-2); font-size: 13px; text-decoration: underline; }
.add-txt button:hover { color: var(--ink); }
.limits { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

/* lista de arquivos */
.files { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); max-height: 220px; overflow-y: auto; }
.files li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--soft); }
.files li:first-child { border-top: 0; }
.files .fi { flex: 1; min-width: 0; }
.files .fn { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.files .fs { font-size: 12px; color: var(--ink-3); }
.files .rm { border: 0; background: none; width: 28px; height: 28px; border-radius: 50%; color: var(--ink-3); font-size: 18px; line-height: 1; }
.files .rm:hover { background: var(--soft); color: var(--ink); }
.summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-size: 12px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.summary .over { color: var(--danger); font-weight: 600; }
.mini-add { border: 0; background: none; color: var(--accent); font-weight: 600; font-size: 13px; padding: 0; }

/* campos */
.field { position: relative; border-bottom: 1px solid var(--line); }
.field input, .field textarea {
  width: 100%; border: 0; outline: 0; background: transparent; padding: 15px 0 13px; font-size: 14px; resize: none;
}
.field textarea { min-height: 70px; }
.field:focus-within { border-bottom-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 4px; background: var(--soft); border-radius: 999px; padding: 4px 6px 4px 10px; font-size: 12px; }
.chip button { border: 0; background: none; padding: 0 2px; color: var(--ink-3); font-size: 14px; line-height: 1; }
.hidden { display: none !important; }

/* rodapé */
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper);
  display: grid; place-items: center; color: var(--ink-2); position: relative;
}
.icon-btn:hover { border-color: var(--ink-3); color: var(--ink); }
.icon-btn .dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; border: 2px solid #fff; }
.btn {
  border: 0; border-radius: 999px; padding: 12px 26px; font-weight: 700; font-size: 15px;
  background: var(--ink); color: #fff; transition: transform .12s ease, opacity .12s ease;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .3; cursor: not-allowed; }
.btn.accent { background: var(--accent); }
.btn.ghost { background: var(--soft); color: var(--ink); }
.btn.wide { width: 100%; }

/* opções */
.opts { padding: 4px 0 6px; }
.opts h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin: 18px 0 10px; }
.seg { display: flex; background: var(--soft); border-radius: 10px; padding: 3px; }
.seg label { flex: 1; text-align: center; padding: 8px 0; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.seg input { display: none; }
.seg input:checked + span { color: var(--ink); }
.seg label:has(input:checked) { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1); color: var(--ink); }
.seg label.disabled { opacity: .4; cursor: not-allowed; }
.select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 14px; }
.pw { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; outline: 0; }
.pw:focus { border-color: var(--ink); }
.note { font-size: 12px; color: var(--ink-3); margin: 8px 0 0; }

/* progresso */
.progress { text-align: center; padding: 26px 8px 8px; }
.ring { width: 190px; height: 190px; margin: 0 auto 22px; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring .bg { stroke: var(--soft); }
.ring .fg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset .4s ease; }
.ring .pct { position: absolute; inset: 0; display: grid; place-items: center; font-size: 46px; font-weight: 800; letter-spacing: -.03em; }
.ring .pct small { font-size: 20px; font-weight: 700; }
.progress h2 { font-size: 22px; margin: 0 0 6px; letter-spacing: -.01em; }
.progress p { color: var(--ink-2); font-size: 14px; margin: 4px 0; }
.progress .meta { font-variant-numeric: tabular-nums; }

/* pronto */
.done { text-align: center; padding: 18px 4px 6px; }
.done .check {
  width: 92px; height: 92px; border-radius: 50%; margin: 6px auto 20px; background: var(--accent);
  display: grid; place-items: center; color: #fff; animation: pop .5s cubic-bezier(.2,1.6,.4,1);
}
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.done h2 { font-size: 26px; margin: 0 0 8px; letter-spacing: -.02em; }
.done p { color: var(--ink-2); font-size: 14px; margin: 0 0 18px; }
.linkbox { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.linkbox input { flex: 1; min-width: 0; border: 0; padding: 12px; font-size: 13px; outline: 0; background: var(--soft); }
.linkbox button { border: 0; background: var(--ink); color: #fff; padding: 0 16px; font-weight: 700; font-size: 13px; }

/* erro / aviso */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); z-index: 20;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: all .25s ease; max-width: 90vw;
}
.toast.on { opacity: 1; transform: translateX(-50%); }
.toast.err { background: var(--danger); }

/* arrastar e soltar */
.drop {
  position: fixed; inset: 0; z-index: 10; display: grid; place-items: center;
  background: rgba(59, 91, 253, .88); color: #fff; opacity: 0; pointer-events: none; transition: opacity .15s;
}
.drop.on { opacity: 1; }
.drop div { text-align: center; border: 3px dashed rgba(255,255,255,.7); border-radius: 28px; padding: 60px 80px; }
.drop strong { display: block; font-size: 34px; letter-spacing: -.02em; }

/* download */
.dl-files { list-style: none; margin: 0 0 4px; padding: 0; }
.dl-files li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--soft); }
.dl-files .ext {
  width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--soft);
  display: grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--ink-2); text-transform: uppercase;
}
.dl-files .fi { flex: 1; min-width: 0; }
.dl-files .fn { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-files .fs { font-size: 12px; color: var(--ink-3); }
.dl-files a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); }
.dl-files a:hover { background: var(--soft); color: var(--ink); }
.dl-head h1 { font-size: 22px; margin: 0 0 4px; letter-spacing: -.02em; word-break: break-word; }
.dl-head .sub { color: var(--ink-2); font-size: 13px; margin: 0 0 14px; }
.dl-msg { background: var(--soft); border-radius: 10px; padding: 12px 14px; font-size: 14px; white-space: pre-wrap; margin: 0 0 10px; word-break: break-word; }
.center-msg { text-align: center; padding: 30px 6px; }
.center-msg h2 { margin: 0 0 8px; font-size: 22px; }
.center-msg p { color: var(--ink-2); font-size: 14px; margin: 0; }

/* ---------------------------------------------------- celular */
@media (max-width: 860px) { .caption { display: none; } }
@media (max-width: 720px) {
  body { overflow: auto; }
  .top { padding: 16px; }
  .top nav { display: none; }
  .wrap { padding: 76px 16px 24px; align-items: flex-start; justify-content: center; min-height: 100%; height: auto; }
  .card { width: 100%; max-height: none; }
  .caption { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------- boas-vindas / privacidade */
.consent {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px;
  background: rgba(10, 12, 24, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s;
}
.consent.on { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.consent-box {
  width: 100%; max-width: 440px; background: var(--paper); border-radius: 20px; padding: 30px 26px 24px;
  box-shadow: var(--shadow); transform: translateY(12px) scale(.97); transition: transform .35s cubic-bezier(.2,.9,.3,1.2);
}
.consent.on .consent-box { transform: none; }
.consent h2 { font-size: 27px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; margin: 0 0 14px; }
.consent-lead { font-size: 18px; line-height: 1.45; margin: 0 0 14px; }
.consent-strong { font-size: 16px; font-weight: 700; line-height: 1.5; margin: 0 0 18px; }
.consent-note { background: var(--soft); border-radius: 12px; padding: 16px 18px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.consent-actions { display: flex; gap: 10px; margin-top: 22px; }
.c-btn { border-radius: 12px; padding: 14px 16px; font-size: 15px; font-weight: 700; transition: background .15s, transform .12s; }
.c-btn:active { transform: scale(.97); }
.c-btn.outline { background: #fff; color: var(--accent); border: 1.5px solid #c9d1fb; }
.c-btn.outline:hover { background: #f3f5ff; border-color: var(--accent); }
.c-btn.solid { flex: 1; background: var(--accent); color: #fff; border: 0; }
.c-btn.solid:hover { background: #2f4de6; }
.c-btn:focus-visible { outline: 3px solid rgba(59, 91, 253, .35); outline-offset: 2px; }

.pref { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; }
.pref:first-of-type { border-top: 0; }
.pref > span:first-child { flex: 1; }
.pref strong { display: block; font-size: 15px; margin-bottom: 3px; }
.pref small { display: block; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.switch { flex: none; width: 44px; height: 26px; border-radius: 999px; background: #d6d8de; position: relative; transition: background .2s; }
.switch::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s cubic-bezier(.3,.9,.4,1.2);
}
.switch.on { background: var(--accent); }
.switch.on::after { transform: translateX(18px); }
.switch.locked { opacity: .5; }
.pref input:focus-visible + .switch { outline: 3px solid rgba(59, 91, 253, .35); outline-offset: 2px; }
.pref:has(input[disabled]) { cursor: default; }

.privacy-link {
  position: fixed; left: 32px; bottom: 22px; z-index: 3; border: 0; background: none; padding: 4px 0;
  color: rgba(255,255,255,.75); font-size: 12px; text-decoration: underline; text-underline-offset: 3px;
}
.privacy-link:hover { color: #fff; }
@media (max-width: 720px) {
  .privacy-link { position: static; display: block; margin: 0 auto 20px; }
  .consent { align-items: end; }
  .consent-box { border-radius: 20px; padding: 26px 20px 20px; }
  .consent h2 { font-size: 24px; }
  .consent-actions { flex-wrap: wrap; }
  .c-btn.outline { flex: 1; }
  .c-btn.solid { flex-basis: 100%; order: -1; }
}

/* logo em imagem */
.logo img { height: 26px; width: auto; display: block; filter: drop-shadow(0 1px 8px rgba(0,0,0,.25)); }
@media (max-width: 720px) { .logo img { height: 21px; } }

/* ---------------------------------------------------- fonte de título */
@font-face { font-family: 'Beige Culture'; src: url('/fonts/BeigeCulture-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Beige Culture'; src: url('/fonts/BeigeCulture-Italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }

.caption { right: 48px; bottom: 44px; max-width: none; transition: opacity 1.5s ease; }
.caption.off { opacity: 0; }
.caption h2 {
  font-family: 'Beige Culture', 'Times New Roman', serif; font-weight: 400;
  font-size: clamp(34px, 3.6vw, 60px); line-height: 1; letter-spacing: -.01em; margin: 0 0 12px;
}
.caption h2 em { font-style: italic; }

/* ---------------------------------------------------- cenas do fundo */
.stage { background: #0d0e12; overflow: hidden; }
.scene { transition: opacity 1.5s ease; }
.scene > img, .scene > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene.on > .fill { animation: drift 14s ease-out both; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
/* foto nunca fica parada: zoom + deslize lento e contínuo (Ken Burns), cada slide num sentido */
.scene.on > img { animation: kb-a 12s linear both; will-change: transform; }
.scene.on.kb-b > img { animation-name: kb-b; }
.scene.on.kb-c > img { animation-name: kb-c; }
.scene.on.kb-d > img { animation-name: kb-d; }
@keyframes kb-a { from { transform: scale(1.08) translate(-2.5%, 0); } to { transform: scale(1.26) translate(2.5%, -1%); } }
@keyframes kb-b { from { transform: scale(1.26) translate(2.5%, 1%); } to { transform: scale(1.08) translate(-2.5%, 0); } }
@keyframes kb-c { from { transform: scale(1.08) translate(0, 2.5%); } to { transform: scale(1.25) translate(-2%, -2.5%); } }
@keyframes kb-d { from { transform: scale(1.25) translate(2%, -2.5%); } to { transform: scale(1.08) translate(0, 2.5%); } }
/* papel de parede (mesh): as cores fluem — gira, desloca e muda levemente de tom, sem parar */
.scene.on.wall > img { animation: mesh-a 12s ease-in-out both; }
.scene.on.wall.kb-b > img, .scene.on.wall.kb-d > img { animation-name: mesh-b; }
@keyframes mesh-a {
  0%   { transform: scale(1.35) rotate(-6deg) translate(-4%, 2%);  filter: hue-rotate(0deg) saturate(1); }
  50%  { transform: scale(1.5)  rotate(2deg)  translate(2%, -3%);  filter: hue-rotate(-18deg) saturate(1.15); }
  100% { transform: scale(1.4)  rotate(8deg)  translate(5%, 1%);   filter: hue-rotate(-30deg) saturate(1.05); }
}
@keyframes mesh-b {
  0%   { transform: scale(1.45) rotate(7deg)  translate(4%, -2%);  filter: hue-rotate(0deg) saturate(1); }
  50%  { transform: scale(1.35) rotate(-1deg) translate(-2%, 3%);  filter: hue-rotate(20deg) saturate(1.15); }
  100% { transform: scale(1.5)  rotate(-7deg) translate(-5%, -1%); filter: hue-rotate(32deg) saturate(1.05); }
}
.scene::after {
  background:
    linear-gradient(to bottom, rgba(0,0,0,.35), transparent 22%),
    linear-gradient(to top, rgba(0,0,0,.35), transparent 30%),
    radial-gradient(ellipse at 15% 50%, rgba(0,0,0,.25), transparent 55%);
}
/* vídeo vertical: fundo desfocado + vídeo emoldurado à direita */
.scene.portrait > .blur { filter: blur(40px) saturate(1.2) brightness(.7); transform: scale(1.2); }
.scene.portrait > .framed {
  inset: auto; top: 50%; left: 66%; transform: translate(-50%, -50%);
  height: min(78vh, 760px); width: auto; aspect-ratio: 540 / 920; object-fit: cover;
  border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

@media (max-width: 1000px) { .scene.portrait > .framed { left: 50%; } }

/* ---------------------------------------------------- bloco do case (medido na referência) */
:root { --u: clamp(9px, 1vw, 15px); --ease-out: cubic-bezier(.23, 1, .32, 1); }

.case-cta, .case-info {
  position: fixed; z-index: 3; color: #fff;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), visibility 0s linear .6s;
}
.case-cta.on, .case-info.on { opacity: 1; visibility: visible; transform: none; transition-delay: .25s, .25s, 0s; }
/* SF Pro: vem do sistema nos aparelhos Apple (a licença não permite hospedar a fonte); nos demais, Inter */
.case-cta, .case-info { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Inter', system-ui, sans-serif; }

/* esquerda: botão + frase */
.case-cta { left: calc(var(--u) * 4.6); bottom: calc(var(--u) * 4.5); }
.case-cta p {
  margin: calc(var(--u) * .7) 0 0 calc(var(--u) * .55); font-size: calc(var(--u) * .905); font-weight: 400;
  color: rgba(255,255,255,.78); text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.roll-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: calc(var(--u) * 3.5); padding: 0 calc(var(--u) * 4.2); min-width: calc(var(--u) * 20);
  border-radius: 999px; background: #000; color: #fff; text-decoration: none;
  font-size: calc(var(--u) * 1.06); font-weight: 400; letter-spacing: 0;
  transition: background-color .35s var(--ease-out), transform .16s ease-out;
}
.roll-btn:active { transform: scale(.97); }
.roll-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.roll { display: inline-flex; }
.roll .ch { position: relative; display: inline-block; overflow: hidden; line-height: 1.25; }
.roll .ch > span { display: block; transition: transform .5s var(--ease-out); transition-delay: calc(var(--i) * 14ms); }
.roll .ch > span + span { position: absolute; inset: 0; transform: translateY(105%); }
@media (hover: hover) and (pointer: fine) {
  .roll-btn:hover { background: var(--accent); }
  .roll-btn:hover .ch > span:first-child { transform: translateY(-105%); }
  .roll-btn:hover .ch > span + span { transform: translateY(0); }
}
.roll-btn:focus-visible { background: var(--accent); }
.roll-btn:focus-visible .ch > span:first-child { transform: translateY(-105%); }
.roll-btn:focus-visible .ch > span + span { transform: translateY(0); }

/* direita: Case / nome / link + miniatura */
.case-info {
  right: calc(var(--u) * 3.1); bottom: calc(var(--u) * 3.5);
  display: flex; align-items: flex-end; gap: calc(var(--u) * 1.7);
}
.case-text { display: flex; flex-direction: column; align-items: flex-end; text-align: right; text-shadow: 0 1px 12px rgba(0,0,0,.35); padding-bottom: calc(var(--u) * 1.1); }
.case-kicker { font-size: calc(var(--u) * 1.52); font-weight: 400; line-height: 1; }
.case-name {
  font-family: 'Beige Culture', serif; font-weight: 400; font-size: calc(var(--u) * 3.0);
  line-height: 1; letter-spacing: -.005em; margin-top: calc(var(--u) * .2); white-space: nowrap;
}
.case-link {
  position: relative; margin-top: calc(var(--u) * .6); padding-bottom: calc(var(--u) * .45);
  color: #fff; text-decoration: none; font-size: calc(var(--u) * 1.0); font-weight: 400;
}
.case-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #fff;
  transform-origin: right; transition: transform .45s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .case-link:hover::after { animation: redraw .7s var(--ease-out); }
}
@keyframes redraw { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }
.case-thumb {
  display: block; width: calc(var(--u) * 15); aspect-ratio: 300 / 166; border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.22); box-shadow: 0 12px 30px rgba(0,0,0,.35); background: #111;
}
.case-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .case-thumb:hover img { transform: scale(1.04); } }

@media (max-width: 860px) { .case-info { display: none; } }
@media (prefers-reduced-motion: reduce) { .roll .ch > span { transition: none; } }
/* reserva o espaço do botão do case embaixo do cartão */
@media (min-width: 861px) and (max-height: 720px) { .wrap { padding-bottom: calc(var(--u) * 11); } }
/* celular: o botão da Átrio fica sempre visível, logo abaixo do cartão
   (no computador ele entra e sai junto com o nome do case) */
@media (max-width: 860px) {
  body { display: flex; flex-direction: column; min-height: 100%; height: auto; }
  .wrap { order: 1; height: auto; min-height: 0; padding-bottom: 8px; }
  .case-cta, .case-cta.on {
    order: 2; position: relative; left: auto; bottom: auto; padding: 8px 16px 24px; text-align: center; --u: 11px;
    opacity: 1; visibility: visible; transform: none;
  }
  .case-cta .roll-btn { width: 100%; }
  .case-cta p { margin-left: 0; }
  .privacy-link { order: 3; }
}

/* quando o cartão cresce (opções abertas, lista de arquivos) e encostaria no botão, o botão sai de cena */
@media (min-width: 861px) {
  body.cta-hit .case-cta { opacity: 0 !important; visibility: hidden !important; transition-delay: 0s !important; }
}

/* ---------------------------------------------------- download: ✓ por arquivo e tela de obrigado */
.dl-files li.got .fn { color: var(--ink-2); }
.dl-files li.got a { color: #1a9d5b; }
.card-foot .btn.started { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #1a9d5b; }
.thanks { text-align: center; padding: 14px 4px 4px; }
.thanks .check {
  width: 76px; height: 76px; border-radius: 50%; margin: 4px auto 18px; background: var(--accent);
  display: grid; place-items: center; color: #fff; animation: pop .5s cubic-bezier(.2,1.6,.4,1);
}
.thanks h2 { font-size: 22px; margin: 0 0 8px; letter-spacing: -.02em; }
.thanks > p { color: var(--ink-2); font-size: 14px; margin: 0 auto 8px; max-width: 300px; }
.thanks-cta { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--soft); --u: 11px; }
.thanks-cta .kicker { font-size: 13px; color: var(--ink-2); margin: 0 0 12px; }
.thanks-cta .roll-btn { width: 100%; }
#card .card-foot .btn.ghost { flex: 1; }
body.thanks-on .case-cta { display: none !important; }
