/* Site de cases da Inovou (03/12/2026). O visual é o da LP do Método
   (inovou-lps, PaginaAssessoria2.astro): branco, Inter e SF nos títulos,
   olho azul, o degradê da marca só onde marca algo, os cartões dos cases,
   dos vídeos e dos depoimentos escritos. Conteúdo em ../montar.mjs. */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-opsz-latin.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-opsz-latin-ext.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lora Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("/fonts/lora-latin.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Lora Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 400 700;
  src: url("/fonts/lora-italico-latin.woff2") format("woff2-variations");
}

:root {
  --sans: "Inter Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Lora Variable", Georgia, "Times New Roman", serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter Variable", "Segoe UI", Roboto, Arial, sans-serif;
  --azul: #0071e3;
  --azul-vivido: #0a84ff;
  --nevoa: #eaf2ff;
  --grafite: #1d1d1f;
  --corpo: #4d5359;
  --suave: #5b6267;
  --rotulo: #86868b;
  --borda: #e2e8f0;
  --cinza: #f5f5f7;
  --verde: #39b385;
  --largura: 1088px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--corpo);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
b, strong { font-weight: 700; color: var(--grafite); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ── Marca e degradê, os mesmos da LP ─────────────────────────────── */

.logo-shimmer {
  font-family: var(--serif);
  font-weight: 500;
  background: linear-gradient(100deg, #1d1d1f 42%, #0a84ff 47%, #7b5cff 50%, #bf5af2 53%, #ff5a7a 56%, #ff9f0a 59%, #1d1d1f 64%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 0.06em;
  margin: 0 -0.06em;
}
@keyframes brilho { from { background-position: 130% 0; } to { background-position: -30% 0; } }
@media (prefers-reduced-motion: no-preference) { .logo-shimmer { animation: brilho 5.5s linear infinite; } }

.texto-degrade {
  background: linear-gradient(90deg, var(--grafite) 0%, #0a84ff 32%, #7b5cff 52%, #bf5af2 70%, #ff5a7a 86%, #ff9f0a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.olho {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--azul);
}

/* ── Topo ──────────────────────────────────────────────────────────── */

.topo {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.topo-dentro {
  max-width: 1152px;
  height: 56px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.marca { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.marca-nome { font-size: 17px; letter-spacing: -0.01em; }
.marca-by { display: inline-flex; align-items: baseline; gap: 3px; font-size: 10px; color: var(--rotulo); }
.marca-by img { height: 8.5px; width: auto; transform: translateY(1px); }
.topo nav { display: none; }
.topo nav a { font-size: 14px; color: var(--suave); transition: color 0.15s; }
.topo nav a:hover { color: var(--grafite); }
@media (min-width: 900px) {
  .topo nav { display: flex; gap: 28px; }
}

/* ── Botão, o da LP ────────────────────────────────────────────────── */

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-height: 52px;
  padding: 12px 26px;
  border-radius: 12px;
  background: var(--azul);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  transition: background-color 0.15s, transform 0.2s;
}
.botao:hover { background: var(--azul-vivido); transform: translateY(-1px); }
.botao svg { width: 16px; height: 16px; flex-shrink: 0; }
.botao-pequeno { min-height: 34px; padding: 6px 14px; border-radius: 999px; font-size: 13.5px; }
.botao-pequeno svg { width: 14px; height: 14px; }
.botao-claro {
  background: #fff;
  color: var(--grafite);
  border: 1px solid var(--borda);
}
.botao-claro:hover { background: var(--cinza); }

/* ── Seções ────────────────────────────────────────────────────────── */

.secao { padding: 56px 0; text-align: center; }
.secao + .secao { border-top: 1px solid #f0f1f4; }
.cabeca { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.cabeca h2 {
  margin-top: 10px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--grafite);
  text-wrap: balance;
}
.cabeca-frase {
  max-width: 34ch;
  margin: 12px auto 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--suave);
  text-wrap: balance;
}
@media (min-width: 1024px) {
  .secao { padding: 88px 0; }
  .cabeca h2 { font-size: 48px; line-height: 1.08; }
  .cabeca-frase { max-width: 46ch; font-size: 18px; }
}

/* ── Capa ──────────────────────────────────────────────────────────── */

.capa { padding: 56px 0 40px; text-align: center; overflow: hidden; }
.capa h1 {
  max-width: 15ch;
  margin: 14px auto 0;
  padding: 0 20px;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--grafite);
  text-wrap: balance;
}
.capa-frase {
  max-width: 34ch;
  margin: 16px auto 0;
  padding: 0 20px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--suave);
  text-wrap: balance;
}
/* Os nichos andando em duas fileiras, como nos cases da LP. */
.nichos {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 1088px;
  margin: 36px auto 0;
  overflow: hidden;
}
.nichos::before, .nichos::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 9%;
  pointer-events: none;
}
.nichos::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.nichos::after { right: 0; background: linear-gradient(to left, #fff, transparent); }
.nichos-trilho { display: flex; width: max-content; animation: anda 45s linear infinite; }
.nichos-trilho.volta { animation-direction: reverse; }
.nichos-copia { display: flex; gap: 8px; padding-right: 8px; }
.nichos-copia li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 11px;
  border: 1px solid var(--borda);
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
  line-height: 1;
  color: var(--suave);
  white-space: nowrap;
}
.nicho-emoji { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 13px; }
@keyframes anda { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .nichos-trilho { animation: none; } }

@media (min-width: 1024px) {
  .capa { padding: 96px 0 56px; }
  .capa h1 { font-size: 64px; }
  .capa-frase { max-width: 40ch; font-size: 20px; }
  .nichos { margin-top: 48px; }
}

/* ── Cases: os cartões da LP, em grade ─────────────────────────────── */

.cases-grade {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 1152px;
  margin: 32px auto 0;
  padding: 0 16px;
}
.case {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--borda);
  background: var(--cinza);
  box-shadow: 0 10px 24px -12px rgba(15, 23, 42, 0.25);
  text-align: left;
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s;
}
.case:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -18px rgba(15, 23, 42, 0.35); }
.case:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; }
.case img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.case:hover img { transform: scale(1.03); }
.case-info {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 40px 12px 14px;
  background: linear-gradient(to top, rgba(9, 9, 15, 0.95) 38%, rgba(9, 9, 15, 0));
  color: #fff;
}
.case-nome {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.case-arroba {
  font-size: 11.5px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.case-salto {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 4px;
  margin-top: 4px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.case-seta { font-weight: 400; color: rgba(255, 255, 255, 0.55); }
.case-salto b { font-weight: 700; color: var(--verde); }
.case-nota { font-size: 10.5px; line-height: 1.25; color: rgba(255, 255, 255, 0.66); }
.case-abrir {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--grafite);
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.35);
  opacity: 0.92;
  transition: transform 0.2s;
}
.case:hover .case-abrir { transform: scale(1.08); }
.case-abrir svg { width: 15px; height: 15px; }
.dica { margin-top: 18px; font-size: 13px; color: var(--rotulo); }

@media (min-width: 640px) { .cases-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .cases-grade { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-top: 48px; padding: 0 32px; }
  .case-nome { font-size: 14px; }
  .case-salto { font-size: 15px; }
}

/* ── Prints: as conversas, em colunas ───────────────────────────────── */

.prints-grade {
  columns: 2;
  column-gap: 12px;
  max-width: 1152px;
  margin: 32px auto 0;
  padding: 0 16px;
  text-align: left;
}
.print {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  break-inside: avoid;
  border: 1px solid var(--borda);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 18px 40px -30px rgba(15, 23, 42, 0.45);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s;
}
.print:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -26px rgba(15, 23, 42, 0.5); }
.print img { width: 100%; height: auto; background: var(--cinza); }
.print-legenda { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; border-top: 1px solid var(--borda); }
.print-legenda b { font-family: var(--display); font-size: 14px; font-weight: 600; line-height: 1.25; }
.print-legenda small { font-size: 12.5px; line-height: 1.35; color: var(--suave); }
@media (min-width: 768px) { .prints-grade { columns: 3; } }
@media (min-width: 1024px) { .prints-grade { columns: 4; column-gap: 20px; margin-top: 48px; padding: 0 32px; } .print { margin-bottom: 20px; } }

