@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700;12..96,800&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Fraunces:opsz,wght@9..144,600;9..144,700&family=IBM+Plex+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&family=Syne:wght@500;600;700;800&display=swap");

:root {
  --milk: #fff6dd;
  --paper: #fffdf5;
  --ink: #141414;
  --muted: #655f59;
  --berry: #ff3f25;
  --blue: #3155ff;
  --butter: #ffdb1f;
  --pink: #ff6b9b;
  --mint: #55daa4;
  --soft-blue: #b8e8ff;
  --line: rgba(20, 20, 20, 0.16);
  --serif: "Bricolage Grotesque", Arial, sans-serif;
  --sans: "Space Grotesk", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --max: 1420px;
  --stage-radius: 28px;
  --section-radius: 42px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--milk);
  font-family: var(--sans);
  transition: color 0.35s ease, background 0.35s ease;
}

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

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

button {
  font: inherit;
}

.topbar,
.model-lab,
.after-story,
.complete-section,
.operation-section,
.experience-section,
footer {
  width: min(calc(100% - 36px), var(--max));
  margin-inline: auto;
}

.topbar {
  height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.brand b {
  color: var(--berry);
}

.brand-mark {
  width: 34px;
  height: 34px;
  position: relative;
  display: inline-block;
}

.brand-mark i {
  width: 17px;
  height: 17px;
  position: absolute;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}

.brand-mark i:nth-child(1) { left: 1px; top: 2px; background: var(--butter); }
.brand-mark i:nth-child(2) { right: 1px; top: 2px; background: var(--berry); }
.brand-mark i:nth-child(3) { left: 8px; bottom: 1px; background: var(--soft-blue); }

.topbar > p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.topbar nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.topbar nav a:hover {
  color: var(--berry);
}

.header-button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--butter);
  font-size: 13px;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.login-button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.login-button:hover {
  color: var(--paper);
  background: var(--ink);
}

/* Ten visual directions */

.model-lab {
  padding: 26px 0 22px;
}

.model-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 30px;
  margin-bottom: 18px;
}

