/* Composição da landing page; cores e tipografia vêm dos tokens da marca. */
:root {
  --page-inset: 0.75rem;
  --section-padding: clamp(1.5rem, 4vw, 5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.22, 1.25, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  background: var(--mc-paper);
  color: var(--mc-ink);
  font-family: var(--mc-font);
  line-height: 1.5;
}

body, h1, h2, h3, p, figure, dl, dd {
  margin: 0;
}

button, input {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button, a {
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  color: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--mc-teal);
  outline-offset: 5px;
}

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

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2.5rem, 4.6vw, 5rem);
}

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

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 250;
  padding: 0.75rem 1rem;
  background: var(--mc-white);
  clip-path: inset(50%);
  transform: translateY(-200%);
}

.skip-link:focus {
  clip-path: none;
  transform: none;
}

.page {
  max-width: 120rem;
  margin-inline: auto;
  padding: var(--page-inset);
  overflow: clip;
}

.section {
  padding: 6rem var(--section-padding);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  flex: 0 0 0.375rem;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: currentColor;
}

.eyebrow + h2 {
  margin-top: 1.5rem;
}

.muted {
  color: var(--mc-muted);
}

.mini-label, .card-index {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 3.25rem;
  padding: 0.9rem 1.5rem;
  border: 1px solid var(--mc-ink);
  border-radius: 3rem;
  color: var(--mc-white);
  background: var(--mc-ink);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
}

.button-light {
  color: var(--mc-ink);
  background: var(--mc-yellow);
  border-color: var(--mc-yellow);
}

.arrow {
  display: inline-block;
  font-size: 1.25rem;
  transition: transform 300ms var(--ease-spring);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.icon-button {
  display: grid;
  place-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--mc-line);
  border-radius: 50%;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
}

.icon-solid {
  background: var(--mc-ink);
  color: var(--mc-paper);
  border-color: var(--mc-ink);
}

.brand {
  display: block;
  width: 10rem;
  flex-shrink: 0;
}

/* A abertura mantém o foco na assinatura e no próximo passo. */
.hero {
  display: flex;
  flex-direction: column;
  min-height: 45rem;
  min-height: min(56rem, calc(100svh - 1.5rem));
  padding: 0 var(--section-padding);
  background: #eeece4;
  border-radius: 2rem;
}

.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 7.5rem;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav a, .header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}

