/* =========================================================
   Seções
   ========================================================= */
.section {
  position: relative;
  padding-block: var(--section-y);
  background: var(--night-1);
}

.section-raised {
  background:
    radial-gradient(900px 420px at 85% 50%, rgba(159, 184, 208, 0.05), transparent 70%),
    var(--night-2);
}

/* Cume de montanha no topo das seções elevadas */
.section-raised::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -59px;
  height: 60px;
  background: var(--night-2);
  clip-path: polygon(0 100%, 0 70%, 6% 40%, 11% 62%, 18% 22%, 25% 55%, 31% 35%, 38% 68%, 46% 18%, 53% 50%, 60% 30%, 67% 60%, 74% 26%, 81% 58%, 88% 38%, 94% 64%, 100% 44%, 100% 100%);
  pointer-events: none;
}

.section-head {
  max-width: 860px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head.split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-head.split > div:first-child {
  max-width: 760px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 2.5rem;
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 78% 30%, rgba(255, 220, 170, 0.07), transparent 65%),
    linear-gradient(180deg, #03050a 0%, #070b13 45%, #0b111b 75%, var(--night-1) 100%);
  isolation: isolate;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.night-sky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.moon-halo {
  position: absolute;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  right: max(-14vw, -180px);
  top: 50%;
  transform: translateY(-62%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 200, 0.22) 0%, rgba(255, 200, 140, 0.08) 32%, transparent 62%);
  animation: halo-breathe 7s ease-in-out infinite;
}

@keyframes halo-breathe {
  50% { opacity: 0.7; scale: 1.05; }
}

.moon-scene {
  position: absolute;
  right: max(-4vw, -60px);
  bottom: 0;
  height: min(80%, 780px);
  width: auto;
  aspect-ratio: 600 / 720;
}

.moon-body {
  transform-origin: 330px 270px;
  animation: moon-rise 2.4s var(--ease-out) both;
}

@keyframes moon-rise {
  from { transform: translateY(120px); opacity: 0; }
}

.howl-waves path {
  stroke-width: 3;
  opacity: 0;
  transform-box: view-box;
  transform-origin: 408px 383px;
  animation: howl 4.5s ease-out infinite;
}

.howl-waves path:nth-child(2) { animation-delay: 0.25s; }
.howl-waves path:nth-child(3) { animation-delay: 0.5s; }

@keyframes howl {
  0%, 40% { opacity: 0; transform: scale(0.6); }
  48% { opacity: 0.95; }
  75%, 100% { opacity: 0; transform: scale(1.25); }
}

.ridge {
  position: absolute;
  left: 0;
  width: 100%;
  bottom: 0;
}

.ridge-far {
  height: 46%;
  fill: #0c1320;
  opacity: 0.9;
}

.ridge-mid {
  height: 34%;
  fill: #09101a;
}

.ridge-forest {
  height: 22%;
  fill: #05070b;
}

.fog {
  position: absolute;
  left: -50%;
  width: 200%;
  height: 30%;
  bottom: 6%;
  background:
    radial-gradient(40% 50% at 20% 60%, rgba(159, 184, 208, 0.12), transparent 70%),
    radial-gradient(35% 45% at 55% 50%, rgba(159, 184, 208, 0.09), transparent 70%),
    radial-gradient(30% 50% at 85% 60%, rgba(159, 184, 208, 0.11), transparent 70%);
  animation: fog-drift 40s linear infinite;
}

.fog-b {
  bottom: -4%;
  opacity: 0.8;
  animation-duration: 28s;
  animation-direction: reverse;
}

@keyframes fog-drift {
  to { transform: translateX(25%); }
}

.eyes-field {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-meta-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.72rem;
  color: var(--moon-soft);
  margin-bottom: 1.6rem;
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}

.hero-title .line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.hero-title .word {
  display: inline-block;
}

.line-ember {
  overflow: visible !important;
}

.line-ember .word {
  color: var(--ember);
  font-style: italic;
  position: relative;
  background: linear-gradient(100deg, var(--ember) 20%, var(--amber) 50%, var(--ember) 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ember-shift 6s ease-in-out infinite;
  padding-right: 0.1em;
}

@keyframes ember-shift {
  50% { background-position: 100% 0; }
}

.claw-marks {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.22em;
  width: 100%;
  height: 0.38em;
  overflow: visible;
}

.claw-marks path {
  fill: none;
  stroke: var(--moon);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  opacity: 0.75;
  animation: claw 0.5s 1.5s var(--ease-out) forwards;
}

.claw-marks path:nth-child(2) { animation-delay: 1.6s; }
.claw-marks path:nth-child(3) { animation-delay: 1.7s; }

@keyframes claw {
  to { stroke-dashoffset: 0; }
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 560px);
  gap: 1.4rem;
  margin-top: 1.6rem;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  color: var(--moon-soft);
  margin: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.hero-ctas {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-footnote {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

.hero-footnote svg {
  fill: var(--ember);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(1.8rem, 5vh, 4rem) 0 0;
  border-top: 1px solid var(--line-strong);
  max-width: 820px;
}

.stat {
  padding: 1.1rem 1.2rem 0 0;
}

.stat + .stat {
  padding-left: 1.2rem;
  border-left: 1px solid var(--line);
}

.stat dt {
  font-size: 0.62rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.stat dd {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat span {
  font-size: 0.82rem;
  color: var(--moon-soft);
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 2rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.66rem;
  color: var(--moon-soft);
  writing-mode: vertical-rl;
}

.scroll-cue-paws {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.scroll-cue-paws svg {
  width: 13px;
  height: 13px;
  fill: var(--ember);
  opacity: 0;
  animation: paw-step 2.4s infinite;
}

.scroll-cue-paws svg:nth-child(odd) { translate: -4px 0; rotate: 180deg; }
.scroll-cue-paws svg:nth-child(even) { translate: 4px 0; rotate: 180deg; }
.scroll-cue-paws svg:nth-child(2) { animation-delay: 0.4s; }
.scroll-cue-paws svg:nth-child(3) { animation-delay: 0.8s; }

@keyframes paw-step {
  0%, 100% { opacity: 0; }
  20%, 60% { opacity: 1; }
}

/* =========================================================
   PLAYGROUND
   ========================================================= */
.section-playground {
  background:
    radial-gradient(800px 400px at 15% 30%, rgba(255, 106, 43, 0.07), transparent 60%),
    var(--night-1);
}

.playground-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.playground-intro h2 {
  margin-bottom: 1.2rem;
}

.playground-intro p {
  color: var(--moon-soft);
  max-width: 440px;
}

.playground-emblem {
  margin-top: 2rem;
  opacity: 0.9;
  filter: drop-shadow(0 0 30px rgba(255, 106, 43, 0.25));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  50% { transform: translateY(-10px) rotate(-3deg); }
}

.hero-playground {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--night-3), var(--night-2) 60%);
  border: 1px solid var(--line-strong);
  box-shadow:
    0 50px 100px -40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 106, 43, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

/* Borda luminosa giratória */
.hero-playground::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 70%, var(--ember) 85%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin-angle 6s linear infinite;
  pointer-events: none;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes spin-angle {
  to { --angle: 360deg; }
}

.pg-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}

.pg-window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--night-4);
}

.pg-window-bar span:first-child { background: var(--ember); }

.pg-window-bar em {
  margin-left: auto;
  font-size: 0.68rem;
  color: var(--muted);
}

.pg-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem 0;
  flex-wrap: wrap;
}

.pg-tabs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.pg-tab-btn {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: color 0.25s, background-color 0.25s, border-color 0.25s;
}

.pg-tab-btn:hover {
  color: var(--moon);
}

.pg-tab-btn.is-active {
  color: var(--moon);
  background: rgba(255, 106, 43, 0.1);
  border-color: rgba(255, 106, 43, 0.45);
}

.pg-live-tag {
  font-size: 0.64rem;
  color: var(--ember);
}

.pg-stage {
  padding: 1.3rem 1.2rem 1.4rem;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pg-stage > * {
  animation: stage-in 0.5s var(--ease-out) both;
}

.pg-stage > *:nth-child(2) { animation-delay: 0.05s; }
.pg-stage > *:nth-child(3) { animation-delay: 0.1s; }
.pg-stage > *:nth-child(4) { animation-delay: 0.15s; }

@keyframes stage-in {
  from { opacity: 0; transform: translateY(10px); }
}

.pg-hint {
  font-size: 0.66rem;
  color: var(--muted);
  margin: 0;
}

.pg-Interactive-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pg-pill-btn {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.86rem;
  font-weight: 500;
  transition: all 0.3s var(--ease-out);
}

.pg-pill-btn:hover {
  border-color: var(--moon);
  transform: translateY(-2px);
}

.pg-pill-btn.is-selected {
  background: var(--moon);
  color: var(--night-0);
  border-color: var(--moon);
}

.pg-console-box {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: #04060a;
  border: 1px solid var(--line);
  color: var(--moon-soft);
  display: grid;
  gap: 0.65rem;
}

.pg-console-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.pg-console-row span::before {
  content: '› ';
  color: var(--ember);
}

.pg-console-row strong {
  color: var(--amber);
  font-weight: 500;
}

.pg-bars-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  height: 150px;
  align-items: end;
  padding: 0.5rem 0.2rem 0;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(0deg, transparent 0 29px, rgba(239, 232, 216, 0.05) 29px 30px);
}

.pg-bar-col {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 0.4rem;
}

.pg-bar-fill {
  width: 100%;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--amber), var(--ember) 40%, var(--ember-deep));
  box-shadow: 0 0 20px -4px rgba(255, 106, 43, 0.6);
  transform-origin: bottom;
  animation: bar-grow 0.9s var(--ease-out) both;
}

