/* ── Helvetica Now Text ── */
@font-face {
  font-family: 'Helvetica Now Text';
  src: url('../fonts/HelveticaNowText-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Now Text';
  src: url('../fonts/HelveticaNowText-RegIta.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Now Text';
  src: url('../fonts/HelveticaNowText-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Now Text';
  src: url('../fonts/HelveticaNowText-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Now Text';
  src: url('../fonts/HelveticaNowText-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Now Text';
  src: url('../fonts/HelveticaNowText-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Palast Poster';
  src: url('../fonts/PalastPoster-LightItalic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* ── Tokens ── */
:root {
  --bg:       #eeedf0;
  --ink:      #191919;
  --ink-dim:  #5c5b57;
  --line:     #d4d3d0;
  --surface:  #e2e1de;

  --font-body:    'Helvetica Now Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-display: 'Noto Serif', Georgia, serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius-pill: 999px;
  --radius-card: 8px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:      #191919;
    --ink:     #eeedf0;
    --ink-dim: #8a8983;
    --line:    #2e2e2b;
    --surface: #222220;
  }
}
:root[data-theme="dark"] {
  --bg:      #191919;
  --ink:     #eeedf0;
  --ink-dim: #8a8983;
  --line:    #2e2e2b;
  --surface: #222220;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.page { max-width: 720px; margin: 0 auto; padding: 185px 32px 96px; }

.ds-section { margin-bottom: 0; }

/* ── Section labels ── */
.ds-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.ds-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ── Typography ── */
.t-h1 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.06;
  letter-spacing: -.02em;
  text-wrap: balance;
  margin-bottom: 20px;
}
.t-serif-inline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
}
.t-h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.28;
  letter-spacing: -.01em;
  margin-bottom: 22px;
}
.t-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 58ch;
  margin-bottom: 1.65em;
}
.t-body strong { color: var(--ink); font-weight: 700; }
.t-small { font-size: 15px; line-height: 1.55; color: var(--ink); margin-bottom: 16px; }
.t-mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-dim); text-transform: uppercase; }
.t-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

@keyframes btn-up   { from { transform: translateY(0);    } to { transform: translateY(-3px); } }
@keyframes btn-down { from { transform: translateY(-3px); } to { transform: translateY(0);    } }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--bg); border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 14px 24px; cursor: pointer; font-weight: 700;
  text-decoration: none;
  transition: opacity .18s ease, box-shadow .3s ease;
}
.btn-primary:hover { opacity: .82; box-shadow: 0 12px 30px rgba(0,0,0,0.13); }
.btn-primary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--bg);
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 12px 22px; cursor: pointer;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .3s ease;
}
.btn-ghost:hover { opacity: .82; box-shadow: 0 12px 30px rgba(0,0,0,0.13); }
.btn-ghost:hover .arrow, .btn-primary:hover .arrow { transform: translateX(3px); }
.btn-ghost:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.t-body + .btn-primary,
.t-body + .btn-ghost,
.t-small + .btn-primary,
.t-small + .btn-ghost,
.card-accent + .btn-ghost,
.card-accent + .btn-primary { margin-top: 8px; }

/* ── Tags ── */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-dim); border: 1px solid var(--line);
  border-radius: var(--radius-pill); padding: 4px 12px;
}

/* ── Cards ── */
.card-accent {
  border-left: 2px solid var(--ink-dim);
  background: var(--surface);
  padding: 16px 20px;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  margin: 32px 0;
}

