:root {
  color-scheme: dark;
  --bg: #200931; --text: #faf7f0; --muted: #d1c3dc; --lime: #ede76b;
  --line: #ffffff26; --panel: #ffffff07;
  --header: 92px; --footer: 80px; --rail: 62px;
  --space: clamp(22px, 2.5vw, 48px);
  --content-text: clamp(19px, 1.55vw, 28px);
  --support-text: clamp(16px, 1.15vw, 21px);
  --content-heading: clamp(24px, 2vw, 38px);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 95% 5%, #48215480, transparent 65%), var(--bg); color: var(--text); height: 100dvh; overflow: hidden; }
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
button:disabled { opacity: .3; cursor: default; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 5px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 20px; transform: translateY(-180%); padding: 12px 20px; background: var(--lime); color: var(--bg); border-radius: 8px; }
.skip-link:focus { transform: none; }
.header { position: fixed; z-index: 3; top: 0; width: 100%; height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--space); border-bottom: 1px solid var(--line); background: #200931c9; }
.brand { display: flex; flex-direction: column; gap: 7px; }
.brand strong { font-size: clamp(13px, 1.1vw, 20px); font-weight: 600; letter-spacing: -.025em; }
.brand span { font-size: 12px; color: var(--muted); letter-spacing: .025em; }
.counter { color: var(--lime); font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: .06em; }
#conteudo { position: fixed; inset: var(--header) var(--rail) var(--footer) 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
#slide { min-height: 100%; display: flex; }
.slide { width: 100%; min-height: 100%; padding: clamp(28px, 3.2vh, 44px) clamp(28px, 4.1vw, 80px); display: flex; flex-direction: column; animation: enter .25s ease-out both; }
@keyframes enter { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow { color: var(--lime); font-size: 12px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; line-height: 1.6; margin-bottom: 30px; }
.eyebrow span { white-space: nowrap; }
.slide-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 2.5vh, 32px); min-width: 0; }
h1, h2, p, figure { margin: 0; }
h1 { font-size: clamp(36px, 4.1vw, 74px); font-weight: 500; line-height: 1.1; letter-spacing: -.052em; max-width: 1450px; text-wrap: balance; }
h1 em { font-style: normal; color: var(--lime); }
h2 { font-size: var(--content-heading); line-height: 1.2; font-weight: 500; letter-spacing: -.025em; }
p { line-height: 1.5; }
.subtitle { color: var(--muted); font-size: var(--content-text); max-width: 980px; text-wrap: pretty; }
.slide-body > h1 + .subtitle { margin-top: -10px; }
.button { border: 1px solid transparent; border-radius: 100px; padding: 12px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 14px; min-height: 44px; font-weight: 500; text-decoration: none; transition: background .15s, border-color .15s; }
.primary { background: var(--lime); color: var(--bg); }
.primary:hover:not(:disabled) { background: #fff99a; }
.secondary, .icon { border-color: var(--line); background: transparent; color: var(--text); }
.secondary:hover:not(:disabled), .icon:hover { border-color: var(--lime); background: var(--panel); }
.icon { padding: 10px; width: 44px; flex-shrink: 0; font-size: 20px; }
#notes-toggle { font-size: 14px; }
.rail { position: fixed; top: var(--header); right: 0; bottom: var(--footer); width: var(--rail); border-left: 1px solid var(--line); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding: 14px 8px; display: flex; flex-direction: column; gap: 5px; }
.rail a { display: grid; place-items: center; min-height: 36px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); text-decoration: none; }
.rail a:hover { background: var(--panel); }
.rail a[aria-current] { color: var(--lime); border-color: var(--lime); background: #ede76b0b; }
.footer { position: fixed; z-index: 4; bottom: 0; left: 0; right: 0; height: var(--footer); border-top: 1px solid var(--line); background: #200931; padding: 16px var(--space); display: flex; align-items: center; gap: 16px; }
.progress { height: 2px; flex: 1; background: var(--line); min-width: 40px; }
.progress span { display: block; height: 100%; background: var(--lime); transition: width .25s ease; }
select { background: var(--bg); color: var(--muted); border: 1px solid var(--line); border-radius: 100px; padding: 12px 32px 12px 18px; width: clamp(160px, 26vw, 430px); font-size: 12px; text-overflow: ellipsis; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 6vw; align-items: center; }
.type-hero h1 { font-size: clamp(48px, 5.05vw, 90px); max-width: 1180px; }
.hero-layout .subtitle { margin-top: 24px; max-width: 850px; }
.speaker { margin: 32px 0; display: flex; align-items: center; gap: 16px; }
.speaker-mark { display: flex; align-items: center; justify-content: center; gap: 8px; width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 50%; font-size: 16px; }
.speaker-mark span { color: var(--lime); }
.speaker > div { display: flex; flex-direction: column; gap: 6px; }
.speaker strong { font-weight: 500; font-size: 20px; }
.speaker div span { font-size: 13px; color: var(--muted); }
.start { font-size: 15px; padding: 16px 24px; }
.keyboard-hint { font-size: 11px; color: var(--muted); margin-top: 22px; }
.hero-aside { border-left: 1px solid var(--line); padding-left: 28px; }
.hero-aside > p { font-size: 50px; font-weight: 400; color: var(--lime); letter-spacing: -.05em; }
.hero-aside > p span { font-size: 20px; color: var(--muted); }
.aside-line { display: block; width: 40px; height: 1px; background: var(--lime); margin: 36px 0 20px; }
.media { position: relative; background: var(--panel); border: 1px dashed #ffffff40; border-radius: 12px; min-width: 0; overflow: hidden; }
.media:has(img:not([hidden])) { border-style: solid; }
.media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.placeholder { width: 100%; min-height: 180px; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; padding: 24px; color: var(--muted); text-align: center; font-size: 13px; }
.placeholder-mark { color: var(--lime); font-size: 30px; font-weight: 400; }
.placeholder code { overflow-wrap: anywhere; max-width: 100%; font: 12px/1.5 ui-monospace, Consolas, monospace; }
.qr-media { width: 210px; aspect-ratio: 1; }
.qr-media img { padding: 10px; background: white; }
.qr .placeholder { min-height: 0; padding: 18px; }
figcaption { color: var(--muted); font-size: var(--support-text); line-height: 1.4; margin-top: 14px; }
.qr figcaption { font-size: 13px; }
.section-number { font-size: clamp(120px, 21vw, 360px); font-weight: 400; line-height: .9; letter-spacing: -.09em; color: var(--lime); }
.divider-layout { display: grid; grid-template-columns: .65fr 1.35fr; align-items: center; gap: 6vw; }
.divider-layout h1 { font-size: clamp(48px, 5.2vw, 90px); }
.divider-layout .subtitle { margin-top: 28px; }
.statement-layout { max-width: 1400px; margin: auto; text-align: center; }
.statement-layout h1 { font-size: clamp(44px, 5.2vw, 90px); line-height: 1.16; }
.long-title .statement-layout h1 { font-size: clamp(38px, 4.35vw, 78px); }
.quote-mark { display: block; font-size: 100px; height: 90px; line-height: 1; color: var(--lime); }
.statement-layout .subtitle { margin: 30px auto 0; }
.statement-line { display: block; width: 64px; height: 2px; background: var(--lime); margin: 40px auto 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 40px; }
.cards.count-2, .cards.count-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { border-top: 1px solid var(--line); padding-top: 20px; }
.number { color: var(--lime); font-size: 13px; font-weight: 500; display: block; letter-spacing: .1em; margin-bottom: 18px; }
.card h2 { font-size: clamp(24px, 1.8vw, 34px); }
.card p { color: var(--muted); font-size: var(--content-text); margin-top: 14px; }
.callout { background: var(--panel); border-left: 3px solid var(--lime); padding: 20px 26px; font-size: var(--content-text); line-height: 1.45; }
.credit { color: var(--muted); font-size: 12px; }
.portrait-layout { display: grid; grid-template-columns: minmax(200px, .6fr) 1.4fr; gap: 40px; align-items: stretch; }
.portrait { min-height: 340px; }
.portrait img { object-fit: cover; }
.portrait-layout .cards { grid-template-columns: 1fr; gap: 16px; }
.portrait-layout .card { padding-top: 14px; }
.portrait-layout .number { margin-bottom: 8px; }
.portrait-layout .card p { margin-top: 6px; }
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; margin-top: 14px; }
.compare-column { border-top: 1px solid var(--line); padding-top: 24px; }
.compare-column:last-child { border-color: var(--lime); }
.compare-column:last-child h2 { color: var(--lime); }
.item-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 16px; font-size: var(--content-text); color: var(--muted); }
.item-list li { padding-left: 22px; position: relative; }
.item-list li::before { content: '—'; position: absolute; left: 0; color: var(--lime); }
.photo { height: clamp(240px, 43vh, 550px); }
.image-figure { width: 100%; }
.type-image-reveal .slide-body, .type-video .slide-body { gap: 20px; }
.type-image-reveal h1, .type-video h1 { font-size: clamp(36px, 3.6vw, 64px); }
.video-wrap { width: 100%; height: clamp(240px, 48vh, 570px); border: 1px dashed var(--line); border-radius: 12px; overflow: hidden; background: #160821; }
.video-wrap video { width: 100%; height: 100%; }
.badge-row { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: var(--support-text); flex-wrap: wrap; }
.badge { display: inline-flex; border: 1px solid var(--lime); border-radius: 100px; color: var(--lime); font-size: 11px; font-weight: 600; letter-spacing: .13em; padding: 8px 14px; text-transform: uppercase; }
.type-interaction h1 { max-width: 1350px; }
.type-interaction .cards { margin-top: 8px; }
.slido-layout { display: grid; grid-template-columns: 1fr 260px; gap: 5vw; align-items: center; }
.slido-layout h1 { font-size: clamp(38px, 4.3vw, 76px); }
.slido-aside { border-left: 1px solid var(--line); padding-left: 32px; }
.event-code { margin-top: 24px; display: flex; flex-direction: column; gap: 6px; }
.event-code span { font-size: 12px; color: var(--muted); }
.event-code strong { font-weight: 500; font-size: 18px; color: var(--lime); overflow-wrap: anywhere; }
.poll-options { list-style: upper-alpha; margin: 30px 0 0; padding-left: 30px; font-size: var(--content-text); color: var(--muted); }
.poll-options li { padding-left: 12px; margin: 14px 0; }
.poll-options li::marker { font-size: 13px; color: var(--lime); }
.poll-result { margin-top: 24px; }
.poll-result .media { height: 155px; }
.poll-result .placeholder { min-height: 0; padding: 10px; gap: 5px; }
.poll-result figcaption { font-size: 12px; }
.type-prompt-case h1, .type-steps h1 { font-size: clamp(34px, 3.8vw, 66px); }
.objective { color: var(--muted); font-size: var(--support-text); }
.objective > span { color: var(--lime); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-right: 14px; }
.terminal { background: #13081e80; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.terminal-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px; border-bottom: 1px solid var(--line); }
.terminal-bar > span { color: var(--lime); font: 20px monospace; }
.copy { font-size: 12px; min-height: 36px; padding: 8px 16px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font: clamp(18px, 1.45vw, 26px)/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; padding: 24px 28px; margin: 0; }
.review { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; color: var(--muted); font-size: var(--support-text); }
.review > span { color: var(--lime); }
.reveal-area { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.reveal-area .callout { width: 100%; }
kbd { color: var(--lime); font: 11px inherit; border: 1px solid var(--line); border-radius: 4px; padding: 2px 5px; }
.small-label { display: block; color: var(--lime); text-transform: uppercase; font-size: 10px; letter-spacing: .13em; margin-bottom: 6px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps h2 { font-size: 24px; margin-bottom: 16px; display: flex; gap: 12px; align-items: baseline; }
.steps .number { margin: 0; }
.steps pre { font-size: clamp(16px, 1.1vw, 21px); padding: 20px; }
.steps .terminal-bar { padding: 10px 16px; }
.checklist { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 50px; }
.checklist li { display: flex; align-items: baseline; gap: 22px; border-bottom: 1px solid var(--line); padding: 24px 0; font-size: var(--content-text); line-height: 1.4; }
.checklist li span { color: var(--lime); }
.closing-layout { display: grid; grid-template-columns: 1fr auto; gap: 6vw; align-items: center; }
.type-closing h1 { font-size: clamp(70px, 9vw, 170px); }
.closing-layout .subtitle { margin-top: 24px; }
.closing-speaker { font-size: 28px; margin-top: 40px; }
.contact { color: var(--muted); font-size: var(--content-text); margin-top: 16px; }
.closing-qrs { display: flex; flex-direction: column; gap: 28px; }
.closing-qrs .qr-media { width: 180px; }
.notes-panel { position: fixed; z-index: 10; bottom: calc(var(--footer) + 16px); right: calc(var(--rail) + 20px); width: min(560px, calc(100vw - 40px)); max-height: 60dvh; overflow-y: auto; background: #2c123d; border: 1px solid var(--lime); box-shadow: 0 20px 80px #0008; border-radius: 16px; padding: 24px; }
.notes-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.notes-header h2 { font-size: 22px; }
#notes-meta { color: var(--lime); font-size: 13px; margin: 16px 0; }
#notes-text { font-size: 18px; white-space: pre-line; }
.notes-shortcuts { color: var(--muted); font-size: 12px; margin-top: 24px; }
.copy-buffer { position: fixed; top: 0; left: -9999px; }
@media (max-width: 1000px) {
  .hero-layout { grid-template-columns: 1fr 200px; gap: 32px; }
  .hero-aside { padding-left: 20px; }
  .qr-media { width: 170px; }
  .cards { gap: 24px; }
  .slido-layout { grid-template-columns: 1fr 210px; gap: 30px; }
  .slido-aside { padding-left: 24px; }
  .steps { gap: 14px; }
  .steps pre { padding: 16px; }
  .footer { gap: 10px; }
  .progress { min-width: 20px; }
  .button { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 700px) {
  :root { --header: 90px; --footer: 114px; --rail: 42px; }
  .header { padding: 12px 18px; gap: 14px; }
  .brand strong { font-size: 12px; line-height: 1.4; }
  .brand span { font-size: 10px; line-height: 1.4; }
  .counter { font-size: 12px; }
  .rail { padding: 10px 4px; }
  .rail a { font-size: 10px; min-height: 34px; }
  .slide { padding: 24px 22px 36px; }
  .eyebrow { font-size: 9px; letter-spacing: .12em; margin-bottom: 32px; }
  .slide-body { gap: 24px; }
  h1, .slido-layout h1, .type-prompt-case h1, .type-steps h1 { font-size: 36px; }
  .hero-layout, .slido-layout, .divider-layout, .closing-layout, .portrait-layout { grid-template-columns: 1fr; gap: 34px; }
  .type-hero h1 { font-size: 44px; }
  .hero-aside, .slido-aside { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  .hero-aside { display: flex; gap: 24px; align-items: flex-end; }
  .hero-aside > p, .aside-line { display: none; }
  .hero-layout .subtitle { margin-top: 20px; }
  .speaker { margin: 28px 0; }
  .speaker-mark { width: 50px; height: 50px; flex-shrink: 0; }
  .speaker strong { font-size: 17px; }
  .keyboard-hint { font-size: 11px; }
  .start { font-size: 12px; width: 100%; }
  .qr-media { width: 180px; }
  .section-number { font-size: 130px; }
  .divider-layout h1 { font-size: 46px; }
  .statement-layout h1, .long-title .statement-layout h1 { font-size: 38px; }
  .quote-mark { font-size: 80px; height: 70px; }
  .cards, .cards.count-2, .cards.count-4, .comparison, .steps, .checklist { grid-template-columns: 1fr; }
  .card h2 { font-size: 25px; }
  .card p { font-size: 19px; }
  .number { margin-bottom: 12px; }
  .callout { padding: 18px; font-size: 19px; }
  .portrait { min-height: 260px; height: 300px; }
  .photo { height: 300px; }
  .video-wrap { height: 220px; }
  .badge-row { font-size: 15px; gap: 12px; }
  .poll-options { font-size: 19px; }
  .poll-result { max-width: 280px; }
  .poll-result .media { height: 180px; }
  .terminal-bar { padding: 12px 16px; }
  pre { font-size: 17px; padding: 20px; }
  .steps pre { font-size: 17px; }
  .checklist li { padding: 20px 0; font-size: 20px; gap: 14px; }
  .type-closing h1 { font-size: 62px; }
  .closing-qrs { gap: 28px; }
  .footer { display: grid; grid-template-columns: 1fr 1fr 44px 44px; grid-template-rows: 34px 44px; padding: 12px 16px; gap: 10px; }
  .footer select { grid-column: 1 / -1; grid-row: 1; width: 100%; padding: 8px 14px; height: 34px; }
  .footer .progress { position: absolute; top: -1px; left: 0; width: 100%; }
  #previous { grid-column: 1; grid-row: 2; }
  #next { grid-column: 2; grid-row: 2; }
  #fullscreen { grid-column: 3; grid-row: 2; }
  #notes-toggle { grid-column: 4; grid-row: 2; }
  .footer .button { font-size: 12px; padding: 8px; gap: 5px; }
  .footer .icon { font-size: 19px; }
  .notes-panel { right: 16px; max-height: 65dvh; padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Pares extraídos do PowerPoint: atual à esquerda, histórico à direita. */
.image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: min(100%, 1100px); margin-inline: auto; }
.image-pair .photo { background: transparent; border: 0; border-radius: 0; }
@media (max-width: 700px) {
  .image-pair { gap: 6px; }
  .image-pair .photo { height: 260px; }
}

/* Ícones locais Lucide: a cor acompanha o destaque do tema. */
.card-heading { display: flex; align-items: center; gap: 18px; }
.card-icon { display: inline-block; flex: 0 0 48px; width: 48px; height: 48px; object-fit: contain; filter: invert(92%) sepia(54%) saturate(565%) hue-rotate(2deg) brightness(99%) contrast(88%); }
@media (max-width: 700px) { .card-icon { flex-basis: 36px; width: 36px; height: 36px; } }

/* Apresentação do palestrante, conforme a referência LIGA. */
.type-about-speaker .slide-body { justify-content: flex-start; }
.about-speaker-layout { flex: 1; display: grid; grid-template-columns: minmax(250px, 350px) minmax(0, 1fr); align-items: center; gap: clamp(36px, 5vw, 96px); padding-block: 24px; }
.about-speaker-person { text-align: center; }
.about-speaker-photo { width: min(100%, 340px); aspect-ratio: 1; border: 3px solid var(--lime) !important; border-radius: 50%; margin-inline: auto; }
.about-speaker-photo img { object-fit: cover; object-position: center 35%; }
.about-speaker-person figcaption { color: var(--text); font-size: clamp(26px, 2.3vw, 42px); font-weight: 600; letter-spacing: -.035em; margin-top: 26px; }
.about-speaker-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.about-speaker-logo { height: clamp(130px, 16.7vh, 180px); background: #fff; border: 0; border-radius: 14px; padding: 28px; }
.about-speaker-logo img { object-fit: contain; }
.about-speaker-logo .placeholder { min-height: 0; padding: 0; color: var(--bg); }
@media (max-width: 1100px) and (min-width: 701px) {
  .about-speaker-layout { grid-template-columns: 220px 1fr; gap: 32px; }
  .about-speaker-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .about-speaker-logo { padding: 20px; }
}
@media (max-width: 700px) {
  .about-speaker-layout { grid-template-columns: 1fr; gap: 32px; padding-block: 8px; }
  .about-speaker-photo { width: 230px; }
  .about-speaker-person figcaption { margin-top: 18px; font-size: 30px; }
  .about-speaker-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .about-speaker-logo { height: 110px; padding: 18px; border-radius: 10px; }
}

.checklist-icon { width: 30px; height: 30px; flex: 0 0 30px; object-fit: contain; filter: invert(92%) sepia(54%) saturate(565%) hue-rotate(2deg) brightness(99%) contrast(88%); vertical-align: middle; }
