/*
 * Landing do pré-convite. Sem build e sem dependência.
 * O verde da marca é o de packages/design_system (tokens.dart), ainda provisório.
 * As peças de tela (.app-*, .device) imitam o customer_app; por isso têm cores próprias e fixas.
 */

@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Figtree';
  src: url('fonts/figtree-latin.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --brand: #2e7d4f;
  --brand-strong: #1f5e3a;
  --forest: #0e2a1b;
  --forest-2: #153a26;
  --mint: #adefc3;
  --amber: #f0a93b;
  --danger: #b3261e;

  --bg: #f7f4ec;
  --bg-2: #eaf2e6;
  --card: #ffffff;
  --ink: #14231a;
  --muted: #536158;
  --line: #dcdfd3;
  --on-brand: #ffffff;
  --shadow: 0 1px 2px rgb(20 35 26 / 0.06), 0 12px 32px -12px rgb(20 35 26 / 0.18);

  /* Peças de tela do app: sempre claras, como um aparelho ligado. */
  --a-bg: #f4faf3;
  --a-surface: #edf2eb;
  --a-fill: #e1e6df;
  --a-line: #c2c9c1;
  --a-ink: #181d19;
  --a-muted: #454c46;
  --a-mint: #adefc3;
  --a-primary: #3d7353;
  --a-amber: #b26a00;

  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.3, 1.4, 0.5, 1);
  --nav-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #6fcf97;
    --brand-strong: #8fe0b1;
    --bg: #0b130e;
    --bg-2: #101b14;
    --card: #152019;
    --ink: #e7ede8;
    --muted: #a3b0a7;
    --line: #27352c;
    --on-brand: #06180e;
    --danger: #f2b8b5;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 16px 40px -16px rgb(0 0 0 / 0.7);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Corta o que sai pelos lados (faixa inclinada, brilhos) sem criar área de rolagem. */
main {
  overflow-x: clip;
}

h1,
h2,
h3,
p,
ul,
ol,
fieldset {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ic {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
}

.skip:focus {
  top: 12px;
}

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

/* ───────────── Tipografia ───────────── */

h1,
h2,
.big {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
}

h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hl {
  color: var(--brand);
  background: linear-gradient(transparent 68%, color-mix(in srgb, var(--mint) 70%, transparent) 68% 92%, transparent 92%);
}

@media (prefers-color-scheme: dark) {
  .hl {
    background: none;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}

.eyebrow.on-dark {
  color: var(--mint);
}

.pulse {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
}

.pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  to {
    transform: scale(3.4);
    opacity: 0;
  }
}

h2 + .sub {
  margin-top: 18px;
}

.sub,
.lede {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  max-width: 34em;
  text-wrap: pretty;
}

.fine {
  font-size: 0.82rem;
  color: var(--muted);
}

.fine.center {
  text-align: center;
}

/* ───────────── Botões ───────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  color: var(--on-brand);
  background: var(--brand);
  cursor: pointer;
  transition:
    transform 0.25s var(--spring),
    background-color 0.2s,
    box-shadow 0.25s;
  box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--brand) 80%, transparent);
}

.btn:hover {
  background: var(--brand-strong);
  transform: translateY(-2px);
}

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

.btn .ic {
  transition: transform 0.25s var(--ease);
}

.btn:hover .ic {
  transform: translateX(4px);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.92rem;
  box-shadow: none;
}

.btn-lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 1.06rem;
}

.btn-block {
  width: 100%;
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn-ghost:hover {
  color: var(--bg);
  background: var(--ink);
}

.btn:disabled {
  opacity: 0.65;
  cursor: progress;
  transform: none;
}

.link-arrow {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: color-mix(in srgb, var(--brand) 55%, transparent);
  transition: text-decoration-color 0.2s;
}

.link-arrow:hover {
  text-decoration-color: var(--brand);
}

/* ───────────── Topo ───────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.nav.scrolled {
  border-bottom-color: var(--line);
}

.nav-in {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--brand);
}

.brand-mark {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links {
  display: none;
  gap: 26px;
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav .btn {
  margin-left: auto;
}

@media (min-width: 940px) {
  .nav-links {
    display: flex;
  }

  .nav .btn {
    margin-left: 0;
  }
}

/* ───────────── Entradas ───────────── */

.rise {
  animation: rise 0.9s var(--ease) both;
  animation-delay: var(--d, 0s);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ───────────── Início ───────────── */

.hero {
  position: relative;
  padding: clamp(28px, 6vw, 72px) 0 28px;
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.glow-a {
  width: 520px;
  height: 520px;
  right: -120px;
  top: -80px;
  background: var(--mint);
}

.glow-b {
  width: 380px;
  height: 380px;
  left: -160px;
  bottom: -120px;
  background: color-mix(in srgb, var(--amber) 55%, transparent);
  opacity: 0.3;
}

@media (prefers-color-scheme: dark) {
  .glow {
    opacity: 0.16;
  }
}

/* Prato desenhado em anéis atrás do aparelho. */
.plate {
  position: absolute;
  right: max(-180px, calc(50% - 760px));
  top: 50%;
  width: 760px;
  aspect-ratio: 1;
  translate: 0 -50%;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle,
    transparent 0 46px,
    color-mix(in srgb, var(--brand) 16%, transparent) 46px 47px
  );
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  animation: spin 90s linear infinite;
}

@keyframes spin {
  to {
    rotate: 360deg;
  }
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}

.lede {
  margin-top: 22px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin-top: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points .ic {
  color: var(--brand);
}

.hero-fine {
  position: relative;
  margin-top: 22px;
  text-align: center;
}

.hero-stage {
  --k: 0.82;
  display: grid;
  place-items: center;
  min-height: calc(620px * var(--k) + 70px);
  perspective: 1500px;
}

@media (min-width: 940px) {
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 24px;
  }

  .hero-stage {
    --k: 1;
  }

  .hero-fine {
    text-align: right;
  }
}

/* ───────────── Aparelho em 3D ───────────── */

.rig {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(calc(9deg + var(--rx, 0deg))) rotateY(calc(-19deg + var(--ry, 0deg))) rotateZ(3deg);
  animation: bob 7s ease-in-out infinite;
}

@keyframes bob {
  50% {
    translate: 0 -12px;
  }
}

.rig-shadow {
  position: absolute;
  left: 8%;
  right: -6%;
  bottom: -9%;
  height: 16%;
  border-radius: 50%;
  background: rgb(10 30 18 / 0.45);
  filter: blur(26px);
  transform: translateZ(-90px);
}

.device {
  position: relative;
  width: calc(300px * var(--k, 1));
  height: calc(620px * var(--k, 1));
  transform-style: preserve-3d;
}

/* Camadas empilhadas atrás do aparelho: é o que dá a espessura. */
.device .edge {
  position: absolute;
  inset: 0;
  border-radius: calc(46px * var(--k, 1));
  background: #1a211c;
  transform: translateZ(calc(var(--i) * -2.2px));
}

.device .edge:last-of-type {
  background: #0c100d;
}

.device-body {
  position: absolute;
  left: 0;
  top: 0;
  width: 300px;
  height: 620px;
  padding: 9px;
  border-radius: 46px;
  background: #0f1511;
  box-shadow: inset 0 0 0 1.5px #39443c;
  transform-origin: 0 0;
  transform: scale(var(--k, 1));
}

.device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 38px;
  background: var(--a-bg);
  color: var(--a-ink);
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.3;
}

.device-screen::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 9px;
  width: 78px;
  height: 20px;
  translate: -50% 0;
  border-radius: 12px;
  background: #0f1511;
  z-index: 5;
}

