:root {
  --ink: #141110;
  --ink-soft: #1e1916;
  --bone: #f2ebe0;
  --bone-muted: #d6cdbf;
  --brass: #c6a15b;
  --brass-bright: #e0c085;
  --edge: rgba(242, 235, 224, 0.18);
  --surface: rgba(20, 17, 16, 0.42);
  --gutter: 1.5rem;
  --mobile-cta-space: calc(4.75rem + env(safe-area-inset-bottom));
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--ink);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--bone);
  font-family: "Jost", sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

::selection {
  background: var(--brass);
  color: var(--ink);
}

a,
button {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.75rem 1rem;
  background: var(--bone);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  transition: transform 180ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

.track {
  position: relative;
  width: 100%;
}

.stage {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 32rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.canvas,
.poster,
.hero-video,
.scrim,
.grain {
  position: absolute;
  inset: 0;
}

.canvas {
  z-index: 0;
  overflow: hidden;
  background: var(--ink-soft);
}

.poster,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.poster {
  z-index: 0;
  filter: saturate(0.92);
}

.hero-video {
  z-index: 1;
  opacity: 0;
  transition: opacity 700ms var(--ease);
}

/* Rede de segurança: se o evento de carregamento escapar, o vídeo
   ainda aparece — nunca fica preso em opacity 0. */
.hero-video[src] {
  opacity: 1;
}

.hero-video.is-ready {
  opacity: 1;
}

.scrim {
  z-index: 2;
  pointer-events: none;
}

.scrim-base {
  background:
    linear-gradient(100deg, rgba(20, 17, 16, 0.97) 0%, rgba(20, 17, 16, 0.82) 36%, rgba(20, 17, 16, 0.25) 69%, rgba(20, 17, 16, 0.47) 100%);
}

.scrim-vertical {
  background: linear-gradient(to bottom, rgba(20, 17, 16, 0.78), transparent 25%, transparent 60%, rgba(20, 17, 16, 0.86));
}

.grain {
  inset: -50%;
  z-index: 3;
  pointer-events: none;
  opacity: 0.13;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.nav {
  position: relative;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: calc(var(--gutter) + env(safe-area-inset-top)) var(--gutter) 0;
}

.brandmark {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  min-height: 2.75rem;
  color: var(--bone);
  text-decoration: none;
}

.brandmark .glyph {
  position: relative;
  width: 1.65rem;
  height: 1.65rem;
  flex: none;
  border: 1px solid var(--brass);
}

.brandmark .glyph::before,
.brandmark .glyph::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  right: 0.2rem;
  height: 1px;
  background: var(--brass);
}

.brandmark .glyph::before {
  top: 0.44rem;
}

.brandmark .glyph::after {
  top: 0.78rem;
  right: 0.55rem;
}

.brandmark .wordmark {
  font-size: clamp(0.72rem, 2.8vw, 0.86rem);
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brandmark sup {
  position: relative;
  top: -0.7em;
  font-size: 0.5em;
  letter-spacing: 0;
  opacity: 0.68;
}

.nav-status,
.nav-tel {
  display: none;
}

.content {
  position: relative;
  z-index: 30;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem var(--gutter) var(--mobile-cta-space);
}

.panels {
  position: relative;
  width: 100%;
  max-width: 94rem;
  margin: 0 auto;
}

.panel {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.js:not(.fallback-static) .panel:not(:first-child) {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: clamp(0.75rem, 2.2vh, 1.25rem);
  color: var(--brass-bright);
  font-size: clamp(0.66rem, 1.7vw, 0.75rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: clamp(1.5rem, 7vw, 3.5rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass));
  opacity: 0.78;
}

.eyebrow::after {
  background: linear-gradient(90deg, var(--brass), transparent);
}

.hero-title {
  font-size: clamp(3rem, min(13vw, 7.4vh), 4.8rem);
  font-weight: 200;
  letter-spacing: -0.025em;
  line-height: 0.92;
  text-transform: uppercase;
}

.hero-title .serif {
  display: block;
  margin-top: -0.02em;
  color: var(--brass-bright);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.02em;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 0.94;
  text-transform: none;
}

.lead {
  max-width: 34ch;
  margin: clamp(1rem, 2.8vh, 1.65rem) auto 0;
  color: var(--bone-muted);
  font-size: clamp(1rem, 2.5vw, 1.08rem);
  line-height: 1.55;
}

.lead strong {
  color: var(--bone);
  font-weight: 400;
}

.build-promise {
  max-width: 31ch;
  margin: clamp(1rem, 2.3vh, 1.35rem) auto 0;
  padding-top: clamp(0.8rem, 2vh, 1rem);
  border-top: 1px solid var(--edge);
  color: var(--brass-bright);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.32rem, 4.3vw, 1.62rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.25;
}

.build-promise small {
  display: block;
  margin-top: 0.55rem;
  color: var(--bone-muted);
  font-family: "Jost", sans-serif;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.regions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: clamp(0.9rem, 2.5vh, 1.4rem);
  list-style: none;
}

.regions li {
  padding: 0.42rem 0.68rem;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: rgba(20, 17, 16, 0.22);
  color: var(--bone-muted);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  color: var(--bone);
  font-size: clamp(2.15rem, min(9.4vw, 6.5vh), 4.5rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

.section-title em {
  color: var(--brass-bright);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.06em;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.012em;
}

.differences-grid {
  display: grid;
  gap: clamp(0.55rem, 1.4vh, 0.9rem);
  margin-top: clamp(1rem, 2.7vh, 1.55rem);
  list-style: none;
}

.difference-item {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.65rem;
  align-items: start;
  padding-top: clamp(0.55rem, 1.4vh, 0.85rem);
  border-top: 1px solid var(--edge);
  text-align: left;
}

.difference-number,
.step-counter {
  color: var(--brass-bright);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.difference-item h3 {
  margin-bottom: 0.12rem;
  color: var(--bone);
  font-size: clamp(0.95rem, 2.6vw, 1.08rem);
  font-weight: 400;
  line-height: 1.25;
}

.difference-item p {
  color: var(--bone-muted);
  font-size: clamp(0.88rem, 2.3vw, 0.98rem);
  line-height: 1.42;
}

.single-difference {
  max-width: 32rem;
  margin: clamp(1rem, 3vh, 1.8rem) auto 0;
  padding-top: clamp(0.9rem, 2.3vh, 1.25rem);
  border-top: 1px solid var(--edge);
}

.step-counter {
  display: block;
  margin-bottom: 0.4rem;
  font-size: clamp(1.25rem, 3.6vw, 1.6rem);
}

.single-difference h3 {
  color: var(--bone);
  font-size: clamp(1.2rem, 4vw, 1.55rem);
  font-weight: 400;
  line-height: 1.2;
}

.single-difference p {
  max-width: 38ch;
  margin: 0.55rem auto 0;
  color: var(--bone-muted);
  font-size: clamp(0.98rem, 2.6vw, 1.08rem);
  line-height: 1.5;
}

.step-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: clamp(1rem, 2.6vh, 1.35rem);
}

.step-dots i {
  width: 1.6rem;
  height: 2px;
  background: var(--edge);
}

.step-dots i.is-active {
  background: var(--brass);
}

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-top: clamp(1.15rem, 3vh, 1.7rem);
}

.intro-cta-row {
  display: none;
}

.cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding: 1rem 1.4rem;
  border: 0;
  background: var(--brass);
  box-shadow: 0 1.2rem 2.8rem -1.4rem rgba(198, 161, 91, 0.9);
  color: #17120a;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 220ms ease-out, box-shadow 220ms ease-out, transform 220ms ease-out;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.55) 48%, transparent 76%);
  transform: translateX(-130%);
}

.cta:hover {
  background: var(--brass-bright);
  box-shadow: 0 1.5rem 3.2rem -1.25rem rgba(198, 161, 91, 0.95);
  transform: translateY(-2px);
}

.cta:hover::after {
  transform: translateX(130%);
  transition: transform 700ms var(--ease);
}

.cta:active {
  transform: scale(0.985);
  transition-duration: 100ms;
}

.cta svg {
  width: 1.2rem;
  height: 1.2rem;
  flex: none;
}

.cta .arrow {
  transition: transform 220ms ease-out;
}

.cta:hover .arrow {
  transform: translate(3px, -3px);
}

.cta--outline {
  min-height: 3.25rem;
  padding: 0.82rem 1.2rem;
  border: 1px solid var(--brass);
  background: rgba(20, 17, 16, 0.32);
  box-shadow: none;
  color: var(--brass-bright);
  font-size: 0.72rem;
}

.cta--outline:hover {
  background: var(--brass-bright);
  color: var(--ink);
}

.cta-note {
  max-width: 30ch;
  color: var(--bone-muted);
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}

.cta-note strong {
  color: var(--brass-bright);
  font-weight: 400;
}

.hud {
  position: absolute;
  z-index: 45;
  right: var(--gutter);
  bottom: var(--gutter);
  display: none;
  align-items: center;
  gap: 0.85rem;
  pointer-events: none;
}

.hud-label {
  color: var(--bone-muted);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.meter {
  position: relative;
  width: 1px;
  height: clamp(4.5rem, 13vh, 7rem);
  overflow: hidden;
  background: var(--edge);
}

.meter-fill {
  position: absolute;
  inset: 0 0 auto;
  height: 0;
  background: var(--brass);
}

.scroll-cue {
  position: absolute;
  z-index: 45;
  left: 50%;
  bottom: calc(var(--mobile-cta-space) + 0.6rem);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: var(--bone-muted);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 220ms ease-out;
}

.scroll-cue.is-hidden {
  opacity: 0;
}

.scroll-cue-line {
  width: 1px;
  height: 1.5rem;
  background: linear-gradient(var(--brass), transparent);
}

.mobile-bar {
  position: fixed;
  z-index: 100;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  padding: 0.5rem 1rem calc(0.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--edge);
  background: linear-gradient(to top, rgba(20, 17, 16, 1), rgba(20, 17, 16, 0.76));
  backdrop-filter: blur(12px);
}

.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 3.25rem;
  background: var(--brass);
  color: #17120a;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 150ms ease-out, transform 100ms ease-out;
}

.mobile-bar a:active {
  background: var(--brass-bright);
  transform: scale(0.985);
}

.mobile-bar svg {
  width: 1.2rem;
  height: 1.2rem;
}

@media (min-width: 768px) {
  :root {
    --gutter: 2rem;
  }

  .content {
    padding-bottom: var(--gutter);
  }

  .mobile-bar {
    display: none;
  }

  .scroll-cue {
    bottom: var(--gutter);
  }

  .panel {
    max-width: 39rem;
  }

  .hero-title {
    font-size: clamp(4rem, min(9vw, 11vh), 6.4rem);
  }

  .lead {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
  }

  .intro-cta-row {
    display: flex;
    justify-content: center;
    margin-top: clamp(0.85rem, 2.1vh, 1.2rem);
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 3rem;
  }

  .nav {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1.5rem;
  }

  .brandmark {
    justify-self: start;
  }

  .nav-status {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--bone-muted);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .pulse {
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: var(--brass);
    box-shadow: 0 0 0 0 rgba(198, 161, 91, 0.55);
    animation: pulse 2.6s infinite;
  }

  .nav-tel {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    border-bottom: 1px solid transparent;
    color: var(--bone);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-decoration: none;
    transition: border-color 220ms ease-out, color 220ms ease-out;
  }

  .nav-tel:hover {
    border-color: var(--brass);
    color: var(--brass-bright);
  }

  .content {
    justify-content: flex-start;
    padding-top: 0.75rem;
  }

  .panel {
    max-width: min(39rem, 58vw);
    margin: 0;
    text-align: left;
  }

  .eyebrow {
    justify-content: flex-start;
    font-size: 0.68rem;
    letter-spacing: 0.26em;
  }

  .eyebrow::before {
    display: none;
  }

  .eyebrow::after {
    width: clamp(4rem, 9vw, 7.5rem);
  }

  .hero-title {
    font-size: clamp(4.3rem, min(7vw, 12vh), 6.6rem);
  }

  .lead,
  .build-promise,
  .single-difference,
  .single-difference p {
    margin-left: 0;
    margin-right: 0;
  }

  .build-promise {
    display: none;
  }

  .regions,
  .step-dots {
    justify-content: flex-start;
  }

  .intro-cta-row {
    justify-content: flex-start;
  }

  .section-title {
    font-size: clamp(2.6rem, min(4.6vw, 8vh), 4.5rem);
  }

  .differences-grid {
    max-width: 34rem;
  }

  .difference-item {
    grid-template-columns: 2.25rem 1fr;
  }

  .cta-row {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }

  .cta-note {
    text-align: left;
  }

  .hud {
    display: flex;
  }

  .scroll-cue {
    bottom: calc(var(--gutter) - 0.25rem);
  }
}

@media (min-width: 768px) and (max-width: 1023px) and (orientation: landscape) {
  .content {
    justify-content: flex-start;
  }

  .panel {
    max-width: 34rem;
    margin-left: 0;
    text-align: left;
  }

  .eyebrow,
  .regions,
  .step-dots {
    justify-content: flex-start;
  }

  .intro-cta-row {
    justify-content: flex-start;
  }

  .eyebrow::before {
    display: none;
  }

  .lead,
  .build-promise,
  .single-difference,
  .single-difference p {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-height: 720px) {
  .nav {
    padding-top: calc(max(1rem, var(--gutter) * 0.72) + env(safe-area-inset-top));
  }

  .content {
    padding-top: 0.5rem;
  }

  .hero-title {
    font-size: clamp(2.7rem, min(11vw, 10.8vh), 5rem);
  }

  .lead {
    margin-top: 0.85rem;
    line-height: 1.45;
  }

  .build-promise {
    margin-top: 0.75rem;
    padding-top: 0.7rem;
  }

  .regions {
    margin-top: 0.75rem;
  }

  .section-title {
    font-size: clamp(2rem, min(8vw, 6.7vh), 3.45rem);
  }

  .differences-grid,
  .single-difference,
  .cta-row {
    margin-top: 0.75rem;
  }

  .difference-item {
    padding-top: 0.5rem;
  }

  .cta {
    min-height: 3.2rem;
    padding-block: 0.8rem;
  }
}

@media (max-width: 767px) {
  .scrim-base {
    background: linear-gradient(to bottom, rgba(20, 17, 16, 0.72) 0%, rgba(20, 17, 16, 0.2) 31%, rgba(20, 17, 16, 0.63) 60%, rgba(20, 17, 16, 0.96) 100%);
  }

  .scrim-vertical {
    background: linear-gradient(to bottom, rgba(20, 17, 16, 0.45), transparent 25%, rgba(20, 17, 16, 0.2) 52%, rgba(20, 17, 16, 0.78));
  }

  .poster,
  .hero-video {
    object-position: center center;
  }

  .layout-a .section-title {
    font-size: clamp(1.9rem, min(8.2vw, 5.2vh), 2.55rem);
  }

  .layout-a .differences-grid {
    gap: 0.42rem;
    margin-top: 0.65rem;
  }

  .layout-a .difference-item {
    padding-top: 0.45rem;
  }

  .layout-a .difference-item p {
    line-height: 1.32;
  }

  .panel-final .regions {
    display: none;
  }

  .panel-final .cta-row {
    display: none;
  }
}

@media (max-width: 374px), (max-height: 640px) {
  :root {
    --gutter: 1.15rem;
  }

  .brandmark .glyph {
    width: 1.45rem;
    height: 1.45rem;
  }

  .brandmark .wordmark {
    font-size: 0.68rem;
  }

  .eyebrow {
    margin-bottom: 0.55rem;
    font-size: 0.61rem;
  }

  .hero-title {
    font-size: clamp(2.55rem, min(12vw, 7.6vh), 3.15rem);
  }

  .lead {
    font-size: 0.94rem;
  }

  .build-promise {
    font-size: 1.05rem;
  }

  .regions li {
    padding: 0.34rem 0.55rem;
    font-size: 0.58rem;
  }

  .scroll-cue {
    display: none;
  }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(198, 161, 91, 0.5); }
  70% { box-shadow: 0 0 0 0.55rem rgba(198, 161, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 161, 91, 0); }
}

.fallback-static .track,
.reduced-motion .track {
  height: auto;
}

.fallback-static .stage,
.reduced-motion .stage {
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  overflow: visible;
}

.fallback-static .canvas,
.reduced-motion .canvas {
  position: fixed;
}

.fallback-static .content,
.reduced-motion .content {
  display: block;
  padding-top: clamp(4rem, 12vh, 7rem);
}

.fallback-static .panels,
.reduced-motion .panels {
  display: grid;
  gap: clamp(4rem, 12vh, 8rem);
}

.fallback-static .panel,
.reduced-motion .panel,
.js.fallback-static .panel:not(:first-child),
.js.reduced-motion .panel:not(:first-child) {
  position: relative;
  inset: auto;
  visibility: visible;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   CONTEÚDO PÓS-HERO — definição, comparativo, FAQ e fechamento
   Mesma sala do hero: grão, latão, Jost 200 + Cormorant, filetes --edge.
   Fluxo normal (fora do palco fixado), mas com a mesma atmosfera.
   ========================================================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* A esteira de conteúdo não é preta chapada: é o mesmo ink do hero,
   respirando entre ink e ink-soft para dar profundidade de ambiente. */
.chapters {
  position: relative;
  z-index: 10;
  background:
    linear-gradient(to bottom,
      var(--ink) 0%,
      var(--ink-soft) 34%,
      var(--ink-soft) 66%,
      var(--ink) 100%);
}

.chapter {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 12vh, 7rem) var(--gutter);
}

.chapter + .chapter {
  border-top: 0;
}

.chapter-inner {
  position: relative;
  z-index: 5;
  max-width: 64rem;
  margin: 0 auto;
}

/* Cabeçalho de seção — mesma gramática do .eyebrow do hero:
   filete de latão que sangra para a direita, depois o título. */
.chapter-mark {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: clamp(1rem, 2.6vh, 1.45rem);
}

.chapter-mark .index {
  color: var(--brass-bright);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.15rem, 3.2vw, 1.45rem);
  font-style: italic;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.chapter-mark .line {
  flex: 1;
  max-width: clamp(4rem, 22vw, 11rem);
  height: 1px;
  background: linear-gradient(90deg, var(--brass), transparent);
  opacity: 0.78;
}

.chapter-title {
  max-width: 22ch;
  color: var(--bone);
  font-size: clamp(1.85rem, 6.2vw, 3rem);
  font-weight: 200;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: pretty;
}

.chapter-title em {
  color: var(--brass-bright);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.06em;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.012em;
}

/* ---------- 01 · definição ---------- */

.definition-body {
  max-width: 60ch;
  margin-top: clamp(1.3rem, 3.4vh, 2rem);
  padding-top: clamp(1.3rem, 3.4vh, 2rem);
  border-top: 1px solid var(--edge);
  color: var(--bone-muted);
  font-size: clamp(1.02rem, 2.6vw, 1.14rem);
  line-height: 1.7;
  text-wrap: pretty;
}

/* A abertura da definição pesa mais — é o trecho que os motores citam. */
.definition-body strong {
  color: var(--bone);
  font-weight: 400;
}

/* ---------- 02 · comparativo ---------- */

.compare {
  margin-top: clamp(1.6rem, 4.2vh, 2.4rem);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table caption {
  text-align: left;
}

.compare-table thead th {
  padding: 0 clamp(0.7rem, 1.8vw, 1.15rem) 0.9rem;
  border-bottom: 1px solid var(--brass);
  color: var(--brass-bright);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.compare-table tbody th,
.compare-table tbody td {
  padding: clamp(0.95rem, 2.4vw, 1.25rem) clamp(0.7rem, 1.8vw, 1.15rem);
  border-bottom: 1px solid var(--edge);
  vertical-align: baseline;
}

.compare-table tbody th {
  color: var(--bone);
  font-size: clamp(1rem, 2.6vw, 1.12rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.compare-table tbody td {
  color: var(--bone-muted);
  font-size: clamp(0.9rem, 2.3vw, 0.99rem);
  line-height: 1.5;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

/* A linha do produto-chave da página é destacada em latão —
   é a keyword que trouxe o visitante até aqui. */
.compare-table tbody tr.is-primary th,
.compare-table tbody tr.is-primary td {
  background: rgba(198, 161, 91, 0.06);
}

.compare-table tbody tr.is-primary th {
  position: relative;
  color: var(--brass-bright);
}

.compare-table tbody tr.is-primary th::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--brass);
}

/* ---------- 03 · FAQ ---------- */

.faq-list {
  margin-top: clamp(1.5rem, 4vh, 2.2rem);
  border-top: 1px solid var(--edge);
}

.faq-item {
  position: relative;
  padding: clamp(1.3rem, 3.2vh, 1.85rem) 0;
  border-bottom: 1px solid var(--edge);
}

.faq-item .num {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--brass-bright);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  opacity: 0.85;
}

.faq-item h3 {
  max-width: 40ch;
  color: var(--bone);
  font-size: clamp(1.06rem, 2.9vw, 1.2rem);
  font-weight: 400;
  line-height: 1.32;
  text-wrap: pretty;
}

.faq-item p {
  max-width: 62ch;
  margin-top: 0.6rem;
  color: var(--bone-muted);
  font-size: clamp(0.95rem, 2.4vw, 1.03rem);
  line-height: 1.65;
  text-wrap: pretty;
}

/* ---------- fechamento: a página fecha com a mesma cena que abriu ---------- */

.closing {
  position: relative;
  z-index: 10;
  padding: clamp(4rem, 15vh, 8rem) var(--gutter) calc(clamp(4rem, 15vh, 8rem) + var(--mobile-cta-space));
  text-align: center;
}



.closing-inner {
  position: relative;
  z-index: 30;
  max-width: 46rem;
  margin: 0 auto;
}

.closing .lead {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Responsivo
   ========================================================================== */

/* No celular a tabela vira fichas empilhadas — sem rolagem lateral,
   com os próprios cabeçalhos virando rótulos via data-label. */
@media (max-width: 767px) {
  .compare-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .compare-table tbody tr {
    display: block;
    margin-bottom: 0.85rem;
    padding: 1.15rem 1.1rem;
    border: 1px solid var(--edge);
    background: rgba(20, 17, 16, 0.3);
  }

  .compare-table tbody tr:last-child {
    margin-bottom: 0;
  }

  /* O realce em latão da linha principal fica — é a ficha inteira. */
  .compare-table tbody tr.is-primary {
    border-color: rgba(198, 161, 91, 0.5);
    background: rgba(198, 161, 91, 0.07);
  }

  /* Mas as células PARAM de repintar o latão aqui. No desktop elas são
     as colunas da tabela; no celular viram blocos dentro da ficha, e a
     soma das duas camadas desenhava um segundo retângulo por dentro. */
  .compare-table tbody tr.is-primary th,
  .compare-table tbody tr.is-primary td {
    background: transparent;
  }

  .compare-table tbody th {
    display: block;
    padding: 0 0 0.8rem;
    border-bottom: 1px solid var(--edge);
    color: var(--brass-bright);
    font-size: 1.12rem;
  }

  .compare-table tbody tr.is-primary th::before {
    display: none;
  }

  .compare-table tbody td {
    display: grid;
    grid-template-columns: 7.25rem minmax(0, 1fr);
    gap: 0.9rem;
    padding: 0.55rem 0 0;
    border-bottom: 0;
  }

  .compare-table tbody td::before {
    content: attr(data-label);
    color: var(--bone-muted);
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    line-height: 1.75;
    text-transform: uppercase;
    opacity: 0.72;
  }
}

@media (min-width: 768px) {
  .closing {
    padding-bottom: clamp(4rem, 15vh, 8rem);
  }
}

@media (min-width: 1024px) {
  /* Pergunta à esquerda, resposta à direita — leitura de revista,
     o mesmo eixo editorial que a V1 do hero usa. */
  .faq-item {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 20rem) minmax(0, 1fr);
    gap: clamp(1.5rem, 3.5vw, 2.75rem);
    align-items: baseline;
  }

  .faq-item .num {
    margin-bottom: 0;
    font-size: 1.25rem;
  }

  .faq-item p {
    margin-top: 0;
  }

  /* O fechamento é centralizado, ao contrário dos painéis do palco. */
  .closing .eyebrow {
    justify-content: center;
  }

  .closing .eyebrow::before {
    display: block;
  }

  /* No fechamento os selos ficam ABAIXO do botão e centralizados, como
     nos demais breakpoints — o .cta-row do desktop vira linha por padrão. */
  .closing .cta-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.95rem;
  }

  .closing .cta-note {
    margin: 0 auto;
    text-align: center;
  }
}

/* ==========================================================================
   CAMADA AMBIENTE — o vídeo acompanha a página inteira
   --------------------------------------------------------------------------
   CONTRASTE (medido, não estimado): o pixel mais claro do asset é 239/255.
   Sobre ele, o alfa mínimo de scrim para WCAG AA (4.5:1) é 0.71 — o texto
   mais exigente é o --brass-bright. Usamos 0.82 nas áreas de conteúdo, o que
   dá 6.6:1 no latão, 7.3:1 no corpo e 9.7:1 nos títulos. Folga de AA com o
   vídeo ainda visível. NÃO reduzir abaixo de 0.75 sem refazer a conta.
   ========================================================================== */

.ambient {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: var(--ink-soft);
  pointer-events: none;
}

.ambient-media {
  position: absolute;
  inset: 0;
  transform-origin: 58% 45%;
  will-change: transform;
}

.ambient .poster,
.ambient .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 42%;
}

/* Os dois scrims do hero, agora fixos. Fazem crossfade com o véu:
   como nenhuma das duas camadas tem borda, não há emenda possível. */
.ambient-hero {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(20, 17, 16, 0.62), transparent 22%, transparent 66%, rgba(20, 17, 16, 0.74)),
    linear-gradient(90deg,
      rgba(20, 17, 16, 0.95) 0%,
      rgba(20, 17, 16, 0.88) 22%,
      rgba(20, 17, 16, 0.66) 42%,
      rgba(20, 17, 16, 0.32) 62%,
      rgba(20, 17, 16, 0.14) 80%,
      rgba(20, 17, 16, 0.38) 100%);
}

.ambient-veil {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: rgba(20, 17, 16, 0.82);
  opacity: 0;
}

/* Sem JS o véu já entra ligado, senão o conteúdo ficaria sobre o vídeo cru. */
html:not(.motion-ready) /* Os dois scrims do hero, agora fixos. Fazem crossfade com o véu:
   como nenhuma das duas camadas tem borda, não há emenda possível. */
.ambient-hero {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(20, 17, 16, 0.62), transparent 22%, transparent 66%, rgba(20, 17, 16, 0.74)),
    linear-gradient(90deg,
      rgba(20, 17, 16, 0.95) 0%,
      rgba(20, 17, 16, 0.88) 22%,
      rgba(20, 17, 16, 0.66) 42%,
      rgba(20, 17, 16, 0.32) 62%,
      rgba(20, 17, 16, 0.14) 80%,
      rgba(20, 17, 16, 0.38) 100%);
}

.ambient-veil {
  opacity: 1;
}

.ambient .grain {
  z-index: 3;
}

/* O corpo deixa de pintar por cima do vídeo; cada superfície traz o
   próprio scrim, calibrado para o contraste que o conteúdo exige. */
body {
  background: transparent;
}

.track,
.stage {
  background: transparent;
}

.stage .canvas {
  background: transparent;
}

/* ==========================================================================
   SUPERFÍCIES DE CONTEÚDO — scrim de 0.82 sobre o vídeo
   ========================================================================== */

.chapters {
  background: none;
}

/* Sem gradiente por seção: o scrim é uma camada fixa única (.ambient-veil),
   por isso não existe degrau entre uma seção e outra. */

.chapter {
  background: none;
}

.closing {
  background: none;
}



/* ==========================================================================
   FAQ — acordeão
   ========================================================================== */

.faq-item {
  padding: 0;
}

.faq-heading {
  margin: 0;
}

.faq-trigger {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) 1.5rem;
  gap: 0.85rem;
  align-items: baseline;
  width: 100%;
  padding: clamp(1.15rem, 3vh, 1.6rem) 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: opacity 220ms var(--ease);
}

.faq-num {
  color: var(--brass-bright);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  opacity: 0.85;
  transition: opacity 220ms var(--ease);
}

.faq-q {
  color: var(--bone);
  font-size: clamp(1.02rem, 2.8vw, 1.18rem);
  font-weight: 400;
  line-height: 1.34;
  text-wrap: pretty;
  transition: color 220ms var(--ease);
}

.faq-chevron {
  align-self: center;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--brass);
  transition: transform 320ms var(--ease), color 220ms var(--ease);
}

