/* =========================================================
   Memorial Digital — Landing page
   Identidade do projeto: fundo #050505, superfícies #111/#171717,
   Inter, bordas translúcidas e o dourado do louro (#F1AE2B).
   ========================================================= */

:root {
  --bg: #050505;
  --bg-soft: #080808;
  --surface: #111111;
  --surface-2: #151515;
  --surface-card: #171717;

  --text: #ffffff;
  --muted: #8f8f8f;
  --muted-light: #b4b4b4;

  --gold: #f1ae2b;
  --gold-soft: rgba(241, 174, 43, 0.14);

  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);

  --radius-sm: 11px;
  --radius-md: 13px;
  --radius-lg: 15px;
  --radius-xl: 22px;
  --radius-2xl: 26px;

  --container: 1280px;
  --pad: clamp(20px, 4vw, 32px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-card: 0 24px 50px rgba(0, 0, 0, 0.35), 0 8px 22px rgba(0, 0, 0, 0.22);
  --shadow-floating: 0 40px 100px rgba(0, 0, 0, 0.55), 0 12px 28px rgba(0, 0, 0, 0.3);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--gold);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-sm);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}

.section-title {
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 16ch;
  margin-top: 18px;
}
.section-title em { font-size: 1.08em; }

/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.3s var(--ease-out),
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn i { transition: transform 0.3s var(--ease-out); }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn-lg { padding: 16px 26px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
}
/* brilho que atravessa o botão */
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(241, 174, 43, 0.45) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.7s var(--ease-out);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover i { transform: translateX(4px); }
  .btn-primary:hover { box-shadow: 0 16px 40px rgba(241, 174, 43, 0.25); }
  .btn-primary:hover::after { transform: translateX(110%); }
  .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.08); }
}
.btn:focus-visible { outline-offset: 4px; border-radius: 999px; }
.btn:focus-visible i { transform: translateX(4px); }
.btn:active { transform: scale(0.97); transition-duration: 0.1s; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.brand img { border-radius: 9px; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand small {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  position: relative;
  display: block;
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted-light);
  transition: color 0.25s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-current { color: var(--text); }
.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-current::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease-out);
}
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* ---------- Animação de abertura ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes stage-in {
  from { opacity: 0; transform: translateY(80px) scale(0.94); }
  to { opacity: 1; transform: none; }
}
@keyframes float-in {
  from { opacity: 0; transform: translateY(40px) scale(0.9); }
  to { opacity: 1; transform: none; }
}

.intro {
  opacity: 0;
  animation: rise 0.9s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 110ms + 120ms);
}

/* ---------- Hero ---------- */
.hero {
  --hp: 0;
  position: relative;
  padding-top: clamp(112px, 15vh, 150px);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
  position: absolute;
  left: 50%;
  top: 34%;
  width: min(1100px, 120vw);
  aspect-ratio: 1;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(241, 174, 43, 0.12) 0%, rgba(255, 255, 255, 0.04) 30%, transparent 62%);
  opacity: calc(1 - var(--hp) * 0.6);
}
.hero-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  height: 1px;
  left: 0;
  right: 0;
}
.hl-1 { top: 58%; }
.hl-2 { top: 0; bottom: 0; left: 50%; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.06), transparent); }

.hero-copy {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(calc(var(--hp) * -60px));
  opacity: calc(1 - var(--hp) * 0.9);
}
.hero-title {
  margin-top: 24px;
  font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.96;
}
.hero-title .line { display: block; }
.hero-title em { font-size: 1.1em; padding-right: 0.04em; }
.hero-lead {
  max-width: 58ch;
  margin-top: 22px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--muted-light);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-stage {
  position: relative;
  width: min(1180px, 92vw);
  margin: clamp(44px, 7vh, 72px) auto 0;
  perspective: 1600px;
  opacity: 0;
  animation: stage-in 1.3s var(--ease-out) 0.55s forwards;
}
.stage-inner {
  position: relative;
  transform-origin: 50% 0%;
  transform:
    rotateX(calc((1 - var(--hp)) * 16deg))
    scale(calc(0.9 + var(--hp) * 0.12))
    translateY(calc(var(--hp) * -30px));
  will-change: transform;
}

.browser {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-floating);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  background: #0d0d0d;
  border-bottom: 1px solid var(--border);
}
.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.browser-bar p {
  margin: 0 auto;
  padding: 3px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  color: var(--muted);
  transform: translateX(-20px);
}
.hero-browser img { width: 100%; }

.hero-browser::after {
  /* esmaece a base da tela para fundir com a página */
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(transparent, rgba(5, 5, 5, 0.85));
  pointer-events: none;
}