/* Cartões soltos na frente do aparelho. */
.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 16px;
  background: #fff;
  color: var(--a-ink);
  font-size: 0.84rem;
  line-height: 1.25;
  white-space: nowrap;
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.8) inset,
    0 18px 36px -14px rgb(10 30 18 / 0.5);
  animation: drift 6s ease-in-out infinite;
}

.float b {
  font-weight: 700;
}

.float small {
  display: block;
  font-size: 0.74rem;
  color: var(--a-muted);
}

.f-alert {
  right: -20%;
  top: 5%;
  background: #fff4e0;
  color: #6b3f00;
  transform: translateZ(110px);
}

.f-alert .ic {
  color: var(--a-amber);
}

.f-grams {
  left: -34%;
  top: 41%;
  gap: 16px;
  transform: translateZ(150px);
  animation-delay: -2s;
}

.f-plan {
  right: -22%;
  bottom: 13%;
  background: var(--a-mint);
  color: #0b3d22;
  transform: translateZ(80px);
  animation-delay: -4s;
}

.f-plan small {
  color: #1d5a37;
}

@keyframes drift {
  50% {
    translate: 0 -10px;
  }
}

@media (max-width: 560px) {
  .float {
    font-size: 0.74rem;
    padding: 9px 11px;
  }

  .f-alert {
    right: -12%;
  }

  .f-grams {
    left: -6%;
  }

  .f-plan {
    right: -12%;
  }
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #2f5f43;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mini-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95em;
}

.mini-stepper i {
  display: grid;
  place-items: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  border: 1px solid var(--a-line);
}

.mini-stepper .ic {
  width: 1.1em;
  height: 1.1em;
}

/* ───────────── Peças do app ───────────── */

.app {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 40px 12px 0;
}

.app > * {
  flex: none;
}

.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-top > .ic,
.app-bar .ic {
  width: 20px;
  height: 20px;
}

.app-where small {
  display: block;
  font-size: 10px;
  color: var(--a-muted);
}

.app-where strong {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 14px;
  font-weight: 500;
}