.header-cta {
  gap: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.menu-toggle {
  gap: 5px;
  border-color: #cccec9;
}

.menu-toggle span {
  width: 1rem;
  height: 1px;
  background: currentColor;
}

.hero-heading {
  padding-top: 1.5rem;
}

.hero-heading > .eyebrow {
  margin-bottom: 1.3rem;
}

.hero h1 {
  font-size: clamp(3rem, 9.6vw, 11rem);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.text-mask {
  display: block;
  overflow: hidden;
  padding-block: 0.14em 0.2em;
  margin-block: -0.14em -0.16em;
}

.text-mask > span {
  display: block;
  white-space: nowrap;
}

.hero h1 em {
  position: relative;
  font-style: normal;
  z-index: 0;
}

.hero h1 em::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 1%;
  right: -1%;
  bottom: 0.07em;
  height: 0.3em;
  background: var(--mc-yellow);
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
  margin-top: auto;
  padding-top: 3rem;
}

.hero-copy {
  max-width: 26rem;
}

.hero-tagline {
  font-size: clamp(1.75rem, 2.7vw, 2.75rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.hero-copy > p:nth-child(2) {
  max-width: 24rem;
  margin-block: 1.25rem;
  color: var(--mc-muted);
  font-size: 0.9375rem;
}

.hero-aside {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
}

.hero-carousel {
  width: 19.5rem;
}

.priority-preview {
  min-height: 12.8rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1.25rem;
  background: var(--mc-white);
}

.preview-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.status-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--mc-teal);
}

.hero-slide h2 {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.hero-slide p {
  margin-top: 0.5rem;
  color: var(--mc-muted);
  font-size: 0.8125rem;
}

.hero-slide .text-link {
  margin-top: 0.5rem;
  font-size: 0.75rem;
}

.hero-slide .mini-label {
  color: var(--mc-muted);
  font-size: 0.75rem;
}

.hero-sticker {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 10rem;
  margin-bottom: 2.75rem;
  padding: 0.75rem 1rem 0;
  background: var(--mc-yellow);
  border-radius: 1.25rem;
  transform: rotate(5deg);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.25;
}

.sticker-star {
  align-self: flex-end;
  font-size: 1.5rem;
}

.avatar {
  position: relative;
  flex-shrink: 0;
  width: 4.25rem;
  height: 4.25rem;
  overflow: hidden;
}

.avatar img {
  position: absolute;
  max-width: none;
  width: 310%;
  height: auto;
  left: -19%;
  top: -25%;
  clip-path: inset(0 64% 0 0);
}

.hero-sticker .avatar {
  width: 7rem;
  height: 7rem;
  margin-top: 0.5rem;
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  color: var(--mc-muted);
  font-size: 0.75rem;
}

.hero-foot a {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  min-height: 2.75rem;
  font-weight: 700;
  color: var(--mc-ink);
}

.hero-foot a span {
  font-size: 1.25rem;
}

/* Carrosséis: conteúdo real em HTML; os controles só surgem com JavaScript. */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.carousel-dots {
  display: flex;
  align-items: center;
}

.carousel-dots button {
  display: grid;
  place-items: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0.5rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

.carousel-dots button span {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 1rem;
  background: #999eaa;
  transition: width 300ms var(--ease-out), background 300ms;
}

.carousel-dots button[aria-current="true"] span {
  width: 1.4rem;
  background: var(--mc-ink);
}

.compact-controls {
  margin-top: 0.25rem;
}

.autoplay-control {
  min-height: 2.75rem;
  padding: 0 0.25rem;
  border: 0;
  background: transparent;
  color: var(--mc-muted);
  font-size: 0.75rem;
}

.autoplay-control span {
  margin-left: 0.35rem;
}

.purpose-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.round-note {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-shrink: 0;
  width: 7rem;
  height: 7rem;
  background: #eeece4;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 700;
}

.round-note b {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 400;
}

.purpose-explanation {
  max-width: 26rem;
}

.purpose-explanation > p + p {
  margin-top: 1rem;
  color: var(--mc-muted);
}

.purpose-stage {
  position: relative;
  margin-block: 2rem;
  height: clamp(25rem, 34vw, 35rem);
}

.purpose-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.ghost-heading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  font-size: clamp(3.25rem, 10.8vw, 10.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.065em;
  text-transform: uppercase;
  color: #d8d9d3;
  user-select: none;
}

.ghost-heading > div {
  display: flex;
  justify-content: space-between;
}

.ghost-heading > div:nth-child(2) > span:first-child {
  color: var(--mc-ink);
}

.mascot-card {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 17rem;
  min-height: 23rem;
  padding: 1.5rem;
  background: var(--mc-yellow);
  border: 1px solid rgba(32,43,69,0.08);
  border-radius: 1.5rem;
  transform: rotate(6deg);
}

.mascot-card .card-index {
  align-self: flex-start;
}

.mascot-card .avatar {
  width: 12.5rem;
  height: 12.5rem;
  margin-block: 0.5rem;
}

.mascot-card h3 {
  align-self: flex-start;
  font-size: 1.375rem;
  letter-spacing: -0.035em;
}

.mascot-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

.card-paper {
  background: #eae7df;
  transform: rotate(-5deg);
}

.card-green {
  background: #dae8de;
  transform: rotate(4deg);
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 4rem;
}

.section-intro > p {
  max-width: 26rem;
  justify-self: end;
  color: var(--mc-muted);
}

.how-section {
  border-radius: 2rem;
  background: #eeece4;
  padding-bottom: 7.5rem;
}

.process-list {
  padding: 0;
  margin: 3.5rem 0 0;
  list-style: none;
}

.process-list li {
  border-top: 1px solid #d1d2ca;
}

.process-list li:last-child {
  border-bottom: 1px solid #d1d2ca;
}

.process-list a {
  display: grid;
  grid-template-columns: 3rem 1fr 3rem;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 0;
}

.step-number {
  align-self: start;
  padding-top: 0.3rem;
  color: var(--mc-muted);
  font-size: 0.875rem;
}

.process-list h3 {
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  letter-spacing: -0.04em;
}

.process-list p {
  margin-top: 0.5rem;
  color: var(--mc-muted);
  font-size: 0.9375rem;
}

.row-arrow {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid #c8cbc4;
  border-radius: 50%;
  font-size: 1.25rem;
  transition: transform 300ms var(--ease-spring);
}

.development-note {
  max-width: 43rem;
  margin-top: 2rem;
  color: var(--mc-muted);
  font-size: 0.8125rem;
}

.views-section {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 3rem;
  margin-top: -2rem;
  border-radius: 2rem;
  background: var(--mc-paper);
}

.views-copy > p:not(.eyebrow) {
  max-width: 22rem;
  margin-top: 1.75rem;
  color: var(--mc-muted);
}

.views-copy .text-link {
  margin-top: 1.25rem;
}

.view-samples {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding-block: 2rem;
}

.sample {
  flex: 1;
  min-width: 0;
  border-radius: 1.25rem;
  border: 1px solid var(--mc-line);
  background: white;
  transform: rotate(-5deg);
}

.sample-inner {
  padding: 1.5rem;
}

.sample h3 {
  margin-top: 1.5rem;
  font-size: 1.5rem;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.sample-number {
  margin-top: 1.5rem;
  font-size: 4rem;
  line-height: 1.15;
  letter-spacing: -0.06em;
}

.sample-number span {
  font-size: 1.75rem;
  color: var(--mc-muted);
}

.sample-number + p {
  color: var(--mc-muted);
  font-size: 0.8125rem;
}

.sample-bars {
  display: flex;
  gap: 0.3rem;
  height: 3rem;
  margin-block: 1.5rem;
}

.sample-bars i {
  flex: 1;
  background: var(--mc-teal);
  border-radius: 0.2rem;
}

.sample-bars .pending {
  background: #e1e9e3;
}

.sample-caption {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--mc-line);
  font-size: 0.8125rem;
}

.sample-caption span {
  color: var(--mc-muted);
}

.sample figcaption {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--mc-line);
  background: #eeece4;
  border-radius: 0 0 1.25rem 1.25rem;
  font-size: 0.75rem;
}

.sample-tasks {
  margin-top: -2rem;
  margin-bottom: 2rem;
  transform: rotate(5deg);
  background: var(--mc-warning-bg);
}

.sample-tasks ul {
  padding: 0;
  margin: 1.5rem 0;
  list-style: none;
}

.sample-tasks li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding-block: 0.8rem;
  font-size: 0.8125rem;
}

.sample-tasks small {
  display: block;
  margin-top: 0.25rem;
  color: var(--mc-muted);
  font-size: 0.75rem;
}

.sample-check {
  font-size: 1rem;
  color: var(--mc-teal);
}

.sample-current {
  border-block: 1px solid #e1d6b2;
  font-weight: 800;
}

.demo-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 4rem;
  padding-top: 3rem;
}

