@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}
/* Fallbacks with metrics matched to the web fonts (measured in Chromium), so the font swap does not reflow the hero. */
@font-face {
  font-family: "Bricolage Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 600 900;
  size-adjust: 101.6%;
  ascent-override: 91.5%;
  descent-override: 26.6%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("ArialMT");
  font-weight: 100 500;
  size-adjust: 95.41%;
  ascent-override: 101.5%;
  descent-override: 25.3%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 600 900;
  size-adjust: 93.43%;
  ascent-override: 103.7%;
  descent-override: 25.8%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Serif Fallback";
  src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT");
  font-style: italic;
  size-adjust: 88.8%;
  ascent-override: 111.5%;
  descent-override: 34.9%;
  line-gap-override: 0%;
}
/* The hero only shows "Feito por", whose width ratio differs from the average of the other emphasized words. */
@font-face {
  font-family: "Serif Fallback Hero";
  src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT");
  font-style: italic;
  size-adjust: 82.2%;
  ascent-override: 120.4%;
  descent-override: 37.7%;
  line-gap-override: 0%;
}

:root {
  --brand: #08154f;
  --brand-deep: #030720;
  --base: #050a24;
  --base-raised: #0c1644;
  --surface: #0a1238;
  --contrast: #eef1fb;
  --text: #dfe4f5;
  --text-soft: #95a0c6;
  --highlight: #7da2ff;
  --highlight-text: #a9c1ff;
  --action: #2f5bea;
  --action-hover: #3f6bf6;
  --on-action: #ffffff;
  --line: rgba(223, 228, 245, 0.1);
  --line-strong: rgba(223, 228, 245, 0.22);

  --font-display: "Bricolage Grotesque", "Bricolage Fallback", "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter Tight", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", "Serif Fallback", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 1.9vw, 3.2rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.4vw, 5rem);
  --step-5: clamp(3.1rem, 2rem + 5.6vw, 7.6rem);

  --radius: 14px;
  --radius-small: 8px;
  --shadow-paper: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 14px 34px -14px rgba(0, 0, 0, 0.6);
  --shadow-lift: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 28px 60px -24px rgba(0, 0, 0, 0.75);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bubble: cubic-bezier(0.34, 1.45, 0.5, 1);
  --container: 1240px;
  --gutter: clamp(1.1rem, 0.6rem + 2.4vw, 2.5rem);
  --header-height: 72px;
}

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  min-height: 100vh;
  background:
    radial-gradient(80rem 50rem at 85% -10%, rgba(47, 91, 234, 0.16), transparent 60%),
    radial-gradient(60rem 40rem at -10% 30%, rgba(8, 21, 79, 0.55), transparent 60%),
    var(--base);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.06 0 0 0 0 0.1 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

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

::selection {
  background: var(--contrast);
  color: var(--base);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--contrast);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

em,
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--contrast);
  color: var(--base);
  border-radius: var(--radius-small);
}

.skip-link:focus {
  top: 1rem;
}

/* Page loader: "dev" draws and fills in while the dot hops; when the page is ready the dot lands in place and the blur dissolves. */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: rgba(5, 10, 36, 0.84);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: opacity 0.55s var(--ease-out), visibility 0s linear 0s;
  animation: loader-failsafe 0.4s ease 8s forwards;
}

html:not(.js) .page-loader {
  display: none;
}

.page-loader.is-ready,
.page-loader.is-navigating {
  animation: none;
}

.page-loader.is-navigating {
  transition-duration: 0.25s;
}

.page-loader.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s var(--ease-out), visibility 0s linear 0.55s;
}

@keyframes loader-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.page-loader__mark {
  width: min(52vw, 220px);
  height: auto;
  overflow: visible;
  transition: transform 0.55s var(--ease-out), filter 0.55s var(--ease-out);
}

.page-loader.is-leaving .page-loader__mark {
  filter: blur(6px);
  transform: scale(1.08);
}

.page-loader__letter {
  fill: var(--contrast);
  fill-opacity: 0;
  stroke: var(--contrast);
  stroke-width: 4;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation:
    loader-draw 0.8s var(--ease-out) calc(var(--letter) * 0.12s) forwards,
    loader-fill 0.45s ease calc(0.5s + var(--letter) * 0.12s) forwards;
}

html.loader-quick .page-loader__letter {
  animation: none;
  fill-opacity: 1;
  stroke-opacity: 0;
}

@keyframes loader-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes loader-fill {
  to {
    fill-opacity: 1;
    stroke-opacity: 0;
  }
}

.page-loader__dot {
  fill: var(--highlight);
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: loader-hop 0.6s infinite;
}

@keyframes loader-hop {
  0%,
  100% {
    transform: translateY(0) scale(1.18, 0.82);
    animation-timing-function: cubic-bezier(0.2, 0.6, 0.4, 1);
  }

  14% {
    transform: translateY(-25%) scale(0.9, 1.1);
  }

  50% {
    transform: translateY(-170%) scale(1);
    animation-timing-function: cubic-bezier(0.6, 0, 0.8, 0.4);
  }

  86% {
    transform: translateY(-25%) scale(0.9, 1.1);
  }
}

.page-loader.is-ready .page-loader__dot {
  animation: loader-land 0.5s var(--ease-out) forwards;
}

@keyframes loader-land {
  0% {
    transform: translateY(0) scale(1.18, 0.82);
  }

  35% {
    transform: translateY(-55%) scale(0.94, 1.06);
  }

  70% {
    transform: translateY(0) scale(1.12, 0.9);
  }

  100% {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader__letter,
  .page-loader__dot {
    animation: none;
    fill-opacity: 1;
    stroke-opacity: 0;
  }
}

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 3rem + 7vw, 9rem);
}

.section--tight {
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
}

.section--navy {
  background: linear-gradient(180deg, var(--brand), #0b1a5e);
  border-block: 1px solid var(--line);
  color: var(--text);
}

.section--navy h2,
.section--navy h3 {
  color: var(--contrast);
}

.section-head {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}

.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: end;
  gap: 2rem 4rem;
}

.section-head h2 {
  font-size: var(--step-4);
}

.section-head p:not(.eyebrow) {
  color: var(--text-soft);
  font-size: var(--step-1);
  line-height: 1.45;
}

.section--navy .section-head p {
  color: rgba(246, 243, 236, 0.72);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--highlight);
}

.section--navy .eyebrow {
  color: rgba(246, 243, 236, 0.7);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.85em;
  letter-spacing: -0.01em;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

/* Buttons */
.btn {
  --btn-bg: var(--contrast);
  --btn-fg: var(--base);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-out), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.35s var(--ease-out);
}

.btn .icon {
  transition: transform 0.35s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-paper);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(0);
}

.btn--accent {
  --btn-bg: var(--action);
  --btn-fg: var(--on-action);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 10px 30px -12px rgba(47, 91, 234, 0.7);
}

.btn--accent:hover {
  --btn-bg: var(--action-hover);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 16px 40px -14px rgba(47, 91, 234, 0.85);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--contrast);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  --btn-bg: rgba(255, 255, 255, 0.05);
  border-color: var(--contrast);
}

.btn--small {
  min-height: 2.6rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.92rem;
}

.btn[disabled] {
  opacity: 0.55;
  pointer-events: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--contrast);
  text-decoration: none;
}

.link-arrow .icon {
  transition: transform 0.35s var(--ease-out);
}

.link-arrow:hover .icon {
  transform: translate(2px, -2px);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--contrast);
  background: rgba(255, 255, 255, 0.04);
}

/* Header: full-width at the top, then it shrinks into a floating glass bubble on scroll */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: 0;
  pointer-events: none;
  transition: padding-top 0.7s var(--ease-bubble);
}

.site-header.is-scrolled {
  padding-top: 0.75rem;
}

.site-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - var(--gutter) * 2, var(--container));
  height: var(--header-height);
  margin-inline: auto;
  padding-inline: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  pointer-events: auto;
  transform-origin: 50% 0;
  transition:
    width 0.8s var(--ease-bubble),
    height 0.7s var(--ease-bubble),
    padding 0.7s var(--ease-bubble),
    background-color 0.5s ease,
    border-color 0.5s ease,
    box-shadow 0.7s ease;
}