.app-where .ic {
  width: 14px;
  height: 14px;
  color: var(--a-primary);
}

.app-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 20px;
  background: var(--a-fill);
  color: var(--a-muted);
}

.app-search .ic {
  width: 16px;
  height: 16px;
  color: var(--a-ink);
}

.app-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  font-size: 9.5px;
  text-align: center;
  line-height: 1.2;
}

.app-cat span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 5px;
  border-radius: 14px;
  background: var(--a-fill);
}

.app-cat .ic {
  width: 18px;
  height: 18px;
}

.app-chips {
  display: flex;
  gap: 6px;
  overflow: hidden;
  margin-right: -12px;
}

.app-chips.wrapx {
  flex-wrap: wrap;
  margin-right: 0;
}

.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  height: 28px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid var(--a-line);
  background: var(--a-bg);
  color: var(--a-ink);
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

.app-chip .ic {
  width: 13px;
  height: 13px;
  color: var(--a-primary);
}

.app-chip.on {
  background: #d3e8d6;
  border-color: #d3e8d6;
}

.app-plan {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #8ed3a5;
  background: var(--a-mint);
  color: #0b3d22;
  font-size: 11px;
}

.app-plan strong {
  display: block;
  font-size: 12.5px;
}

.app-plan .ic {
  width: 20px;
  height: 20px;
}

.app-h {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.app-cook {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px;
  border-radius: 12px;
  border: 1px solid var(--a-line);
  background: var(--a-surface);
}

.app-cook strong {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
}

.app-cook span,
.app-cook em {
  display: block;
  font-size: 10px;
  font-style: normal;
  color: var(--a-muted);
}

.app-cook em {
  color: var(--a-primary);
  font-weight: 600;
}

.app-photo {
  display: grid !important;
  place-items: center;
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  color: #123b25 !important;
}

.app-photo .ic {
  width: 22px;
  height: 22px;
}

.tone-a {
  background: #adefc3;
}

.tone-b {
  background: #d5e6d6;
}

.tone-c {
  background: #ffe0b8;
}

.tone-d {
  background: #c3ebf7;
}

.tone-e {
  background: #e3dcf5;
}

.app-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 8px 0 14px;
  background: var(--a-surface);
  font-size: 10px;
  text-align: center;
}

.app-nav i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 24px;
  margin: 0 auto 3px;
  border-radius: 12px;
}

.app-nav .on i {
  background: #cfe6d3;
}

.app-nav .ic {
  width: 16px;
  height: 16px;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
}

.app-bar strong {
  font-weight: 500;
}

.app-sec {
  margin-top: 2px;
  font-size: 13.5px;
  font-weight: 500;
}

.app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid var(--a-line);
  background: var(--a-surface);
}

.app-row strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}

.app-row span {
  display: block;
  font-size: 9.5px;
  color: var(--a-muted);
}

.app-row .mini-stepper {
  font-size: 11px;
  gap: 6px;
}

.app-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: auto -12px 0;
  padding: 12px 12px 18px;
  background: var(--a-surface);
}

.app-foot span {
  display: block;
  font-size: 10px;
  color: var(--a-muted);
}

.app-foot strong {
  font-size: 15px;
}

.app-foot.solo {
  background: none;
}

.app-btn {
  display: grid !important;
  place-items: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--a-primary);
  color: #fff !important;
  font-size: 11.5px !important;
  font-weight: 600;
}

.app-btn.wide {
  width: 100%;
}

/* Folha de baixo (escolha do bairro). */
.app-dim {
  background: var(--a-bg);
  filter: brightness(0.62);
}

.sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 14px 26px;
  border-radius: 24px 24px 0 0;
  background: var(--a-bg);
}

.grab {
  width: 30px;
  height: 4px;
  margin: 0 auto 6px;
  border-radius: 2px;
  background: var(--a-muted);
}

.row-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--a-line);
}

.row-opt strong {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
}

.row-opt span {
  font-size: 10px;
  color: var(--a-muted);
}

.row-opt .ic {
  width: 18px;
  height: 18px;
  color: var(--a-primary);
}

.row-opt .tick {
  margin-left: auto;
}

.row-opt.sel {
  background: #d3e8d6;
  border-color: #9fcfae;
}

.tap {
  position: absolute;
  left: 30%;
  top: 74px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgb(46 125 79 / 0.3);
  opacity: 0;
}

/* Entrega ou retirada. */
.seg {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 34px;
  border-radius: 17px;
  border: 1px solid var(--a-muted);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--a-ink);
  overflow: hidden;
}

.seg-opt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.seg-opt + .seg-opt {
  border-left: 1px solid var(--a-muted);
}

.seg-opt .ic {
  width: 14px;
  height: 14px;
}

.seg-opt.on {
  background: #d3e8d6;
}

.seg-thumb {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background: #d3e8d6;
  animation: seg 5s var(--ease) infinite;
}

