@font-face { font-family: "Outfit"; src: url(/company/outfit.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
/* ======================================================================================
   Quando Você Chegou: base compartilhada (estrutura e layout).
   Sem cor, sem fundo, sem sombra, sem movimento e sem grafismo: tudo isso é da marca e vem de
   company/theme/skin.css e company/theme/motion.css (um tema por empresa, sem padrão).
   Gerado de qvc/web/base.css por scripts/prepare-company.mjs, antes do tema.
   ====================================================================================== */
:root { --safe-top: env(safe-area-inset-top, 0px); --safe-bottom: env(safe-area-inset-bottom, 0px); }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body { font-family: var(--qvc-font); -webkit-font-smoothing: antialiased; }
button, input { font-family: var(--qvc-font); }
button { cursor: pointer; }
/* reset neutro: botão ou link sem estilo da marca nunca cai no cinza/azul padrão do navegador */
button { background: transparent; border: 0; color: inherit; }
a { color: inherit; }
.hidden { display: none !important; }
#app { min-height: 100%; min-height: 100dvh; display: flex; justify-content: center; }
.screen { width: 100%; max-width: 430px; min-height: 100%; min-height: 100dvh; padding: calc(28px + var(--safe-top)) 28px calc(28px + var(--safe-bottom)); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.screen-start { padding: 0 0 calc(28px + var(--safe-bottom)); justify-content: flex-start; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.hero-brand { position: relative; z-index: 1; width: 100%; min-height: min(32vh, 260px); padding: calc(22px + var(--safe-top)) 28px 10px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-shrink: 0; }
.logo-lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.logo-lockup-inline { flex-direction: column; align-items: flex-start; margin-right: 8px; }
.logo-start { height: 42px; width: auto; display: block; }
.logo-seguros { font-size: 10px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; }
.start-copy { position: relative; z-index: 1; padding: 8px 28px 0; }
.brand-kicker { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; }
h1, h1.display { font-family: var(--qvc-font); font-weight: 800; font-size: clamp(36px, 10vw, 52px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 16px; }
.display { display: flex; flex-direction: column; align-items: flex-start; }
.display-light { font-weight: 300; font-size: 0.58em; letter-spacing: -0.02em; line-height: 1.2; }
.display-bold { font-weight: 800; letter-spacing: -0.045em; }
.lead { font-size: 16px; line-height: 1.5; margin: 0 0 28px; max-width: 24em; font-weight: 400; }
.lead strong { font-weight: 700; }
.fine { font-size: 13px; line-height: 1.45; margin: 16px 0 0; padding: 10px 12px; border-radius: 12px; }
.btn-primary, .btn-secondary { appearance: none; border: 0; border-radius: 999px; padding: 16px 28px; font-size: 16px; font-weight: 700; }
.btn-primary:active, .btn-secondary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.4; }
.btn-text { border: 0; font-size: 14px; min-height: 44px; min-width: 44px; padding: 12px 16px; text-decoration: underline; text-underline-offset: 3px; }
.screen-talk { align-items: center; text-align: center; padding: calc(20px + var(--safe-top)) 20px 0; padding-bottom: calc(186px + var(--safe-bottom)); overflow: hidden; height: 100dvh; min-height: 100dvh; max-height: 100dvh; }
.screen-talk > * { flex-shrink: 0; }
.talk-kicker { position: relative; z-index: 1; margin: 4px 116px 14px 0; min-height: 44px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; display: flex; align-items: center; align-self: stretch; gap: 10px; }
.logo-kicker { height: 18px; width: auto; }
.logo-lockup-inline .logo-seguros { font-size: 6px; letter-spacing: 0.24em; }
.btn-score-mute,
button.btn-score-mute:disabled { appearance: none; -webkit-appearance: none; position: absolute; z-index: 21; top: calc(16px + var(--safe-top)); right: 72px; width: 44px; height: 44px; border: 0; border-radius: 50%; font-size: 20px; line-height: 1; display: grid; place-items: center; }
.btn-score-mute .mute-off { display: none; font-size: 15px; font-weight: 700; }
.btn-score-mute.is-muted .mute-on { display: none; }
.btn-score-mute.is-muted .mute-off { display: block; }
.btn-score-mute.is-muted { opacity: 0.85; }
.screen-talk.el-live .story-tap-hint,
.screen-talk.el-live .story-tap { display: none !important; }
.btn-end,
button.btn-end:disabled { appearance: none; -webkit-appearance: none; position: absolute; z-index: 20; top: calc(16px + var(--safe-top)); right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; font-size: 28px; line-height: 1; display: grid; place-items: center; opacity: 1; }
button.btn-end:disabled { pointer-events: none; cursor: default; }
.orb { width: 210px; height: 210px; margin: 20px 0 16px; position: relative; overflow: hidden; flex-shrink: 0; }
.status { font-size: 15px; font-weight: 700; margin: 0 0 10px; flex-shrink: 0; }
.status:empty { display: none; margin: 0; }
.caption { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.subtitle { font-size: 16px; line-height: 1.4; font-weight: 600; margin: 0 auto 12px; max-width: 22em; width: 100%; max-height: 9.2em; overflow: hidden; padding: 10px 14px; border-radius: 16px; flex-shrink: 0; }
.subtitle:empty { display: none; margin: 0; padding: 0; }
.subtitle.is-swap { opacity: 0; }
.name-confirm { width: 100%; margin-top: 8px; padding: 16px; border-radius: 18px; flex-shrink: 0; }
.name-confirm p { margin: 0 0 12px; font-size: 16px; font-weight: 600; }
.name-confirm strong { font-weight: 800; }
.panel { width: 100%; margin-top: 12px; flex-shrink: 0; }
.panel .btn-primary { width: 100%; }
#clip { width: 100%; max-height: 42vh; border-radius: 18px; margin: 0 0 14px; display: block; }
.row-actions { display: flex; gap: 10px; }
.row-actions .btn-primary, .row-actions .btn-secondary { flex: 1; padding: 14px 12px; }
.dock { position: fixed; left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px; bottom: 0; padding: 12px 16px calc(20px + var(--safe-bottom)); display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 30; pointer-events: none; }
.dock > * { pointer-events: auto; }
.btn-mic { width: 76px; height: 76px; border: 0; border-radius: 50%; display: grid; place-items: center; }
.btn-mic:disabled { opacity: 0.38; }
.btn-mic.speaking-lock { opacity: 0.45; }
.btn-mic.hot { transform: scale(1.04); }
.type-form { position: fixed; left: 50%; transform: translateX(-50%); width: calc(100% - 40px); max-width: 390px; bottom: calc(154px + var(--safe-bottom)); z-index: 31; display: flex; gap: 8px; border: 1px solid transparent; border-radius: 16px; padding: 8px; }
.type-form input { flex: 1; border: 0; outline: none; font-size: 16px; padding: 8px 10px; }
.type-form .btn-secondary { padding: 12px 16px; min-height: 44px; }
@media (min-width: 860px) {
  .screen { margin: 24px 0; min-height: calc(100dvh - 48px); border-radius: 28px; overflow: hidden; }
  .screen-talk { height: calc(100dvh - 48px); max-height: calc(100dvh - 48px); min-height: calc(100dvh - 48px); }
}
#render-canvas { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; visibility: hidden; pointer-events: none; }
#render-canvas.previewing { position: relative; left: auto; top: auto; right: auto; bottom: auto; visibility: visible; opacity: 1; display: block; width: min(200px, 48vw); height: auto; aspect-ratio: 9 / 16; max-height: min(42vh, 360px); margin: 28px auto 0; border-radius: 18px; border: 3px solid transparent; z-index: 2; flex-shrink: 0; }
.screen-talk:not(.is-rendering) #render-canvas { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; visibility: hidden; }
@media (max-height: 520px), (orientation: landscape) and (max-height: 520px) {
  .hero-brand { min-height: 88px; padding: calc(12px + var(--safe-top)) 24px 4px; }
  .start-copy { padding: 4px 24px 0; }
  h1, h1.display { font-size: clamp(28px, 8vw, 40px); margin-bottom: 10px; }
  .lead { margin-bottom: 14px; font-size: 14px; }
  .btn-primary { padding: 14px 24px; }
  .orb { width: 140px; height: 140px; margin: 12px 0 10px; }
  .caption { min-height: 2.2em; }
}
button:focus-visible, input:focus-visible { outline: 3px solid transparent; outline-offset: 3px; }
.btn-credits { display: inline-block; margin-top: 4px; }
.mic-hint.hidden { display: none; }
.mic-hint { margin: 4px 0 0; font-size: 12px; font-weight: 600; min-height: 18px; padding: 0 12px; text-align: center; }
.progress { width: min(280px, 80%); height: 10px; border-radius: 999px; overflow: hidden; margin: 12px auto 16px; flex-shrink: 0; }
.progress-bar { height: 100%; width: 0%; border-radius: 999px; }
.offline-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 50; text-align: center; padding: 10px 16px; font-size: 14px; font-weight: 600; }
.credits-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.credits-modal.hidden { display: none !important; }
.credits-sheet { width: 100%; max-width: 430px; max-height: min(86dvh, 720px); overflow: auto; border-radius: 24px 24px 0 0; padding: 22px 22px calc(28px + var(--safe-bottom)); }
.credits-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.credits-head h2 { margin: 0; font-size: 20px; }
.credits-lead { font-size: 14px; line-height: 1.45; margin: 12px 0 16px; }
.credits-list { font-size: 13px; line-height: 1.4; }
.credit-item { padding: 10px 0; border-top: 1px solid transparent; }
.credit-item strong { display: block; margin-bottom: 4px; }
@media (min-width: 860px) {
  .credits-modal { align-items: center; }
  .credits-sheet { border-radius: 24px; max-height: 80dvh; }
}
.screen-talk.story-on { padding-bottom: 0; }
.screen-talk.story-on > .brand-sky,
.screen-talk.story-on > .talk-kicker,
.screen-talk.story-on > .orb,
.screen-talk.story-on > .status,
.screen-talk.story-on > .progress,
.screen-talk.story-on > #render-canvas,
.screen-talk.story-on > .subtitle,
.screen-talk.story-on > .name-confirm,
.screen-talk.story-on > .consent-panel,
.screen-talk.story-on > .panel,
.screen-talk.story-on > .dock,
.screen-talk.story-on > .type-form { display: none !important; }
.screen-talk.story-on.story-subs > .subtitle { display: block !important; position: absolute; left: 20px; right: 20px; bottom: calc(36px + var(--safe-bottom)); z-index: 20; margin: 0 auto; }
.story-stage { position: absolute; inset: 0; z-index: 14; overflow: hidden; border-radius: inherit; }
.story-stage[hidden] { display: none !important; }
.story-sky { position: absolute; inset: 0; }
.story-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); will-change: transform, opacity; }
.story-photo.is-on { opacity: 1; }
/* foto inteira sobre fundo desfocado da própria imagem + cor da marca (--qvc-photo-fill) */
.story-photo-fill { position: absolute; inset: -48px; background-size: cover; background-position: center; filter: blur(28px) saturate(1.2); transform: scale(1.08); opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.story-photo-fill::after { content: ""; position: absolute; inset: 0; background: var(--qvc-photo-fill, rgba(0, 0, 0, 0.42)); }
.story-photo-fill.is-on { opacity: 1; }
.story-photo.is-contain { inset: auto; object-fit: cover; border-radius: var(--qvc-photo-radius, 18px); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); transform-origin: 50% 50%; }
.story-photo.is-contain.is-on { animation: qvc-contain-kb 14s ease-out both !important; }
@keyframes qvc-contain-kb { from { transform: scale(1); } to { transform: scale(1.03); } }
.story-veil { position: absolute; inset: 0; pointer-events: none; }
.story-rewind { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; z-index: 2; }
.story-rewind.hidden, .story-copy.hidden { display: none; }
.story-eyebrow, .story-scene-kicker { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }
.story-year-flip { margin: 0; font-size: clamp(72px, 22vw, 120px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.story-rewind-cap { margin: 14px 0 0; font-size: 16px; font-weight: 600; }
.story-copy { position: absolute; left: 0; right: 0; bottom: calc(72px + var(--safe-bottom)); padding: 0 24px; z-index: 3; text-align: left; }
.story-copy h2 { margin: 0 0 8px; font-size: clamp(26px, 7vw, 36px); line-height: 1.12; font-weight: 800; }
.story-copy #story-line { margin: 0; font-size: 16px; line-height: 1.4; font-weight: 500; max-width: 22em; }
.story-credit { margin: 12px 0 0; font-size: 11px; font-weight: 600; opacity: 0.82; }
.story-dots { position: absolute; top: calc(58px + var(--safe-top)); left: 0; right: 0; display: flex; justify-content: center; gap: 7px; z-index: 4; }
.story-dot { width: 7px; height: 7px; border-radius: 50%; }
.story-dot.is-on { transform: scale(1.2); }
.story-tap-hint { position: absolute; left: 0; right: 0; bottom: calc(22px + var(--safe-bottom)); margin: 0; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; z-index: 4; }
.story-tap { position: absolute; inset: 0; z-index: 5; border: 0; padding: 0; cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  .story-photo.is-on, .story-photo.is-contain.is-on { transform: none; animation: none !important; }
}
@media (min-width: 860px) {
  .story-copy { padding: 0 36px; }
}
.consent-panel { display: flex; flex-direction: column; gap: 10px; }
.consent-panel.hidden { display: none; }
.consent-panel .btn-primary, .consent-panel .btn-secondary { width: 100%; }
.story-brand { position: absolute; top: 22%; left: 50%; transform: translateX(-50%); width: min(180px, 42%); height: auto; z-index: 3; pointer-events: none; }
.story-brand.hidden { display: none; }
.screen-talk.is-typing .dock { display: none !important; }
.screen-talk.has-panel .orb,
.screen-talk:has(#name-confirm:not(.hidden)) .orb,
.screen-talk:has(#consent-panel:not(.hidden)) .orb,
.screen-talk:has(#photo-panel:not(.hidden)) .orb,
.screen-talk:has(#video-panel:not(.hidden)) .orb { display: none; }
.screen-talk.is-typing .type-form { bottom: calc(20px + var(--safe-bottom) + var(--kb-offset, 0px)); }
.screen-talk:has(#type-form:not(.hidden)) .subtitle { visibility: hidden; }
@media (max-height: 520px) {
  .consent-panel { flex-direction: row; align-items: stretch; gap: 10px; }
  .consent-panel .btn-primary,
  .consent-panel .btn-secondary { flex: 1; width: auto; }
}
@media (max-height: 520px), (orientation: landscape) and (max-height: 520px) {
  .story-copy { bottom: calc(56px + var(--safe-bottom)); }
  .story-copy h2 { font-size: 22px; }
  .name-confirm { padding: 12px; }
}
.brand-sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.clip-meta { display: flex; flex-direction: column; align-items: center; width: 100%; flex-shrink: 0; gap: 10px; }
.pride-tag { margin: 0; font-weight: 700; font-size: 15px; letter-spacing: 0.01em; text-align: center; }
.end-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 4px; }
.end-links .btn-text { min-height: 40px; padding: 8px 10px; }
.orb, .status, .subtitle, .name-confirm, .panel, .start-copy { position: relative; z-index: 1; }
.screen-talk.is-rendering,
.screen-talk.is-clip { padding-bottom: calc(32px + var(--safe-bottom)); justify-content: flex-start; }
.screen-talk.is-rendering .orb,
.screen-talk.is-clip .orb,
.screen-talk.is-rendering .dock,
.screen-talk.is-clip .dock,
.screen-talk.is-rendering .type-form,
.screen-talk.is-clip .type-form { display: none !important; }
.screen-talk.is-rendering #status { margin-top: 36px; }
.screen-talk.is-clip #status { margin: 4px 0 10px; }
.screen-talk.is-clip #subtitle { margin: 0 auto 12px; max-height: 9.2em; }
.screen-talk.is-clip #video-panel,
.screen-talk.is-rendering #video-panel { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; width: 100%; margin-top: 8px; overflow: hidden; }
.screen-talk.is-clip #clip { flex: 1 1 auto; width: 100%; min-height: 120px; max-height: none; height: auto; object-fit: contain; margin: 0 0 12px; }
.screen-talk.is-clip .clip-meta { flex: 0 0 auto; }
.screen-talk.is-clip .row-actions { width: 100%; margin: 0; }
@media (max-height: 720px) and (min-height: 521px) {
  .hero-brand { min-height: 120px; padding: calc(16px + var(--safe-top)) 24px 8px; }
  .start-copy { padding: 4px 24px 0; }
  h1, h1.display { font-size: clamp(32px, 9vw, 44px); margin-bottom: 12px; }
  .lead { margin-bottom: 18px; font-size: 15px; }
  .screen-talk:not(.is-clip):not(.is-rendering) .orb { width: 150px; height: 150px; margin: 12px 0 10px; }
}
@media (max-height: 700px) and (min-height: 521px) {
  .screen-talk.is-clip #clip { min-height: 110px; }
}
@media (max-height: 520px), (orientation: landscape) and (max-height: 520px) {
  .hero-brand { min-height: 56px; padding: calc(8px + var(--safe-top)) 20px 0; }
  .logo-start { height: 32px; }
  .start-copy { padding: 2px 20px 0; }
  h1, h1.display { font-size: clamp(24px, 6vw, 32px); margin-bottom: 8px; }
  .lead { margin-bottom: 10px; font-size: 13px; line-height: 1.35; }
  .fine { margin: 8px 0 0; padding: 8px 10px; font-size: 12px; line-height: 1.35; }
  .screen-start { padding-bottom: calc(12px + var(--safe-bottom)); }
  .btn-credits { min-height: 36px; padding: 8px 12px; }
  .screen-talk.is-clip #video-panel { flex-direction: row; align-items: flex-start; gap: 16px; min-height: 0; margin-top: 0; }
  .screen-talk.is-clip #clip { width: auto; flex: 0 1 auto; max-width: 34%; height: auto; max-height: calc(100% - 4px); aspect-ratio: 9 / 16; margin: 0; min-height: 0; }
  .screen-talk.is-clip .clip-meta { flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "tag seal"
      "actions actions"
      "links links"; column-gap: 12px; row-gap: 6px; padding-top: 2px; align-items: center; }
  .screen-talk.is-clip #subtitle { margin-bottom: 6px; }
  #render-canvas.previewing { width: min(90px, 18vw); max-height: 36vh; margin: 12px auto 0; }
  .screen-talk.is-clip, .screen-talk.is-rendering { padding-bottom: calc(36px + var(--safe-bottom)); }
  .screen-talk.is-clip .pride-tag { grid-area: tag; text-align: left; }
  .screen-talk.is-clip .row-actions { grid-area: actions; }
  .screen-talk.is-clip .end-links { grid-area: links; }
  .screen-talk.is-clip #status { margin-top: 0; }
  .screen-talk:not(.is-clip):not(.is-rendering) .orb { width: 72px; height: 72px; margin: 6px 0; }
  .btn-mic { width: 52px; height: 52px; }
  .dock { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; padding: 8px 16px calc(12px + var(--safe-bottom)); gap: 8px 14px; }
  .dock .btn-text { min-height: 36px; padding: 8px 12px; }
  .mic-hint { margin: 0; min-height: 0; }
  .screen-talk:not(.is-clip):not(.is-rendering) { padding-bottom: calc(88px + var(--safe-bottom)); }
  .type-form { bottom: calc(80px + var(--safe-bottom)); }
  .screen-talk.is-typing .type-form { bottom: calc(16px + var(--safe-bottom) + var(--kb-offset, 0px)); }
  .subtitle { font-size: 14px; padding: 8px 12px; }
}
@media (min-width: 860px) {
  .screen-talk.is-clip, .screen-talk.is-rendering { padding-bottom: calc(24px + var(--safe-bottom)); }
}
body, button, input { font-family: var(--qvc-font); }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overscroll-behavior: none; -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
#btn-start { min-width: 168px; position: relative; overflow: hidden; }
#btn-start::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%); }
.btn-primary:hover { transform: translateY(-1px); }
.fine { border: 1px solid transparent; }
.screen-talk { justify-content: center; padding-top: calc(76px + var(--safe-top)); }
.talk-kicker { position: absolute; top: calc(16px + var(--safe-top)); left: 20px; right: 128px; margin: 0; z-index: 2; }
.status { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 12px; min-height: 16px; }
.status:empty { display: block; visibility: hidden; margin: 0 0 12px; }
.subtitle { font-size: 17px; line-height: 1.45; font-weight: 600; letter-spacing: -0.005em; max-width: 23em; min-height: calc(1.45em * 4 + 28px); max-height: calc(1.45em * 6 + 28px); padding: 14px 18px; border-radius: 20px; border: 1px solid transparent; display: flex; align-items: center; justify-content: center; text-wrap: pretty; }
.subtitle:empty { display: flex; visibility: hidden; margin: 0 auto 12px; padding: 14px 18px; }
.screen-talk.has-panel:not(.is-clip) .subtitle:empty,
.screen-talk.is-rendering .subtitle:empty { display: none; }
.screen-talk.is-clip .subtitle { font-size: 15px; min-height: calc(1.45em * 3 + 24px); max-height: calc(1.45em * 4 + 24px); padding: 12px 16px; margin-bottom: 12px; }
.orb { margin: 0 0 18px; }
@media (min-height: 800px) {
  .subtitle { min-height: calc(1.45em * 5 + 28px); }
}
.panel { max-width: 390px; }
.consent-panel, .photo-panel { padding: 22px 18px 18px; border-radius: 24px; border: 1px solid transparent; }
.photo-panel { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.photo-panel.hidden { display: none; }
.panel-title { margin: 0 0 6px; font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
.panel-sub { margin: 0 0 14px; font-size: 14px; line-height: 1.4; font-weight: 500; }
.photo-panel .panel-sub { margin: 4px 0 0; font-size: 13px; }
.photo-panel .btn-text { align-self: center; }
.btn-score-mute svg { display: block; }
.btn-score-mute .mute-off { display: none; }
.btn-score-mute.is-muted .mute-off { display: block; }
.btn-end svg { display: block; }
.btn-end:active, .btn-score-mute:active { transform: scale(0.94); }
.screen-talk.el-live .btn-mic:not(.is-muted)::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid transparent; pointer-events: none; }
.btn-mic { position: relative; }
.mic-hint { letter-spacing: 0.02em; }
.story-copy h2 { letter-spacing: -0.015em; text-wrap: balance; }
.story-copy #story-line { text-wrap: pretty; }
.story-art { position: absolute; inset: 0; display: none; pointer-events: none; z-index: 1; overflow: hidden; }
.story-stage.no-photo.mode-news .story-art,
.story-stage.mode-marco .story-art,
.story-stage.mode-rewind .story-art { display: block; }
.story-art-year { position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%); font-size: clamp(96px, 33vw, 150px); font-weight: 800; letter-spacing: -0.06em; line-height: 1; }
.story-stage.mode-rewind .story-art-year { display: none; }
.story-stage.mode-marco .story-art-year { display: none; }
.story-dots { gap: 6px; }
.story-dot { width: 18px; height: 3px; border-radius: 3px; }
.story-dot.is-on { width: 28px; transform: none; }
.story-credit { opacity: 0.72; font-weight: 500; }
#render-canvas.previewing { border: 0; }
.screen-talk.is-clip #clip { align-self: center; width: auto; max-width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 20px; }
.end-links .btn-text { min-height: 44px; }
.pride-tag { letter-spacing: 0.02em; }
.offline-banner { top: auto; left: 50%; right: auto; bottom: calc(132px + var(--safe-bottom)); transform: translateX(-50%); width: max-content; max-width: calc(100% - 40px); border-radius: 999px; padding: 10px 18px; border: 1px solid transparent; font-size: 13px; z-index: 70; }
@media (min-width: 860px) {
  #app { align-items: center; }
  #app::before { content: ""; position: fixed; width: 1400px; height: 1400px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; }
  .screen { max-height: 920px; min-height: min(calc(100dvh - 48px), 920px); }
  .screen-talk { height: min(calc(100dvh - 48px), 920px); max-height: min(calc(100dvh - 48px), 920px); min-height: min(calc(100dvh - 48px), 920px); }
  .dock { bottom: max(24px, calc((100dvh - 920px) / 2)); }
}
@media (max-height: 720px) and (min-height: 521px) {
  .screen-talk { padding-top: calc(68px + var(--safe-top)); }
  .subtitle { font-size: 16px; min-height: calc(1.45em * 3 + 24px); padding: 12px 16px; }
  .panel-title { font-size: 18px; }
}
@media (max-height: 520px) {
  .screen-talk { padding-top: calc(60px + var(--safe-top)); }
  .talk-kicker { top: calc(10px + var(--safe-top)); }
  .btn-score-mute, button.btn-score-mute:disabled, .btn-end, button.btn-end:disabled { top: calc(10px + var(--safe-top)); }
  .subtitle { font-size: 14px; min-height: 0; max-height: 5.6em; padding: 8px 14px; }
  .subtitle:empty { display: none; }
  .status { margin-bottom: 6px; }
  .btn-credits { min-height: 44px; }
  .consent-panel, .photo-panel { padding: 14px; }
  .panel-title { font-size: 16px; margin-bottom: 2px; }
  .panel-sub { margin-bottom: 8px; font-size: 13px; }
  .consent-panel { flex-wrap: wrap; }
  .consent-panel .panel-title, .consent-panel .panel-sub { flex-basis: 100%; }
  .story-art-year { font-size: 120px; top: 30%; }
  .offline-banner { bottom: calc(76px + var(--safe-bottom)); }
}
.story-year-flip, .story-art-year { font-variant-numeric: tabular-nums; }
.btn-start { display: inline-flex; align-items: center; justify-content: center; gap: 10px; position: relative; overflow: hidden; }
.btn-start svg { flex: none; }
.start-note { margin: 12px 0 0; font-size: 13px; font-weight: 600; letter-spacing: 0.01em; opacity: 0.95; }
.screen-start .btn-credits { padding-left: 0; padding-right: 0; margin-left: 0; }
.inapp-note { margin: 0 0 18px; padding: 14px 16px; border-radius: 16px; border: 1px solid transparent; }
.inapp-note[hidden] { display: none; }
.inapp-title { margin: 0 0 4px; font-size: 15px; font-weight: 800; }
.inapp-sub { margin: 0 0 10px; font-size: 13px; line-height: 1.4; }
.inapp-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-inapp { appearance: none; border: 0; min-height: 44px; padding: 10px 16px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; }
.btn-inapp[hidden] { display: none; }
.sheet { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.sheet.hidden { display: none !important; }
.sheet-card { width: 100%; max-width: 430px; padding: 24px 22px calc(24px + var(--safe-bottom)); border-radius: 26px 26px 0 0; text-align: center; display: flex; flex-direction: column; gap: 10px; transform: translateY(24px); opacity: 0; }
.sheet.is-open .sheet-card { transform: none; opacity: 1; }
.sheet-title { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.sheet-sub { margin: 0 0 8px; font-size: 14px; line-height: 1.45; }
.sheet-card .btn-primary, .sheet-card .btn-secondary { width: 100%; }
@media (min-width: 860px) {
  .sheet { align-items: center; }
  .sheet-card { border-radius: 26px; padding-bottom: 24px; }
}
.mic-steps { margin: 4px 0 10px; padding: 0 0 0 22px; text-align: left; font-size: 15px; line-height: 1.5; }
.mic-steps li + li { margin-top: 6px; }
.year-decades { display: flex; gap: 6px; justify-content: center; margin: 6px 0 4px; }
.year-decades .year-decade { flex: 1 1 0; min-width: 0; padding: 8px 2px; font-size: 12px; }
.year-decade { appearance: none; border: 0; min-height: 40px; padding: 8px 12px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 700; }
.year-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 6px 0 4px; }
.year-pick { appearance: none; border: 0; min-height: 48px; border-radius: 14px; font: inherit; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.year-pick:active, .year-decade:active { transform: scale(0.96); }
.btn-year-fix { appearance: none; margin-top: 18px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 0; font: inherit; font-size: 14px; font-weight: 600; position: relative; z-index: 6; }
.btn-year-fix span { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.screen-talk:not(.el-live) .btn-year-fix { display: none; }
.heard-chip { position: fixed; left: 50%; bottom: calc(176px + var(--safe-bottom)); transform: translate(-50%, 8px); z-index: 40; max-width: min(360px, calc(100% - 40px)); margin: 0; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.35; text-align: center; border: 1px solid transparent; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; pointer-events: none; }
.heard-chip[hidden] { display: none; }
.heard-chip.is-on { opacity: 1; transform: translate(-50%, 0); }
.screen-talk.story-on .heard-chip { bottom: calc(150px + var(--safe-bottom)); }
.status { text-transform: none; letter-spacing: 0.01em; font-size: 15px; font-weight: 700; }
.mic-hint { font-size: 13px; opacity: 1; font-weight: 600; }
.btn-mic { --vol: 0; }
.dock.is-listening .btn-mic::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; pointer-events: none; border: 3px solid transparent; transform: scale(calc(1 + var(--vol) * 0.35)); opacity: calc(0.45 + var(--vol) * 0.55); }
.screen-talk.el-live .dock.is-speaking .btn-mic::before { opacity: 0; }
.story-credit { opacity: 1; font-size: 12px; }
.reconnect-bar { position: fixed; left: 0; right: 0; margin: 0 auto; top: calc(84px + var(--safe-top)); z-index: 75; width: max-content; white-space: nowrap; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 8px 8px 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid transparent; }
.reconnect-bar[hidden] { display: none; }
.reconnect-bar:not(.is-failed) { padding-right: 16px; }
.reconnect-bar:not(.is-failed)::before { content: ""; width: 14px; height: 14px; border-radius: 50%; flex: none; border: 2px solid transparent; }
.btn-resume { appearance: none; border: 0; min-height: 40px; padding: 8px 14px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 800; white-space: nowrap; }
.btn-resume[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .dock.is-listening .btn-mic::after { transform: none; }
}
.photo-panel .panel-sub-top { margin: 0 0 10px; font-size: 14px; }
.photo-panel .btn-secondary { margin-top: 2px; }
#render-canvas.previewing { width: min(232px, 56vw); max-height: min(50vh, 412px); margin-top: 16px; }
.render-steps { list-style: none; margin: 14px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 360px; position: relative; z-index: 2; }
.render-steps li { font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; }
.render-steps li.is-done::before { content: "✓ "; }
.screen-talk:not(.is-rendering) .render-steps { display: none; }
.screen-talk.is-rendering #render-canvas.previewing { order: 0; }
.clip-note { margin: 2px 0 10px; text-align: center; font-size: 13px; font-weight: 600; }
.clip-note[hidden] { display: none; }
#btn-download[hidden] { display: none; }
.btn-link { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.btn-link[hidden] { display: none; }
#save-sheet .btn-text { min-height: 40px; }
#save-sheet [hidden] { display: none; }
#video-panel { position: relative; }
.screen-talk.el-live .dock #btn-type,
.btn-year-quick { position: absolute; top: 30px; max-width: calc(50% - 56px); min-height: 40px; padding: 8px 12px; border-radius: 999px; border: 0; font: inherit; font-size: 13px; font-weight: 700; line-height: 1.2; text-decoration: none; }
.screen-talk.el-live .dock #btn-type { display: inline-block !important; left: 12px; }
.btn-year-quick { right: 12px; }
.btn-year-quick[hidden] { display: none; }
.screen-talk:not(.el-live) .btn-year-quick { display: none; }
.screen-talk.el-live .type-form:not(.hidden) ~ .dock #btn-type { display: none !important; }
.story-copy h2.is-long { font-size: clamp(20px, 5.6vw, 26px); line-height: 1.25; }
.is-wait { opacity: 0.5; pointer-events: none; }
.render-steps li.is-done::before { content: none; }
.screen-talk.is-rendering #status { white-space: nowrap; }
.screen-talk.el-live .dock #btn-type, .btn-year-quick { max-width: calc(50% - 64px); font-size: 12px; padding: 8px 10px; }
#render-canvas:not(.previewing) ~ .render-steps { display: none; }
.screen-talk.is-rendering #render-canvas.previewing { width: auto; height: clamp(150px, calc(100dvh - 420px), 412px); max-height: none; max-width: 60vw; margin-top: 14px; }
.screen-talk.is-rendering .render-steps { position: relative; display: flex; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; width: max-content; max-width: calc(100% - 8px); height: 28px; margin: 12px auto 0; flex-shrink: 0; }
.screen-talk.is-rendering .render-steps::-webkit-scrollbar { display: none; }
.screen-talk.is-rendering .render-steps { gap: 4px; scroll-behavior: smooth; }
.screen-talk.is-rendering .render-steps li { flex-shrink: 0; white-space: nowrap; font-size: 10.5px; line-height: 18px; padding: 5px 7px; }
.screen-talk.is-rendering #render-canvas:not(.previewing) ~ .render-steps { display: flex; visibility: hidden; }
.screen-talk.is-rendering .subtitle,
.screen-talk.is-rendering .subtitle:empty { display: flex; position: relative; font-size: 15px; line-height: 1.4; padding: 10px 14px; margin: 12px auto 0; min-height: calc(1.4em * 4 + 20px); max-height: calc(1.4em * 4 + 20px); overflow: hidden; flex-shrink: 0; }
.screen-talk.is-rendering .subtitle:empty { visibility: hidden; }
.screen-talk.is-rendering #caption { display: none; }
@media (max-height: 560px) {
  .screen-talk.is-rendering .render-steps { display: none; }
}
.story-credit:empty { display: none; }
.type-form input { min-width: 0; text-overflow: ellipsis; }
.type-form { position: fixed; }
.type-q { position: absolute; left: 4px; right: 4px; bottom: calc(100% + 12px); margin: 0; text-align: center; font-size: 17px; line-height: 1.35; font-weight: 600; pointer-events: none; }
.type-q:empty { display: none; }
.screen-talk.is-rendering #render-canvas:not(.previewing) { position: relative; left: auto; display: block; visibility: visible; opacity: 1; width: auto; height: clamp(150px, calc(100dvh - 420px), 412px); max-width: 60vw; aspect-ratio: 9 / 16; margin: 14px auto 0; border-radius: 18px; flex-shrink: 0; }
.screen-talk.is-rendering #render-canvas:not(.previewing) ~ .render-steps { visibility: visible; }
.mic-off { display: none; }
.screen-talk.mic-locked.story-on .mic-off { display: inline-flex; align-items: center; gap: 6px; position: fixed; left: 50%; transform: translateX(-50%); top: calc(var(--safe-top) + 84px); z-index: 20; margin: 0; padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; pointer-events: none; }
.screen-talk.mic-locked .btn-mic { opacity: 0.45; }
.mic-off { display: none !important; }
.screen-talk.mic-locked .dock > :not(#btn-year-quick),
.screen-talk.mic-locked .type-form,
.screen-talk.mic-locked #heard,
.screen-talk.mic-locked #caption { display: none !important; }
.screen-talk.mic-locked .dock #btn-year-quick:not([hidden]) { display: inline-block !important; }
.screen-talk.has-panel .subtitle,
.screen-talk.is-rendering .subtitle,
.screen-talk.is-clip .subtitle,
.screen-talk.is-clip #subtitle { display: block; position: absolute; left: 20px; right: 20px; bottom: calc(28px + var(--safe-bottom)); top: auto; z-index: 20; width: auto; max-width: 24em; margin: 0 auto !important; min-height: 0 !important; max-height: calc(1.4em * 2 + 18px) !important; overflow: hidden; font-size: 15px; line-height: 1.4; font-weight: 600; text-align: center; padding: 9px 14px; border: 0; border-radius: 14px; }
.screen-talk.has-panel .subtitle:empty,
.screen-talk.is-rendering .subtitle:empty,
.screen-talk.is-clip .subtitle:empty { display: none !important; }
.screen-talk.is-clip .subtitle,
.screen-talk.is-clip #subtitle { top: calc(var(--safe-top) + 74px); bottom: auto; }
.screen-talk.is-clip:has(#subtitle:not(:empty)) #status { visibility: hidden; }
.screen-talk.is-rendering .render-steps,
.screen-talk.is-rendering #render-canvas:not(.previewing) ~ .render-steps { display: none !important; }
.photo-panel .panel-sub { margin-bottom: 18px; }
.screen-talk.is-clip .end-links { flex-wrap: nowrap; justify-content: center; gap: 0 18px; }
.screen-talk.is-clip .end-links .btn-text { white-space: nowrap; }
@media (max-width: 380px) {
  .screen-talk.has-panel #subtitle, .screen-talk.is-rendering #subtitle, .screen-talk.is-clip #subtitle { max-height: calc(1.35em * 3 + 18px) !important; font-size: 14px; line-height: 1.35; }
}
.screen-talk.is-clip .end-links { flex-wrap: wrap !important; gap: 0 14px !important; }
@media (orientation: landscape) and (max-height: 520px) {
  .screen-talk.has-panel #subtitle, .screen-talk.is-clip #subtitle, .screen-talk.is-rendering #subtitle { display: none !important; }
}
.screen-talk #subtitle { pointer-events: none; }
.screen-talk.mic-locked.name-ask .type-form:not(.hidden) { display: flex !important; flex-wrap: wrap; }
.type-form .type-q:empty { display: none; }
.type-form .type-q { flex-basis: 100%; margin: 2px 4px 6px; font-weight: 700; font-size: 15px; }
.panel-error { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; border: 1px solid transparent; font-size: 14px; line-height: 1.4; font-weight: 600; text-align: center; }
.panel-error[hidden] { display: none; }
#btn-retry-clip { width: 100%; margin-top: 10px; }
#btn-retry-clip[hidden] { display: none; }
.end-panel { padding: 24px 18px 18px; border-radius: 24px; text-align: center; border: 1px solid transparent; margin: auto auto 24px; }
.end-panel .panel-sub { margin: 6px 0 18px; }
.screen-talk.is-ended .dock, .screen-talk.is-ended #subtitle, .screen-talk.is-ended #caption, .screen-talk.is-ended #heard, .screen-talk.is-ended .type-form, .screen-talk.is-ended .mic-off { display: none !important; }
.credit-item a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; margin: -10px 0 -10px -6px; font-weight: 700; text-decoration: underline; }
.credit-item { overflow-wrap: anywhere; }
.story-credit { overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-actions-3 { display: grid; grid-template-columns: 1fr 1.25fr 1.35fr; gap: 8px; }
.row-actions-3.has-send { grid-template-columns: 1fr 1.25fr 1.35fr; }
.row-actions-3 .btn-act { min-width: 0; padding: 14px 6px; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-actions-3 .btn-act[hidden], .row-actions-3 #btn-download { display: none; }
#btn-send.is-busy, #btn-send.is-done { opacity: 1; }
#btn-send.is-busy { pointer-events: none; }
#btn-send.is-done { pointer-events: none; }
#btn-send .send-spin { display: inline-block; width: 12px; height: 12px; margin-right: 5px; vertical-align: -1px; border-radius: 50%; border: 2px solid transparent; box-sizing: border-box; }
@media (max-width: 380px) {
  .row-actions-3 .btn-act { font-size: 14px; padding: 13px 4px; }
}
@media (max-width: 340px) {
  .row-actions-3 .btn-act { font-size: 13px; padding: 12px 3px; }
}
.row-actions-3 { align-items: stretch; grid-template-columns: 0.9fr 1.3fr 1.3fr; }
.row-actions-3.has-send { grid-template-columns: 0.9fr 1.3fr 1.3fr; }
.row-actions-3 .btn-act { display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.15; min-height: 56px; padding-top: 8px; padding-bottom: 8px; }
@media (max-width: 340px) {
  .row-actions-3, .row-actions-3.has-send { grid-template-columns: 0.8fr 1.2fr 1.42fr; gap: 6px; }
  .row-actions-3 .btn-act { min-height: 52px; }
}
.row-actions-3 #btn-send { white-space: normal; text-overflow: clip; overflow-wrap: normal; word-break: keep-all; hyphens: none; }

/* ---------- ganchos do tema (estrutura neutra; o tema desenha) ---------- */
body { font-family: var(--qvc-font); background: var(--qvc-bg); color: var(--qvc-ink); }
.brand-sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-aside { position: relative; flex: none; }
.hero-aside:empty { display: none; }
.brand-cue { position: fixed; inset: 0; z-index: 95; pointer-events: none; overflow: hidden; visibility: hidden; }
.brand-cue[class*="cue-"] { visibility: visible; }
.orb > * { pointer-events: none; }
#btn-send .send-spin { display: inline-block; width: 12px; height: 12px; margin-right: 5px; vertical-align: -1px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; box-sizing: border-box; animation: qvc-spin 0.8s linear infinite; }
@keyframes qvc-spin { to { transform: rotate(360deg); } }
button:focus-visible, input:focus-visible { outline-color: var(--qvc-focus, currentColor); }
/* página de acesso (link expirado / abrir pelo WhatsApp) */
.gate { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 28px; text-align: center; }
.gate main { max-width: 360px; width: 100%; position: relative; z-index: 1; }
.gate .gate-logo { width: 132px; height: auto; margin: 0 auto 28px; display: block; }
.gate h1 { font-size: 26px; margin: 0 0 14px; }
.gate p { font-size: 16px; line-height: 1.5; margin: 0 0 22px; }
@media (prefers-reduced-motion: reduce) {
  .brand-cue { display: none !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  #btn-send .send-spin { animation-duration: 0.8s !important; animation-iteration-count: infinite !important; }
}

/* clipe pronto: controle próprio (sem a barra nativa por cima do logo do clipe) */
#video-panel .clip-play { appearance: none; -webkit-appearance: none; position: absolute; z-index: 3; width: 52px; height: 52px; margin: -26px 0 0 -26px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--qvc-primary); color: var(--qvc-on-primary); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32); transition: opacity 0.25s ease, transform 0.25s ease; }
#video-panel .clip-play svg { display: block; }
#video-panel .clip-play .ic-pause { display: none; }
#video-panel .clip-play.is-playing { opacity: 0; transform: scale(0.86); pointer-events: none; }
#video-panel .clip-play[hidden] { display: none; }
#clip { cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* faixas fixas centralizadas sem transform (a animação de entrada de cada marca usa transform e jogava a faixa para fora da tela) */
.offline-banner { left: 20px; right: 20px; margin: 0 auto; transform: none; width: fit-content; max-width: calc(100% - 40px); text-align: center; }
.reconnect-bar { max-width: calc(100% - 24px); }
.reconnect-bar #reconnect-text { flex: 1 1 auto; min-width: 0; white-space: normal; line-height: 1.25; }
.reconnect-bar .btn-resume { flex: none; }
@media (max-width: 380px) { .reconnect-bar { font-size: 13px; gap: 8px; padding-left: 12px; } .reconnect-bar .btn-resume { padding: 8px 12px; font-size: 13px; } }
/* folha ou créditos abertos ficam acima da passagem da marca (a vinheta de transição passava por cima do seletor de ano) */
body:has(.sheet.is-open) .brand-cue, body:has(.credits-modal:not(.hidden)) .brand-cue { visibility: hidden !important; }

/* ===== tema: company/theme/skin.css ===== */
/* =====================================================================
   CTG BRASIL · pele "água que vira luz"
   Azuis oficiais do tema de ctgbr.com.br: #0E4780 (azul escuro), #1175BB (azul médio), #3AB4E6 (azul claro);
   esfera do logo de #003A7B a #45BCF0; cinza #636466; amarelo #F99D1C só na luz do marco e nos destaques.
   Fonte: Outfit (SIL OFL), substituta livre da CTG Sans (proprietária). A conversa acontece no céu claro
   sobre o reservatório; a história, dentro da água, com o rio correndo. Movimento e grafismos em motion.css.
   ===================================================================== */
:root {
  --qvc-font: "Outfit", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --qvc-bg: #F4F9FD;
  --qvc-ink: #13283F;
  --qvc-primary: #0E4780;
  --qvc-on-primary: #FFFFFF;
  --qvc-accent: #1175BB;
  --qvc-focus: #1175BB;
  --qvc-photo-fill: rgba(4, 29, 61, 0.55);
  --ctg-ice: #F4F9FD; --ctg-ice-2: #E7F2FB; --ctg-mist: #D3E8F6; --ctg-card: #FFFFFF;
  --ctg-navy: #0E4780; --ctg-blue: #1175BB; --ctg-sky: #3AB4E6; --ctg-sphere-a: #45BCF0; --ctg-sphere-b: #003A7B;
  --ctg-deep: #062B57; --ctg-abyss: #031C3B;
  --ctg-sun: #F99D1C; --ctg-sun-l: #FFC766; --ctg-leaf: #71BF44; --ctg-gray: #636466;
  --ctg-ink: #13283F; --ctg-ink-2: rgba(19, 40, 63, 0.78); --ctg-line: rgba(14, 71, 128, 0.15);
  --ctg-ease: cubic-bezier(0.25, 0.9, 0.3, 1);
  --ctg-flow: cubic-bezier(0.22, 1, 0.36, 1);
}
.gate { background: var(--ctg-ice); color: var(--ctg-navy); }
.gate h1 { font-weight: 700; letter-spacing: -0.01em; }
.gate b { color: var(--ctg-blue); }

/* ---------- fundo: céu claro que desce até a água ---------- */
body { background: var(--ctg-ice); color: var(--ctg-ink); }
#app { background: var(--ctg-ice); }
.screen { background: linear-gradient(180deg, #FFFFFF 0%, var(--ctg-ice) 46%, var(--ctg-ice-2) 100%); color: var(--ctg-ink); }
@media (min-width: 860px) {
  #app { background: radial-gradient(900px 600px at 50% 0%, #FFFFFF 0%, rgba(255, 255, 255, 0) 70%), var(--ctg-mist); }
  .screen { box-shadow: 0 0 0 1px var(--ctg-line), 0 40px 90px rgba(6, 43, 87, 0.2); }
}

/* ---------- abertura ---------- */
.logo-start { height: 36px; width: auto; }
.logo-seguros { display: none; }
.brand-kicker { color: var(--ctg-blue); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; font-size: 11px; }
h1.display { color: var(--ctg-navy); letter-spacing: -0.03em; }
.display-light { color: var(--ctg-navy); font-weight: 300; }
.display-bold { position: relative; display: inline-block; color: var(--ctg-navy); font-weight: 700; }
.display-bold::after {
  content: ""; position: absolute; left: 0.02em; right: 0.02em; bottom: -0.2em; height: 0.2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10'%3E%3Cpath d='M0 5 Q5 0 10 5 T20 5 T30 5 T40 5' fill='none' stroke='%233AB4E6' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") 0 50% / 0.8em 100% repeat-x;
}
.lead { color: var(--ctg-ink); font-weight: 400; }
.lead strong { color: var(--ctg-navy); font-weight: 700; }
.fine { color: var(--ctg-navy); background: rgba(255, 255, 255, 0.78); border: 1px solid var(--ctg-line); }
.start-note { color: var(--ctg-navy); }
.ctg-anniv {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; padding: 6px 11px 7px; white-space: nowrap;
  border-radius: 999px; background: rgba(255, 255, 255, 0.85); box-shadow: 0 0 0 1.5px rgba(17, 117, 187, 0.35) inset;
  color: var(--ctg-navy); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.ctg-anniv-dot { width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--ctg-sphere-a), var(--ctg-sphere-b)); box-shadow: 0 0 0 2px rgba(58, 180, 230, 0.25); }

/* ---------- botões ---------- */
.btn-primary, #btn-start, .row-actions-3 #btn-send {
  background: linear-gradient(180deg, #1A5A9C 0%, var(--ctg-navy) 100%); color: #FFFFFF;
  border: 0; border-radius: 999px; font-weight: 600; letter-spacing: 0.01em;
  box-shadow: 0 12px 26px rgba(14, 71, 128, 0.26);
}
.btn-primary:hover, #btn-start:hover { background: var(--ctg-blue); }
.btn-secondary, .row-actions-3 #btn-save, .row-actions-3 #btn-share {
  background: transparent; color: var(--ctg-navy);
  box-shadow: 0 0 0 1.5px rgba(14, 71, 128, 0.55) inset;
  border-radius: 999px; font-weight: 600;
}
.btn-secondary:active { background: rgba(17, 117, 187, 0.07); }
.btn-text { background: none; color: var(--ctg-navy); text-decoration-color: rgba(58, 180, 230, 0.85); text-decoration-thickness: 1.5px; font-weight: 600; }
#btn-start { min-height: 54px; padding: 0 24px; display: inline-flex; align-items: center; gap: 10px; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid var(--qvc-focus); outline-offset: 3px; }

/* ---------- conversa ---------- */
.talk-kicker { color: var(--ctg-ink-2); font-weight: 500; }
.logo-kicker { height: 24px; width: auto; }
.btn-score-mute, button.btn-score-mute:disabled, .btn-end, button.btn-end:disabled {
  background: rgba(255, 255, 255, 0.84); color: var(--ctg-navy); -webkit-text-fill-color: var(--ctg-navy);
  box-shadow: 0 0 0 1px rgba(14, 71, 128, 0.2) inset, 0 6px 16px rgba(14, 71, 128, 0.1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-score-mute.is-muted { color: var(--ctg-blue); -webkit-text-fill-color: var(--ctg-blue); background: rgba(255, 255, 255, 0.6); }
button.btn-end:disabled { opacity: 0.5; filter: none; }
.status { color: var(--ctg-blue); font-weight: 600; letter-spacing: 0.01em; }
.subtitle {
  color: var(--ctg-ink); background: rgba(255, 255, 255, 0.9); border: 1px solid var(--ctg-line);
  box-shadow: 0 14px 30px rgba(14, 71, 128, 0.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); text-shadow: none;
}
.heard-chip { color: #FFFFFF; background: var(--ctg-navy); border-color: transparent; border-radius: 999px; }
.name-confirm { color: var(--ctg-ink); background: rgba(255, 255, 255, 0.95); border: 1px solid var(--ctg-line); border-radius: 22px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.name-confirm strong { color: var(--ctg-blue); }
.btn-mic {
  background: radial-gradient(circle at 36% 30%, #2C8FD6 0%, var(--ctg-navy) 70%); color: #FFFFFF;
  box-shadow: 0 14px 30px rgba(14, 71, 128, 0.3), 0 0 0 7px rgba(58, 180, 230, 0.12);
}
.btn-mic:disabled { filter: grayscale(0.2); opacity: 0.6; }
.btn-mic.hot { background: radial-gradient(circle at 36% 30%, #6FD0F5 0%, var(--ctg-blue) 70%); color: #FFFFFF; }
.btn-mic.is-muted { background: rgba(14, 71, 128, 0.12); color: var(--ctg-navy); }
.screen-talk.el-live .btn-mic:not(.is-muted)::before { border-color: rgba(58, 180, 230, 0.6); }
.dock.is-listening .btn-mic::after { border-color: rgba(17, 117, 187, 0.9); }
.mic-hint { color: var(--ctg-ink-2); text-shadow: none; }
.screen-talk.el-live .dock #btn-type, .btn-year-quick {
  color: var(--ctg-navy); background: rgba(255, 255, 255, 0.86); box-shadow: 0 0 0 1.5px rgba(14, 71, 128, 0.32) inset;
  border-radius: 999px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.type-form { background: rgba(255, 255, 255, 0.95); border-color: var(--ctg-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.type-form input { background: #FFFFFF; color: var(--ctg-ink); border: 1px solid rgba(14, 71, 128, 0.28); border-radius: 14px; }
.type-form input::placeholder { color: rgba(19, 40, 63, 0.5); }
.type-q { color: var(--ctg-navy); text-shadow: none; }
.reconnect-bar { color: var(--ctg-navy); background: rgba(255, 255, 255, 0.97); border-color: var(--ctg-line); box-shadow: 0 12px 30px rgba(14, 71, 128, 0.16); }
.btn-resume { background: var(--ctg-navy); color: #FFFFFF; }
.offline-banner { background: #FFF3DF; color: #6B3E00; border-color: rgba(249, 157, 28, 0.5); }
.screen-talk.mic-locked.story-on .mic-off { color: #FFFFFF; background: rgba(3, 28, 59, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.caption { color: var(--ctg-ink-2); }

/* ---------- painéis ---------- */
.consent-panel, .photo-panel, .end-panel {
  color: var(--ctg-ink); background: rgba(255, 255, 255, 0.95); border: 1px solid var(--ctg-line); border-radius: 24px;
  box-shadow: 0 18px 40px rgba(14, 71, 128, 0.14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.panel-title { color: var(--ctg-navy); font-weight: 700; letter-spacing: -0.01em; }
.panel-sub { color: var(--ctg-ink-2); }
.panel-error { background: rgba(239, 64, 35, 0.07); border-color: rgba(239, 64, 35, 0.4); color: #9A2410; }
.screen-talk.has-panel .subtitle, .screen-talk.is-rendering .subtitle, .screen-talk.is-clip .subtitle, .screen-talk.is-clip #subtitle { background: rgba(255, 255, 255, 0.72); box-shadow: none; }

/* ---------- história: dentro da água ---------- */
.story-stage { background: var(--ctg-abyss); color: #FFFFFF; }
.story-sky { background: radial-gradient(80% 40% at 50% 104%, rgba(249, 157, 28, 0.22) 0%, rgba(249, 157, 28, 0) 70%), radial-gradient(90% 55% at 50% -6%, rgba(69, 188, 240, 0.4) 0%, rgba(69, 188, 240, 0) 70%), linear-gradient(180deg, #0B4A86 0%, var(--ctg-deep) 48%, var(--ctg-abyss) 100%); }
.story-veil { background: linear-gradient(180deg, rgba(3, 28, 59, 0.55) 0%, rgba(3, 28, 59, 0) 22%, rgba(3, 28, 59, 0.06) 44%, rgba(2, 20, 43, 0.92) 100%); }
.story-eyebrow, .story-scene-kicker {
  display: inline-block; color: var(--ctg-abyss); background: var(--ctg-sun-l); padding: 6px 13px 7px; border-radius: 999px;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
}
.story-year-flip { color: #FFFFFF; font-weight: 700; letter-spacing: -0.04em; text-shadow: 0 10px 40px rgba(2, 16, 36, 0.5); }
.story-rewind-cap { color: rgba(255, 255, 255, 0.92); font-weight: 400; }
.story-art-year { color: transparent; -webkit-text-stroke: 1.2px rgba(69, 188, 240, 0.25); font-weight: 700; }
.story-copy h2 { color: #FFFFFF; font-weight: 700; letter-spacing: -0.015em; text-shadow: 0 2px 18px rgba(2, 16, 36, 0.6); }
.story-copy #story-line { color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 10px rgba(2, 16, 36, 0.65); }
.story-credit { color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 3px rgba(2, 16, 36, 0.9), 0 0 12px rgba(2, 16, 36, 0.6); }
.story-dot { background: rgba(255, 255, 255, 0.3); border-radius: 999px; }
.story-dot.is-on { background: var(--ctg-sky); width: 18px; transform: none; }
.story-tap-hint { color: rgba(255, 255, 255, 0.86); }
.story-tap { background: transparent; }
.story-brand { content: url("/company/logo-ctg-negativo.png"); filter: drop-shadow(0 8px 24px rgba(2, 16, 36, 0.45)); }
.story-photo.is-contain { border-radius: 14px; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.95), 0 22px 50px rgba(0, 0, 0, 0.45); }
.btn-year-fix { color: #FFFFFF; background: rgba(3, 28, 59, 0.55); box-shadow: 0 0 0 1px rgba(69, 188, 240, 0.5) inset; border-radius: 999px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-year-fix span { color: var(--ctg-sun-l); }
.screen-talk.story-on.story-subs > .subtitle { color: #FFFFFF; background: rgba(3, 28, 59, 0.66); border-color: rgba(69, 188, 240, 0.2); }

/* ---------- clipe montando ---------- */
#render-canvas, #render-canvas.previewing, .screen-talk.is-rendering #render-canvas:not(.previewing) {
  background: var(--ctg-ice); border-color: transparent;
  box-shadow: 0 0 0 1px var(--ctg-line), 0 22px 50px rgba(14, 71, 128, 0.22);
}
.render-steps { color: var(--ctg-ink-2); }
.render-steps li { color: var(--ctg-ink-2); background: rgba(255, 255, 255, 0.72); box-shadow: 0 0 0 1px var(--ctg-line) inset; }
.render-steps li.is-done { color: var(--ctg-navy); background: #FFFFFF; box-shadow: 0 0 0 1px rgba(14, 71, 128, 0.3) inset; }
.render-steps li.is-on { color: #FFFFFF; background: var(--ctg-navy); box-shadow: none; }
.progress { background: rgba(14, 71, 128, 0.1); border-radius: 999px; }
.progress-bar { background: linear-gradient(90deg, var(--ctg-navy), var(--ctg-blue) 60%, var(--ctg-sky)); border-radius: 999px; }

/* ---------- clipe pronto: Salvar · Enviar no WhatsApp · Compartilhar ---------- */
#video-panel { background: transparent; border: 0; box-shadow: none; padding: 0; }
#clip, .screen-talk.is-clip #clip { background: var(--ctg-ice); border-radius: 22px; box-shadow: 0 0 0 1px var(--ctg-line), 0 24px 54px rgba(14, 71, 128, 0.24); }
#video-panel .clip-play { background: radial-gradient(circle at 36% 30%, #2C8FD6 0%, var(--ctg-navy) 70%); color: #FFFFFF; box-shadow: 0 0 0 6px rgba(58, 180, 230, 0.3), 0 14px 34px rgba(3, 28, 59, 0.35); }
.pride-tag { color: var(--ctg-navy); font-weight: 600; }
.row-actions-3 .btn-act { font-weight: 700; }
.row-actions-3 #btn-send { background: linear-gradient(180deg, #1A5A9C 0%, var(--ctg-navy) 100%); color: #FFFFFF; }
.row-actions-3 #btn-save, .row-actions-3.has-send #btn-save, .row-actions-3 #btn-share {
  background: #FFFFFF; color: var(--ctg-navy); box-shadow: 0 0 0 1.5px rgba(14, 71, 128, 0.5) inset;
}
#btn-send.is-done { background: var(--ctg-sun-l); color: var(--ctg-abyss); }
#btn-send .send-spin { border-color: currentColor; border-right-color: transparent; }
.clip-note { color: var(--ctg-navy); }
.clip-note.is-error { color: #9A2410; font-weight: 700; }
.end-links .btn-text { color: var(--ctg-navy); }
.inapp-note { color: var(--ctg-ink); background: rgba(255, 255, 255, 0.95); border-color: var(--ctg-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.inapp-sub { color: var(--ctg-ink-2); }
.btn-inapp { background: var(--ctg-navy); color: #FFFFFF; }
.btn-inapp + .btn-inapp, #btn-copy-link { background: #FFFFFF; color: var(--ctg-navy); box-shadow: 0 0 0 1.5px rgba(14, 71, 128, 0.5) inset; }

/* ---------- folhas (encerrar, ano, microfone, salvar) e créditos: uma onda azul no topo ---------- */
.sheet { background: rgba(3, 28, 59, 0); }
.sheet.is-open { background: rgba(3, 28, 59, 0.45); }
.sheet-card, .credits-sheet {
  position: relative; color: var(--ctg-ink);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--ctg-ice) 100%);
  box-shadow: 0 -16px 44px rgba(3, 28, 59, 0.24);
}
.sheet-card::before, .credits-sheet::before {
  content: ""; position: absolute; left: 50%; top: 10px; width: 52px; height: 6px; margin-left: -26px; border-radius: 6px;
  background: linear-gradient(90deg, var(--ctg-navy), var(--ctg-sky));
}
.sheet-title { color: var(--ctg-navy); font-weight: 700; }
.sheet-sub { color: var(--ctg-ink-2); }
.mic-steps { color: var(--ctg-ink); }
.sheet-card .btn-primary { background: var(--ctg-navy); color: #FFFFFF; }
.sheet-card .btn-secondary { background: transparent; color: var(--ctg-navy); box-shadow: 0 0 0 1.5px rgba(14, 71, 128, 0.5) inset; }
.sheet-card .btn-text, #save-sheet .btn-text { color: var(--ctg-navy); text-decoration-color: rgba(58, 180, 230, 0.8); }
.year-decade { background: rgba(14, 71, 128, 0.07); color: var(--ctg-navy); box-shadow: none; }
.year-decade.is-on { background: var(--ctg-navy); color: #FFFFFF; }
.year-pick { background: #FFFFFF; color: var(--ctg-navy); box-shadow: 0 0 0 1px var(--ctg-line) inset; }
.year-pick.is-current { background: var(--ctg-sun-l); color: var(--ctg-abyss); box-shadow: 0 0 0 1.5px var(--ctg-sun) inset; font-weight: 700; }
.year-pick.ctg-plant { background: var(--ctg-ice-2); color: var(--ctg-navy); }
.year-pick.ctg-plant.is-current { background: var(--ctg-sun-l); color: var(--ctg-abyss); }
.ctg-year-note { margin: 4px 2px 10px; color: var(--ctg-ink-2); font-size: 13px; line-height: 1.35; text-align: center; }
.ctg-year-note b { color: var(--ctg-navy); font-weight: 700; }
.credits-modal { background: rgba(3, 28, 59, 0.45); }
.credits-head h2 { color: var(--ctg-navy); font-weight: 700; }
.credits-lead { color: var(--ctg-ink-2); }
.credits-sheet .btn-text { color: var(--ctg-navy); }
.credit-item { border-top-color: var(--ctg-line); }
.credit-item a { color: #0B5FA0; }

@media (max-width: 340px) { .logo-start { height: 30px; } h1.display { font-size: 40px; } }

/* seletor de ano: 2010 e 2020 primeiro; antes de 2013 é tempo de usina (company/theme/flow.js) */
.year-decades { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
.ctg-decade-sep { flex-basis: 100%; text-align: center; margin-top: 2px; color: var(--ctg-ink-2); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.year-decade.ctg-decade-early { background: rgba(58, 180, 230, 0.1); }
.year-decade.ctg-decade-early.is-on { background: var(--ctg-blue); color: #FFFFFF; }

/* ===== tema: company/theme/motion.css ===== */
/* CTG Brasil · movimento "água que vira luz"
   Tudo flui como água (cubic-bezier 0.22, 1, 0.36, 1): sobe como o nível de um reservatório e escorre de lado como um rio.
   As transições são uma onda azul que sobe e passa pela tela, com a esfera oficial no meio dela; no clipe pronto,
   a esfera acende uma luz amarela quente, a do marco. */
@keyframes ctg-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ctg-grow { from { opacity: 0; transform: scale(0.93); } to { opacity: 1; transform: none; } }
@keyframes ctg-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes ctg-flow { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ctg-underline { from { background-position: 0 50%; } to { background-position: -0.8em 50%; } }
@keyframes ctg-line-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ctg-ripple { 0% { transform: scale(0.88); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.12); opacity: 0; } }
@keyframes ctg-ripple-in { 0% { transform: scale(1.14); opacity: 0; } 40% { opacity: 1; } 100% { transform: scale(0.92); opacity: 0; } }
@keyframes ctg-breathe { 0%, 100% { opacity: 0.35; transform: scale(0.94); } 50% { opacity: 0.75; transform: scale(1.05); } }
@keyframes ctg-level { 0%, 100% { transform: translateY(var(--lvl, 56%)); } 50% { transform: translateY(calc(var(--lvl, 56%) - 5%)); } }
@keyframes ctg-level-talk { 0%, 100% { transform: translateY(38%); } 35% { transform: translateY(26%); } 70% { transform: translateY(33%); } }
@keyframes ctg-swirl { to { transform: rotate(360deg); } }
@keyframes ctg-spark { 0%, 100% { opacity: 0; transform: scale(0.6); } 50% { opacity: 1; transform: scale(1); } }
@keyframes ctg-river { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -400; } }
@keyframes ctg-float { 0% { transform: translateY(0) scale(var(--z, 1)); opacity: 0; } 15% { opacity: 0.9; } 85% { opacity: 0.6; } 100% { transform: translateY(-62vh) scale(var(--z, 1)); opacity: 0; } }
@keyframes ctg-caustic { 0%, 100% { opacity: 0.35; background-position: 0 0, 0 0; } 50% { opacity: 0.6; background-position: 40px -30px, -30px 20px; } }
@keyframes ctg-btn-ring { 0% { box-shadow: 0 12px 26px rgba(14, 71, 128, 0.26), 0 0 0 0 rgba(58, 180, 230, 0.45); } 70%, 100% { box-shadow: 0 12px 26px rgba(14, 71, 128, 0.26), 0 0 0 13px rgba(58, 180, 230, 0); } }
@keyframes ctg-clip { from { opacity: 0; transform: translateY(22px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes ctg-cue-water { 0% { transform: translateY(100%); } 44%, 56% { transform: translateY(0); } 100% { transform: translateY(-115%); } }
@keyframes ctg-cue-mark { 0%, 24% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } 74% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -62%) scale(0.96); } }
@keyframes ctg-cue-sun { 0%, 30% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); } 58% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); } }
@keyframes ctg-bar { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.15); } }

/* ---------- grafismos das telas ---------- */
.brand-sky { pointer-events: none; }
.ctg-start-art { position: absolute; left: 0; right: 0; bottom: 0; height: 52%; overflow: hidden; }
.ctg-start-hero {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 50%, rgba(0, 0, 0, 0.55) 72%, transparent 100%);
  mask-image: linear-gradient(to top, #000 0%, #000 50%, rgba(0, 0, 0, 0.55) 72%, transparent 100%);
  animation: ctg-rise 1.4s var(--ctg-flow) 0.15s both;
}
.ctg-start-wave { position: absolute; left: 0; bottom: -2px; width: 100%; height: 26px; fill: rgba(244, 249, 253, 0.6); }
@media (max-height: 700px) { .ctg-start-art { height: 40%; } .ctg-anniv { display: none; } }

/* conversa: ondas leves em volta da esfera e o reservatório embaixo */
.ctg-talk-ripples {
  position: absolute; left: 50%; top: 14%; width: 600px; height: 600px; margin-left: -300px; margin-top: -156px;
  fill: none; stroke: var(--ctg-sky); stroke-width: 1.2; opacity: 0.35;
}
.ctg-talk-ripples circle { transform-origin: 300px 300px; transform-box: view-box; animation: ctg-breathe 6s ease-in-out calc(var(--i) * 0.5s) infinite; }
.ctg-talk-ripples circle:nth-child(odd) { stroke: var(--ctg-blue); stroke-width: 0.9; }
.ctg-reservoir { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; overflow: hidden; }
.ctg-wave { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; animation: ctg-flow 18s linear infinite; }
.ctg-wave-back { fill: rgba(58, 180, 230, 0.13); animation-duration: 26s; }
.ctg-wave-front { fill: rgba(17, 117, 187, 0.12); bottom: -10px; }
.screen-talk.is-clip .brand-sky, .screen-talk.is-rendering .brand-sky { opacity: 0.35; transition: opacity 0.6s ease; }

/* história: o rio corre dentro da água, a luz sobe como faísca de energia */
.ctg-river { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(69, 188, 240, 0.22); stroke-width: 1.4; }
.ctg-river path { stroke-dasharray: 120 280; animation: ctg-river 9s linear calc(var(--i) * -1.3s) infinite; }
.ctg-river path:nth-child(3n) { stroke: rgba(255, 255, 255, 0.14); stroke-dasharray: 60 340; animation-duration: 6s; }
.ctg-sparks { position: absolute; inset: 0; overflow: hidden; }
.ctg-sparks i {
  position: absolute; bottom: -10px; width: 5px; height: 5px; border-radius: 50%;
  background: radial-gradient(circle, #FFE3B0 0%, var(--ctg-sun) 55%, rgba(249, 157, 28, 0) 75%);
  animation: ctg-float var(--s, 10s) linear var(--d, 0s) infinite;
}
.ctg-caustic {
  position: absolute; inset: 0;
  background: radial-gradient(120px 60px at 20% 18%, rgba(69, 188, 240, 0.16), transparent 70%), radial-gradient(160px 70px at 78% 30%, rgba(69, 188, 240, 0.12), transparent 70%);
  animation: ctg-caustic 9s ease-in-out infinite;
}

/* ---------- entradas ---------- */
.screen:not(.hidden) { animation: ctg-up 0.7s var(--ctg-ease) both; }
.hero-brand .logo-lockup { animation: ctg-grow 0.9s var(--ctg-flow) both; }
.hero-aside { animation: ctg-up 0.7s var(--ctg-ease) 0.3s both; }
.display-light { animation: ctg-up 0.7s var(--ctg-ease) both; }
.display-bold { animation: ctg-up 0.7s var(--ctg-ease) 0.08s both; }
.display-bold::after { animation: ctg-line-in 0.9s var(--ctg-flow) 0.7s both, ctg-underline 2.4s linear 1.6s infinite; }
.start-copy > :nth-child(2) { animation: ctg-up 0.7s var(--ctg-ease) 0.16s both; }
.start-copy > :nth-child(3) { animation: ctg-grow 0.8s var(--ctg-flow) 0.26s both; }
.start-copy > :nth-child(n+4) { animation: ctg-up 0.7s var(--ctg-ease) 0.32s both; }
#btn-start { position: relative; }
#btn-start:active { transform: scale(0.98); }
#btn-start { animation: ctg-grow 0.8s var(--ctg-flow) 0.26s both, ctg-btn-ring 2.8s ease-out 1.4s infinite; }

/* ---------- orbe: a esfera azul que enche como um reservatório ---------- */
.orb { position: relative; width: 156px; height: 156px; }
.ctg-orb-halo {
  position: absolute; inset: -6%; border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 188, 240, 0.5) 0%, rgba(69, 188, 240, 0.18) 42%, rgba(69, 188, 240, 0) 70%);
  opacity: 0.5;
}
.ctg-orb-ripples { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--ctg-sky); stroke-width: 1.4; overflow: visible; }
.ctg-orb-ripples circle { transform-origin: 80px 80px; transform-box: view-box; opacity: 0; }
.ctg-orb-sphere {
  position: absolute; inset: 16%; border-radius: 50%; overflow: hidden; isolation: isolate;
  background: radial-gradient(circle at 32% 26%, #45BCF0 0%, #2D90C8 14%, #196AA7 26%, #0B508E 38%, #003A7B 54%, #00468F 82%, #005EAA 100%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 0 0 4.5px rgba(17, 117, 187, 0.35), 0 16px 30px rgba(14, 71, 128, 0.32);
}
.ctg-orb-water { position: absolute; left: 0; right: 0; top: 0; height: 100%; transform: translateY(var(--lvl, 56%)); animation: ctg-level 5s ease-in-out infinite; }
.ctg-orb-wave { position: absolute; left: 0; top: -14px; width: 200%; height: calc(100% + 14px); animation: ctg-flow 4.5s linear infinite; }
.ctg-orb-wave-a { fill: rgba(69, 188, 240, 0.55); }
.ctg-orb-wave-b { fill: rgba(255, 255, 255, 0.22); animation-duration: 7s; animation-direction: reverse; }
.ctg-orb-gloss {
  position: absolute; left: 18%; top: 10%; width: 42%; height: 26%; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 70%);
}
.ctg-orb-spark {
  position: absolute; left: 50%; top: 50%; width: 22%; height: 22%; margin: -11% 0 0 -11%; border-radius: 50%;
  background: radial-gradient(circle, #FFF3D6 0%, var(--ctg-sun-l) 35%, rgba(249, 157, 28, 0) 72%); opacity: 0;
}

.orb.idle .ctg-orb-halo { animation: ctg-breathe 4.4s ease-in-out infinite; }

.orb.speaking .ctg-orb-water { animation: ctg-level-talk 1.1s ease-in-out infinite; }
.orb.speaking .ctg-orb-wave { animation-duration: 1.6s; }
.orb.speaking .ctg-orb-wave-b { animation-duration: 2.4s; }
.orb.speaking .ctg-orb-halo { animation: ctg-breathe 1s ease-in-out infinite; opacity: 0.9; }
.orb.speaking .ctg-orb-spark { animation: ctg-spark 1.1s ease-in-out infinite; }
.orb.speaking .ctg-orb-ripples circle { animation: ctg-ripple 1.4s var(--ctg-flow) calc(var(--i) * 0.28s) infinite; }

.orb.listening .ctg-orb-ripples circle { stroke: var(--ctg-blue); animation: ctg-ripple-in 1.5s var(--ctg-ease) calc((2 - var(--i)) * 0.25s) infinite; }
.orb.listening .ctg-orb-sphere { box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 6px rgba(58, 180, 230, 0.6), 0 16px 30px rgba(14, 71, 128, 0.32); }
.orb.listening .ctg-orb-halo { opacity: 0.25; }
.orb.listening .ctg-orb-water { --lvl: 50%; }

.orb.thinking .ctg-orb-water { animation: none; transform: translateY(46%); }
.orb.thinking .ctg-orb-wave { animation-duration: 1.2s; }
.orb.thinking .ctg-orb-gloss { animation: ctg-swirl 3s linear infinite; transform-origin: 80% 160%; }
.orb.thinking .ctg-orb-halo { animation: ctg-breathe 2s ease-in-out infinite; }

@media (max-height: 640px) { .orb { width: 124px; height: 124px; } }
@media (prefers-reduced-motion: reduce) { .ctg-wave, .ctg-orb-wave, .ctg-river path, .ctg-sparks i { animation: none !important; } }

/* ---------- conversa ---------- */
.subtitle.is-new { animation: ctg-up 0.45s var(--ctg-ease) both; }
.panel:not(.hidden), .name-confirm:not(.hidden) { animation: ctg-grow 0.55s var(--ctg-flow) both; }
.heard-chip.is-on { animation: ctg-up 0.35s var(--ctg-ease) both; }
.btn-mic { transition: transform 0.2s var(--ctg-ease), background 0.2s var(--ctg-ease); }
.btn-mic:active { transform: scale(0.96); }
.btn-year-quick, .btn-year-fix { transition: transform 0.2s var(--ctg-ease); }
.sheet .sheet-card { animation: ctg-up 0.45s var(--ctg-flow) both; }

/* ---------- história ---------- */
.story-photo { transform-origin: 50% 60%; }
.story-photo.is-on { animation: ctg-grow 0.8s var(--ctg-flow) both; }
.story-copy.is-in > * { animation: ctg-up 0.5s var(--ctg-ease) both; }
.story-copy.is-in > :nth-child(2) { animation-delay: 0.08s; }
.story-brand { animation: ctg-grow 0.6s var(--ctg-flow) both; }

/* ---------- carregamento e clipe pronto ---------- */
.progress-bar { position: relative; overflow: visible !important; animation: ctg-bar 1.6s ease-in-out infinite; transition: width 0.5s var(--ctg-ease); }
.progress-bar::after {
  content: ""; position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #45BCF0 0%, #0E4780 75%);
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 10px rgba(249, 157, 28, 0.75);
}
#video-panel:not(.hidden) #clip { animation: ctg-clip 0.85s var(--ctg-flow) both; }
#video-panel:not(.hidden) .btn-act { animation: ctg-up 0.5s var(--ctg-ease) both; }
#video-panel:not(.hidden) .btn-act:nth-child(1) { animation-delay: 0.4s; }
#video-panel:not(.hidden) .btn-act:nth-child(2) { animation-delay: 0.5s; }
#video-panel:not(.hidden) .btn-act:nth-child(3) { animation-delay: 0.6s; }

/* ---------- transições: a água sobe, a esfera aparece no meio dela e a onda segue para cima ---------- */
.brand-cue { pointer-events: none; }
.ctg-cue { position: absolute; inset: 0; overflow: hidden; }
.ctg-cue-water {
  position: absolute; left: 0; right: 0; top: 0; height: 100%;
  background: linear-gradient(180deg, #1175BB 0%, #0E4780 55%, #062B57 100%);
  transform: translateY(100%);
}
.ctg-cue-crest { position: absolute; left: 0; top: -38px; width: 100%; height: 40px; fill: #1175BB; }
.ctg-cue-crest-2 { top: -46px; fill: rgba(58, 180, 230, 0.55); }
.ctg-cue-foot { position: absolute; left: 0; bottom: -38px; width: 100%; height: 40px; fill: #062B57; transform: scaleY(-1); }
.ctg-cue-sun {
  position: absolute; left: 50%; top: 50%; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 243, 214, 0.95) 0%, rgba(249, 157, 28, 0.5) 34%, rgba(249, 157, 28, 0) 70%);
  opacity: 0; transform: translate(-50%, -50%);
}
.ctg-cue-mark { position: absolute; left: 50%; top: 50%; width: 112px; height: auto; opacity: 0; transform: translate(-50%, -50%); filter: drop-shadow(0 10px 26px rgba(2, 16, 36, 0.45)); border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85); }

.brand-cue[class*="cue-"] .ctg-cue-water { animation: ctg-cue-water 1.05s cubic-bezier(0.65, 0, 0.35, 1) both; }
.brand-cue[class*="cue-"] .ctg-cue-mark { animation: ctg-cue-mark 1.05s var(--ctg-flow) both; }
.brand-cue.cue-clip .ctg-cue-sun, .brand-cue.cue-render .ctg-cue-sun { animation: ctg-cue-sun 1.1s var(--ctg-flow) 0.05s both; }
.brand-cue.cue-restart .ctg-cue-water, .brand-cue.cue-restart .ctg-cue-mark { animation-duration: 0.85s; }