.float-card {
  position: absolute;
  width: clamp(92px, 13vw, 170px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-floating);
  background: var(--surface);
  opacity: 0;
  animation: float-in 1.1s var(--ease-out) forwards;
}
.float-card img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.float-card figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(6px);
  font-size: 0.75rem;
  font-weight: 700;
}
.fc-1 { left: -5%; top: 18%; animation-delay: 0.95s; rotate: -6deg; }
.fc-2 { right: -4%; top: 6%; animation-delay: 1.1s; rotate: 5deg; }
.fc-3 { right: 8%; bottom: -8%; animation-delay: 1.25s; rotate: -3deg; width: clamp(80px, 10vw, 130px); }

.float-card[data-depth] {
  translate: 0 calc(var(--hp) * var(--depth-px, -120px));
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  opacity: calc(1 - var(--hp) * 4);
  z-index: 2;
}
.scroll-hint span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--text);
  animation: hint 1.8s var(--ease) infinite;
}
@keyframes hint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Reveal genérico ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 120ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Manifesto ---------- */
.manifesto {
  padding: clamp(110px, 16vh, 180px) 0 clamp(80px, 12vh, 130px);
  position: relative;
}
.manifesto-kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--muted);
}
.manifesto-kicker.accent { color: var(--gold); margin-top: 34px; text-align: right; }
.manifesto-text {
  margin-top: 26px;
  font-size: clamp(1.6rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.035em;
  max-width: 24ch;
  max-width: 1080px;
}
.manifesto-text .w {
  opacity: 0.16;
  transition: opacity 0.4s ease;
}
.manifesto-text .w.on { opacity: 1; }

.timeline-strip {
  margin-top: clamp(60px, 10vh, 110px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.timeline-track {
  --sp: 0;
  position: relative;
  display: flex;
  gap: clamp(16px, 3vw, 40px);
  width: max-content;
  padding: 0 10vw 30px;
  transform: translateX(calc(var(--sp) * -1 * var(--strip-shift, 600px)));
  will-change: transform;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.04));
}
.tl-item {
  position: relative;
  width: clamp(130px, 16vw, 210px);
  flex: none;
}
.tl-item:nth-child(even) { margin-top: 48px; }
.tl-item img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  filter: grayscale(0.85) contrast(1.05);
  transition: filter 0.6s ease;
}
.tl-item:hover img { filter: none; }
.tl-item span {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted-light);
}
.tl-brand img { object-fit: contain; background: #edf0f4; filter: none; padding: 18%; }
.tl-brand span { color: var(--gold); }

/* ---------- Scrollytelling ---------- */
.story {
  position: relative;
  padding: clamp(80px, 12vh, 140px) 0 clamp(60px, 10vh, 120px);
  background:
    radial-gradient(1200px 600px at 20% 40%, rgba(241, 174, 43, 0.05), transparent 60%),
    var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.story-head { margin-bottom: clamp(30px, 6vh, 60px); }

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.story-sticky {
  position: sticky;
  top: 13vh;
  height: 74vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}

.story-frame {
  position: relative;
  perspective: 1400px;
}
.story-browser {
  transition: transform 1s var(--ease-out);
  transform-origin: 50% 50%;
}
.story-screens {
  position: relative;
  aspect-ratio: 16 / 9.4;
  overflow: hidden;
  background: #0a0a0a;
}
.screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s ease, transform 0.9s var(--ease-out);
}
.screen.is-active { opacity: 1; transform: scale(1); }
.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transform-origin: 0 0;
  transition: transform 1.1s var(--ease-out);
}

/* Enquadramentos por etapa */
.story-frame[data-step="0"] .story-browser { transform: rotateY(-9deg) rotateX(4deg) scale(0.96); }
.story-frame[data-step="0"] [data-screen="0"] img { transform: scale(1); }

.story-frame[data-step="1"] .story-browser { transform: rotateY(0) rotateX(0) scale(1); }
.story-frame[data-step="1"] [data-screen="1"] img { transform: scale(1.45) translate(-12%, -8%); }

.story-frame[data-step="2"] .story-browser { transform: rotateY(9deg) rotateX(3deg) scale(0.98); }
.story-frame[data-step="2"] [data-screen="2"] img { transform: scale(1.55) translate(-38%, -4%); }

.story-frame[data-step="3"] .story-browser { transform: rotateY(0) rotateX(0) scale(1.03); }

.screen-360 img {
  /* panorama 360° (3000×840): ocupa a altura e desliza pela largura */
  width: auto;
  height: 100%;
  max-width: none;
  aspect-ratio: 3000 / 840;
  object-fit: cover;
}
.story-frame[data-step="3"] .screen-360 img { animation: pan 24s ease-in-out infinite alternate; }
@keyframes pan {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% + var(--pano-view, 47.6%))); }
}
.pano-hint {
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(30, 30, 30, 0.78);
  font-size: 0.78rem;
  color: #fff;
}