.site-header__bar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(70% 140% at 18% -20%, rgba(255, 255, 255, 0.16), transparent 55%),
    radial-gradient(40% 90% at 92% 120%, rgba(125, 162, 255, 0.14), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.site-header.is-scrolled .site-header__bar {
  width: min(100% - 1.5rem, 880px);
  height: 58px;
  padding-inline: 1.25rem 0.45rem;
  background: rgba(12, 22, 68, 0.55);
  border-color: rgba(223, 228, 245, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -12px 24px rgba(125, 162, 255, 0.06),
    0 20px 44px -20px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
}

.site-header.is-scrolled .site-header__bar::before {
  opacity: 1;
}

.site-header__bar.is-wobbling {
  animation: bubble-wobble 0.9s var(--ease-out);
}

.site-header__bar.is-entering {
  animation: bubble-enter 1s var(--ease-bubble) both;
}

@keyframes bubble-wobble {
  0% { transform: scale(1, 1); }
  30% { transform: scale(0.97, 1.08); }
  55% { transform: scale(1.015, 0.96); }
  78% { transform: scale(0.996, 1.015); }
  100% { transform: scale(1, 1); }
}

@keyframes bubble-enter {
  0% { opacity: 0; transform: translateY(-12px) scale(0.92, 0.7); }
  60% { opacity: 1; transform: translateY(0) scale(1.01, 1.06); }
  100% { opacity: 1; transform: none; }
}

.site-header__logo {
  position: relative;
  color: var(--contrast);
}

.logo-mark {
  width: auto;
  height: 1.9rem;
  fill: currentColor;
}

.site-header__logo .logo-mark {
  transition: height 0.6s var(--ease-bubble);
}

.site-header.is-scrolled .site-header__logo .logo-mark {
  height: 1.55rem;
}

.logo-mark .logo-dot {
  fill: var(--highlight);
}

.logo-mark--inline {
  display: inline-block;
  height: 0.78em;
  vertical-align: -0.02em;
}

.site-nav__list {
  position: relative;
  display: flex;
  gap: 0.25rem;
  padding: 0.3rem;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.5s, background-color 0.5s;
}

.site-header.is-scrolled .site-nav__list {
  border-color: transparent;
  background: transparent;
}

.site-nav__list li {
  position: relative;
  z-index: 1;
}

.site-nav {
  position: relative;
}

.site-nav__indicator {
  position: absolute;
  top: calc(0.3rem + 1px);
  bottom: calc(0.3rem + 1px);
  left: 0;
  width: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateX(var(--indicator-x, 0));
  transition: transform 0.55s var(--ease-bubble), width 0.55s var(--ease-bubble), opacity 0.3s;
}

.site-nav__indicator.is-visible {
  opacity: 1;
}

.site-nav__link {
  display: block;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-soft);
  transition: background-color 0.25s, color 0.25s;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--contrast);
}

html:not(.js) .site-nav__link:hover,
html:not(.js) .site-nav__link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.08);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--contrast);
}

.menu-toggle .icon {
  width: 1.3rem;
  height: 1.3rem;
}

.menu-toggle__close,
.menu-open .menu-toggle__open {
  display: none;
}

.menu-open .menu-toggle__close {
  display: block;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-height) + 2rem) var(--gutter) 2rem;
  background: var(--base);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-1rem);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
}

.menu-open .mobile-menu {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.mobile-menu__list {
  display: grid;
  gap: 0.25rem;
  padding: 0;
  list-style: none;
}

.mobile-menu__list a {
  display: block;
  padding: 0.35rem 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--contrast);
  text-decoration: none;
}

.mobile-menu__list a[aria-current="page"] {
  color: var(--highlight-text);
}

.mobile-menu__footer {
  display: grid;
  gap: 0.75rem;
}

.menu-open {
  overflow: hidden;
}

/* Footer */
.site-footer {
  position: relative;
  padding-top: clamp(4rem, 3rem + 5vw, 7rem);
  background: linear-gradient(180deg, var(--brand-deep), #020514);
  border-top: 1px solid var(--line);
  color: var(--text-soft);
}

.site-footer .eyebrow {
  color: rgba(246, 243, 236, 0.55);
  margin-bottom: 1rem;
}

.site-footer__statement {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: clamp(3rem, 2rem + 4vw, 5rem);
  border-bottom: 1px solid rgba(246, 243, 236, 0.14);
}

.site-footer__promise {
  font-family: var(--font-display);
  font-size: var(--step-5);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--contrast);
}

.site-footer__promise em {
  font-weight: 400;
  color: rgba(246, 243, 236, 0.7);
}

.site-footer__promise .logo-mark {
  fill: var(--contrast);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding-block: 3rem;
}

.site-footer__links {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  list-style: none;
}

.site-footer__links a,
.site-footer__muted {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer__links a:hover {
  color: var(--contrast);
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid rgba(246, 243, 236, 0.14);
  font-size: var(--step--1);
}

.site-footer__bottom a {
  text-decoration: none;
}

.site-footer__bottom a:hover {
  color: var(--contrast);
}

.site-footer__social {
  display: flex;
  gap: 0.5rem;
}

.site-footer__social a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(246, 243, 236, 0.2);
  border-radius: 50%;
  transition: background-color 0.25s, border-color 0.25s;
}

.site-footer__social a:hover {
  background: rgba(246, 243, 236, 0.08);
  border-color: var(--contrast);
}

.whatsapp-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--action);
  color: var(--on-action);
  box-shadow: var(--shadow-lift);
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}

.whatsapp-float .icon {
  width: 1.6rem;
  height: 1.6rem;
}

.whatsapp-float:hover {
  transform: scale(1.06) rotate(-4deg);
}

/* Reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--reveal-index, 0) * 80ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stack marquee */
.stack {
  padding-block: 2.5rem;
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.stack__label {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.stack__viewport {
  display: flex;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.stack__track {
  display: flex;
  flex: none;
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  padding-right: clamp(2rem, 1rem + 3vw, 4rem);
  list-style: none;
  padding-left: 0;
  animation: stack-scroll 60s linear infinite;
}

.stack:hover .stack__track {
  animation-play-state: paused;
}

.stack__item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--contrast);
  opacity: 0.62;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.25s;
}

.stack__item:hover {
  opacity: 1;
}

.stack__item svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: currentColor;
}

@keyframes stack-scroll {
  to {
    transform: translateX(-100%);
  }
}
/* Journey: hero + Cena */
.journey {
  --progress: 0;
  --selector: 0;
  position: relative;
}

.journey__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  pointer-events: none;
}

.journey__canvas,
.improviso {
  --stage-fade-start: 80%;
  --stage-fade-end: 100%;
  mask-image: linear-gradient(#000 var(--stage-fade-start), transparent var(--stage-fade-end));
  -webkit-mask-image: linear-gradient(#000 var(--stage-fade-start), transparent var(--stage-fade-end));
}

.journey__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}

.journey.is-3d .journey__canvas {
  opacity: 1;
}

.improviso {
  position: absolute;
  inset: 0;
  transition: opacity 0.4s var(--ease-out), visibility 0s;
}

.journey.is-3d .improviso {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s var(--ease-out), visibility 0s linear 0.8s;
}

.fragment {
  --fragment-width: clamp(170px, 14vw, 236px);
  position: absolute;
  left: calc(var(--cx) + (var(--ox) - var(--cx)) * var(--progress));
  top: calc(var(--cy) + (var(--oy) - var(--cy)) * var(--progress));
  width: var(--fragment-width);
  transform: rotate(calc(var(--cr) * (1 - var(--progress)))) scale(var(--fragment-scale, 1));
  opacity: var(--fragment-opacity, 1);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  animation: fragment-drift 7s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -0.9s);
}

.journey.is-ordered .fragment {
  animation: none;
}

@keyframes fragment-drift {
  to {
    translate: 0 -10px;
  }
}

.fragment:nth-child(1) { --cx: 50%; --cy: 11%; --cr: -6deg; --ox: 53%; --oy: 13%; }
.fragment:nth-child(2) { --cx: 71%; --cy: 8%; --cr: 5deg; --ox: 74%; --oy: 13%; }
.fragment:nth-child(3) { --cx: 77%; --cy: 30%; --cr: -7deg; --ox: 74%; --oy: 33%; }
.fragment:nth-child(4) { --cx: 54%; --cy: 33%; --cr: 6deg; --ox: 53%; --oy: 33%; }
.fragment:nth-child(5) { --cx: 70%; --cy: 51%; --cr: -4deg; --ox: 74%; --oy: 53%; }
.fragment:nth-child(6) { --cx: 49%; --cy: 56%; --cr: 8deg; --ox: 53%; --oy: 53%; }
.fragment:nth-child(7) { --cx: 76%; --cy: 72%; --cr: 5deg; --ox: 74%; --oy: 73%; }
.fragment:nth-child(8) { --cx: 55%; --cy: 78%; --cr: -6deg; --ox: 53%; --oy: 73%; }