.pg-bar-col:nth-child(2) .pg-bar-fill { animation-delay: 0.08s; }
.pg-bar-col:nth-child(3) .pg-bar-fill { animation-delay: 0.16s; }
.pg-bar-col:nth-child(4) .pg-bar-fill { animation-delay: 0.24s; }

@keyframes bar-grow {
  from { transform: scaleY(0); }
}

.pg-bar-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted);
}

/* =========================================================
   01 — O QUE FAZEMOS (cards da matilha)
   ========================================================= */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.pack-card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  padding: 1.8rem 1.5rem 1.6rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--night-3), var(--night-2));
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.5s var(--ease-out),
    border-color 0.4s;
}

.pack-card:nth-child(even) {
  margin-top: 3rem;
}

.pack-card-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 106, 43, 0.18), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}

.pack-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 106, 43, 0.4);
}

.pack-card:hover .pack-card-glow {
  opacity: 1;
}

.cell-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--muted);
}

.cell-num {
  color: var(--ember);
}

.cell-icon {
  width: 64px;
  height: 64px;
  margin: 2rem 0 1.6rem;
  fill: none;
  stroke: var(--moon);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.cell-icon .icon-core {
  fill: var(--ember);
  stroke: none;
}

.icon-target .icon-spin {
  stroke: var(--ember);
  transform-origin: 32px 32px;
  transition: transform 1s var(--ease-out);
}

.pack-card:hover .icon-target .icon-spin {
  transform: rotate(90deg) scale(0.85);
}

.icon-bars .bar {
  fill: var(--ember);
  stroke: none;
  transform-box: fill-box;
  transform-origin: bottom;
}

.pack-card:hover .icon-bars .bar {
  animation: bar-bounce 1s var(--ease-out) infinite alternate;
}

.pack-card:hover .icon-bars .b2 { animation-delay: 0.15s; }
.pack-card:hover .icon-bars .b3 { animation-delay: 0.3s; }

@keyframes bar-bounce {
  to { transform: scaleY(0.45); }
}

.icon-flow .flow-line {
  stroke: var(--ember);
  stroke-dasharray: 4 6;
  animation: dash-flow 1.6s linear infinite;
  animation-play-state: paused;
}

.pack-card:hover .icon-flow .flow-line {
  animation-play-state: running;
}

@keyframes dash-flow {
  to { stroke-dashoffset: -40; }
}

.icon-peak .flag {
  stroke: var(--ember);
  transform-box: fill-box;
  transform-origin: left center;
}

.pack-card:hover .icon-peak .flag {
  animation: flag-wave 0.6s ease-in-out infinite alternate;
}

@keyframes flag-wave {
  to { transform: skewY(-12deg) scaleX(0.9); }
}

.icon-peak .icon-trail {
  stroke: var(--amber);
  stroke-dasharray: 2 5;
}

.pack-card h3 {
  margin-bottom: 0.9rem;
}

.pack-card p {
  color: var(--moon-soft);
  font-size: 0.95rem;
  flex: 1;
}

.cell-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.6rem;
}