/* ── Vídeos: o cartão da LP, em grade ──────────────────────────────── */

.videos-grade {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 1152px;
  margin: 32px auto 0;
  padding: 0 16px;
}
.depo {
  display: flex;
  flex-direction: column;
  padding: 8px 8px 14px;
  border: 1px solid var(--borda);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px -30px rgba(15, 23, 42, 0.35);
  text-align: left;
}
.depo[hidden] { display: none; }
.video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  background: #111;
}
.video-capa, .video video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-capa img, .video video { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45);
  translate: -50% -50%;
  transition: transform 0.2s;
}
.video-capa:hover .video-play { transform: scale(1.06); }
.video-play svg { width: 20px; height: 20px; margin-left: 3px; fill: var(--grafite); }
.depo blockquote { margin-top: 12px; padding: 0 4px; font-size: 14px; line-height: 1.5; color: var(--corpo); }
.depo-quem { display: flex; flex-direction: column; margin-top: auto; padding: 12px 4px 0; }
.depo-quem b { font-family: var(--display); font-size: 14px; font-weight: 600; line-height: 1.25; }
.depo-quem small { font-size: 12.5px; color: var(--suave); }
.ver-mais { margin-top: 28px; }
@media (min-width: 768px) { .videos-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .videos-grade { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; padding: 0 32px; }
  .depo blockquote { font-size: 15px; }
}

