/* Página de demonstração (demonstracao.html): topo no degradê menta padrão (como a home e Soluções) com o vídeo, e formulário em passos. */

/* ---------- Topo + player ---------- */
.dm-hero { position: relative; overflow: hidden; margin-top: -84px; padding: 164px 0 120px; color: var(--scal-dark-green);
  background: radial-gradient(110% 95% at 85% 5%, #F4FBF3 0%, #CEEDD4 38%, #8EF0A8 74%, #00E76A 100%); }
.dm-hero::before { content: ""; position: absolute; width: 620px; aspect-ratio: 1; border-radius: 50%; right: -160px; top: -120px; background: rgba(255,255,255,0.45); pointer-events: none; }
.dm-hero::after { content: ""; position: absolute; width: 200px; aspect-ratio: 1; left: -60px; bottom: -40px; background: url("logos/simbolo_darkgreen.svg") center / contain no-repeat; transform: rotate(90deg); opacity: .08; pointer-events: none; }
.dm-hero .container { position: relative; z-index: 1; }
.dm-hero-txt { text-align: center; display: flex; flex-direction: column; align-items: center; }
.dm-hero .eyebrow { color: var(--scal-green-mid, #007535) !important; }
.dm-hero h1 { font-size: clamp(40px, 2.6vw + 26px, 76px); line-height: 1.02; letter-spacing: -0.03em; margin: 16px 0 0; color: var(--scal-dark-green) !important; }
.dm-hero h1 em { color: var(--scal-dark-green) !important; }
.dm-lead { font-size: 18px; line-height: 1.55; max-width: 58ch; margin: 22px 0 0; color: rgba(0,43,31,0.82); }

.dm-player { position: relative; aspect-ratio: 16 / 9; max-width: 880px; margin: 48px auto 0; border-radius: 28px; overflow: hidden; background: #001A12; box-shadow: 0 50px 100px -40px rgba(0,43,31,0.55), 0 0 0 1px rgba(0,43,31,0.08); isolation: isolate; }
.dm-fundo { position: absolute; inset: -40px; z-index: -1; }
.dm-fundo img { width: 100%; height: 100%; object-fit: cover; filter: blur(36px) saturate(1.2) brightness(.55); transform: scale(1.1); }
.dm-tela { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); aspect-ratio: 9 / 16; background: #000; box-shadow: 0 0 80px rgba(0,0,0,0.45); }
.dm-tela img, .dm-tela video, .dm-tela iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.dm-player.horizontal .dm-tela { left: 0; right: 0; transform: none; aspect-ratio: auto; }
.dm-player.horizontal .dm-tela::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,26,18,0.55) 0%, rgba(0,26,18,0) 40%); pointer-events: none; }
.dm-player.tocando .dm-tela::after { display: none; }
.dm-player.horizontal .dm-fundo { display: none; }
.dm-play { position: absolute; left: 28px; bottom: 28px; z-index: 2; display: inline-flex; align-items: center; gap: 16px; padding: 10px 26px 10px 10px; border: 0; border-radius: 999px; background: rgba(0,26,18,0.55); color: var(--scal-bone); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(245,244,239,0.22); cursor: pointer; text-align: left; transition: transform 300ms var(--ease-out), background 300ms; }
.dm-play:hover { transform: scale(1.04); background: rgba(0,26,18,0.7); }
.dm-play:focus-visible { outline: 3px solid var(--scal-lime); outline-offset: 4px; }
.dm-play-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--scal-lime); color: var(--scal-dark-green); flex-shrink: 0; }
.dm-play-ic svg { width: 26px; height: 26px; margin-left: 3px; }
.dm-play-txt strong { display: block; font-size: 16px; font-weight: 600; }
.dm-play-txt small { display: block; font-size: 13px; opacity: .8; margin-top: 2px; }
.dm-selos { position: absolute; right: 24px; bottom: 34px; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; }
.dm-selos span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(0,26,18,0.5); color: var(--scal-bone); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(245,244,239,0.16); }
.dm-selos svg { width: 14px; height: 14px; color: var(--scal-lime); }
.dm-player.tocando .dm-play, .dm-player.tocando .dm-selos { opacity: 0; pointer-events: none; }
@media (max-width: 720px) {
  .dm-hero { padding: 132px 0 80px; }
  .dm-lead { font-size: 16px; }
  .dm-player { border-radius: 20px; margin-top: 32px; }
  .dm-play { padding: 8px; gap: 0; left: 16px; bottom: 16px; }
  .dm-play-txt, .dm-selos { display: none; }
  .dm-play-ic { width: 56px; height: 56px; }
}