@keyframes seg {
  0%,
  42% {
    translate: 0;
  }

  50%,
  92% {
    translate: 100%;
  }
}

/* Plano e avulso. */
.plan-box {
  padding: 11px 12px;
  border-radius: 12px;
  border: 1.5px solid #2f6c48;
  background: var(--a-mint);
  color: #0b3d22;
}

.plan-top,
.plan-alt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}

.plan-top strong,
.plan-alt strong {
  font-weight: 500;
}

.plan-freq {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.plan-alt {
  flex-wrap: wrap;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--a-line);
  background: var(--a-surface);
  color: var(--a-ink);
}

.plan-alt small {
  flex-basis: 100%;
  padding-left: 24px;
  font-size: 10px;
  color: var(--a-muted);
}

.radio {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #1d5a37;
  background: radial-gradient(circle, #1d5a37 0 38%, transparent 42%);
}

.radio.off {
  border-color: var(--a-muted);
  background: none;
}

.totals {
  display: grid;
  gap: 5px;
  font-size: 11px;
}

.totals div {
  display: flex;
  justify-content: space-between;
}

.totals .tot {
  padding-top: 7px;
  border-top: 1px solid var(--a-line);
  font-size: 12.5px;
  font-weight: 500;
}

/* Acompanhar o pedido. */
.track-card,
.code-card {
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--a-line);
  background: var(--a-surface);
}

.track-card strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
}

.track-card span,
.code-card span,
.code-card small {
  display: block;
  font-size: 10px;
  color: var(--a-muted);
}

.timeline {
  display: grid;
  gap: 0;
  padding: 2px 4px;
}

.timeline li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  font-size: 12.5px;
  color: var(--a-muted);
}

.timeline li::before {
  content: '';
  position: absolute;
  left: 12px;
  top: -10px;
  width: 2px;
  height: 20px;
  background: var(--a-line);
}

.timeline li:first-child::before {
  display: none;
}

.timeline i {
  position: relative;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--a-line);
  background: var(--a-bg);
}

.timeline .ic {
  width: 14px;
  height: 14px;
}

.timeline .is-done,
.timeline .is-now {
  color: var(--a-ink);
}

.timeline .is-done i {
  border-color: var(--a-primary);
  background: var(--a-primary);
  color: #fff;
}

.timeline .is-done::before,
.timeline .is-now::before {
  background: var(--a-primary);
}

.timeline .is-now {
  font-weight: 600;
}

.timeline .is-now i {
  border-color: var(--a-primary);
  background: var(--a-mint);
  color: #0b3d22;
}

.code-card div {
  display: flex;
  gap: 6px;
  margin: 6px 0 4px;
}

.code-card b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 40px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--a-line);
  font-size: 18px;
}

/* ───────────── Faixa ───────────── */

.marquee {
  overflow: hidden;
  padding: 18px 0;
  background: var(--brand);
  color: var(--on-brand);
  rotate: -1.2deg;
  scale: 1.04;
  margin: 26px 0 10px;
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 500;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
}

.marquee-track > * {
  flex: none;
  margin-right: 28px;
}

.marquee-track i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ───────────── Seções ───────────── */

.section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.head .sub {
  margin: 18px auto 0;
}

.head.left {
  margin: 0;
  text-align: left;
}

.head.left .sub {
  margin-left: 0;
}

/* ───────────── Diferenciais ───────────── */

.bento {
  display: grid;
  gap: 18px;
  perspective: 1400px;
}

@media (min-width: 720px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1060px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

.card p {
  color: var(--muted);
  font-size: 0.97rem;
}

.card h3 {
  margin-top: 8px;
}

/* A inclinação do cartão vem do ponteiro (motion.js). */
.js [data-card].in {
  transform: rotateX(var(--cx, 0deg)) rotateY(var(--cy, 0deg));
  transition:
    opacity 0.9s var(--ease) var(--d, 0s),
    transform 0.35s var(--ease);
}

.card-art {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 272px;
  padding: 16px;
  border-radius: 16px;
  background: var(--a-bg);
  color: var(--a-ink);
  font-size: 12px;
  line-height: 1.3;
  transform: translateZ(28px);
}

@media (prefers-color-scheme: dark) {
  .card-art {
    box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06);
  }
}

.chips-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cyc,
.cyc3 {
  animation: chip-on 9s infinite;
  animation-delay: calc(var(--n) * 1.5s - 9s);
}

.cyc .ic,
.cyc3 .ic {
  animation: chip-ic 9s infinite;
  animation-delay: calc(var(--n) * 1.5s - 9s);
}

.cyc3,
.cyc3 .ic {
  animation-duration: 6s;
  animation-delay: calc(var(--n) * 2s - 6s);
}

@keyframes chip-on {
  0%,
  30% {
    background: #d3e8d6;
    border-color: #9fcfae;
  }

  36%,
  100% {
    background: var(--a-bg);
    border-color: var(--a-line);
  }
}