.cell-tags span {
  font-size: 0.64rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--moon-soft);
}

/* =========================================================
   02 — ANTES VS. DEPOIS
   ========================================================= */
.compare-stage {
  --split: 50%;
}

.compare-visual-viewport {
  position: relative;
  height: clamp(320px, 42vw, 440px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  user-select: none;
  touch-action: pan-y;
}

.compare-visual-layer {
  position: absolute;
  inset: 0;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.compare-visual-after {
  background:
    radial-gradient(600px 300px at 80% 20%, rgba(255, 106, 43, 0.22), transparent 60%),
    linear-gradient(140deg, #1a1410, #0e131c 60%);
}

.compare-visual-before {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.025) 0 10px, transparent 10px 20px),
    #15171b;
  filter: grayscale(1);
}

.cv-top-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--moon-soft);
}

.badge-before,
.badge-after {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  font-family: var(--font-mono);
}

.badge-before {
  background: rgba(239, 232, 216, 0.08);
  color: var(--muted);
  border: 1px dashed var(--line-strong);
}

.badge-after {
  background: var(--ember);
  color: #140802;
}

.cv-wireframe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.cv-node {
  padding: 1.1rem;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 120px;
  justify-content: flex-end;
}

.cv-node small {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted);
}

.cv-node strong {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.3rem);
  line-height: 1.15;
}

