:root {
  --color-void: #0a0a0a;
  --color-carbon: #151515;
  --color-graphite: #1b1b1b;
  --color-steel: #b8ae9f;
  --color-silver: #f6f2ea;
  --color-silver-soft: #d3c9b9;
  --color-line: rgba(217, 184, 117, 0.16);
  --color-line-strong: rgba(217, 184, 117, 0.28);
  --color-accent: #d9b875;
  --color-accent-deep: #8f703e;
  --color-accent-light: #f4d99e;
  --color-card-surface: #1b1b1b;
  --color-grid: rgba(217, 184, 117, 0.035);
  --color-focus: #f4d99e;
  --font-display: "Sora", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.5rem;
  --shadow-shell: 0 22px 80px rgba(0, 0, 0, 0.42);
  --ease-standard: 220ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--color-void);
  color-scheme: dark;
  text-wrap: balance;
  scrollbar-color: var(--color-accent-deep) var(--color-void);
  scrollbar-width: thin;
}

html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: var(--color-void);
}

html::-webkit-scrollbar-thumb {
  border: 2px solid var(--color-void);
  border-radius: 999px;
  background: var(--color-accent-deep);
}

html::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

html::-webkit-scrollbar-thumb:active {
  background: var(--color-accent-light);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(217, 184, 117, 0.08), transparent 35rem),
    radial-gradient(circle at 9% 82%, rgba(143, 112, 62, 0.045), transparent 29rem),
    linear-gradient(var(--color-grid) 1px, transparent 1px) 0 0 / 4rem 4rem,
    linear-gradient(90deg, var(--color-grid) 1px, transparent 1px) 0 0 / 4rem 4rem,
    var(--color-void);
  color: var(--color-silver);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.11;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100dvh;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}

.content-width {
  width: min(100% - 2rem, 88rem);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 5.5rem;
  padding-top: var(--space-4);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  transition: opacity var(--ease-standard), transform var(--ease-standard);
}

.brand-mark img {
  width: clamp(9rem, 31vw, 13.65rem);
  height: auto;
}

.brand-mark:hover {
  opacity: 0.78;
  transform: translateY(-1px);
}

.brand-mark:active {
  transform: translateY(1px);
}

.hero {
  position: relative;
  isolation: isolate;
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.hero::before {
  position: absolute;
  inset-block: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  content: "";
  transform: translateX(-50%);
  background: url("../images/bg-01.webp") left top / cover no-repeat;
  pointer-events: none;
}

.page-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease-out;
}

.page-cursor.is-visible {
  opacity: 1;
}

.page-cursor::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 45px;
  height: 45px;
  content: "";
  border: 1px solid var(--color-line-strong);
  border-radius: 50%;
  background: rgba(217, 184, 117, 0.04);
  transform: translate(-50%, -50%) scale(1);
  transition: transform 220ms ease-out, background-color 220ms ease-out;
}

.page-cursor.is-over-link::before {
  background: rgba(217, 184, 117, 0.1);
  transform: translate(-50%, -50%) scale(1.55);
}

.hero-copy {
  max-width: 62rem;
  margin-top: clamp(2.5rem, 5vw, 5rem);
  text-align: left;
}

.eyebrow {
  margin: 0 0 var(--space-5);
  color: var(--color-accent-light);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.35;
}

h1 {
  max-width: 800px;
  margin: 0;
  color: var(--color-silver);
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 9vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.hero-subtitle {
  max-width: 34rem;
  margin: var(--space-6) 0 0;
  color: var(--color-silver-soft);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
}

.capture-section {
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

.capture-stack {
  min-width: 0;
  width: min(100%, 800px);
  margin-inline: auto;
}

.chat-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-lg);
  background: var(--color-carbon);
  box-shadow: var(--shadow-shell), inset 0 1px rgba(255, 255, 255, 0.04);
  isolation: isolate;
}

.chat-shell::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  content: "";
  border: 1px solid transparent;
  border-radius: inherit;
  transition: border-color var(--ease-standard), box-shadow var(--ease-standard);
}

.chat-shell:focus-within::after {
  border-color: rgba(244, 217, 158, 0.7);
  box-shadow: inset 0 0 0 2px rgba(217, 184, 117, 0.14);
}