/* ---------- O que você vê + formulário ---------- */
.dm-agendar { padding: 104px 0; scroll-margin-top: 72px; }
.dm-agendar-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 64px; align-items: start; }
@media (max-width: 980px) { .dm-agendar-in { grid-template-columns: minmax(0, 1fr); gap: 40px; } .dm-agendar { padding: 72px 0; } }
.dm-info h2 { font-size: clamp(30px, 1.4vw + 20px, 46px); line-height: 1.06; letter-spacing: -0.02em; margin: 14px 0 0; max-width: 16ch; color: var(--scal-dark-green); }
.dm-info h2 em { color: var(--scal-green-mid) !important; }
.dm-info-lead { font-size: 17px; line-height: 1.55; color: var(--scal-graphite); margin: 18px 0 0; max-width: 46ch; }
.dm-lista { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.dm-lista li { display: flex; gap: 16px; align-items: flex-start; }
.dm-lista strong { display: block; font-size: 16px; font-weight: 600; color: var(--scal-dark-green); }
.dm-lista p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--scal-graphite); }
.dm-ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--scal-dark-green); color: var(--scal-lime); }
.dm-ic svg { width: 20px; height: 20px; }
.dm-prova { display: flex; align-items: center; gap: 14px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.dm-prova p { margin: 0; font-size: 14.5px; color: var(--scal-graphite); }
.dm-prova strong { color: var(--scal-dark-green); }
.dm-rostos { display: flex; flex-shrink: 0; }
.dm-rostos img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 3px solid var(--scal-bone); margin-left: -9px; }
.dm-rostos img:first-child { margin-left: 0; }
.dm-form-col { position: sticky; top: 96px; scroll-margin-top: 96px; }
@media (max-width: 980px) { .dm-form-col { position: static; } }

/* cartão do formulário */
.lead { background: var(--scal-white); border: 1px solid var(--border); border-radius: 24px; padding: 28px; box-shadow: 0 40px 80px -50px rgba(0,43,31,0.5); }
.lead-topo { margin-bottom: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.lead-kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--scal-dark-green); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.lead-kicker .ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--scal-lime); box-shadow: 0 0 0 4px rgba(0,239,87,0.18); }
.passo { min-height: 190px; animation: passoIn 360ms var(--ease-out); }
@keyframes passoIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.q { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; margin: 0; color: var(--scal-dark-green); }
.dica { font-size: 14.5px; color: var(--scal-graphite); margin: 8px 0 0; }
/* campo no padrão TextInput do @scal/ui */
.campo { display: block; width: 100%; height: 48px; margin-top: 20px; font: inherit; font-size: 16px; padding: 8px 16px; border-radius: 8px; border: 1px solid var(--ui-grey-30); background: #fff; color: var(--ui-ink); outline: none; transition: border-color 200ms; }
.campo::placeholder { color: var(--ui-grey-80); }
.campo:hover { border-color: var(--ui-neon-3); }
.campo:focus { border-color: var(--ui-grey-80); }
.opts { display: grid; gap: 10px; margin-top: 20px; }
.opts.duas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 420px) { .opts.duas { grid-template-columns: minmax(0, 1fr); } }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border-radius: 8px; border: 1px solid var(--ui-grey-30); background: var(--scal-white); font: inherit; font-size: 15px; font-weight: 500; color: var(--scal-charcoal); text-align: left; cursor: pointer; transition: border-color var(--dur-base), background var(--dur-base), box-shadow var(--dur-base); }
.opt:hover { border-color: var(--ui-neon-3); }
.opt.sel { border-color: var(--ui-neon); background: var(--ui-green-10); }
/* marcador no padrão Checkbox do @scal/ui */
.opt-marca { width: 20px; height: 20px; flex-shrink: 0; border-radius: 4px; border: 1px solid var(--ui-neon); background: #fff; display: grid; place-items: center; color: var(--ui-green-70); transition: background 300ms; }
.opt.sel .opt-marca { background: var(--ui-neon); }
.opt-marca svg { width: 13px; height: 13px; }
.opt-ic { width: 20px; height: 20px; color: var(--ui-green-50); flex-shrink: 0; }
.tamanho { margin-top: 20px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; padding: 4px; border-radius: 8px; border: 1px solid var(--ui-grey-30); }
.stepper button { width: 40px; height: 40px; border: 0; border-radius: 8px; background: var(--ui-grey-20); font-size: 20px; color: var(--scal-dark-green); cursor: pointer; }
.stepper button:hover { background: var(--ui-green-10); }
.stepper span { min-width: 44px; text-align: center; font-size: 18px; font-weight: 600; color: var(--scal-dark-green); font-variant-numeric: tabular-nums; }
.erro { min-height: 20px; margin: 12px 0 0 4px; font-size: 13px; font-weight: 500; color: var(--ui-red-50); }
.lead-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.voltar { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 500; color: var(--scal-graphite); cursor: pointer; padding: 8px 4px; }
.voltar:hover { color: var(--scal-dark-green); }
.voltar svg { width: 16px; height: 16px; }
.lead-lgpd { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--scal-ash); }
.lead-lgpd svg { width: 14px; height: 14px; flex-shrink: 0; }
.lead-lgpd a { color: var(--scal-green-mid); text-decoration: underline; text-underline-offset: 2px; }
.ok { text-align: center; padding: 20px 4px 8px; display: flex; flex-direction: column; align-items: center; }
.ok-selo { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--ui-neon); color: var(--scal-dark-green); margin-bottom: 18px; box-shadow: 0 0 0 10px rgba(0,239,87,0.16); }
.ok-selo svg { width: 34px; height: 34px; }
.ok h3 { font-size: 28px; margin: 0; color: var(--scal-dark-green); }
.ok p { font-size: 15.5px; line-height: 1.55; color: var(--scal-graphite); margin: 12px 0 24px; max-width: 38ch; }