.compare-visual-before .cv-node {
  border: 1px dashed rgba(239, 232, 216, 0.2);
  background: rgba(0, 0, 0, 0.2);
  color: #8a8a8a;
}

.compare-visual-before .cv-node:nth-child(2) { transform: rotate(-1.5deg) translateY(6px); }
.compare-visual-before .cv-node:nth-child(3) { transform: rotate(1deg); }

.compare-visual-after .cv-node {
  border: 1px solid rgba(255, 106, 43, 0.35);
  background: linear-gradient(160deg, rgba(255, 106, 43, 0.12), rgba(14, 19, 28, 0.8));
  box-shadow: 0 20px 40px -20px rgba(255, 106, 43, 0.4);
}

.cv-progress-strip {
  display: grid;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--moon-soft);
}

.cv-bar-track {
  height: 8px;
  border-radius: 8px;
  background: rgba(239, 232, 216, 0.08);
  overflow: hidden;
}

.cv-bar-fill {
  height: 100%;
  border-radius: inherit;
}

.compare-visual-before .cv-bar-fill {
  width: 26%;
  background: #6b6b6b;
}

.compare-visual-after .cv-bar-fill {
  width: 94%;
  background: linear-gradient(90deg, var(--ember-deep), var(--ember), var(--amber));
  box-shadow: 0 0 14px rgba(255, 106, 43, 0.7);
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  margin-left: -1px;
  background: var(--ember);
  box-shadow: 0 0 20px 2px rgba(255, 106, 43, 0.7);
  pointer-events: none;
  z-index: 3;
}

.compare-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--night-0);
  border: 2px solid var(--ember);
  box-shadow: 0 0 0 8px rgba(255, 106, 43, 0.14);
  animation: knob-pulse 2.4s ease-in-out infinite;
}

.compare-handle-knob::before,
.compare-handle-knob::after {
  content: '';
  position: absolute;
  top: 50%;
  border: 6px solid transparent;
  translate: 0 -50%;
}

.compare-handle-knob::before {
  left: -18px;
  border-right-color: var(--ember);
}

.compare-handle-knob::after {
  right: -18px;
  border-left-color: var(--ember);
}

@keyframes knob-pulse {
  50% { box-shadow: 0 0 0 14px rgba(255, 106, 43, 0.06); }
}

.compare-range-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}

.compare-range-input:focus-visible + * {
  outline: none;
}

.compare-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.compare-text-card {
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--night-3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  opacity: 0.6;
  transition: opacity 0.4s, border-color 0.4s, transform 0.4s var(--ease-out);
}

.compare-text-card.is-dominant {
  opacity: 1;
  transform: translateY(-4px);
}

