/* DoseCerta — pitch de 3 minutos. Reaproveita tokens e componentes de site.css;
   cada cena é desenhada num quadro fixo de 1920×1080, escalado para a tela. */

html, body.pitch { height: 100%; overflow: hidden; scroll-behavior: auto; }
body.pitch { background: #000b1f; }

.deck { position: fixed; inset: 0; overflow: hidden; background: radial-gradient(80% 80% at 50% 40%, #0a2350, #000b1f); }
.frame { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; transform: translate(-50%, -50%) scale(var(--s, .5)); transform-origin: center; overflow: hidden; border-radius: calc(12px / var(--s, .5)); box-shadow: 0 40px 120px #0008; }
.is-full .frame { border-radius: 0; }

.slide { position: absolute; inset: 0; padding: 96px 120px; visibility: hidden; opacity: 0; transition: opacity .6s var(--ease), visibility 0s .6s; overflow: hidden; }
.slide.is-active { visibility: visible; opacity: 1; transition: opacity .6s var(--ease); }
.slide--light { background: radial-gradient(60% 70% at 85% 10%, #ff66001a, transparent 60%), radial-gradient(60% 80% at 0% 0%, #0033991a, transparent 60%), linear-gradient(180deg, #f8fafc, #eef4ff); }
.slide--tint { background: radial-gradient(50% 60% at 100% 100%, #ff660014, transparent 60%), linear-gradient(180deg, #eef4ff, #f8fafc); }
.slide--dark { background: radial-gradient(120% 80% at 80% 0%, #0b3a9e 0%, var(--navy-2) 40%, var(--navy) 100%); color: #e6edfb; }
.slide--dark::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#ffffff16 1.5px, transparent 1.5px); background-size: 40px 40px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.slide--closing { background: radial-gradient(90% 120% at 30% 0%, #0b47c4 0%, var(--blue) 40%, var(--navy) 100%); color: #fff; }
.slide--cover { background: radial-gradient(70% 80% at 90% 60%, #dfe8fb, transparent 70%), linear-gradient(180deg, #f8fafc, #eef4ff); }

.kicker { display: inline-flex; align-items: center; gap: 14px; font-size: 26px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.kicker::before { content: ""; width: 40px; height: 4px; border-radius: 4px; background: currentColor; }
.kicker--light { color: var(--orange-400); }
.title { margin-top: 22px; font-size: 92px; line-height: 1.02; letter-spacing: -.045em; font-weight: 880; color: var(--blue); }
.title--light { color: #fff; }
.t-accent { color: var(--orange); }
.slide--dark .t-accent, .slide--closing .t-accent { color: var(--orange-400); }
.t-brand b { color: var(--blue); font-weight: inherit; } .t-brand i { color: var(--orange); font-style: normal; }
.foot-note { position: absolute; left: 120px; right: 120px; bottom: 56px; font-size: 22px; color: var(--ink-3); }
.foot-note--light { color: #9fb3dc; }

/* entrada escalonada dos elementos de cada cena */
.slide .a1, .slide .a2, .slide .a3, .slide .a4 { opacity: 0; transform: translateY(40px); }
.slide.is-active .a1, .slide.is-active .a2, .slide.is-active .a3, .slide.is-active .a4 { animation: rise .9s var(--ease) forwards; }
.slide.is-active .a1 { animation-delay: .5s; } .slide.is-active .a2 { animation-delay: 1.4s; } .slide.is-active .a3 { animation-delay: 2.3s; } .slide.is-active .a4 { animation-delay: 3.4s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* capa */
.cover { position: relative; z-index: 1; max-width: 1000px; display: flex; flex-direction: column; justify-content: center; height: 100%; }
.cover__logo { width: 760px; height: auto; margin-left: -20px; }
.cover__title { font-size: 40px; line-height: 1.25; font-weight: 750; color: var(--blue); margin-top: 28px; letter-spacing: -.02em; }
.cover__meta { font-size: 26px; color: var(--ink-2); margin-top: 22px; font-weight: 600; }
.cover__meta--soft { color: var(--amber); font-size: 22px; }
.cover__team { font-size: 24px; color: var(--ink-2); margin-top: 10px; }
.cover__device { position: absolute; right: 40px; top: 50%; width: 820px; translate: 0 -50%; }
.cover__hint { position: absolute; left: 120px; bottom: 56px; font-size: 22px; color: var(--ink-3); }
kbd { display: inline-block; min-width: 1.6em; padding: .05em .45em; border-radius: 6px; border: 1px solid #00339933; background: #fff; font: inherit; font-weight: 700; color: var(--blue); text-align: center; }

/* cena 1 */
.s1 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 90px; }
.s1__col { display: flex; flex-direction: column; gap: 18px; padding: 36px; border-radius: 36px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 330px; }
.s1__col time { font-size: 72px; font-weight: 880; letter-spacing: -.04em; color: var(--blue); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.s1 .med { font-size: 26px; padding: 14px 22px; align-self: flex-start; }
.s1 .med::before { width: 32px; height: 16px; border-radius: 8px; }
.s1__foot { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 56px; }
.s1__q { display: flex; gap: 16px; }
.s1__q span { font-size: 28px; font-weight: 700; color: var(--orange); background: var(--orange-50); padding: 16px 24px; border-radius: 24px 24px 24px 6px; }
.slide.is-active .s1__q span { animation: rise .7s var(--ease) both; }
.slide.is-active .s1__q span:nth-child(1) { animation-delay: 4.2s; } .slide.is-active .s1__q span:nth-child(2) { animation-delay: 5s; } .slide.is-active .s1__q span:nth-child(3) { animation-delay: 5.8s; }
.s1__roles { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; }
.s1__roles li { display: inline-flex; align-items: center; gap: 12px; font-size: 28px; font-weight: 700; color: var(--blue); background: #fff; border: 1px solid var(--line); padding: 14px 26px; border-radius: 999px; }
.s1__roles .ic { color: var(--orange); }

/* cena 2 */
.slide--product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.slide--product .title { font-size: 80px; }
.s2__parts { list-style: none; padding: 0; margin: 60px 0 0; display: grid; gap: 18px; counter-reset: p; }
.s2__parts li { display: grid; gap: 4px; padding: 24px 30px 24px 92px; position: relative; border-radius: 28px; background: #fff; border: 2px solid transparent; box-shadow: var(--shadow-sm); transition: border-color .5s, box-shadow .5s, background .5s; counter-increment: p; }
.s2__parts li::before { content: counter(p); position: absolute; left: 26px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--blue-100); color: var(--blue); font-weight: 850; font-size: 24px; transition: background .5s, color .5s; }
.s2__parts b { font-size: 32px; color: var(--blue); }
.s2__parts span { font-size: 24px; color: var(--ink-2); }
.s2__parts li.is-on { border-color: var(--orange); box-shadow: var(--shadow); }
.s2__parts li.is-on::before { background: var(--orange); color: #fff; }
.s2__stage { position: relative; height: 900px; }
.stage--pitch { position: absolute; inset: 0; border-radius: 48px; background: radial-gradient(70% 60% at 50% 45%, #fff, #e6edf9 70%, #dbe5f6); border: 1px solid var(--line); }
.stage--pitch .stage__canvas { cursor: default; }

/* cena 3 */
.s3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; margin-top: 34px; padding: 0 40px; }
.s3__item { margin: 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; align-items: center; gap: 18px; }
/* zoom amplia o conteúdo da tela do app para leitura no projetor */
.phone--pitch { width: 268px; height: 470px; aspect-ratio: auto; zoom: 1.3; }
.phone--pitch .app-hero strong { font-size: 30px; }
.phone--pitch .phone__screen { padding: 52px 12px 14px; }
.phone--pitch .ring { width: 150px; }
.s3__item figcaption { font-size: 28px; font-weight: 750; color: var(--blue); }
.slide--tint .foot-note { left: auto; right: 120px; bottom: auto; top: 110px; max-width: 520px; text-align: right; }
.s3 .s3__item.a2 .ring__led.on { animation: blink 1.6s ease-in-out infinite; }

/* cena 4 */
.arch--pitch { margin-top: 110px; grid-template-columns: 1fr 120px 1fr 120px 1fr 120px 1fr; }
.arch--pitch .arch__node { padding: 36px 32px; min-height: 290px; border-radius: 32px; }
.arch--pitch .arch__ic { width: 76px; height: 76px; border-radius: 22px; font-size: 38px; }
.arch--pitch .arch__node strong { font-size: 36px; margin-top: 18px; }
.arch--pitch .arch__node small { font-size: 24px; }
.arch--pitch .arch__queue { font-size: 22px; padding: 8px 16px; border-radius: 12px; margin-top: 18px; }
.arch--pitch .arch__link { height: 4px; }
.arch--pitch .arch__link i, .arch--pitch .arch__link::after { width: 18px; height: 18px; margin-top: -9px; }
.arch--pitch .arch__cut { width: 60px; height: 60px; font-size: 30px; }
.s4__status { margin-top: 56px; font-size: 32px; font-weight: 600; color: #dbe5f8; min-height: 1.4em; }

/* cena 5 */
.s5 { display: grid; grid-template-columns: 520px 1fr 300px; gap: 40px; align-items: center; margin-top: 40px; }
.s5__stats { display: grid; gap: 22px; }
.s5__stat { display: flex; align-items: center; gap: 28px; padding: 26px 32px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.s5__stat b { font-size: 84px; line-height: 1; font-weight: 880; letter-spacing: -.05em; color: var(--blue); min-width: 190px; }
.s5__stat b.o { color: var(--orange); }
.s5__stat span { font-size: 24px; color: var(--ink-2); line-height: 1.35; }
.s5__chart { padding: 36px 40px; border-radius: 36px; }
.s5__chart .chart__head small { font-size: 20px; }
.s5__chart .chart__head strong { font-size: 32px; }
.s5 + .foot-note { bottom: 36px; }
.s5__chart .chart__plot { height: 320px; gap: 26px; padding-bottom: 40px; }
.s5__chart .bar i { width: 90px; border-radius: 18px 18px 6px 6px; }
.s5__chart .bar b { font-size: 26px; }
.s5__chart .bar em { font-size: 20px; bottom: -36px; }
.s5__chart .chart__mean { bottom: calc((var(--v) - var(--min)) / (var(--max) - var(--min)) * (100% - 40px) + 40px); border-top-width: 3px; }
.s5__chart .chart__mean span { font-size: 20px; top: -34px; }
.s5__chart figcaption { font-size: 20px; }
.slide.is-active .s5__chart .bar i { transform: scaleY(1); transition-delay: 1.8s; }
.slide.is-active .s5__chart .bar b, .slide.is-active .s5__chart .chart__mean { opacity: 1; transition-delay: 2.8s; }
.s5__disc { width: 300px; }
.slide:not(.is-active) .disc__rot { animation-play-state: paused; }

/* cena 6 */
.slide--closing { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; }
.slide--closing .title { font-size: 120px; line-height: .98; }
.s6__next { list-style: none; padding: 0; margin: 56px 0 0; display: grid; gap: 16px; }
.s6__next li { display: inline-flex; align-items: center; gap: 16px; font-size: 30px; font-weight: 650; color: #dbe5f8; }
.s6__next .ic { color: var(--orange-400); font-size: 34px; }
.s6__team { margin-top: 56px; font-size: 24px; color: #c8d6f2; }
.s6__tag { margin-top: 8px; font-size: 22px; color: #9fb3dc; }
.s6__device { width: 820px; justify-self: center; filter: drop-shadow(0 50px 60px #0008); animation: bob 7s ease-in-out infinite; }

/* anexos */
.slide--appendix { padding-top: 80px; }
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.qa article { padding: 34px 38px; border-radius: 32px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.qa h3 { font-size: 32px; line-height: 1.2; color: var(--blue); font-weight: 820; letter-spacing: -.02em; }
.qa p { font-size: 24px; line-height: 1.5; color: var(--ink-2); margin-top: 14px; }
.qa--wide { grid-column: 1 / -1; }

/* HUD */
.hud { position: fixed; left: 50%; bottom: 18px; translate: -50% 0; z-index: 10; display: flex; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 20px; background: #0b1730e6; border: 1px solid #ffffff1f; backdrop-filter: blur(14px); color: #e6edfb; box-shadow: 0 20px 50px #0007; transition: opacity .4s, translate .4s var(--ease); }
.hud.is-idle { opacity: 0; translate: -50% 20px; pointer-events: none; }
.hud__timer, .hud__nav, .hud__tools { display: flex; align-items: center; gap: 6px; }
.hud__timer { padding-right: 12px; border-right: 1px solid #ffffff1f; }
.hud__nav { padding-right: 12px; border-right: 1px solid #ffffff1f; }
.hud__btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #dbe5f8; font-size: 18px; transition: background .2s; }
.hud__btn:hover { background: #ffffff1a; }
.hud__btn[aria-pressed="true"] { background: #ff66002e; color: #ffb27f; }
.hud__btn--play { background: var(--orange); color: #fff; }
.hud__btn--play:hover { background: var(--orange-400); }
.hud__clock { display: flex; align-items: baseline; gap: 4px; min-width: 104px; padding-left: 6px; font-variant-numeric: tabular-nums; }
.hud__clock b { font-size: 22px; font-weight: 800; }
.hud__clock span { font-size: 13px; color: #9fb3dc; }
.hud__timer.is-warn .hud__clock b { color: #fbbf24; }
.hud__timer.is-over .hud__clock b { color: #f87171; }
.mini { position: fixed; top: 16px; right: 16px; z-index: 9; display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 2px 10px; padding: 8px 12px 9px; border-radius: 14px; background: #0b1730b3; backdrop-filter: blur(10px); border: 1px solid #ffffff1a; color: #e6edfb; font-variant-numeric: tabular-nums; opacity: 0; translate: 0 -8px; pointer-events: none; transition: opacity .4s, translate .4s var(--ease); }
.mini.is-on { opacity: .9; translate: 0 0; }
.mini b { font-size: 18px; font-weight: 800; }
.mini span { font-size: 11px; color: #9fb3dc; font-weight: 600; }
.mini i { grid-column: 1 / -1; display: block; height: 3px; border-radius: 3px; background: #ffffff1f; overflow: hidden; }
.mini em { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #8fb0f0, var(--orange)); }
.mini.is-warn b { color: #fbbf24; }
.mini.is-over b { color: #f87171; } .mini.is-over em { background: #f87171; }
.hud__scene { display: grid; gap: 5px; width: 200px; white-space: nowrap; font-size: 12px; color: #9fb3dc; font-weight: 600; }
.hud__bar { height: 4px; border-radius: 4px; background: #ffffff1f; overflow: hidden; }
.hud__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #8fb0f0, var(--orange)); }
.hud__bar i.is-over { background: #f87171; }
.hud__count { min-width: 56px; text-align: center; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.notes { position: fixed; left: 50%; bottom: 84px; translate: -50% 0; z-index: 9; width: min(980px, calc(100% - 32px)); max-height: 34vh; overflow: auto; padding: 22px 26px; border-radius: 20px; background: #0b1730f2; color: #e6edfb; border: 1px solid #ffffff1f; box-shadow: 0 20px 50px #0008; }
.notes h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #ffb27f; margin-bottom: 8px; }
.notes p { font-size: 19px; line-height: 1.55; }
.notes[hidden] { display: none; }
.help { position: fixed; top: 14px; left: 50%; translate: -50% 0; z-index: 9; margin: 0; padding: 8px 14px; border-radius: 12px; background: #0b1730cc; color: #9fb3dc; font-size: 13px; transition: opacity .6s; }
.help kbd { background: #ffffff14; color: #fff; border-color: #ffffff2e; font-size: 12px; }
.help.is-hidden { opacity: 0; pointer-events: none; }

/* janela do apresentador */
.presenter { position: fixed; inset: 0; display: grid; grid-template-rows: auto 1fr auto; gap: 24px; padding: 32px 40px; background: #06122a; color: #e6edfb; font-family: inherit; }
.presenter__top { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.presenter__clock { font-size: 72px; font-weight: 880; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.presenter__clock small { font-size: 28px; color: #9fb3dc; font-weight: 600; }
.presenter__scene { font-size: 22px; color: #9fb3dc; }
.presenter__scene b { display: block; color: #fff; font-size: 34px; }
.presenter__left { font-size: 22px; color: #ffb27f; font-weight: 700; margin-left: auto; text-align: right; }
.presenter__notes { overflow: auto; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.55; padding: 28px 32px; border-radius: 24px; background: #0b1c3f; border: 1px solid #ffffff14; }
.presenter__next { font-size: 20px; color: #9fb3dc; }
.presenter__next b { color: #fff; }
.presenter__ctrl { display: flex; gap: 10px; }
.presenter__ctrl button { padding: 12px 18px; border-radius: 14px; background: #ffffff14; color: #fff; font-weight: 700; font-size: 16px; }
.presenter__ctrl button.primary { background: var(--orange); }

@media (prefers-reduced-motion: reduce) {
  .slide .a1, .slide .a2, .slide .a3, .slide .a4 { opacity: 1; transform: none; }
}

/* impressão: um slide 16:9 por página, seguido das notas */
@media print {
  @page { size: 338.7mm 190.5mm; margin: 0; }
  html, body.pitch { height: auto; overflow: visible; background: #fff; }
  .deck { position: static; display: block; background: none; }
  .frame { transform: none !important; width: auto; height: auto; overflow: visible; border-radius: 0; box-shadow: none; }
  .slide { position: relative; visibility: visible !important; opacity: 1 !important; width: 1920px; height: 1080px; zoom: .6667; break-after: page; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .slide .a1, .slide .a2, .slide .a3, .slide .a4 { opacity: 1 !important; transform: none !important; animation: none !important; }
  .slide .chart .bar i { transform: none !important; } .slide .chart .bar b, .slide .chart__mean { opacity: 1 !important; }
  .stage__canvas { display: none !important; } .stage__poster { opacity: 1 !important; }
  .hud, .notes, .help, .cover__hint { display: none !important; }
  .print-notes { display: block !important; break-after: page; padding: 18mm 22mm; font-size: 14pt; line-height: 1.6; color: #1e293b; }
  .print-notes h3 { font-size: 11pt; letter-spacing: .08em; text-transform: uppercase; color: #ff6600; margin-bottom: 4mm; }
}
.print-notes { display: none; }