.faq-trigger[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--brass-bright);
}

.faq-trigger[aria-expanded="true"] .faq-num {
  opacity: 1;
}

.faq-trigger[aria-expanded="true"] .faq-q {
  color: var(--brass-bright);
}

/* O painel é medido pelo GSAP; sem JS ele nasce aberto (height auto). */
.js .faq-panel {
  overflow: hidden;
}

/* Evita o flash de todos abertos entre o parse do HTML e o boot do JS. */
.js .faq-panel[aria-hidden="true"] {
  height: 0;
}

.faq-panel-inner {
  padding: 0 0 clamp(1.15rem, 3vh, 1.6rem);
}

.faq-panel-inner p {
  max-width: 62ch;
  color: var(--bone-muted);
  font-size: clamp(0.95rem, 2.4vw, 1.03rem);
  line-height: 1.65;
  text-wrap: pretty;
}

@media (hover: hover) {
  .faq-trigger:hover .faq-q {
    color: var(--brass-bright);
  }

  .faq-trigger:hover .faq-chevron {
    color: var(--brass-bright);
  }

  .faq-trigger:hover .faq-num {
    opacity: 1;
  }
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 3px;
}

/* ==========================================================================
   MICRO-INTERAÇÕES
   ========================================================================== */

@media (hover: hover) {
  .compare-table tbody tr {
    transition: background 260ms var(--ease);
  }

  .compare-table tbody tr:hover {
    background: rgba(242, 235, 224, 0.035);
  }

  .compare-table tbody tr.is-primary:hover {
    background: rgba(198, 161, 91, 0.1);
  }

  .regions li {
    transition: border-color 260ms var(--ease), color 260ms var(--ease);
  }

  .regions li:hover {
    border-color: rgba(198, 161, 91, 0.55);
    color: var(--bone);
  }
}