.compare-text-card.is-after.is-dominant {
  border-color: rgba(255, 106, 43, 0.5);
  box-shadow: 0 30px 60px -30px rgba(255, 106, 43, 0.35);
}

.compare-text-card h3 {
  margin: 0.9rem 0;
}

.compare-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  color: var(--moon-soft);
  font-size: 0.93rem;
}

.compare-metric-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}

.compare-metric-footer strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--moon);
  white-space: nowrap;
}

.is-after .compare-metric-footer strong {
  color: var(--ember);
}

/* =========================================================
   03 — MANIFESTO
   ========================================================= */
.section-manifesto {
  background: var(--night-0);
  overflow: hidden;
  padding-bottom: calc(var(--section-y) + 120px);
}

.manifesto-moon {
  position: absolute;
  width: 900px;
  height: 900px;
  left: -300px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 170, 0.09), transparent 60%);
  pointer-events: none;
}

.manifesto-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.kicker-ember {
  color: var(--ember);
}

.scrub-text {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

.scrub-text .sw {
  opacity: var(--o, 1);
  transition: opacity 0.2s linear, color 0.3s;
}

.scrub-text .sw.is-key {
  color: var(--ember);
}

.manifesto-left p {
  color: var(--moon-soft);
  max-width: 560px;
}

.manifesto-left p strong {
  color: var(--moon);
}

.manifesto-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.2rem;
}

.manifesto-pillars > div {
  padding: 1.2rem;
  border-left: 2px solid var(--ember);
  background: linear-gradient(90deg, rgba(255, 106, 43, 0.07), transparent);
  border-radius: 0 12px 12px 0;
  display: grid;
  gap: 0.4rem;
}

.manifesto-pillars strong {
  font-size: 0.7rem;
  color: var(--ember);
}

.manifesto-pillars span {
  font-size: 0.92rem;
  color: var(--moon-soft);
}

.hunt-trail {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(21, 28, 40, 0.9), rgba(9, 13, 20, 0.9));
  border: 1px solid var(--line-strong);
  overflow: hidden;
}

.hunt-watermark {
  position: absolute;
  right: -60px;
  top: -40px;
  opacity: 0.08;
  pointer-events: none;
  will-change: transform;
}

.trail-label {
  font-size: 0.7rem;
  color: var(--ember);
}

.ritual-list {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  position: relative;
  display: grid;
  gap: 1.6rem;
}

/* Trilha tracejada que "se desenha" */
.ritual-list::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--ember) 0 6px, transparent 6px 12px);
  transform-origin: top;
  transform: scaleY(var(--trail, 0));
  transition: transform 0.2s linear;
}

.ritual-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1rem;
  position: relative;
}

.trail-marker {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--night-2);
  border: 1px solid var(--line-strong);
  position: relative;
  z-index: 1;
  transition: background-color 0.4s, border-color 0.4s, transform 0.5s var(--ease-spring);
}

.trail-marker svg {
  width: 18px;
  height: 18px;
  fill: var(--muted);
  transition: fill 0.4s;
}

.ritual-list li.is-reached .trail-marker {
  background: var(--ember);
  border-color: var(--ember);
  transform: scale(1.1) rotate(-10deg);
  box-shadow: 0 0 20px rgba(255, 106, 43, 0.5);
}

.ritual-list li.is-reached .trail-marker svg {
  fill: #140802;
}

.ritual-num {
  font-size: 0.66rem;
  color: var(--muted);
}

.ritual-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin: 0.15rem 0 0.35rem;
}

.ritual-list p {
  color: var(--moon-soft);
  font-size: 0.92rem;
  margin: 0;
}

.manifesto-forest {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  pointer-events: none;
}

.manifesto-forest svg {
  width: 100%;
  height: 100%;
  fill: #0e131c;
}

/* =========================================================
   04 — SETORES
   ========================================================= */
.sectors-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.sector-index {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.sector-row-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0.6rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  overflow: hidden;
  isolation: isolate;
  transition: padding 0.4s var(--ease-out), color 0.3s;
}

.sector-row-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 106, 43, 0.16), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.sector-row-btn:hover::before,
.sector-row-btn.is-active::before {
  transform: scaleX(1);
}

.sector-row-btn:hover,
.sector-row-btn.is-active {
  padding-left: 1.2rem;
}