@keyframes chip-ic {
  0%,
  30% {
    width: 13px;
    opacity: 1;
  }

  36%,
  100% {
    width: 0;
    margin-right: -5px;
    opacity: 0;
  }
}

.dish {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px;
  border-radius: 12px;
  border: 1px solid var(--a-line);
  background: var(--a-surface);
}

.dish strong {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
}

.dish span {
  display: block;
  font-size: 10.5px;
  color: var(--a-muted);
}

.warn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 10px;
  background: #fff1d6;
  color: #6b3f00;
  font-weight: 600;
  animation: warn 3.2s var(--ease) infinite;
}

.warn .ic {
  width: 16px;
  height: 16px;
  color: var(--a-amber);
}

@keyframes warn {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgb(178 106 0 / 0.35);
  }

  50% {
    box-shadow: 0 0 0 7px rgb(178 106 0 / 0);
  }
}

.windows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 6px;
  text-align: center;
  font-size: 10px;
  color: var(--a-muted);
}

.windows span {
  padding: 8px 2px;
  border-radius: 10px;
  border: 1px solid var(--a-line);
  background: var(--a-surface);
}

.windows b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--a-ink);
}

/* ───────────── Monte por gramas ───────────── */

.grams {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
  overflow: clip;
}

.grams-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 940px) {
  .grams-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.calc {
  display: grid;
  gap: 10px;
  margin: 30px 0 12px;
  max-width: 520px;
}

.calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
}

.calc-name strong {
  display: block;
  font-size: 1rem;
}

.calc-name span {
  font-size: 0.8rem;
  color: var(--muted);
}

.calc-name i {
  font-style: normal;
}

@media (max-width: 520px) {
  .calc-name i {
    display: none;
  }

  .calc-row {
    padding: 10px 12px;
  }

  .stepper button {
    width: 40px;
    height: 40px;
  }

  .stepper output {
    min-width: 3.6em;
  }
}

.stepper {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}

.stepper output {
  min-width: 4.2em;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.stepper button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition:
    transform 0.2s var(--spring),
    background-color 0.2s,
    border-color 0.2s;
}

.stepper button:hover:not(:disabled) {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
}

.stepper button:active:not(:disabled) {
  transform: scale(0.9);
}

.stepper button:disabled {
  opacity: 0.35;
  cursor: default;
}

.calc-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--forest);
  color: #eaf5ed;
}

.calc-total small {
  display: block;
  font-size: 0.78rem;
  opacity: 0.7;
}

.calc-total strong {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--mint);
}

/* A marmita: cada parede e cada porção é uma pilha de fatias em Z. */
.tray-stage {
  display: grid;
  place-items: center;
  min-height: 380px;
}

.tray-scene {
  perspective: 1300px;
  animation: bob 8s ease-in-out infinite;
}