.story-progress {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.story-progress li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.4s ease, border-color 0.4s ease, background-color 0.4s ease;
}
.story-progress li span { font-size: 0.7rem; color: var(--muted); transition: color 0.4s ease; }
.story-progress li.is-active {
  color: var(--text);
  border-color: rgba(241, 174, 43, 0.5);
  background: var(--gold-soft);
}
.story-progress li.is-active span { color: var(--gold); }

.story-steps { padding-bottom: 10vh; }
.step {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.28;
  transform: translateX(14px);
  transition: opacity 0.6s ease, transform 0.8s var(--ease-out);
}
.step.is-active { opacity: 1; transform: none; }
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--gold);
}
.step h3 {
  margin-top: 14px;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.step p {
  margin-top: 16px;
  color: var(--muted-light);
  font-size: 1.04rem;
  max-width: 46ch;
}
.step-points { margin-top: 22px; display: grid; gap: 10px; }
.step-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}
.step-points i {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface-card);
  border: 1px solid var(--border-strong);
  color: var(--gold);
  font-size: 0.85rem;
}
.step-media { display: none; }

/* ---------- Recursos (bento) ---------- */
.features { padding: clamp(100px, 15vh, 160px) 0; }
.features-head { margin-bottom: clamp(40px, 7vh, 70px); }

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(180deg, var(--surface-card), var(--surface));
  border: 1px solid var(--border);
  overflow: hidden;
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.6s var(--ease-out),
    border-color 0.3s ease,
    box-shadow 0.4s ease;
}
.card.reveal.is-visible:hover,
.card.reveal.is-visible:focus-within {
  transform: translateY(-6px);
  border-color: rgba(241, 174, 43, 0.35);
  box-shadow: var(--shadow-card);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 22px;
  transition: transform 0.5s var(--ease-out);
}
.card:hover .card-icon { transform: rotate(-8deg) scale(1.08); }
.card h3 { font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.2; }
.card p { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }

.card-lg {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.card-lg .card-media {
  flex: 1;
  min-height: 260px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.card-media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center 38%;
  will-change: transform;
}
.card-lg .card-body { padding: 28px; }

.card-wide {
  grid-column: span 4;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 28px;
  padding: 0 0 0 32px;
}
.card-wide .card-body { padding: 32px 0; }
.card-wide .card-media {
  height: 100%;
  min-height: 240px;
  max-height: 320px;
  overflow: hidden;
  border-left: 1px solid var(--border);
}

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chip-row span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 0.75rem;
  color: var(--muted-light);
}

/* ---------- Processo ---------- */
.process {
  position: relative;
  padding: clamp(110px, 16vh, 180px) 0;
  overflow: hidden;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}
.process-layers { position: absolute; inset: 0; pointer-events: none; }
.layer {
  position: absolute;
  width: clamp(140px, 18vw, 260px);
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  opacity: 0.22;
  filter: grayscale(1);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 45%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 45%, transparent 75%);
  will-change: transform;
}
.l-1 { left: -3%; top: 10%; }
.l-2 { right: -2%; top: 4%; }
.l-3 { right: 12%; bottom: -6%; width: clamp(110px, 12vw, 180px); }

.process-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.process-inner .section-title { max-width: none; }

.process-list {
  margin-top: clamp(40px, 7vh, 70px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
  width: 100%;
  counter-reset: p;
}
.process-list li {
  padding: 30px;
  border-radius: var(--radius-2xl);
  background: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
}
.p-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
}
.process-list h3 { margin-top: 16px; font-size: 1.2rem; letter-spacing: -0.02em; }
.process-list p { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: clamp(110px, 16vh, 170px) 0;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1200px, 130vw);
  aspect-ratio: 2 / 1;
  translate: -50% -40%;
  background: radial-gradient(ellipse at center, rgba(241, 174, 43, 0.16), transparent 62%);
  pointer-events: none;
}
.cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.cta-title {
  margin-top: 18px;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}