.sector-row-left {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.sector-row-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ember);
}

.sector-row-label {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--moon-soft);
  transition: color 0.3s;
}

.sector-row-btn.is-active .sector-row-label,
.sector-row-btn:hover .sector-row-label {
  color: var(--moon);
}

.sector-row-arrow {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--ember);
  transition: transform 0.4s var(--ease-spring);
}

.sector-row-btn.is-active .sector-row-arrow {
  transform: translateX(4px);
}

.sector-detail {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(255, 106, 43, 0.14), transparent 60%),
    var(--night-3);
  border: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  overflow: hidden;
}

.sector-detail > div:first-child {
  animation: stage-in 0.5s var(--ease-out) both;
}

.sector-detail h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.sector-detail p {
  color: var(--moon-soft);
}

.sector-points {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.sector-points li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--moon);
}

.sector-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 16px;
  height: 16px;
  background: var(--ember);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cellipse cx='16' cy='21.5' rx='7.2' ry='6.2'/%3E%3Cellipse cx='7.2' cy='13' rx='3' ry='3.8'/%3E%3Cellipse cx='12.6' cy='7.6' rx='3' ry='4'/%3E%3Cellipse cx='19.4' cy='7.6' rx='3' ry='4'/%3E%3Cellipse cx='24.8' cy='13' rx='3' ry='3.8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cellipse cx='16' cy='21.5' rx='7.2' ry='6.2'/%3E%3Cellipse cx='7.2' cy='13' rx='3' ry='3.8'/%3E%3Cellipse cx='12.6' cy='7.6' rx='3' ry='4'/%3E%3Cellipse cx='19.4' cy='7.6' rx='3' ry='4'/%3E%3Cellipse cx='24.8' cy='13' rx='3' ry='3.8'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* =========================================================
   05 — TRABALHOS
   ========================================================= */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  perspective: 1400px;
}

.work-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--night-3);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.4s,
    box-shadow 0.4s;
  animation: stage-in 0.6s var(--ease-out) both;
}

.work-card:nth-child(2) { animation-delay: 0.06s; }
.work-card:nth-child(3) { animation-delay: 0.12s; }
.work-card:nth-child(4) { animation-delay: 0.18s; }

.work-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(500px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.08), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s;
}

.work-card:hover {
  border-color: rgba(255, 106, 43, 0.45);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}

.work-card:hover::after {
  opacity: 1;
}

.work-frame {
  position: relative;
  padding: 1.4rem;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  overflow: hidden;
  isolation: isolate;
}

