/* ==========================================================================
   Hero cinematográfico (2026-11-19) — usado apenas em /house-cleaning/.
   Recriação em CSS/JS puro de um componente de referência (React + GSAP),
   sem dependências. A rolagem controla a animação (js/cinematic-hero.js).

   Dois modos:
   - Padrão (celular, "reduzir movimento", sem JS): layout estático, sem
     rolagem travada. Tudo visível.
   - html.cine-live (>= 768px de largura, >= 640px de altura, sem
     prefers-reduced-motion): palco fixo na tela e animação por rolagem.
   ========================================================================== */

.cine {
  position: relative;
  color: var(--color-text-primary);
}

/* ---------- Palco ---------- */
.cine__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  padding: var(--space-5) var(--container-padding-inline) var(--space-8);
  overflow: hidden;
  background:
    radial-gradient(60% 46% at 50% 0%, var(--lp-glow, rgba(46, 123, 255, 0.2)) 0%, transparent 72%),
    var(--color-bg);
}

.cine__grain {
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)"/></svg>');
}

.cine__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-size: 60px 60px;
  background-image:
    linear-gradient(to right, rgba(245, 247, 251, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 247, 251, 0.05) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
}

/* ---------- Texto de abertura ---------- */
.cine__intro {
  position: relative;
  z-index: 10;
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: var(--space-4);
}

