/* Landing "Claude pra Negócios": uma tela só, com o escritório 3D de fundo e uma aba com três seções (Inscreva-se, Prompt, Vídeo).
   Cores da plataforma do curso: roxo + laranja sobre fundo escuro. Fonte do sistema (leve). */
:root {
  color-scheme: dark;
  --ink: #09090f;
  --surface: #111119;
  --line: #29293b;
  --brand: #7c5cff;
  --brand-strong: #6843ff;
  --brand-soft: #b9adff;
  --accent: #ffb547;
  --green: #3ddc97;
  --muted: #9d9db4;
  --text: #ececf4;
  --card-w: 380px;
  --card-h: 800px;
  --code-h: 84px;                 /* altura mínima da caixa do prompt; ela cresce sozinha quando sobra espaço no cartão */
  --gap: 24px;
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; overflow: hidden; background: var(--ink); color: var(--text); }
body { -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
::selection { background: rgba(124, 92, 255, 0.45); }

/* ------------------------------------------------------------ cena */
.stage {
  position: fixed; inset: 0; height: 100vh; height: 100dvh; overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 40% 40%, #1a1438 0%, var(--ink) 70%);
}
.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 0.9s ease; cursor: grab; }
.gl.grabbing { cursor: grabbing; }
.stage.is-3d .gl { opacity: 1; }
.stage.is-3d .poster { visibility: hidden; transition: visibility 0s 1s; }     /* o 3D aparece por cima do poster; só então ele some */

.tag {
  position: absolute; top: 16px; left: 16px; margin: 0; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px; font-size: 12px; line-height: 1.25; letter-spacing: 0.01em;
  color: rgba(236, 236, 244, 0.8); background: rgba(9, 9, 15, 0.55); border: 1px solid rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; max-width: calc(100% - 32px);
}
.tag i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--accent)); }

.toast {
  --c: var(--accent);
  position: absolute; top: 58px; left: 16px; display: flex; align-items: center; gap: 11px; padding: 9px 15px 9px 12px;
  border-radius: 12px; background: rgba(14, 14, 24, 0.86); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; opacity: 0; max-width: calc(100% - 32px);
}
.toast i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); }
.toast b { display: block; font-size: 10.5px; letter-spacing: 0.1em; color: var(--c); }
.toast span { display: block; margin-top: 1px; font-size: 13.5px; color: #f1f1f8; }
.toast.show { animation: toast 4s ease both; }
@keyframes toast {
  0% { opacity: 0; transform: translateY(-6px); }
  8%, 82% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-4px); }
}