.work-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(239, 232, 216, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 232, 216, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

.tone-clay { background: linear-gradient(140deg, #3b1d10, #1a110c); }
.tone-ink { background: linear-gradient(140deg, #1a2333, #0b0f17); }
.tone-forest { background: linear-gradient(140deg, #13261f, #0a1210); }
.tone-slate { background: linear-gradient(140deg, #26222f, #100e15); }

.work-frame-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--moon-soft);
}

.work-blueprint {
  border: 1px solid rgba(239, 232, 216, 0.16);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  overflow: hidden;
  transform: translateZ(30px);
  transition: transform 0.5s var(--ease-out);
}

.work-card:hover .work-blueprint {
  transform: translateZ(50px) translateY(-4px);
}

.bp-header {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(239, 232, 216, 0.1);
}

.bp-accent {
  color: var(--amber);
}

.bp-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.8rem;
}

.bp-box {
  padding: 0.9rem 0.6rem;
  border-radius: 8px;
  border: 1px dashed rgba(239, 232, 216, 0.2);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-align: center;
  color: var(--moon-soft);
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}

.work-card:hover .bp-box {
  border-style: solid;
  border-color: rgba(255, 106, 43, 0.5);
  color: var(--moon);
}

.work-card:hover .bp-box:last-child {
  background: var(--ember);
  color: #140802;
}

.work-frame-headline {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.15;
  max-width: 24ch;
}

.work-body {
  padding: 1.4rem;
}

.work-body h3 {
  margin-bottom: 0.6rem;
}

.work-body p {
  color: var(--moon-soft);
  font-size: 0.93rem;
}

.work-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.work-stack {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.work-stack span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--moon-soft);
}

.work-inspect-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ember);
  position: relative;
}

.work-inspect-btn::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.work-inspect-btn:hover::after,
.work-card:hover .work-inspect-btn::after {
  transform: scaleX(1);
}

/* =========================================================
   06 — FAQ
   ========================================================= */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.faq-intro h2 {
  margin-bottom: 1.2rem;
}

.faq-intro p {
  color: var(--moon-soft);
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--night-2);
  transition: border-color 0.3s, background-color 0.3s;
}

.faq-item[open] {
  border-color: rgba(255, 106, 43, 0.4);
  background: linear-gradient(180deg, var(--night-3), var(--night-2));
}

.faq-item summary {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-num {
  font-size: 0.72rem;
  color: var(--ember);
}

.faq-item summary strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.3;
}

.faq-icon {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: transform 0.45s var(--ease-spring), background-color 0.3s, border-color 0.3s;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: var(--moon);
  translate: -50% -50%;
  border-radius: 2px;
}

.faq-icon::after {
  rotate: 90deg;
}

.faq-item[open] .faq-icon {
  transform: rotate(135deg);
  background: var(--ember);
  border-color: var(--ember);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: #140802;
}

.faq-answer {
  padding: 0 1.4rem 1.4rem calc(1.4rem + 2.2rem);
  color: var(--moon-soft);
  animation: stage-in 0.45s var(--ease-out) both;
}

.faq-answer strong {
  color: var(--moon);
}

/* =========================================================
   07 — BRIEFING
   ========================================================= */
.section-briefing {
  background: var(--night-1);
  overflow: hidden;
}

.briefing-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.briefing-left h2 {
  margin-bottom: 1.2rem;
}

.briefing-left > p {
  color: var(--moon-soft);
}

.estimate-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 2rem 0 1rem;
}

.estimate-cell {
  padding: 1.3rem;
  border-radius: var(--radius);
  background: var(--night-0);
  border: 1px solid var(--line-strong);
  display: grid;
  gap: 0.5rem;
}

.estimate-cell span {
  font-size: 0.64rem;
  color: var(--muted);
}

.estimate-cell strong {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.55vw, 1.4rem);
  line-height: 1.1;
  color: var(--ember);
}

.estimate-cell strong.is-updated {
  animation: value-pop 0.5s var(--ease-spring);
}

@keyframes value-pop {
  40% { transform: scale(1.08); color: var(--amber); }
}

.estimate-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.coverage-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.6rem;
}

.coverage-strip span {
  font-size: 0.66rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--moon-soft);
  transition: background-color 0.3s, color 0.3s;
}

.coverage-strip span:hover {
  background: var(--moon);
  color: var(--night-0);
}

.coverage-strip .is-all {
  border-color: var(--ember);
  color: var(--ember);
}

.briefing-form {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--night-3), var(--night-1));
  border: 1px solid var(--line-strong);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9);
  display: grid;
  gap: 1.3rem;
}

.form-flash-banner {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: rgba(255, 106, 43, 0.12);
  border: 1px solid rgba(255, 106, 43, 0.4);
  color: var(--amber);
  font-size: 0.72rem;
  animation: stage-in 0.4s var(--ease-out) both;
}

.field-group {
  display: grid;
  gap: 0.55rem;
}

.field-label {
  font-size: 0.66rem;
  color: var(--muted);
}

.type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.type-btn {
  position: relative;
  text-align: left;
  padding: 1rem 1rem 1rem 2.6rem;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.2);
  display: grid;
  gap: 0.2rem;
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s var(--ease-spring);
}

.type-btn::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.type-btn:hover {
  border-color: var(--moon-soft);
  transform: translateY(-2px);
}

.type-btn strong {
  font-size: 0.95rem;
}

.type-btn small {
  font-size: 0.78rem;
  color: var(--muted);
}

.type-btn.is-selected {
  border-color: var(--ember);
  background: rgba(255, 106, 43, 0.08);
}

.type-btn.is-selected::before {
  border-color: var(--ember);
  background: var(--ember);
  box-shadow: 0 0 0 4px rgba(255, 106, 43, 0.2);
}

.field-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.editorial-input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--night-0);
  color: var(--moon);
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none;
}

select.editorial-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23FF6A2B' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

select.editorial-input option {
  background: var(--night-2);
}