.fragment {
  --surface: #fffdf8;
  --base: #f6f3ec;
  --base-raised: #ede8dc;
  --text: #0d0f1a;
  --text-soft: #4a4d5c;
  --contrast: #08154f;
  --highlight: #2f5bea;
  --line: rgba(13, 15, 26, 0.12);
  --line-strong: rgba(13, 15, 26, 0.28);
}

.fragment__face {
  border-radius: var(--radius);
  box-shadow: var(--shadow-paper);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fragment__face--after {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: space-between;
  gap: 0.4rem;
  padding: 0.8rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  opacity: 0;
  transform: rotateY(-90deg);
}

.journey.is-ordered .fragment__face--before {
  opacity: 0;
  transform: rotateY(90deg);
}

.journey.is-ordered .fragment__face--after {
  opacity: 1;
  transform: none;
}

.fragment__face--before {
  aspect-ratio: 8 / 5;
  overflow: hidden;
  padding: 0.7rem 0.85rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.fragment__app {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fragment__app::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
}

.fragment__text {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  overflow-wrap: anywhere;
}

.fragment__frente {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.fragment__resolved {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--contrast);
}

.fragment__resolved .icon {
  width: 1.2rem;
  height: 1.2rem;
  padding: 0.18rem;
  border-radius: 50%;
  background: var(--highlight);
  color: var(--surface);
  stroke-width: 3;
}

.fragment--whatsapp .fragment__face--before { background: #e7f6e9; }
.fragment--whatsapp .fragment__text { display: inline-block; padding: 0.45rem 0.65rem; border-radius: 0 10px 10px 10px; background: var(--surface); }
.fragment--sheet .fragment__face--before { background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(33, 115, 70, 0.18) 22px 23px), repeating-linear-gradient(90deg, transparent 0 46px, rgba(33, 115, 70, 0.18) 46px 47px), #f3faf5; }
.fragment--sheet .fragment__text { font-family: var(--font-mono); font-size: 0.78rem; color: #1d6b40; }
.fragment--keys .fragment__face--before { background: var(--base-raised); }
.fragment--keys .fragment__text { font-family: var(--font-mono); font-size: 0.85rem; }
.fragment--note .fragment__face--before { background: #ffe680; border-color: transparent; border-radius: 4px; }
.fragment--note .fragment__text { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.12rem; }
.fragment--google .fragment__text { color: #1a3fb8; font-weight: 500; text-decoration: underline; }
.fragment--pin .fragment__face--before { background: radial-gradient(circle at 70% 60%, rgba(47, 91, 234, 0.2) 0 18%, transparent 19%), repeating-linear-gradient(35deg, transparent 0 18px, rgba(8, 21, 79, 0.06) 18px 20px), #eef0f4; }
.fragment--template .fragment__face--before { border: 1.5px dashed var(--line-strong); background: var(--base); box-shadow: none; }
.fragment--template .fragment__text { color: var(--text-soft); font-family: var(--font-display); font-size: 1.05rem; }
.fragment--lorem .fragment__face--before { background: linear-gradient(var(--line) 0 0) 0.85rem 70% / 70% 6px no-repeat, linear-gradient(var(--line) 0 0) 0.85rem 84% / 52% 6px no-repeat, var(--surface); }
.fragment--lorem .fragment__text { color: var(--text-soft); font-weight: 400; }

.journey__panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--header-height) + 2rem) 3rem;
  pointer-events: none;
}

/* The overlap lives on the first panel: a negative margin on the sticky stage would let it overflow the section. */
.journey__stage + .journey__panel {
  margin-top: -100vh;
  margin-top: -100svh;
}

.journey__copy {
  max-width: min(36rem, 46%);
  pointer-events: auto;
}

.journey__panel--hero h1 {
  margin-block: 1.25rem 1.5rem;
  font-size: var(--step-5);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.journey__panel--hero h1 em {
  display: block;
  color: var(--text);
  font-family: "Instrument Serif", "Serif Fallback Hero", Georgia, serif;
  font-size: 0.88em;
}

.journey__lead {
  max-width: 32rem;
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--text-soft);
}

.journey__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 3rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.scroll-cue::before {
  content: "";
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(var(--contrast) 50%, transparent 50%) 0 0 / 1px 200%;
  animation: scroll-cue 1.8s var(--ease-out) infinite;
}

@keyframes scroll-cue {
  to {
    background-position: 0 -200%;
  }
}

.journey__panel--turn h2 {
  font-size: var(--step-4);
}

.journey__panel--turn h2 em {
  color: var(--highlight-text);
}

.journey__pains {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-soft);
}

.journey__pains li {
  text-decoration: line-through;
  text-decoration-color: var(--highlight);
  text-decoration-thickness: 2px;
}

/* Seletor de Serviço */
.selector__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}

.selector__intro {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  display: grid;
  gap: 1rem;
}

.selector__intro h2 {
  font-size: var(--step-3);
}

.selector__tabs {
  display: grid;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}

.selector__tab {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 0.25rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: left;
  color: var(--text-soft);
  transition: color 0.3s, padding-left 0.45s var(--ease-out), box-shadow 0.3s;
}

.selector__tab-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-soft);
}

.selector__tab:hover,
.selector__tab[aria-selected="true"] {
  padding-left: 1rem;
  color: var(--contrast);
}

.selector__tab[aria-selected="true"] {
  box-shadow: inset 3px 0 0 var(--action);
}

.selector__tab[aria-selected="true"] .selector__tab-number {
  color: var(--highlight-text);
}

.selector__panel {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: var(--surface);
  box-shadow: var(--shadow-paper);
  animation: panel-in 0.5s var(--ease-out);
}

.selector__panel[hidden] {
  display: none;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.selector__panel h3 {
  font-size: var(--step-2);
}

.selector__panel > p {
  color: var(--text-soft);
}

/* Vitrine: antes → depois de cada Serviço */
.showcase {
  container-type: inline-size;
  display: grid;
  gap: 0.9rem;
}

.showcase__toggle {
  position: relative;
  display: inline-grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  justify-self: start;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--base);
}

.showcase__toggle::before {
  content: "";
  position: absolute;
  top: 0.25rem;
  bottom: 0.25rem;
  left: 0.25rem;
  width: calc(50% - 0.25rem);
  border-radius: 999px;
  background: var(--action);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-bubble), background-color 0.3s;
}

.showcase[data-state="before"] .showcase__toggle::before {
  background: var(--line-strong);
  transform: none;
}

html:not(.js) .showcase__toggle {
  display: none;
}

.showcase__option {
  position: relative;
  padding: 0.45rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  color: var(--text-soft);
  transition: color 0.3s;
}

.showcase__option[aria-pressed="true"] {
  color: var(--on-action);
}

.showcase__screen {
  --mock-paper: #ffffff;
  --mock-canvas: #f2f4f9;
  --mock-ink: #0d1330;
  --mock-soft: #5b6380;
  --mock-line: rgba(13, 19, 48, 0.1);
  --mock-line-strong: rgba(13, 19, 48, 0.22);
  --mock-blue: #2f5bea;
  --mock-blue-soft: #e6ecff;
  --mock-green: #18946a;
  --mock-green-soft: #ddf4ea;
  --mock-red: #c43d4b;
  --mock-shadow: 0 1.2em 2.6em -0.8em rgba(0, 0, 0, 0.55);
  position: relative;
  display: grid;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 25% 0%, rgba(47, 91, 234, 0.2), transparent 60%),
    var(--base);
  font-size: 2.5cqi;
  line-height: 1.25;
  color: var(--mock-ink);
  user-select: none;
}

.showcase__layer {
  position: relative;
  grid-area: 1 / 1;
  min-width: 0;
  transition: opacity 0.55s var(--ease-out), transform 0.75s var(--ease-out), filter 0.55s var(--ease-out);
}

.showcase[data-state="after"] .showcase__layer--before,
.showcase[data-state="before"] .showcase__layer--after {
  opacity: 0;
  filter: blur(6px);
  pointer-events: none;
}

.showcase[data-state="after"] .showcase__layer--before {
  transform: scale(0.94) rotate(-1.5deg);
}

.showcase[data-state="before"] .showcase__layer--after {
  transform: scale(1.04);
}