.tray-rig {
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.tray {
  position: relative;
  width: 320px;
  height: 230px;
  transform-style: preserve-3d;
  transform: rotateX(56deg) rotateZ(-32deg);
  scale: var(--tray-scale, 1);
}

@media (min-width: 560px) {
  .tray {
    --tray-scale: 1.25;
  }
}

@media (min-width: 1100px) {
  .tray {
    --tray-scale: 1.45;
  }
}

.tray-shadow {
  position: absolute;
  inset: 6% -2% -6% 4%;
  border-radius: 40px;
  background: rgb(10 30 18 / 0.4);
  filter: blur(22px);
  transform: translateZ(-46px);
}

.tray-base,
.wall {
  position: absolute;
  inset: 0;
  border-radius: 30px;
}

.tray-base {
  background: #1b231e;
  box-shadow: inset 0 0 0 10px #232d27;
}

.wall {
  border: 10px solid hsl(140 12% calc(13% + var(--i) * 1.5%));
  transform: translateZ(calc((var(--i) + 1) * 3.4px));
  pointer-events: none;
}

.wall::before,
.wall::after {
  content: '';
  position: absolute;
  background: hsl(140 12% calc(13% + var(--i) * 1.5%));
}

.wall::before {
  left: 140px;
  top: 0;
  bottom: 0;
  width: 10px;
}

.wall::after {
  left: 150px;
  right: 0;
  top: 100px;
  height: 10px;
}

.wall:last-child,
.wall:last-child::before,
.wall:last-child::after {
  border-color: #56655b;
  background-color: #56655b;
}

.wall:last-child {
  background: none;
}

.food {
  position: absolute;
  transform-style: preserve-3d;
}

.food-carb {
  left: 18px;
  top: 18px;
  width: 124px;
  height: 194px;
  --hue: 46;
  --sat: 62%;
  --lit: 86%;
}

.food-protein {
  left: 168px;
  top: 18px;
  width: 134px;
  height: 84px;
  --hue: 30;
  --sat: 66%;
  --lit: 60%;
}

.food-veg {
  left: 168px;
  top: 128px;
  width: 134px;
  height: 84px;
  --hue: 118;
  --sat: 44%;
  --lit: 46%;
}

.slice {
  position: absolute;
  inset: 0;
  border-radius: 34% 40% 36% 42% / 38% 34% 42% 36%;
  background: hsl(var(--hue) var(--sat) calc(var(--lit) - (11 - var(--i)) * 1.7%));
  transform: translateZ(calc(3px + var(--i) * var(--step, 0px))) scale(calc(1 - var(--i) * 0.013));
  transition:
    transform 0.7s var(--spring),
    opacity 0.3s;
}

.food-carb .slice {
  border-radius: 30% 34% 32% 36% / 20% 22% 24% 20%;
}

.food.is-empty .slice {
  opacity: 0;
}

/* A fatia de cima leva o desenho do alimento. */
.food-protein .slice.top {
  background-image: repeating-linear-gradient(118deg, transparent 0 15px, rgb(92 46 8 / 0.5) 15px 19px);
}

.food-carb .slice.top {
  background-image:
    radial-gradient(circle at 30% 24%, rgb(255 255 255 / 0.75) 0 9%, transparent 22%),
    radial-gradient(circle at 64% 58%, rgb(255 255 255 / 0.55) 0 8%, transparent 22%),
    radial-gradient(circle at 38% 82%, rgb(196 160 60 / 0.35) 0 7%, transparent 18%);
}

.food-veg .slice.top {
  background-image:
    radial-gradient(circle at 22% 34%, #f08a2c 0 9%, transparent 10%),
    radial-gradient(circle at 58% 24%, #f6a13f 0 8%, transparent 9%),
    radial-gradient(circle at 76% 66%, #f08a2c 0 9%, transparent 10%),
    radial-gradient(circle at 38% 72%, #2f7d3d 0 11%, transparent 12%),
    radial-gradient(circle at 86% 30%, #2f7d3d 0 8%, transparent 9%),
    radial-gradient(circle at 52% 50%, #8fd06a 0 10%, transparent 11%);
}

/* Etiqueta de peso: desfaz a rotação da bandeja para ficar de frente. */
.tag {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  color: #14231a;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 18px -8px rgb(10 30 18 / 0.6);
  transform: translate(-50%, -50%) translateZ(calc(var(--step, 0px) * 11 + 46px)) rotateZ(32deg) rotateX(-56deg);
  transition:
    transform 0.7s var(--spring),
    opacity 0.3s;
}

.tag b {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.food.is-empty .tag {
  opacity: 0;
}

/* ───────────── Ciclo do pedido ───────────── */

.flow {
  position: relative;
  background:
    radial-gradient(900px 500px at 82% 30%, #1e5235 0%, transparent 70%),
    var(--forest);
  color: #eaf5ed;
}

.flow h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
}

.flow-sticky {
  padding: 80px 0;
}

.flow-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.flow-steps {
  display: grid;
  gap: 6px;
  margin-top: 28px;
}

.flow-step button {
  display: flex;
  gap: 16px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.4s;
}

.flow-step .num {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgb(173 239 195 / 0.4);
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--mint);
  transition:
    background-color 0.4s,
    color 0.4s,
    scale 0.4s var(--spring);
}

.flow-step .tx strong {
  display: block;
  font-size: 1.12rem;
  line-height: 38px;
}

.flow-step .tx span {
  display: block;
  color: #b9cdbf;
  font-size: 0.98rem;
}

.flow-dots {
  display: none;
}

.flow-stage {
  --k: 0.86;
  display: grid;
  place-items: center;
  perspective: 1500px;
}

.flow-rig {
  transform: rotateX(4deg) rotateY(var(--turn, -12deg));
  animation: none;
  transition: transform 0.5s var(--ease);
}

.flow-screen {
  position: absolute;
  inset: 0;
  background: var(--a-bg);
  opacity: 0;
  transform: translateY(26px) scale(0.97);
  transition:
    opacity 0.45s var(--ease),
    transform 0.55s var(--ease);
}

.flow-screen.is-past {
  transform: translateY(-26px) scale(0.97);
}

.flow-screen.is-active {
  opacity: 1;
  transform: none;
}

/* Com script, a seção vira uma trilha: a tela fica presa e a rolagem troca o passo. */
.js .flow-track {
  height: 480vh;
}

.js .flow-sticky {
  position: sticky;
  top: 0;
  display: grid;
  align-items: center;
  height: 100vh;
  height: 100svh;
  padding: calc(var(--nav-h) + 12px) 0 20px;
  overflow: hidden;
}

.js .flow-step button {
  opacity: 0.55;
  transition:
    opacity 0.4s,
    background-color 0.4s;
}

.js .flow-step.is-active button {
  opacity: 1;
  background: rgb(173 239 195 / 0.09);
}

.js .flow-step.is-active .num {
  background: var(--mint);
  color: var(--forest);
  scale: 1.08;
}

.js .flow-step .tx span {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease);
}

.js .flow-step.is-active .tx span {
  max-height: 8em;
}

@media (min-width: 940px) {
  .flow-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .flow-stage {
    --k: var(--kjs, 0.95);
  }
}

/* No celular: aparelho em cima, um passo por vez embaixo. */
@media (max-width: 939.98px) {
  .js .flow-grid {
    grid-template-rows: auto 1fr;
    gap: 14px;
    height: 100%;
  }

  .js .flow-copy {
    order: 2;
    position: relative;
    min-height: 138px;
  }

  .js .flow-copy .eyebrow,
  .js .flow-copy h2 {
    display: none;
  }

  .js .flow-steps {
    margin: 0;
  }

  .js .flow-step {
    position: absolute;
    inset: 0 0 auto;
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 0.4s,
      transform 0.4s var(--ease);
    pointer-events: none;
  }

  .js .flow-step.is-active {
    opacity: 1;
    transform: none;
  }

  .js .flow-step button,
  .js .flow-step.is-active button {
    padding: 0;
    background: none;
    opacity: 1;
  }

  .js .flow-step .tx span {
    max-height: none;
  }

  .js .flow-dots {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    gap: 6px;
  }

  .flow-dots i {
    width: 22px;
    height: 4px;
    border-radius: 2px;
    background: rgb(173 239 195 / 0.25);
    transition: background-color 0.3s;
  }

  .flow-dots i.on {
    background: var(--mint);
  }

  .js .flow-stage {
    order: 1;
    --k: var(--kjs, 0.7);
    align-self: center;
  }

  .flow-rig {
    transform: rotateX(3deg) rotateY(calc(var(--turn, -12deg) * 0.5));
  }
}

/* Animações de dentro das telas: só tocam na tela ativa. */
.flow-screen.is-active .stag {
  animation: rise 0.6s var(--ease) both;
  animation-delay: calc(0.15s + var(--n) * 0.1s);
}

.flow-screen.is-active .sheet {
  animation: sheet 0.6s var(--ease) both;
}

@keyframes sheet {
  from {
    transform: translateY(100%);
  }
}

.flow-screen.is-active .tap {
  animation: tap 2.4s 0.7s ease-out infinite;
}

@keyframes tap {
  0% {
    opacity: 0;
    scale: 0.4;
  }

  20% {
    opacity: 1;
  }

  60%,
  100% {
    opacity: 0;
    scale: 1.8;
  }
}

.flow-screen.is-active .hit {
  animation: hit 2.2s 0.6s var(--ease) infinite;
}

@keyframes hit {
  0%,
  100% {
    background: transparent;
    scale: 1;
  }

  12% {
    background: #cfe6d3;
    scale: 0.86;
  }

  30% {
    scale: 1;
  }
}

.flow-screen.is-active .timeline li {
  animation: rise 0.5s var(--ease) both;
  animation-delay: calc(0.15s + var(--n) * 0.16s);
}

.flow-screen.is-active .timeline .is-now i {
  animation: now 1.8s 1s ease-out infinite;
}

@keyframes now {
  0% {
    box-shadow: 0 0 0 0 rgb(61 115 83 / 0.5);
  }

  100% {
    box-shadow: 0 0 0 12px rgb(61 115 83 / 0);
  }
}

.pop {
  animation: rise 0.7s var(--ease) both;
  animation-delay: var(--d, 0s);
}

/* ───────────── Para cozinheiras ───────────── */

.cooks-grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

.cooks-grid .btn {
  margin-top: 30px;
}

.cook-list {
  display: grid;
  gap: 14px;
  perspective: 1200px;
}

.cook-list li {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.cook-list p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.97rem;
}

.cook-ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--brand) 16%, transparent);
  color: var(--brand);
}

@media (min-width: 620px) {
  .cook-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 940px) {
  .cooks-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

/* ───────────── Pré-convite ───────────── */

.invite {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0;
  background: var(--forest);
  color: #eaf5ed;
  overflow: clip;
}

.invite-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glow-c {
  width: 560px;
  height: 560px;
  left: -200px;
  top: -200px;
  background: #2e7d4f;
  opacity: 0.5;
}

.glow-d {
  width: 420px;
  height: 420px;
  right: -140px;
  bottom: -160px;
  background: var(--amber);
  opacity: 0.16;
}

.invite-grid {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 940px) {
  .invite-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.invite h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
}

.invite .sub {
  margin-top: 18px;
  color: #b9cdbf;
}

.big {
  display: block;
  font-size: clamp(6rem, 17vw, 12.5rem);
  line-height: 0.86;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffd58a 10%, var(--amber) 55%, #c9781a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.ticket-scene {
  perspective: 1000px;
  margin: 34px 0 30px;
}

.ticket {
  position: relative;
  display: flex;
  max-width: 420px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8f3e6, #e9f5ea);
  color: #14231a;
  overflow: hidden;
  transform: rotateX(calc(8deg + var(--rx, 0deg))) rotateY(calc(-10deg + var(--ry, 0deg))) rotateZ(-2deg);
  box-shadow: 0 30px 50px -24px rgb(0 0 0 / 0.7);
  transition: transform 0.2s linear;
}

.ticket-main {
  flex: 1;
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  font-size: 0.82rem;
  color: #536158;
}

.ticket-main strong {
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.15;
  color: #14231a;
}

.ticket-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: #2e7d4f;
}

.ticket-stub {
  display: grid;
  place-content: center;
  padding: 0 22px;
  border-left: 2px dashed #b9c4b9;
  text-align: center;
}

.ticket-stub small {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #536158;
}

.ticket-stub b {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  color: #c9781a;
}

.shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / 0.75) 50%, transparent 62%);
  translate: -100% 0;
  animation: shine 5s ease-in-out infinite;
}