/* ── Stats row ── */
.stats-row {
  display: flex; flex-wrap: wrap; gap: 40px;
  justify-content: space-between;
  padding: 40px 0 32px;
  margin-top: 80px;
  margin-bottom: 80px;
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat-num {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(32px, 5vw, 56px); line-height: .95;
  letter-spacing: -.02em;
}
.stat-label {
  font-family: var(--font-display); font-size: 17px;
  font-style: italic; font-weight: 300;
  color: var(--ink);
}

/* ── Index head ── */
.idx-head {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 24px;
}
.idx-num {
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(40px, 7vw, 64px); line-height: 1.02;
  color: var(--ink-dim); letter-spacing: -.02em;
  flex-shrink: 0;
}

/* ── Num display ── */
.num-block { display: flex; align-items: center; gap: 20px; margin: 32px 0; }
.num-display {
  font-family: var(--font-body);
  font-weight: 700; font-size: clamp(40px, 7vw, 64px); line-height: .85;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}

/* ── Find list ── */
.find-list { display: flex; flex-direction: column; }
.find-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.find-row:first-child { border-top: none; }
.find-row .t-small { margin-bottom: 16px; }
.find-row .t-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

/* ── Divider ── */
.divider { height: 1px; background: var(--line); margin: 80px 0; }

/* ── Footer row ── */
.foot-row {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: baseline; gap: 16px;
}

/* ── "O que faço" internals ── */
.expand-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: 6px;
}
.expand-title {
  font-family: var(--font-body);
  font-weight: 700; font-size: 22px; line-height: 1.28;
  letter-spacing: -.01em; margin-bottom: 24px;
}
.expand-subtitle {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: 28px;
}
.expand-divider { height: 1px; background: var(--line); margin: 24px 0; }

.why-list { display: flex; flex-direction: column; gap: 0; }
.why-row {
  display: grid; grid-template-columns: 40px 1fr;
  gap: 12px; padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.why-row:first-child { border-top: 1px solid var(--line); }
.why-row:last-child { border-bottom: none; }
.why-num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-dim); letter-spacing: .06em;
  padding-top: 2px;
}
.why-list .why-num {
  font-family: var(--font-body); font-weight: 700;
  font-size: 22px; letter-spacing: -.01em;
  color: var(--ink);
  padding-top: 0;
}
.why-list .why-row { grid-template-columns: 56px 1fr; }