/* ── Depoimentos escritos ──────────────────────────────────────────── */

.mensagens-grade {
  columns: 1;
  column-gap: 16px;
  max-width: var(--largura);
  margin: 32px auto 0;
  padding: 0 16px;
  text-align: left;
}
.msg {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
  padding: 20px;
  break-inside: avoid;
  border: 1px solid var(--borda);
  border-radius: 18px;
  background: #fff;
}
.msg blockquote { font-size: 15px; line-height: 1.55; color: var(--corpo); }
.quem { display: flex; align-items: center; gap: 12px; }
.quem img, .quem .inicial {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 999px;
  object-fit: cover;
}
.quem .inicial {
  display: grid;
  place-items: center;
  background: var(--nevoa);
  font-family: var(--display);
  font-weight: 600;
  color: var(--azul);
}
.quem span { display: flex; flex-direction: column; }
.quem b { font-family: var(--display); font-size: 14px; font-weight: 600; line-height: 1.25; }
.quem small { font-size: 12.5px; color: var(--suave); }
@media (min-width: 640px) { .mensagens-grade { columns: 2; } }
@media (min-width: 1024px) { .mensagens-grade { columns: 3; column-gap: 20px; margin-top: 48px; } .msg { margin-bottom: 20px; } }

/* ── Fecho ─────────────────────────────────────────────────────────── */

.fecho { padding: 24px 16px 72px; }
.fecho-cartao {
  max-width: 880px;
  margin: 0 auto;
  padding: 44px 24px;
  border-radius: 28px;
  background:
    radial-gradient(120% 90% at 50% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(170deg, #f6f7f9 0%, #eef0f5 100%);
  border: 1px solid var(--borda);
  text-align: center;
}
.fecho-cartao h2 {
  max-width: 18ch;
  margin: 10px auto 0;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--grafite);
  text-wrap: balance;
}
.fecho-cartao p { max-width: 36ch; margin: 12px auto 0; font-size: 16px; color: var(--suave); text-wrap: balance; }
.fecho-cartao .botao { margin-top: 24px; }
@media (min-width: 1024px) {
  .fecho { padding: 32px 32px 96px; }
  .fecho-cartao { padding: 64px 48px; }
  .fecho-cartao h2 { font-size: 44px; }
  .fecho-cartao p { font-size: 18px; }
}

.rodape { border-top: 1px solid var(--borda); }
.rodape-dentro { max-width: var(--largura); margin: 0 auto; padding: 28px 20px 40px; display: flex; flex-direction: column; gap: 14px; }
.rodape p { max-width: 70ch; font-size: 12.5px; line-height: 1.6; color: var(--rotulo); }

/* ── Janelas: o case aberto e o print ampliado ─────────────────────── */

dialog { border: 0; padding: 0; background: transparent; color: inherit; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(10, 12, 16, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body.travado { overflow: hidden; }

.folha {
  width: 100%;
  height: 100%;
  margin: 0;
  inset: 0;
}
.folha[open] { display: flex; align-items: flex-end; justify-content: center; }
.folha-caixa {
  position: relative;
  width: 100%;
  max-height: 94dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 24px 24px 0 0;
  background: #fff;
  text-align: left;
  animation: sobe 0.38s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@keyframes sobe { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .folha-caixa, .zoom-caixa { animation: none; } }
.folha-barra {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #f0f1f4;
}
.folha-barra .olho { font-size: 12px; }
.folha-setas { display: flex; gap: 6px; }
.redondo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--cinza);
  color: var(--grafite);
  transition: background-color 0.15s;
}
.redondo:hover { background: #e8e8ed; }
.redondo svg { width: 17px; height: 17px; }
.folha-corpo { padding: 20px 18px 32px; }

.caso-topo { display: flex; align-items: center; gap: 14px; }
.caso-topo img { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; flex-shrink: 0; }
.caso-topo b { display: block; font-family: var(--display); font-size: 17px; font-weight: 600; line-height: 1.2; }
.caso-topo small { display: block; margin-top: 2px; font-size: 13px; color: var(--suave); }
.caso-titulo {
  margin-top: 20px;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--grafite);
  text-wrap: balance;
}
.caso-titulo em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--azul); }
.rotulo { font-size: 11px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--rotulo); }
.caso-porque { margin-top: 24px; }
.caso-porque ul { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.caso-porque li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; font-weight: 500; line-height: 1.4; color: var(--grafite); }
.caso-porque li svg { width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0; color: var(--azul); }
.caso-provas { display: grid; gap: 16px; margin-top: 28px; }
.caso-prova { display: flex; flex-direction: column; gap: 8px; }
.caso-prova button {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--borda);
  border-radius: 16px;
  background: var(--cinza);
  cursor: zoom-in;
  box-shadow: 0 18px 40px -30px rgba(15, 23, 42, 0.45);
}
.caso-prova img { width: 100%; height: auto; }
.caso-conta { margin-top: 28px; }
.caso-conta-lista { display: grid; gap: 12px; margin-top: 12px; }
.caso-conta .depo { box-shadow: none; }
.caso-conta .depo { flex-direction: row; gap: 14px; align-items: stretch; padding: 8px; }
.caso-conta .depo .video { width: 132px; flex-shrink: 0; }
.caso-conta .depo-texto { display: flex; flex-direction: column; padding: 6px 4px 4px 0; }
.caso-conta .depo blockquote { margin-top: 0; padding: 0; }
.caso-conta .depo-quem { padding: 10px 0 0; }
.caso-conta .msg { margin: 0; }
.caso-acao { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }

@media (min-width: 900px) {
  .folha[open] { align-items: center; padding: 24px; }
  .folha-caixa { max-width: 980px; max-height: 90dvh; border-radius: 28px; }
  .folha-corpo { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; padding: 32px 36px 40px; }
  .caso-retrato {
    position: sticky;
    top: 84px;
    align-self: start;
  }
  .caso-retrato .case { cursor: default; }
  .caso-retrato .case:hover { transform: none; }
  .caso-retrato .case:hover img { transform: none; }
  .caso-topo-celular { display: none; }
  .caso-titulo { margin-top: 0; font-size: 34px; }
  .caso-provas { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 899px) { .caso-retrato { display: none; } }

.zoom { width: 100%; height: 100%; margin: 0; inset: 0; }
.zoom[open] { display: flex; align-items: center; justify-content: center; padding: 16px; }
.zoom::backdrop { background: rgba(10, 12, 16, 0.82); }
.zoom-caixa {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(1000px, 100%);
  max-height: 100%;
  animation: sobe 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.zoom-caixa img {
  max-height: calc(100dvh - 150px);
  width: auto;
  max-width: 100%;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}
.zoom-legenda { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; color: #fff; text-align: center; }
.zoom-legenda span { font-size: 14px; color: rgba(255, 255, 255, 0.82); }
.zoom-legenda b { color: #fff; }
.zoom .redondo { position: fixed; top: 14px; right: 14px; background: rgba(255, 255, 255, 0.16); color: #fff; }
.zoom .redondo:hover { background: rgba(255, 255, 255, 0.26); }
.zoom-setas .redondo { top: 50%; translate: 0 -50%; }
.zoom-setas .redondo:first-child { left: 14px; right: auto; }
.zoom-setas .redondo:last-child { right: 14px; }
.zoom-setas[hidden] { display: none; }
.zoom .botao-pequeno { background: #fff; color: var(--grafite); }

/* Aparecer ao rolar, sem exagero. */
.revela { opacity: 0; transform: translateY(14px); }
.revela.on { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1); }
@media (prefers-reduced-motion: reduce) { .revela { opacity: 1; transform: none; } }

[hidden] { display: none !important; }
[data-so-computador] { display: none; }
@media (min-width: 900px) { [data-so-computador] { display: block; } }

@media (min-width: 1024px) { .capa h1 { max-width: 20ch; } }

/* No celular a marca empilha ("by inovou" embaixo) e o botão do topo não quebra. */
.topo .botao { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 430px) {
  .topo-dentro { padding: 0 16px; gap: 10px; }
  .marca { flex-direction: column; align-items: flex-start; gap: 0; }
  .marca-nome { font-size: 16px; line-height: 1.2; }
  .marca-by { font-size: 9px; gap: 3px; }
  .marca-by img { height: 7px; }
  .topo .botao svg { display: none; }
  .topo .botao-pequeno { padding: 6px 13px; font-size: 13px; }
}