/* ==========================================================================
   RESPONSIVO — acordeão
   ========================================================================== */

@media (max-width: 767px) {
  .faq-trigger {
    grid-template-columns: 2.1rem minmax(0, 1fr) 1.15rem;
    gap: 0.7rem;
  }

  .faq-chevron {
    width: 1.1rem;
    height: 1.1rem;
  }

  .faq-panel-inner {
    padding-left: 2.8rem;
  }
}

@media (min-width: 1024px) {
  /* Pergunta na coluna da esquerda, resposta abrindo na da direita —
     o mesmo eixo editorial da V1 do hero. Os filhos diretos do .faq-item
     são o <h3> e o painel; é neles que o grid se apoia, não no botão. */
  .faq-item {
    display: grid;
    grid-template-columns: minmax(0, 27rem) minmax(0, 1fr);
    gap: clamp(2rem, 4.5vw, 3.5rem);
    align-items: start;
  }

  .faq-heading {
    grid-column: 1;
  }

  .faq-panel {
    grid-column: 2;
  }

  .faq-trigger {
    grid-template-columns: 3.75rem minmax(0, 1fr) 1.25rem;
    gap: clamp(1rem, 2vw, 1.5rem);
  }

  .faq-num {
    font-size: 1.25rem;
  }

  /* Mesmo respiro vertical do gatilho, para a primeira linha da resposta
     nascer alinhada com a primeira linha da pergunta. */
  .faq-panel-inner {
    padding: clamp(1.15rem, 3vh, 1.6rem) 0;
  }
}