.para-list { display: flex; flex-direction: column; gap: 0; }
.para-list .why-num {
  font-family: var(--font-body); font-weight: 700;
  font-size: 22px; letter-spacing: -.01em;
  color: var(--ink);
  padding-top: 0;
}
.para-list .para-row { grid-template-columns: 56px 1fr; }
.para-row {
  display: grid; grid-template-columns: 40px 1fr;
  gap: 12px; padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.para-row:first-child { border-top: 1px solid var(--line); }
.para-row:last-child { border-bottom: none; }

.expand-cta-block {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 24px;
  margin: 32px 0;
}
.expand-cta-block .t-small { margin-bottom: 16px; max-width: 52ch; }

.not-for {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

/* ── Entrance animation ── */
section {
  opacity: 0;
  transform: translateY(6px);
  animation: rise .5s ease forwards;
}
section:nth-of-type(1) { animation-delay: 0s; }
section:nth-of-type(2) { animation-delay: .05s; }
section:nth-of-type(3) { animation-delay: .10s; }
section:nth-of-type(4) { animation-delay: .15s; }
section:nth-of-type(5) { animation-delay: .20s; }
section:nth-of-type(6) { animation-delay: .25s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  section { animation: none; opacity: 1; transform: none; }
}

/* ── Responsive ── */
@media (min-width: 601px) {
  .t-body { font-size: 17px; }
}

@media (max-width: 600px) {
  .page { padding: 60px 20px 72px; }
  .find-row { grid-template-columns: 1fr; gap: 6px; }
  .why-row, .para-row { grid-template-columns: 36px 1fr; }
  .idx-head { flex-direction: column; align-items: flex-start; gap: 2px; }
  .btn-primary { font-size: 12px; padding: 18px 28px; width: 100%; justify-content: center; }
  .btn-ghost   { font-size: 12px; padding: 16px 28px; width: 100%; justify-content: center; }
  .stats-row { flex-wrap: nowrap !important; gap: 16px !important; }
  .stat { flex: 1; min-width: 0; }
  .stat-num { font-size: clamp(24px, 8vw, 48px) !important; }
  .valor-flex  { flex-direction: column !important; gap: 0 !important; }
  .valor-text  { display: contents; }
  .valor-first { order: 1; margin-bottom: 24px; }
  .hero-photo  { order: 2; width: 100% !important; height: 220px !important; margin-bottom: 24px; }
  .valor-rest  { order: 3; }
}

/* ── Hover botões ── */
.btn-ghost:hover, .btn-primary:hover { position: relative; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Topbar ── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(238,237,240,0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  z-index: 300;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.topbar.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.topbar-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.topbar-nav {
  display: none;
  gap: 28px;
}
.lang-btn {
  font-family: var(--font-mono); font-size: 9px; font-weight: 400;
  letter-spacing: .08em; text-transform: uppercase;
  background: transparent; color: var(--ink-dim);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  cursor: pointer; padding: 3px 10px;
  transition: color .18s, border-color .18s;
}
.lang-btn:hover { color: var(--ink); border-color: var(--ink); }
.topbar { gap: 16px; }
.topbar-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.topbar-cta { padding: 8px 16px; white-space: nowrap; }
.sidenav-lang {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: transparent; color: var(--ink-dim);
  border: none; cursor: pointer; text-align: left;
  padding: 0; margin-top: 8px; transition: color .18s;
}
.sidenav-lang:hover { color: var(--ink); }
.topbar-nav a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.15s;
}
.topbar-nav a:hover { color: var(--ink); }

/* ── Side nav ── */
.sidenav {
  position: fixed;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 100;
}
.sidenav a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1;
  white-space: nowrap;
}
.sidenav a:hover,
.sidenav a.active { color: var(--ink); }
.sidenav a.active { font-weight: 700; }

/* ── Hamburger ── */
.hamburger {
  display: none;
  position: static;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 150;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 48px 32px;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.mobile-menu a:hover { color: var(--ink-dim); }

@media (max-width: 900px) {
  .sidenav { display: none; }
  .hamburger { display: flex; }
  .topbar { padding: 0 20px; }
  .topbar-nav { display: none; }
}
@media (max-width: 600px) {
  .topbar-name { display: none; }
}


/* ── Chat flutuante (modal com /contato) ── */
.chat-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 10000;
  display: flex; align-items: center; gap: 12px;
  background: none; border: 0; padding: 0; cursor: pointer;
  animation: chatFloat 5s ease-in-out infinite;
}
.chat-fab-avatar {
  position: relative; display: block; width: 56px; height: 56px; border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 8px 28px rgba(0,0,0,.25), 0 0 0 2px var(--bg);
  transition: transform .25s ease;
}
.chat-fab-avatar img {
  width: 100%; height: 100%; border-radius: 50%; display: block;
  object-fit: cover; object-position: center 18%;
}
.chat-fab-avatar::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 1.5px solid var(--ink); opacity: 0;
  animation: chatPulse 3.2s ease-out infinite;
}
.chat-fab-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  background: var(--ink); color: var(--bg);
  padding: 10px 16px; border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  opacity: 0; transform: translateX(10px); pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.chat-fab:hover .chat-fab-label, .chat-fab:focus-visible .chat-fab-label { opacity: 1; transform: translateX(0); }
.chat-fab:hover .chat-fab-avatar { transform: scale(1.06); }
.chat-fab:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: var(--radius-pill); }
@keyframes chatFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes chatPulse { 0% { transform: scale(1); opacity: .45; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .chat-fab, .chat-fab-avatar::after { animation: none; }
}
.chat-fab.is-open { display: none; }
body:has(#cookie-bar[style*="flex"]) .chat-fab { bottom: 96px; }
.chat-modal {
  position: fixed; right: 24px; bottom: 24px; z-index: 10001;
  width: min(420px, calc(100vw - 32px)); height: min(720px, calc(100vh - 48px));
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
  overflow: hidden;
}
.chat-modal[hidden] { display: none; }
.chat-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 10px 18px; border-bottom: 1px solid var(--line);
}
.chat-modal-title {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-dim);
}
.chat-modal-close {
  background: transparent; border: 0; color: var(--ink); cursor: pointer;
  font-size: 26px; line-height: 1; padding: 2px 8px;
}
.chat-modal-frame { flex: 1; width: 100%; border: 0; background: var(--bg); }
@media (max-width: 600px) {
  .chat-fab { right: 16px; bottom: 16px; }
  .chat-modal { inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; }
}