.demo-copy {
  padding-top: 1rem;
}

.demo-copy > p:not(.eyebrow) {
  max-width: 27rem;
  margin-top: 1.5rem;
  color: var(--mc-muted);
}

.demo-quote {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-block: 2rem 1rem;
  font-weight: 700;
}

.demo-copy .demo-disclaimer {
  padding-top: 1rem;
  border-top: 1px solid var(--mc-line);
  font-size: 0.8125rem;
}

.interactive-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--mc-line);
  border-radius: var(--mc-radius-lg);
  background: var(--mc-white);
}

.demo-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--mc-line);
  font-weight: 800;
}

.demo-mode {
  color: var(--mc-teal);
  font-size: 0.75rem;
  font-weight: 700;
}

.static-note {
  margin: 1.5rem 1.75rem 0;
  padding: 1rem;
  background: var(--mc-warning-bg);
  border-radius: var(--mc-radius-sm);
  font-size: 0.875rem;
}

.tabs {
  display: flex;
  gap: 0.5rem;
  padding: 1.25rem 1.75rem 0;
}

.tabs button {
  min-height: 2.75rem;
  padding: 0.625rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--mc-radius-sm);
  background: transparent;
  color: var(--mc-muted);
  font-size: 0.875rem;
  font-weight: 700;
}