.mock-desk,
.mock-maps,
.mock-flow {
  position: absolute;
  inset: 0;
}

.mock-window {
  position: absolute;
  inset: 1.6em 1.6em 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border-radius: 0.8em 0.8em 0 0;
  background: var(--mock-paper);
  box-shadow: var(--mock-shadow);
}

.mock-window__bar {
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.65em 0.9em;
  border-bottom: 1px solid var(--mock-line);
  background: var(--mock-canvas);
}

.mock-window__bar i {
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: #cfd5e4;
}

.mock-window__bar span {
  flex: 1;
  max-width: 20em;
  margin-left: 0.8em;
  padding: 0.3em 0.9em;
  border-radius: 999px;
  background: var(--mock-paper);
  font-family: var(--font-mono);
  font-size: 0.7em;
  color: var(--mock-soft);
}

/* Sistemas */
.mock-sheet {
  position: absolute;
  left: 2.6em;
  top: 2.4em;
  width: 23em;
  padding: 0.9em;
  border-radius: 0.6em;
  background: var(--mock-paper);
  box-shadow: var(--mock-shadow);
  transform: rotate(-4deg);
}

.mock-sheet__title {
  padding-bottom: 0.7em;
  font-family: var(--font-mono);
  font-size: 0.72em;
  color: var(--mock-soft);
}

.mock-sheet__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  border-top: 1px solid #d8dce6;
  border-left: 1px solid #d8dce6;
  font-size: 0.74em;
}

.mock-sheet__grid span {
  min-height: 2.2em;
  padding: 0.5em;
  overflow: hidden;
  border-right: 1px solid #d8dce6;
  border-bottom: 1px solid #d8dce6;
  white-space: nowrap;
}

.mock-sheet__grid span:nth-child(-n + 3) {
  background: #eef1f7;
  font-weight: 700;
}

.mock-sheet__grid .is-error {
  background: #fdecee;
  color: var(--mock-red);
  font-weight: 700;
}

.mock-note {
  position: absolute;
  left: 1.4em;
  bottom: -1.4em;
  padding: 0.8em 1em;
  background: var(--mock-blue-soft);
  box-shadow: 0 0.6em 1.2em rgba(0, 0, 0, 0.25);
  font-family: var(--font-mono);
  font-size: 0.68em;
  font-weight: 700;
  color: #08154f;
  transform: rotate(-5deg);
}

.mock-chat {
  position: absolute;
  right: 2.2em;
  top: 7em;
  display: grid;
  gap: 0.5em;
  width: 16.5em;
  padding: 0.9em;
  border-radius: 1em;
  background: #e7edf4;
  box-shadow: var(--mock-shadow);
  transform: rotate(3deg);
}

.mock-chat__head {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding-bottom: 0.6em;
  border-bottom: 1px solid var(--mock-line);
  font-size: 0.72em;
  color: var(--mock-soft);
}

.mock-chat__head span:last-child {
  display: grid;
}

.mock-chat__head strong {
  font-size: 1.15em;
  color: var(--mock-ink);
}

.mock-chat__avatar {
  display: grid;
  place-items: center;
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  background: var(--mock-green);
  font-weight: 700;
  color: #fff;
}

.mock-bubble {
  justify-self: start;
  max-width: 88%;
  padding: 0.5em 0.75em;
  border-radius: 0.2em 0.8em 0.8em 0.8em;
  background: var(--mock-paper);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  font-size: 0.8em;
}

.mock-bubble small {
  display: block;
  margin-top: 0.15em;
  font-size: 0.75em;
  text-align: right;
  color: var(--mock-soft);
}

.mock-bubble--out {
  justify-self: end;
  border-radius: 0.8em 0.2em 0.8em 0.8em;
  background: #d6f2e1;
}

.mock-bubble--late {
  font-weight: 700;
  box-shadow: 0 0 0 2px var(--mock-red);
}

.mock-app {
  display: grid;
  grid-template-columns: 8em minmax(0, 1fr);
  min-height: 0;
}

.mock-app__nav {
  display: grid;
  align-content: start;
  gap: 0.3em;
  padding: 1em 0.7em;
  border-right: 1px solid var(--mock-line);
  background: var(--mock-canvas);
  font-size: 0.8em;
  color: var(--mock-soft);
}

.mock-app__nav span {
  padding: 0.5em 0.7em;
  border-radius: 0.5em;
}

.mock-app__nav .is-active {
  background: var(--mock-blue-soft);
  font-weight: 700;
  color: var(--mock-blue);
}

.mock-app__nav .mock-app__logo {
  width: 2em;
  height: 2em;
  margin-bottom: 0.7em;
  padding: 0;
  border-radius: 0.55em;
  background: radial-gradient(circle at 34% 68%, #7da2ff 0 0.28em, transparent 0.3em), #08154f;
}

.mock-app__main {
  display: grid;
  align-content: start;
  gap: 1em;
  min-width: 0;
  padding: 1.2em 1.4em;
}

.mock-app__title {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-size: 1.35em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mock-app__title span {
  padding: 0.35em 0.7em;
  border-radius: 999px;
  background: var(--mock-canvas);
  font-family: var(--font-body);
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--mock-soft);
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7em;
}

.mock-kpis p {
  display: grid;
  gap: 0.35em;
  padding: 0.8em 0.9em;
  border: 1px solid var(--mock-line);
  border-radius: 0.7em;
}

.mock-kpis span {
  font-size: 0.7em;
  color: var(--mock-soft);
}

.mock-kpis strong {
  font-family: var(--font-display);
  font-size: 1.7em;
  line-height: 1;
}

.mock-kpis i {
  height: 0.3em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mock-blue) var(--fill), var(--mock-blue-soft) 0);
}

.mock-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--mock-line);
  border-radius: 0.7em;
}

.mock-table p {
  display: grid;
  grid-template-columns: 3em minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8em;
  padding: 0.6em 0.9em;
  font-size: 0.8em;
}

.mock-table p + p {
  border-top: 1px solid var(--mock-line);
}

.mock-table p span:first-child {
  font-family: var(--font-mono);
  color: var(--mock-soft);
}

.mock-status {
  padding: 0.3em 0.75em;
  border-radius: 999px;
  background: var(--mock-canvas);
  font-size: 0.85em;
  color: var(--mock-soft);
}

.mock-status--route {
  background: var(--mock-blue-soft);
  color: var(--mock-blue);
}

.mock-status--making {
  background: #ece8ff;
  color: #5a46c8;
}

.mock-status--approved {
  background: var(--mock-green-soft);
  color: var(--mock-green);
}

.mock-toast {
  position: absolute;
  right: 1.2em;
  bottom: 1.2em;
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding: 0.8em 1.1em 0.8em 0.8em;
  border-radius: 0.8em;
  background: #0d1330;
  box-shadow: 0 1em 2em -0.4em rgba(13, 19, 48, 0.5);
  font-size: 0.78em;
  color: rgba(255, 255, 255, 0.7);
}

.mock-toast .icon {
  width: 1.8em;
  height: 1.8em;
  padding: 0.35em;
  border-radius: 50%;
  background: var(--mock-green);
  color: #fff;
  stroke-width: 3;
}

.mock-toast span {
  display: grid;
}

.mock-toast strong {
  color: #fff;
}

/* Presença Digital */
.mock-maps {
  overflow: hidden;
  background: #e8edf6;
}

.mock-maps__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mock-pin {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  display: grid;
  justify-items: center;
  translate: -50% -100%;
}

.mock-pin .icon {
  width: 2em;
  height: 2em;
  fill: #96a1bf;
  stroke: #fff;
  stroke-width: 1.4;
  filter: drop-shadow(0 0.15em 0.2em rgba(13, 19, 48, 0.3));
}

.mock-pin .icon circle {
  fill: #fff;
}

.mock-pin__label {
  margin-top: 0.15em;
  padding: 0.2em 0.5em;
  border-radius: 0.4em;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.62em;
  font-weight: 600;
  white-space: nowrap;
  color: var(--mock-soft);
}

.mock-maps--found .mock-pin--other {
  opacity: 0.5;
}

.mock-pin--ghost::before {
  content: "";
  width: 0.9em;
  height: 0.9em;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #a3acc4;
}

.mock-pin--ghost .mock-pin__label {
  font-style: italic;
}

.mock-pin--you {
  z-index: 1;
}