/* ── Faixas de imagem (projetos, marcas, palestras) ── */
.photo-band { display: block; width: 100%; height: auto; border-radius: 10px; margin: 8px 0 40px; }
.photo-band-first { margin-top: 48px; }
.photo-band-narrow { max-width: 640px; }

/* ── Bloco Trilogia (O que faço) ── */
.trilogia-block {
  display: flex; flex-direction: column; gap: 36px;
  background: var(--ink); color: var(--bg);
  border-radius: 16px; overflow: hidden;
  text-decoration: none;
  padding: 64px 56px 56px;
  margin: 1.65em 0 3.3em;
}
.trilogia-title {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700; text-transform: uppercase;
  font-size: clamp(32px, 4.4vw, 44px); line-height: 1; letter-spacing: -.02em;
  color: var(--bg); margin: 0;
}
.trilogia-title em {
  font-family: 'Palast Poster', Georgia, serif;
  font-weight: 300; font-style: italic; letter-spacing: .01em;
}
.trilogia-row { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width: 600px) { .trilogia-row { grid-template-columns: 1fr 1fr; gap: 28px; } }
.trilogia-thumb-inner { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; }
.trilogia-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .2s ease; }
.trilogia-block:hover .trilogia-thumb img { opacity: .85; }
.trilogia-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.3); color: #fff;
}
.trilogia-play svg { width: 32px; height: 32px; }
.btn-ghost-inv { background: var(--bg); color: var(--ink); border-color: var(--bg); align-self: flex-start; }
.trilogia-block:hover .btn-ghost-inv { opacity: .85; }
.trilogia-text { display: flex; flex-direction: column; justify-content: flex-start; gap: 24px; }
.trilogia-body { font-size: 15px; line-height: 1.6; color: rgba(238,237,240,.75); margin: 0; }
.trilogia-body strong { color: var(--bg); }
.trilogia-body .t-serif-inline { color: var(--bg); font-size: 1.06em; }
@media (max-width: 599px) {
  .trilogia-block { padding: 48px 28px 40px; gap: 28px; }
  .trilogia-text .btn-ghost { align-self: stretch; justify-content: center; }
}

/* ── Reel (link p/ YouTube sobre a faixa de marcas) ── */
.reel-link { position: relative; overflow: hidden; isolation: isolate; line-height: 0; text-decoration: none; }
.reel-link img { width: 100%; height: auto; display: block; border-radius: inherit; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .2s ease; }
.reel-link:hover img, .reel-link:focus-visible img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .reel-link img { transition: none; } .reel-link:hover img { transform: none; } }
.reel-link .trilogia-play { background: rgba(0,0,0,.3); transition: background .2s ease; }
.reel-link:hover .trilogia-play { background: rgba(0,0,0,.22); }
.reel-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.reel-over { flex-direction: column; gap: 22px; padding: 0 16px; text-align: center; }
.reel-cta {
  display: inline-block; background: #eeedf0; color: #191919;
  border-radius: var(--radius-pill); padding: 12px 22px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; line-height: 1.4;
  letter-spacing: .08em; text-transform: uppercase;
  transition: opacity .18s ease, box-shadow .3s ease;
}
.reel-link:hover .reel-cta { opacity: .85; box-shadow: 0 12px 30px rgba(0,0,0,.25); }

