/* =========================================================
   Vitrine — página de apresentação das capturas da landing.
   Identidade Forge House: gradiente #8088E6 → #9333EA,
   fundo escuro, cantos generosos e botões pill.
   Não tem relação com o css/style.css da landing.
   ========================================================= */

:root {
  --primary: #8088E6;
  --primary-light: #a5abf0;
  --secondary: #9333EA;
  --secondary-deep: #372364;
  --bg-dark: #0d0d0d;
  --surface: #141419;
  --surface-2: #1b1b22;
  --line: rgba(255, 255, 255, .10);
  --txt: #f2f2f5;
  --txt-2: #a8a8b8;
  --radius: 12px;
  --radius-lg: 20px;
  --ease: .4s cubic-bezier(.16, 1, .3, 1);
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--txt-2);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Brilho difuso ao fundo, nas duas cores da marca. */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 15% -5%, rgba(128, 136, 230, .18), transparent 70%),
    radial-gradient(50% 45% at 88% 5%, rgba(147, 51, 234, .16), transparent 70%);
}

h1, h2, h3 { font-family: var(--font-heading); color: var(--txt); line-height: 1.15; font-weight: 600; }
/* height: auto é obrigatório aqui: as capturas trazem width/height no HTML e,
   sem ele, a largura encolhe para caber na moldura enquanto a altura mantém o
   valor do atributo — a imagem esticaria na vertical. */
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

.text-accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Topo ---------- */
.topo {
  position: relative; z-index: 2;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 13, 13, .7);
  backdrop-filter: blur(16px);
}
.topo__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }

.marca {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem;
  color: var(--txt); text-decoration: none;
}
.marca__losango {
  width: 12px; height: 12px; border-radius: 3px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transform: rotate(45deg);
}
.marca:hover .marca__losango { transform: rotate(135deg); transition: transform var(--ease); }

.selo {
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--txt-2); border: 1px solid var(--line);
  padding: 5px 14px; border-radius: 50px; white-space: nowrap;
}

/* ---------- Cabeçalho da apresentação ---------- */
.intro { padding: 44px 0 24px; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary-light);
  border: 1px solid rgba(128, 136, 230, .3);
  background: rgba(128, 136, 230, .08);
  padding: 7px 16px; border-radius: 50px; margin-bottom: 22px;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 0 3px rgba(128, 136, 230, .22);
}

.intro h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.02em; margin-bottom: 16px; }
.intro p { max-width: 620px; margin: 0 auto; font-size: 1.03rem; }

/* ---------- Switch desktop / mobile / pdf ---------- */
.switch {
  position: relative; display: inline-flex; margin: 24px auto 0;
  padding: 6px; border-radius: 50px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line);
}
/* A pílula colorida desliza entre as quatro opções. A largura é um quarto do espaço
   interno (descontado o padding dos dois lados), então translateX em múltiplos de
   100% cai exatamente sobre cada botão. */
.switch__pill {
  position: absolute; top: 6px; left: 6px;
  width: calc((100% - 12px) / 4); height: calc(100% - 12px);
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: 0 6px 18px rgba(147, 51, 234, .3);
  transition: transform var(--ease);
}
.switch[data-modo="mobile"] .switch__pill { transform: translateX(100%); }
.switch[data-modo="pdf"] .switch__pill { transform: translateX(200%); }
.switch[data-modo="marca"] .switch__pill { transform: translateX(300%); }