.mock-pin--you .icon {
  width: 3.4em;
  height: 3.4em;
  fill: var(--mock-blue);
  stroke-width: 1;
  filter: drop-shadow(0 0.4em 0.5em rgba(47, 91, 234, 0.45));
}

.mock-pin--you::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 2.6em;
  width: 3em;
  height: 1em;
  border: 2px solid var(--mock-blue);
  border-radius: 50%;
  opacity: 0;
  animation: pin-pulse 2.2s ease-out infinite;
}

.mock-pin--you .mock-pin__label {
  background: var(--mock-blue);
  font-size: 0.72em;
  font-weight: 700;
  color: #fff;
}

.showcase[data-state="after"] .mock-pin--you {
  animation: pin-drop 0.8s var(--ease-bubble) 0.3s both;
}

@keyframes pin-drop {
  from {
    opacity: 0;
    transform: translateY(-3em);
  }
}

@keyframes pin-pulse {
  20% {
    opacity: 0.8;
  }

  to {
    opacity: 0;
    transform: scale(2.4);
  }
}

.mock-maps__panel {
  position: absolute;
  left: 1.2em;
  top: 1.2em;
  bottom: 1.2em;
  display: grid;
  align-content: start;
  gap: 0.6em;
  width: 15.5em;
  padding: 0.8em;
  overflow: hidden;
  border-radius: 1em;
  background: var(--mock-paper);
  box-shadow: 0 0.8em 2em rgba(13, 19, 48, 0.2);
}

.mock-search {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.65em 0.85em;
  overflow: hidden;
  border-radius: 999px;
  background: var(--mock-canvas);
  font-size: 0.7em;
  white-space: nowrap;
}

.mock-search svg {
  flex: none;
  width: 1.2em;
  height: 1.2em;
  color: var(--mock-soft);
}

.mock-result {
  display: grid;
  gap: 0.2em;
  padding: 0.55em 0.3em;
  border-bottom: 1px solid var(--mock-line);
  font-size: 0.78em;
}

.mock-result span {
  font-size: 0.9em;
  color: var(--mock-soft);
}

.mock-result b {
  color: var(--mock-ink);
}

.mock-result--missing {
  margin-top: 0.4em;
  padding: 0.7em;
  border: 1px dashed var(--mock-line-strong);
  border-radius: 0.6em;
  font-style: italic;
  text-align: center;
  color: var(--mock-soft);
}

.mock-profile {
  display: grid;
  gap: 0.45em;
  font-size: 0.8em;
  color: var(--mock-soft);
}

.mock-profile__badge {
  justify-self: start;
  padding: 0.3em 0.75em;
  border-radius: 999px;
  background: var(--mock-blue);
  font-size: 0.8em;
  font-weight: 700;
  color: #fff;
}

.mock-profile__cover {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.3em;
  height: 4.4em;
}