.bubble {
  position: absolute; left: 0; top: 0; width: min(284px, 62vw); padding: 8px 12px 10px; border-radius: 14px;
  background: rgba(14, 14, 24, 0.86); border: 1px solid rgba(185, 173, 255, 0.3);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; will-change: transform;
}
.bubble-head { display: flex; align-items: center; gap: 7px; margin-bottom: 3px; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--brand-soft); }
.bubble-head i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-soft); }
.bubble p { margin: 0; min-height: 2.7em; font-size: 13.5px; line-height: 1.35; color: #f1f1f8; }
.bubble::after {
  content: ""; position: absolute; left: var(--tx, 24px); bottom: -6px; width: 10px; height: 10px;
  background: #0e0e18; border: 1px solid rgba(185, 173, 255, 0.3); border-top: 0; border-left: 0; transform: rotate(45deg);
}
.bubble.docked::after { display: none; }

/* ------------------------------------------------------------ aba (desktop: cartão à direita, altura fixa para não pular entre seções) */
.signup {
  position: fixed; z-index: 5; right: var(--gap); top: 50%; width: var(--card-w);
  height: min(var(--card-h), calc(100vh - 32px)); height: min(var(--card-h), calc(100dvh - 32px));
  display: flex; flex-direction: column; transform: translateY(-50%); padding: 16px 18px 14px; border-radius: 20px;
  background: rgba(17, 17, 25, 0.94); border: 1px solid rgba(124, 92, 255, 0.34);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 60px rgba(124, 92, 255, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .signup { background: rgba(17, 17, 25, 0.86); -webkit-backdrop-filter: blur(16px) saturate(1.25); backdrop-filter: blur(16px) saturate(1.25); }
}
.signup[data-open="false"] { opacity: 0; visibility: hidden; pointer-events: none; transform: translate(28px, -50%); transition: opacity 0.25s ease, transform 0.3s ease, visibility 0s 0.3s; }

.su-head { flex: none; display: flex; align-items: center; gap: 12px; }
.su-grip { display: none; }
.su-logo {
  flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; font-size: 19px; font-weight: 900; color: var(--ink);
  background: linear-gradient(135deg, var(--brand), var(--accent)); box-shadow: 0 8px 20px rgba(124, 92, 255, 0.35);
}
.su-titles { flex: 1; min-width: 0; }
.su-title { margin: 0; font-size: 19px; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; color: #fff; }
.su-kicker { margin: 3px 0 0; font-size: 12.5px; color: var(--brand-soft); }
.su-toggle {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border-radius: 10px; cursor: pointer;
  color: var(--muted); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); transition: color 0.2s, background 0.2s;
}
.su-toggle:hover { color: #fff; background: rgba(255, 255, 255, 0.09); }
.su-toggle svg { transition: transform 0.3s ease; }

/* abas (controle segmentado) */
.su-tabs { flex: none; display: flex; gap: 2px; margin-top: 14px; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.su-tab {
  flex: 1 1 0; min-width: 0; height: 36px; padding: 0 6px; border: 0; border-radius: 9px; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 650;
  color: var(--muted); background: transparent; white-space: nowrap; transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
.su-tab:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.su-tab[aria-selected="true"] { color: #fff; background: var(--brand); box-shadow: 0 6px 16px rgba(104, 67, 255, 0.4); }

/* conteúdo das abas: a única parte que rola; o botão fica fora dela, no rodapé do cartão */
.su-collapsible { flex: 1 1 auto; min-height: 0; display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.34s cubic-bezier(0.2, 0.8, 0.2, 1); }
.su-clip { min-height: 0; display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto; margin: 0 -8px; padding: 0 8px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; overscroll-behavior: contain; }
.su-clip.has-more { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 30px), transparent); }   /* dica de que há mais abaixo */
.su-panel { flex: 1 0 auto; padding: 14px 0 6px; }
.su-panel:focus-visible { outline-offset: -3px; }

.su-prof { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.su-prof b { color: #fff; font-weight: 600; }
.su-lead { margin: 0; font-size: 14.5px; line-height: 1.5; color: #d9d9e6; }
.su-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.su-list li { position: relative; min-height: 20px; padding-left: 27px; font-size: 13.5px; line-height: 1.4; color: #c8c8d8; }
.su-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background-color: rgba(61, 220, 151, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ddc97' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-position: center; background-size: 11px; background-repeat: no-repeat;
}

.su-price { margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(124, 92, 255, 0.17), rgba(255, 181, 71, 0.07)); border: 1px solid rgba(185, 173, 255, 0.3); }
.su-price p { margin: 0; }
.su-price-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.su-price-main b { white-space: nowrap; }
.su-price-main b { font-size: 30px; line-height: 1.1; font-weight: 850; letter-spacing: -0.02em; color: #fff; }
.su-price-main span { font-size: 14px; font-weight: 600; color: var(--brand-soft); }
.su-price-alt { margin-top: 4px !important; font-size: 13.5px; color: var(--muted); }
.su-price-alt b { font-weight: 700; color: #e4e4f0; }
.su-parcelas { color: var(--muted); }

.su-results { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.su-h2 { margin: 0; font-size: 15.5px; line-height: 1.3; font-weight: 750; color: #fff; }
.su-h3 { margin: 0; font-size: 14px; line-height: 1.3; font-weight: 750; color: #fff; }
.su-res-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.su-res-list li { display: grid; gap: 6px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.su-res-list img { display: block; width: 100%; height: auto; max-height: 180px; object-fit: cover; border-radius: 8px; }
.su-res-list p { margin: 0; font-size: 13.5px; line-height: 1.4; color: #d9d9e6; }
.su-res-note { margin: 3px 0 0; font-size: 12px; line-height: 1.4; color: var(--accent); }
.su-offer { margin: 0 0 6px; font-size: 16px; line-height: 1.3; font-weight: 800; color: #fff; }
.su-offer[hidden] { display: none; }
.su-fine { margin: 14px 0 0; font-size: 11px; line-height: 1.45; color: #8b8ba3; }


/* oferta: complementos (order bumps) e upsell da turma */
.su-addons { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; border: 1px dashed rgba(255, 181, 71, 0.55); background: rgba(255, 181, 71, 0.06); }
.su-addons-h { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; color: var(--accent); }
.su-addons-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.su-addons-list li { font-size: 13px; line-height: 1.35; color: #d9d9e6; border-radius: 9px; }
.su-addons-list label { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; min-height: 40px; padding: 6px 8px; margin: 0 -8px; border-radius: 9px; cursor: pointer; }
.su-addons-list li.is-on label { background: rgba(255, 181, 71, 0.12); }
.su-addons-list input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; border-radius: 6px; border: 2px solid rgba(255, 181, 71, 0.75); background: transparent; display: grid; place-items: center; cursor: pointer; }
.su-addons-list input:checked { background: var(--accent); border-color: var(--accent); }
.su-addons-list input:checked::after { content: ""; width: 10px; height: 6px; border: solid #1a1020; border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg); }
.su-addons-list input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.su-addons-list b { color: #fff; font-weight: 750; white-space: nowrap; user-select: none; -webkit-user-select: none; }
.su-addons-list span strong { display: block; font-weight: 700; color: #fff; }
.su-addons-list span small { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.35; color: #b9b9cc; }
.su-addons-list label { user-select: none; -webkit-user-select: none; }
.su-up-s { margin-top: 2px !important; font-size: 12.5px; color: #c9c9e0; }
.su-up.is-on { border-color: rgba(185, 173, 255, 0.75); background: rgba(124, 92, 255, 0.2); }
.su-up-pick { display: flex; align-items: center; gap: 10px; min-height: 40px; margin-top: 6px; font-size: 13.5px; font-weight: 700; color: #fff; cursor: pointer; user-select: none; -webkit-user-select: none; }
.su-up-pick input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 6px; border: 2px solid rgba(185, 173, 255, 0.85); display: grid; place-items: center; cursor: pointer; }
.su-up-pick input:checked { background: var(--brand-soft); border-color: var(--brand-soft); }
.su-up-pick input:checked::after { content: ""; width: 10px; height: 6px; border: solid #1a1020; border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg); }
.su-up-pick input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.su-up { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(185, 173, 255, 0.28); background: rgba(124, 92, 255, 0.1); }
.su-up p { margin: 0; }
.su-up-tag { font-size: 11px; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand-soft); }
.su-up-t { margin-top: 3px !important; font-size: 14px; font-weight: 750; color: #fff; }
.su-up-p { margin-top: 2px !important; font-size: 13px; color: #d0d0e0; }
.su-up-a { display: inline-block; margin-top: 7px; font-size: 13px; font-weight: 700; color: var(--brand-soft); text-underline-offset: 3px; }
.su-up-a:hover { color: #fff; }

/* aba Prompt */
.su-help { margin: 4px 0 10px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.su-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 40px; padding: 0 14px; border-radius: 11px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; color: #fff; background: rgba(124, 92, 255, 0.2); border: 1px solid rgba(185, 173, 255, 0.5);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.su-btn:hover { background: rgba(124, 92, 255, 0.34); }
.su-btn.is-done { color: #06150e; background: var(--green); border-color: var(--green); }
.su-btn.is-fail { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.su-btn-ghost { height: 36px; margin-top: 8px; background: rgba(255, 255, 255, 0.05); border-color: var(--line); }
.su-panel[data-panel="prompt"] { display: flex; flex-direction: column; }
.su-panel[data-panel="prompt"] > * { flex: none; }
.su-panel[data-panel="prompt"] > .su-code { flex: 1 1 var(--code-h); }
.su-code {
  margin: 10px 0 0; min-height: 84px; max-height: 200px; padding: 10px 12px; overflow: auto; border-radius: 10px; background: #0a0a11; border: 1px solid var(--line);
  font: 11.5px/1.55 ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; color: #d3d3e6;
  white-space: pre-wrap; overflow-wrap: anywhere; scrollbar-width: thin; scrollbar-color: #3a3a52 transparent; overscroll-behavior: contain;
}
.su-bonus { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #3a3a52; }
.su-bonus-text { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: #d0d0e0; }
.su-bonus-text a { color: var(--brand-soft); overflow-wrap: anywhere; text-underline-offset: 3px; }
.su-bonus-text a:hover { color: #fff; }
.su-aff-note { margin: 4px 0 0; font-size: 11px; line-height: 1.4; color: #8b8ba3; }
.su-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* aba Vídeo */
.su-video { position: relative; margin-top: 12px; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; border-radius: 12px; background: #000; border: 1px solid var(--line); }
.su-video video, .su-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
.su-facade {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; display: grid; place-items: center; color: #fff;
  background: radial-gradient(ellipse at 30% 30%, #2a1f5c 0%, #120f26 70%);
}
.su-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.su-facade-btn { position: relative; display: grid; justify-items: center; gap: 8px; }
.su-facade-btn svg { width: 64px; height: 64px; padding: 17px 14px 17px 20px; border-radius: 50%; background: var(--brand); box-shadow: 0 10px 30px rgba(104, 67, 255, 0.55); transition: transform 0.2s, background 0.2s; }
.su-facade-btn b { font-size: 14px; letter-spacing: 0.02em; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.su-facade:hover .su-facade-btn svg { transform: scale(1.07); background: var(--brand-strong); }
.su-video-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--muted); font-size: 14px; border: 2px dashed #3a3a52; border-radius: 12px; background: radial-gradient(ellipse at 30% 30%, #231b4d 0%, #0e0c1c 75%); }
.su-video-ph svg { width: 34px; height: 34px; opacity: 0.6; }
.su-video-note { margin: 8px 0 0; font-size: 11.5px; line-height: 1.4; color: #8b8ba3; }

/* rodapé do cartão: botão sempre visível, em todas as seções */
.su-foot { flex: none; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.su-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; border-radius: 14px; font-size: 17px; font-weight: 700; color: #fff; text-decoration: none;
  background: var(--brand); box-shadow: 0 12px 30px rgba(124, 92, 255, 0.4); transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.su-cta:hover { background: var(--brand-strong); transform: translateY(-1px); box-shadow: 0 16px 36px rgba(124, 92, 255, 0.5); }
.su-cta:active { transform: none; }
.su-cta svg { transition: transform 0.2s; }
.su-cta:hover svg { transform: translateX(3px); }
.su-micro { margin: 9px 0 0; text-align: center; font-size: 12px; line-height: 1.4; color: var(--muted); }
.su-contact { margin: 5px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
.su-contact a { color: var(--brand-soft); text-underline-offset: 3px; }
.su-contact a:hover { color: #fff; }
.su-legal { margin-top: 10px; }
.su-legal p { margin: 0; font-size: 10.5px; line-height: 1.4; color: #8b8ba3; }
.su-legal a { color: #a9a9c4; text-underline-offset: 2px; }
.su-legal a:hover { color: #fff; }
.su-links { white-space: nowrap; }
.su-seller { margin-top: 3px !important; color: #7d7d96 !important; }

a:focus-visible, button:focus-visible, .su-code:focus-visible, .su-panel:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.su-tab:focus-visible { outline-offset: -2px; }

/* aba minimizada (desktop): uma lingueta na borda direita */
.su-edge {
  position: fixed; z-index: 5; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 16px 11px 18px; border: 1px solid rgba(185, 173, 255, 0.45); border-right: 0; border-radius: 14px 0 0 14px; cursor: pointer;
  font: 700 14px/1 inherit; letter-spacing: 0.04em; color: #fff; background: linear-gradient(180deg, var(--brand), var(--brand-strong));
  box-shadow: 0 12px 30px rgba(104, 67, 255, 0.45); transition: padding 0.2s ease, box-shadow 0.2s;
}
.su-edge:hover { padding-right: 16px; box-shadow: 0 16px 38px rgba(104, 67, 255, 0.6); }
.su-edge span { writing-mode: vertical-rl; transform: rotate(180deg); }

/* telas grandes: cartão e texto um pouco maiores */
@media (min-width: 1800px) and (min-height: 900px) {
  :root { --card-w: 420px; --card-h: 840px; --gap: 32px; }
  .su-title { font-size: 21px; }
  .su-lead { font-size: 15.5px; }
  .su-list li { font-size: 14.5px; }
  .su-code { font-size: 12px; }
  .su-legal p { font-size: 11px; }
}

/* ------------------------------------------------------------ desktop com pouca altura (notebook 1366x768, janelas baixas) */
@media (min-width: 761px) and (min-height: 481px) and (max-height: 760px) {
  .signup { padding: 12px 16px 10px; }
  .su-tabs { margin-top: 10px; }
  .su-panel { padding-top: 10px; }
  .su-lead { font-size: 14px; }
  .su-list { margin-top: 10px; gap: 7px; }
  .su-list li { font-size: 13px; }
  .su-price { margin-top: 12px; padding: 9px 12px; }
  .su-price-main b { font-size: 26px; }
  .su-foot { margin-top: 8px; padding-top: 10px; }
  .su-cta { height: 50px; font-size: 16px; }
  .su-micro { margin-top: 7px; }
  .su-legal { margin-top: 8px; }
  .su-legal p { font-size: 10px; }
}

/* ------------------------------------------------------------ celular / tela vertical: aba inferior (bottom sheet) */
@media (max-width: 760px), (max-height: 480px), (max-aspect-ratio: 5/6) {
  .signup {
    left: 0; right: 0; top: auto; bottom: 0; width: auto; height: auto; transform: none;
    max-height: min(82vh, 720px); max-height: min(82dvh, 720px);
    padding: 8px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-radius: 22px 22px 0 0; border-bottom: 0;
    box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.5), 0 0 60px rgba(124, 92, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  }
  .signup[data-open="false"] { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: none; }
  .su-grip { display: block; position: absolute; top: 7px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: rgba(255, 255, 255, 0.24); }
  .su-head { padding-top: 12px; cursor: pointer; touch-action: none; }
  .su-tabs { margin-top: 10px; }
  .su-tab { height: 38px; font-size: 14px; }
  .su-toggle svg { transform: rotate(90deg); }                                 /* aberta: seta para baixo (recolher) */
  .signup[data-open="false"] .su-toggle svg { transform: rotate(-90deg); }     /* recolhida: seta para cima (abrir) */
  .su-collapsible { flex: 0 1 auto; }
  .signup[data-open="false"] .su-collapsible { grid-template-rows: 0fr; }
  .signup[data-open="false"] .su-clip { overflow: hidden; }
  .su-panel { min-height: 250px; padding-top: 12px; }
  .su-foot { margin-top: 8px; padding-top: 10px; }
  .su-cta { height: 52px; }
  .su-edge { display: none !important; }
  .tag { font-size: 11.5px; }
  html[data-sheet="open"] .bubble, html[data-sheet="open"] .toast { visibility: hidden; }     /* aba aberta no celular: nada por cima do cenário que sobra */
}
/* celular deitado (pouca altura, tela larga): título + abas à esquerda, botão à direita, para o cenário continuar visível */
@media (max-height: 480px) and (min-aspect-ratio: 6/5) {
  .signup {
    display: grid; grid-template-columns: minmax(0, 1fr) clamp(190px, 38%, 340px); column-gap: 16px; align-content: start;
    max-height: 82vh; max-height: 82dvh; overflow: auto; padding-top: 6px;
    padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .su-head { grid-column: 1; grid-row: 1; align-self: center; padding-top: 10px; }
  .su-tabs { grid-column: 1; grid-row: 2; margin-top: 6px; }
  .su-tab { height: 32px; }
  .su-foot { display: contents; }
  .su-actions { grid-column: 2; grid-row: 1 / 3; align-self: center; padding-top: 10px; }
  .su-collapsible { grid-column: 1 / -1; grid-row: 3; }
  .su-clip { overflow: visible; }
  .su-panel { min-height: 0; padding-top: 8px; }
  .su-legal { grid-column: 1 / -1; grid-row: 4; margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--line); }
  .su-cta { height: 46px; font-size: 16px; }
  .su-micro { margin-top: 5px; font-size: 11px; }
  .su-lead { font-size: 13.5px; }
  .su-list { margin-top: 8px; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
  .su-list li { font-size: 12.5px; }
  :root { --code-h: 96px; }
}
/* sem 3D (só o poster) e aba aberta no celular: o poster encolhe para a área livre acima da aba (altura medida em landing.js) */
@media (max-width: 760px), (max-height: 480px), (max-aspect-ratio: 5/6) {
  .poster { transition: object-position 0.35s ease; }
  html[data-sheet="open"] .stage:not(.is-3d) .poster { height: calc(100% - var(--sheet-open-h, 0px) + 24px); object-position: 50% 28%; }
}
@media (max-height: 480px) and (min-aspect-ratio: 6/5) {
  html[data-sheet="open"] .stage:not(.is-3d) .poster { object-position: 50% 46%; }
}
@media (max-width: 760px) {
  .bubble { width: min(236px, 60vw); }
  .bubble p { font-size: 12.5px; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .su-lead { font-size: 14px; }
  .su-list { margin-top: 10px; gap: 6px; }
  .su-panel { min-height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
