/* Wentwise site. Tokens, type scale and components follow detalio/brand/manual-da-marca.html. */

:root {
  /* Primary */
  --sinal: #ffc629;
  --tinta: #0f1b3d;
  /* Neutrals */
  --papel: #ffffff;
  --nuvem: #f3f5f9;
  --nevoa: #dce1eb;
  --ardosia: #56627c;
  /* Functional: only for consensus and divergence */
  --consenso: #14895f;
  --divergencia: #d9531e;

  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-text: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius: 20px;
  --radius-sm: 14px;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--tinta);
  outline-offset: 3px;
  border-radius: 4px;
}

.on-ink :focus-visible,
.cta :focus-visible {
  outline-color: var(--sinal);
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  background: var(--tinta);
  color: var(--papel);
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ------------------------------------------------------------ type */

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
  color: inherit;
}

.display {
  font-weight: 800;
  font-size: clamp(44px, 7.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2 {
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h3 {
  font-weight: 700;
  font-size: 22px;
  line-height: 28px;
  letter-spacing: -0.01em;
}

.label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  color: var(--ardosia);
  max-width: 34em;
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(32px, 5vw, 56px);
  max-width: 40rem;
}
.section-head p {
  margin: 0;
  color: var(--ardosia);
  font-size: 18px;
}
.on-ink .section-head p {
  color: #c4cce0;
}

section {
  padding: clamp(64px, 9vw, 112px) 0;
}

/* ------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 16px;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-signal {
  background: var(--sinal);
  color: var(--tinta);
}
.btn-signal:hover {
  background: #ffd14f;
}
.btn-ink {
  background: var(--tinta);
  color: var(--papel);
}
.btn-ink:hover {
  background: #1b2c63;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.btn-sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
  border-radius: 14px;
}

/* ------------------------------------------------------------ store badges */

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 20px 8px 14px;
  border-radius: 14px;
  background: var(--tinta);
  color: var(--papel);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.store:hover {
  transform: translateY(-3px);
  background: #1b2c63;
}
.store svg {
  flex: none;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--sinal);
  stroke-width: 2;
}
.store small {
  display: block;
  font-size: 11.5px;
  line-height: 14px;
  letter-spacing: 0.02em;
  color: #c4cce0;
}
.store strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 22px;
  letter-spacing: -0.01em;
}
.cta .stores {
  justify-content: center;
}

/* ------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--nevoa);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}
.brand img {
  height: 30px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a:not(.btn) {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--ardosia);
}
.nav a:not(.btn):hover {
  color: var(--tinta);
}
@media (max-width: 760px) {
  .nav a:not(.btn) {
    display: none;
  }
}

/* ------------------------------------------------------------ hero */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--nuvem);
  padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px);
}

/* "A Subida": bands at 68.6 degrees (the slope of the confirmation stroke), always leaving from an edge, three at most. */
.rise {
  position: absolute;
  bottom: 0;
  height: 135%;
  transform-origin: bottom left;
  transform: translateY(var(--py, 0px)) skewX(-21.4deg);
  pointer-events: none;
}
.rise-1 {
  right: 20%;
  width: 150px;
  background: var(--sinal);
}
.rise-2 {
  right: calc(20% - 190px);
  width: 56px;
  background: var(--tinta);
}
.rise-3 {
  right: calc(20% - 290px);
  width: 28px;
  background: var(--sinal);
}
@media (max-width: 960px) {
  .rise-1 {
    right: -10%;
    width: 110px;
  }
  .rise-2 {
    right: -24%;
  }
  .rise-3 {
    display: none;
  }
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}
@media (max-width: 960px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
}

.hero-copy {
  display: grid;
  gap: 26px;
  justify-items: start;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: var(--papel);
  border: 1px solid var(--nevoa);
  color: var(--ardosia);
}
.badge i {
  display: block;
  width: 10px;
  height: 10px;
  margin-left: 4px;
  background: var(--sinal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 198, 41, 0.3);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-note {
  font-size: 14px;
  color: var(--ardosia);
  margin: 0;
}

/* ------------------------------------------------------------ proof components */

/* Citation seal: yellow play, minute in mono. */
.seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border: 1px solid var(--nevoa);
  border-radius: 999px;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  text-decoration: none;
  white-space: nowrap;
}
.seal::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sinal)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%230F1B3D'/%3E%3C/svg%3E")
    center / 22px no-repeat;
}
.seals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Consensus meter: one segment per channel, real counts, never percentages. */
.meter {
  display: grid;
  gap: 8px;
}
.meter-bar {
  display: flex;
  gap: 4px;
}
.meter-bar span {
  flex: 1;
  height: 10px;
  border-radius: 3px;
  background: var(--consenso);
}
.meter-bar span.no {
  background: var(--divergencia);
}
.meter-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
}
.meter-legend .yes {
  color: var(--consenso);
}
.meter-legend .no {
  color: var(--divergencia);
}

/* Divergence notice. */
.split {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-left: 4px solid var(--divergencia);
  background: #fdeee7;
  border-radius: 4px 12px 12px 4px;
}
.split strong {
  color: #a8400f;
}
.split p {
  margin: 0;
  font-size: 13.5px;
  line-height: 20px;
  color: var(--tinta);
}

/* ------------------------------------------------------------ numbers band */