.mock-profile__cover span {
  border-radius: 0.5em;
  background: linear-gradient(135deg, #08154f, #2f5bea);
}

.mock-profile__cover span:nth-child(2) {
  background: linear-gradient(160deg, #a9c1ff, #e6ecff);
}

.mock-profile__cover span:nth-child(3) {
  background: linear-gradient(200deg, #1b2a6b, #7da2ff);
}

.mock-profile__name {
  font-family: var(--font-display);
  font-size: 1.5em;
  line-height: 1.1;
  color: var(--mock-ink);
}

.mock-profile__rating b {
  color: var(--mock-ink);
}

.mock-stars {
  letter-spacing: 0.05em;
  color: var(--mock-blue);
}

.mock-profile__open b {
  color: var(--mock-green);
}

.mock-profile__actions {
  display: flex;
  gap: 0.4em;
  margin-top: 0.2em;
}

.mock-profile__actions span {
  padding: 0.4em 0.85em;
  border: 1px solid var(--mock-line-strong);
  border-radius: 999px;
  font-weight: 600;
  color: var(--mock-blue);
}

.mock-profile__actions .is-primary {
  border-color: transparent;
  background: var(--mock-blue);
  color: #fff;
}

.mock-profile__review {
  padding: 0.6em 0.75em;
  border-radius: 0.6em;
  background: var(--mock-canvas);
  font-style: italic;
}

/* Landing Pages */
.mock-template {
  display: grid;
  align-content: start;
  gap: 1.6em;
  padding: 1.4em 2em;
}

.mock-template__nav {
  display: flex;
  align-items: center;
  gap: 1.2em;
}

.mock-template__nav i {
  width: 3em;
  height: 0.45em;
  border-radius: 999px;
  background: #dfe3ea;
}

.mock-template__nav i:first-of-type {
  margin-left: auto;
}

.mock-template__logo {
  padding: 0.35em 0.8em;
  border: 2px dashed #c3c8d4;
  font-family: var(--font-mono);
  font-size: 0.7em;
  font-weight: 700;
  color: #9aa1b2;
}

.mock-template__hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 1.6em;
}

.mock-template__title {
  font-family: Arial, sans-serif;
  font-size: 2em;
  font-weight: 700;
  line-height: 1.1;
  color: #5d6373;
}

.mock-template__text {
  margin: 0.6em 0 1.1em;
  font-size: 0.8em;
  color: #9aa1b2;
}

.mock-template__button {
  display: inline-block;
  padding: 0.6em 1.3em;
  border-radius: 0.3em;
  background: #b8bfcc;
  font-size: 0.75em;
  font-weight: 700;
  color: #fff;
}

.mock-template__image {
  aspect-ratio: 4 / 3;
  border-radius: 0.4em;
  background:
    linear-gradient(to top right, transparent calc(50% - 1px), #c9ced9 50%, transparent calc(50% + 1px)),
    linear-gradient(to bottom right, transparent calc(50% - 1px), #c9ced9 50%, transparent calc(50% + 1px)),
    #eef0f4;
}

.mock-template__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1em;
}

.mock-template__cards span {
  height: 5em;
  border: 1px solid #e3e6ec;
  border-radius: 0.4em;
  background: radial-gradient(circle at 1.6em 1.6em, #dfe3ea 0 0.7em, transparent 0.75em), #f4f5f8;
}

.mock-stamp {
  position: absolute;
  right: 1.4em;
  bottom: 1.6em;
  padding: 0.5em 0.9em;
  border: 2px solid var(--mock-red);
  border-radius: 0.4em;
  background: rgba(255, 255, 255, 0.9);
  font-family: var(--font-mono);
  font-size: 0.68em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--mock-red);
  transform: rotate(-6deg);
}

.mock-launch {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 1em;
  padding: 1.6em 2em;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 46%, rgba(47, 91, 234, 0.55), transparent 50%),
    linear-gradient(160deg, #0a1238, #050a24);
  color: rgba(238, 241, 251, 0.7);
}

.mock-launch__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a9c1ff;
}

.mock-launch__title {
  margin-top: 0.35em;
  font-family: var(--font-display);
  font-size: 2.9em;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fff;
}

.mock-launch__text {
  margin: 0.8em 0 1em;
  font-size: 0.78em;
}

.mock-countdown {
  display: flex;
  gap: 0.4em;
}

.mock-countdown span {
  display: grid;
  justify-items: center;
  min-width: 3.2em;
  padding: 0.45em 0.3em;
  border: 1px solid rgba(169, 193, 255, 0.25);
  border-radius: 0.5em;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.6em;
}

.mock-countdown b {
  font-family: var(--font-display);
  font-size: 1.9em;
  line-height: 1;
  color: #fff;
}

.mock-launch__form {
  display: flex;
  align-items: center;
  margin-top: 1em;
  padding: 0.3em;
  border-radius: 999px;
  background: #fff;
  font-size: 0.72em;
}

.mock-launch__form span {
  flex: 1;
  padding: 0 0.8em;
  color: #8a91a8;
}

.mock-launch__form b {
  padding: 0.6em 1em;
  border-radius: 999px;
  background: var(--mock-blue);
  color: #fff;
}

.mock-launch__proof {
  display: flex;
  align-items: center;
  margin-top: 0.9em;
  font-size: 0.62em;
}

.mock-launch__proof i {
  width: 1.7em;
  height: 1.7em;
  margin-right: -0.45em;
  border: 2px solid #0a1238;
  border-radius: 50%;
  background: linear-gradient(135deg, #7da2ff, #2f5bea);
}

.mock-launch__proof i:nth-child(2) {
  background: linear-gradient(135deg, #e6ecff, #7da2ff);
}

.mock-launch__proof i:nth-child(3) {
  margin-right: 0.8em;
  background: linear-gradient(135deg, #2f5bea, #08154f);
}

.mock-launch__visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
}

.mock-orb {
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0, #a9c1ff 12%, #2f5bea 46%, #08154f 82%);
  box-shadow: 0 0 4em rgba(47, 91, 234, 0.6), inset -1em -1.4em 2.4em rgba(5, 10, 36, 0.6);
  animation: orb-float 5s ease-in-out infinite alternate;
}

.mock-orb__ring {
  position: absolute;
  width: 112%;
  aspect-ratio: 1;
  border: 1px solid rgba(169, 193, 255, 0.4);
  border-radius: 50%;
  transform: rotate(-16deg) scaleY(0.3);
}

.mock-orb__ring::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 3px solid transparent;
  border-top-color: #fff;
  border-radius: 50%;
  animation: orbit 4s linear infinite;
}

@keyframes orb-float {
  to {
    transform: translateY(-0.6em);
  }
}

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

/* Automações */
.mock-routine {
  position: absolute;
  left: 3.5em;
  top: 2.6em;
  width: 24em;
  padding: 1.2em 1.4em;
  border-radius: 0.6em;
  background: var(--mock-paper);
  box-shadow: var(--mock-shadow);
  transform: rotate(-2.5deg);
}

.mock-routine__title {
  padding-bottom: 0.6em;
  border-bottom: 2px solid var(--mock-ink);
  font-family: var(--font-display);
  font-size: 1.05em;
  font-weight: 700;
}

.mock-routine ul {
  display: grid;
  gap: 0.55em;
  margin: 0.9em 0;
  padding: 0;
  list-style: none;
  font-size: 0.8em;
}

.mock-routine li {
  display: grid;
  grid-template-columns: 1.1em minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6em;
}

.mock-routine li i {
  width: 1.1em;
  height: 1.1em;
  border: 1.5px solid #9aa1b2;
  border-radius: 0.25em;
}

.mock-routine li span {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--mock-soft);
}

.mock-routine__total {
  padding-top: 0.6em;
  border-top: 1px dashed var(--mock-line-strong);
  font-size: 0.8em;
  font-weight: 700;
  color: var(--mock-red);
}

.mock-keys {
  position: absolute;
  right: 2.6em;
  bottom: 3em;
  display: flex;
  gap: 0.4em;
  transform: rotate(8deg);
}

.mock-keys kbd {
  display: grid;
  place-items: center;
  min-width: 2.6em;
  height: 2.6em;
  padding: 0 0.6em;
  border-radius: 0.5em;
  background: #f5f7fb;
  box-shadow: inset 0 -0.25em 0 #c9cfdc, 0 0.5em 1em rgba(0, 0, 0, 0.35);
  font-family: var(--font-mono);
  font-size: 0.9em;
  font-weight: 700;
  color: var(--mock-ink);
}

.mock-flow {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 1.2em;
  padding: 2em;
  background: radial-gradient(#d3d9e6 1px, transparent 1.5px) 0 0 / 1.4em 1.4em, var(--mock-canvas);
}

.mock-flow__diagram {
  position: relative;
}

.mock-flow__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mock-flow__lines path {
  fill: none;
  stroke: var(--mock-blue);
  stroke-width: 2;
  stroke-dasharray: 6 6;
  vector-effect: non-scaling-stroke;
  animation: flow-dash 1s linear infinite;
}

@keyframes flow-dash {
  to {
    stroke-dashoffset: -12;
  }
}

.mock-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 28%;
  height: 22%;
  padding: 0 0.6em;
  border: 1px solid var(--mock-line);
  border-radius: 0.7em;
  background: var(--mock-paper);
  box-shadow: 0 0.6em 1.2em -0.6em rgba(13, 19, 48, 0.35);
  font-size: 0.75em;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.mock-node--robot {
  align-content: center;
  gap: 0.25em;
  width: 20%;
  height: 28%;
  border-color: transparent;
  background: #08154f;
  box-shadow: 0 0 0 0.5em rgba(47, 91, 234, 0.18), 0 1em 2em -0.6em rgba(8, 21, 79, 0.6);
  color: #a9c1ff;
}

.mock-node--robot b {
  font-family: var(--font-display);
  font-size: 1.6em;
  line-height: 1;
  color: #fff;
}

.mock-log {
  display: grid;
  gap: 0.45em;
  padding: 0.9em 1.1em;
  border-radius: 0.8em;
  background: #0d1330;
  font-family: var(--font-mono);
  font-size: 0.7em;
  color: #cdd6f4;
}

.mock-log p {
  display: flex;
  align-items: center;
  gap: 0.7em;
}

.mock-log .icon {
  flex: none;
  width: 1.3em;
  height: 1.3em;
  color: #3ecf8e;
  stroke-width: 3;
}

.mock-log span {
  flex: none;
  color: #7f8bb3;
}

@container (max-width: 520px) {
  .showcase__screen {
    aspect-ratio: 3 / 4;
    font-size: 3.8cqi;
  }

  .mock-window {
    inset: 1.2em 1.2em 0;
  }

  .mock-sheet {
    left: 1.2em;
    top: 1.6em;
    width: 21em;
  }

  .mock-chat {
    right: 1.2em;
    top: auto;
    bottom: 1.6em;
    width: 17em;
  }

  .mock-app {
    grid-template-columns: minmax(0, 1fr);
  }

  .mock-app__nav {
    display: none;
  }

  .mock-app__main {
    padding: 1.1em;
  }

  .mock-pin {
    left: calc((var(--x) - 38) * 1.5%);
    top: calc(var(--y) * 0.42%);
  }

  .mock-maps__panel {
    top: auto;
    right: 1em;
    bottom: 1em;
    left: 1em;
    width: auto;
    height: 56%;
  }

  .mock-profile__cover {
    display: none;
  }

  .mock-template {
    padding: 1.2em;
  }

  .mock-template__hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .mock-launch {
    grid-template-columns: minmax(0, 1fr);
    align-content: end;
    padding: 1.4em 1.4em 2.4em;
  }

  .mock-launch__visual {
    position: absolute;
    right: -3em;
    top: 1em;
    width: 13em;
    opacity: 0.85;
  }

  .mock-launch__copy {
    position: relative;
  }

  .mock-routine {
    left: 1.2em;
    top: 2em;
    width: 22em;
  }

  .mock-flow {
    padding: 1.2em;
  }

  .mock-log span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mock-orb,
  .mock-orb__ring::after,
  .mock-flow__lines path,
  .mock-pin--you,
  .mock-pin--you::after {
    animation: none;
  }
}

.checklist {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.checklist .icon {
  margin-top: 0.2em;
  color: var(--highlight-text);
  stroke-width: 2.4;
}

.eyebrow + .checklist {
  margin-top: 1rem;
}

/* Casos */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filters__button {
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--contrast);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.filters__button:hover {
  border-color: var(--contrast);
}

.filters__button[aria-pressed="true"],
.filters__button[aria-current="page"] {
  background: var(--action);
  border-color: var(--action);
  color: var(--on-action);
}

a.filters__button {
  text-decoration: none;
}

.casos-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
}

.casos-toolbar__count {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}

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

.caso-row {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 0.85fr) minmax(0, 1.7fr) 3rem;
  align-items: center;
  gap: 1.5rem clamp(1.5rem, 1rem + 2vw, 3rem);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem) 1rem;
  border-top: 1px solid var(--line);
  text-decoration: none;
  isolation: isolate;
}

.caso-row[hidden] {
  display: none;
}

.caso-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(47, 91, 234, 0.14), rgba(47, 91, 234, 0.02) 70%, transparent);
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
}

.caso-row:hover::before,
.caso-row:focus-visible::before {
  opacity: 1;
}

.caso-row__index {
  align-self: start;
  padding-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-soft);
}

.caso-row__identity {
  display: grid;
  gap: 0.35rem;
}

.caso-row__frente {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--highlight-text);
}

.caso-row h3 {
  font-size: var(--step-2);
  letter-spacing: -0.025em;
  transition: transform 0.45s var(--ease-out);
}

.caso-row:hover h3 {
  transform: translateX(6px);
}

.caso-row__client {
  font-size: var(--step--1);
  color: var(--text-soft);
}

.caso-row__story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
}

.caso-row__story--summary {
  grid-template-columns: minmax(0, 1fr);
}

.caso-row__story p {
  display: grid;
  gap: 0.35rem;
  font-size: 0.98rem;
  line-height: 1.5;
}