.chat-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-line);
  background: rgba(27, 27, 27, 0.97);
}

.chat-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(244, 217, 158, 0.26);
  border-radius: 50%;
  background: var(--color-void);
}

.chat-avatar img {
  width: 2.25rem;
  height: auto;
  max-width: none;
}

.chat-status {
  color: var(--color-silver-soft);
  font-size: 0.9rem;
  line-height: 1;
}

.chat-signal {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(217, 184, 117, 0.14);
}

.chat-stage {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background-color: var(--color-graphite);
  background-image:
    linear-gradient(rgba(244, 217, 158, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 217, 158, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 20% 15%, rgba(217, 184, 117, 0.08), transparent 18rem);
  background-size: 2.5rem 2.5rem, 2.5rem 2.5rem, auto;
}

.chat-stage::before,
.chat-stage::after {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  content: "";
  border-radius: 50%;
  border: 1px solid rgba(217, 184, 117, 0.09);
}

.chat-stage::before {
  width: 23rem;
  height: 23rem;
  top: 16%;
  right: -11rem;
}

.chat-stage::after {
  width: 30rem;
  height: 30rem;
  bottom: -19rem;
  left: -13rem;
}

.chat-stage typebot-standard {
  position: relative;
  z-index: 1;
  display: block;
  text-wrap: wrap;
}

.chat-loading {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.45rem;
  transition: opacity 300ms ease;
}

.chat-loading span {
  display: block;
  width: min(68%, 18rem);
  height: 2.2rem;
  border-radius: 0.75rem;
  background: linear-gradient(90deg, rgba(230, 234, 237, 0.08), rgba(230, 234, 237, 0.15), rgba(230, 234, 237, 0.08));
}

.chat-loading span:nth-child(2) {
  width: min(53%, 14rem);
  justify-self: end;
  margin-right: 10%;
}

.chat-loading span:nth-child(3) {
  width: min(61%, 16rem);
  justify-self: start;
  margin-left: 10%;
}

.chat-shell[data-chat-state="ready"] .chat-loading,
.chat-shell[data-chat-state="success"] .chat-loading {
  opacity: 0;
  visibility: hidden;
}

.chat-shell[data-chat-state="error"]::after {
  border-color: rgba(202, 93, 77, 0.6);
}

.commitment-note {
  max-width: 31rem;
  margin: var(--space-4) auto 0;
  color: var(--color-silver-soft);
  font-size: 1rem;
  line-height: 1.45;
  text-align: center;
}

.benefits-section {
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(5rem, 9vw, 8rem);
}

.benefits {
  display: grid;
  gap: var(--space-4);
  width: min(100%, 400px);
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.benefit-item {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  overflow: hidden;
  padding: 1.75rem;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--color-line);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 18px 40px rgba(0, 0, 0, 0.15);
  color: var(--color-silver);
  transition: transform var(--ease-standard), background-color var(--ease-standard), box-shadow var(--ease-standard);
}

.benefit-item > span {
  position: relative;
  z-index: 2;
}

@media (hover: hover) {
  .benefit-item:hover {
    transform: translateY(-6px);
    background-color: rgba(217, 184, 117, 0.58);
    box-shadow: 0 18px 40px rgba(143, 112, 62, 0.22), 0 24px 52px rgba(0, 0, 0, 0.3);
  }
}

.benefit-item::before {
  position: absolute;
  inset: -100%;
  z-index: 0;
  content: "";
  pointer-events: none;
  background: conic-gradient(
    transparent 0deg 265deg,
    rgba(217, 184, 117, 0.06) 285deg,
    var(--color-accent) 304deg,
    var(--color-accent-light) 314deg,
    rgba(217, 184, 117, 0.06) 334deg,
    transparent 360deg
  );
  animation: border-orbit 9s linear infinite;
  animation-play-state: paused;
}

.benefit-item::after {
  position: absolute;
  inset: 1px;
  z-index: 1;
  content: "";
  pointer-events: none;
  border-radius: calc(var(--radius-lg) - 1px);
  background: var(--color-card-surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.benefit-item.is-in-view::before {
  animation-play-state: running;
  will-change: transform;
}

.page-hidden .benefit-item::before {
  animation-play-state: paused;
}

@keyframes border-orbit {
  to {
    transform: rotate(1turn);
  }
}

.benefit-icon {
  display: grid;
  flex: 0 0 3.25rem;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  color: var(--color-accent-light);
  border: 1px solid rgba(217, 184, 117, 0.26);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(217, 184, 117, 0.19), rgba(143, 112, 62, 0.1));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.benefit-icon svg {
  width: 1.625rem;
  height: 1.625rem;
}

.benefit-item > span:last-child {
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.site-footer {
  padding-block: 0 2rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  padding-top: var(--space-5);
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-steel);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--ease-standard), opacity var(--ease-standard), transform var(--ease-standard);
}

.site-footer a:hover {
  color: var(--color-silver);
  transform: translateY(-1px);
}

.site-footer a:active {
  transform: translateY(1px);
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 4px;
}

@media (min-width: 48rem) {
  .content-width {
    width: min(100% - 4rem, 88rem);
  }

  .benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 1232px);
  }

  .site-header {
    min-height: 7rem;
    padding-top: var(--space-5);
  }

  .hero-copy {
    margin-top: 3rem;
  }

  h1 {
    font-size: clamp(3.75rem, 6.3vw, 5.25rem);
  }

}