/* ==========================================================================
   MOVIMENTO REDUZIDO — nada de parallax, scrub ou transições longas
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .ambient-media {
    transform: none !important;
  }

  .faq-chevron,
  .faq-q,
  .faq-num,
  .compare-table tbody tr,
  .regions li {
    transition: none;
  }
}

/* ==========================================================================
   No celular a barra fixa de WhatsApp já é o CTA — o botão do fechamento
   sairia redundante e empurraria os selos de confiança para fora da tela.
   ========================================================================== */

@media (max-width: 767px) {
  .closing .cta {
    display: none;
  }

  .closing .cta-row {
    margin-top: clamp(0.9rem, 2.4vh, 1.3rem);
  }
}

/* ==========================================================================
   ABERTURA DA HERO — coreografia de 6s
   --------------------------------------------------------------------------
   Os elementos são pré-escondidos por CSS enquanto .intro-pending está no
   <html> (a classe entra no script inline do <head>, antes do primeiro
   paint). O JS monta a timeline, o GSAP aplica o estado inicial na mesma
   hora e só então a classe sai — assim não existe piscada de conteúdo.
   Se o JS falhar ou o GSAP não carregar, a classe é removida mesmo assim.
   ========================================================================== */

.intro-pending .ambient-media,
.intro-pending .nav > *,
.intro-pending .panel-intro > *,
.intro-pending .mobile-bar,
.intro-pending .hud,
.intro-pending .scroll-cue {
  opacity: 0;
}

/* O brilho varre o botão uma única vez, quando ele chega. */
@keyframes cta-arrive-shine {
  from { transform: translateX(-130%); }
  to   { transform: translateX(130%); }
}

.cta.is-arriving::after {
  animation: cta-arrive-shine 1000ms var(--ease) 1;
}

@media (prefers-reduced-motion: reduce) {
  .intro-pending .ambient-media,
  .intro-pending .nav > *,
  .intro-pending .panel-intro > *,
  .intro-pending .mobile-bar,
  .intro-pending .hud,
  .intro-pending .scroll-cue {
    opacity: 1;
  }

  .cta.is-arriving::after {
    animation: none;
  }
}