@keyframes shine {
  0%,
  55% {
    translate: -100% 0;
  }

  100% {
    translate: 100% 0;
  }
}

.invite-steps {
  display: grid;
  gap: 12px;
  color: #d6e6da;
}

.invite-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.invite-steps b {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgb(173 239 195 / 0.14);
  color: var(--mint);
  font-size: 0.85rem;
}

/* Formulário: sempre claro, sobre o fundo escuro. */
.form-card {
  padding: clamp(22px, 4vw, 34px);
  border-radius: 28px;
  background: #fffdf8;
  color: #14231a;
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.75);
  --f-line: #cfd6cc;
  --f-muted: #536158;
  --f-brand: #2e7d4f;
}

.form-card h3 {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.form-card .hint,
.form-card .fine {
  color: var(--f-muted);
}

.form-card .hint {
  margin: 4px 0 20px;
}

form {
  display: grid;
  gap: 14px;
}

.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border: 0;
}

.audience legend {
  padding: 0;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 0.92rem;
}

.audience label {
  position: relative;
  cursor: pointer;
}

.audience input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.audience span {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 6px 10px;
  border-radius: 14px;
  border: 1.5px solid var(--f-line);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.2;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.audience input:checked + span {
  border-color: var(--f-brand);
  background: #e2f3e6;
  color: #17502f;
}

.audience input:focus-visible + span {
  outline: 3px solid var(--f-brand);
  outline-offset: 2px;
}

.field {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
}

.field small {
  font-weight: 400;
  color: var(--f-muted);
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  font: inherit;
  font-weight: 400;
  font-size: 1rem;
  color: #14231a;
  background: #fff;
  border: 1.5px solid var(--f-line);
  border-radius: 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.field input::placeholder {
  color: #8a968d;
}

.field input:focus {
  outline: none;
  border-color: var(--f-brand);
  box-shadow: 0 0 0 4px rgb(46 125 79 / 0.18);
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  cursor: pointer;
}

.check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--f-brand);
}