.cine__title {
  margin: var(--space-4) 0 0;
  font-size: clamp(2rem, 8.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.cine__line {
  display: block;
}

.cine__line--1 {
  color: var(--color-text-primary);
  text-shadow: 0 10px 30px rgba(245, 247, 251, 0.12), 0 2px 4px rgba(245, 247, 251, 0.08);
}

.cine__line--2 {
  background: linear-gradient(180deg, #ffffff 0%, rgba(245, 247, 251, 0.46) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transform: translateZ(0);
  filter: drop-shadow(0 10px 20px rgba(245, 247, 251, 0.15)) drop-shadow(0 2px 4px rgba(245, 247, 251, 0.1));
}

.cine__hint {
  display: none;
  margin: var(--space-6) 0 0;
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

/* ---------- Final (CTA) ---------- */
.cine__finale {
  position: relative;
  z-index: 10;
  order: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cine__finale h2 {
  margin: 0 0 var(--space-4);
  max-width: 18ch;
  font-size: clamp(1.9rem, 6vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 0%, rgba(245, 247, 251, 0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.cine__finale p {
  margin: 0 auto var(--space-6);
  max-width: 46ch;
  font-size: var(--text-body-lg);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.cine__buttons {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-4);
  width: 100%;
  max-width: 340px;
}

.cine-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 28px;
  border-radius: 1.25rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), background 0.4s;
}

.cine-btn svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.cine-btn:focus-visible {
  outline: 2px solid var(--color-accent-cyan);
  outline-offset: 3px;
}

.cine-btn--light {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  color: #0f172a;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.1), 0 12px 24px -4px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px #fff, inset 0 -3px 6px rgba(0, 0, 0, 0.06);
}

.cine-btn--light:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 6px 12px -2px rgba(0, 0, 0, 0.15), 0 20px 32px -6px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px #fff, inset 0 -3px 6px rgba(0, 0, 0, 0.06);
}

.cine-btn--light:active {
  transform: translateY(1px);
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

.cine-btn--dark {
  background: linear-gradient(180deg, #27272a 0%, #18181b 100%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0, 0, 0, 0.6), 0 12px 24px -4px rgba(0, 0, 0, 0.9),
    inset 0 1px 1px rgba(255, 255, 255, 0.15), inset 0 -3px 6px rgba(0, 0, 0, 0.8);
}

.cine-btn--dark:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, #3f3f46 0%, #27272a 100%);
}

.cine-btn--dark:active {
  transform: translateY(1px);
  background: #18181b;
}

/* Selos flutuantes de vidro */
.cbadge {
  position: absolute;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 25px 50px -12px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.2),
    inset 0 -1px 1px rgba(0, 0, 0, 0.5);
}

.cbadge--a { top: 24px; left: -15px; }
.cbadge--b { bottom: 48px; right: -15px; }

.cbadge__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.cbadge__ico svg {
  width: 15px;
  height: 15px;
}

.cbadge__ico--blue {
  color: #93c5fd;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.25), rgba(30, 58, 138, 0.1));
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.cbadge__ico--indigo {
  color: #a5b4fc;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.25), rgba(49, 46, 129, 0.1));
  border: 1px solid rgba(129, 140, 248, 0.3);
}

.cbadge p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.cbadge small {
  display: block;
  margin-top: 1px;
  font-size: 0.62rem;
  font-weight: 500;
  color: rgba(191, 219, 254, 0.55);
}

.cine svg.i {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Cartão azul ---------- */
.cine__layer {
  position: relative;
  z-index: 20;
  order: 2;
}

.cine__card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-4);
  border-radius: 32px;
  background: linear-gradient(145deg, #162c6d 0%, #0a101d 100%);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9), 0 20px 40px -20px rgba(0, 0, 0, 0.8),
    inset 0 1px 2px rgba(255, 255, 255, 0.2), inset 0 -2px 4px rgba(0, 0, 0, 0.8);
}

.cine__sheen {
  position: absolute;
  inset: 0;
  z-index: 50;
  border-radius: inherit;
  pointer-events: none;
  mix-blend-mode: screen;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.06) 0%, transparent 40%);
}

.cine__copy {
  order: 1;
  position: relative;
  z-index: 20;
  text-align: center;
  max-width: 34rem;
}

.cine__copy h3 {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.4rem, 5.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #fff;
}

.cine__copy p {
  margin: 0 auto;
  font-size: var(--text-body);
  line-height: 1.6;
  color: rgba(219, 234, 254, 0.72);
}

.cine__copy strong {
  color: #fff;
  font-weight: 700;
}

/* ---------- Painel da estrutura (infográfico) ---------- */
.cine__visual {
  order: 2;
  position: relative;
  z-index: 10;
  width: 100%;
}

/* Base (celular): lista vertical, sem canvas */
.board {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  width: 100%;
  padding: var(--space-5) var(--space-4);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.board__scale { display: contents; }
.board__frame { display: none; }
.board__path { display: none; }

.board__cap {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(191, 219, 254, 0.6);
}

.board__stages,
.board__pillars {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.board__pillars {
  grid-template-columns: 1fr 1fr;
}

.node {
  display: flex;
  align-items: center;
  gap: 12px;
}

.node__dot {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #e8f2ff;
  background: linear-gradient(145deg, #2e7bff 0%, #0b3fe0 100%);
  box-shadow: 0 0 0 4px rgba(46, 123, 255, 0.18), 0 10px 20px -6px rgba(11, 63, 224, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.node__label {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.node__label small {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(191, 219, 254, 0.55);
}

.node--last .node__dot {
  background: linear-gradient(145deg, #28e1ec 0%, #2e7bff 100%);
  box-shadow: 0 0 0 4px rgba(40, 225, 236, 0.2), 0 10px 20px -6px rgba(40, 225, 236, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.ptile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 10px 20px rgba(0, 0, 0, 0.25);
}

.ptile__num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--color-accent-cyan);
}

.ptile b {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.ptile small {
  font-size: 0.7rem;
  line-height: 1.35;
  color: rgba(191, 219, 254, 0.62);
}

.cine__note {
  margin: 0;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(219, 234, 254, 0.5);
}

/* Telas >= 768px: canvas fixo 680x410, escalado por --board-scale (definido no JS) */
@media (min-width: 768px) {
  .cine__visual {
    height: calc(470px * var(--board-scale, 0.8));
    display: grid;
    place-items: center;
  }

  .board__scale {
    display: block;
    position: relative;
    width: 680px;
    height: 410px;
    transform: scale(var(--board-scale, 0.8));
    transform-origin: center center;
  }

  .board {
    display: block;
    width: 680px;
    height: 410px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    will-change: transform;
  }

  .board__frame {
    display: block;
    position: absolute;
    inset: -30px -28px -30px -28px;
    border-radius: 28px;
    background:
      linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 32px 32px,
      linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 32px 32px,
      linear-gradient(145deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.14);
  }

  .board__cap {
    position: absolute;
    left: 0;
  }

  .board__cap--1 { top: 0; }
  .board__cap--2 { top: 276px; }

  .board__path {
    display: block;
    position: absolute;
    inset: 0;
    width: 680px;
    height: 410px;
    overflow: visible;
    pointer-events: none;
  }

  .board__path path {
    fill: none;
    stroke-linecap: round;
  }

  .board__path .p-track { stroke: rgba(255, 255, 255, 0.12); stroke-width: 3; stroke-dasharray: 2 7; }
  .board__path .p-bar {
    stroke: url(#cinePathGrad);
    stroke-width: 3.5;
    stroke-dasharray: 1 1;
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 6px rgba(40, 225, 236, 0.55));
  }

  .board__stages,
  .board__pillars { display: contents; }

  .node {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 0;
    height: 0;
    display: block;
    will-change: transform, opacity;
  }

  .node__dot {
    position: absolute;
    left: -22px;
    top: -22px;
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }

  .node__label {
    position: absolute;
    top: 30px;
    left: -52px;
    width: 104px;
    align-items: center;
    text-align: center;
    font-size: 0.88rem;
  }

  .ptile {
    position: absolute;
    left: var(--x);
    top: 304px;
    width: 152px;
    height: 106px;
    padding: 12px 13px;
    will-change: transform, opacity;
  }

  .cine__note {
    position: absolute;
    left: 50%;
    top: calc(100% + 40px);
    transform: translateX(-50%);
    white-space: nowrap;
  }

  .cbadge--a { top: 52px; left: 0; }
  .cbadge--b { top: 196px; right: 0; bottom: auto; left: auto; }
}

/* ---------- Telas >= 768px estáticas (reduzir movimento no desktop) ---------- */
@media (min-width: 768px) {
  .cine__stage { padding-top: var(--space-6); }
  .cine__title { font-size: clamp(2.6rem, 6vw, 4.4rem); }
  .cine__card { padding: var(--space-7) var(--space-6) calc(var(--space-7) + 24px); }
  .cine__buttons { flex-direction: row; max-width: none; justify-content: center; }
  .cbadge { display: flex; padding: 14px; }
}

@media (max-width: 767.98px) {
  .cbadge { display: none; }
}

/* ==========================================================================
   MODO CINEMATOGRÁFICO (rolagem controla a animação)
   Ativado por js/cinematic-hero.js (e por um script mínimo no <head>).
   ========================================================================== */
html.cine-live .cine {
  height: calc(100svh + var(--cine-scroll, 3200px));
  margin-top: calc(var(--cine-offset, 88px) * -1);
}

html.cine-live .cine__stage {
  position: sticky;
  top: 0;
  display: block;
  height: 100svh;
  padding: 0;
  perspective: 1500px;
  background: var(--color-bg);
}

html.cine-live .cine__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(60% 50% at 50% 28%, var(--lp-glow, rgba(46, 123, 255, 0.2)) 0%, transparent 72%);
}

html.cine-live .cine__intro,
html.cine-live .cine__finale {
  position: absolute;
  inset: 0;
  justify-content: center;
  padding: 0 16px;
  will-change: transform, opacity, filter;
}

html.cine-live .cine__finale {
  z-index: 10;
  opacity: 0;
  visibility: hidden;
}

html.cine-live .cine__intro {
  padding-top: 0;
}

html.cine-live .cine__title {
  margin-top: var(--space-4);
  font-size: clamp(2.4rem, 5.6vw, 5.2rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
}

html.cine-live .cine__hint {
  display: block;
}

html.cine-live .cine__finale p {
  margin-bottom: var(--space-7);
}

html.cine-live .cine__finale h2 {
  max-width: 20ch;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
}

html.cine-live .cine__layer {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  perspective: 1500px;
}

html.cine-live .cine__card {
  flex: none;
  width: 85%;
  height: 85%;
  padding: 24px 16px;
  border-radius: 40px;
  justify-content: space-evenly;
  pointer-events: auto;
  transform: translate3d(0, 120vh, 0);
  will-change: transform, width, height;
}

html.cine-live .cine__visual {
  will-change: transform, opacity;
}

html.cine-live .cine__visual,
html.cine-live .cine__copy,
html.cine-live .cbadge,
html.cine-live .node,
html.cine-live .ptile {
  opacity: 0;
}

/* Abertura: entrada do título (equivalente ao timeline de introdução) */
html.cine-live .cine__line--1 {
  animation: cineLine1 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

html.cine-live .cine__line--2 {
  animation: cineLine2 1.4s cubic-bezier(0.76, 0, 0.24, 1) 1.1s both;
}

html.cine-live .cine__hint {
  animation: cineFade 1.2s ease 2.2s both;
}

@keyframes cineLine1 {
  from { opacity: 0; transform: translateY(60px) scale(0.85) rotateX(-20deg); filter: blur(20px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes cineLine2 {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0% 0 0); }
}

@keyframes cineFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Desktop largo: cartão em 2 colunas (texto | painel da estrutura) */
@media (min-width: 1024px) {
  html.cine-live .cine__card {
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
    /* conteúdo limitado a ~1240px e centralizado; o cartão azul continua em tela cheia */
    padding: 0 max(48px, calc((100% - 1240px) / 2));
    justify-content: stretch;
  }

  html.cine-live .cine__copy {
    text-align: left;
    max-width: none;
  }

  html.cine-live .cine__copy h3 {
    margin-bottom: 20px;
    font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  }

  html.cine-live .cine__copy p {
    margin: 0;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
  }
}

/* Telas médias: painel abaixo de um título curto */
@media (min-width: 768px) and (max-width: 1023.98px) {
  html.cine-live .cine__copy p { display: none; }
  html.cine-live .cine__card { padding-top: 104px; padding-bottom: 56px; }
}

/* Acessibilidade: com "reduzir movimento" o modo cinematográfico nunca liga
   (o JS e o script do <head> respeitam a mesma condição). Esta regra é só um
   reforço para o caso de a classe ficar no <html>. */
@media (prefers-reduced-motion: reduce) {
  html.cine-live .cine__line--1,
  html.cine-live .cine__line--2,
  html.cine-live .cine__hint { animation: none; }
}

/* ==========================================================================
   Celular (< 768px): o efeito cinematográfico também roda aqui (2026-11-20).
   O palco fixo, a subida do cartão e a entrada do conteúdo são os mesmos do
   desktop; muda só a composição: título no alto, cartão compacto (jornada em
   2 colunas + 4 pilares em 2x2) e dica de rolagem na base da tela.
   ========================================================================== */

/* `clip` evita criar rolagem própria no body (mantém o palco fixo funcionando
   em navegadores de celular); onde não há suporte, vale o `hidden` do base.css */
html.cine-live body { overflow-x: clip; }

@keyframes cineBounce {
  0%, 100% { transform: translateY(0) rotate(45deg); opacity: 0.5; }
  50% { transform: translateY(6px) rotate(45deg); opacity: 1; }
}

@media (max-width: 767.98px) {
  /* Layout estático (sem efeito): menos espaço entre o menu e o primeiro bloco */
  .cine__stage { padding-top: var(--space-2); gap: var(--space-6); }
  .cine__intro { padding-top: 0; }
  .cine__title { margin-top: var(--space-3); }

  /* Abertura */
  html.cine-live .cine__title {
    margin-top: var(--space-3);
    font-size: clamp(2.2rem, 10.4vw, 2.9rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
  }

  html.cine-live .cine__intro {
    justify-content: flex-start;
    padding-top: calc(var(--cine-offset, 88px) + 14px);
  }

  html.cine-live .cine__hint {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(30px + env(safe-area-inset-bottom, 0px));
    margin: 0;
    text-align: center;
  }

  html.cine-live .cine__hint::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: 12px auto 0;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    animation: cineBounce 1.6s ease-in-out infinite;
  }

  /* Cartão: conteúdo começa abaixo do menu e fica centrado na altura que sobra */
  html.cine-live .cine__card {
    justify-content: center;
    gap: 14px;
    padding: calc(var(--cine-offset, 88px) + 2px) 14px 22px;
  }

  html.cine-live .cine__copy h3 { margin: 0; font-size: 1.22rem; line-height: 1.18; }
  html.cine-live .cine__copy p { display: none; }

  /* Painel compacto */
  html.cine-live .board { gap: 12px; padding: 14px 12px 12px; border-radius: 20px; }
  html.cine-live .board__cap { font-size: 0.62rem; letter-spacing: 0.14em; }

  html.cine-live .board__stages {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    gap: 8px 12px;
  }

  html.cine-live .node { gap: 9px; }
  html.cine-live .node__dot { width: 28px; height: 28px; font-size: 0.68rem; box-shadow: 0 0 0 3px rgba(46, 123, 255, 0.18), 0 6px 12px -6px rgba(11, 63, 224, 0.7); }
  html.cine-live .node__label { font-size: 0.84rem; }
  html.cine-live .node__label small { display: none; }

  html.cine-live .board__pillars { gap: 8px; }
  html.cine-live .ptile { gap: 2px; padding: 9px 10px; border-radius: 12px; }
  html.cine-live .ptile b { font-size: 0.72rem; }
  html.cine-live .ptile small { display: none; }
  html.cine-live .cine__note { font-size: 0.6rem; }

  /* CTA final */
  html.cine-live .cine__finale h2 { font-size: clamp(1.9rem, 8.4vw, 2.5rem); }
  html.cine-live .cine__finale p { margin-bottom: var(--space-6); font-size: 1rem; }
  html.cine-live .cine__buttons { width: 100%; max-width: 320px; }
}

/* Tablet (768-1023px): menu mais enxuto até caber o menu completo */
@media (min-width: 768px) and (max-width: 1023.98px) {
  html.cine-live .cine__intro { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html.cine-live .cine__hint::after { animation: none; }
}

/* A seção do Hero não deve herdar o respiro vertical padrão das seções
   (96px em cima e embaixo): ele criava um vão sob o menu e empurrava o palco fixo. */
main > section.cine { padding: 0; }

/* ==========================================================================
   Foto de house cleaning semitransparente em cada etapa do Hero (2026-11-20)
   abertura (cozinha), cartão azul (bancada sendo limpa) e CTA final (sala).
   A foto acompanha a animação da etapa (fica dentro do mesmo bloco).
   ========================================================================== */
.cine__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  mix-blend-mode: luminosity;
}

.cine__photo--intro,
.cine__photo--finale {
  opacity: 0.2;
  -webkit-mask-image: radial-gradient(75% 70% at 50% 50%, #000 30%, transparent 100%);
  mask-image: radial-gradient(75% 70% at 50% 50%, #000 30%, transparent 100%);
}

.cine__photo--card { opacity: 0.16; border-radius: inherit; }

.cine__intro > :not(.cine__photo),
.cine__finale > :not(.cine__photo) { position: relative; z-index: 1; }

html.cine-live .cine__hint { z-index: 1; }

/* "Role para ver como funciona": mais destaque e piscando (pedido do owner, 2026-11-20) */
html.cine-live .cine__hint {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #FFFFFF;
  text-shadow: 0 0 18px rgba(40, 225, 236, 0.7), 0 0 4px rgba(40, 225, 236, 0.5);
  animation: cineFade 1.2s ease 2.2s both, cineHintPulse 1.8s ease-in-out 3.4s infinite;
}

html.cine-live .cine__hint::after {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  margin: 12px auto 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: cineBounce 1.6s ease-in-out infinite;
}

@keyframes cineHintPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@media (prefers-reduced-motion: reduce) {
  html.cine-live .cine__hint,
  html.cine-live .cine__hint::after { animation: none; }
}

/* CTA final do Hero: 3 frases curtas, uma por linha (2026-11-20) */
.cine__finale-title span { display: block; }
.cine__finale .cine__finale-title,
html.cine-live .cine__finale .cine__finale-title { max-width: none; }