.caso-row__story p > span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.caso-row__before {
  color: var(--text-soft);
}

.caso-row__before > span {
  color: var(--text-soft);
}

.caso-row__after {
  color: var(--text);
}

.caso-row__after > span {
  color: var(--highlight-text);
}

.caso-row__arrow {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--highlight);
  transition: background-color 0.35s, border-color 0.35s, color 0.35s;
}

.caso-row:hover .caso-row__arrow {
  border-color: var(--highlight);
  background: rgba(125, 162, 255, 0.12);
}

.caso-row__go {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--contrast);
  transition: background-color 0.35s, border-color 0.35s, transform 0.45s var(--ease-out);
}

.caso-row:hover .caso-row__go {
  background: var(--action);
  border-color: var(--action);
  transform: rotate(45deg);
}

.caso-row__preview {
  position: absolute;
  top: 50%;
  right: 5rem;
  z-index: 2;
  width: 15rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.9) rotate(-3deg);
  transition: opacity 0.35s var(--ease-out), transform 0.5s var(--ease-out);
}

.caso-row:hover .caso-row__preview {
  opacity: 1;
  transform: translateY(-50%) scale(1) rotate(-2deg);
}

.caso-cover {
  display: grid;
  align-content: end;
  height: 100%;
  padding: 1.25rem;
  background:
    radial-gradient(circle at 88% 12%, rgba(47, 91, 234, 0.55), transparent 48%),
    repeating-linear-gradient(90deg, rgba(246, 243, 236, 0.07) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(0deg, rgba(246, 243, 236, 0.07) 0 1px, transparent 1px 32px),
    var(--brand);
  color: var(--contrast);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.empty-state {
  padding: 2.5rem;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
  color: var(--text-soft);
}

.section-foot {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* Processo */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
  border-top: 1px solid rgba(246, 243, 236, 0.18);
}

.process__step {
  position: relative;
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 2rem 1.5rem 0 0;
  counter-increment: process;
}

.process__step::before {
  content: "0" counter(process);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--highlight);
}

.process__step::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--highlight);
}

.process__step h3 {
  font-size: var(--step-2);
}

.process__step p {
  color: rgba(246, 243, 236, 0.72);
}

/* Depoimentos */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 1.25rem;
}

.quote {
  display: grid;
  align-content: space-between;
  gap: 2rem;
  padding: clamp(1.4rem, 1rem + 1.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-2);
  line-height: 1.2;
  color: var(--contrast);
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.quote__avatar {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  flex: none;
  border-radius: 50%;
  background: var(--brand);
  color: var(--contrast);
  font-weight: 700;
  object-fit: cover;
}

.quote__name {
  font-weight: 600;
}

.quote__role {
  font-size: var(--step--1);
  color: var(--text-soft);
}

/* Briefing */
.briefing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 1rem + 5vw, 6rem);
  align-items: start;
}

.briefing-intro {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  display: grid;
  gap: 1.25rem;
}

.briefing-intro h2 {
  font-size: var(--step-4);
}

.briefing-intro > p {
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--text-soft);
}

.direct-contacts {
  display: grid;
  gap: 0.6rem;
  padding: 0;
  list-style: none;
}

.direct-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--contrast);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.direct-contacts a:hover {
  text-decoration: underline;
}

.signature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--text-soft);
}

.signature img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 28%;
  box-shadow: 0 0 0 2px var(--base), 0 0 0 3px var(--highlight);
}

.signature strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.briefing {
  position: relative;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: var(--surface);
  box-shadow: var(--shadow-paper);
}

.briefing__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.briefing__progress {
  height: 4px;
  margin-bottom: 2rem;
  border-radius: 4px;
  background: var(--base-raised);
  overflow: hidden;
}

.briefing__progress span {
  display: block;
  width: calc(var(--briefing-progress, 0.25) * 100%);
  height: 100%;
  border-radius: inherit;
  background: var(--highlight);
  transition: width 0.6s var(--ease-out);
}

.briefing__step {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
  padding: 0;
  border: 0;
}

.js .briefing__step:not(.is-current) {
  display: none;
}

.js .briefing__step.is-current {
  animation: panel-in 0.45s var(--ease-out);
}

.briefing__question {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--contrast);
}

.briefing__step legend.briefing__question {
  float: left;
  width: 100%;
  margin-bottom: 1.25rem;
}

.briefing__step legend + * {
  clear: both;
}

.briefing__hint {
  margin-top: -0.75rem;
  font-size: var(--step--1);
  color: var(--text-soft);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.option {
  position: relative;
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, transform 0.3s var(--ease-out);
}

.option:hover {
  border-color: var(--contrast);
  transform: translateY(-1px);
}

.option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option__title {
  font-weight: 600;
  color: var(--contrast);
}

.option__text {
  font-size: var(--step--1);
  color: var(--text-soft);
  line-height: 1.35;
}

.option:has(input:checked) {
  border-color: var(--action);
  background: var(--action);
}

.option:has(input:checked) .option__title {
  color: var(--on-action);
}

.option:has(input:checked) .option__text {
  color: rgba(246, 243, 236, 0.75);
}

.option:has(input:focus-visible) {
  outline: 2px solid var(--highlight);
  outline-offset: 3px;
}

.option--wide {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--text-soft);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 0;
  border: 0;
  border-bottom: 2px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  font-size: var(--step-1);
  color: var(--text);
  transition: border-color 0.25s;
}

.field textarea {
  min-height: 9rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-small);
  font-size: 1rem;
  line-height: 1.5;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(149, 160, 198, 0.55);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--contrast);
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--highlight-text);
}

.field__error {
  min-height: 1.2em;
  font-size: var(--step--1);
  color: var(--highlight-text);
}

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

.briefing__back {
  border: 0;
  background: none;
  font-weight: 600;
  color: var(--text-soft);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.briefing__back[hidden] {
  visibility: hidden;
  display: block;
}

.briefing__keys {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-soft);
}

.briefing__status {
  margin-top: 1rem;
  font-size: var(--step--1);
  color: var(--highlight-text);
}

.briefing__status:empty {
  display: none;
}

.briefing__success {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
  animation: panel-in 0.6s var(--ease-out);
}

.briefing__success[hidden] {
  display: none;
}

.briefing__success-mark {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--action);
  color: var(--on-action);
  animation: success-pop 0.7s var(--ease-out);
}

.briefing__success-mark .icon {
  width: 2rem;
  height: 2rem;
  stroke-width: 2.6;
}

@keyframes success-pop {
  from {
    transform: scale(0.4) rotate(-20deg);
    opacity: 0;
  }
}

.briefing__success h3 {
  font-size: var(--step-3);
}

.briefing__success p {
  color: var(--text-soft);
}

.briefing.is-sent .briefing__form-body {
  display: none;
}

/* Inner pages */
.page-hero {
  padding-block: calc(var(--header-height) + clamp(3rem, 2rem + 5vw, 7rem)) clamp(2.5rem, 2rem + 3vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 12em;
  margin-block: 1rem 1.25rem;
  font-size: var(--step-5);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.page-hero__lead {
  max-width: 40rem;
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--text-soft);
}

.page-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.page-hero__chips a {
  text-decoration: none;
}

.frente-block {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  border-bottom: 1px solid var(--line);
}

.frente-block__aside {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  align-self: start;
  display: grid;
  gap: 1rem;
}

.frente-block__index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--highlight-text);
}

.frente-block__aside .btn {
  justify-self: start;
}

.frente-block__aside h2 {
  font-size: var(--step-4);
}

.frente-block__main {
  display: grid;
  gap: 2rem;
}

.frente-block__headline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-3);
  line-height: 1.05;
  color: var(--contrast);
}

.frente-block__pitch {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--text-soft);
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.before-after__column {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.before-after__column--before {
  background: var(--base-raised);
  border-style: dashed;
  border-color: var(--line-strong);
}

.before-after__column h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.before-after__column--after h3 {
  color: var(--highlight-text);
}

.before-after__column ul {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.before-after__column--before li {
  text-decoration: line-through;
  text-decoration-color: var(--highlight);
  color: var(--text-soft);
}

.before-after__column p {
  color: var(--text);
}

.mini-casos {
  display: grid;
  gap: 0.5rem;
}

.mini-caso {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.mini-caso:hover strong {
  text-decoration: underline;
}

.mini-caso span {
  color: var(--text-soft);
  font-size: var(--step--1);
}

.caso-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
  color: var(--text-soft);
}

.caso-hero__meta strong {
  color: var(--text);
}

.caso-media {
  margin-top: clamp(2rem, 1rem + 4vw, 4rem);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--brand);
  box-shadow: var(--shadow-lift);
}

.caso-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caso-media .caso-cover {
  font-size: var(--step-4);
  padding: clamp(1.5rem, 1rem + 3vw, 3rem);
}

.caso-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
}