.editorial-input::placeholder {
  color: #5c6370;
}

.editorial-input:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 4px rgba(255, 106, 43, 0.16);
}

.brief-preview {
  padding: 1.1rem;
  border-radius: 14px;
  background: #04060a;
  border: 1px dashed var(--line-strong);
}

.preview-kicker {
  font-size: 0.64rem;
  color: var(--ember);
}

.brief-preview p {
  margin: 0.6rem 0 0;
  white-space: pre-line;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--moon-soft);
}

.brief-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--night-1) 0 110px, var(--night-0) 110px);
  padding: 9rem 0 2rem;
  overflow-x: clip;
}

.footer-ridge {
  position: absolute;
  left: 0;
  right: 0;
  top: -220px;
  height: 340px;
  pointer-events: none;
  overflow: hidden;
}

/* Brilho de pôr do sol: nasce atrás da serra e some suavemente para cima */
.sunset-glow {
  position: absolute;
  inset: 0 0 40px;
  /* Elipse em px dentro de uma caixa da largura total: nenhuma borda corta o brilho */
  background:
    radial-gradient(ellipse min(680px, 60vw) 260px at 62% 100%, rgba(255, 138, 76, 0.32) 0%, rgba(255, 106, 43, 0.16) 35%, rgba(194, 65, 12, 0.06) 62%, transparent 100%);
  animation: sunset-breathe 9s ease-in-out infinite;
}

@keyframes sunset-breathe {
  50% { opacity: 0.75; }
}

.footer-ridge svg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 230px;
  fill: var(--night-0);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.footer-statement {
  display: grid;
  gap: 1rem;
  justify-items: start;
  max-width: 460px;
}

.footer-statement > span {
  font-size: 0.72rem;
  color: var(--ember);
}

.footer-statement p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.footer-cols {
  display: flex;
  gap: 4rem;
}

.footer-cols > div {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.footer-cols strong {
  font-size: 0.66rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.footer-cols a,
.footer-cols span {
  color: var(--moon-soft);
  font-size: 0.95rem;
  transition: color 0.2s, transform 0.3s var(--ease-out);
}

.footer-cols a:hover {
  color: var(--ember);
  transform: translateX(4px);
}

.footer-wordmark {
  position: relative;
  margin: 2rem 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 19vw, 18rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  text-align: center;
  color: transparent;
  background: linear-gradient(180deg, rgba(239, 232, 216, 0.22) 0%, rgba(255, 106, 43, 0.12) 55%, transparent 92%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}

.eyes-wordmark {
  left: 50%;
  top: 46%;
  translate: -50% -50%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.66rem;
  color: var(--muted);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-bottom a:hover {
  color: var(--ember);
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1180px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .pack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .section-tracker-badge {
    display: none;
  }

  .playground-layout,
  .manifesto-layout,
  .sectors-layout,
  .faq-layout,
  .briefing-layout {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    margin-top: 1rem;
  }

  .moon-scene {
    right: -22vw;
    height: 72%;
    opacity: 0.55;
  }

  .moon-halo {
    right: -40vw;
    width: 110vw;
    transform: translateY(-75%);
  }

  .playground-emblem {
    display: none;
  }

  .paw-trail {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 66px;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    padding-bottom: 2.5rem;
  }

  .hero-meta-row span:last-child {
    display: none;
  }

  .moon-scene {
    right: -45vw;
    height: 60%;
    bottom: 30%;
    opacity: 0.35;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .pack-grid {
    grid-template-columns: 1fr;
  }

  .pack-card:nth-child(even) {
    margin-top: 0;
  }

  .cv-wireframe-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .cv-node {
    min-height: 0;
    padding: 0.7rem 0.9rem;
  }

  .compare-visual-viewport {
    height: 460px;
  }

  .compare-cards-row,
  .manifesto-pillars,
  .type-grid,
  .field-row-2,
  .estimate-board {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    gap: 2.5rem;
  }

  .ticker-cross {
    height: 150px;
  }

  .ticker-ghost .ticker-track {
    font-size: 1.2rem;
  }

  .faq-answer {
    padding-left: 1.4rem;
  }

  .hunt-trail {
    padding: 1.4rem;
  }

  .bp-cols {
    grid-template-columns: 1fr;
  }
}