@media (max-width: 63.99rem) {
  body {
    background:
      linear-gradient(var(--color-grid) 1px, transparent 1px) 0 0 / 4rem 4rem,
      linear-gradient(90deg, var(--color-grid) 1px, transparent 1px) 0 0 / 4rem 4rem,
      var(--color-void);
  }

  body::before {
    display: none;
  }

  .capture-section {
    /* Ambas as imagens bg02 medem 1002 × 900. */
    --capture-photo-height: 89.82vw;
    position: relative;
    isolation: isolate;
    padding-bottom: var(--capture-photo-height);
  }

  .capture-section::before {
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: -1;
    width: 100vw;
    height: var(--capture-photo-height);
    content: "";
    transform: translateX(-50%);
    background: url("../images/bg02 MOBILE.webp") center bottom / 100% auto no-repeat;
    pointer-events: none;
  }

  .hero::before {
    background-image: url("../images/bg-01 mobile.webp");
    background-position: center top;
    background-size: contain;
  }

  .site-header {
    justify-content: center;
    padding-top: 50vw;
  }

  .hero-copy {
    margin-top: 20px;
    margin-inline: auto;
    text-align: center;
  }

  h1,
  .hero-subtitle {
    margin-inline: auto;
  }
}

@media (min-width: 48rem) and (max-width: 63.99rem) {
  .capture-section::before {
    background-image: url("../images/bg02 TABLET.webp");
  }

  .hero::before {
    background-image: url("../images/bg-01 tablet.webp");
  }
}

@media (min-width: 64rem) {
  .site-header {
    min-height: 0;
    padding-top: 100px;
  }

  .hero {
    /* Proporção original do fundo: 1920 × 860. */
    min-height: 44.7917vw;
    padding-bottom: 100px;
  }

  .hero-copy {
    width: 100%;
    max-width: 72rem;
    margin-top: 32px;
  }

  h1 {
    font-size: 75px;
  }

  .capture-section {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    height: 900px;
    padding-bottom: 0;
  }

  .capture-section::before {
    position: absolute;
    inset-block: 0;
    left: 50%;
    z-index: -1;
    width: 100vw;
    content: "";
    transform: translateX(-50%);
    background: url("../images/bg02.webp") center top / cover no-repeat;
    pointer-events: none;
  }

  .capture-stack {
    margin-inline: auto 0;
  }

  .hero-subtitle {
    max-width: none;
    white-space: nowrap;
  }

  .site-footer {
    padding-bottom: 2.5rem;
  }
}

@media (min-width: 64rem) and (max-width: 119.99rem) {
  .site-header {
    padding-top: clamp(3rem, 5.2083vw, 100px);
  }

  .hero {
    padding-bottom: clamp(3rem, 5.2083vw, 100px);
  }

  h1 {
    max-width: min(800px, 55vw);
    font-size: clamp(3rem, 4.6875vw, 75px);
  }
}

@media (min-width: 120rem) {
  .hero {
    height: 860px;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-cursor {
    display: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .benefit-item::before {
    animation: none !important;
  }

  .benefit-item:hover {
    transform: none;
  }
}