.captcha {
  min-height: 65px;
}

.form-card .btn {
  color: #fff;
  background: var(--f-brand);
}

.form-card .btn:hover {
  background: #1f5e3a;
}

.message.error {
  padding: 10px 14px;
  border-radius: 12px;
  background: #fdecea;
  color: #8c1d18;
  font-size: 0.92rem;
  font-weight: 600;
}

.done {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 24px 0 8px;
  text-align: center;
}

.done[hidden],
form[hidden] {
  display: none;
}

/* Depois do cadastro, some a chamada do formulário. */
.form-card.is-done > h3,
.form-card.is-done > .hint {
  display: none;
}

.done h3 {
  font-size: 1.6rem;
}

.done-ic {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #2e7d4f;
  color: #fff;
  animation: pop-in 0.7s var(--spring) both;
}

.done-ic .ic {
  width: 38px;
  height: 38px;
  stroke-width: 2.4;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: draw 0.5s 0.35s ease-out forwards;
}

@keyframes pop-in {
  from {
    scale: 0;
  }
}

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

/* ───────────── Dúvidas ───────────── */

.faq-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 940px) {
  .faq-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
  }
}

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

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

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

summary::after {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  rotate: 45deg;
  translate: 0 -3px;
  transition: rotate 0.3s var(--ease);
}

details[open] summary::after {
  rotate: 225deg;
  translate: 0 3px;
}

details p {
  padding: 0 28px 22px 0;
  color: var(--muted);
  animation: rise 0.4s var(--ease);
}

/* ───────────── Rodapé ───────────── */

.footer {
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.footer-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}

.footer p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-right: auto;
}

.footer .footer-credit {
  margin: 22px 0 0;
  font-size: 0.82rem;
  text-align: center;
}

/* ───────────── Menos movimento ───────────── */

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .done-ic .ic {
    stroke-dashoffset: 0;
  }
}