.model-heading span {
  color: var(--berry);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.model-heading h2 {
  margin: 7px 0 0;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.model-heading p {
  max-width: 560px;
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.model-selector {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: stretch;
  gap: 10px;
}

.model-arrow {
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.model-arrow:hover {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-2px);
}

.model-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.model-track::-webkit-scrollbar {
  display: none;
}

.model-card {
  --swatch-a: #ff3f25;
  --swatch-b: #3155ff;
  flex: 0 0 150px;
  min-height: 84px;
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: 1fr auto;
  gap: 3px 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--paper);
  text-align: left;
  scroll-snap-align: center;
  cursor: pointer;
  transition: border 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.model-card:hover,
.model-card.active {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.model-card.active {
  background: color-mix(in srgb, var(--soft-blue) 58%, var(--paper));
}

.model-card strong {
  align-self: end;
  font-size: 12px;
}

.model-card small {
  color: var(--muted);
  font-size: 9px;
}

.model-mini {
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
}

.model-mini i {
  position: absolute;
  display: block;
}

.model-mini i:nth-child(1) {
  inset: 0 48% 0 0;
  background: var(--swatch-a);
}

.model-mini i:nth-child(2) {
  width: 38%;
  height: 36%;
  right: 6%;
  top: 10%;
  background: var(--swatch-b);
}

.model-mini i:nth-child(3) {
  width: 38%;
  height: 36%;
  right: 6%;
  bottom: 10%;
  border: 1px solid var(--ink);
}

.model-card[data-model-target="pistache"] { --swatch-a: #ed6b2e; --swatch-b: #1f6b4f; }
.model-card[data-model-target="noite"] { --swatch-a: #10162b; --swatch-b: #ffe11f; }
.model-card[data-model-target="italiano"] { --swatch-a: #8e2538; --swatch-b: #9db66b; }
.model-card[data-model-target="eletrico"] { --swatch-a: #1856ff; --swatch-b: #ff6047; }
.model-card[data-model-target="grade"] { --swatch-a: #111; --swatch-b: #b8f235; }
.model-card[data-model-target="framboesa"] { --swatch-a: #d92878; --swatch-b: #ff7a29; }
.model-card[data-model-target="crema"] { --swatch-a: #55352a; --swatch-b: #f3a66f; }
.model-card[data-model-target="acai"] { --swatch-a: #6730b8; --swatch-b: #29d6dc; }
.model-card[data-model-target="balcao"] { --swatch-a: #176344; --swatch-b: #f3c52b; }

.model-card[data-model-target="pistache"] .model-mini i:nth-child(1),
.model-card[data-model-target="eletrico"] .model-mini i:nth-child(1) {
  inset: 0 0 0 52%;
}

.model-card[data-model-target="pistache"] .model-mini i:nth-child(2),
.model-card[data-model-target="eletrico"] .model-mini i:nth-child(2) {
  left: 6%;
  right: auto;
}

.model-card[data-model-target="noite"] .model-mini,
.model-card[data-model-target="grade"] .model-mini {
  border-radius: 1px;
}

.model-card[data-model-target="framboesa"] .model-mini i:nth-child(1) {
  inset: 0;
}

.model-card[data-model-target="framboesa"] .model-mini i:nth-child(2) {
  width: 76%;
  height: 25%;
  right: 12%;
  top: 16%;
}

.model-card[data-model-target="acai"] .model-mini i:nth-child(1) {
  inset: 0 32% 0 0;
  clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%);
}

.model-status {
  display: grid;
  grid-template-columns: auto 150px 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 11px;
}

.model-status > span {
  font-family: var(--mono);
  font-size: 10px;
}

.model-status strong {
  color: var(--ink);
  font-size: 12px;
}

.model-status p {
  margin: 0;
}

.model-enter .stage-frame {
  animation: modelIn 0.52s cubic-bezier(0.2, 0.75, 0.2, 1);
}

@keyframes modelIn {
  from {
    opacity: 0.55;
    transform: translateY(10px) scale(0.992);
  }
}

/* Scroll-controlled narrative */

.scroll-story {
  height: 440vh;
  position: relative;
}

.story-stage {
  height: 100vh;
  min-height: 720px;
  position: sticky;
  top: 0;
  display: grid;
  place-items: center;
  padding: 16px 18px;
  overflow: hidden;
}

.stage-frame {
  width: min(100%, var(--max));
  height: min(92vh, 900px);
  min-height: 680px;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--stage-radius);
  background: var(--paper);
  transition: border-radius 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.stage-header {
  height: 75px;
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
}

.stage-header > div:first-child {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stage-header > div:first-child span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.stage-header > div:first-child strong {
  padding-left: 16px;
  border-left: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.experience-seal {
  display: flex;
  align-items: center;
  gap: 9px;
}

.experience-seal b {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
}

.experience-seal span {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.phase {
  position: absolute;
  z-index: 2;
  inset: 76px 0 44px;
  display: grid;
  grid-template-columns: 0.77fr 1.23fr;
  opacity: var(--visibility, 0);
  pointer-events: none;
  will-change: opacity;
}

.phase.active {
  pointer-events: auto;
}

.phase-copy {
  z-index: 5;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: clamp(35px, 5vw, 72px);
  transform: translateY(calc(var(--copy-y, 0) * 1px));
  will-change: transform;
  transition: color 0.35s ease, background 0.35s ease;
}

.phase-computer .phase-copy {
  color: #fff;
  background: var(--blue);
}

.phase-ingredients .phase-copy {
  color: var(--ink);
  background: var(--butter);
}

.phase-cup .phase-copy {
  color: #fff;
  background: var(--berry);
}

.phase-data .phase-copy {
  color: var(--ink);
  background: var(--mint);
}

.phase-number {
  margin-bottom: 42px;
  font-family: var(--mono);
  font-size: 11px;
}

.phase-kicker {
  margin: 0 0 14px;
  color: currentColor;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* A linha que diz O QUE o produto é, antes de qualquer criatividade: sem ela o
   visitante fica meio minuto sem saber se isto é loja, curso ou sistema. */
.phase-oque {
  margin: 0 0 18px;
  padding: 8px 14px;
  display: inline-block;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0.92;
}

.phase h1,
.phase h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 4.8vw, 76px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.phase h1 em,
.phase h2 em,
.after-copy h2 em,
.complete-heading h2 em,
.experience-section h2 em {
  color: var(--butter);
  font-weight: inherit;
  font-style: normal;
}

.phase-computer h1 em {
  color: var(--butter);
}

.phase-ingredients h2 em {
  color: var(--blue);
}

.phase-cup h2 em {
  color: var(--paper);
}

.phase-data h2 em {
  color: var(--berry);
}

.after-copy h2 em {
  color: var(--berry);
}

.complete-heading h2 em {
  color: var(--blue);
}

.phase-description {
  max-width: 500px;
  margin: 24px 0 0;
  color: currentColor;
  opacity: 0.72;
  font-size: 16px;
  line-height: 1.55;
}

.phase-visual {
  position: relative;
  overflow: hidden;
  transform: translateY(calc(var(--visual-y, 0) * 1px)) scale(var(--visual-scale, 1));
  transform-origin: center;
  will-change: transform;
  transition: background 0.35s ease, border-radius 0.35s ease;
}

.phase-visual > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.computer-device {
  width: 72%;
  aspect-ratio: 1.42;
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 28px 28px rgba(23, 56, 44, 0.18));
}

.monitor-frame {
  width: 100%;
  position: absolute;
  inset: 0 0 auto;
  aspect-ratio: 16 / 9;
  padding: 13px;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: #19211e;
  box-shadow: 0 8px 0 rgba(23, 56, 44, 0.2);
  transform: perspective(1400px) rotateY(-1.5deg) rotateX(0.5deg) rotateZ(-0.25deg);
  transform-origin: bottom center;
}

.monitor-camera {
  width: 5px;
  height: 5px;
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 4px;
  border-radius: 50%;
  background: #75817b;
}

.computer-screen {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: left top;
  border-radius: 9px;
  filter: saturate(0.94) contrast(1.02);
}

.monitor-neck {
  width: 15%;
  height: 14%;
  position: absolute;
  z-index: -1;
  left: 42.5%;
  top: 77%;
  border: 2px solid var(--ink);
  border-top: 0;
  background: #d7ddcf;
  transform: skewX(-6deg);
}

.monitor-base {
  width: 40%;
  height: 5%;
  position: absolute;
  z-index: -1;
  left: 30%;
  top: 89%;
  border: 2px solid var(--ink);
  border-radius: 50% 50% 18px 18px;
  background: #eef0e4;
  box-shadow: 0 7px 0 rgba(23, 56, 44, 0.15);
}

.floating-note {
  position: absolute;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.92);
  box-shadow: 0 14px 35px rgba(32, 28, 27, 0.08);
  font-family: var(--mono);
  font-size: 10px;
}

.note-stock { left: 7%; top: 20%; }
.note-order { right: 7%; bottom: 16%; }

.ingredients-visual > img {
  object-fit: cover;
}

.ingredient-word {
  position: absolute;
  z-index: 4;
  display: grid;
  padding: 14px 17px;
  border: 1px solid rgba(32, 28, 27, 0.17);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.93);
  box-shadow: 0 16px 38px rgba(32, 28, 27, 0.1);
  transform: translateY(calc(var(--ingredient-drop, 0) * 1px)) rotate(calc(var(--ingredient-turn, 0) * 1deg));
  will-change: transform;
}

.ingredient-word span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
}

.ingredient-word b {
  margin: 5px 0 2px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
}

.ingredient-word small {
  color: var(--muted);
  font-size: 10px;
}

.word-milk {
  left: 6%;
  bottom: 10%;
}

.word-pistachio {
  right: 7%;
  top: 12%;
  transform: translateY(calc(var(--ingredient-drop, 0) * -0.65px)) rotate(calc(var(--ingredient-turn, 0) * -1deg));
}

.word-fefo {
  right: 21%;
  bottom: 8%;
  transform: translateY(calc(var(--ingredient-drop, 0) * 0.45px)) rotate(calc(var(--ingredient-turn, 0) * 0.45deg));
}

.cup-visual > img {
  object-fit: cover;
}

.cup-data {
  position: absolute;
  z-index: 3;
  left: 7%;
  top: 10%;
  display: grid;
  padding: 16px 19px;
  border: 1px solid rgba(32, 28, 27, 0.15);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 0 18px 45px rgba(32, 28, 27, 0.1);
}

.cup-data span {
  color: var(--berry);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.cup-data strong {
  margin: 7px 0 3px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.cup-data small {
  color: var(--muted);
  font-size: 10px;
}

.data-visual {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  align-items: center;
  gap: 16px;
  padding: clamp(22px, 4vw, 50px);
  background: var(--blue);
}

.data-stream {
  display: grid;
  gap: 10px;
}

.data-stream > span {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(32, 28, 27, 0.14);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 10px 25px rgba(32, 28, 27, 0.07);
  transform: translateX(calc(var(--stream-x, 0) * 1px));
  opacity: var(--stream-opacity, 1);
  will-change: transform, opacity;
}

.data-stream > span:nth-child(2) {
  transform: translateX(calc(var(--stream-x, 0) * 0.72px));
}

.data-stream > span:nth-child(3) {
  transform: translateX(calc(var(--stream-x, 0) * 0.45px));
}

.data-stream > span:nth-child(4) {
  transform: translateX(calc(var(--stream-x, 0) * 0.2px));
}

.data-stream i {
  color: var(--berry);
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
}

.data-stream b {
  font-size: 12px;
}

.decision-screen {
  min-height: 480px;
  padding: 25px;
  border: 1px solid rgba(32, 28, 27, 0.18);
  border-radius: 24px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 75px rgba(32, 28, 27, 0.15);
}

.screen-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.screen-head > span {
  font-size: 12px;
  font-weight: 600;
}

.screen-head > span b {
  color: var(--berry);
}

.screen-head small {
  color: var(--muted);
  font-size: 10px;
}

.screen-main {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 12px;
  margin-top: 20px;
}

.decision-primary {
  min-height: 275px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  border-radius: 16px;
  color: var(--paper);
  background: var(--berry);
}

.decision-primary span,
.decision-primary b {
  font-size: 10px;
  font-weight: 500;
}

.decision-primary strong {
  margin: 9px 0 2px;
  font-family: var(--serif);
  font-size: 53px;
  font-weight: 400;
}

.decision-list {
  display: grid;
  gap: 8px;
}

.decision-list > span {
  display: grid;
  grid-template-columns: 25px 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.decision-list i {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--berry);
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
}

.decision-list b {
  font-size: 11px;
}

.decision-list small {
  align-self: start;
  color: var(--muted);
  font-size: 9px;
}

.screen-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
}

.screen-footer i {
  color: var(--berry);
  font-style: normal;
}

.stage-progress {
  height: 44px;
  position: absolute;
  z-index: 25;
  right: 28px;
  bottom: 0;
  left: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.stage-progress > button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 10px;
  text-align: left;
  cursor: pointer;
}

.stage-progress button i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border: 1px solid var(--muted);
  border-radius: 50%;
}

.stage-progress button small {
  margin-left: auto;
  padding-right: 14px;
  font-family: var(--mono);
  font-size: 9px;
}

.stage-progress button.active {
  color: var(--ink);
}

.stage-progress button.active i {
  border-color: var(--blue);
  background: var(--blue);
}

.stage-arrows {
  position: absolute;
  z-index: 31;
  left: 28px;
  bottom: 57px;
  display: flex;
  gap: 7px;
}

.stage-arrows button {
  width: 38px;
  height: 38px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.stage-arrows button:hover {
  transform: translateY(-2px);
  background: var(--butter);
}

.stage-arrows button:disabled {
  cursor: default;
  opacity: 0.35;
  transform: none;
}

.scroll-hint {
  position: absolute;
  z-index: 30;
  right: 28px;
  bottom: 61px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: var(--hint-opacity, 1);
}

.scroll-hint i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--berry);
  font-style: normal;
}

/* Content after the scroll */

.after-story {
  padding: 140px 0 125px;
}

.after-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: clamp(55px, 8vw, 130px);
}

.after-copy {
  max-width: 650px;
}

.after-copy > span,
.complete-heading > span,
.experience-section > span {
  color: var(--berry);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.after-copy h2,
.complete-heading h2,
.experience-section h2 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(52px, 6.4vw, 94px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.after-copy h2 {
  font-size: clamp(46px, 5.2vw, 76px);
  line-height: 0.98;
}

.after-copy > p,
.complete-heading > p {
  max-width: 590px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.decision-cascade {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 34px 0;
}

.decision-cascade::before {
  content: "";
  width: 2px;
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 0;
  bottom: 0;
  background: var(--blue);
}

.decision-cascade article {
  width: 80%;
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--soft-blue);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.decision-cascade article:nth-child(2) {
  margin-left: 10%;
}

.decision-cascade article:nth-child(3) {
  margin-left: 20%;
  color: #fffaf0;
  background: var(--blue);
  box-shadow: 7px 7px 0 var(--butter);
}

.decision-cascade article:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 0 var(--soft-blue);
}

.decision-cascade article > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.decision-cascade article span,
.decision-cascade article b {
  color: var(--berry);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.decision-cascade article:nth-child(3) span,
.decision-cascade article:nth-child(3) b {
  color: var(--butter);
}

.decision-cascade article > strong {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.decision-cascade article p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.decision-cascade article:nth-child(3) p {
  color: rgba(255, 250, 240, 0.72);
}

.decision-cascade article > i {
  width: 100%;
  height: 8px;
  position: relative;
  overflow: hidden;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 99px;
}

.decision-cascade article > i::after {
  content: "";
  width: var(--fill);
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--berry);
}

.decision-cascade button {
  width: fit-content;
  margin-top: 7px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 250, 240, 0.65);
  border-radius: 99px;
  color: #fffaf0;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.complete-section {
  padding: 120px 0 145px;
}

.complete-heading {
  max-width: 1050px;
  margin-bottom: 75px;
}

.module-stair {
  display: grid;
  gap: 12px;
}

.module-stair article {
  width: calc(100% - var(--stair, 0px));
  min-height: 150px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 230px;
  align-items: center;
  gap: 30px;
  margin-left: var(--stair, 0px);
  padding: 20px 26px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 6px 6px 0 color-mix(in srgb, var(--blue) 28%, transparent);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.module-stair article:nth-child(2) { --stair: 3%; }
.module-stair article:nth-child(3) { --stair: 6%; }
.module-stair article:nth-child(4) { --stair: 9%; }
.module-stair article:nth-child(5) { --stair: 12%; }

.module-stair article:hover {
  z-index: 2;
  transform: translateX(-8px);
  background: var(--soft-blue);
  box-shadow: 10px 10px 0 var(--butter);
}

.module-stair article > span {
  color: var(--berry);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.module-stair h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 3.2vw, 50px);
  font-weight: 700;
  letter-spacing: -0.055em;
}

.module-stair p {
  max-width: 560px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.module-visual {
  width: 100%;
  height: 92px;
  position: relative;
  justify-self: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--milk);
}

.sale-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  padding: 15px 22px;
}

.sale-bars i {
  width: 15%;
  border: 2px solid var(--ink);
  border-bottom: 0;
  background: var(--berry);
}

.sale-bars i:nth-child(1) { height: 30%; }
.sale-bars i:nth-child(2) { height: 48%; }
.sale-bars i:nth-child(3) { height: 72%; }
.sale-bars i:nth-child(4) { height: 58%; }
.sale-bars i:nth-child(5) { height: 88%; background: var(--blue); }

.batch-dials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.batch-dials i {
  width: 46px;
  height: 46px;
  position: relative;
  border: 7px solid var(--blue);
  border-radius: 50%;
}

.batch-dials i::after {
  content: "";
  width: 7px;
  height: 19px;
  position: absolute;
  left: 50%;
  top: -7px;
  background: var(--berry);
  transform: translateX(-50%) rotate(18deg);
  transform-origin: 50% 30px;
}

.batch-dials i:nth-child(2) {
  width: 62px;
  height: 62px;
}

.stock-tickets i {
  width: 46%;
  height: 66%;
  position: absolute;
  left: 14%;
  top: 17%;
  border: 2px solid var(--ink);
  border-radius: 9px;
  background: var(--paper);
}

.stock-tickets i:nth-child(2) {
  left: 27%;
  background: var(--soft-blue);
}

.stock-tickets i:nth-child(3) {
  left: 40%;
  background: var(--butter);
}

.money-kpis {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.4fr;
  align-items: stretch;
  padding: 8px;
  gap: 7px;
}

.money-kpis span {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.money-kpis small,
.customer-card small {
  color: var(--muted);
  font-size: 8px;
}

.money-kpis strong {
  font-size: 18px;
  letter-spacing: -0.04em;
}

.money-kpis span:last-child {
  color: #fffaf0;
  background: var(--blue);
}

.money-kpis span:last-child small {
  color: rgba(255, 250, 240, 0.72);
}

.customer-card {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.4fr;
  align-items: stretch;
  gap: 7px;
  padding: 8px;
}

.customer-card span {
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.customer-card strong {
  color: var(--blue);
  font-size: 26px;
  letter-spacing: -0.05em;
}

.customer-card > b {
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 10px;
  color: var(--ink);
  background: var(--butter);
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
}

.operation-section {
  padding: 125px 0 145px;
}

.operation-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 50px;
}

.operation-heading > span {
  grid-column: 1 / 3;
  color: var(--berry);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.operation-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 7.5vw, 108px);
  line-height: 0.91;
  letter-spacing: -0.065em;
}

.operation-heading h2 em {
  color: var(--berry);
  font-style: normal;
}

.operation-heading p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.operation-tabs {
  display: flex;
  gap: 8px;
  margin: 70px 0 22px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--ink);
}

.operation-tabs button {
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.operation-tabs button.active {
  color: #fffaf0;
  background: var(--blue);
}

.operation-panel.active {
  animation: panelIn 0.35s ease;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.operation-panel[data-operation-panel="quiz"] {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.operation-panel[data-operation-panel="quiz"].active {
  display: grid;
}

.operation-quiz {
  display: grid;
  gap: 12px;
}

.quiz-live {
  min-height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  color: #fffaf0;
  background: var(--blue);
}

.quiz-live span {
  color: var(--butter);
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.quiz-live strong {
  font-size: 13px;
  text-align: right;
}

.quiz-live.live-flash {
  animation: liveFlash 0.5s ease;
}

@keyframes liveFlash {
  45% {
    transform: translateY(-4px);
    box-shadow: 0 8px 0 var(--butter);
  }
}

.operation-quiz fieldset {
  margin: 0;
  padding: 22px;
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  background: var(--paper);
}

.operation-quiz legend {
  padding: 0 9px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.operation-quiz legend span {
  margin-right: 10px;
  color: var(--berry);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.quiz-options.compact {
  grid-template-columns: repeat(4, 1fr);
}

.quiz-options label {
  cursor: pointer;
}

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

.quiz-options label > span {
  min-height: 64px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 12px 38px 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--milk);
  position: relative;
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.quiz-options label:hover > span {
  transform: translateY(-2px);
}

.quiz-options input:focus-visible + span {
  outline: 3px solid color-mix(in srgb, var(--blue) 38%, transparent);
  outline-offset: 2px;
}

.quiz-options input:checked + span {
  border-color: var(--blue);
  background: var(--soft-blue);
}

.quiz-options input:checked + span::after {
  content: "✓";
  width: 20px;
  height: 20px;
  position: absolute;
  right: 8px;
  top: 8px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fffaf0;
  background: var(--blue);
  font-size: 10px;
  font-weight: 800;
}

.profile-detail.detail-enter {
  animation: detailEnter 0.45s cubic-bezier(0.2, 0.75, 0.2, 1);
}

@keyframes detailEnter {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
}

.quiz-options b {
  font-size: 12px;
}

.quiz-options small {
  color: var(--muted);
  font-size: 9px;
}

.operation-result {
  min-height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: clamp(28px, 4vw, 58px);
  border: 2px solid var(--ink);
  border-radius: 28px;
  color: #fffaf0;
  background: var(--blue);
  box-shadow: 10px 10px 0 var(--butter);
}

.operation-result.result-flash {
  animation: resultFlash 0.55s ease;
}

@keyframes resultFlash {
  45% {
    box-shadow: 16px 16px 0 var(--butter);
    transform: translateY(-3px);
  }
}

.operation-result > span {
  color: var(--butter);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.operation-result h3 {
  margin: 18px 0 13px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.2vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.operation-result > p {
  margin: 0;
  color: rgba(255, 250, 240, 0.72);
  font-size: 13px;
  line-height: 1.6;
}

.recommended-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 28px 0;
}

.recommended-modules span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 250, 240, 0.35);
  border-radius: 999px;
  font-size: 10px;
}

.operation-result > a {
  width: fit-content;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 17px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--butter);
  font-size: 11px;
  font-weight: 700;
}

.all-modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.all-modules article {
  min-height: 180px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 30px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}

.all-modules article:nth-child(2),
.all-modules article:nth-child(3),
.all-modules article:nth-child(6) {
  background: var(--soft-blue);
}

.all-modules article:nth-child(4) {
  background: var(--butter);
}

.all-modules span {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.all-modules p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.experience-section {
  min-height: 690px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 90px 70px;
  border-radius: var(--section-radius) var(--section-radius) 0 0;
  color: var(--ink);
  background: var(--pink);
}

.experience-section > span {
  color: var(--ink);
}

.experience-section h2 {
  max-width: 1160px;
}

.experience-section h2 em {
  color: var(--paper);
}

.experience-section > p {
  max-width: 650px;
  margin: 35px 0;
  color: rgba(20, 20, 20, 0.7);
  font-size: 11px;
  line-height: 1.75;
}

.experience-section > a {
  width: fit-content;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--butter);
  font-size: 10px;
  font-weight: 600;
}

footer {
  min-height: 250px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 55px;
  border-top: 2px solid var(--ink);
}

.footer-brand,
.footer-contact,
.footer-entry {
  display: grid;
  align-content: center;
  gap: 10px;
}

.footer-brand p,
.footer-contact > span,
.footer-entry > span {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.footer-contact a {
  width: fit-content;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}

.footer-entry {
  justify-items: end;
}

/* a linha jurídica: termos, privacidade e CNPJ. Discreta, mas EXISTINDO, que é o
   que a sócia desconfiada procura antes de deixar o marido assinar. */
.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.footer-legal a {
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.footer-entry > a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 17px;
  border-radius: 999px;
  color: #fffaf0;
  background: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

/* Palettes: two strong colors plus neutrals in each direction */

body[data-model="impacto"] {
  --milk: #fff3dc;
  --paper: #fffaf0;
  --ink: #151515;
  --muted: #655f59;
  --berry: #ff3f25;
  --blue: #3155ff;
  --butter: #ff3f25;
  --pink: #3155ff;
  --mint: #3155ff;
  --soft-blue: #dce3ff;
  --serif: "Bricolage Grotesque", Arial, sans-serif;
}

body[data-model="pistache"] {
  --milk: #f6f1df;
  --paper: #fffaf0;
  --ink: #17382c;
  --muted: #59675f;
  --berry: #ed6b2e;
  --blue: #1f6b4f;
  --butter: #ed6b2e;
  --pink: #ed6b2e;
  --mint: #1f6b4f;
  --soft-blue: #dbe9d9;
  --serif: "Syne", Arial, sans-serif;
  --stage-radius: 56px;
  --section-radius: 60px;
}

body[data-model="pistache"] .phase-data .phase-copy {
  color: #fffaf0;
}

body[data-model="pistache"] .phase-data .phase-description {
  opacity: 0.82;
}

body[data-model="noite"] {
  --milk: #10162b;
  --paper: #17203a;
  --ink: #fff9e8;
  --muted: #aab1c3;
  --berry: #ffe11f;
  --blue: #ffe11f;
  --butter: #ffe11f;
  --pink: #ffe11f;
  --mint: #ffe11f;
  --soft-blue: #273451;
  --line: rgba(255, 249, 232, 0.2);
  --serif: "Space Grotesk", Arial, sans-serif;
  --stage-radius: 4px;
  --section-radius: 4px;
}

body[data-model="italiano"] {
  --milk: #f5efe4;
  --paper: #fffaf1;
  --ink: #2d211d;
  --muted: #71645d;
  --berry: #8e2538;
  --blue: #6f8a4d;
  --butter: #8e2538;
  --pink: #8e2538;
  --mint: #9db66b;
  --soft-blue: #e4ead3;
  --serif: "Fraunces", Georgia, serif;
  --stage-radius: 36px;
  --section-radius: 70px;
}

body[data-model="eletrico"] {
  --milk: #edf3ff;
  --paper: #f9fbff;
  --ink: #101a37;
  --muted: #5d6680;
  --berry: #ff6047;
  --blue: #1856ff;
  --butter: #ff6047;
  --pink: #ff6047;
  --mint: #1856ff;
  --soft-blue: #cfdcff;
  --serif: "Syne", Arial, sans-serif;
  --stage-radius: 22px;
  --section-radius: 22px;
}

body[data-model="grade"] {
  --milk: #f4f4e8;
  --paper: #fafaf2;
  --ink: #101010;
  --muted: #5b5b54;
  --berry: #111111;
  --blue: #9bd621;
  --butter: #b8f235;
  --pink: #111111;
  --mint: #b8f235;
  --soft-blue: #dff6aa;
  --serif: "Archivo Black", Arial, sans-serif;
  --stage-radius: 0px;
  --section-radius: 0px;
}

body[data-model="framboesa"] {
  --milk: #fff1ef;
  --paper: #fff9f5;
  --ink: #2a1020;
  --muted: #765d68;
  --berry: #d92878;
  --blue: #ff7a29;
  --butter: #ff7a29;
  --pink: #d92878;
  --mint: #ff7a29;
  --soft-blue: #ffd9c1;
  --serif: "Archivo Black", Arial, sans-serif;
  --stage-radius: 34px;
  --section-radius: 34px;
}

body[data-model="crema"] {
  --milk: #f4eadc;
  --paper: #fff8ed;
  --ink: #35261f;
  --muted: #75645a;
  --berry: #55352a;
  --blue: #db7d4c;
  --butter: #f3a66f;
  --pink: #f3a66f;
  --mint: #db7d4c;
  --soft-blue: #f4d7bf;
  --serif: "Fraunces", Georgia, serif;
  --stage-radius: 50px;
  --section-radius: 50px;
}

body[data-model="acai"] {
  --milk: #f5efff;
  --paper: #fcf9ff;
  --ink: #25133e;
  --muted: #6e5b82;
  --berry: #6730b8;
  --blue: #11afb9;
  --butter: #29d6dc;
  --pink: #6730b8;
  --mint: #29d6dc;
  --soft-blue: #cff7f6;
  --serif: "Syne", Arial, sans-serif;
  --stage-radius: 18px;
  --section-radius: 18px;
}

body[data-model="balcao"] {
  --milk: #f5f2de;
  --paper: #fffbed;
  --ink: #173226;
  --muted: #5d6a63;
  --berry: #176344;
  --blue: #c49a00;
  --butter: #f3c52b;
  --pink: #176344;
  --mint: #f3c52b;
  --soft-blue: #e9dd9f;
  --serif: "DM Sans", Arial, sans-serif;
  --stage-radius: 28px;
  --section-radius: 28px;
}

body[data-model="noite"] .phase-ingredients .phase-copy,
body[data-model="noite"] .phase-data .phase-copy,
body[data-model="noite"] .phase-computer .phase-copy,
body[data-model="noite"] .phase-cup .phase-copy {
  color: #10162b;
}

body[data-model="grade"] .phase-ingredients .phase-copy,
body[data-model="grade"] .phase-data .phase-copy,
body[data-model="grade"] .phase-computer .phase-copy,
body[data-model="balcao"] .phase-ingredients .phase-copy,
body[data-model="balcao"] .phase-data .phase-copy {
  color: #101d16;
}

body[data-model="noite"] .header-button,
body[data-model="grade"] .header-button {
  color: #10162b;
}

@media (min-width: 721px) {
  body[data-model="pistache"] .phase,
  body[data-model="eletrico"] .phase {
    grid-template-columns: 1.18fr 0.82fr;
  }

  body[data-model="pistache"] .phase-copy,
  body[data-model="eletrico"] .phase-copy {
    order: 2;
  }

  body[data-model="pistache"] .phase-visual,
  body[data-model="eletrico"] .phase-visual {
    order: 1;
  }

  body[data-model="pistache"] .phase-copy {
    border-radius: 44px 0 0 44px;
  }

  body[data-model="noite"] .phase {
    display: block;
  }

  body[data-model="noite"] .phase-visual {
    position: absolute;
    inset: 0;
  }

  body[data-model="noite"] .phase-copy {
    width: min(47%, 650px);
    position: absolute;
    z-index: 7;
    left: 4.5%;
    bottom: 8%;
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  }

  body[data-model="noite"] .phase h1,
  body[data-model="noite"] .phase h2 {
    font-size: clamp(42px, 4.2vw, 68px);
  }

  body[data-model="italiano"] .phase {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    padding: 22px;
  }

  body[data-model="italiano"] .phase-copy {
    color: var(--ink);
    background: var(--paper);
    border-left: 12px solid var(--berry);
  }

  body[data-model="italiano"] .phase-visual {
    border-radius: 28px;
  }

  body[data-model="italiano"] .phase h1,
  body[data-model="italiano"] .phase h2 {
    font-size: clamp(50px, 5.2vw, 82px);
  }

  body[data-model="grade"] .phase {
    grid-template-columns: 0.65fr 1.35fr;
  }

  body[data-model="grade"] .phase-copy {
    border-right: 2px solid var(--ink);
  }

  body[data-model="grade"] .phase h1,
  body[data-model="grade"] .phase h2 {
    font-size: clamp(42px, 4.3vw, 66px);
    line-height: 0.97;
    letter-spacing: -0.045em;
  }

  body[data-model="grade"] .phase-description {
    border-top: 2px solid currentColor;
    padding-top: 18px;
  }

  body[data-model="framboesa"] .phase {
    display: block;
  }

  body[data-model="framboesa"] .phase-copy {
    width: 61%;
    height: 100%;
    position: absolute;
    z-index: 6;
    left: 0;
    top: 0;
    justify-content: flex-end;
    clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
    padding-right: 10%;
  }

  body[data-model="framboesa"] .phase-visual {
    width: 54%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
  }

  body[data-model="framboesa"] .phase h1,
  body[data-model="framboesa"] .phase h2 {
    font-size: clamp(47px, 5vw, 78px);
    line-height: 0.96;
  }

  body[data-model="crema"] .phase,
  body[data-model="balcao"] .phase {
    gap: 18px;
    padding: 18px;
    background: var(--milk);
  }

  body[data-model="crema"] .phase {
    grid-template-columns: 0.88fr 1.12fr;
  }

  body[data-model="crema"] .phase-copy,
  body[data-model="crema"] .phase-visual {
    border-radius: 34px;
  }

  body[data-model="crema"] .phase h1,
  body[data-model="crema"] .phase h2 {
    font-size: clamp(48px, 4.7vw, 73px);
  }

  body[data-model="acai"] .phase {
    grid-template-columns: 1.05fr 0.95fr;
  }

  body[data-model="acai"] .phase-copy {
    z-index: 6;
    margin-right: -12%;
    padding-right: 16%;
    clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  }

  body[data-model="acai"] .phase h1,
  body[data-model="acai"] .phase h2 {
    font-size: clamp(48px, 5.1vw, 80px);
  }

  body[data-model="balcao"] .phase {
    grid-template-columns: 0.9fr 1.1fr;
  }

  body[data-model="balcao"] .phase-copy,
  body[data-model="balcao"] .phase-visual {
    border: 2px solid var(--ink);
    border-radius: 18px;
  }

  body[data-model="balcao"] .phase h1,
  body[data-model="balcao"] .phase h2 {
    font-size: clamp(44px, 4.5vw, 70px);
    line-height: 1;
  }
}

@media (max-width: 1050px) {
  .phase {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .phase-copy {
    padding: 35px;
  }

  .phase h1,
  .phase h2 {
    font-size: clamp(54px, 6.5vw, 72px);
  }

  .data-visual {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .data-stream {
    grid-template-columns: 1fr 1fr;
  }

  .decision-screen {
    min-height: 380px;
  }
}

@media (max-width: 720px) {
  .topbar,
  .model-lab,
  .after-story,
  .complete-section,
  .operation-section,
  .experience-section,
  footer {
    width: min(calc(100% - 22px), var(--max));
  }

  .topbar {
    height: 72px;
    grid-template-columns: 1fr auto;
  }

  .topbar nav {
    display: none;
  }

  .model-lab {
    padding-top: 18px;
  }

  .model-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .model-heading p {
    justify-self: start;
    font-size: 13px;
  }

  .model-selector {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 7px;
  }

  .model-card {
    flex-basis: 136px;
  }

  .model-status {
    grid-template-columns: auto 1fr;
  }

  .model-status p {
    grid-column: 1 / 3;
  }

  /* O BOTAO PRINCIPAL NAO PODE SUMIR NO CELULAR (03/08).
     Ele estava display:none abaixo de 720 px, e o proximo "Ver demonstracao"
     so aparecia depois de 10.629 px de rolagem: quem abria o link no telefone,
     que e a maioria, nao tinha como entrar na demonstracao sem percorrer a
     pagina inteira. Agora ele fica, encolhido: o texto vira so "Demonstracao"
     e o "Entrar" ao lado perde a palavra, virando um botao de apoio. */
  .header-button {
    display: inline-flex;
    font-size: 12.5px;
    padding-inline: 13px;
    gap: 6px;
    white-space: nowrap;
  }

  .header-button .button-label-longo { display: none; }

  .login-button {
    min-height: 39px;
    padding-inline: 15px;
    font-size: 11px;
  }

  .scroll-story {
    height: 560vh;
  }

  .story-stage {
    min-height: 650px;
    padding: 8px 10px;
  }

  .stage-frame {
    height: calc(100vh - 16px);
    min-height: 630px;
    border-radius: 24px;
  }

  .stage-header {
    height: 65px;
    padding: 0 17px;
  }

  .experience-seal span {
    display: none;
  }

  .phase {
    inset: 66px 0 43px;
    grid-template-columns: 1fr;
    grid-template-rows: 0.75fr 1.25fr;
  }

  .phase-copy {
    justify-content: flex-start;
    padding: 24px 20px 5px;
  }

  .phase-number {
    margin-bottom: 13px;
  }

  .phase-kicker {
    margin-bottom: 7px;
    font-size: 11px;
  }

  .phase h1,
  .phase h2 {
    font-size: clamp(43px, 12.8vw, 59px);
    line-height: 0.9;
  }

  .phase-description {
    max-width: 460px;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.6;
  }

  .phase-visual {
    min-height: 0;
  }

  .computer-device {
    width: 82%;
    transform: translate(-50%, -50%);
  }

  .floating-note {
    display: none;
  }

  .ingredient-word {
    padding: 9px 11px;
  }

  .ingredient-word b {
    font-size: 17px;
  }

  .word-fefo {
    display: none;
  }

  .cup-data {
    left: 4%;
    top: 5%;
    padding: 10px 12px;
  }

  .cup-data strong {
    font-size: 21px;
  }

  .data-visual {
    display: block;
    padding: 12px;
  }

  .data-stream {
    position: absolute;
    z-index: 3;
    inset: 8px 8px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }

  .data-stream > span {
    padding: 7px;
  }

  .decision-screen {
    height: calc(100% - 56px);
    min-height: 0;
    margin-top: 56px;
    padding: 13px;
    border-radius: 16px;
  }

  .screen-head {
    padding-bottom: 10px;
  }

  .screen-main {
    height: calc(100% - 70px);
    grid-template-columns: 0.7fr 1.3fr;
    margin-top: 10px;
  }

  .decision-primary {
    min-height: 0;
    padding: 10px;
  }

  .decision-primary strong {
    font-size: 32px;
  }

  .decision-list > span {
    padding: 7px;
  }

  .screen-footer {
    margin-top: 7px;
    padding-top: 7px;
  }

  .stage-progress {
    right: 16px;
    left: 16px;
  }

  .stage-progress b {
    display: none;
  }

  .stage-progress button small {
    margin-left: 3px;
    padding-right: 0;
  }

  .stage-arrows {
    left: 16px;
    bottom: 55px;
  }

  .stage-arrows button {
    width: 34px;
    height: 34px;
  }

  .scroll-hint {
    right: 16px;
    bottom: 55px;
  }

  .scroll-hint > span {
    display: none;
  }

  .after-story {
    padding: 100px 0 85px;
  }

  .after-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .after-copy h2,
  .complete-heading h2,
  .experience-section h2 {
    font-size: clamp(49px, 14.5vw, 70px);
  }

  .decision-cascade {
    padding: 16px 0;
  }

  .decision-cascade article {
    width: 92%;
    min-height: 135px;
    padding: 17px;
  }

  .decision-cascade article:nth-child(2) {
    margin-left: 4%;
  }

  .decision-cascade article:nth-child(3) {
    margin-left: 8%;
  }

  .complete-section {
    padding: 85px 0 100px;
  }

  .module-stair article,
  .module-stair article:nth-child(n) {
    width: 100%;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-left: 0;
    padding: 20px;
  }

  .module-stair article:hover {
    transform: translateY(-4px);
  }

  .module-visual {
    height: 86px;
  }

  .operation-section {
    padding: 90px 0 105px;
  }

  .operation-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .operation-heading > span {
    grid-column: auto;
  }

  .operation-heading h2 {
    font-size: clamp(54px, 15vw, 72px);
  }

  .operation-tabs {
    margin-top: 45px;
  }

  .operation-tabs button {
    flex: 1;
    padding: 0 10px;
    font-size: 12px;
  }

  .operation-panel[data-operation-panel="quiz"].active {
    grid-template-columns: 1fr;
  }

  .operation-quiz fieldset {
    padding: 17px;
  }

  .quiz-live {
    align-items: flex-start;
    flex-direction: column;
  }

  .quiz-live strong {
    text-align: left;
  }

  .quiz-options,
  .quiz-options.compact {
    grid-template-columns: 1fr 1fr;
  }

  .operation-result {
    min-height: 540px;
  }

  .all-modules {
    grid-template-columns: 1fr;
  }

  .experience-section {
    min-height: 650px;
    padding: 60px 24px;
    border-radius: 26px 26px 0 0;
  }

  footer {
    min-height: 420px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 13px;
  }

  .footer-entry {
    justify-items: start;
  }
}

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

/* ============================================================
   PORTAO C3: CELULAR USAVEL na landing, alvo de dedo de 44 px,
   SEM MUDAR O DESENHO. Duas tecnicas:
   1) onde crescer nao muda nada na aparencia (pilula com o texto
      ja centrado), cresce a altura mesmo: Entrar ia de 39 pra 44;
   2) onde crescer mudaria a FORMA (as setas redondas de 34 px, os
      links sublinhados do rodape com 19,8 px), a bolinha e o
      sublinhado ficam exatamente do tamanho que estao e quem
      cresce e uma area transparente por baixo (::after). Ninguem
      ve diferenca; o dedo acerta.
   Os deslocamentos visuais sao so de espacamento, e existem pra
   as areas de toque vizinhas nao se sobreporem: as setas vao de
   7 pra 10 px de distancia (34 + 10 = 44, encosta exato) e os dois
   links do rodape vao de 10 pra 26 px.
   Aparelho com mouse e pointer:fine e nao dispara nada daqui.
   ============================================================ */
@media (pointer: coarse) {
  .login-button,
  .header-button {
    min-height: 44px;
  }

  .topbar nav a,
  .topbar .brand,
  .footer-brand .brand {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .stage-arrows {
    gap: 10px;
  }

  .stage-arrows button,
  .decision-cascade button,
  .footer-contact a {
    position: relative;
  }

  .stage-arrows button::after {
    content: "";
    width: 44px;
    height: 44px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .decision-cascade button::after {
    content: "";
    position: absolute;
    inset: -5px 0;
  }

  .footer-contact {
    gap: 26px;
  }

  .footer-contact a::after {
    content: "";
    position: absolute;
    inset: -12px 0;
  }
}


/* ============================================================
   PLANOS (03/08/2026)
   Mesma casa das outras seções: creme, verde-garrafa e laranja,
   sem degradê, sem sombra difusa, cantos de 1px.
   ============================================================ */
.planos-section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px);
  background: var(--milk, #fff6dd);
  border-top: 1px solid rgba(20, 20, 20, .1);
}
.planos-tag {
  display: inline-block; font-family: var(--mono, monospace); font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: #1f6b4f; margin-bottom: 14px;
}
.planos-section h2 {
  font-size: clamp(30px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -.02em;
  margin: 0 0 16px; color: var(--ink, #141414);
}
.planos-section h2 em { font-style: normal; color: #ed6b2e; }
.planos-intro { max-width: 56ch; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.55; color: var(--muted, #655f59); margin: 0 0 40px; }

.planos-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; max-width: 1000px; }
.plano {
  background: var(--paper, #fffdf5); border: 1px solid rgba(20, 20, 20, .16);
  border-radius: 18px; padding: 28px 26px 24px; display: flex; flex-direction: column; gap: 12px;
}
.plano-destaque { border: 2px solid #1f6b4f; }
.plano-selo {
  align-self: flex-start; background: #1f6b4f; color: #fffdf5; font-size: 11.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px;
}
.plano h3 { font-size: 19px; margin: 0; color: var(--ink, #141414); }
.plano-preco { margin: 0; display: flex; align-items: baseline; gap: 4px; }
.plano-preco b { font-size: clamp(38px, 5vw, 50px); line-height: 1; letter-spacing: -.03em; color: var(--ink, #141414); }
.plano-preco span { font-size: 15px; color: var(--muted, #655f59); }
.plano-nota { margin: 0; font-size: 13px; color: var(--muted, #655f59); }
.plano-lista { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 9px; }
.plano-lista li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.45; color: #2f2b28; }
.plano-lista li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px;
  border-radius: 50%; background: #ed6b2e;
}
.plano-btn {
  margin-top: 14px; display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 15px;
  background: #ed6b2e; color: #141414; text-decoration: none;
}
.plano-btn-2 { background: transparent; color: var(--ink, #141414); border: 1.5px solid rgba(20, 20, 20, .34); }
.plano-rodape { margin: 4px 0 0; font-size: 12.5px; color: var(--muted, #655f59); }

.plano-extra { max-width: 1000px; margin: 22px 0 0; border: 1px solid rgba(20, 20, 20, .16); border-radius: 14px; background: var(--paper, #fffdf5); }
.plano-extra summary { cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 15px; color: var(--ink, #141414); }
.plano-extra p { margin: 0; padding: 0 20px 18px; font-size: 14.5px; line-height: 1.55; color: #2f2b28; max-width: 70ch; }

.planos-honesto { max-width: 1000px; margin: 30px 0 0; padding: 22px 24px; border: 1px solid rgba(31, 107, 79, .34); border-radius: 14px; background: rgba(31, 107, 79, .07); }
.planos-honesto h4 { margin: 0 0 12px; font-size: 15px; color: #1f6b4f; }
.planos-honesto ul { margin: 0; padding-left: 20px; display: grid; gap: 7px; }
.planos-honesto li { font-size: 14px; line-height: 1.5; color: #2f2b28; }

@media (max-width: 720px) {
  .planos-grid { grid-template-columns: 1fr; }
  .plano { padding: 24px 20px 20px; }
}

/* toque confortavel no celular: links do rodape e contato (conserto 07/08) */
@media (max-width: 720px) {
  .footer-contact a, .footer-legal a { display: inline-block; padding: 9px 4px; }
  #stage-label { font-size: 12px; }
}
