@font-face { font-family: "Barlow Condensed"; src: url("fonts/BarlowCondensed-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/BarlowCondensed-ExtraBold.otf") format("opentype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/BarlowSemiCondensed-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/BarlowSemiCondensed-SemiBold.otf") format("opentype"); font-weight: 600; font-display: swap; }

:root {
  --fundo: #121212;
  --fundo-2: #1c1c1c;
  --texto: #f4f4f2;
  --texto-2: #a9aaa8;
  --cartao: #efefec;
  --cor: #1097af;
  --titulo: "Barlow Condensed", "Arial Narrow", sans-serif;
  --corpo: "Barlow Semi Condensed", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #000; color: var(--texto); font-family: var(--corpo); }
body.telao { overflow: hidden; height: 100vh; }
img { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- Telão: fixed 1920x1080 stage scaled to the screen ---------- */
.palco {
  position: absolute; left: 50%; top: 50%;
  width: 1920px; height: 1080px;
  transform-origin: center center;
  background: var(--fundo);
  overflow: hidden;
}
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.slide.ativo { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.slide::after { /* brand line at the bottom of every slide */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--cor);
}

.cab { position: absolute; left: 110px; top: 90px; right: 110px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.cab h2 { font-family: var(--titulo); font-weight: 800; font-size: 104px; line-height: .95; letter-spacing: -.5px; }
.cab p { font-size: 38px; color: var(--texto-2); margin-top: 14px; }
.cab .logo-mini { height: 70px; width: auto; flex: none; opacity: .95; }
.etiqueta { display: inline-block; font-family: var(--titulo); font-weight: 700; font-size: 30px; letter-spacing: 3px; text-transform: uppercase; color: #121212; background: var(--cor); padding: 4px 16px 2px; margin-bottom: 18px; }

/* capa */
.capa { display: flex; flex-direction: column; justify-content: center; padding: 0 130px; background:
  radial-gradient(1200px 700px at 85% 110%, #2a2a2a 0%, transparent 70%), var(--fundo); }
.capa h1 { font-family: var(--titulo); font-weight: 800; font-size: 190px; line-height: .9; max-width: 1300px; }
.capa .logos { display: flex; align-items: center; gap: 90px; margin-top: 110px; }
.capa .logos img { height: 92px; width: auto; max-width: 340px; object-fit: contain; }
.capa::after { background: linear-gradient(90deg, #1097af 0 25%, #d79817 25% 50%, #aab2b5 50% 75%, #ee800e 75%); }

/* marca (welcome) */
.marca { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 0 130px; gap: 120px; }
.marca .logo-grande { width: 100%; max-width: 680px; height: auto; }
.marca h2 { font-family: var(--titulo); font-weight: 800; font-size: 96px; line-height: .95; }
.marca ul { list-style: none; margin-top: 56px; display: grid; gap: 26px; }
.marca li { font-size: 42px; padding-left: 44px; position: relative; }
.marca li::before { content: ""; position: absolute; left: 0; top: 18px; width: 22px; height: 6px; background: var(--cor); }

/* produtos */
.grade { position: absolute; left: 110px; right: 110px; top: 330px; bottom: 90px; display: grid; gap: 28px; }
.grade.n2 { grid-template-columns: repeat(2, 620px); justify-content: center; }
.grade.n4 { grid-template-columns: repeat(4, 1fr); }
.grade.n7, .grade.n8 { grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr 1fr; }
.grade.com-faixa { bottom: 300px; }
.produto { position: relative; background: var(--cartao); color: #161616; display: flex; flex-direction: column; overflow: hidden; text-align: left; transition: transform .2s ease; }
.produto:hover { transform: translateY(-4px); }
.produto .foto { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 22px 26px 6px; }
.produto .foto img { max-width: 100%; max-height: 100%; object-fit: contain; }
.produto .nome { font-family: var(--titulo); font-weight: 700; font-size: 34px; line-height: 1.02; padding: 10px 22px 20px; border-top: 5px solid var(--cor); margin: 0 22px; padding-left: 0; }
.produto .selo { position: absolute; top: 16px; left: 16px; background: var(--cor); color: #121212; font-family: var(--titulo); font-weight: 700; font-size: 22px; letter-spacing: 2px; text-transform: uppercase; padding: 3px 10px 1px; }
.grade.n4 .produto .nome { font-size: 40px; }
.grade.n2 .produto .nome { font-size: 44px; }
.faixa { position: absolute; left: 110px; right: 110px; bottom: 90px; height: 180px; display: grid; grid-template-columns: 300px 1fr 1fr; gap: 28px; align-items: stretch; }
.faixa h3 { font-family: var(--titulo); font-weight: 800; font-size: 54px; align-self: center; }
.faixa .produto { flex-direction: row; align-items: center; }
.faixa .produto .foto { flex: 0 0 300px; height: 100%; padding: 14px; }
.faixa .produto .nome { border-top: 0; border-left: 5px solid var(--cor); margin: 0; padding: 6px 0 6px 24px; font-size: 40px; }

/* galeria */
.galeria { position: absolute; left: 110px; right: 110px; top: 330px; bottom: 90px; display: grid; gap: 22px; }
.galeria.n6 { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; }
.galeria.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.galeria.n3 figure:first-child { grid-row: span 2; }
.galeria figure { position: relative; overflow: hidden; background: var(--fundo-2); }
.galeria img { width: 100%; height: 100%; object-fit: cover; }
.galeria figcaption { position: absolute; left: 0; bottom: 0; padding: 12px 22px 10px; background: rgba(18,18,18,.82); font-family: var(--titulo); font-weight: 700; font-size: 34px; border-left: 6px solid var(--cor); }

/* vídeo */
.video-slide { background: #000; }
.video-slide .borrado { position: absolute; inset: -60px; background-size: cover; background-position: center; filter: blur(48px) brightness(.45) saturate(1.15); }
.video-slide video { position: absolute; top: 0; left: 50%; transform: translateX(-50%); height: 1080px; width: 607.5px; object-fit: contain; background: #000; box-shadow: 0 0 80px rgba(0,0,0,.6); }
.video-slide .lado { position: absolute; left: 110px; top: 0; bottom: 0; width: 520px; display: flex; flex-direction: column; justify-content: center; gap: 36px; }
.video-slide .lado img { width: 100%; max-width: 440px; height: auto; }
.video-slide .lado h2 { font-family: var(--titulo); font-weight: 800; font-size: 76px; line-height: .95; }
.video-slide .barra { position: absolute; left: 50%; transform: translateX(-50%); width: 607.5px; bottom: 10px; height: 8px; background: rgba(255,255,255,.18); }
.video-slide .barra i { display: block; height: 100%; width: 0; background: var(--cor); }

/* mural */
.mural { position: absolute; left: 110px; right: 110px; top: 300px; bottom: 80px; display: flex; justify-content: center; gap: 30px; }
.mural .item { position: relative; height: 100%; aspect-ratio: 9 / 16; background: #000; overflow: hidden; }
.mural.n4 .item { height: 100%; }
.mural video { width: 100%; height: 100%; object-fit: cover; }
.mural .item span { position: absolute; left: 0; bottom: 0; right: 0; padding: 14px 18px 12px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-family: var(--titulo); font-weight: 700; font-size: 36px; }
.mural .item span b { color: var(--cor); margin-right: 10px; }

/* final */
.final { display: grid; grid-template-columns: 1.15fr 1fr; padding: 0 130px; gap: 80px; align-items: center;
  background: radial-gradient(900px 700px at 15% 120%, #2a2a2a 0%, transparent 70%), var(--fundo); }
.final h2 { font-family: var(--titulo); font-weight: 800; font-size: 150px; line-height: .9; }
.final .zap { margin-top: 60px; font-size: 40px; color: var(--texto-2); }
.final .zap strong { display: block; font-family: var(--titulo); font-weight: 800; font-size: 96px; color: var(--texto); letter-spacing: 1px; }
.final .logos { display: flex; gap: 60px; margin-top: 70px; align-items: center; }
.final .logos img { height: 58px; width: auto; max-width: 220px; object-fit: contain; opacity: .9; }
.final .qrs { display: grid; grid-template-columns: 1fr; gap: 40px; justify-items: center; }
.final .qr { background: #fff; padding: 26px; width: 440px; }
.final .qr img { width: 100%; height: auto; }
.final .qr p { color: #121212; text-align: center; font-family: var(--titulo); font-weight: 800; font-size: 40px; margin-top: 10px; }
.final .qr.pequeno { width: 300px; padding: 18px; }
.final .qr.pequeno p { font-size: 30px; }
.final::after { background: linear-gradient(90deg, #1097af 0 25%, #d79817 25% 50%, #aab2b5 50% 75%, #ee800e 75%); }

/* zoom (product photo or video in large) */
.zoom { position: absolute; inset: 0; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; z-index: 20; }
.zoom.aberto { display: flex; }
.zoom img { max-width: 1500px; max-height: 900px; object-fit: contain; }
.zoom video { height: 1000px; width: auto; }
.zoom .nome { position: absolute; left: 110px; bottom: 60px; font-family: var(--titulo); font-weight: 800; font-size: 64px; border-left: 8px solid var(--cor); padding-left: 24px; max-width: 1400px; }
.zoom .fechar { position: absolute; right: 50px; top: 40px; font-size: 64px; line-height: 1; color: #fff; opacity: .7; }

/* start screen and help */
.inicio { position: fixed; inset: 0; z-index: 50; background: #0d0d0d; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; text-align: center; padding: 24px; cursor: pointer; }
.inicio h1 { font-family: var(--titulo); font-weight: 800; font-size: clamp(40px, 6vw, 84px); line-height: 1; }
.inicio .dica { color: var(--texto-2); font-size: clamp(16px, 1.6vw, 24px); line-height: 1.6; }
.inicio kbd { font-family: var(--titulo); font-weight: 700; background: #262626; border: 1px solid #3a3a3a; padding: 1px 10px; }
.inicio .botao { margin-top: 10px; font-family: var(--titulo); font-weight: 800; font-size: clamp(24px, 2.4vw, 36px); background: #f4f4f2; color: #121212; padding: 14px 44px 10px; }
.offline { font-size: clamp(14px, 1.3vw, 19px); color: var(--texto-2); }
.offline.ok { color: #7fd18b; }
.contador { position: fixed; right: 16px; bottom: 14px; z-index: 30; font-size: 14px; color: #6b6b6b; font-family: var(--corpo); pointer-events: none; opacity: 0; transition: opacity .3s; }
body.mostra-contador .contador { opacity: 1; }
body.telao.parado { cursor: none; }

/* ---------- Celular ---------- */
body.celular { background: var(--fundo); }
.cel { max-width: 640px; margin: 0 auto; padding: 0 16px 120px; }
.cel-topo { padding: 28px 0 8px; }
.cel-topo h1 { font-family: var(--titulo); font-weight: 800; font-size: 44px; line-height: .95; }
.cel-topo p { color: var(--texto-2); font-size: 18px; margin-top: 10px; }
.cel-nav { position: sticky; top: 0; z-index: 5; display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; background: var(--fundo); scrollbar-width: none; }
.cel-nav a { flex: none; font-family: var(--titulo); font-weight: 700; font-size: 18px; text-decoration: none; color: var(--texto); border: 1px solid #333; padding: 6px 14px 4px; white-space: nowrap; }
.cel-marca { padding-top: 34px; scroll-margin-top: 60px; border-top: 4px solid var(--cor); margin-top: 26px; }
.cel-marca .logo { height: 46px; width: auto; max-width: 220px; object-fit: contain; }
.cel-marca h2 { font-family: var(--titulo); font-weight: 800; font-size: 34px; line-height: 1; margin-top: 18px; }
.cel-marca h3 { font-family: var(--titulo); font-weight: 700; font-size: 26px; margin: 26px 0 12px; color: var(--cor); }
.cel-video { margin-top: 18px; width: 100%; aspect-ratio: 9 / 16; max-height: 70vh; background: #000; object-fit: contain; }
.cel-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cel-grade .produto .nome { font-size: 19px; margin: 0 12px; padding: 8px 0 12px; border-top-width: 4px; }
.cel-grade .produto .foto { aspect-ratio: 1; padding: 12px; }
.cel-grade .produto .selo { font-size: 13px; top: 8px; left: 8px; }
.cel-galeria { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cel-galeria figure { position: relative; aspect-ratio: 1; overflow: hidden; }
.cel-galeria img { width: 100%; height: 100%; object-fit: cover; }
.cel-galeria figcaption { position: absolute; left: 0; bottom: 0; background: rgba(18,18,18,.85); padding: 4px 10px 3px; font-family: var(--titulo); font-weight: 700; font-size: 16px; border-left: 4px solid var(--cor); }
.cel-acoes { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(18,18,18,.96); border-top: 1px solid #2a2a2a; }
.cel-acoes a { text-align: center; text-decoration: none; font-family: var(--titulo); font-weight: 800; font-size: 20px; padding: 13px 8px 10px; }
.cel-acoes .zap { background: #25d366; color: #0d2a17; }
.cel-acoes .roleta { background: #f4f4f2; color: #121212; }
.cel-zoom { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.94); display: none; flex-direction: column; align-items: center; justify-content: center; padding: 16px; }
.cel-zoom.aberto { display: flex; }
.cel-zoom img { max-width: 100%; max-height: 75vh; object-fit: contain; }
.cel-zoom p { font-family: var(--titulo); font-weight: 800; font-size: 26px; margin-top: 16px; text-align: center; }
.cel-zoom .fechar { position: absolute; top: 10px; right: 16px; font-size: 40px; }

/* ---------- Roteiro (speaker notes) ---------- */
body.roteiro { background: #fafaf8; color: #161616; }
.rot { max-width: 760px; margin: 0 auto; padding: 24px 18px 80px; }
.rot h1 { font-family: var(--titulo); font-weight: 800; font-size: 40px; }
.rot > p { color: #555; margin: 6px 0 18px; }
.rot section { border-top: 1px solid #ddd; padding: 16px 0; display: grid; grid-template-columns: 44px 1fr; gap: 10px; }
.rot .num { font-family: var(--titulo); font-weight: 800; font-size: 30px; color: var(--cor); }
.rot h2 { font-family: var(--titulo); font-weight: 700; font-size: 26px; line-height: 1.05; }
.rot small { color: #777; font-size: 15px; }
.rot ul { margin: 8px 0 0 18px; font-size: 19px; line-height: 1.45; }