.tabs button[aria-selected="true"] {
  background: var(--mc-ink);
  color: var(--mc-white);
}

#demo-content {
  padding: 1.5rem 1.75rem 1.75rem;
}

#demo-content:focus-visible {
  outline-offset: -6px;
}

.demo-stat > span {
  font-size: 0.9375rem;
  font-weight: 700;
}

.demo-stat strong {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

.demo-stat strong span {
  margin-left: 0.125rem;
  color: var(--mc-muted);
  font-size: 1.75rem;
  font-weight: 600;
}

.progress-track {
  height: 0.5rem;
  margin-block: 0.5rem 0.75rem;
  overflow: hidden;
  border-radius: var(--mc-radius-sm);
  background: var(--mc-success-bg);
}

.progress-track > div {
  height: 100%;
  border-radius: inherit;
  background: var(--mc-teal);
  transition: width 250ms ease-out;
}

.demo-stat p {
  color: var(--mc-muted);
  font-size: 0.8125rem;
}

.action-detail {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--mc-radius-md);
  background: var(--mc-warning-bg);
}

.priority-tag {
  letter-spacing: 0.06em;
}

.action-detail h3 {
  margin-top: 0.5rem;
  font-size: 1.375rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
  text-wrap: initial;
}

.action-detail > p {
  margin-top: 0.75rem;
  color: var(--mc-muted);
  font-size: 0.875rem;
}

.task-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-block: 1rem;
  font-size: 0.75rem;
}

.demo-complete {
  width: 100%;
}

.demo-complete[aria-disabled="true"] {
  border-color: var(--mc-teal);
  background: var(--mc-teal);
  cursor: default;
}

.is-complete .action-detail {
  background: var(--mc-success-bg);
}

.is-complete .priority-tag {
  color: var(--mc-teal);
}

.demo-panel-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.5rem;
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--mc-line);
  background: var(--mc-paper);
}

.demo-panel-bottom p {
  color: var(--mc-muted);
  font-size: 0.8125rem;
}

.demo-panel-bottom button {
  flex-shrink: 0;
  min-height: 2.75rem;
  padding: 0.5rem 0.25rem;
  border: 0;
  background: transparent;
  color: var(--mc-ink);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.demo-complete[aria-disabled="true"] {
  color: var(--mc-white);
}

.priority-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tone-band {
  margin-top: 0.75rem;
  background: var(--mc-ink);
  color: var(--mc-paper);
  border-radius: 2rem;
}

.tone-heading h2 span {
  color: var(--mc-yellow);
}

.context-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.context-list > div {
  border-top: 1px solid #596073;
  padding-top: 1.5rem;
}

.context-list dt {
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.055em;
  font-weight: 600;
}

.context-list dd {
  max-width: 14rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #cfd4dd;
}

.tone-closing {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #596073;
  font-size: 0.875rem;
}

.tone-closing > span {
  display: inline-block;
  margin-right: 0.75rem;
  color: var(--mc-yellow);
  font-size: 1.25rem;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

.faq-heading > p:last-child {
  margin-top: 1.5rem;
  color: var(--mc-muted);
}

.faq-list {
  padding-top: 0.25rem;
}

.faq-list details {
  border-bottom: 1px solid var(--mc-line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--mc-line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
  padding-block: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary > span {
  width: 1.75rem;
  flex: 0 0 1.75rem;
  font-size: 0;
  text-align: center;
}

.faq-list summary > span::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
}

.faq-list details[open] summary > span::after {
  content: '−';
}

.faq-list details p {
  max-width: 39rem;
  padding: 0 3rem 1.5rem 0;
  color: var(--mc-muted);
  font-size: 0.9375rem;
}

.footer {
  border-radius: 2rem;
  background: var(--mc-ink);
  color: var(--mc-paper);
  padding-bottom: 2rem;
}

.footer :focus-visible, .menu-dialog :focus-visible {
  outline-color: var(--mc-yellow);
}

.footer-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid #596073;
}

.footer-cta h2 {
  font-size: clamp(3rem, 6.5vw, 7rem);
}

.footer-cta h2 span {
  color: var(--mc-yellow);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding-block: 3rem;
}

.footer-brand .brand {
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
  background: var(--mc-paper);
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
}

.footer-main nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.25rem;
  align-content: start;
}

.footer-main nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.875rem;
}