.switch__btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-width: 156px; padding: 11px 26px;
  font-family: var(--font-heading); font-weight: 500; font-size: .95rem;
  background: none; border: 0; color: var(--txt-2);
  border-radius: 50px; transition: color var(--ease);
}
.switch__btn[aria-selected="true"] { color: #fff; }
.switch__btn:hover:not([aria-selected="true"]) { color: var(--txt); }
.switch__btn svg { width: 17px; height: 17px; }

/* ---------- Palco das capturas ---------- */
.palco { padding: 26px 0 12px; display: flex; justify-content: center; }

.quadro { display: none; width: 100%; }
.quadro.is-on { display: flex; justify-content: center; animation: surge .5s cubic-bezier(.16, 1, .3, 1); }
@keyframes surge { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* A imagem é a página inteira; a moldura recorta e rola por dentro. A captura
   ocupa toda a largura da moldura e a altura acompanha, na proporção original. */
.tela { overflow-y: auto; overflow-x: hidden; background: #0a0e1c; overscroll-behavior: contain; }
.tela img { width: 100%; height: auto; }
.tela::-webkit-scrollbar { width: 10px; }
.tela::-webkit-scrollbar-track { background: rgba(255, 255, 255, .04); }
.tela::-webkit-scrollbar-thumb {
  border-radius: 50px; border: 3px solid transparent; background-clip: content-box;
  background-color: rgba(255, 255, 255, .22);
}
.tela::-webkit-scrollbar-thumb:hover { background-color: var(--primary); }

/* Moldura de navegador */
.navegador {
  width: 100%; max-width: 1100px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
}
.navegador__barra {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.navegador__pontos { display: inline-flex; gap: 7px; flex-shrink: 0; }
.navegador__pontos i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.navegador__url {
  flex: 1; display: flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 50px;
  background: rgba(0, 0, 0, .35); border: 1px solid var(--line);
  font-size: .82rem; color: var(--txt-2); overflow: hidden; white-space: nowrap;
}
.navegador__url svg { width: 13px; height: 13px; flex-shrink: 0; opacity: .6; }
.navegador .tela { height: min(70vh, 700px); }

/* Moldura de celular */
.fone {
  position: relative; width: min(330px, 84vw);
  padding: 26px 13px 14px; border-radius: 46px;
  background: var(--surface-2); border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
}
/* Alto-falante do aparelho: fica na moldura, não por cima da captura. */
.fone__notch {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 72px; height: 5px; border-radius: 50px;
  background: rgba(255, 255, 255, .14);
}
.fone .tela { height: min(72vh, 720px); border-radius: 34px; }

/* Moldura de leitor de documento. A captura é das 4 páginas A4 empilhadas, então
   a moldura é estreita e o fundo imita o cinza de um visualizador de PDF. */
.leitor {
  width: 100%; max-width: 760px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
}
.leitor__barra {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 18px; background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font-size: .82rem; color: var(--txt-2);
}
.leitor__arquivo { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.leitor__arquivo svg { width: 15px; height: 15px; flex-shrink: 0; opacity: .7; }
.leitor__paginas { white-space: nowrap; opacity: .8; }
.leitor .tela { height: min(72vh, 740px); background: #26262e; padding: 18px; }
/* Sombra em volta da folha, para ela não se confundir com o fundo do leitor. */
.leitor .tela img { box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }

/* Moldura da marca. A folha cabe inteira, então não há rolagem interna. A largura
   máxima acompanha a da imagem para ela não ser ampliada além do tamanho original. */
.painel {
  width: 100%; max-width: 622px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
}
.painel__barra {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 18px; background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font-size: .82rem; color: var(--txt-2);
}
.painel__titulo { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.painel__titulo svg { width: 15px; height: 15px; flex-shrink: 0; opacity: .7; }
.painel__nota { white-space: nowrap; opacity: .8; }
.painel__corpo { padding: 18px; background: #26262e; }
.painel__corpo img { width: 100%; border-radius: 6px; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }

.dica {
  text-align: center; font-size: .86rem; color: var(--txt-2);
  padding: 22px 0 8px; opacity: .75;
}
.dica kbd {
  font-family: var(--font-heading); font-size: .76rem;
  padding: 2px 7px; border-radius: 6px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: var(--txt);
}

/* ---------- Notas da entrega ---------- */
.notas { padding: 46px 0 10px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.nota {
  padding: 24px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
  transition: transform var(--ease), border-color var(--ease);
}
.nota:hover { transform: translateY(-3px); border-color: rgba(128, 136, 230, .4); }
.nota h3 { font-size: 1rem; margin-bottom: 7px; }
.nota p { font-size: .92rem; }
.nota__ico {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: var(--radius); margin-bottom: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}
.nota__ico svg { width: 19px; height: 19px; }

/* ---------- Rodapé ---------- */
.rodape {
  margin-top: 60px; padding: 26px 0; border-top: 1px solid var(--line);
  font-size: .85rem; text-align: center;
}
.rodape a { color: var(--primary-light); text-decoration: none; }
.rodape a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .intro { padding: 44px 0 26px; }
  .switch { width: 100%; }
  /* Quatro opções em tela estreita: sem os ícones e com o texto menor, para os
     botões não quebrarem em duas linhas. */
  .switch__btn { min-width: 0; flex: 1; padding: 10px 6px; font-size: .82rem; gap: 0; }
  .switch__btn svg { display: none; }
  .navegador .tela { height: 62vh; }
  .fone .tela { height: 64vh; }
  .leitor .tela { height: 64vh; padding: 10px; }
  .leitor__paginas, .painel__nota { display: none; }
  .painel__corpo { padding: 10px; }
  .selo { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