.cta-copy > p:not(.eyebrow) { margin-top: 22px; color: var(--muted-light); max-width: 46ch; }
.cta-points { margin-top: 26px; display: grid; gap: 10px; }
.cta-points li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.cta-points i { color: var(--gold); }
.wa-card {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-2xl);
  background: linear-gradient(180deg, var(--surface-card), var(--surface));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-floating);
}
.wa-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.wa-avatar img { width: 44px; height: 44px; border-radius: 50%; }
.wa-head strong { display: block; font-size: 1rem; }
.wa-head small { color: var(--muted); font-size: 0.8rem; }
.wa-logo { margin-left: auto; font-size: 1.6rem; color: #25d366; }

.wa-chat {
  display: grid;
  gap: 12px;
  padding: 24px 0;
}
.bubble {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.bubble.in { background: #1f1f1f; border-bottom-left-radius: 4px; color: var(--muted-light); }
.bubble.out { justify-self: end; background: #144d37; border-bottom-right-radius: 4px; }
.wa-card.is-visible .bubble { opacity: 1; transform: none; }
.wa-card.is-visible .bubble.in { transition-delay: 0.35s; }
.wa-card.is-visible .bubble.out { transition-delay: 0.9s; }

.btn-whatsapp {
  background: #25d366;
  color: #04200f;
  box-shadow: 0 12px 34px rgba(37, 211, 102, 0.22);
}
.btn-whatsapp .fa-whatsapp { font-size: 1.25rem; }
@media (hover: hover) {
  .btn-whatsapp:hover { background: #33e077; box-shadow: 0 16px 40px rgba(37, 211, 102, 0.35); }
}
.btn .fa-whatsapp { transform: none !important; }
.wa-note { margin-top: 14px; text-align: center; font-size: 0.85rem; color: var(--muted); }

/* ---------- Rodapé ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px 40px;
  align-items: center;
}
.footer-inner p { color: var(--muted); font-size: 0.9rem; max-width: 46ch; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-inner nav a { color: var(--muted-light); font-size: 0.9rem; transition: color 0.25s ease; }
.footer-inner nav a:hover, .footer-inner nav a:focus-visible { color: var(--text); }
.footer-inner small { grid-column: 1 / -1; color: var(--muted); font-size: 0.8rem; }

/* ---------- CTA fixo no celular ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 40;
  transform: translateY(140%);
  transition: transform 0.45s var(--ease-out);
}
.mobile-cta .btn { box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6); }
.mobile-cta.is-visible { transform: none; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-lg { grid-row: auto; }
  .card-wide { grid-column: span 2; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px var(--pad) 20px;
    background: rgba(5, 5, 5, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s var(--ease-out), visibility 0s 0.3s;
  }
  .main-nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    visibility: visible;
    transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
  }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .main-nav a::after { display: none; }
  .site-header:has(.main-nav.is-open) { background: rgba(5, 5, 5, 0.96); }

  /* Scrollytelling vira blocos verticais */
  .story-grid { grid-template-columns: 1fr; }
  .story-sticky { display: none; }
  .story-steps { padding-bottom: 0; display: grid; gap: 64px; }
  .step { min-height: 0; opacity: 1; transform: none; }
  .step.reveal { opacity: 0; transform: translateY(32px); }
  .step.reveal.is-visible { opacity: 1; transform: none; }
  .step-media {
    display: block;
    margin-top: 26px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-card);
  }
  .step-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
  .step-media img[src*="cena-360"] { object-position: 42% center; }

  .process-list { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }

  .mobile-cta { display: block; }
  body { padding-bottom: 76px; }
}

@media (max-width: 640px) {
  .hero { padding-top: 116px; }
  .hero .eyebrow { font-size: 0.64rem; letter-spacing: 0.08em; gap: 8px; }
  .hero-title { letter-spacing: -0.05em; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-stage { width: 100%; padding-inline: 14px; }
  .fc-1 { left: 2%; top: auto; bottom: -14%; }
  .fc-2 { right: 2%; top: -14%; }
  .fc-3 { display: none; }
  .browser-bar { height: 28px; padding: 0 10px; }
  .browser-bar span { width: 7px; height: 7px; }
  .browser-bar p { font-size: 0.62rem; }

  .bento { grid-template-columns: 1fr; }
  .card-lg, .card-wide { grid-column: auto; }
  .card-wide { grid-template-columns: 1fr; padding: 0; }
  .card-wide .card-body { padding: 28px 28px 0; }
  .card-wide .card-media { border-left: 0; border-top: 1px solid var(--border); min-height: 200px; }

  .manifesto-kicker.accent { text-align: left; }
  .layer { opacity: 0.08; }
}

/* =========================================================
   Movimento reduzido: conteúdo disponível de imediato
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .intro,
  .hero-stage,
  .float-card,
  .reveal,
  .step,
  .step.reveal { opacity: 1 !important; transform: none !important; }
  .hero { --hp: 0.5 !important; }
  .stage-inner { transform: none !important; }
  .float-card[data-depth] { translate: none !important; }
  .hero-copy { transform: none !important; opacity: 1 !important; }
  .manifesto-text .w { opacity: 1 !important; }
  .timeline-strip { overflow-x: auto; }
  .timeline-track { transform: none !important; }
  .story-frame[data-step="3"] .screen-360 img { animation: none !important; }
  .scroll-hint { display: none; }
  .btn:hover, .btn:active, .card.reveal.is-visible:hover { transform: none !important; }
}