.footer-note {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: #cfd4dd;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #596073;
  color: #cfd4dd;
  font-size: 0.75rem;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  gap: 1rem;
}

/* Diálogos nativos fornecem foco contido, Escape e conteúdo de fundo inerte. */
html.scroll-locked {
  overflow: hidden;
}

dialog {
  color: var(--mc-ink);
  border: 0;
}

dialog::backdrop {
  background: rgba(32, 43, 69, 0.55);
}

dialog[open] {
  animation: dialog-enter 450ms var(--ease-out) both;
}

.menu-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 2rem calc(var(--section-padding) + var(--page-inset));
  background: var(--mc-ink);
  color: var(--mc-paper);
  overscroll-behavior: contain;
}

.menu-dialog[open] {
  display: flex;
  flex-direction: column;
}

.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.menu-top .brand {
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
  background: var(--mc-paper);
}

.menu-dialog .icon-button {
  border-color: #596073;
}

.dialog-close span {
  font-size: 1.75rem;
  transition: transform 300ms var(--ease-spring);
}

.menu-dialog nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding-block: 3rem;
}

.menu-dialog nav a {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 0.65rem;
  font-size: clamp(2rem, 5.7vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.menu-dialog[open] nav a {
  animation: rise-in 650ms var(--ease-out) both;
  animation-delay: 120ms;
}

.menu-dialog[open] nav a:nth-child(2) {
  animation-delay: 190ms;
}

.menu-dialog[open] nav a:nth-child(3) {
  animation-delay: 260ms;
}

.menu-dialog[open] nav a:nth-child(4) {
  animation-delay: 330ms;
}

.menu-dialog nav a span {
  font-size: 0.875rem;
  color: #cfd4dd;
  letter-spacing: 0;
}

.menu-dialog nav a b {
  margin-left: auto;
  font-weight: 400;
  color: var(--mc-yellow);
}

.menu-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #596073;
  font-size: 0.875rem;
}

.info-dialog {
  width: min(35rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: var(--mc-paper);
  overscroll-behavior: contain;
}

.info-dialog .dialog-close {
  margin: 0 0 1.5rem auto;
}

.info-dialog h2 {
  font-size: 2.5rem;
}

.info-dialog p:not(.eyebrow), .info-dialog ul {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
}

.info-dialog ul {
  padding-left: 1.25rem;
}

.info-dialog li + li {
  margin-top: 0.6rem;
}

.info-dialog > .button {
  margin-top: 2rem;
  width: 100%;
}

/* Efeitos progressivos: o HTML continua visível sem JavaScript ou observador. */
.brand-intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.75rem;
  background: var(--mc-paper);
  pointer-events: none;
}

.brand-intro img {
  width: 15rem;
}

.intro-line {
  width: 10rem;
  height: 2px;
  background: var(--mc-line);
  overflow: hidden;
}

.intro-line::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: var(--mc-ink);
  transform-origin: left;
  animation: intro-line 1400ms cubic-bezier(0.65,0,0.35,1) both;
}

.brand-intro.is-exiting {
  transform: translateY(-105%);
  transition: transform 850ms cubic-bezier(0.65,0,0.35,1);
}

.hero.is-ready .text-mask > span {
  animation: title-enter 1100ms var(--ease-out) both;
}

.hero.is-ready .text-mask:nth-child(2) > span {
  animation-delay: 140ms;
}

.hero.is-ready .hero-copy, .hero.is-ready .hero-aside {
  animation: rise-in 900ms var(--ease-out) both;
  animation-delay: 350ms;
}

.hero.is-ready .hero-aside {
  animation-delay: 650ms;
}

[data-reveal].is-revealed {
  animation: rise-in 800ms var(--ease-out) both;
}

[data-reveal].sample.is-revealed {
  animation-name: sample-enter;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

@keyframes intro-line {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }

}