.caso-facts {
  display: grid;
  gap: 1.5rem;
  align-content: start;
  padding: 0;
  list-style: none;
}

.caso-facts dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.caso-facts dd {
  margin: 0.35rem 0 0;
  font-weight: 600;
  color: var(--text);
  overflow-wrap: anywhere;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.prose + .tag-list {
  margin-top: 2.5rem;
}

.prose {
  max-width: 39.3em;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text);
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  margin-top: 2.2em;
  font-size: var(--step-2);
}

.prose h3 {
  margin-top: 1.8em;
  font-size: var(--step-1);
}

.prose ul,
.prose ol {
  padding-left: 1.25em;
}

.prose li + li {
  margin-top: 0.45em;
}

.prose a {
  color: var(--contrast);
  font-weight: 600;
}

.prose img {
  border-radius: var(--radius);
}

.prose blockquote {
  padding-left: 1.25rem;
  border-left: 3px solid var(--highlight);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3em;
  color: var(--contrast);
}

.prose code {
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--base-raised);
  font-family: var(--font-mono);
  font-size: 0.88em;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.value {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--surface);
}

.value__index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--highlight-text);
}

.value h3 {
  font-size: var(--step-2);
}

.value p {
  color: var(--text-soft);
}

.founder {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}

.founder__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  background: #050a24;
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(47, 91, 234, 0.55);
}

.founder__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(47, 91, 234, 0.18), transparent 60%),
    linear-gradient(transparent 62%, var(--base));
  pointer-events: none;
}

.founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.founder__text {
  display: grid;
  gap: 1.25rem;
}

.founder__text blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-3);
  line-height: 1.1;
  color: var(--contrast);
}

.founder__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.25rem;
}

.post-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.post-card__media {
  aspect-ratio: 16 / 9;
  background: var(--brand);
  overflow: hidden;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1.25rem 1.25rem 1.5rem;
}

.post-card h2,
.post-card h3 {
  font-size: var(--step-1);
  letter-spacing: -0.015em;
}

.post-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-size: var(--step--1);
  color: var(--text-soft);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding-inline: 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: var(--contrast);
}

.pagination [aria-current="page"] {
  background: var(--action);
  border-color: var(--action);
  color: var(--on-action);
}

.article-cover {
  margin-block: 2.5rem 0;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  aspect-ratio: 21 / 9;
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 18rem);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
}

.article-aside {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  align-self: start;
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.article-aside h2 {
  font-size: var(--step-1);
}

.article-aside p {
  font-size: 0.95rem;
  color: var(--text-soft);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}

.faq-layout h2 {
  margin-top: 1rem;
  font-size: var(--step-4);
}

.faq {
  display: grid;
  border-top: 1px solid var(--line);
}

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--contrast);
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    linear-gradient(currentColor 0 0) center / 0.75rem 1.5px no-repeat,
    linear-gradient(currentColor 0 0) center / 1.5px 0.75rem no-repeat;
  transition: transform 0.35s var(--ease-out), background-color 0.25s, border-color 0.25s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  border-color: var(--action);
  background-color: var(--action);
  color: var(--on-action);
}

.faq details p {
  max-width: 35.8em;
  padding-bottom: 1.5rem;
  color: var(--text-soft);
}

.legal-meta {
  margin-bottom: 2rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-soft);
}

.not-found {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
  padding-block: calc(var(--header-height) + 6rem) 6rem;
}

.not-found h1 {
  font-size: var(--step-5);
}

.maintenance {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.5rem;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--gutter);
  text-align: center;
}

.maintenance .logo-mark {
  height: 3.5rem;
  color: var(--contrast);
}

.maintenance h1 {
  font-size: var(--step-4);
}

.maintenance p {
  max-width: 32rem;
  color: var(--text-soft);
}

/* Responsive */
@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .section-head--split,
  .selector__layout,
  .faq-layout,
  .briefing-layout,
  .frente-block,
  .caso-body,
  .article-layout,
  .founder {
    grid-template-columns: minmax(0, 1fr);
  }

  .briefing-intro,
  .selector__intro,
  .frente-block__aside,
  .article-aside {
    position: static;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .founder__photo {
    max-width: 22rem;
  }

  .caso-row {
    grid-template-columns: 2rem minmax(0, 1fr) 2.75rem;
    padding-inline: 0;
  }

  .caso-row__index {
    grid-row: 1;
    grid-column: 1;
  }

  .caso-row__identity {
    grid-row: 1;
    grid-column: 2;
  }

  .caso-row__go {
    grid-row: 1;
    grid-column: 3;
    width: 2.75rem;
    height: 2.75rem;
  }

  .caso-row__story {
    grid-row: 2;
    grid-column: 2 / -1;
  }

  .caso-row__preview {
    display: none;
  }
}

@media (max-width: 760px) {
  .caso-row__story {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .caso-row__arrow {
    width: 1.75rem;
    height: 1.75rem;
    transform: rotate(90deg);
  }

  .caso-row h3 {
    font-size: var(--step-1);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 64px;
  }

  .site-header__cta {
    display: none;
  }

  /* Phones stack the Journey (text, then the cards, then the turn) instead of scrolling text over a pinned stage. */
  .journey {
    display: flex;
    flex-direction: column;
  }

  .journey__panel--hero {
    order: 0;
  }

  .journey__stage {
    --stage-height: 88vw;
    position: relative;
    order: 1;
    height: var(--stage-height);
  }

  .journey__panel--turn {
    order: 2;
  }

  .journey__stage + .journey__panel {
    margin-top: 0;
  }

  .journey__canvas,
  .improviso {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .journey__panel--hero .eyebrow {
    display: none;
  }

  .journey__panel {
    min-height: 0;
    padding-block: 1.5rem;
  }

  .journey__panel--hero {
    padding-top: calc(var(--header-height) + 2.5rem);
  }

  .journey__panel--turn {
    padding-bottom: 3rem;
  }

  .journey__copy {
    max-width: none;
  }

  .fragment {
    --fragment-width: 44vw;
  }

  .fragment__face--before {
    padding: 0.5rem 0.6rem 0.6rem;
  }

  .fragment__face--after {
    padding: 0.5rem 0.6rem;
  }

  .fragment__app {
    margin-bottom: 0.3rem;
    font-size: 0.58rem;
  }

  .fragment__text,
  .fragment__resolved {
    font-size: 0.78rem;
  }

  .fragment--note .fragment__text {
    font-size: 0.92rem;
  }

  /* Fewer pieces on phones: one fragment of the Improviso per Frente. */
  .fragment:nth-child(even) {
    display: none;
  }

  .fragment:nth-child(1) { --cx: 3%; --cy: 12%; --cr: -5deg; --ox: 4%; --oy: 12%; }
  .fragment:nth-child(3) { --cx: 52%; --cy: 15%; --cr: 6deg; --ox: 52%; --oy: 12%; }
  .fragment:nth-child(5) { --cx: 5%; --cy: 52%; --cr: 4deg; --ox: 4%; --oy: 53%; }
  .fragment:nth-child(7) { --cx: 50%; --cy: 55%; --cr: -6deg; --ox: 52%; --oy: 53%; }

  .page-home .journey__panel--hero h1 {
    font-size: clamp(3rem, 14vw, 4.2rem);
  }

  .journey__lead {
    font-size: 1.05rem;
  }

  .scroll-cue {
    display: none;
  }

  .selector__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 0;
  }

  .selector__tab,
  .selector__tab:hover,
  .selector__tab[aria-selected="true"] {
    padding: 0.6rem 1.1rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    box-shadow: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0;
  }

  .selector__tab[aria-selected="true"] {
    border-color: var(--action);
    background: var(--action);
    color: var(--on-action);
  }

  .selector__tab-number {
    display: none;
  }

  .process {
    grid-template-columns: minmax(0, 1fr);
  }

  .before-after,
  .values-grid,
  .option-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .briefing__keys {
    display: none;
  }

  .whatsapp-float {
    width: 3rem;
    height: 3rem;
  }
}

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

  .stack__track {
    animation: none;
  }

  .stack__viewport {
    overflow-x: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