.on-ink {
  background: var(--tinta);
  color: var(--papel);
}
.stats {
  padding: clamp(40px, 6vw, 64px) 0;
}
.stats ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 16px;
}
@media (max-width: 900px) {
  .stats ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats li:last-child {
    grid-column: 1 / -1;
  }
}
.stats li {
  display: grid;
  gap: 6px;
  padding-left: 16px;
  border-left: 3px solid var(--sinal);
}
.stats b {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  color: var(--sinal);
  letter-spacing: -0.02em;
}
.stats span {
  font-size: 14px;
  line-height: 20px;
  color: #c4cce0;
}


/* ------------------------------------------------------------ numbers note and sources */

.stats-note {
  margin: 28px 0 0;
  font-size: 13px;
  color: #98a3bf;
}

.sources {
  position: relative;
  overflow: hidden;
}
.sources .section-head h2 {
  color: var(--papel);
}
.source-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 760px) {
  .source-map {
    grid-template-columns: 1fr;
  }
}
.source-core,
.source-next {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 28px;
  border-radius: var(--radius);
}
.source-core {
  background: var(--sinal);
  color: var(--tinta);
}
.source-core strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.source-core small {
  font-size: 15px;
  line-height: 22px;
}
.source-next {
  border: 2px dashed rgba(255, 255, 255, 0.28);
  color: var(--papel);
}
.source-next .label {
  color: #c4cce0;
}
.source-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.source-chips span {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.source-chips span:hover {
  background: var(--papel);
  color: var(--tinta);
  transform: translateY(-2px);
}
.source-next small {
  font-size: 14px;
  color: #98a3bf;
}

.hero-copy .stores {
  margin-top: 4px;
}

/* ------------------------------------------------------------ steps */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--nuvem);
}
.step .num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ardosia);
}
.step p {
  margin: 0;
  color: var(--ardosia);
}

/* ------------------------------------------------------------ proof section */

.proof {
  background: var(--nuvem);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 900px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }
}
.proof-card {
  display: grid;
  gap: 18px;
  align-content: space-between;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--papel);
  border: 1px solid var(--nevoa);
}
.proof-demo {
  min-height: 92px;
  display: grid;
  align-content: center;
}
.proof-card p {
  margin: 0;
  color: var(--ardosia);
  font-size: 15px;
  line-height: 23px;
}

/* ------------------------------------------------------------ features */

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
}
@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 580px) {
  .features {
    grid-template-columns: 1fr;
  }
}
.feature {
  display: grid;
  gap: 10px;
  align-content: start;
}
.feature svg {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 12px;
  background: var(--sinal);
  fill: none;
  stroke: var(--tinta);
  stroke-width: 2;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}
.feature h3 {
  font-size: 19px;
  line-height: 24px;
}
.feature p {
  margin: 0;
  color: var(--ardosia);
  font-size: 15px;
  line-height: 23px;
}

.status {
  margin-top: clamp(40px, 6vw, 64px);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--nuvem);
  border-left: 6px solid var(--sinal);
}
.status p {
  margin: 0;
  max-width: 52rem;
}
.status strong {
  font-family: var(--font-display);
  font-weight: 700;
}

/* ------------------------------------------------------------ faq */

.faq {
  background: var(--nuvem);
}
.faq .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}
@media (max-width: 860px) {
  .faq .wrap {
    grid-template-columns: 1fr;
  }
}
details {
  background: var(--papel);
  border: 1px solid var(--nevoa);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  position: relative;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -9px;
  border-right: 2.5px solid var(--tinta);
  border-bottom: 2.5px solid var(--tinta);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -3px;
}
details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--ardosia);
}

/* ------------------------------------------------------------ call to action */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--sinal);
  color: var(--tinta);
}
.cta .rise {
  animation: none;
  background: var(--tinta);
  opacity: 0.08;
  right: 6%;
  width: 180px;
}
.cta .wrap {
  position: relative;
  display: grid;
  gap: 28px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  justify-items: center;
}
.cta p {
  margin: 0;
  font-size: 18px;
}
.waitlist {
  width: 100%;
  display: grid;
  gap: 12px;
}
.waitlist-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
@media (max-width: 560px) {
  .waitlist-row {
    grid-template-columns: 1fr;
  }
}
.waitlist input[type="email"] {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 2px solid var(--tinta);
  border-radius: 16px;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 500;
}
.waitlist input[type="email"]::placeholder {
  color: var(--ardosia);
}
.waitlist .btn {
  min-height: 56px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-msg {
  min-height: 24px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}
.form-msg[data-state="error"] {
  color: #8a2d08;
}
.cta .fine,
.fine {
  font-size: 13.5px;
  line-height: 20px;
  max-width: 34rem;
}
.fine a {
  font-weight: 600;
}

/* ------------------------------------------------------------ footer */

.site-footer {
  background: var(--tinta);
  color: var(--papel);
  padding: 48px 0 40px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  align-items: center;
  justify-content: space-between;
}
.site-footer img {
  height: 28px;
  width: auto;
}
.site-footer nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer a {
  color: #c4cce0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.site-footer a:hover {
  color: var(--papel);
  text-decoration: underline;
}
.site-footer small {
  flex-basis: 100%;
  color: #98a3bf;
  font-size: 13px;
  line-height: 20px;
}

/* ------------------------------------------------------------ legal pages */

.legal {
  padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 112px);
  background: var(--nuvem);
}
.legal .doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.legal h1 {
  font-weight: 800;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.legal .updated {
  color: var(--ardosia);
  margin: 10px 0 28px;
}
.legal article {
  background: var(--papel);
  border: 1px solid var(--nevoa);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 14px;
}
.legal h2 {
  font-size: 22px;
  line-height: 28px;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.legal p {
  margin: 0 0 10px;
}
.legal p:last-child {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