@keyframes title-enter {
  from {
    transform: translateY(115%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }

}

@keyframes rise-in {
  from {
    opacity: 0;
    translate: 0 1.75rem;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }

}

@keyframes sample-enter {
  from {
    opacity: 0;
    translate: 0 3rem;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }

}

@keyframes dialog-enter {
  from {
    opacity: 0;
    translate: 0 1.5rem;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }

}

@media (hover: hover) and (min-width: 769px) {
  .button:hover .arrow {
    transform: translateX(5px);
  }

  .process-list a:hover .row-arrow {
    transform: translateX(8px);
  }

  .process-list a:hover h3, .main-nav a:hover, .header-cta:hover {
    color: var(--mc-teal);
  }

  .icon-button:hover {
    border-color: currentColor;
  }

  .dialog-close:hover span {
    transform: rotate(90deg);
  }

  .menu-dialog nav a:hover {
    color: var(--mc-yellow);
  }

  .sample {
    transition: transform 450ms var(--ease-spring);
  }

  .sample:hover {
    transform: rotate(0deg) translateY(-0.5rem);
  }

}

@media (min-width: 1600px) {
  .hero {
    min-height: 60rem;
  }

  .hero h1 {
    font-size: clamp(9.6rem, 9.6vw, 11rem);
  }

  .hero-bottom {
    padding-top: 4rem;
  }

}

@media (max-width: 1100px) {
  .main-nav {
    gap: 1rem;
  }

  .main-nav a {
    font-size: 0.75rem;
  }

  .hero-sticker {
    display: none;
  }

  .hero-bottom {
    padding-top: 3rem;
  }

  .views-section {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 2rem;
  }

  .view-samples {
    gap: 1rem;
  }

  .sample-inner {
    padding: 1.25rem;
  }

  .demo-section, .faq-section {
    gap: 2.5rem;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-note {
    grid-column: 2;
  }

}

@media (max-width: 900px) {
  .header {
    grid-template-columns: 1fr auto;
  }

  .header .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-bottom: 1rem;
  }

  .header[data-menu-ready] .main-nav {
    display: none;
  }

  .hero {
    min-height: 47rem;
  }

  .hero h1 {
    font-size: 9.6vw;
  }

  .hero-copy {
    max-width: 22rem;
  }

  .hero-carousel {
    width: 17.5rem;
  }

  .hero-bottom {
    gap: 2rem;
  }

  .hero-foot {
    align-items: flex-start;
  }

  .hero-foot > span {
    max-width: 17.5rem;
    text-align: right;
  }

  .views-section {
    grid-template-columns: 1fr;
  }

  .views-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
  }

  .views-copy .eyebrow, .views-copy h2 {
    grid-column: 1;
  }

  .views-copy > p:not(.eyebrow) {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
  }

  .views-copy .text-link {
    grid-column: 2;
  }

  .view-samples {
    max-width: 38rem;
    margin: 2rem auto 0;
    gap: 1.5rem;
  }

  .sample-inner {
    padding: 1.75rem;
  }

  .demo-section, .faq-section {
    grid-template-columns: 1fr;
  }

  .demo-copy {
    max-width: 34rem;
  }

  .interactive-panel {
    width: 100%;
    max-width: 42rem;
    justify-self: end;
  }

  .context-list {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-cta {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 639px) {
  :root {
    --page-inset: 0.5rem;
    --section-padding: 1.25rem;
  }

  .section {
    padding-block: 4rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .hero, .how-section, .views-section, .tone-band, .footer {
    border-radius: 1.5rem;
  }

  .hero {
    min-height: auto;
  }

  .header {
    min-height: 6rem;
    gap: 0.5rem;
  }

  .brand {
    width: 8.5rem;
  }

  .header-cta {
    display: none;
  }

  .hero-heading {
    padding-top: 1rem;
  }

  .hero-heading > .eyebrow {
    max-width: 15rem;
    font-size: 0.75rem;
  }

  .hero h1 {
    font-size: 9.6vw;
    line-height: 1;
    letter-spacing: -0.065em;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    padding-top: 2.5rem;
  }

  .hero-tagline {
    font-size: 1.75rem;
  }

  .hero-tagline br {
    display: initial;
  }

  .hero-tagline br::after {
    content: ' ';
  }

  .hero-copy > p:nth-child(2) {
    margin-block: 1rem;
  }

  .hero-copy, .hero-copy > p:nth-child(2) {
    max-width: none;
  }

  .hero-aside {
    display: block;
  }

  .hero-carousel {
    width: 100%;
  }

  .priority-preview {
    min-height: 12.5rem;
  }

  .hero-foot {
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.5rem;
  }

  .hero-foot > span {
    max-width: 17rem;
    text-align: left;
  }

  .purpose-intro {
    gap: 1.5rem;
    align-items: flex-start;
  }

  .round-note {
    width: 5.5rem;
    height: 5.5rem;
    font-size: 0.75rem;
  }

  .purpose-explanation > p + p {
    font-size: 0.875rem;
  }

  .purpose-stage {
    height: 29rem;
    margin-block: 2rem 1rem;
  }

  .ghost-heading {
    justify-content: space-between;
    font-size: 10.8vw;
  }

  .mascot-card {
    width: 14rem;
    min-height: 21rem;
    padding: 1.25rem;
  }

  .mascot-card .avatar {
    width: 10rem;
    height: 10rem;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-intro > p {
    justify-self: start;
    font-size: 0.9375rem;
  }

  .how-section {
    padding-bottom: 5.5rem;
  }

  .process-list {
    margin-top: 2.5rem;
  }

  .process-list a {
    grid-template-columns: 1.5rem 1fr 2.5rem;
    gap: 0.75rem;
  }

  .process-list h3 {
    font-size: 1.375rem;
  }

  .process-list p {
    font-size: 0.875rem;
  }

  .row-arrow {
    width: 2.5rem;
    height: 2.5rem;
  }

  .views-copy {
    display: block;
  }

  .views-copy > p:not(.eyebrow) {
    margin-top: 1.5rem;
  }

  .view-samples {
    width: 100%;
    max-width: 22rem;
    gap: 1.25rem;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
  }

  .sample {
    width: 100%;
    max-width: 18rem;
  }

  .sample-tasks {
    margin-top: 0;
    margin-bottom: 0;
    align-self: flex-end;
  }

  .sample-indicators {
    align-self: flex-start;
  }

  .demo-section {
    padding-top: 2rem;
    gap: 2rem;
  }

  .demo-panel-top {
    padding: 1.25rem;
  }

  .tabs {
    gap: 0.25rem;
    padding: 1rem 0.75rem 0;
  }

  .tabs button {
    flex: 1;
    padding: 0.5rem;
    font-size: 0.75rem;
  }

  #demo-content {
    padding: 1.25rem;
  }

  .action-detail {
    padding: 1rem;
  }

  .action-detail h3 {
    font-size: 1.25rem;
  }

  .demo-panel-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
  }

  .static-note {
    margin-inline: 1.25rem;
  }

  .demo-complete {
    padding-inline: 1rem;
    font-size: 0.8125rem;
  }

  .context-list {
    gap: 2rem 1rem;
    margin-top: 3rem;
  }

  .context-list dt {
    font-size: 2.25rem;
  }

  .context-list dd {
    font-size: 0.8125rem;
  }

  .faq-list summary {
    font-size: 0.9375rem;
    gap: 1rem;
  }

  .faq-list details p {
    padding-right: 0;
    font-size: 0.875rem;
  }

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

  .footer-cta h2 {
    font-size: 2.75rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-block: 2rem;
  }

  .footer-note {
    grid-column: auto;
  }

  .footer-main nav {
    max-width: 23rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .menu-dialog {
    padding-block: 1.5rem;
  }

  .menu-dialog nav {
    padding-block: 2rem;
  }

  .menu-dialog nav a {
    gap: 1rem;
    font-size: clamp(1.75rem, 6.6vw, 2.5rem);
    padding-block: 1rem;
  }

  .menu-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
  }

  .info-dialog {
    padding: 1.5rem;
  }

  .info-dialog h2 {
    font-size: 2rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .brand-intro {
    display: none;
  }

  .ghost-heading span {
    translate: none !important;
  }

}