/* ── Case Zentinel (Trajetória) ── */
.case-block {
  display: flex; flex-direction: column; gap: 24px;
  background: var(--ink); color: var(--bg);
  border-radius: 16px;
  padding: 64px 56px 56px;
  margin: 1.65em 0 3.3em;
}
.case-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(238,237,240,.6);
}
.case-title {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700; text-transform: uppercase;
  font-size: clamp(32px, 4.4vw, 48px); line-height: 1; letter-spacing: -.02em;
  color: var(--bg); margin: 0; max-width: 20ch;
}
.case-title em {
  font-family: 'Palast Poster', Georgia, serif;
  font-weight: 300; font-style: italic; letter-spacing: .01em;
}
.case-body { font-size: 15px; line-height: 1.6; color: rgba(238,237,240,.75); margin: 0; max-width: 58ch; }
.case-body strong { color: var(--bg); }
.case-body .t-serif-inline { color: var(--bg); font-size: 1.06em; }
.case-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding: 28px 0; margin: 8px 0;
  border-top: 1px solid rgba(238,237,240,.18);
  border-bottom: 1px solid rgba(238,237,240,.18);
}
.case-stat { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.case-num {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700; font-size: clamp(40px, 6vw, 72px); line-height: .9; letter-spacing: -.02em;
  color: var(--bg);
}
.case-stat-label { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 16px; color: rgba(238,237,240,.8); }
.case-block .btn-ghost-inv { margin-top: 8px; }
@media (max-width: 599px) {
  .case-block { padding: 48px 28px 40px; gap: 20px; }
  .case-stats { gap: 14px; }
  .case-stat-label { font-size: 14px; }
  .case-block .btn-ghost { align-self: stretch; justify-content: center; }
}

/* ── Case: gráficos animados (calendário + barra) ── */
.case-num, .stat-num { font-variant-numeric: tabular-nums; }
.case-cal, .case-bar { width: 100%; max-width: 224px; margin-top: 18px; }
.case-cal { align-self: start; }
.case-cal-week, .case-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.case-cal-week { margin-bottom: 6px; font-family: var(--font-mono); font-size: 10px; text-align: center; color: rgba(238,237,240,.45); }
.case-cal-week b { font-weight: 500; }
.case-cal-grid i { position: relative; aspect-ratio: 1; border-radius: 3px; background: rgba(238,237,240,.07); transition: background .3s ease; }
.case-cal-grid i.is-on { background: rgba(238,237,240,.16); transition-delay: calc(var(--i) * 40ms); }
.case-cal-grid i.is-on::before, .case-cal-grid i.is-on::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 62%; height: 2px; border-radius: 2px; background: #eeedf0;
  transform: translate(-50%, -50%) rotate(45deg) scaleX(1);
}
.case-cal-grid i.is-on::after { transform: translate(-50%, -50%) rotate(-45deg) scaleX(1); }
.case-bar { display: flex; align-items: stretch; gap: 10px; height: auto; align-self: stretch; max-width: none; }
.case-bar-track { position: relative; width: 64px; border-radius: 8px; overflow: hidden; background: rgba(238,237,240,.12); }
.case-bar-track i { position: absolute; inset: 0; border-radius: 8px; background: #eeedf0; transform-origin: bottom; transform: scaleY(.82); }
.case-bar-track::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to top, transparent 0 calc(10% - 1px), rgba(25,25,25,.55) calc(10% - 1px) 10%);
}
.case-bar-scale { display: flex; flex-direction: column-reverse; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; color: rgba(238,237,240,.45); }
.case-stats.is-armed .case-cal-grid i.is-on { background: rgba(238,237,240,.07); }
.case-stats.is-armed .case-cal-grid i.is-on::before { transform: translate(-50%, -50%) rotate(45deg) scaleX(0); transition: transform .18s ease-out calc(var(--i) * 40ms); }
.case-stats.is-armed .case-cal-grid i.is-on::after { transform: translate(-50%, -50%) rotate(-45deg) scaleX(0); transition: transform .18s ease-out calc(var(--i) * 40ms + 90ms); }
.case-stats.is-armed .case-bar-track i { transform: scaleY(0); transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.case-stats.is-in .case-cal-grid i.is-on { background: rgba(238,237,240,.16); }
.case-stats.is-in .case-cal-grid i.is-on::before { transform: translate(-50%, -50%) rotate(45deg) scaleX(1); }
.case-stats.is-in .case-cal-grid i.is-on::after { transform: translate(-50%, -50%) rotate(-45deg) scaleX(1); }
.case-stats.is-in .case-bar-track i { transform: scaleY(.82); }
.case-stats { grid-template-rows: auto auto auto; row-gap: 0; }
.case-stats .case-stat { display: grid; grid-row: span 3; grid-template-rows: subgrid; align-content: start; gap: 8px; }
@media (max-width: 600px) {
  .case-stats { grid-template-columns: 1fr; gap: 36px; }
  .case-bar { min-height: 150px; }
}
